Socket
Socket
Sign inDemoInstall

jose

Package Overview
Dependencies
Maintainers
1
Versions
210
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.24.0 to 1.24.1

9

CHANGELOG.md

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

## [1.24.1](https://github.com/panva/jose/compare/v1.24.0...v1.24.1) (2020-03-05)
### Bug Fixes
* allow importing simpler passphrases as `oct` keys ([f86bda3](https://github.com/panva/jose/commit/f86bda3bb709f29e4264fb8de45242f518128744))
# [1.24.0](https://github.com/panva/jose/compare/v1.23.0...v1.24.0) (2020-02-25)

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

2

lib/jwk/import.js

@@ -29,3 +29,3 @@ const { deprecate } = require('util')

const openSSHpublicKey = /^[a-zA-Z0-9-]+ (?:[a-zA-Z0-9+/])*(?:==|=)?(?: .*)?$/
const openSSHpublicKey = /^[a-zA-Z0-9-]+ AAAA(?:[0-9A-Za-z+/])+(?:==|=)?(?: .*)?$/

@@ -32,0 +32,0 @@ const asKey = (key, parameters, { calculateMissingRSAPrimes = false } = {}) => {

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

@@ -56,3 +56,4 @@ "keywords": [

"coverage": "c8 ava",
"lint": "standard && dtslint types",
"lint": "standard",
"lint-ts": "npx typescript@~3.6.0 --build types",
"lint-fix": "standard --fix",

@@ -88,3 +89,2 @@ "test": "ava",

"c8": "^7.0.0",
"dtslint": "^3.0.0",
"husky": "^4.0.0",

@@ -91,0 +91,0 @@ "standard": "^14.3.1"

/// <reference types="node" />
// TypeScript Version: 3.6
/* tslint:disable:strict-export-declare-modifiers */
import { KeyObject, PrivateKeyInput, PublicKeyInput } from 'crypto';

@@ -7,0 +5,0 @@

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