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.1.4 to 2.1.5

9

node-fetch/index.d.ts

@@ -5,2 +5,3 @@ // Type definitions for node-fetch 2.1

// Niklas Lindgren <https://github.com/nikcorg>
// Vinay Bedre <https://github.com/vinaybedre>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -172,5 +173,11 @@

export default function fetch(
declare function fetch(
url: string | Request,
init?: RequestInit
): Promise<Response>;
declare namespace fetch {
function isRedirect(code: number): boolean;
}
export default fetch;

9

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

@@ -16,2 +16,7 @@ "license": "MIT",

"githubUsername": "nikcorg"
},
{
"name": "Vinay Bedre",
"url": "https://github.com/vinaybedre",
"githubUsername": "vinaybedre"
}

@@ -29,4 +34,4 @@ ],

},
"typesPublisherContentHash": "55c865f3adfba520a78251e3d74955b8e9b2fb47a27d152f58aedea1b09806fe",
"typesPublisherContentHash": "ea851fa7411f9a258f077f40cc94861adebb538480c2ee76583a756f73aa8f18",
"typeScriptVersion": "2.0"
}

@@ -5,3 +5,3 @@ # Installation

# Summary
This package contains type definitions for node-fetch (https://github.com/bitinn/node-fetch).
This package contains type definitions for node-fetch ( https://github.com/bitinn/node-fetch ).

@@ -12,7 +12,7 @@ # Details

Additional Details
* Last updated: Mon, 19 Nov 2018 00:57:49 GMT
* Dependencies: node
* Last updated: Wed, 30 Jan 2019 21:06:29 GMT
* Dependencies: @types/node
* Global values: none
# Credits
These definitions were written by Torsten Werner <https://github.com/torstenwerner>, Niklas Lindgren <https://github.com/nikcorg>.
These definitions were written by Torsten Werner <https://github.com/torstenwerner>, Niklas Lindgren <https://github.com/nikcorg>, Vinay Bedre <https://github.com/vinaybedre>.
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