From 3e45c3848d0e9e0acfec23722138062902a77194 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 8 Oct 2023 00:42:32 -0500 Subject: [PATCH] fix(deps): update dependency nanoid to v5 (#4491) Co-authored-by: Gao Sun --- packages/cli/package.json | 2 +- .../connectors/connector-oidc/package.json | 2 +- packages/console/package.json | 2 +- packages/core/package.json | 2 +- packages/shared/package.json | 2 +- pnpm-lock.yaml | 42 ++++++++----------- 6 files changed, 23 insertions(+), 29 deletions(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index 4dc72aa0c..8acd7c30d 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -57,7 +57,7 @@ "got": "^13.0.0", "hpagent": "^1.2.0", "inquirer": "^9.0.0", - "nanoid": "^4.0.0", + "nanoid": "^5.0.1", "ora": "^6.1.2", "p-limit": "^4.0.0", "p-queue": "^7.3.4", diff --git a/packages/connectors/connector-oidc/package.json b/packages/connectors/connector-oidc/package.json index 24a7163f4..5d9854e90 100644 --- a/packages/connectors/connector-oidc/package.json +++ b/packages/connectors/connector-oidc/package.json @@ -6,7 +6,7 @@ "@logto/connector-kit": "workspace:^1.1.1", "@logto/shared": "workspace:^3.0.0", "jose": "^4.3.8", - "nanoid": "^4.0.0" + "nanoid": "^5.0.1" }, "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/console/package.json b/packages/console/package.json index c1dc148d3..9c71418b3 100644 --- a/packages/console/package.json +++ b/packages/console/package.json @@ -84,7 +84,7 @@ "ky": "^1.0.0", "libphonenumber-js": "^1.9.49", "lint-staged": "^14.0.0", - "nanoid": "^4.0.0", + "nanoid": "^5.0.1", "overlayscrollbars": "^2.0.2", "overlayscrollbars-react": "^0.5.0", "parcel": "2.9.3", diff --git a/packages/core/package.json b/packages/core/package.json index b229dd37a..fb0b36098 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -67,7 +67,7 @@ "koa-router": "^12.0.0", "koa-send": "^5.0.1", "lru-cache": "^10.0.0", - "nanoid": "^4.0.0", + "nanoid": "^5.0.1", "oidc-provider": "^8.2.2", "otplib": "^12.0.1", "p-retry": "^6.0.0", diff --git a/packages/shared/package.json b/packages/shared/package.json index 17947a634..3f510972a 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -63,7 +63,7 @@ "@silverhand/essentials": "^2.8.4", "chalk": "^5.0.0", "find-up": "^6.3.0", - "nanoid": "^4.0.0", + "nanoid": "^5.0.1", "slonik": "^30.0.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 12afaea73..6cd80fd74 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -146,8 +146,8 @@ importers: specifier: ^9.0.0 version: 9.1.4 nanoid: - specifier: ^4.0.0 - version: 4.0.0 + specifier: ^5.0.1 + version: 5.0.1 ora: specifier: ^6.1.2 version: 6.1.2 @@ -2108,8 +2108,8 @@ importers: specifier: ^4.3.8 version: 4.11.0 nanoid: - specifier: ^4.0.0 - version: 4.0.0 + specifier: ^5.0.1 + version: 5.0.1 snakecase-keys: specifier: ^5.4.4 version: 5.4.4 @@ -3008,8 +3008,8 @@ importers: specifier: ^14.0.0 version: 14.0.0 nanoid: - specifier: ^4.0.0 - version: 4.0.0 + specifier: ^5.0.1 + version: 5.0.1 overlayscrollbars: specifier: ^2.0.2 version: 2.0.3 @@ -3242,8 +3242,8 @@ importers: specifier: ^10.0.0 version: 10.0.0 nanoid: - specifier: ^4.0.0 - version: 4.0.0 + specifier: ^5.0.1 + version: 5.0.1 oidc-provider: specifier: ^8.2.2 version: 8.2.2 @@ -3922,8 +3922,8 @@ importers: specifier: ^6.3.0 version: 6.3.0 nanoid: - specifier: ^4.0.0 - version: 4.0.0 + specifier: ^5.0.1 + version: 5.0.1 slonik: specifier: ^30.0.0 version: 30.1.2 @@ -16236,29 +16236,23 @@ packages: resolution: {integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==} dev: false - /nanoid@3.3.4: - resolution: {integrity: sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==} - engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} - hasBin: true - dev: true - /nanoid@3.3.6: resolution: {integrity: sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true dev: true - /nanoid@4.0.0: - resolution: {integrity: sha512-IgBP8piMxe/gf73RTQx7hmnhwz0aaEXYakvqZyE302IXW3HyVNhdNGC+O2MwMAVhLEnvXlvKtGbtJf6wvHihCg==} - engines: {node: ^14 || ^16 || >=18} - hasBin: true - /nanoid@4.0.2: resolution: {integrity: sha512-7ZtY5KTCNheRGfEFxnedV5zFiORN1+Y1N6zvPTnHQd8ENUvfaDBeuJDZb2bN/oXwXxu3qkTXDzy57W5vAmDTBw==} engines: {node: ^14 || ^16 || >=18} hasBin: true dev: false + /nanoid@5.0.1: + resolution: {integrity: sha512-vWeVtV5Cw68aML/QaZvqN/3QQXc6fBfIieAlu05m7FZW2Dgb+3f0xc0TTxuJW+7u30t7iSDTV/j3kVI0oJqIfQ==} + engines: {node: ^18 || >=20} + hasBin: true + /natural-compare-lite@1.4.0: resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==} dev: true @@ -17341,7 +17335,7 @@ packages: resolution: {integrity: sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==} engines: {node: ^10 || ^12 || >=14} dependencies: - nanoid: 3.3.4 + nanoid: 3.3.6 picocolors: 1.0.0 source-map-js: 1.0.2 dev: true @@ -17350,7 +17344,7 @@ packages: resolution: {integrity: sha512-Wi8mWhncLJm11GATDaQKobXSNEYGUHeQLiQqDFG1qQ5UTDPTEvKw0Xt5NsTpktGTwLps3ByrWsBrG0rB8YQ9oA==} engines: {node: ^10 || ^12 || >=14} dependencies: - nanoid: 3.3.4 + nanoid: 3.3.6 picocolors: 1.0.0 source-map-js: 1.0.2 dev: true @@ -17359,7 +17353,7 @@ packages: resolution: {integrity: sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==} engines: {node: ^10 || ^12 || >=14} dependencies: - nanoid: 3.3.4 + nanoid: 3.3.6 picocolors: 1.0.0 source-map-js: 1.0.2 dev: true