Socket
Socket
Sign inDemoInstall

@types/node-fetch

Package Overview
Dependencies
2
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.3.1 to 2.3.2

19

node-fetch/index.d.ts

@@ -119,5 +119,13 @@ // Type definitions for node-fetch 2.3

type BlobPart = ArrayBuffer | ArrayBufferView | Blob | string;
interface BlobOptions {
type?: string;
endings?: "transparent" | "native";
}
export class Blob {
type: string;
size: number;
constructor(blobParts?: BlobPart[], options?: BlobOptions);
readonly type: string;
readonly size: number;
slice(start?: number, end?: number): Blob;

@@ -178,3 +186,8 @@ }

export type HeaderInit = HeadersInit;
export type BodyInit = ArrayBuffer | ArrayBufferView | NodeJS.ReadableStream | string | URLSearchParams;
export type BodyInit =
ArrayBuffer
| ArrayBufferView
| NodeJS.ReadableStream
| string
| URLSearchParams;
export type RequestInfo = string | Request;

@@ -181,0 +194,0 @@

4

node-fetch/package.json
{
"name": "@types/node-fetch",
"version": "2.3.1",
"version": "2.3.2",
"description": "TypeScript definitions for node-fetch",

@@ -49,4 +49,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "947136094af1eebc96c866e23b9f979e1598bee068f0032e80022eb889ad711e",
"typesPublisherContentHash": "cdb4b7db52797e12ff11a36008591eb38d1e28195cbd526ed25c045d51dcaaae",
"typeScriptVersion": "2.0"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Wed, 10 Apr 2019 17:27:25 GMT
* Last updated: Thu, 11 Apr 2019 18:07:19 GMT
* Dependencies: @types/node

@@ -14,0 +14,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc