diff --git a/package-lock.json b/package-lock.json index f9afada17..2571c63a8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "lodash": "^4.17.21", "loopback-connector": "^5.1.1", "minimatch": "^5.1.2", - "nanoid": "^3.3.4", + "nanoid": "^4.0.0", "qs": "^6.10.5", "strong-globalize": "^6.0.5", "traverse": "^0.6.7", @@ -3738,14 +3738,14 @@ } }, "node_modules/nanoid": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", - "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-4.0.0.tgz", + "integrity": "sha512-IgBP8piMxe/gf73RTQx7hmnhwz0aaEXYakvqZyE302IXW3HyVNhdNGC+O2MwMAVhLEnvXlvKtGbtJf6wvHihCg==", "bin": { - "nanoid": "bin/nanoid.cjs" + "nanoid": "bin/nanoid.js" }, "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + "node": "^14 || ^16 || >=18" } }, "node_modules/natural-compare": { @@ -8481,9 +8481,9 @@ } }, "nanoid": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", - "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==" + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-4.0.0.tgz", + "integrity": "sha512-IgBP8piMxe/gf73RTQx7hmnhwz0aaEXYakvqZyE302IXW3HyVNhdNGC+O2MwMAVhLEnvXlvKtGbtJf6wvHihCg==" }, "natural-compare": { "version": "1.4.0", diff --git a/package.json b/package.json index 563bf4362..88c5cad0f 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "lodash": "^4.17.21", "loopback-connector": "^5.1.1", "minimatch": "^5.1.2", - "nanoid": "^3.3.4", + "nanoid": "^4.0.0", "qs": "^6.10.5", "strong-globalize": "^6.0.5", "traverse": "^0.6.7",