@segment/actions-core
Advanced tools
Comparing version 3.143.0 to 3.143.1-remove-abort-controller.2
@@ -21,8 +21,4 @@ "use strict"; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TimeoutError = exports.HTTPError = exports.DEFAULT_REQUEST_TIMEOUT = void 0; | ||
const abort_controller_1 = __importDefault(require("abort-controller")); | ||
const ts_custom_error_1 = require("ts-custom-error"); | ||
@@ -136,3 +132,3 @@ const fetch_1 = __importStar(require("./fetch")); | ||
}; | ||
this.abortController = new abort_controller_1.default(); | ||
this.abortController = new AbortController(); | ||
if (this.options.signal) { | ||
@@ -139,0 +135,0 @@ this.options.signal.addEventListener('abort', () => { |
@@ -1,2 +0,1 @@ | ||
import AbortController from 'abort-controller'; | ||
import { CustomError } from 'ts-custom-error'; | ||
@@ -3,0 +2,0 @@ import fetch, { Headers, Request, Response } from './fetch'; |
{ | ||
"name": "@segment/actions-core", | ||
"description": "Core runtime for Destinations Actions.", | ||
"version": "3.143.0", | ||
"version": "3.143.1-remove-abort-controller.2+5b38b1114", | ||
"repository": { | ||
@@ -87,3 +87,2 @@ "type": "git", | ||
"@types/node": "^18.11.15", | ||
"abort-controller": "^3.0.0", | ||
"aggregate-error": "^3.1.0", | ||
@@ -113,3 +112,3 @@ "ajv": "^8.6.3", | ||
}, | ||
"gitHead": "c1b21ce224657b4de0995ed72eea45d1f9336626" | ||
"gitHead": "5b38b1114aae082a144d53f4a1a0bf0f2d500c29" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
12
623284
8357
2
4
- Removedabort-controller@^3.0.0
- Removedabort-controller@3.0.0(transitive)
- Removedevent-target-shim@5.0.1(transitive)