Browse Source

switch to node-fetch from isomorphic fetch

pull/46/head
Guillermo 8 years ago
parent
commit
52ddac57f3
  1. 2
      package.json
  2. 2
      src/node/index.js

2
package.json

@ -26,9 +26,9 @@ @@ -26,9 +26,9 @@
"dependencies": {
"file-type": "^3.8.0",
"is-url": "^1.2.2",
"isomorphic-fetch": "^2.2.1",
"jpeg-js": "^0.2.0",
"level-js": "^2.2.4",
"node-fetch": "^1.6.3",
"object-assign": "^4.1.0",
"png.js": "^0.2.1",
"tesseract.js-core": "^1.0.2"

2
src/node/index.js

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
const path = require('path')
const fetch = require('isomorphic-fetch')
const fetch = require('node-fetch')
const isURL = require('is-url')
exports.defaultOptions = {

Loading…
Cancel
Save