@saulx/utils
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60994
1495