From 1f9bdfb26b572bd2b625c2f6b8d481d9d69149ec Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Fri, 1 Mar 2024 16:29:44 -0330 Subject: [PATCH] chore: Remove `nanoid` resolution 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. --- package.json | 1 - yarn.lock | 7 ++++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 980030e116f..8723c2f1509 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/yarn.lock b/yarn.lock index 9c7646bf964..4856cf22bd2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"