Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/readable stream body #3

Merged
merged 4 commits into from
May 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
node: ["14", "12", engines]
node: ["14", "12", "15"]
exclude:
# On Windows, run tests with only the LTS environments.
- os: windows-latest
Expand Down
1 change: 0 additions & 1 deletion @types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import { Agent } from 'http';
import { URL, URLSearchParams } from 'url'
import Blob = require('fetch-blob');

type AbortSignal = {
readonly aborted: boolean;
Expand Down
1 change: 0 additions & 1 deletion @types/index.test-d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { expectType, expectAssignable } from 'tsd';
import AbortController from 'abort-controller';
import Blob = require('fetch-blob');

import fetch, { Request, Response, Headers, Body, FetchError, AbortError } from '.';
import * as _fetch from '.';
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@
},
"dependencies": {
"data-uri-to-buffer": "^3.0.1",
"fetch-blob": "^2.1.1"
"@web-std/blob": "^2.0.1",
"web-streams-polyfill": "^3.0.2"
},
"esm": {
"sourceMap": true,
Expand All @@ -86,7 +87,8 @@
"compilerOptions": {
"target": "esnext",
"lib": [
"es2018"
"es2018",
"DOM"
],
"allowSyntheticDefaultImports": false,
"esModuleInterop": false
Expand Down
Loading