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

jose

Package Overview
Dependencies
Maintainers
1
Versions
213
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jose - npm Package Compare versions

Comparing version 1.12.1 to 1.13.0

9

CHANGELOG.md

@@ -5,2 +5,11 @@ # Change Log

# [1.13.0](https://github.com/panva/jose/compare/v1.12.1...v1.13.0) (2019-11-23)
### Features
* return the CEK from JWE.decrypt operation with { complete: true } ([c3eb845](https://github.com/panva/jose/commit/c3eb8450b98b2f5ecc127d69afe85a7ae2cc5aaa))
## [1.12.1](https://github.com/panva/jose/compare/v1.12.0...v1.12.1) (2019-11-14)

@@ -7,0 +16,0 @@

2

lib/jwe/decrypt.js

@@ -176,3 +176,3 @@ const { inflateRawSync } = require('zlib')

if (complete) {
const result = { cleartext, key }
const result = { cleartext, key, cek }
if (aad) result.aad = aad

@@ -179,0 +179,0 @@ if (header) result.header = header

{
"name": "jose",
"version": "1.12.1",
"version": "1.13.0",
"description": "JSON Web Almost Everything - JWA, JWS, JWE, JWK, JWT, JWKS for Node.js with minimal dependencies",

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

@@ -395,3 +395,3 @@ # jose

[spec-okp]: https://tools.ietf.org/html/rfc8037
[draft-secp256k1]: https://tools.ietf.org/html/draft-ietf-cose-webauthn-algorithms-01
[draft-secp256k1]: https://tools.ietf.org/html/draft-ietf-cose-webauthn-algorithms-03
[draft-ietf-oauth-access-token-jwt]: https://tools.ietf.org/html/draft-ietf-oauth-access-token-jwt

@@ -398,0 +398,0 @@ [draft-jarm]: https://openid.net/specs/openid-financial-api-jarm.html

@@ -320,2 +320,3 @@ /// <reference types="node" />

key: JWK.Key;
cek: JWK.OctKey;
aad?: string;

@@ -322,0 +323,0 @@ header?: object;

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