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

jose-browser-runtime

Package Overview
Dependencies
Maintainers
1
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jose-browser-runtime - npm Package Compare versions

Comparing version 3.15.3 to 3.15.4

3

dist/browser/runtime/check_cek_length.js
import { JWEInvalid, JOSENotSupported } from '../util/errors.js';
import { isCryptoKey } from './webcrypto.js';
const checkCekLength = (enc, cek) => {

@@ -27,3 +28,3 @@ let expected;

}
if (cek.algorithm !== undefined) {
if (isCryptoKey(cek)) {
const { length } = cek.algorithm;

@@ -30,0 +31,0 @@ if (length !== expected) {

import type { KeyLike } from '../types';
export interface GenerateKeyPairResult {
privateKey: KeyLike;
publicKey: KeyLike;
privateKey: Exclude<KeyLike, Uint8Array>;
publicKey: Exclude<KeyLike, Uint8Array>;
}

@@ -6,0 +6,0 @@ export interface GenerateKeyPairOptions {

{
"name": "jose-browser-runtime",
"version": "3.15.3",
"version": "3.15.4",
"description": "(Browser Runtime) 'JSON Web Almost Everything' - JWA, JWS, JWE, JWT, JWK with no dependencies",

@@ -5,0 +5,0 @@ "keywords": [

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