From effb92d09c739513cc50d1a0344b058fda5ccf35 Mon Sep 17 00:00:00 2001 From: Ajitomi Daisuke Date: Sun, 29 Oct 2023 02:22:16 +0900 Subject: [PATCH] Bump noble/ciphers to 0.4.0. --- deno.lock | 48 +++++++++++++++++------------------ src/aeads/chacha20Poly1305.ts | 2 +- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/deno.lock b/deno.lock index 952aee394..deda51b80 100644 --- a/deno.lock +++ b/deno.lock @@ -1,5 +1,28 @@ { - "version": "2", + "version": "3", + "packages": { + "specifiers": { + "npm:@noble/ciphers@0.4.0": "npm:@noble/ciphers@0.4.0", + "npm:@noble/curves@1.2.0": "npm:@noble/curves@1.2.0", + "npm:@noble/hashes@1.3.2": "npm:@noble/hashes@1.3.2" + }, + "npm": { + "@noble/ciphers@0.4.0": { + "integrity": "sha512-xaUaUUDWbHIFSxaQ/pIe+33VG2mfJp6N/KxKLmZr5biWdNznCAmfu24QRhX10BbVAuqOahAoyp0S4M9md6GPDw==", + "dependencies": {} + }, + "@noble/curves@1.2.0": { + "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "dependencies": { + "@noble/hashes": "@noble/hashes@1.3.2" + } + }, + "@noble/hashes@1.3.2": { + "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "dependencies": {} + } + } + }, "remote": { "https://deno.land/std@0.140.0/_util/assert.ts": "e94f2eb37cebd7f199952e242c77654e43333c1ac4c5c700e929ea3aa5489f74", "https://deno.land/std@0.140.0/_util/os.ts": "3b4c6e27febd119d36a416d7a97bd3b0251b77c88942c8f16ee5953ea13e2e49", @@ -124,28 +147,5 @@ "https://deno.land/x/ts_morph@18.0.0/common/typescript.js": "d5c598b6a2db2202d0428fca5fd79fc9a301a71880831a805d778797d2413c59", "https://deno.land/x/wasmbuild@0.15.0/cache.ts": "89eea5f3ce6035a1164b3e655c95f21300498920575ade23161421f5b01967f4", "https://deno.land/x/wasmbuild@0.15.0/loader.ts": "d98d195a715f823151cbc8baa3f32127337628379a02d9eb2a3c5902dbccfc02" - }, - "npm": { - "specifiers": { - "@noble/ciphers@0.3.0": "@noble/ciphers@0.3.0", - "@noble/curves@1.2.0": "@noble/curves@1.2.0", - "@noble/hashes@1.3.2": "@noble/hashes@1.3.2" - }, - "packages": { - "@noble/ciphers@0.3.0": { - "integrity": "sha512-ldbrnOjmNRwFdXcTM6uXDcxpMIFrbzAWNnpBPp4oTJTFF0XByGD6vf45WrehZGXRQTRVV+Zm8YP+EgEf+e4cWA==", - "dependencies": {} - }, - "@noble/curves@1.2.0": { - "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", - "dependencies": { - "@noble/hashes": "@noble/hashes@1.3.2" - } - }, - "@noble/hashes@1.3.2": { - "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", - "dependencies": {} - } - } } } diff --git a/src/aeads/chacha20Poly1305.ts b/src/aeads/chacha20Poly1305.ts index 1045b0bed..bf29645e4 100644 --- a/src/aeads/chacha20Poly1305.ts +++ b/src/aeads/chacha20Poly1305.ts @@ -1,5 +1,5 @@ // @ts-ignore: for "npm:" -import { chacha20poly1305 } from "npm:@noble/ciphers@0.3.0/chacha"; +import { chacha20poly1305 } from "npm:@noble/ciphers@0.4.0/chacha"; import type { AeadEncryptionContext } from "../interfaces/aeadEncryptionContext.ts"; import type { AeadInterface } from "../interfaces/aeadInterface.ts";