abort-utils
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -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'; |
{ | ||
"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 |
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
Network access
Supply chain riskThis module accesses the network.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
20192
41
413
43