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.5.3 to 2.5.4

7

node-fetch/index.d.ts

@@ -12,2 +12,3 @@ // Type definitions for node-fetch 2.5

// ExE Boss <https://github.com/ExE-Boss>
// Alex Savin <https://github.com/alexandrusavin>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -152,5 +153,9 @@

interface SystemError extends Error {
code?: string;
}
export class FetchError extends Error {
name: "FetchError";
constructor(message: string, type: string, systemError?: string);
constructor(message: string, type: string, systemError?: SystemError);
type: string;

@@ -157,0 +162,0 @@ code?: string;

13

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

@@ -51,6 +51,11 @@ "license": "MIT",

"githubUsername": "ExE-Boss"
},
{
"name": "Alex Savin",
"url": "https://github.com/alexandrusavin",
"githubUsername": "alexandrusavin"
}
],
"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -65,4 +70,4 @@ "type": "git",

},
"typesPublisherContentHash": "b63376e61a285a3294d0c7257a081292cd89e354be7a2fb9d3b57d3ee2e1d235",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "11e1050a3d1acd8b900ba4cd3d00a08beebbd2530c610d5307b0509ff95be186",
"typeScriptVersion": "2.8"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-fetch
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-fetch.
Additional Details
* Last updated: Fri, 01 Nov 2019 16:13:24 GMT
* Dependencies: @types/node
### Additional Details
* Last updated: Fri, 22 Nov 2019 15:50:56 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
* Global values: none
# Credits
These definitions were written by Torsten Werner <https://github.com/torstenwerner>, Niklas Lindgren <https://github.com/nikcorg>, Vinay Bedre <https://github.com/vinaybedre>, Antonio Román <https://github.com/kyranet>, Andrew Leedham <https://github.com/AndrewLeedham>, Jason Li <https://github.com/JasonLi914>, Brandon Wilson <https://github.com/wilsonianb>, Steve Faulkner <https://github.com/southpolesteve>, and ExE Boss <https://github.com/ExE-Boss>.
These definitions were written by Torsten Werner (https://github.com/torstenwerner), Niklas Lindgren (https://github.com/nikcorg), Vinay Bedre (https://github.com/vinaybedre), Antonio Román (https://github.com/kyranet), Andrew Leedham (https://github.com/AndrewLeedham), Jason Li (https://github.com/JasonLi914), Brandon Wilson (https://github.com/wilsonianb), Steve Faulkner (https://github.com/southpolesteve), ExE Boss (https://github.com/ExE-Boss), and Alex Savin (https://github.com/alexandrusavin).
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