@whatwg-node/node-fetch
Advanced tools
Comparing version 0.8.0-alpha-20241212150911-36df5929a304522e501744daf167032d4b7994c0 to 0.8.0-alpha-20241212151314-570907b87da5f77c7c6a2d7476cd10a1bdd2b3dc
@@ -5,3 +5,3 @@ "use strict"; | ||
const disposablestack_1 = require("@whatwg-node/disposablestack"); | ||
const AbortError_1 = require("./AbortError"); | ||
const AbortError_js_1 = require("./AbortError.js"); | ||
class PonyfillAbortSignal extends EventTarget { | ||
@@ -24,3 +24,3 @@ aborted = false; | ||
if (!this.aborted) { | ||
this.reason = reason || new AbortError_1.PonyfillAbortError(); | ||
this.reason = reason || new AbortError_js_1.PonyfillAbortError(); | ||
this.aborted = true; | ||
@@ -27,0 +27,0 @@ const event = new Event('abort'); |
import { DisposableSymbols } from '@whatwg-node/disposablestack'; | ||
import { PonyfillAbortError } from './AbortError'; | ||
import { PonyfillAbortError } from './AbortError.js'; | ||
export class PonyfillAbortSignal extends EventTarget { | ||
@@ -4,0 +4,0 @@ aborted = false; |
{ | ||
"name": "@whatwg-node/node-fetch", | ||
"version": "0.8.0-alpha-20241212150911-36df5929a304522e501744daf167032d4b7994c0", | ||
"version": "0.8.0-alpha-20241212151314-570907b87da5f77c7c6a2d7476cd10a1bdd2b3dc", | ||
"description": "Fetch API implementation for Node", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
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
247116