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 1.2.4 to 1.2.5

49

package.json
{
"module": "./esm/mod.js",
"main": "./script/mod.js",
"types": "./esm/mod.d.ts",
"name": "hpke-js",
"version": "1.2.4",
"version": "1.2.5",
"description": "A Hybrid Public Key Encryption (HPKE) module for various JavaScript runtimes",
"repository": {
"type": "git",
"url": "git+https://github.com/dajiaji/hpke-js.git"
},
"homepage": "https://github.com/dajiaji/hpke-js#readme",
"license": "MIT",
"sideEffects": false,
"exports": {
".": {
"import": "./esm/mod.js",
"require": "./script/mod.js"
},
"./package.json": "./package.json"
},
"keywords": [

@@ -36,12 +19,29 @@ "hpke",

],
"engines": {
"node": ">=16.0.0"
"author": "Ajitomi Daisuke",
"homepage": "https://github.com/dajiaji/hpke-js#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/dajiaji/hpke-js.git"
},
"author": "Ajitomi Daisuke",
"license": "MIT",
"bugs": {
"url": "https://github.com/dajiaji/hpke-js/issues"
},
"main": "./script/mod.js",
"module": "./esm/mod.js",
"types": "./esm/mod.d.ts",
"exports": {
".": {
"import": "./esm/mod.js",
"require": "./script/mod.js"
},
"./package.json": "./package.json"
},
"scripts": {
"test": "node test_runner.js"
},
"sideEffects": false,
"engines": {
"node": ">=16.0.0"
},
"dependencies": {

@@ -53,6 +53,7 @@ "@noble/ciphers": "0.4.0",

"devDependencies": {
"@types/node": "^18.11.9",
"@types/node": "^20.9.0",
"picocolors": "^1.0.0",
"@deno/shim-deno": "~0.16.1"
}
"@deno/shim-deno": "~0.17.0"
},
"_generatedBy": "dnt@0.39.0"
}

@@ -222,5 +222,5 @@ <h1 align="center">hpke-js</h1>

// use a specific version
import * as hpke from "https://deno.land/x/hpke@1.2.4/mod.ts";
// import * as hpke from "https://deno.land/x/hpke@1.2.4/core/mod.ts";
// import * as hpke from "https://deno.land/x/hpke@1.2.4/x/dhkem-x25519/mod.ts";
import * as hpke from "https://deno.land/x/hpke@1.2.5/mod.ts";
// import * as hpke from "https://deno.land/x/hpke@1.2.5/core/mod.ts";
// import * as hpke from "https://deno.land/x/hpke@1.2.5/x/dhkem-x25519/mod.ts";

@@ -243,4 +243,4 @@ // use the latest stable version

<script type="module">
import * as hpke from "https://esm.sh/hpke-js@1.2.4";
// import * as hpke from "https://esm.sh/@hpke/core@1.2.4";
import * as hpke from "https://esm.sh/hpke-js@1.2.5";
// import * as hpke from "https://esm.sh/@hpke/core@1.2.5";
// ...

@@ -262,4 +262,4 @@ </script>

<script type="module">
import * as hpke from "https://unpkg.com/hpke-js@1.2.4/esm/mod.js";
// import * as hpke from "https://unpkg.com/@hpke/core@1.2.4/esm/mod.js";
import * as hpke from "https://unpkg.com/hpke-js@1.2.5/esm/mod.js";
// import * as hpke from "https://unpkg.com/@hpke/core@1.2.5/esm/mod.js";
// ...

@@ -344,7 +344,7 @@ </script>

```js
import { AeadId, CipherSuite, KdfId, KemId } from "https://deno.land/x/hpke@1.2.4/mod.ts";
import { AeadId, CipherSuite, KdfId, KemId } from "https://deno.land/x/hpke@1.2.5/mod.ts";
// import {
// Aes128Gcm, CipherSuite, HkdfSha256,
// } from "https://deno.land/x/hpke@1.2.4/core/mod.ts";
// import { DhkemX25519HkdfSha256 } from "https://deno.land/x/hpke@1.2.4/x/dhkem-x25519/mod.ts";
// } from "https://deno.land/x/hpke@1.2.5/core/mod.ts";
// import { DhkemX25519HkdfSha256 } from "https://deno.land/x/hpke@1.2.5/x/dhkem-x25519/mod.ts";

@@ -432,6 +432,6 @@ async function doHpke() {

<script type="module">
import { AeadId, CipherSuite, KdfId, KemId } from "https://esm.sh/hpke-js@1.2.4";
import { AeadId, CipherSuite, KdfId, KemId } from "https://esm.sh/hpke-js@1.2.5";
// import {
// Aes128Gcm, CipherSuite, DhkemP256HkdfSha256, HkdfSha256,
// } from "@hpke/core@1.2.4";
// } from "@hpke/core@1.2.5";

@@ -438,0 +438,0 @@ globalThis.doHpke = async () => {

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