From 8989fc3c8fc82195d7150d06e92df80757f150b8 Mon Sep 17 00:00:00 2001 From: Ajitomi Daisuke Date: Wed, 6 Nov 2024 01:05:58 +0900 Subject: [PATCH 1/3] Update internal dependencies. --- npm/import_map.json | 10 ++--- npm/package-lock.json | 91 +++++++++++++++++-------------------------- 2 files changed, 40 insertions(+), 61 deletions(-) diff --git a/npm/import_map.json b/npm/import_map.json index 5b73bd328..e0c925052 100644 --- a/npm/import_map.json +++ b/npm/import_map.json @@ -2,11 +2,11 @@ "imports": { "@dajiaji/mlkem": "npm:mlkem@^2.3.0", "@deno/dnt": "jsr:@deno/dnt@^0.41.3", - "@hpke/chacha20poly1305": "npm:@hpke/chacha20poly1305@^1.4.3", - "@hpke/common": "npm:@hpke/common@^1.4.3", - "@hpke/core": "npm:@hpke/core@^1.4.3", - "@hpke/dhkem-x25519": "npm:@hpke/dhkem-x25519@^1.4.3", - "@hpke/dhkem-x448": "npm:@hpke/dhkem-x448@^1.4.3", + "@hpke/chacha20poly1305": "npm:@hpke/chacha20poly1305@^1.6.0", + "@hpke/common": "npm:@hpke/common@^1.6.1", + "@hpke/core": "npm:@hpke/core@^1.6.0", + "@hpke/dhkem-x25519": "npm:@hpke/dhkem-x25519@^1.6.0", + "@hpke/dhkem-x448": "npm:@hpke/dhkem-x448@^1.6.0", "@noble/ciphers/chacha": "npm:@noble/ciphers@^1.0.0/chacha", "@noble/curves/ed25519": "npm:@noble/curves@^1.6.0/ed25519", "@noble/curves/ed448": "npm:@noble/curves@^1.6.0/ed448", diff --git a/npm/package-lock.json b/npm/package-lock.json index 03243b52f..a7752db9e 100644 --- a/npm/package-lock.json +++ b/npm/package-lock.json @@ -2377,10 +2377,6 @@ "resolved": "samples/hybridkem-x25519-kyber768", "link": true }, - "node_modules/samples-node-hpke-js": { - "resolved": "samples/hpke-js", - "link": true - }, "node_modules/selfsigned": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-2.4.1.tgz", @@ -2582,10 +2578,6 @@ "resolved": "test/hybridkem-x25519-kyber768/runtimes/cloudflare", "link": true }, - "node_modules/test-cloudflare-hpke-js": { - "resolved": "test/hpke-js/runtimes/cloudflare", - "link": true - }, "node_modules/tinybench": { "version": "2.9.0", "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz", @@ -3605,15 +3597,15 @@ }, "packages/chacha20poly1305": { "name": "@hpke/chacha20poly1305", - "version": "1.6.0", + "version": "1.6.1", "license": "MIT", "dependencies": { - "@hpke/common": "^1.4.3", + "@hpke/common": "^1.6.1", "@noble/ciphers": "^1.0.0" }, "devDependencies": { "@deno/shim-deno": "~0.18.0", - "@hpke/core": "^1.4.3", + "@hpke/core": "^1.6.0", "@types/node": "^20.9.0", "picocolors": "^1.0.0" }, @@ -3623,7 +3615,7 @@ }, "packages/common": { "name": "@hpke/common", - "version": "1.6.0", + "version": "1.6.1", "license": "MIT", "devDependencies": { "@deno/shim-deno": "~0.18.0", @@ -3636,10 +3628,10 @@ }, "packages/core": { "name": "@hpke/core", - "version": "1.6.0", + "version": "1.6.1", "license": "MIT", "dependencies": { - "@hpke/common": "^1.4.3" + "@hpke/common": "^1.6.1" }, "devDependencies": { "@deno/shim-deno": "~0.18.0", @@ -3652,16 +3644,16 @@ }, "packages/dhkem-secp256k1": { "name": "@hpke/dhkem-secp256k1", - "version": "1.6.0", + "version": "1.6.1", "license": "MIT", "dependencies": { - "@hpke/common": "^1.4.3", - "@hpke/dhkem-x25519": "^1.4.3", + "@hpke/common": "^1.6.1", + "@hpke/dhkem-x25519": "^1.6.0", "@noble/curves": "^1.6.0" }, "devDependencies": { "@deno/shim-deno": "~0.18.0", - "@hpke/core": "^1.4.3", + "@hpke/core": "^1.6.0", "@types/node": "^20.9.0", "picocolors": "^1.0.0" }, @@ -3671,16 +3663,16 @@ }, "packages/dhkem-x25519": { "name": "@hpke/dhkem-x25519", - "version": "1.6.0", + "version": "1.6.1", "license": "MIT", "dependencies": { - "@hpke/common": "^1.4.3", + "@hpke/common": "^1.6.1", "@noble/curves": "^1.6.0", "@noble/hashes": "^1.5.0" }, "devDependencies": { "@deno/shim-deno": "~0.18.0", - "@hpke/core": "^1.4.3", + "@hpke/core": "^1.6.0", "@types/node": "^20.9.0", "picocolors": "^1.0.0" }, @@ -3690,16 +3682,16 @@ }, "packages/dhkem-x448": { "name": "@hpke/dhkem-x448", - "version": "1.6.0", + "version": "1.6.1", "license": "MIT", "dependencies": { - "@hpke/common": "^1.4.3", + "@hpke/common": "^1.6.1", "@noble/curves": "^1.6.0", "@noble/hashes": "^1.5.0" }, "devDependencies": { "@deno/shim-deno": "~0.18.0", - "@hpke/core": "^1.4.3", + "@hpke/core": "^1.6.0", "@types/node": "^20.9.0", "picocolors": "^1.0.0" }, @@ -3708,14 +3700,14 @@ } }, "packages/hpke-js": { - "version": "1.6.0", + "version": "1.6.1", "license": "MIT", "dependencies": { - "@hpke/chacha20poly1305": "^1.4.3", - "@hpke/common": "^1.4.3", - "@hpke/core": "^1.4.3", - "@hpke/dhkem-x25519": "^1.4.3", - "@hpke/dhkem-x448": "^1.4.3", + "@hpke/chacha20poly1305": "^1.6.0", + "@hpke/common": "^1.6.1", + "@hpke/core": "^1.6.0", + "@hpke/dhkem-x25519": "^1.6.0", + "@hpke/dhkem-x448": "^1.6.0", "@noble/hashes": "^1.5.0" }, "devDependencies": { @@ -3729,17 +3721,17 @@ }, "packages/hybridkem-x-wing": { "name": "@hpke/hybridkem-x-wing", - "version": "0.2.0", + "version": "0.4.0", "license": "MIT", "dependencies": { - "@hpke/common": "^1.4.3", - "@hpke/dhkem-x25519": "^1.4.3", + "@hpke/common": "^1.6.1", + "@hpke/dhkem-x25519": "^1.6.0", "@noble/hashes": "^1.5.0", "mlkem": "^2.3.0" }, "devDependencies": { "@deno/shim-deno": "~0.18.0", - "@hpke/core": "^1.4.3", + "@hpke/core": "^1.6.0", "@types/node": "^20.9.0", "picocolors": "^1.0.0" }, @@ -3749,16 +3741,16 @@ }, "packages/hybridkem-x25519-kyber768": { "name": "@hpke/hybridkem-x25519-kyber768", - "version": "1.6.0", + "version": "1.6.1", "license": "MIT", "dependencies": { - "@hpke/common": "^1.4.3", - "@hpke/dhkem-x25519": "^1.4.3", + "@hpke/common": "^1.6.1", + "@hpke/dhkem-x25519": "^1.6.0", "@noble/hashes": "^1.5.0" }, "devDependencies": { "@deno/shim-deno": "~0.18.0", - "@hpke/core": "^1.4.3", + "@hpke/core": "^1.6.0", "@types/node": "^20.9.0", "picocolors": "^1.0.0" }, @@ -3813,6 +3805,7 @@ "samples/hpke-js": { "name": "samples-node-hpke-js", "version": "1.0.0", + "extraneous": true, "license": "MIT", "dependencies": { "hpke-js": "^1.5.0" @@ -3824,7 +3817,7 @@ "license": "MIT", "dependencies": { "@hpke/core": "^1.5.0", - "@hpke/hybridkem-x-wing": "^0.2.0" + "@hpke/hybridkem-x-wing": "^0.4.0" } }, "samples/hybridkem-x25519-kyber768": { @@ -3913,6 +3906,7 @@ "test/hpke-js/runtimes/cloudflare": { "name": "test-cloudflare-hpke-js", "version": "0.0.0", + "extraneous": true, "dependencies": { "hpke-js": "^1.3.1" }, @@ -3928,8 +3922,8 @@ "name": "test-cloudflare-hpke-hybridkem-x-wing", "version": "0.0.0", "dependencies": { - "@hpke/core": "^1.3.1", - "@hpke/hybridkem-x-wing": "^0.1.0" + "@hpke/core": "^1.6.0", + "@hpke/hybridkem-x-wing": "^0.4.0" }, "devDependencies": { "@cloudflare/vitest-pool-workers": "^0.4.5", @@ -3939,21 +3933,6 @@ "wrangler": "^3.60.3" } }, - "test/hybridkem-x-wing/runtimes/cloudflare/node_modules/@hpke/hybridkem-x-wing": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@hpke/hybridkem-x-wing/-/hybridkem-x-wing-0.1.0.tgz", - "integrity": "sha512-wSXin+STJJOW1FdPCtMCvIl9CfewxMP/f5q8SxrXTskOm4krt2X9SkenEq+7b1ywzeCwJUteB2Prxd1SnRZGwg==", - "license": "MIT", - "dependencies": { - "@hpke/common": "^1.4.3", - "@hpke/dhkem-x25519": "^1.4.3", - "@noble/hashes": "^1.4.0", - "mlkem": "^2.2.0" - }, - "engines": { - "node": ">=16.0.0" - } - }, "test/hybridkem-x25519-kyber768/runtimes/cloudflare": { "name": "test-cloudflare-hpke-hybridkem-x25519-kyber768", "version": "0.0.0", From f5404e2da48f64708a60d50db0ed1c9223740cde Mon Sep 17 00:00:00 2001 From: Ajitomi Daisuke Date: Wed, 6 Nov 2024 01:08:17 +0900 Subject: [PATCH 2/3] hybridkem-x-wing: update internal dependencies. --- packages/hybridkem-x-wing/samples/node/package.json | 4 ++-- .../hybridkem-x-wing/test/runtimes/cloudflare/package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/hybridkem-x-wing/samples/node/package.json b/packages/hybridkem-x-wing/samples/node/package.json index bf3173d8b..0850c8b02 100644 --- a/packages/hybridkem-x-wing/samples/node/package.json +++ b/packages/hybridkem-x-wing/samples/node/package.json @@ -10,7 +10,7 @@ "test": "node app.js" }, "dependencies": { - "@hpke/core": "^1.5.0", - "@hpke/hybridkem-x-wing": "^0.2.0" + "@hpke/core": "^1.6.0", + "@hpke/hybridkem-x-wing": "^0.4.0" } } diff --git a/packages/hybridkem-x-wing/test/runtimes/cloudflare/package.json b/packages/hybridkem-x-wing/test/runtimes/cloudflare/package.json index 49d0172ee..5433424f3 100644 --- a/packages/hybridkem-x-wing/test/runtimes/cloudflare/package.json +++ b/packages/hybridkem-x-wing/test/runtimes/cloudflare/package.json @@ -17,7 +17,7 @@ "wrangler": "^3.60.3" }, "dependencies": { - "@hpke/core": "^1.3.1", - "@hpke/hybridkem-x-wing": "^0.1.0" + "@hpke/core": "^1.6.0", + "@hpke/hybridkem-x-wing": "^0.4.0" } } From 65ed0e069b35822e16492b109ff855e5061caa12 Mon Sep 17 00:00:00 2001 From: Ajitomi Daisuke Date: Wed, 6 Nov 2024 01:09:10 +0900 Subject: [PATCH 3/3] Bump version to 1.6.1. --- packages/chacha20poly1305/deno.json | 2 +- packages/core/deno.json | 2 +- packages/dhkem-secp256k1/deno.json | 2 +- packages/dhkem-x25519/deno.json | 2 +- packages/dhkem-x448/deno.json | 2 +- packages/hpke-js/deno.json | 2 +- packages/hybridkem-x25519-kyber768/deno.json | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/chacha20poly1305/deno.json b/packages/chacha20poly1305/deno.json index 156c02c58..e5cb2aca8 100644 --- a/packages/chacha20poly1305/deno.json +++ b/packages/chacha20poly1305/deno.json @@ -1,6 +1,6 @@ { "name": "@hpke/chacha20poly1305", - "version": "1.6.0", + "version": "1.6.1", "exports": "./mod.ts", "imports": { "@noble/ciphers": "npm:@noble/ciphers@^1.0.0" diff --git a/packages/core/deno.json b/packages/core/deno.json index 197b4ee88..c747f086b 100644 --- a/packages/core/deno.json +++ b/packages/core/deno.json @@ -1,6 +1,6 @@ { "name": "@hpke/core", - "version": "1.6.0", + "version": "1.6.1", "exports": "./mod.ts", "publish": { "exclude": [ diff --git a/packages/dhkem-secp256k1/deno.json b/packages/dhkem-secp256k1/deno.json index 304d527fc..9795e225b 100644 --- a/packages/dhkem-secp256k1/deno.json +++ b/packages/dhkem-secp256k1/deno.json @@ -1,6 +1,6 @@ { "name": "@hpke/dhkem-secp256k1", - "version": "1.6.0", + "version": "1.6.1", "exports": "./mod.ts", "imports": { "@noble/curves": "npm:@noble/curves@^1.6.0" diff --git a/packages/dhkem-x25519/deno.json b/packages/dhkem-x25519/deno.json index 308dacff4..dea68bcee 100644 --- a/packages/dhkem-x25519/deno.json +++ b/packages/dhkem-x25519/deno.json @@ -1,6 +1,6 @@ { "name": "@hpke/dhkem-x25519", - "version": "1.6.0", + "version": "1.6.1", "exports": "./mod.ts", "imports": { "@noble/curves": "npm:@noble/curves@^1.6.0", diff --git a/packages/dhkem-x448/deno.json b/packages/dhkem-x448/deno.json index 17416fb2b..183c73c72 100644 --- a/packages/dhkem-x448/deno.json +++ b/packages/dhkem-x448/deno.json @@ -1,6 +1,6 @@ { "name": "@hpke/dhkem-x448", - "version": "1.6.0", + "version": "1.6.1", "exports": "./mod.ts", "imports": { "@noble/curves": "npm:@noble/curves@^1.6.0", diff --git a/packages/hpke-js/deno.json b/packages/hpke-js/deno.json index 2619d05e6..fde619cd9 100644 --- a/packages/hpke-js/deno.json +++ b/packages/hpke-js/deno.json @@ -1,6 +1,6 @@ { "name": "@hpke/hpke-js", - "version": "1.6.0", + "version": "1.6.1", "exports": "./mod.ts", "imports": { "@noble/hashes": "npm:@noble/hashes@^1.5.0" diff --git a/packages/hybridkem-x25519-kyber768/deno.json b/packages/hybridkem-x25519-kyber768/deno.json index a295e00c0..e54a1623a 100644 --- a/packages/hybridkem-x25519-kyber768/deno.json +++ b/packages/hybridkem-x25519-kyber768/deno.json @@ -1,6 +1,6 @@ { "name": "@hpke/hybridkem-x25519-kyber768", - "version": "1.6.0", + "version": "1.6.1", "exports": "./mod.ts", "imports": { "@noble/hashes": "npm:@noble/hashes@^1.5.0"