async-compatibilty
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -11,10 +11,6 @@ var asyncValue = require('./asyncValue'); | ||
try { | ||
if (async) { | ||
args.push(wrapper); | ||
fn.apply(null, args); | ||
} else wrapper(null, fn.apply(null, args)); | ||
} catch (err) { | ||
callback(err); | ||
} | ||
if (async) { | ||
args.push(wrapper); | ||
fn.apply(null, args); | ||
} else wrapper(null, fn.apply(null, args)); | ||
}; |
{ | ||
"name": "async-compatibilty", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Compatibility functions for writing libraries that support both callbacks and promises", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3801
35