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

on-error-resume-next

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

on-error-resume-next - npm Package Versions

134

2.0.1-main.4f03a54

Diff

compulim
published 2.0.0 •

Changelog

Source

[2.0.0] - 2024-06-01

Added

  • Added synchronous and asynchronous versions, in PR #24 and #25

Deprecated

  • Introduced named exports and removed default imports

  • Synchronous and asynchronous are now separated into different exports

    • Use import { onErrorResumeNext } from 'on-error-resume-next' for synchronous functions
    • Use import { onErrorResumeNext } from 'on-error-resume-next/async' for asynchronous functions, will always return Promise regardless the resolution and rejection is handled synchronously or asynchronously
    • Use import { onErrorResumeNext } from 'on-error-resume-next/auto' to auto-detect (legacy behavior), will return on return/throw, and resolve on resolve/reject

    If you are using v1, you will need to port your code as follow:

  • import onErrorResumeNext from 'on-error-resume-next';

    • import { onErrorResumeNext } from 'on-error-resume-next/auto';
compulim
published 2.0.0-main.f3e7115 •

compulim
published 2.0.0-main.2190dd8 •

compulim
published 2.0.0-main.03bf411 •

compulim
published 2.0.0-main.8668b8f •

compulim
published 1.2.1-master.657032b •

compulim
published 1.1.1-master.f924d9d •

compulim
published 1.1.1-master.c7eb597 •

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