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

jose-node-esm-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-node-esm-runtime - npm Package Compare versions

Comparing version 3.12.2 to 3.12.3

9

dist/node/esm/util/decode_protected_header.js

@@ -1,2 +0,1 @@

import { ok as assert } from 'assert';
import { decode as base64url } from './base64url.js';

@@ -23,5 +22,9 @@ import { decoder } from '../lib/buffer_utils.js';

try {
assert(typeof protectedB64u === 'string' && protectedB64u);
if (typeof protectedB64u !== 'string' || !protectedB64u) {
throw new Error();
}
const result = JSON.parse(decoder.decode(base64url(protectedB64u)));
assert(isObject(result));
if (!isObject(result)) {
throw new Error();
}
return result;

@@ -28,0 +31,0 @@ }

{
"name": "jose-node-esm-runtime",
"version": "3.12.2",
"version": "3.12.3",
"description": "(Node.JS ESM 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