🔧 Refactoring
This commit is contained in:
9989
package-lock.json
generated
9989
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -27,11 +27,11 @@
|
|||||||
"eslint-plugin-import": "^2.20.2",
|
"eslint-plugin-import": "^2.20.2",
|
||||||
"eslint-plugin-prefer-arrow": "^1.2.2",
|
"eslint-plugin-prefer-arrow": "^1.2.2",
|
||||||
"install": "^0.13.0",
|
"install": "^0.13.0",
|
||||||
"jest": "^27.2.5",
|
"jest": "^27.5.1",
|
||||||
"jest-cli": "^27.2.5",
|
"jest-cli": "^27.5.1",
|
||||||
"moleculer-repl": "^0.7.0",
|
"moleculer-repl": "^0.7.0",
|
||||||
"npm": "^8.4.1",
|
"npm": "^8.4.1",
|
||||||
"ts-jest": "^25.3.0",
|
"ts-jest": "^27.1.4",
|
||||||
"ts-node": "^8.8.1",
|
"ts-node": "^8.8.1",
|
||||||
"typescript": "^3.9.10"
|
"typescript": "^3.9.10"
|
||||||
},
|
},
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
"@elastic/elasticsearch": "^7.16.0",
|
"@elastic/elasticsearch": "^7.16.0",
|
||||||
"@jorgeferrero/stream-to-buffer": "^2.0.6",
|
"@jorgeferrero/stream-to-buffer": "^2.0.6",
|
||||||
"@root/walk": "^1.1.0",
|
"@root/walk": "^1.1.0",
|
||||||
"@types/jest": "^25.1.4",
|
"@types/jest": "^27.4.1",
|
||||||
"@types/mkdirp": "^1.0.0",
|
"@types/mkdirp": "^1.0.0",
|
||||||
"@types/node": "^13.9.8",
|
"@types/node": "^13.9.8",
|
||||||
"@types/string-similarity": "^4.0.0",
|
"@types/string-similarity": "^4.0.0",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import {
|
|||||||
ServiceBroker,
|
ServiceBroker,
|
||||||
ServiceSchema
|
ServiceSchema
|
||||||
} from "moleculer";
|
} from "moleculer";
|
||||||
import SocketIOService from "moleculer-io";
|
const SocketIOService = require("moleculer-io");
|
||||||
const redisAdapter = require("socket.io-redis");
|
const redisAdapter = require("socket.io-redis");
|
||||||
const redisURL = new URL(process.env.REDIS_URI);
|
const redisURL = new URL(process.env.REDIS_URI);
|
||||||
console.log(redisURL.hostname);
|
console.log(redisURL.hostname);
|
||||||
|
|||||||
Reference in New Issue
Block a user