Socket
Socket
Sign inDemoInstall

openid-client

Package Overview
Dependencies
Maintainers
1
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openid-client - npm Package Compare versions

Comparing version 5.1.0 to 5.1.1

2

lib/client.js

@@ -34,3 +34,3 @@ const { inspect } = require('util');

const [major, minor] = process.version
.substr(1)
.slice(1)
.split('.')

@@ -37,0 +37,0 @@ .map((str) => parseInt(str, 10));

@@ -42,3 +42,3 @@ const v8 = require('v8');

function getKtyFromAlg(alg) {
switch (typeof alg === 'string' && alg.substr(0, 2)) {
switch (typeof alg === 'string' && alg.slice(0, 2)) {
case 'RS':

@@ -72,3 +72,3 @@ case 'PS':

if (use === 'sig' || use === undefined) {
algs = algs.concat([`ES${crv.substr(-3)}`.replace('21', '12')]);
algs = algs.concat([`ES${crv.slice(-3)}`.replace('21', '12')]);
}

@@ -75,0 +75,0 @@

module.exports = function pick(object, ...paths) {
const obj = {};
for (const path of paths) {
if (object[path]) {
if (object[path] !== undefined) {
obj[path] = object[path];

@@ -6,0 +6,0 @@ }

{
"name": "openid-client",
"version": "5.1.0",
"version": "5.1.1",
"description": "OpenID Connect Relying Party (RP, Client) implementation for Node.js runtime, supports passportjs",

@@ -87,3 +87,3 @@ "keywords": [

"type": "fix",
"section": "Bug Fixes"
"section": "Fixes"
},

@@ -90,0 +90,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