Socket
Socket
Sign inDemoInstall

loud-rejection

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loud-rejection - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

5

index.js
'use strict';
var util = require('util');
var onExit = require('signal-exit');

@@ -9,6 +10,4 @@ var api = require('./api');

console.error(err.stack);
} else if (typeof err === 'undefined') {
console.error('Promise rejected no value');
} else {
console.error('Promise rejected with value:', err);
console.error('Promise rejected with value: ' + util.inspect(err));
}

@@ -15,0 +14,0 @@ }

2

package.json
{
"name": "loud-rejection",
"version": "1.2.1",
"version": "1.3.0",
"description": "Make unhandled promise rejections fail loudly instead of the default silent fail",

@@ -5,0 +5,0 @@ "license": "MIT",

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