From 7298aac72a66f9f16aaf98a39043b7e75b5fc660 Mon Sep 17 00:00:00 2001 From: Trim21 Date: Wed, 25 Dec 2024 01:42:36 +0800 Subject: [PATCH] fix: upgrade cookie --- package.json | 3 +-- pnpm-lock.yaml | 37 ++++++++++++++++--------------------- 2 files changed, 17 insertions(+), 23 deletions(-) diff --git a/package.json b/package.json index d1ee0f7..6e7b45b 100644 --- a/package.json +++ b/package.json @@ -31,14 +31,13 @@ }, "dependencies": { "@graphql-typed-document-node/core": "^3.1.2", - "cookie": "^0.5.0", + "cookie": "^1.0.0", "ws": "^8.12.1" }, "devDependencies": { "@fastify/cookie": "^10.0.0", "@mercuriusjs/federation": "^4.0.0", "@mercuriusjs/gateway": "^4.0.1", - "@types/cookie": "^0.5.1", "@types/node": "^14.18.37", "@types/readable-stream": "^2.3.15", "@types/tap": "^15.0.12", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d6cf7df..e5fd7d3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: ^3.1.2 version: 3.1.2(graphql@16.6.0) cookie: - specifier: ^0.5.0 - version: 0.5.0 + specifier: ^1.0.0 + version: 1.0.2 ws: specifier: ^8.12.1 version: 8.12.1 @@ -27,9 +27,6 @@ importers: '@mercuriusjs/gateway': specifier: ^4.0.1 version: 4.0.1 - '@types/cookie': - specifier: ^0.5.1 - version: 0.5.1 '@types/node': specifier: ^14.18.37 version: 14.18.37 @@ -292,9 +289,6 @@ packages: '@tsconfig/node16@1.0.4': resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==} - '@types/cookie@0.5.1': - resolution: {integrity: sha512-COUnqfB2+ckwXXSFInsFdOAWQzCCx+a5hq2ruyj+Vjund94RJQd4LG2u9hnvJrTgunKAaax7ancBYlDrNYxA0g==} - '@types/minimatch@3.0.5': resolution: {integrity: sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==} @@ -503,14 +497,14 @@ packages: resolution: {integrity: sha512-78KWk9T26NhzXtuL26cIJ8/qNHANyJ/ZYrmEXFzUmhZdjpBv+DlWlOANRTGBt48YcyslsLrj0bMLFTmXvLRCOw==} engines: {node: '>=6.6.0'} - cookie@0.5.0: - resolution: {integrity: sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==} - engines: {node: '>= 0.6'} - cookie@0.6.0: resolution: {integrity: sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==} engines: {node: '>= 0.6'} + cookie@1.0.2: + resolution: {integrity: sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA==} + engines: {node: '>=18'} + create-require@1.1.1: resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} @@ -731,6 +725,7 @@ packages: glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + deprecated: Glob versions prior to v9 are no longer supported globals@11.12.0: resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} @@ -805,6 +800,7 @@ packages: inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. inherits@2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} @@ -1208,6 +1204,7 @@ packages: rimraf@3.0.2: resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} + deprecated: Rimraf versions prior to v4 are no longer supported hasBin: true safe-buffer@5.1.2: @@ -1757,12 +1754,12 @@ snapshots: '@jridgewell/gen-mapping@0.1.1': dependencies: '@jridgewell/set-array': 1.1.2 - '@jridgewell/sourcemap-codec': 1.4.14 + '@jridgewell/sourcemap-codec': 1.5.0 '@jridgewell/gen-mapping@0.3.2': dependencies: '@jridgewell/set-array': 1.1.2 - '@jridgewell/sourcemap-codec': 1.4.14 + '@jridgewell/sourcemap-codec': 1.5.0 '@jridgewell/trace-mapping': 0.3.17 '@jridgewell/resolve-uri@3.1.0': {} @@ -1808,7 +1805,7 @@ snapshots: single-user-cache: 1.0.1 tiny-lru: 11.2.11 use-strict: 1.0.1 - ws: 8.12.1 + ws: 8.18.0 transitivePeerDependencies: - bufferutil - utf-8-validate @@ -1818,7 +1815,7 @@ snapshots: '@fastify/error': 4.0.0 graphql: 16.6.0 secure-json-parse: 3.0.0 - ws: 8.12.1 + ws: 8.18.0 transitivePeerDependencies: - bufferutil - utf-8-validate @@ -1834,8 +1831,6 @@ snapshots: '@tsconfig/node16@1.0.4': {} - '@types/cookie@0.5.1': {} - '@types/minimatch@3.0.5': {} '@types/node@14.18.37': {} @@ -2036,10 +2031,10 @@ snapshots: cookie-signature@1.2.1: {} - cookie@0.5.0: {} - cookie@0.6.0: {} + cookie@1.0.2: {} + create-require@1.1.1: {} cross-env@7.0.3: @@ -2493,7 +2488,7 @@ snapshots: single-user-cache: 1.0.1 tiny-lru: 11.2.11 undici: 6.19.8 - ws: 8.12.1 + ws: 8.18.0 transitivePeerDependencies: - bufferutil - utf-8-validate