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
509
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.3.2 to 0.3.3-rc-20230320120712-ea18212

3

FormData.d.ts

@@ -12,4 +12,7 @@ import { PonyfillBlob } from './Blob';

[Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;
entries(): IterableIterator<[string, FormDataEntryValue]>;
keys(): IterableIterator<string>;
values(): IterableIterator<FormDataEntryValue>;
forEach(callback: (value: FormDataEntryValue, key: string, parent: this) => void): void;
}
export declare function getStreamFromFormData(formData: FormData, boundary?: string): PonyfillReadableStream<Uint8Array>;

@@ -17,4 +17,6 @@ export type PonyfillHeadersInit = [string, string][] | Record<string, string | string[] | undefined> | Headers;

forEach(callback: (value: string, key: string, parent: Headers) => void): void;
keys(): IterableIterator<string>;
values(): IterableIterator<string>;
entries(): IterableIterator<[string, string]>;
[Symbol.iterator](): IterableIterator<[string, string]>;
}

@@ -423,2 +423,15 @@ 'use strict';

}
entries() {
return this[Symbol.iterator]();
}
keys() {
return this.map.keys();
}
*values() {
for (const values of this.map.values()) {
for (const value of values) {
yield value;
}
}
}
forEach(callback) {

@@ -969,2 +982,8 @@ for (const [key, value] of this) {

}
keys() {
return this.getMap().keys();
}
values() {
return this.getMap().values();
}
entries() {

@@ -971,0 +990,0 @@ return this.getMap().entries();

2

package.json
{
"name": "@whatwg-node/node-fetch",
"version": "0.3.2",
"version": "0.3.3-rc-20230320120712-ea18212",
"description": "Fetch API implementation for Node",

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

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