From 52ddac57f3d4fc10ed378313f29e269b1a93ae75 Mon Sep 17 00:00:00 2001 From: Guillermo Date: Sun, 16 Oct 2016 13:18:54 -0400 Subject: [PATCH] switch to node-fetch from isomorphic fetch --- package.json | 2 +- src/node/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 = {