New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

thenable-reject

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thenable-reject

It's like `Promise.reject` except it doesn't bother you with `unhandled Promise rejection` error in case you need to postpone a bit handling that rejection.

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
328
9.33%
Maintainers
1
Weekly downloads
 
Created
Source

thenable-reject

It's like Promise.reject except it doesn't bother you with unhandled Promise rejection error in case you need to postpone a bit handling that rejection.

Typescript typings included.

Source:

export default error => ({ then: (onresolve, onreject) => onreject(error) })

Keywords

thenable

FAQs

Package last updated on 07 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts