Comparing version 0.18.3 to 0.18.5
@@ -209,3 +209,3 @@ import { RecipientExporterContext, SenderExporterContext, } from "./exporterContext.js"; | ||
* | ||
* @returns A KDF context. | ||
* @returns A KEM context. | ||
*/ | ||
@@ -212,0 +212,0 @@ async kemContext() { |
@@ -6,3 +6,3 @@ { | ||
"name": "hpke-js", | ||
"version": "v0.18.3", | ||
"version": "0.18.5", | ||
"description": "A Hybrid Public Key Encryption (HPKE) module for web browsers, Node.js and Deno", | ||
@@ -44,4 +44,4 @@ "repository": { | ||
"dependencies": { | ||
"@noble/curves": "0.5.1", | ||
"@noble/hashes": "1.1.5", | ||
"@noble/curves": "1.1.0", | ||
"@noble/hashes": "1.3.1", | ||
"@noble/secp256k1": "1.7.1", | ||
@@ -52,5 +52,5 @@ "@stablelib/chacha20poly1305": "1.0.1" | ||
"@types/node": "^18.11.9", | ||
"chalk": "^4.1.2", | ||
"@deno/shim-deno": "~0.14.0" | ||
"picocolors": "^1.0.0", | ||
"@deno/shim-deno": "~0.16.1" | ||
} | ||
} |
@@ -128,3 +128,3 @@ <h1 align="center">hpke-js</h1> | ||
<script type="module"> | ||
import * as hpke from "https://esm.sh/hpke-js@0.18.3"; | ||
import * as hpke from "https://esm.sh/hpke-js@0.18.5"; | ||
// ... | ||
@@ -145,3 +145,3 @@ </script> | ||
<script type="module"> | ||
import * as hpke from "https://unpkg.com/hpke-js@0.18.3/esm/mod.js"; | ||
import * as hpke from "https://unpkg.com/hpke-js@0.18.5/esm/mod.js"; | ||
// ... | ||
@@ -171,3 +171,3 @@ </script> | ||
// use a specific version | ||
import * as hpke from "https://deno.land/x/hpke@0.18.3/mod.ts"; | ||
import * as hpke from "https://deno.land/x/hpke@0.18.5/mod.ts"; | ||
@@ -183,5 +183,5 @@ // use the latest stable version | ||
```sh | ||
curl -sS -o $YOUR_SRC_PATH/hpke.js https://esm.sh/v86/hpke-js@0.18.3/es2022/hpke-js.js | ||
curl -sS -o $YOUR_SRC_PATH/hpke.js https://esm.sh/v86/hpke-js@0.18.5/es2022/hpke-js.js | ||
# if you want to use a minified version: | ||
curl -sS -o $YOUR_SRC_PATH/hpke.min.js https://esm.sh/v86/hpke-js@0.18.3/es2022/hpke.min.js | ||
curl -sS -o $YOUR_SRC_PATH/hpke.min.js https://esm.sh/v86/hpke-js@0.18.5/es2022/hpke.min.js | ||
``` | ||
@@ -192,3 +192,3 @@ | ||
```sh | ||
deno bundle https://deno.land/x/hpke@0.18.3/mod.ts > $YOUR_SRC_PATH/hpke.js | ||
deno bundle https://deno.land/x/hpke@0.18.5/mod.ts > $YOUR_SRC_PATH/hpke.js | ||
``` | ||
@@ -209,4 +209,4 @@ | ||
<script type="module"> | ||
// import * as hpke from "https://esm.sh/hpke-js@0.18.3"; | ||
import { Kem, Kdf, Aead, CipherSuite } from "https://esm.sh/hpke-js@0.18.3"; | ||
// import * as hpke from "https://esm.sh/hpke-js@0.18.5"; | ||
import { Kem, Kdf, Aead, CipherSuite } from "https://esm.sh/hpke-js@0.18.5"; | ||
@@ -296,3 +296,3 @@ globalThis.doHpke = async () => { | ||
```js | ||
import { Kem, Kdf, Aead, CipherSuite } from "https://deno.land/x/hpke@0.18.3/mod.ts"; | ||
import { Kem, Kdf, Aead, CipherSuite } from "https://deno.land/x/hpke@0.18.5/mod.ts"; | ||
@@ -299,0 +299,0 @@ async function doHpke() { |
@@ -244,3 +244,3 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
* | ||
* @returns A KDF context. | ||
* @returns A KEM context. | ||
*/ | ||
@@ -247,0 +247,0 @@ async kemContext() { |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
504653
196
11252
0
+ Added@noble/curves@1.1.0(transitive)
+ Added@noble/hashes@1.3.1(transitive)
- Removed@noble/curves@0.5.1(transitive)
- Removed@noble/hashes@1.1.5(transitive)
Updated@noble/curves@1.1.0
Updated@noble/hashes@1.3.1