Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
nleush committed Oct 26, 2021
1 parent 0016d60 commit f1e08f7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion modules/tests-ui/models.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as moment from 'moment';
import moment from 'moment';
import mongoose from 'mongoose';
import config from '../../config.js';
global.CONFIG = config;
Expand All @@ -9,6 +9,7 @@
if (global.Promise) {
mongoose.Promise = global.Promise;
}

const db = mongoose.createConnection(CONFIG.tests.mongodb);

var Schema = mongoose.Schema;
Expand Down
2 changes: 1 addition & 1 deletion modules/tests-ui/views.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as async from 'async';
import * as moment from 'moment';
import moment from 'moment';
import * as _ from 'underscore';
import { exec as exec } from 'child_process';
import * as models from './models.js';
Expand Down
2 changes: 1 addition & 1 deletion plugins/domains/instagram.com/instagram.com.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import cheerio_pkg from 'cheerio';
const cheerio = cheerio_pkg.default;
import { decodeHTML5 as decodeHTML5 } from 'entities';
import { decodeHTML5 } from 'entities';

export default {

Expand Down
2 changes: 1 addition & 1 deletion plugins/domains/xkcd.com.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { decodeHTML5 as decodeHTML5 } from 'entities';
import { decodeHTML5 } from 'entities';

export default {

Expand Down
2 changes: 1 addition & 1 deletion plugins/links/embedURL/embedURL.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { decodeHTML5 as decodeHTML5 } from 'entities';
import { decodeHTML5 } from 'entities';
import * as utils from '../../../lib/utils.js';

export default {
Expand Down

0 comments on commit f1e08f7

Please sign in to comment.