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 3.2.0 to 3.4.0

4

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

@@ -28,3 +28,3 @@ "main": "index.js",

"husky": "^0.10.2",
"memoize-cache": "0.0.2",
"memoize-cache": "0.1.0",
"mocha": "^2.1.0",

@@ -31,0 +31,0 @@ "npm-release": "^1.0.0"

@@ -15,9 +15,5 @@ var noopLogger = require('./noop-logger');

if (!err) {
cache.push(args, dep, function () {
cb(err, dep);
});
cache.push(args, dep);
}
else {
cb(err, dep);
}
cb(undefined, dep);
};

@@ -24,0 +20,0 @@ cache.query(args, function (err, cacheQuery) {

@@ -34,5 +34,4 @@ var noopLogger = require('./noop-logger');

else {
cache.push(args, dep, function () {
cb(err, dep);
});
cache.push(args, dep);
cb(undefined, dep);
}

@@ -39,0 +38,0 @@ };

var assert = require('chai').assert;
var Cache = require('memoize-cache');
var Cache = require('memoize-cache').ramCache;
var cacheDecorator = require('../../callback/cache');

@@ -4,0 +4,0 @@

var assert = require('chai').assert;
var Cache = require('memoize-cache');
var Cache = require('memoize-cache').ramCache;
var fallbackCacheDecorator = require('../../callback/fallback-cache');

@@ -4,0 +4,0 @@

var assert = require('chai').assert;
var Cache = require('memoize-cache');
var Cache = require('memoize-cache').ramCache;
var dedupeDecorator = require('../../callback/dedupe');

@@ -4,0 +4,0 @@ var cacheDecorator = require('../../callback/cache');

var assert = require('chai').assert;
var Cache = require('memoize-cache');
var Cache = require('memoize-cache').ramCache;
var cacheDecorator = require('../../promise/cache');

@@ -4,0 +4,0 @@

var assert = require('chai').assert;
var Cache = require('memoize-cache');
var Cache = require('memoize-cache').ramCache;
var fallbackCacheDecorator = require('../../promise/fallback-cache');

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