Skip to content

Commit

Permalink
fix: Use node-fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
vio committed Jun 28, 2021
1 parent 077585a commit 5ad9b18
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
"graphql-tag": "^2.11.0",
"html-minifier": "4.0.0",
"html-webpack-plugin": "4.3.0",
"isomorphic-fetch": "2.2.1",
"jest": "27.0.5",
"json-stringify-safe": "5.0.1",
"lodash": "4.17.21",
Expand Down
2 changes: 1 addition & 1 deletion src/webpack/getRoutes.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const async = require('async');
const fetch = require('isomorphic-fetch');
const fetch = require('node-fetch');

const { ENV } = require('../constants');
const { debug } = require('../utils');
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7865,7 +7865,7 @@ isobject@^4.0.0:
resolved "https://registry.yarnpkg.com/isobject/-/isobject-4.0.0.tgz#3f1c9155e73b192022a80819bacd0343711697b0"
integrity sha512-S/2fF5wH8SJA/kmwr6HYhK/RI/OkhD84k8ntalo0iJjZikgq1XFvR5M8NPT1x5F7fBwCG3qHfnzeP/Vh/ZxCUA==

isomorphic-fetch@2.2.1, isomorphic-fetch@^2.1.1:
isomorphic-fetch@^2.1.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz#611ae1acf14f5e81f729507472819fe9733558a9"
integrity sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=
Expand Down

0 comments on commit 5ad9b18

Please sign in to comment.