New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

async-handlers

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-handlers - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

6

lib/transform.js

@@ -6,2 +6,8 @@ // Generated by CoffeeScript 1.9.3

extract = function(fn, callback) {
if (typeof fn !== 'function') {
throw Error('fn is not a function');
}
if (typeof callback !== 'function') {
throw Error('callback is not a function');
}
return function(err, result) {

@@ -8,0 +14,0 @@ if (err) {

2

package.json
{
"name": "async-handlers",
"version": "1.1.1",
"version": "1.1.2",
"description": "Function factories for performing synchronous operations after asynchronous operations",

@@ -5,0 +5,0 @@ "main": "./lib/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