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

@saulx/utils

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@saulx/utils - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

dist/deepEqual.js

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

if (deepEqual(a[i], b[i])) {
return false;
return true;
}

@@ -75,3 +75,3 @@ }

if (deepEqual(k1, k)) {
return false;
return true;
}

@@ -78,0 +78,0 @@ }

{
"name": "@saulx/utils",
"main": "./dist/index.js",
"version": "1.1.0",
"version": "1.1.1",
"scripts": {

@@ -6,0 +6,0 @@ "build": "tsc",

@@ -31,3 +31,3 @@ import deepCopy from './deepCopy'

if (deepEqual(a[i], b[i])) {
return false
return true
}

@@ -64,3 +64,3 @@ }

if (deepEqual(k1, k)) {
return false
return true
}

@@ -67,0 +67,0 @@ } else if (k !== k1) {

@@ -505,1 +505,50 @@ import test from 'ava'

})
test('deepEqual 2', async t => {
const bla = {
id: 213891765,
privateIp: '10.114.0.21',
publicIp: '159.89.17.141',
name: 'my-special-app-for-testing-super-secret-0-fra1',
tags: {
app: 'my_special_app_for_testing_super_secret',
env: 'production',
net: 'private',
project: 'supersecretspecialtestproject',
org: 'saulx'
},
specs: {
memory: '1gb',
cpus: 1,
image: 'ubuntu-nodejs',
region: 'fra1',
cloudProvider: 'do',
sizeName: 's-1vcpu-1gb'
},
price: 5
}
const blarf = {
id: 213891765,
privateIp: '10.114.0.21',
publicIp: '159.89.17.141',
name: 'my-special-app-for-testing-super-secret-0-fra1',
tags: {
app: 'my_special_app_for_testing_super_secret',
env: 'production',
net: 'private',
project: 'supersecretspecialtestproject',
org: 'saulx'
},
specs: {
memory: '1gb',
cpus: 1,
image: 'ubuntu-nodejs',
region: 'fra1',
cloudProvider: 'do',
sizeName: 's-1vcpu-1gb'
},
price: 5
}
t.true(deepEqual(bla, blarf))
})

Sorry, the diff of this file is not supported yet

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