Skip to content

Commit

Permalink
feat: switch from forked request to postman-request (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
droob authored and adampash committed Mar 8, 2019
1 parent 7844129 commit 785a222
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 172 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"moment": "^2.23.0",
"moment-parseformat": "3.0.0",
"moment-timezone": "0.5.23",
"request": "github:czardoz/request",
"postman-request": "^2.88.1-postman.7.1",
"request-promise": "^4.2.2",
"string-direction": "^0.1.2",
"turndown": "^5.0.3",
Expand All @@ -135,7 +135,7 @@
"main": "./dist/mercury.web.js",
"cheerio": "./src/shims/cheerio-query",
"jquery": "./node_modules/jquery/dist/jquery.min.js",
"request": "browser-request",
"postman-request": "browser-request",
"iconv-lite": "./src/shims/iconv-lite",
"moment-timezone": "./node_modules/moment-timezone/builds/moment-timezone-with-data-2012-2022.min.js"
},
Expand Down
2 changes: 1 addition & 1 deletion src/resource/utils/fetch-resource.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import URL from 'url';
import request from 'request';
import request from 'postman-request';
import { Errors } from 'utils';

import {
Expand Down
Loading

0 comments on commit 785a222

Please sign in to comment.