Socket
Socket
Sign inDemoInstall

cross-fetch

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cross-fetch - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

18

index.d.ts

@@ -1,12 +0,14 @@

declare const fet: typeof fetch;
declare const req: typeof Request;
declare const res: typeof Response;
declare const headers: typeof Headers;
/// <reference lib="dom" />
declare const _fetch: typeof fetch;
declare const _Request: typeof Request;
declare const _Response: typeof Response;
declare const _Headers: typeof Headers;
declare module "cross-fetch" {
export const fetch: typeof fet;
export const Request: typeof req;
export const Response: typeof res;
export const Headers: typeof headers;
export const fetch: typeof _fetch;
export const Request: typeof _Request;
export const Response: typeof _Response;
export const Headers: typeof _Headers;
export default fetch;
}
{
"name": "cross-fetch",
"version": "3.0.1",
"version": "3.0.2",
"description": "Universal WHATWG Fetch API for Node, Browsers and React Native",

@@ -55,17 +55,17 @@ "homepage": "https://github.com/lquixada/cross-fetch",

"chai": "4.2.0",
"codecov": "3.1.0",
"codecov": "3.2.0",
"husky": "1.3.1",
"lint-staged": "8.1.1",
"mocha": "5.2.0",
"lint-staged": "8.1.5",
"mocha": "6.0.2",
"mocha-headless-chrome": "2.0.1",
"nock": "10.0.6",
"nyc": "13.1.0",
"ora": "3.0.0",
"rollup": "1.1.2",
"nyc": "13.3.0",
"ora": "3.2.0",
"rollup": "1.7.3",
"rollup-plugin-copy": "0.2.3",
"rollup-plugin-uglify": "6.0.2",
"sinon": "7.2.3",
"sinon": "7.3.0",
"standard": "12.0.1",
"webpack": "4.29.0",
"webpack-cli": "3.2.1"
"webpack": "4.29.6",
"webpack-cli": "3.3.0"
},

@@ -72,0 +72,0 @@ "files": [

@@ -5,3 +5,3 @@ cross-fetch<br>

[![dependencies Status](https://david-dm.org/lquixada/cross-fetch/status.svg)](https://david-dm.org/lquixada/cross-fetch)
[![Build Status](https://travis-ci.org/lquixada/cross-fetch.svg)](https://travis-ci.org/lquixada/cross-fetch)
[![Build Status](https://circleci.com/gh/lquixada/cross-fetch.svg?style=shield)](https://circleci.com/gh/lquixada/cross-fetch)
[![Build Status](https://saucelabs.com/buildstatus/cross-fetch)](https://saucelabs.com/u/cross-fetch)

@@ -8,0 +8,0 @@ [![codecov](https://codecov.io/gh/lquixada/cross-fetch/branch/master/graph/badge.svg)](https://codecov.io/gh/lquixada/cross-fetch)

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