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

async-compatibilty

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-compatibilty - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

12

lib/asyncFunction.js

@@ -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",

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