Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hpke-js

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hpke-js - npm Package Compare versions

Comparing version 0.18.3 to 0.18.5

esm/_dnt.shims.d.ts

2

esm/src/cipherSuite.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc