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.0.0 to 1.1.0

lib/exit_on_error.js

5

lib/index.js
// Generated by CoffeeScript 1.9.3
(function() {
var extract, transform;
var exitOnError, extract, transform;
exitOnError = require('./exit_on_error');
extract = require('./extract');

@@ -10,2 +12,3 @@

module.exports = {
exitOnError: exitOnError,
extract: extract,

@@ -12,0 +15,0 @@ transform: transform

{
"name": "async-handlers",
"version": "1.0.0",
"version": "1.1.0",
"description": "Function factories for performing synchronous operations after asynchronous operations",

@@ -26,3 +26,6 @@ "main": "./lib/index.js",

"sinon-chai": "^2.8.0"
},
"dependencies": {
"cli-color": "^1.0.0"
}
}

@@ -32,3 +32,8 @@ # Asynchronous handlers

#### exitOnError
A function that when called with an error, prints the error in red to `stderr` and exits with status 1.
Otherwise does nothing.
#### extract(key, callback)

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