Comparing version 0.0.3 to 0.1.1
{ | ||
"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 @@ ------- |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
6322
10
11
123
0