mirror of https://github.com/calzoneman/sync.git
deps: bump uuid
This commit is contained in:
parent
0b57f528bf
commit
988029e6c7
|
@ -37,7 +37,7 @@
|
||||||
"socket.io": "^2.0.3",
|
"socket.io": "^2.0.3",
|
||||||
"source-map-support": "^0.5.19",
|
"source-map-support": "^0.5.19",
|
||||||
"toml": "^3.0.0",
|
"toml": "^3.0.0",
|
||||||
"uuid": "^3.2.1",
|
"uuid": "^8.3.2",
|
||||||
"yamljs": "^0.2.8"
|
"yamljs": "^0.2.8"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import uuid from 'uuid';
|
import { v4 as uuidv4 } from 'uuid';
|
||||||
|
|
||||||
const LOGGER = require('@calzoneman/jsli')('announcementrefresher');
|
const LOGGER = require('@calzoneman/jsli')('announcementrefresher');
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ class AnnouncementRefresher {
|
||||||
this.pubClient = pubClient;
|
this.pubClient = pubClient;
|
||||||
this.subClient = subClient;
|
this.subClient = subClient;
|
||||||
this.channel = channel;
|
this.channel = channel;
|
||||||
this.uuid = uuid.v4();
|
this.uuid = uuidv4();
|
||||||
process.nextTick(this.init.bind(this));
|
process.nextTick(this.init.bind(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Promise from 'bluebird';
|
import Promise from 'bluebird';
|
||||||
import uuid from 'uuid';
|
import { v4 as uuidv4 } from 'uuid';
|
||||||
|
|
||||||
const LOGGER = require('@calzoneman/jsli')('partitionchannelindex');
|
const LOGGER = require('@calzoneman/jsli')('partitionchannelindex');
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ const CACHE_EXPIRE_DELAY = 40 * 1000;
|
||||||
|
|
||||||
class PartitionChannelIndex {
|
class PartitionChannelIndex {
|
||||||
constructor(pubClient, subClient, channel) {
|
constructor(pubClient, subClient, channel) {
|
||||||
this.id = uuid.v4();
|
this.id = uuidv4();
|
||||||
this.pubClient = pubClient;
|
this.pubClient = pubClient;
|
||||||
this.subClient = subClient;
|
this.subClient = subClient;
|
||||||
this.channel = channel;
|
this.channel = channel;
|
||||||
|
|
Loading…
Reference in New Issue