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

@aws-sdk/abort-controller

Package Overview
Dependencies
Maintainers
5
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/abort-controller - npm Package Compare versions

Comparing version 3.178.0 to 3.183.0

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
**Note:** Version bump only for package @aws-sdk/abort-controller
# [3.178.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.177.0...v3.178.0) (2022-09-23)

@@ -8,0 +16,0 @@

12

dist-es/AbortController.js
import { AbortSignal } from "./AbortSignal";
var AbortController = (function () {
function AbortController() {
export class AbortController {
constructor() {
this.signal = new AbortSignal();
}
AbortController.prototype.abort = function () {
abort() {
this.signal.abort();
};
return AbortController;
}());
export { AbortController };
}
}

@@ -1,3 +0,3 @@

var AbortSignal = (function () {
function AbortSignal() {
export class AbortSignal {
constructor() {
this.onabort = null;

@@ -10,10 +10,6 @@ this._aborted = false;

}
Object.defineProperty(AbortSignal.prototype, "aborted", {
get: function () {
return this._aborted;
},
enumerable: false,
configurable: true
});
AbortSignal.prototype.abort = function () {
get aborted() {
return this._aborted;
}
abort() {
this._aborted = true;

@@ -24,5 +20,3 @@ if (this.onabort) {

}
};
return AbortSignal;
}());
export { AbortSignal };
}
}
{
"name": "@aws-sdk/abort-controller",
"version": "3.178.0",
"version": "3.183.0",
"description": "A simple abort controller library",

@@ -24,3 +24,3 @@ "main": "./dist-cjs/index.js",

"dependencies": {
"@aws-sdk/types": "3.178.0",
"@aws-sdk/types": "3.183.0",
"tslib": "^2.3.1"

@@ -27,0 +27,0 @@ },

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