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

items

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

items - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

5

lib/index.js

@@ -51,9 +51,10 @@ // Load modules

var count = 0;
var errored = false;
var done = function (err) {
if (callback) {
if (!errored) {
if (err) {
errored = true;
callback(err);
callback = null;
}

@@ -60,0 +61,0 @@ else {

2

package.json
{
"name": "items",
"description": "Bare minimum async methods",
"version": "1.0.1",
"version": "1.0.2",
"repository": "git://github.com/hapijs/items",

@@ -6,0 +6,0 @@ "main": "index",

@@ -150,3 +150,8 @@ // Load modules

expect(called).to.deep.equal([1]);
done();
setTimeout(function () {
expect(called).to.deep.equal([1, 4, 2, 5]);
done();
}, 6);
});

@@ -153,0 +158,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