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

abort-utils

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abort-utils - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

dist/signal-from-even.test-d.d.ts

1

dist/index.d.ts

@@ -6,1 +6,2 @@ export * from './on-abort.js';

export * from './reusable-abort-controller.js';
export * from './signal-from-event.js';

@@ -6,1 +6,2 @@ export * from './on-abort.js';

export * from './reusable-abort-controller.js';
export * from './signal-from-event.js';

2

package.json
{
"name": "abort-utils",
"version": "1.0.0",
"version": "1.1.0",
"description": "Utility functions to use and combine `AbortSignal` and `AbortController` with Promises",

@@ -5,0 +5,0 @@ "keywords": [

@@ -18,3 +18,4 @@ # abort-utils [![][badge-gzip]][link-bundlephobia]

linkControllers,
promiseFromSignal
promiseFromSignal,
ReusableAbortController
} from 'abort-utils';

@@ -30,3 +31,5 @@ ```

- [linkControllers](./source/link-controllers.md): Link multiple controllers so that when one aborts, they all abort with the same reason.
- [signalFromEvent](./source/signal-from-event.md): Create an `AbortSignal` that is aborted when an event is dispatched.
- [promiseFromSignal](./source/promise-from-signals.md): Create a Promise that resolves or rejects when the signal aborts.
- [ReusableAbortController](./source/reusable-abort-controller.md): Like `AbortController`, but it generates a new signal after it's aborted.

@@ -33,0 +36,0 @@ ## Demo

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