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
581
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.0.1-alpha-20230130162825-1e02017 to 0.0.1-alpha-20230130163402-dac6604

2

Body.d.ts
/// <reference types="node" />
import { Readable } from 'stream';
import { PonyfillBlob } from './Blob';
import { Readable } from 'stream';
import { PonyfillFormData } from './FormData';

@@ -5,0 +5,0 @@ import { PonyfillReadableStream } from './ReadableStream';

@@ -7,10 +7,10 @@ 'use strict';

const fs = require('fs');
const http = require('http');
const https = require('https');
const stream = require('stream');
const url = require('url');
const events = require('@whatwg-node/events');
const busboy = _interopDefault(require('busboy'));
const buffer = require('buffer');
const stream = require('stream');
const busboy = _interopDefault(require('busboy'));
const url = require('url');
const fs = require('fs');

@@ -34,2 +34,3 @@ // Will be removed after v14 reaches EOL

// Will be removed after v14 reaches EOL
class PonyfillAbortSignal extends events.EventTarget {

@@ -332,3 +333,6 @@ constructor() {

if (fileName != null) {
return new PonyfillFile([blob], fileName, { type: blob.type, lastModified: blob.lastModified });
return new PonyfillFile([blob], fileName, {
type: blob.type,
lastModified: blob.lastModified,
});
}

@@ -335,0 +339,0 @@ return blob;

{
"name": "@whatwg-node/node-fetch",
"version": "0.0.1-alpha-20230130162825-1e02017",
"version": "0.0.1-alpha-20230130163402-dac6604",
"description": "Fetch API implementation for Node",

@@ -5,0 +5,0 @@ "sideEffects": false,

@@ -1,2 +0,2 @@

import { PonyfillBody, BodyPonyfillInit, PonyfillBodyOptions } from './Body';
import { BodyPonyfillInit, PonyfillBody, PonyfillBodyOptions } from './Body';
import { PonyfillHeadersInit } from './Headers';

@@ -3,0 +3,0 @@ export type RequestPonyfillInit = PonyfillBodyOptions & Omit<RequestInit, 'body' | 'headers'> & {

@@ -1,2 +0,2 @@

import { PonyfillBody, BodyPonyfillInit, PonyfillBodyOptions } from './Body';
import { BodyPonyfillInit, PonyfillBody, PonyfillBodyOptions } from './Body';
import { PonyfillHeadersInit } from './Headers';

@@ -3,0 +3,0 @@ export type ResponsePonyfilInit = PonyfillBodyOptions & Omit<ResponseInit, 'headers'> & {

Sorry, the diff of this file is not supported yet

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