fix(core): update

This commit is contained in:
Philipp Kunz 2021-07-06 19:26:35 +02:00
parent 60ae0fed4e
commit b3d8cf68f1
4 changed files with 18506 additions and 1794 deletions

View File

@ -36,6 +36,7 @@ auditProductionDependencies:
- npmci command npm audit --audit-level=high --only=prod --production
tags:
- docker
allow_failure: true
auditDevDependencies:
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci

20279
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -21,18 +21,18 @@
"format": "(gitzone format)"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.24",
"@gitzone/tsbundle": "^1.0.72",
"@gitzone/tsrun": "^1.2.12",
"@gitzone/tstest": "^1.0.43",
"@pushrocks/tapbundle": "^3.2.9",
"@types/node": "^14.0.27",
"@gitzone/tsbuild": "^2.1.25",
"@gitzone/tsbundle": "^1.0.80",
"@gitzone/tsrun": "^1.2.17",
"@gitzone/tstest": "^1.0.54",
"@pushrocks/tapbundle": "^3.2.14",
"@types/node": "^16.0.0",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0"
},
"dependencies": {
"@pushrocks/isounique": "^1.0.4",
"@pushrocks/smartlog-interfaces": "^2.0.20"
"@pushrocks/smartlog-interfaces": "^2.0.22"
},
"files": [
"ts/**/*",
@ -49,4 +49,4 @@
"browserslist": [
"last 1 chrome versions"
]
}
}

View File

@ -38,7 +38,7 @@ export class Smartlog implements plugins.smartlogInterfaces.ILogDestination {
if (globalThis.process && optionsArg && optionsArg.captureAll) {
const process = globalThis.process;
const write = process.stdout.write;
process.stdout.write = (...args) => {
process.stdout.write = (...args: any) => {
const logString: string = args[0];
if (!logString.startsWith('LOG') && typeof logString === 'string') {
switch (true) {
@ -55,7 +55,7 @@ export class Smartlog implements plugins.smartlogInterfaces.ILogDestination {
return true;
};
process.stderr.write = (...args) => {
process.stderr.write = (...args: any) => {
if (!args[0].startsWith('LOG')) {
this.log('error', args[0]);
return;