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

@contrail/util

Package Overview
Dependencies
Maintainers
10
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrail/util - npm Package Compare versions

Comparing version 1.0.45 to 1.0.46

5

lib/object-util/compareDeep/compareDeep.js

@@ -40,3 +40,3 @@ "use strict";

}
else if (Array.isArray(beforeVal)) {
else if (Array.isArray(beforeVal) && Array.isArray(afterVal)) {
const beforeArray = [...beforeVal].sort(sortFunc);

@@ -48,2 +48,5 @@ const afterArray = [...afterVal].sort(sortFunc);

}
else if (Array.isArray(beforeVal) && !Array.isArray(afterVal)) {
diffs.push(getObjectDiff(beforeVal, afterVal, prefix + commonProperty));
}
else {

@@ -50,0 +53,0 @@ const nestedObjectDiffs = getObjectDiffs(beforeVal, afterVal, prefix + commonProperty + '.');

2

package.json
{
"name": "@contrail/util",
"version": "1.0.45",
"version": "1.0.46",
"description": "General javascript utilities",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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