From 803aebfa95ce68c01b101a47d6b6a9d9ed6b7dfb Mon Sep 17 00:00:00 2001 From: William So Date: Mon, 23 Dec 2024 00:13:55 +0800 Subject: [PATCH] Update `nanoid` Signed-off-by: William So --- .changeset/long-geckos-push.md | 5 +++++ package-lock.json | 8 ++++---- package.json | 10 ++++++++-- pnpm-lock.yaml | 13 ++++++++----- 4 files changed, 25 insertions(+), 11 deletions(-) create mode 100644 .changeset/long-geckos-push.md diff --git a/.changeset/long-geckos-push.md b/.changeset/long-geckos-push.md new file mode 100644 index 0000000..1224abc --- /dev/null +++ b/.changeset/long-geckos-push.md @@ -0,0 +1,5 @@ +--- +"obsidian-modules": patch +--- + +Bump `nanoid` diff --git a/package-lock.json b/package-lock.json index ff908be..26dff56 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4619,9 +4619,9 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "node_modules/nanoid": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-4.0.2.tgz", - "integrity": "sha512-7ZtY5KTCNheRGfEFxnedV5zFiORN1+Y1N6zvPTnHQd8ENUvfaDBeuJDZb2bN/oXwXxu3qkTXDzy57W5vAmDTBw==", + "version": "5.0.9", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.9.tgz", + "integrity": "sha512-Aooyr6MXU6HpvvWXKoVoXwKMs/KyVakWwg7xQfv5/S/RIgJMy0Ifa45H9qqYy7pTCszrHzP21Uk4PZq2HpEM8Q==", "funding": [ { "type": "github", @@ -4632,7 +4632,7 @@ "nanoid": "bin/nanoid.js" }, "engines": { - "node": "^14 || ^16 || >=18" + "node": "^18 || >=20" } }, "node_modules/natural-compare": { diff --git a/package.json b/package.json index 9b04c0f..3eca593 100644 --- a/package.json +++ b/package.json @@ -82,9 +82,15 @@ "minAppVersion": "1.2.8", "name": "Modules" }, - "overrides": {}, + "overrides": { + "@aidenlx/esbuild-plugin-inline-worker": { + "nanoid": "^5.0.9" + } + }, "pnpm": { - "overrides": {} + "overrides": { + "@aidenlx/esbuild-plugin-inline-worker>nanoid": "^5.0.9" + } }, "private": true, "repository": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f180176..104065a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,6 +4,9 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false +overrides: + '@aidenlx/esbuild-plugin-inline-worker>nanoid': ^5.0.9 + importers: .: @@ -1421,9 +1424,9 @@ packages: ms@2.1.3: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} - nanoid@4.0.2: - resolution: {integrity: sha512-7ZtY5KTCNheRGfEFxnedV5zFiORN1+Y1N6zvPTnHQd8ENUvfaDBeuJDZb2bN/oXwXxu3qkTXDzy57W5vAmDTBw==} - engines: {node: ^14 || ^16 || >=18} + nanoid@5.0.9: + resolution: {integrity: sha512-Aooyr6MXU6HpvvWXKoVoXwKMs/KyVakWwg7xQfv5/S/RIgJMy0Ifa45H9qqYy7pTCszrHzP21Uk4PZq2HpEM8Q==} + engines: {node: ^18 || >=20} hasBin: true natural-compare@1.4.0: @@ -1999,7 +2002,7 @@ snapshots: '@aidenlx/esbuild-plugin-inline-worker@1.0.1(esbuild@0.17.19)': dependencies: esbuild: 0.17.19 - nanoid: 4.0.2 + nanoid: 5.0.9 '@babel/code-frame@7.22.5': dependencies: @@ -3511,7 +3514,7 @@ snapshots: ms@2.1.3: {} - nanoid@4.0.2: {} + nanoid@5.0.9: {} natural-compare@1.4.0: {}