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

@whatwg-node/node-fetch

Package Overview
Dependencies
Maintainers
1
Versions
558
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@whatwg-node/node-fetch - npm Package Compare versions

Comparing version 0.8.0-alpha-20241212150911-36df5929a304522e501744daf167032d4b7994c0 to 0.8.0-alpha-20241212151314-570907b87da5f77c7c6a2d7476cd10a1bdd2b3dc

4

cjs/AbortSignal.js

@@ -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,

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