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

@isaacs/promise-tracker

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

@isaacs/promise-tracker

This is a way to track the results of a promise, without obscuring `unhandledrejection` events, or losing other added properties that may exist on the promise being tracked.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

@isaacs/promise-tracker

This is a way to track the results of a promise, without obscuring unhandledrejection events, or losing other added properties that may exist on the promise being tracked.

It does not return the actual object, because it's impossible to do that without modifying unhandledrejection behavior, while also getting a view on the error being raised by the original promise.

USAGE

import { promiseTracker } from '@isaacs/promise-tracker'

promiseTracker(somePromise, (value) => {
  // log the value or whatever
}, (error) => {
  // report the error somewhere
})

FAQs

Package last updated on 13 Feb 2026

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