New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pudge

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pudge - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

8

package.json
{
"name": "pudge",
"version": "2.0.0",
"version": "2.0.1",
"description": "simple node.js hook utility",
"main": "index.js",
"scripts": {
"test": "mocha test"
"test": "jest"
},

@@ -26,8 +26,8 @@ "repository": {

"debug": "4.1.1",
"extend": "^3.0.0"
"extend": "3.0.2"
},
"devDependencies": {
"mocha": "6.0.2",
"jest": "24.9.0",
"sinon": "7.3.0"
}
}

@@ -82,22 +82,20 @@ "use strict";

it('should map the results', function() {
it('should map the results', function(done) {
pudge.register('ROOT', 'head', function() {
return delay(10).then(function() {
return "I_AM_HEAD";
});
it('should map the results', function(done) {
pudge.register('ROOT', 'head', function() {
return delay(10).then(function() {
return "I_AM_HEAD";
});
});
pudge.register('ROOT', 'leg', function() {
return delay(10).then(function() {
return "I_AM_LEG";
});
pudge.register('ROOT', 'leg', function() {
return delay(10).then(function() {
return "I_AM_LEG";
});
});
pudge.run('ROOT').then(function(results) {
assert(results.leg === "I_AM_LEG");
assert(results.head === "I_AM_HEAD");
done();
}).catch(done);
});
pudge.run('ROOT').then(function(results) {
assert(results.leg === "I_AM_LEG");
assert(results.head === "I_AM_HEAD");
done();
}).catch(done);
});

@@ -104,0 +102,0 @@

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