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

async-deco

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-deco - npm Package Compare versions

Comparing version 7.0.3 to 7.0.4

2

package.json
{
"name": "async-deco",
"version": "7.0.3",
"version": "7.0.4",
"description": "A collection of decorators for adding features to asynchronous functions (callback or promise based).",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -0,1 +1,2 @@

require('setimmediate');
var defaultLogger = require('../utils/default-logger');

@@ -20,3 +21,7 @@ var keyGetter = require('memoize-cache-utils/key-getter');

for (var i = 0; i < len; i++) {
callback_queues[cacheKey][i](err, dep);
setImmediate((function (f) {
return function () {
f(err, dep);
};
})(callback_queues[cacheKey][i]), 0);
}

@@ -23,0 +28,0 @@ delete callback_queues[cacheKey];

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