Skip to content

Commit

Permalink
fix using request import
Browse files Browse the repository at this point in the history
  • Loading branch information
nleush committed Oct 15, 2021
1 parent 0c253dd commit ae577e2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/core.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

import * as _ from 'underscore';
import * as request from 'request';
import request from 'request';
import * as urlLib from 'url';
import * as pluginUtils from './loader/utils.js';
import * as utils from './utils.js';
Expand Down
2 changes: 1 addition & 1 deletion lib/request.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as request from 'request';
import request from 'request';
import * as _ from 'underscore';
import * as crypto from 'crypto';
import { cache } from './cache.js';
Expand Down
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as events from 'events';
import * as request from 'request';
import request from 'request';
import * as fetch from 'node-fetch';
import * as AbortController from 'abort-controller';
import { Http2Agent } from './agent-http2.js';
Expand Down
2 changes: 1 addition & 1 deletion modules/tests-ui/utils.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as _ from 'underscore';
import * as FeedParser from 'feedparser';
import * as request from 'request';
import request from 'request';
import * as async from 'async';
import * as url from 'url';
import { PageTestLog, TestUrlsSet, PluginTest } from './models.js';
Expand Down
2 changes: 1 addition & 1 deletion plugins/domains/dailymotion.com/dailymotion.com.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as querystring from 'querystring';
import * as request from 'request';
import request from 'request';

export default {

Expand Down

0 comments on commit ae577e2

Please sign in to comment.