added @next tlog for Socket plugin & logs script

pull/29/head
tycrek 3 years ago
parent 205db33a94
commit 0ddf4d0d79
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

41
package-lock.json generated

@ -10,7 +10,7 @@
"license": "ISC",
"dependencies": {
"@tycrek/ass-storage-engine": "0.2.6",
"@tycrek/log": "^0.4.1",
"@tycrek/log": "^0.4.2-1",
"any-shell-escape": "^0.1.1",
"aws-sdk": "^2.930.0",
"check-node-version": "^4.1.0",
@ -592,11 +592,12 @@
}
},
"node_modules/@tycrek/log": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/@tycrek/log/-/log-0.4.1.tgz",
"integrity": "sha512-/M63gjQ4MNoua9tn02bAv8GZTYIMa+4x9IAjVo+arSbThAFifDUWcIwI9JQQhXdUtIu73cHl/TA1MzamkeVUDQ==",
"version": "0.4.2-1",
"resolved": "https://registry.npmjs.org/@tycrek/log/-/log-0.4.2-1.tgz",
"integrity": "sha512-QBgq03+L8jQL3mwpC7H1dz86oXPhS5Bij1zNaJ2ui/kZco6xcyuw4vXjvRwdwhW3LB9XLeUIV1SD+PFCs2MJCA==",
"dependencies": {
"chalk": "^4.1.1",
"deepmerge": "^4.2.2",
"luxon": "^1.27.0"
},
"engines": {
@ -1259,6 +1260,14 @@
"resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-0.2.2.tgz",
"integrity": "sha1-hLdFiW80xoTpjyzg5Cq69Du6AX0="
},
"node_modules/deepmerge": {
"version": "4.2.2",
"resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz",
"integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==",
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/delayed-stream": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
@ -3337,9 +3346,9 @@
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"node_modules/ws": {
"version": "7.5.2",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.2.tgz",
"integrity": "sha512-lkF7AWRicoB9mAgjeKbGqVUekLnSNO4VjKVnuPHpQeOxZOErX6BPXwJk70nFslRCEEA8EVW7ZjKwXaP9N+1sKQ==",
"version": "7.5.3",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz",
"integrity": "sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg==",
"engines": {
"node": ">=8.3.0"
},
@ -3838,11 +3847,12 @@
}
},
"@tycrek/log": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/@tycrek/log/-/log-0.4.1.tgz",
"integrity": "sha512-/M63gjQ4MNoua9tn02bAv8GZTYIMa+4x9IAjVo+arSbThAFifDUWcIwI9JQQhXdUtIu73cHl/TA1MzamkeVUDQ==",
"version": "0.4.2-1",
"resolved": "https://registry.npmjs.org/@tycrek/log/-/log-0.4.2-1.tgz",
"integrity": "sha512-QBgq03+L8jQL3mwpC7H1dz86oXPhS5Bij1zNaJ2ui/kZco6xcyuw4vXjvRwdwhW3LB9XLeUIV1SD+PFCs2MJCA==",
"requires": {
"chalk": "^4.1.1",
"deepmerge": "^4.2.2",
"luxon": "^1.27.0"
}
},
@ -4373,6 +4383,11 @@
"resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-0.2.2.tgz",
"integrity": "sha1-hLdFiW80xoTpjyzg5Cq69Du6AX0="
},
"deepmerge": {
"version": "4.2.2",
"resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz",
"integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg=="
},
"delayed-stream": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
@ -6013,9 +6028,9 @@
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"ws": {
"version": "7.5.2",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.2.tgz",
"integrity": "sha512-lkF7AWRicoB9mAgjeKbGqVUekLnSNO4VjKVnuPHpQeOxZOErX6BPXwJk70nFslRCEEA8EVW7ZjKwXaP9N+1sKQ==",
"version": "7.5.3",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz",
"integrity": "sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg==",
"requires": {}
},
"xhr": {

@ -18,7 +18,8 @@
"engine-check": "node checkEngine.js",
"prestart": "npm run engine-check",
"presetup": "npm run engine-check",
"test": "npm run engine-check"
"test": "npm run engine-check",
"logs": "node ./node_modules/@tycrek/log/socketClient.js"
},
"repository": "github:tycrek/ass",
"keywords": [
@ -35,7 +36,7 @@
},
"dependencies": {
"@tycrek/ass-storage-engine": "0.2.6",
"@tycrek/log": "^0.4.1",
"@tycrek/log": "^0.4.2-1",
"any-shell-escape": "^0.1.1",
"aws-sdk": "^2.930.0",
"check-node-version": "^4.1.0",

@ -87,7 +87,8 @@ const logger = new TLog({
// Enable the Express logger
logger
//.enable.process({ uncaughtException: false }).debug('Plugin enabled', 'Process')
.enable.express().debug('Plugin enabled', 'Express');
.enable.express().debug('Plugin enabled', 'Express')
.enable.socket().debug('Plugin enabled', 'Socket');
const idModes = {
zws: 'zws', // Zero-width spaces (see: https://zws.im/)

Loading…
Cancel
Save