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

openid-client

Package Overview
Dependencies
Maintainers
1
Versions
189
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 3.15.5 to 3.15.6

9

CHANGELOG.md

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

## [3.15.6](https://github.com/panva/node-openid-client/compare/v3.15.5...v3.15.6) (2020-07-06)
### Bug Fixes
* merge helper returns modified object, leftovers removed ([2e3339b](https://github.com/panva/node-openid-client/commit/2e3339bd82297d6e37574e007b8a443087f3291e))
## [3.15.5](https://github.com/panva/node-openid-client/compare/v3.15.4...v3.15.5) (2020-06-26)

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

8

lib/helpers/defaults.js

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

/* eslint-disable no-restricted-syntax */
/* eslint-disable no-restricted-syntax, no-continue */

@@ -8,5 +8,9 @@ const isPlainObject = require('./is_plain_object');

if (!isPlainObject(source)) {
continue; // eslint-disable-line no-continue
continue;
}
for (const [key, value] of Object.entries(source)) {
/* istanbul ignore if */
if (key === '__proto__' || key === 'constructor') {
continue;
}
if (typeof target[key] === 'undefined' && typeof value !== 'undefined') {

@@ -13,0 +17,0 @@ target[key] = value;

@@ -1,12 +0,15 @@

/* eslint-disable no-restricted-syntax */
/* eslint-disable no-restricted-syntax, no-param-reassign, no-continue */
const isPlainObject = require('./is_plain_object');
function merge(...sources) {
const target = {};
function merge(target, ...sources) {
for (const source of sources) {
if (!isPlainObject(source)) {
continue; // eslint-disable-line no-continue
continue;
}
for (const [key, value] of Object.entries(source)) {
/* istanbul ignore if */
if (key === '__proto__' || key === 'constructor') {
continue;
}
if (isPlainObject(target[key]) && isPlainObject(value)) {

@@ -23,2 +26,2 @@ target[key] = merge(target[key], value);

module.exports = merge.bind(undefined, false);
module.exports = merge;
{
"name": "openid-client",
"version": "3.15.5",
"version": "3.15.6",
"description": "OpenID Connect Relying Party (RP, Client) implementation for Node.js runtime, supports passportjs",

@@ -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