@aws-sdk/abort-controller
Advanced tools
Comparing version 3.338.0 to 3.341.0
import { AbortController as IAbortController } from "@aws-sdk/types"; | ||
import { AbortSignal } from "./AbortSignal"; | ||
export { IAbortController }; | ||
/** | ||
* This implementation was added as Node.js didn't support AbortController prior to 15.x | ||
* Use native implementation in browsers or Node.js >=15.4.0. | ||
* Use native implementation in browsers or Node.js \>=15.4.0. | ||
* | ||
* @public | ||
*/ | ||
@@ -7,0 +10,0 @@ export declare class AbortController implements IAbortController { |
import { AbortHandler, AbortSignal as IAbortSignal } from "@aws-sdk/types"; | ||
export { AbortHandler, IAbortSignal }; | ||
/** | ||
* @public | ||
*/ | ||
export declare class AbortSignal implements IAbortSignal { | ||
@@ -3,0 +7,0 @@ onabort: AbortHandler | null; |
@@ -0,2 +1,9 @@ | ||
/** | ||
* This implementation was added as Node.js didn't support AbortController prior to 15.x | ||
* Use native implementation in browsers or Node.js \>=15.4.0. | ||
* | ||
* @deprecated Use standard implementations in [Browsers](https://developer.mozilla.org/en-US/docs/Web/API/AbortController) and [Node.js](https://nodejs.org/docs/latest/api/globals.html#class-abortcontroller) | ||
* @packageDocumentation | ||
*/ | ||
export * from "./AbortController"; | ||
export * from "./AbortSignal"; |
import { AbortController as IAbortController } from "@aws-sdk/types"; | ||
import { AbortSignal } from "./AbortSignal"; | ||
export { IAbortController }; | ||
export declare class AbortController implements IAbortController { | ||
@@ -4,0 +5,0 @@ readonly signal: AbortSignal; |
import { AbortHandler, AbortSignal as IAbortSignal } from "@aws-sdk/types"; | ||
export { AbortHandler, IAbortSignal }; | ||
export declare class AbortSignal implements IAbortSignal { | ||
@@ -3,0 +4,0 @@ onabort: AbortHandler | null; |
{ | ||
"name": "@aws-sdk/abort-controller", | ||
"version": "3.338.0", | ||
"version": "3.341.0", | ||
"description": "A simple abort controller library", | ||
@@ -25,3 +25,3 @@ "main": "./dist-cjs/index.js", | ||
"dependencies": { | ||
"@aws-sdk/types": "3.338.0", | ||
"@aws-sdk/types": "3.341.0", | ||
"tslib": "^2.5.0" | ||
@@ -28,0 +28,0 @@ }, |
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
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
17125
131
+ Added@aws-sdk/types@3.341.0(transitive)
- Removed@aws-sdk/types@3.338.0(transitive)
Updated@aws-sdk/types@3.341.0