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

penseur

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

penseur - npm Package Compare versions

Comparing version 7.13.0 to 7.14.0

29

lib/utils.js

@@ -37,3 +37,3 @@ 'use strict';

const value = compare[key];
if (value === undefined) { // Monitored key not present
if (value === undefined) { // Monitored key not present
if (base[key] !== undefined &&

@@ -47,3 +47,23 @@ options.deleted) {

if (typeof value === 'object') {
if (value !== null &&
base[key] !== null &&
typeof value === 'object' &&
typeof base[key] === 'object') {
if (Array.isArray(value) ||
Array.isArray(base[key])) {
if (Hoek.deepEqual(base[key], value)) {
return;
}
if (options.arrays === false || // Defaults to true
!Array.isArray(value) ||
!Array.isArray(base[key])) {
changes[key] = value;
return;
}
}
const change = exports.diff(base[key], value, { deleted: options.deleted });

@@ -53,4 +73,7 @@ if (change) {

}
return;
}
else if (value !== base[key]) {
if (value !== base[key]) {
changes[key] = value;

@@ -57,0 +80,0 @@ }

2

package.json
{
"name": "penseur",
"description": "Lightweight RethinkDB wrapper",
"version": "7.13.0",
"version": "7.14.0",
"author": "Eran Hammer <eran@hammer.io> (http://hueniverse.com)",

@@ -6,0 +6,0 @@ "repository": "git://github.com/hueniverse/penseur",

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