Socket
Socket
Sign inDemoInstall

abyss

Package Overview
Dependencies
1
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.1 to 0.1.2

6

index.js

@@ -42,4 +42,8 @@ 'use strict';

function(v, path, cb) {
var vb;
try {
var vb = resolve(objB, path);
vb = resolve(objB, path);
if (vb === undefined) {
throw true;
}
} catch(e) {

@@ -46,0 +50,0 @@ return missing(path, cb);

2

package.json
{
"name": "abyss",
"description": "Deep and asynchronous.",
"version": "0.1.1",
"version": "0.1.2",
"author": "Qix (http://github.com/Qix-)",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -192,2 +192,17 @@ 'use strict';

});
it('should ignore non-relevant transforms', function(done) {
abyss.clone(obj, function(err, cloned) {
if (err) return done(err);
var transformation = function(v) {
return v.split('').reverse().join('');
};
abyss.transform({g:{u:transformation}}, cloned, function(err) {
if (err) return done(err);
abyss.equals({g:{h:'Hello!'}}, cloned, function(equal) {
equal.should.equal(true);
done();
});
});
});
});
});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc