🔧 Refactoring

This commit is contained in:
2022-04-17 22:43:13 -07:00
parent 6d06326f16
commit 61b5c1cc40
3 changed files with 3149 additions and 6870 deletions

10009
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -27,11 +27,11 @@
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-prefer-arrow": "^1.2.2",
"install": "^0.13.0",
"jest": "^27.2.5",
"jest-cli": "^27.2.5",
"jest": "^27.5.1",
"jest-cli": "^27.5.1",
"moleculer-repl": "^0.7.0",
"npm": "^8.4.1",
"ts-jest": "^25.3.0",
"ts-jest": "^27.1.4",
"ts-node": "^8.8.1",
"typescript": "^3.9.10"
},
@@ -39,7 +39,7 @@
"@elastic/elasticsearch": "^7.16.0",
"@jorgeferrero/stream-to-buffer": "^2.0.6",
"@root/walk": "^1.1.0",
"@types/jest": "^25.1.4",
"@types/jest": "^27.4.1",
"@types/mkdirp": "^1.0.0",
"@types/node": "^13.9.8",
"@types/string-similarity": "^4.0.0",

View File

@@ -4,7 +4,7 @@ import {
ServiceBroker,
ServiceSchema
} from "moleculer";
import SocketIOService from "moleculer-io";
const SocketIOService = require("moleculer-io");
const redisAdapter = require("socket.io-redis");
const redisURL = new URL(process.env.REDIS_URI);
console.log(redisURL.hostname);