Socket
Socket
Sign inDemoInstall

cross-fetch

Package Overview
Dependencies
7
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0-alpha.13 to 4.0.0

CHANGELOG.md

32

package.json
{
"name": "cross-fetch",
"version": "4.0.0-alpha.13",
"version": "4.0.0",
"description": "Universal WHATWG Fetch API for Node, Browsers and React Native",

@@ -71,9 +71,9 @@ "homepage": "https://github.com/lquixada/cross-fetch",

"dependencies": {
"node-fetch": "2.6.12"
"node-fetch": "^2.6.12"
},
"devDependencies": {
"@commitlint/cli": "17.6.1",
"@commitlint/config-conventional": "17.6.1",
"@rollup/plugin-terser": "0.4.1",
"@types/chai": "4.3.4",
"@commitlint/cli": "17.6.6",
"@commitlint/config-conventional": "17.6.6",
"@rollup/plugin-terser": "0.4.3",
"@types/chai": "4.3.5",
"@types/mocha": "10.0.1",

@@ -88,19 +88,19 @@ "@types/node": "18.15.13",

"husky": "8.0.3",
"lint-staged": "13.2.1",
"lint-staged": "13.2.3",
"mocha": "10.2.0",
"mocha-headless-chrome": "4.0.0",
"nock": "13.3.0",
"nock": "13.3.1",
"nyc": "15.1.0",
"rimraf": "5.0.0",
"rollup": "3.20.7",
"rimraf": "5.0.1",
"rollup": "3.26.0",
"rollup-plugin-copy": "3.4.0",
"semver": "7.5.0",
"semver": "7.5.3",
"serve-index": "1.9.1",
"standard": "17.0.0",
"standard": "17.1.0",
"standard-version": "9.5.0",
"typescript": "5.0.4",
"webpack": "5.80.0",
"webpack-cli": "5.0.2",
"typescript": "5.1.6",
"webpack": "5.88.1",
"webpack-cli": "5.1.4",
"whatwg-fetch": "3.6.2",
"yargs": "17.7.1"
"yargs": "17.7.2"
},

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

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

Universal WHATWG Fetch API for Node, Browsers and React Native. The scenario that cross-fetch really shines is when the same JavaScript codebase needs to run on different platforms.
Universal WHATWG Fetch API for Node, Browsers, Workers and React Native. The scenario that cross-fetch really shines is when the same JavaScript codebase needs to run on different platforms.

@@ -17,2 +17,3 @@ - **Platform agnostic**: browsers, Node or React Native

- **TypeScript support**: better development experience with types.
- **Worker support**: works on different types of workers such as Service Workers and CloudFlare Workers

@@ -24,15 +25,14 @@

- [](#)
- [Table of Contents](#table-of-contents)
- [Install](#install)
- [Usage](#usage)
- [Demo \& API](#demo--api)
- [FAQ](#faq)
- [Yet another fetch library?](#yet-another-fetch-library)
- [Why polyfill might not be a good idea?](#why-polyfill-might-not-be-a-good-idea)
- [How does cross-fetch work?](#how-does-cross-fetch-work)
- [Who's Using It?](#whos-using-it)
- [Thanks](#thanks)
- [License](#license)
- [Author](#author)
- [Table of Contents](#table-of-contents)
- [Install](#install)
- [Usage](#usage)
- [Demo \& API](#demo--api)
- [FAQ](#faq)
- [Yet another fetch library?](#yet-another-fetch-library)
- [Why polyfill might not be a good idea?](#why-polyfill-might-not-be-a-good-idea)
- [How does cross-fetch work?](#how-does-cross-fetch-work)
- [Who's Using It?](#whos-using-it)
- [Thanks](#thanks)
- [License](#license)
- [Author](#author)

@@ -47,3 +47,3 @@ * * *

As a [ponyfill](https://github.com/sindresorhus/ponyfill):
As a [ponyfill](https://github.com/sindresorhus/ponyfill) (imports locally):

@@ -58,3 +58,3 @@ ```javascript

As a polyfill:
As a polyfill (installs globally):

@@ -61,0 +61,0 @@ ```javascript

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