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

caught

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

caught - npm Package Compare versions

Comparing version 0.0.3 to 0.1.1

index.d.ts

3

package.json
{
"name": "caught",
"version": "0.0.3",
"version": "0.1.1",
"description": "Avoids UnhandledPromiseRejectionWarning and PromiseRejectionHandledWarning",
"main": "index.js",
"types": "index.d.ts",
"scripts": {

@@ -7,0 +8,0 @@ "test": "bash test.sh"

@@ -12,2 +12,11 @@ node caught

This module lets you attach empty rejcetion handlers to promises
to avoid certain warnings that will be fatal errors
in next versions of Node.
Since version 0.1.0 it supports TypeScript
thanks to [Wil Lee](https://github.com/kourge).
More info
-
Doing something like this:

@@ -85,2 +94,6 @@

Contributors
------------
* [Wil Lee](https://github.com/kourge) (added TypeScript support in [PR #1](https://github.com/rsp/node-caught/pull/1))
License

@@ -87,0 +100,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