Change uuidv4 require

This commit is contained in:
Pavel Djundik 2020-02-24 15:35:15 +02:00
parent 0134276f01
commit e0d5f4c2ff
3 changed files with 3 additions and 3 deletions

View File

@ -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");

View File

@ -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");

View File

@ -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");