ng2-logger 16.5.16 → 16.5.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/shared/shared_folder_info.txt +1 -1
- package/client/package.json +37 -34
- package/index.d.ts +1 -1
- package/lib/backend-logging.d.ts +1 -1
- package/lib/display.d.ts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/level.d.ts +1 -1
- package/lib/log.d.ts +1 -1
- package/lib/logger.d.ts +1 -1
- package/package.json +7 -4
- package/package.json_tnp.json5 +4 -1
- package/tmp-environment.json +41 -45
- package/index.js +0 -5
- package/index.js.map +0 -1
- package/lib/backend-logging.js +0 -115
- package/lib/backend-logging.js.map +0 -1
- package/lib/display.js +0 -104
- package/lib/display.js.map +0 -1
- package/lib/index.js +0 -8
- package/lib/index.js.map +0 -1
- package/lib/level.js +0 -35
- package/lib/level.js.map +0 -1
- package/lib/log.js +0 -196
- package/lib/log.js.map +0 -1
- package/lib/logger.js +0 -340
- package/lib/logger.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
THIS FILE IS GENERATED. THIS FILE IS GENERATED. THIS FILE IS GENERATED.
|
|
2
2
|
|
|
3
|
-
Assets from this folder are being shipped with this npm package (ng2-logger@16.5.
|
|
3
|
+
Assets from this folder are being shipped with this npm package (ng2-logger@16.5.17)
|
|
4
4
|
created from this project.
|
|
5
5
|
|
|
6
6
|
THIS FILE IS GENERATED.THIS FILE IS GENERATED. THIS FILE IS GENERATED.
|
package/client/package.json
CHANGED
|
@@ -26,7 +26,10 @@
|
|
|
26
26
|
"nodts": false,
|
|
27
27
|
"obscure": false,
|
|
28
28
|
"ugly": false,
|
|
29
|
-
"includeNodeModules": false
|
|
29
|
+
"includeNodeModules": false,
|
|
30
|
+
"cliBuildNoDts": false,
|
|
31
|
+
"cliBuildObscure": false,
|
|
32
|
+
"cliBuildIncludeNodeModules": false
|
|
30
33
|
},
|
|
31
34
|
"smartContainerTarget": "",
|
|
32
35
|
"type": "isomorphic-lib",
|
|
@@ -51,7 +54,7 @@
|
|
|
51
54
|
]
|
|
52
55
|
},
|
|
53
56
|
"name": "ng2-logger",
|
|
54
|
-
"version": "16.5.
|
|
57
|
+
"version": "16.5.17",
|
|
55
58
|
"description": "isomorphic logger for browser/server in typescript",
|
|
56
59
|
"repository": {
|
|
57
60
|
"type": "git",
|
|
@@ -81,11 +84,11 @@
|
|
|
81
84
|
"json-stringify-safe": "5.0.1",
|
|
82
85
|
"json5": "2.2.1",
|
|
83
86
|
"randomcolor": "0.5.3",
|
|
84
|
-
"tnp-config": "~16.5.
|
|
87
|
+
"tnp-config": "~16.5.24"
|
|
85
88
|
},
|
|
86
89
|
"license": "MIT",
|
|
87
90
|
"private": false,
|
|
88
|
-
"lastBuildTagHash": "
|
|
91
|
+
"lastBuildTagHash": "dcf9d4edef188eccc00e23ebc488a6f81dfd2a87",
|
|
89
92
|
"peerDependencies": {},
|
|
90
93
|
"devDependencies": {
|
|
91
94
|
"@angular-devkit/build-angular": "~16.0.5",
|
|
@@ -168,9 +171,9 @@
|
|
|
168
171
|
"angular-material-css-vars": "5.0.2",
|
|
169
172
|
"angular-resize-event": "3.2.0",
|
|
170
173
|
"animate.css": "4.1.1 ",
|
|
171
|
-
"any-project-cli": "~16.5.
|
|
174
|
+
"any-project-cli": "~16.5.15",
|
|
172
175
|
"axios": "1.3.5",
|
|
173
|
-
"background-worker-process": "~16.5.
|
|
176
|
+
"background-worker-process": "~16.5.15",
|
|
174
177
|
"base32": "0.0.7",
|
|
175
178
|
"bcryptjs": "2.4.3",
|
|
176
179
|
"better-sqlite3": "7.6.2",
|
|
@@ -216,13 +219,13 @@
|
|
|
216
219
|
"file-saver": "2.0.5",
|
|
217
220
|
"file-type": "18.5.0",
|
|
218
221
|
"firedev": "^16",
|
|
219
|
-
"firedev-crud": "~16.5.
|
|
220
|
-
"firedev-crud-deamon": "~16.5.
|
|
221
|
-
"firedev-ports": "~16.5.
|
|
222
|
-
"firedev-storage": "~16.5.
|
|
223
|
-
"firedev-type-sql": "~16.5.
|
|
224
|
-
"firedev-typeorm": "~16.5.
|
|
225
|
-
"firedev-ui": "~16.5.
|
|
222
|
+
"firedev-crud": "~16.5.15",
|
|
223
|
+
"firedev-crud-deamon": "~16.5.14",
|
|
224
|
+
"firedev-ports": "~16.5.15",
|
|
225
|
+
"firedev-storage": "~16.5.13",
|
|
226
|
+
"firedev-type-sql": "~16.5.13",
|
|
227
|
+
"firedev-typeorm": "~16.5.15",
|
|
228
|
+
"firedev-ui": "~16.5.14",
|
|
226
229
|
"fkill": "6.1.0",
|
|
227
230
|
"font-awesome": "4.7.0",
|
|
228
231
|
"form-data": "4.0.0",
|
|
@@ -233,17 +236,17 @@
|
|
|
233
236
|
"helmet": "7.0.0",
|
|
234
237
|
"hostile": "1.3.3",
|
|
235
238
|
"howler": "2.2.3",
|
|
236
|
-
"http-proxy": "1.
|
|
239
|
+
"http-proxy": "1.18.1",
|
|
237
240
|
"http-proxy-middleware": "0.19.1",
|
|
238
241
|
"http-server": "0.11.1",
|
|
239
242
|
"image-focus": "1.2.1",
|
|
240
243
|
"immer": "10.0.2",
|
|
241
244
|
"immutable": "4.3.0",
|
|
242
|
-
"incremental-compiler": "~16.5.
|
|
245
|
+
"incremental-compiler": "~16.5.24",
|
|
243
246
|
"inquirer": "7.3.3",
|
|
244
247
|
"inquirer-autocomplete-prompt": "1.3.0",
|
|
245
248
|
"is-elevated": "3.0.0",
|
|
246
|
-
"isomorphic-region-loader": "~16.5.
|
|
249
|
+
"isomorphic-region-loader": "~16.5.14",
|
|
247
250
|
"istanbul-instrumenter-loader": "2.0.0",
|
|
248
251
|
"jest": "29.5.0",
|
|
249
252
|
"jest-date-mock": "1.0.8",
|
|
@@ -253,8 +256,8 @@
|
|
|
253
256
|
"jimp": "0.22.8",
|
|
254
257
|
"joi": "17.9.2",
|
|
255
258
|
"jscodeshift": "0.6.3",
|
|
256
|
-
"json10": "~16.5.
|
|
257
|
-
"json10-writer": "~16.5.
|
|
259
|
+
"json10": "~16.5.13",
|
|
260
|
+
"json10-writer": "~16.5.14",
|
|
258
261
|
"json5-writer": "0.2.0",
|
|
259
262
|
"jszip": "3.10.1",
|
|
260
263
|
"karma-cli": "1.0.1",
|
|
@@ -262,23 +265,23 @@
|
|
|
262
265
|
"localforage": "1.10.0",
|
|
263
266
|
"lockfile": "1.0.4",
|
|
264
267
|
"lodash": "4.17.20",
|
|
265
|
-
"lodash-walk-object": "~16.5.
|
|
268
|
+
"lodash-walk-object": "~16.5.13",
|
|
266
269
|
"lowdb": "1.0.0",
|
|
267
|
-
"magic-renamer": "~16.5.
|
|
270
|
+
"magic-renamer": "~16.5.13",
|
|
268
271
|
"material-design-icons": "3.0.1",
|
|
269
272
|
"method-override": "2.3.10",
|
|
270
273
|
"minimist": "1.2.0",
|
|
271
274
|
"mkdirp": "0.5.1",
|
|
272
275
|
"mocha": "10.2.0",
|
|
273
276
|
"moment": "2.29.3",
|
|
274
|
-
"morphi": "~16.5.
|
|
277
|
+
"morphi": "~16.5.13",
|
|
275
278
|
"ng-for-track-by-property": "16.0.1",
|
|
276
279
|
"ng-in-viewport": "15.0.2",
|
|
277
280
|
"ng-lock": "16.0.1",
|
|
278
281
|
"ng-packagr": "16.0.1",
|
|
279
|
-
"ng-talkback": "~16.5.
|
|
280
|
-
"ng2-logger": "~16.5.
|
|
281
|
-
"ng2-rest": "~16.5.
|
|
282
|
+
"ng-talkback": "~16.5.14",
|
|
283
|
+
"ng2-logger": "~16.5.16",
|
|
284
|
+
"ng2-rest": "~16.5.13",
|
|
282
285
|
"ngx-ace-wrapper": "14.0.0",
|
|
283
286
|
"ngx-editor": "15.3.0",
|
|
284
287
|
"ngx-highlightjs": "9.0.0",
|
|
@@ -291,7 +294,7 @@
|
|
|
291
294
|
"ngx-scrolltop": "6.0.0",
|
|
292
295
|
"ngx-store": "3.1.1",
|
|
293
296
|
"ngx-typed-js": "2.1.1",
|
|
294
|
-
"node-cli-tester": "~16.5.
|
|
297
|
+
"node-cli-tester": "~16.5.14",
|
|
295
298
|
"node-localstorage": "2.1.6",
|
|
296
299
|
"node-notifier": "6.0.0",
|
|
297
300
|
"node-polyfill-webpack-plugin": "2.0.1",
|
|
@@ -317,7 +320,7 @@
|
|
|
317
320
|
"ps-node": "0.1.6",
|
|
318
321
|
"q": "1.5.1",
|
|
319
322
|
"rallax.js": "2.0.4",
|
|
320
|
-
"record-replay-req-res-scenario": "~16.5.
|
|
323
|
+
"record-replay-req-res-scenario": "~16.5.14",
|
|
321
324
|
"reflect-metadata": "0.1.10",
|
|
322
325
|
"rimraf": "2.6.2",
|
|
323
326
|
"rxjs": "~7.8.0",
|
|
@@ -328,7 +331,7 @@
|
|
|
328
331
|
"socket.io": "2.4.1",
|
|
329
332
|
"sort-package-json": "1.11.0",
|
|
330
333
|
"sql.js": "1.8.0",
|
|
331
|
-
"static-columns": "~16.5.
|
|
334
|
+
"static-columns": "~16.5.17",
|
|
332
335
|
"string-similarity": "4.0.2",
|
|
333
336
|
"sudo-block": "3.0.0",
|
|
334
337
|
"supertest": "6.3.3",
|
|
@@ -336,11 +339,11 @@
|
|
|
336
339
|
"systeminformation": "3.45.7",
|
|
337
340
|
"task.js": "0.1.5",
|
|
338
341
|
"threads": "1.7.0",
|
|
339
|
-
"tnp-cli": "~16.5.
|
|
340
|
-
"tnp-core": "~16.
|
|
341
|
-
"tnp-db": "~16.5.
|
|
342
|
-
"tnp-helpers": "~16.5.
|
|
343
|
-
"tnp-models": "~16.5.
|
|
342
|
+
"tnp-cli": "~16.5.13",
|
|
343
|
+
"tnp-core": "~16.6.11",
|
|
344
|
+
"tnp-db": "~16.5.13",
|
|
345
|
+
"tnp-helpers": "~16.5.16",
|
|
346
|
+
"tnp-models": "~16.5.14",
|
|
344
347
|
"ts-debug": "1.3.0",
|
|
345
348
|
"ts-loader": "2.3.1",
|
|
346
349
|
"ts-node": "10.9.1",
|
|
@@ -349,13 +352,13 @@
|
|
|
349
352
|
"turndown": "7.1.2",
|
|
350
353
|
"typeorm": "~0.3.10",
|
|
351
354
|
"typescript": "~5.0.2",
|
|
352
|
-
"typescript-class-helpers": "~16.5.
|
|
355
|
+
"typescript-class-helpers": "~16.5.15",
|
|
353
356
|
"typescript-formatter": "~7.2.2",
|
|
354
357
|
"underscore": "1.9.1",
|
|
355
358
|
"uuid": "8.3.2",
|
|
356
359
|
"validator": "9.2.0",
|
|
357
360
|
"video.js": "8.3.0",
|
|
358
|
-
"vpn-split": "~16.5.
|
|
361
|
+
"vpn-split": "~16.5.15",
|
|
359
362
|
"watch": "1.0.2",
|
|
360
363
|
"yup": "1.1.1",
|
|
361
364
|
"zone.js": "~0.13.0"
|
package/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './lib';
|
|
1
|
+
export * from './lib';
|
package/lib/backend-logging.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Level } from './level';
|
|
2
2
|
export declare function consoleLog(data: string, level: Level): void;
|
|
3
3
|
export declare function displayParams(params: any[], level: Level): void;
|
|
4
|
-
export declare function istartedInVscode(): any;
|
|
4
|
+
export declare function istartedInVscode(): any;
|
package/lib/display.d.ts
CHANGED
package/lib/index.d.ts
CHANGED
package/lib/level.d.ts
CHANGED
package/lib/log.d.ts
CHANGED
package/lib/logger.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -26,7 +26,10 @@
|
|
|
26
26
|
"nodts": false,
|
|
27
27
|
"obscure": false,
|
|
28
28
|
"ugly": false,
|
|
29
|
-
"includeNodeModules": false
|
|
29
|
+
"includeNodeModules": false,
|
|
30
|
+
"cliBuildNoDts": false,
|
|
31
|
+
"cliBuildObscure": false,
|
|
32
|
+
"cliBuildIncludeNodeModules": false
|
|
30
33
|
},
|
|
31
34
|
"smartContainerTarget": "",
|
|
32
35
|
"type": "isomorphic-lib",
|
|
@@ -51,7 +54,7 @@
|
|
|
51
54
|
]
|
|
52
55
|
},
|
|
53
56
|
"name": "ng2-logger",
|
|
54
|
-
"version": "16.5.
|
|
57
|
+
"version": "16.5.17",
|
|
55
58
|
"description": "isomorphic logger for browser/server in typescript",
|
|
56
59
|
"repository": {
|
|
57
60
|
"type": "git",
|
|
@@ -81,11 +84,11 @@
|
|
|
81
84
|
"json-stringify-safe": "5.0.1",
|
|
82
85
|
"json5": "2.2.1",
|
|
83
86
|
"randomcolor": "0.5.3",
|
|
84
|
-
"tnp-config": "~16.5.
|
|
87
|
+
"tnp-config": "~16.5.24"
|
|
85
88
|
},
|
|
86
89
|
"license": "MIT",
|
|
87
90
|
"private": false,
|
|
88
|
-
"lastBuildTagHash": "
|
|
91
|
+
"lastBuildTagHash": "dcf9d4edef188eccc00e23ebc488a6f81dfd2a87",
|
|
89
92
|
"peerDependencies": {},
|
|
90
93
|
"devDependencies": {}
|
|
91
94
|
}
|
package/package.json_tnp.json5
CHANGED
|
@@ -27,6 +27,9 @@
|
|
|
27
27
|
obscure: false,
|
|
28
28
|
ugly: false,
|
|
29
29
|
includeNodeModules: false,
|
|
30
|
+
cliBuildNoDts: false,
|
|
31
|
+
cliBuildObscure: false,
|
|
32
|
+
cliBuildIncludeNodeModules: false,
|
|
30
33
|
},
|
|
31
34
|
|
|
32
35
|
smartContainerTarget: '',
|
|
@@ -51,4 +54,4 @@
|
|
|
51
54
|
"log",
|
|
52
55
|
"typescript",
|
|
53
56
|
],
|
|
54
|
-
}
|
|
57
|
+
}
|
package/tmp-environment.json
CHANGED
|
@@ -30,7 +30,10 @@
|
|
|
30
30
|
"nodts": false,
|
|
31
31
|
"obscure": false,
|
|
32
32
|
"ugly": false,
|
|
33
|
-
"includeNodeModules": false
|
|
33
|
+
"includeNodeModules": false,
|
|
34
|
+
"cliBuildNoDts": false,
|
|
35
|
+
"cliBuildObscure": false,
|
|
36
|
+
"cliBuildIncludeNodeModules": false
|
|
34
37
|
},
|
|
35
38
|
"smartContainerTarget": "",
|
|
36
39
|
"type": "isomorphic-lib",
|
|
@@ -55,7 +58,7 @@
|
|
|
55
58
|
]
|
|
56
59
|
},
|
|
57
60
|
"name": "ng2-logger",
|
|
58
|
-
"version": "16.5.
|
|
61
|
+
"version": "16.5.17",
|
|
59
62
|
"description": "isomorphic logger for browser/server in typescript",
|
|
60
63
|
"repository": {
|
|
61
64
|
"type": "git",
|
|
@@ -85,11 +88,11 @@
|
|
|
85
88
|
"json-stringify-safe": "5.0.1",
|
|
86
89
|
"json5": "2.2.1",
|
|
87
90
|
"randomcolor": "0.5.3",
|
|
88
|
-
"tnp-config": "~16.5.
|
|
91
|
+
"tnp-config": "~16.5.24"
|
|
89
92
|
},
|
|
90
93
|
"license": "MIT",
|
|
91
94
|
"private": false,
|
|
92
|
-
"lastBuildTagHash": "
|
|
95
|
+
"lastBuildTagHash": "dcf9d4edef188eccc00e23ebc488a6f81dfd2a87",
|
|
93
96
|
"peerDependencies": {},
|
|
94
97
|
"devDependencies": {
|
|
95
98
|
"@angular-devkit/build-angular": "~16.0.5",
|
|
@@ -172,9 +175,9 @@
|
|
|
172
175
|
"angular-material-css-vars": "5.0.2",
|
|
173
176
|
"angular-resize-event": "3.2.0",
|
|
174
177
|
"animate.css": "4.1.1 ",
|
|
175
|
-
"any-project-cli": "~16.5.
|
|
178
|
+
"any-project-cli": "~16.5.15",
|
|
176
179
|
"axios": "1.3.5",
|
|
177
|
-
"background-worker-process": "~16.5.
|
|
180
|
+
"background-worker-process": "~16.5.15",
|
|
178
181
|
"base32": "0.0.7",
|
|
179
182
|
"bcryptjs": "2.4.3",
|
|
180
183
|
"better-sqlite3": "7.6.2",
|
|
@@ -220,13 +223,13 @@
|
|
|
220
223
|
"file-saver": "2.0.5",
|
|
221
224
|
"file-type": "18.5.0",
|
|
222
225
|
"firedev": "^16",
|
|
223
|
-
"firedev-crud": "~16.5.
|
|
224
|
-
"firedev-crud-deamon": "~16.5.
|
|
225
|
-
"firedev-ports": "~16.5.
|
|
226
|
-
"firedev-storage": "~16.5.
|
|
227
|
-
"firedev-type-sql": "~16.5.
|
|
228
|
-
"firedev-typeorm": "~16.5.
|
|
229
|
-
"firedev-ui": "~16.5.
|
|
226
|
+
"firedev-crud": "~16.5.15",
|
|
227
|
+
"firedev-crud-deamon": "~16.5.14",
|
|
228
|
+
"firedev-ports": "~16.5.15",
|
|
229
|
+
"firedev-storage": "~16.5.13",
|
|
230
|
+
"firedev-type-sql": "~16.5.13",
|
|
231
|
+
"firedev-typeorm": "~16.5.15",
|
|
232
|
+
"firedev-ui": "~16.5.14",
|
|
230
233
|
"fkill": "6.1.0",
|
|
231
234
|
"font-awesome": "4.7.0",
|
|
232
235
|
"form-data": "4.0.0",
|
|
@@ -237,17 +240,17 @@
|
|
|
237
240
|
"helmet": "7.0.0",
|
|
238
241
|
"hostile": "1.3.3",
|
|
239
242
|
"howler": "2.2.3",
|
|
240
|
-
"http-proxy": "1.
|
|
243
|
+
"http-proxy": "1.18.1",
|
|
241
244
|
"http-proxy-middleware": "0.19.1",
|
|
242
245
|
"http-server": "0.11.1",
|
|
243
246
|
"image-focus": "1.2.1",
|
|
244
247
|
"immer": "10.0.2",
|
|
245
248
|
"immutable": "4.3.0",
|
|
246
|
-
"incremental-compiler": "~16.5.
|
|
249
|
+
"incremental-compiler": "~16.5.24",
|
|
247
250
|
"inquirer": "7.3.3",
|
|
248
251
|
"inquirer-autocomplete-prompt": "1.3.0",
|
|
249
252
|
"is-elevated": "3.0.0",
|
|
250
|
-
"isomorphic-region-loader": "~16.5.
|
|
253
|
+
"isomorphic-region-loader": "~16.5.14",
|
|
251
254
|
"istanbul-instrumenter-loader": "2.0.0",
|
|
252
255
|
"jest": "29.5.0",
|
|
253
256
|
"jest-date-mock": "1.0.8",
|
|
@@ -257,8 +260,8 @@
|
|
|
257
260
|
"jimp": "0.22.8",
|
|
258
261
|
"joi": "17.9.2",
|
|
259
262
|
"jscodeshift": "0.6.3",
|
|
260
|
-
"json10": "~16.5.
|
|
261
|
-
"json10-writer": "~16.5.
|
|
263
|
+
"json10": "~16.5.13",
|
|
264
|
+
"json10-writer": "~16.5.14",
|
|
262
265
|
"json5-writer": "0.2.0",
|
|
263
266
|
"jszip": "3.10.1",
|
|
264
267
|
"karma-cli": "1.0.1",
|
|
@@ -266,23 +269,23 @@
|
|
|
266
269
|
"localforage": "1.10.0",
|
|
267
270
|
"lockfile": "1.0.4",
|
|
268
271
|
"lodash": "4.17.20",
|
|
269
|
-
"lodash-walk-object": "~16.5.
|
|
272
|
+
"lodash-walk-object": "~16.5.13",
|
|
270
273
|
"lowdb": "1.0.0",
|
|
271
|
-
"magic-renamer": "~16.5.
|
|
274
|
+
"magic-renamer": "~16.5.13",
|
|
272
275
|
"material-design-icons": "3.0.1",
|
|
273
276
|
"method-override": "2.3.10",
|
|
274
277
|
"minimist": "1.2.0",
|
|
275
278
|
"mkdirp": "0.5.1",
|
|
276
279
|
"mocha": "10.2.0",
|
|
277
280
|
"moment": "2.29.3",
|
|
278
|
-
"morphi": "~16.5.
|
|
281
|
+
"morphi": "~16.5.13",
|
|
279
282
|
"ng-for-track-by-property": "16.0.1",
|
|
280
283
|
"ng-in-viewport": "15.0.2",
|
|
281
284
|
"ng-lock": "16.0.1",
|
|
282
285
|
"ng-packagr": "16.0.1",
|
|
283
|
-
"ng-talkback": "~16.5.
|
|
284
|
-
"ng2-logger": "~16.5.
|
|
285
|
-
"ng2-rest": "~16.5.
|
|
286
|
+
"ng-talkback": "~16.5.14",
|
|
287
|
+
"ng2-logger": "~16.5.16",
|
|
288
|
+
"ng2-rest": "~16.5.13",
|
|
286
289
|
"ngx-ace-wrapper": "14.0.0",
|
|
287
290
|
"ngx-editor": "15.3.0",
|
|
288
291
|
"ngx-highlightjs": "9.0.0",
|
|
@@ -295,7 +298,7 @@
|
|
|
295
298
|
"ngx-scrolltop": "6.0.0",
|
|
296
299
|
"ngx-store": "3.1.1",
|
|
297
300
|
"ngx-typed-js": "2.1.1",
|
|
298
|
-
"node-cli-tester": "~16.5.
|
|
301
|
+
"node-cli-tester": "~16.5.14",
|
|
299
302
|
"node-localstorage": "2.1.6",
|
|
300
303
|
"node-notifier": "6.0.0",
|
|
301
304
|
"node-polyfill-webpack-plugin": "2.0.1",
|
|
@@ -321,7 +324,7 @@
|
|
|
321
324
|
"ps-node": "0.1.6",
|
|
322
325
|
"q": "1.5.1",
|
|
323
326
|
"rallax.js": "2.0.4",
|
|
324
|
-
"record-replay-req-res-scenario": "~16.5.
|
|
327
|
+
"record-replay-req-res-scenario": "~16.5.14",
|
|
325
328
|
"reflect-metadata": "0.1.10",
|
|
326
329
|
"rimraf": "2.6.2",
|
|
327
330
|
"rxjs": "~7.8.0",
|
|
@@ -332,7 +335,7 @@
|
|
|
332
335
|
"socket.io": "2.4.1",
|
|
333
336
|
"sort-package-json": "1.11.0",
|
|
334
337
|
"sql.js": "1.8.0",
|
|
335
|
-
"static-columns": "~16.5.
|
|
338
|
+
"static-columns": "~16.5.17",
|
|
336
339
|
"string-similarity": "4.0.2",
|
|
337
340
|
"sudo-block": "3.0.0",
|
|
338
341
|
"supertest": "6.3.3",
|
|
@@ -340,11 +343,11 @@
|
|
|
340
343
|
"systeminformation": "3.45.7",
|
|
341
344
|
"task.js": "0.1.5",
|
|
342
345
|
"threads": "1.7.0",
|
|
343
|
-
"tnp-cli": "~16.5.
|
|
344
|
-
"tnp-core": "~16.
|
|
345
|
-
"tnp-db": "~16.5.
|
|
346
|
-
"tnp-helpers": "~16.5.
|
|
347
|
-
"tnp-models": "~16.5.
|
|
346
|
+
"tnp-cli": "~16.5.13",
|
|
347
|
+
"tnp-core": "~16.6.11",
|
|
348
|
+
"tnp-db": "~16.5.13",
|
|
349
|
+
"tnp-helpers": "~16.5.16",
|
|
350
|
+
"tnp-models": "~16.5.14",
|
|
348
351
|
"ts-debug": "1.3.0",
|
|
349
352
|
"ts-loader": "2.3.1",
|
|
350
353
|
"ts-node": "10.9.1",
|
|
@@ -353,36 +356,29 @@
|
|
|
353
356
|
"turndown": "7.1.2",
|
|
354
357
|
"typeorm": "~0.3.10",
|
|
355
358
|
"typescript": "~5.0.2",
|
|
356
|
-
"typescript-class-helpers": "~16.5.
|
|
359
|
+
"typescript-class-helpers": "~16.5.15",
|
|
357
360
|
"typescript-formatter": "~7.2.2",
|
|
358
361
|
"underscore": "1.9.1",
|
|
359
362
|
"uuid": "8.3.2",
|
|
360
363
|
"validator": "9.2.0",
|
|
361
364
|
"video.js": "8.3.0",
|
|
362
|
-
"vpn-split": "~16.5.
|
|
365
|
+
"vpn-split": "~16.5.15",
|
|
363
366
|
"watch": "1.0.2",
|
|
364
367
|
"yup": "1.1.1",
|
|
365
368
|
"zone.js": "~0.13.0"
|
|
366
369
|
}
|
|
367
370
|
},
|
|
368
371
|
"build": {
|
|
369
|
-
"number":
|
|
370
|
-
"date": "2024-03-
|
|
371
|
-
"hash": "
|
|
372
|
-
"options": {}
|
|
372
|
+
"number": 609,
|
|
373
|
+
"date": "2024-03-25T16:15:51.000Z",
|
|
374
|
+
"hash": "3c8feb5bbfa96693e61a2a50e72b32782c4faa19"
|
|
373
375
|
},
|
|
374
376
|
"currentProjectName": "ng2-logger",
|
|
375
377
|
"currentProjectGenericName": "ng2-logger",
|
|
376
|
-
"currentProjectTasksConfiguration": "{\"version\":\"2.0.0\",\"tasks\":[{\"label\":\"terminateall\",\"command\":\"echo ${input:terminate}\",\"type\":\"shell\",\"problemMatcher\":[]},{\"label\":\"Ng Serve\",\"type\":\"shell\",\"command\":\"tnp build\",\"isBackground\":true,\"presentation\":{\"reveal\":\"always\"},\"group\":{\"kind\":\"build\",\"isDefault\":true},\"problemMatcher\":{\"owner\":\"typescript\",\"source\":\"ts\",\"applyTo\":\"closedDocuments\",\"fileLocation\":[\"relative\",\"${cwd}\"],\"pattern\":\"$tsc\",\"background\":{\"activeOnStart\":true,\"beginsPattern\":{\"regexp\":\"(.*?)\"},\"endsPattern\":{\"regexp\":\"Compiled |Failed to compile.\"}}}}],\"inputs\":[{\"id\":\"terminate\",\"type\":\"command\",\"command\":\"workbench.action.tasks.terminate\",\"args\":\"terminateAll\"}]}",
|
|
377
378
|
"currentProjectType": "isomorphic-lib",
|
|
378
|
-
"currentFrameworkVersion": "16.5.
|
|
379
|
+
"currentFrameworkVersion": "16.5.23",
|
|
379
380
|
"isStandaloneProject": true,
|
|
380
381
|
"isSmartContainer": false,
|
|
381
|
-
"frameworks": [
|
|
382
|
-
"bootstrap",
|
|
383
|
-
"ionic",
|
|
384
|
-
"material"
|
|
385
|
-
],
|
|
386
382
|
"pathesTsconfig": "\"paths\": {\"ng2-logger\":[\"./src/lib\"],\"ng2-logger/*\":[\"./src/lib/*\"]},",
|
|
387
383
|
"customRootDir": "\"rootDir\": \"./src\",",
|
|
388
384
|
"currentLibProjectSourceFolder": "src"
|
package/index.js
DELETED
package/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAAA,gDAAsB"}
|
package/lib/backend-logging.js
DELETED
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.istartedInVscode = exports.displayParams = exports.consoleLog = void 0;
|
|
4
|
-
//#endregion
|
|
5
|
-
var level_1 = require("./level");
|
|
6
|
-
//#region @backend
|
|
7
|
-
var tnp_core_1 = require("tnp-core");
|
|
8
|
-
var json5 = require("json5");
|
|
9
|
-
var stringify = require("json-stringify-safe");
|
|
10
|
-
var tnp_core_2 = require("tnp-core");
|
|
11
|
-
//#endregion
|
|
12
|
-
function consoleLog(data, level) {
|
|
13
|
-
//#region @backend
|
|
14
|
-
if (level === level_1.Level.INFO)
|
|
15
|
-
tnp_core_2.Helpers.info(data);
|
|
16
|
-
else if (level === level_1.Level.ERROR)
|
|
17
|
-
tnp_core_2.Helpers.error(data);
|
|
18
|
-
else if (level === level_1.Level.WARN)
|
|
19
|
-
tnp_core_2.Helpers.warn(data);
|
|
20
|
-
else if (level === level_1.Level.SUCCESS)
|
|
21
|
-
tnp_core_2.Helpers.success(data);
|
|
22
|
-
else if (level === level_1.Level.TASK_STARTED)
|
|
23
|
-
tnp_core_2.Helpers.taskStarted(data);
|
|
24
|
-
else if (level === level_1.Level.TASK_DONE)
|
|
25
|
-
tnp_core_2.Helpers.taskDone(data);
|
|
26
|
-
else
|
|
27
|
-
tnp_core_2.Helpers.log(data);
|
|
28
|
-
//#endregion
|
|
29
|
-
}
|
|
30
|
-
exports.consoleLog = consoleLog;
|
|
31
|
-
function displayParams(params, level) {
|
|
32
|
-
if (params === void 0) { params = []; }
|
|
33
|
-
//#region @backend
|
|
34
|
-
params.forEach(function (param) {
|
|
35
|
-
if (typeof param === 'object') {
|
|
36
|
-
handleObjectData(param, level);
|
|
37
|
-
}
|
|
38
|
-
else if (isObjectAfterStringify(param)) {
|
|
39
|
-
handleObjectData(json5.parse(param), level);
|
|
40
|
-
}
|
|
41
|
-
else {
|
|
42
|
-
consoleLog(param, level);
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
//#endregion
|
|
46
|
-
}
|
|
47
|
-
exports.displayParams = displayParams;
|
|
48
|
-
function replace(out, match, char, color) {
|
|
49
|
-
//#region @backend
|
|
50
|
-
var m = out.match(match);
|
|
51
|
-
var outer = out;
|
|
52
|
-
if (m)
|
|
53
|
-
m.forEach(function (p) {
|
|
54
|
-
var rep = p
|
|
55
|
-
.slice(1)
|
|
56
|
-
.replace(char, '');
|
|
57
|
-
outer = outer.replace("\"".concat(rep, "\":"), "\"".concat(color.call(null, rep), "\":"));
|
|
58
|
-
});
|
|
59
|
-
return outer;
|
|
60
|
-
//#endregion
|
|
61
|
-
}
|
|
62
|
-
function handleObjectData(param, level) {
|
|
63
|
-
//#region @backend
|
|
64
|
-
if (istartedInVscode()) {
|
|
65
|
-
consoleLog(param, level);
|
|
66
|
-
return;
|
|
67
|
-
}
|
|
68
|
-
var out = stringify(param, null, 4);
|
|
69
|
-
out = replace(out, /\".*"\:\ \"/g, /\"\: "/, tnp_core_1.chalk.green);
|
|
70
|
-
out = replace(out, /\".*"\:\ \{/g, /\"\: \{/, tnp_core_1.chalk.yellow);
|
|
71
|
-
out = replace(out, /\".*"\:\ \[/g, /\"\: \[/, tnp_core_1.chalk.red);
|
|
72
|
-
out = replace(out, /\".*"\:\ true/g, /\"\: true/, tnp_core_1.chalk.blue);
|
|
73
|
-
out = replace(out, /\".*"\:\ false/g, /\"\: false/, tnp_core_1.chalk.blue);
|
|
74
|
-
out = replace(out, /\".*"\:\ (\-|[0-9])/g, /\"\: (\-|[0-9])/, tnp_core_1.chalk.magenta);
|
|
75
|
-
out = out.replace(/\"/g, tnp_core_1.chalk.dim('"'))
|
|
76
|
-
.replace(/\{/g, tnp_core_1.chalk.dim('{'))
|
|
77
|
-
.replace(/\}/g, tnp_core_1.chalk.dim('}'))
|
|
78
|
-
.replace(/\}/g, tnp_core_1.chalk.dim('}'));
|
|
79
|
-
if (process.stdout.columns && process.stdout.columns > 0) {
|
|
80
|
-
out = out.split('\n').map(function (line) {
|
|
81
|
-
return (line.length < process.stdout.columns ?
|
|
82
|
-
line :
|
|
83
|
-
line.slice(0, process.stdout.columns - 6) + tnp_core_1.chalk.dim('...'));
|
|
84
|
-
}).join('\n');
|
|
85
|
-
}
|
|
86
|
-
consoleLog(out, level);
|
|
87
|
-
//#endregion
|
|
88
|
-
}
|
|
89
|
-
function istartedInVscode() {
|
|
90
|
-
//#region @backend
|
|
91
|
-
var args = process.execArgv;
|
|
92
|
-
if (args) {
|
|
93
|
-
return args.some(function (arg) {
|
|
94
|
-
return /^--debug=?/.test(arg) ||
|
|
95
|
-
/^--debug-brk=?/.test(arg) ||
|
|
96
|
-
/^--inspect=?/.test(arg) ||
|
|
97
|
-
/^--inspect-brk=?/.test(arg);
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
return false;
|
|
101
|
-
//#endregion
|
|
102
|
-
}
|
|
103
|
-
exports.istartedInVscode = istartedInVscode;
|
|
104
|
-
function isObjectAfterStringify(s) {
|
|
105
|
-
//#region @backend
|
|
106
|
-
try {
|
|
107
|
-
json5.parse(s);
|
|
108
|
-
return true;
|
|
109
|
-
}
|
|
110
|
-
catch (error) {
|
|
111
|
-
return false;
|
|
112
|
-
}
|
|
113
|
-
//#endregion
|
|
114
|
-
}
|
|
115
|
-
//# sourceMappingURL=backend-logging.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"backend-logging.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAEA,YAAY;AAEZ,iCAAgC;AAEhC,kBAAkB;AAClB,qCAAiC;AACjC,6BAA+B;AAC/B,+CAAiD;AACjD,qCAAmC;AACnC,YAAY;AAEZ,SAAgB,UAAU,CAAC,IAAY,EAAE,KAAY;IACnD,kBAAkB;IAClB,IAAI,KAAK,KAAK,aAAK,CAAC,IAAI;QAAE,kBAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SACxC,IAAI,KAAK,KAAK,aAAK,CAAC,KAAK;QAAE,kBAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;SAC/C,IAAI,KAAK,KAAK,aAAK,CAAC,IAAI;QAAE,kBAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SAC7C,IAAI,KAAK,KAAK,aAAK,CAAC,OAAO;QAAE,kBAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;SACnD,IAAI,KAAK,KAAK,aAAK,CAAC,YAAY;QAAE,kBAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;SAC5D,IAAI,KAAK,KAAK,aAAK,CAAC,SAAS;QAAE,kBAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;;QACtD,kBAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;IACtB,YAAY;AACd,CAAC;AAVD,gCAUC;AAGD,SAAgB,aAAa,CAAC,MAAkB,EAAE,KAAY;IAAhC,uBAAA,EAAA,WAAkB;IAC9C,kBAAkB;IAClB,MAAM,CAAC,OAAO,CAAC,UAAA,KAAK;QAClB,IAA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