diff --git a/examples/snippets/package.json b/examples/snippets/package.json index 51c7510968..0c17f910ad 100644 --- a/examples/snippets/package.json +++ b/examples/snippets/package.json @@ -40,7 +40,7 @@ "@aws-sdk/util-dynamodb": "^3.830.0", "@middy/core": "^4.7.0", "@redis/client": "^5.5.6", - "@valkey/valkey-glide": "^1.3.4", + "@valkey/valkey-glide": "^2.0.0", "aws-sdk": "^2.1692.0", "aws-sdk-client-mock": "^4.1.0", "zod": "^3.25.67" diff --git a/package-lock.json b/package-lock.json index eeac4553fe..0f890730b6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -104,12 +104,34 @@ "@aws-sdk/util-dynamodb": "^3.830.0", "@middy/core": "^4.7.0", "@redis/client": "^5.5.6", - "@valkey/valkey-glide": "^1.3.4", + "@valkey/valkey-glide": "^2.0.0", "aws-sdk": "^2.1692.0", "aws-sdk-client-mock": "^4.1.0", "zod": "^3.25.67" } }, + "examples/snippets/node_modules/@valkey/valkey-glide": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@valkey/valkey-glide/-/valkey-glide-2.0.0.tgz", + "integrity": "sha512-nJCeRCXgqb7fMEu2dmrdbqOAr/OVpkx2u3dfr+eJuv0zSb/vcanaIH1VZUJAEFMHfvP7WSUfsI6rxZVjJ+/xxQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "long": "5", + "protobufjs": "7" + }, + "engines": { + "node": ">=16" + }, + "optionalDependencies": { + "@valkey/valkey-glide-darwin-arm64": "2.0.0", + "@valkey/valkey-glide-darwin-x64": "2.0.0", + "@valkey/valkey-glide-linux-arm64-gnu": "2.0.0", + "@valkey/valkey-glide-linux-arm64-musl": "2.0.0", + "@valkey/valkey-glide-linux-x64-gnu": "2.0.0", + "@valkey/valkey-glide-linux-x64-musl": "2.0.0" + } + }, "layers": { "version": "2.21.0", "license": "MIT-0", @@ -14059,8 +14081,9 @@ "version": "1.3.4", "resolved": "https://registry.npmjs.org/@valkey/valkey-glide/-/valkey-glide-1.3.4.tgz", "integrity": "sha512-EXjpGEeTjs2uhJm8ZNkHEK8d3qCQmppmxsv+553S6L9fArZTBvKMmfh7P2H7nxletHx6sxs+fc2UFFw9M5k5SQ==", - "devOptional": true, "license": "Apache-2.0", + "optional": true, + "peer": true, "dependencies": { "detect-libc": "^2.0.3" }, @@ -14074,19 +14097,48 @@ } }, "node_modules/@valkey/valkey-glide-darwin-arm64": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@valkey/valkey-glide-darwin-arm64/-/valkey-glide-darwin-arm64-2.0.0.tgz", + "integrity": "sha512-kiVne6nFqB/NetXarsmuuYyVB0fRf7fxfrLHW/cTh5u2eNCiti1BQqdIBPAW0q0PHsDIOvTB64dEjZnWQ8DjUQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@valkey/valkey-glide-darwin-x64": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@valkey/valkey-glide-darwin-x64/-/valkey-glide-darwin-x64-2.0.0.tgz", + "integrity": "sha512-8ubNHqBLNgeQviVgZp+W8kFe5V6FSci5Gia9/+djPTb3zXgpAailo9myJqmh2RL6pX3B0M5xtw+6F9WhnOo7Ww==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@valkey/valkey-glide-linux-arm64": { "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@valkey/valkey-glide-darwin-arm64/-/valkey-glide-darwin-arm64-1.3.4.tgz", - "integrity": "sha512-Ry8PEWdMtENju/thkqMEDCcf9wJSz5JavpwTJ8+NEaTVeYUSNK7PJ91ZrgxTWyDr51YAdA8e5MjyK2+p2X1HiQ==", + "resolved": "https://registry.npmjs.org/@valkey/valkey-glide-linux-arm64/-/valkey-glide-linux-arm64-1.3.4.tgz", + "integrity": "sha512-ubTZDaEqlwS8NNuIggWt36I1BbtUNE17uHrCaBvUfc+aR1870r4xqvQNyvpQhT/VezfJisSBGKudFdLKeFrIjg==", "bundleDependencies": [ "glide-rs" ], "cpu": [ "arm64" ], + "deprecated": "This package will be replaced by @valkey/valkey-glide-linux-arm64-gnu in v2.0", "license": "Apache-2.0", "optional": true, "os": [ - "darwin" + "linux" ], "peer": true, "dependencies": { @@ -14098,7 +14150,35 @@ "node": ">=16" } }, - "node_modules/@valkey/valkey-glide-darwin-arm64/node_modules/glide-rs": { + "node_modules/@valkey/valkey-glide-linux-arm64-gnu": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@valkey/valkey-glide-linux-arm64-gnu/-/valkey-glide-linux-arm64-gnu-2.0.0.tgz", + "integrity": "sha512-ikqvMeqLoEN7JAYTcD2/m7NRFWgEmIhKQgm2PWiu3yprBQnqc083UCrZfgMk/Ey1duhewC7UwKE33aIPKk4XTA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@valkey/valkey-glide-linux-arm64-musl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@valkey/valkey-glide-linux-arm64-musl/-/valkey-glide-linux-arm64-musl-2.0.0.tgz", + "integrity": "sha512-gltqidXIDL1m3ucABYX7p80te9GGglqYjeixSRUTLmrUtoA6GnPg3fWF4GybH9Q3tjxz8B/m38mz+VJJZ7fIWA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@valkey/valkey-glide-linux-arm64/node_modules/glide-rs": { "version": "0.1.0", "inBundle": true, "license": "Apache-2.0", @@ -14108,20 +14188,21 @@ "node": ">= 10" } }, - "node_modules/@valkey/valkey-glide-darwin-x64": { + "node_modules/@valkey/valkey-glide-linux-musl-arm64": { "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@valkey/valkey-glide-darwin-x64/-/valkey-glide-darwin-x64-1.3.4.tgz", - "integrity": "sha512-Jl/x1WovhwiP7lWUcA99tw68Usb3GCHZ/ISD/1F23cVErXJ9qB4ZNCFI8Y1QrmwEPSeojKsxSpqylrsInuv1ng==", + "resolved": "https://registry.npmjs.org/@valkey/valkey-glide-linux-musl-arm64/-/valkey-glide-linux-musl-arm64-1.3.4.tgz", + "integrity": "sha512-zNkmKXrT9ebe/XWtevzFleRrXycrzsLtmDjdQJGVUC96gUA3DcczK/gfu2rgvgH84C5s5jKbSM7oeo8f8eX4Vw==", "bundleDependencies": [ "glide-rs" ], "cpu": [ - "x64" + "arm64" ], + "deprecated": "This package will be replaced by @valkey/valkey-glide-linux-arm64-musl in v2.0", "license": "Apache-2.0", "optional": true, "os": [ - "darwin" + "linux" ], "peer": true, "dependencies": { @@ -14133,16 +14214,27 @@ "node": ">=16" } }, - "node_modules/@valkey/valkey-glide-linux-arm64": { + "node_modules/@valkey/valkey-glide-linux-musl-arm64/node_modules/glide-rs": { + "version": "0.1.0", + "inBundle": true, + "license": "Apache-2.0", + "optional": true, + "peer": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/@valkey/valkey-glide-linux-musl-x64": { "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@valkey/valkey-glide-linux-arm64/-/valkey-glide-linux-arm64-1.3.4.tgz", - "integrity": "sha512-ubTZDaEqlwS8NNuIggWt36I1BbtUNE17uHrCaBvUfc+aR1870r4xqvQNyvpQhT/VezfJisSBGKudFdLKeFrIjg==", + "resolved": "https://registry.npmjs.org/@valkey/valkey-glide-linux-musl-x64/-/valkey-glide-linux-musl-x64-1.3.4.tgz", + "integrity": "sha512-QSaLTp81V0agKcGXsr3LUF+Vl4nTHrf5eBNV7/2GwbA4Pwed2x8TzORAjv+aS368hWR/9zftbVA1Xjn8TAND3w==", "bundleDependencies": [ "glide-rs" ], "cpu": [ - "arm64" + "x64" ], + "deprecated": "This package will be replaced by @valkey/valkey-glide-linux-x64-musl in v2.0", "license": "Apache-2.0", "optional": true, "os": [ @@ -14158,16 +14250,27 @@ "node": ">=16" } }, - "node_modules/@valkey/valkey-glide-linux-musl-arm64": { + "node_modules/@valkey/valkey-glide-linux-musl-x64/node_modules/glide-rs": { + "version": "0.1.0", + "inBundle": true, + "license": "Apache-2.0", + "optional": true, + "peer": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/@valkey/valkey-glide-linux-x64": { "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@valkey/valkey-glide-linux-musl-arm64/-/valkey-glide-linux-musl-arm64-1.3.4.tgz", - "integrity": "sha512-zNkmKXrT9ebe/XWtevzFleRrXycrzsLtmDjdQJGVUC96gUA3DcczK/gfu2rgvgH84C5s5jKbSM7oeo8f8eX4Vw==", + "resolved": "https://registry.npmjs.org/@valkey/valkey-glide-linux-x64/-/valkey-glide-linux-x64-1.3.4.tgz", + "integrity": "sha512-j9acGMsr7T1oY377xBsIkY4rjtDqb78/OSH3CFcdntcJZU6u6fvcqGXG5Co/iRDvsm+q9uuYd/H5ITnGx60kng==", "bundleDependencies": [ "glide-rs" ], "cpu": [ - "arm64" + "x64" ], + "deprecated": "This package will be replaced by @valkey/valkey-glide-linux-x64-gnu in v2.0", "license": "Apache-2.0", "optional": true, "os": [ @@ -14183,20 +14286,58 @@ "node": ">=16" } }, - "node_modules/@valkey/valkey-glide-linux-musl-x64": { + "node_modules/@valkey/valkey-glide-linux-x64-gnu": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@valkey/valkey-glide-linux-x64-gnu/-/valkey-glide-linux-x64-gnu-2.0.0.tgz", + "integrity": "sha512-WwPLuj/WCCbnQEIbCaugyPK8uDte1YatZhT8Lc8RCPM2UfcKdnKlS8g/2oytojiH5kkAupxUqFsP//9os3DYQg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@valkey/valkey-glide-linux-x64-musl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@valkey/valkey-glide-linux-x64-musl/-/valkey-glide-linux-x64-musl-2.0.0.tgz", + "integrity": "sha512-hFn8zOicEn2D16LaO5pw9QUzOPi67Jj4hJwC/rUUmtmpRnbLN2hqWfxK00/+1k5MBJ8K1764ObvXm4wIY3kehQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@valkey/valkey-glide-linux-x64/node_modules/glide-rs": { + "version": "0.1.0", + "inBundle": true, + "license": "Apache-2.0", + "optional": true, + "peer": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/@valkey/valkey-glide/node_modules/@valkey/valkey-glide-darwin-arm64": { "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@valkey/valkey-glide-linux-musl-x64/-/valkey-glide-linux-musl-x64-1.3.4.tgz", - "integrity": "sha512-QSaLTp81V0agKcGXsr3LUF+Vl4nTHrf5eBNV7/2GwbA4Pwed2x8TzORAjv+aS368hWR/9zftbVA1Xjn8TAND3w==", + "resolved": "https://registry.npmjs.org/@valkey/valkey-glide-darwin-arm64/-/valkey-glide-darwin-arm64-1.3.4.tgz", + "integrity": "sha512-Ry8PEWdMtENju/thkqMEDCcf9wJSz5JavpwTJ8+NEaTVeYUSNK7PJ91ZrgxTWyDr51YAdA8e5MjyK2+p2X1HiQ==", "bundleDependencies": [ "glide-rs" ], "cpu": [ - "x64" + "arm64" ], "license": "Apache-2.0", "optional": true, "os": [ - "linux" + "darwin" ], "peer": true, "dependencies": { @@ -14208,10 +14349,20 @@ "node": ">=16" } }, - "node_modules/@valkey/valkey-glide-linux-x64": { + "node_modules/@valkey/valkey-glide/node_modules/@valkey/valkey-glide-darwin-arm64/node_modules/glide-rs": { + "version": "0.1.0", + "inBundle": true, + "license": "Apache-2.0", + "optional": true, + "peer": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/@valkey/valkey-glide/node_modules/@valkey/valkey-glide-darwin-x64": { "version": "1.3.4", - "resolved": "https://registry.npmjs.org/@valkey/valkey-glide-linux-x64/-/valkey-glide-linux-x64-1.3.4.tgz", - "integrity": "sha512-j9acGMsr7T1oY377xBsIkY4rjtDqb78/OSH3CFcdntcJZU6u6fvcqGXG5Co/iRDvsm+q9uuYd/H5ITnGx60kng==", + "resolved": "https://registry.npmjs.org/@valkey/valkey-glide-darwin-x64/-/valkey-glide-darwin-x64-1.3.4.tgz", + "integrity": "sha512-Jl/x1WovhwiP7lWUcA99tw68Usb3GCHZ/ISD/1F23cVErXJ9qB4ZNCFI8Y1QrmwEPSeojKsxSpqylrsInuv1ng==", "bundleDependencies": [ "glide-rs" ], @@ -14221,7 +14372,7 @@ "license": "Apache-2.0", "optional": true, "os": [ - "linux" + "darwin" ], "peer": true, "dependencies": { @@ -14233,6 +14384,16 @@ "node": ">=16" } }, + "node_modules/@valkey/valkey-glide/node_modules/@valkey/valkey-glide-darwin-x64/node_modules/glide-rs": { + "version": "0.1.0", + "inBundle": true, + "license": "Apache-2.0", + "optional": true, + "peer": true, + "engines": { + "node": ">= 10" + } + }, "node_modules/@vitest/coverage-v8": { "version": "3.2.3", "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-3.2.3.tgz", @@ -16794,8 +16955,9 @@ "version": "2.0.4", "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.4.tgz", "integrity": "sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==", - "devOptional": true, "license": "Apache-2.0", + "optional": true, + "peer": true, "engines": { "node": ">=8" } @@ -25543,8 +25705,6 @@ }, "peerDependencies": { "arktype": ">=2.0.0", - "avro-js": ">=1.12.0", - "protobufjs": ">=7.5.3", "valibot": ">=1.0.0", "zod": ">=3.24.0" }, @@ -25552,12 +25712,6 @@ "arktype": { "optional": true }, - "avro-js": { - "optional": true - }, - "protobufjs": { - "optional": true - }, "valibot": { "optional": true },