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

crio

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crio - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

CHANGELOG.md

20

lib/index.js

@@ -497,7 +497,3 @@ 'use strict';

if (!isCrio(item)) {
if ((0, _utils.isArray)(item)) {
itemValue = crioArray(item);
} else if ((0, _utils.isObject)(item)) {
itemValue = crioObject(item);
}
itemValue = crio(item);
}

@@ -520,7 +516,3 @@

if (!isCrio(itemValue)) {
if ((0, _utils.isArray)(itemValue)) {
itemValue = crioArray(itemValue);
} else if ((0, _utils.isObject)(itemValue)) {
itemValue = crioObject(itemValue);
}
itemValue = crio(itemValue);
}

@@ -559,2 +551,10 @@

crio.array.from = function () {
for (var _len9 = arguments.length, args = Array(_len9), _key9 = 0; _key9 < _len9; _key9++) {
args[_key9] = arguments[_key9];
}
return crioArray(args);
};
crio.object = function () {

@@ -561,0 +561,0 @@ var object = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];

@@ -5,2 +5,4 @@ 'use strict';

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
Object.defineProperty(exports, "__esModule", {

@@ -51,5 +53,16 @@ value: true

for (var index = 0; index < object1PropertiesLength; index++) {
if (object1Properties[index] !== object2Properties[index]) {
var object1Value = object1[object1Properties[index]];
var object2Value = object2[object2Properties[index]];
if (object1Value !== object2Value) {
return false;
}
if ((typeof object1Value === 'undefined' ? 'undefined' : _typeof(object1Value)) !== (typeof object2Value === 'undefined' ? 'undefined' : _typeof(object2Value))) {
return false;
}
if (isArray(object1Value) || isObject(object1Value)) {
return isEqual(object1Value, object2Value);
}
}

@@ -56,0 +69,0 @@

@@ -48,3 +48,3 @@ {

},
"version": "1.0.0"
"version": "1.0.1"
}
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