diff --git a/package.json b/package.json index 8136701..bff70b5 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/src/node/index.js b/src/node/index.js index cc98988..f2dbf00 100644 --- a/src/node/index.js +++ b/src/node/index.js @@ -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 = {