fix window.fetch (#875)
This commit is contained in:
parent
91155d6be6
commit
1fdc218a64
|
@ -1,7 +1,7 @@
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<img src="docs/media/Banner.svg" alt="Node Fetch"/>
|
<img src="docs/media/Banner.svg" alt="Node Fetch"/>
|
||||||
<br>
|
<br>
|
||||||
<p>A light-weight module that brings <code>window.fetch</code> to Node.js.</p>
|
<p>A light-weight module that brings <a href="https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API">Fetch API</a> to Node.js.</p>
|
||||||
<a href="https://github.com/node-fetch/node-fetch/actions"><img src="https://github.com/node-fetch/node-fetch/workflows/CI/badge.svg?branch=master" alt="Build status"></a>
|
<a href="https://github.com/node-fetch/node-fetch/actions"><img src="https://github.com/node-fetch/node-fetch/workflows/CI/badge.svg?branch=master" alt="Build status"></a>
|
||||||
<a href="https://coveralls.io/github/node-fetch/node-fetch"><img src="https://img.shields.io/coveralls/github/node-fetch/node-fetch" alt="Coverage status"></a>
|
<a href="https://coveralls.io/github/node-fetch/node-fetch"><img src="https://img.shields.io/coveralls/github/node-fetch/node-fetch" alt="Coverage status"></a>
|
||||||
<a href="https://packagephobia.now.sh/result?p=node-fetch"><img src="https://badgen.net/packagephobia/install/node-fetch" alt="Current version"></a>
|
<a href="https://packagephobia.now.sh/result?p=node-fetch"><img src="https://badgen.net/packagephobia/install/node-fetch" alt="Current version"></a>
|
||||||
|
@ -49,6 +49,7 @@
|
||||||
- [Default Headers](#default-headers)
|
- [Default Headers](#default-headers)
|
||||||
- [Custom Agent](#custom-agent)
|
- [Custom Agent](#custom-agent)
|
||||||
- [Custom highWaterMark](#custom-highwatermark)
|
- [Custom highWaterMark](#custom-highwatermark)
|
||||||
|
- [Insecure HTTP Parser](#insecure-http-parser)
|
||||||
- [Class: Request](#class-request)
|
- [Class: Request](#class-request)
|
||||||
- [new Request(input[, options])](#new-requestinput-options)
|
- [new Request(input[, options])](#new-requestinput-options)
|
||||||
- [Class: Response](#class-response)
|
- [Class: Response](#class-response)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "node-fetch",
|
"name": "node-fetch",
|
||||||
"version": "3.0.0-beta.7",
|
"version": "3.0.0-beta.7",
|
||||||
"description": "A light-weight module that brings window.fetch to node.js",
|
"description": "A light-weight module that brings Fetch API to node.js",
|
||||||
"main": "./dist/index.cjs",
|
"main": "./dist/index.cjs",
|
||||||
"module": "./src/index.js",
|
"module": "./src/index.js",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
@ -34,7 +34,12 @@
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"fetch",
|
"fetch",
|
||||||
"http",
|
"http",
|
||||||
"promise"
|
"promise",
|
||||||
|
"request",
|
||||||
|
"curl",
|
||||||
|
"wget",
|
||||||
|
"xhr",
|
||||||
|
"whatwg"
|
||||||
],
|
],
|
||||||
"author": "David Frank",
|
"author": "David Frank",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
Loading…
Reference in New Issue