Skip to content

Commit

Permalink
Add support for Ky 0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Aug 12, 2019
1 parent ddb2a64 commit 31932bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions index.js
Expand Up @@ -19,6 +19,10 @@ if (!global.Headers) {
global.Headers = fetch.Headers;
}

if (!global.Request) {
global.Request = fetch.Request;
}

if (!global.Response) {
global.Response = fetch.Response;
}
Expand Down
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -53,15 +53,15 @@
],
"dependencies": {
"abort-controller": "^3.0.0",
"node-fetch": "^2.3.0"
"node-fetch": "^2.6.0"
},
"devDependencies": {
"ava": "^2.1.0",
"ky": "^0.11.1",
"ava": "^2.2.0",
"ky": "^0.12.0",
"xo": "^0.24.0"
},
"peerDependencies": {
"ky": ">=0.10.0"
"ky": ">=0.12.0"
},
"browser": "browser.js",
"ava": {
Expand Down

0 comments on commit 31932bf

Please sign in to comment.