Change uuidv4 require
This commit is contained in:
parent
0134276f01
commit
e0d5f4c2ff
@ -9,7 +9,7 @@ const Msg = require("./models/msg");
|
||||
const Network = require("./models/network");
|
||||
const Helper = require("./helper");
|
||||
const UAParser = require("ua-parser-js");
|
||||
const uuidv4 = require("uuid/v4");
|
||||
const {v4: uuidv4} = require("uuid");
|
||||
const escapeRegExp = require("lodash/escapeRegExp");
|
||||
const constants = require("../client/js/constants.js");
|
||||
const inputs = require("./plugins/inputs");
|
||||
|
@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
const _ = require("lodash");
|
||||
const uuidv4 = require("uuid/v4");
|
||||
const {v4: uuidv4} = require("uuid");
|
||||
const IrcFramework = require("irc-framework");
|
||||
const Chan = require("./chan");
|
||||
const Msg = require("./msg");
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
const Helper = require("../helper");
|
||||
const busboy = require("busboy");
|
||||
const uuidv4 = require("uuid/v4");
|
||||
const {v4: uuidv4} = require("uuid");
|
||||
const path = require("path");
|
||||
const fsextra = require("fs-extra");
|
||||
const fs = require("fs");
|
||||
|
Loading…
Reference in New Issue
Block a user