Skip to content

Commit

Permalink
chore: Remove nanoid resolution
Browse files Browse the repository at this point in the history
This resolution for `nanoid` was added in #3641 to resolve a security
advisory. The resolution is not needed, as the advisory is not present
after removing the resolution.

This resolution was unsafe because it was forcing the use of
incompatible versions of the package.
  • Loading branch information
Gudahtt committed Mar 4, 2024
1 parent 672668b commit 1f9bdfb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@
},
"resolutions": {
"minimatch": "5.1.0",
"**/nanoid": "^3.1.31",
"**/json-schema": "^0.4.0",
"react-native-svg/**/nth-check": "^2.0.1",
"**/set-value": "^4.0.1",
Expand Down
7 changes: 6 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21212,11 +21212,16 @@ nanoclone@^0.2.1:
resolved "https://registry.yarnpkg.com/nanoclone/-/nanoclone-0.2.1.tgz#dd4090f8f1a110d26bb32c49ed2f5b9235209ed4"
integrity sha512-wynEP02LmIbLpcYw8uBKpcfF6dmg2vcpKqxeH5UcoKEYdExslsdUA4ugFauuaeYdTB76ez6gJW8XAZ6CgkXYxA==

nanoid@^3.1.15, nanoid@^3.1.31, nanoid@^3.3.6:
nanoid@^3.1.15, nanoid@^3.1.31:
version "3.2.0"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.2.0.tgz#62667522da6673971cca916a6d3eff3f415ff80c"
integrity sha512-fmsZYa9lpn69Ad5eDn7FMcnnSR+8R34W9qJEijxYhTbfOWzr22n1QxCMzXLK+ODyW2973V3Fux959iQoUxzUIA==

nanoid@^3.3.6:
version "3.3.7"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8"
integrity sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==

napi-build-utils@^1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/napi-build-utils/-/napi-build-utils-1.0.2.tgz#b1fddc0b2c46e380a0b7a76f984dd47c41a13806"
Expand Down

0 comments on commit 1f9bdfb

Please sign in to comment.