@odg/log 1.2.0 → 1.4.0

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/README.md CHANGED
@@ -144,7 +144,9 @@ export class ConsoleLogger extends AbstractLogger {
144
144
  * @returns {Promise<void>}
145
145
  */
146
146
  public async log(level: LogLevel, message: unknown, context?: TContext): Promise<void> {
147
- return console.log(`Level: ${level} >> ${String(message)}`, context);
147
+ const log = await this.parser(level, message, context); // Use this for plugins load
148
+
149
+ return console.log(`Level: ${log.level} >> ${String(log.message)}`, log.context);
148
150
  }
149
151
 
150
152
  }
@@ -1,3 +1,8 @@
1
+ /**
2
+ * Describes log levels.
3
+ *
4
+ * @author Dragons Gamers <https://github.com/ODGodinho>
5
+ */
1
6
  declare enum LogLevel {
2
7
  EMERGENCY = "emergency",
3
8
  ALERT = "alert",
@@ -1,6 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LogLevel = void 0;
4
+ /**
5
+ * Describes log levels.
6
+ *
7
+ * @author Dragons Gamers <https://github.com/ODGodinho>
8
+ */
4
9
  var LogLevel;
5
10
  (function (LogLevel) {
6
11
  LogLevel["EMERGENCY"] = "emergency";
@@ -11,6 +16,5 @@ var LogLevel;
11
16
  LogLevel["NOTICE"] = "notice";
12
17
  LogLevel["INFO"] = "info";
13
18
  LogLevel["DEBUG"] = "debug";
14
- })(LogLevel || (LogLevel = {}));
15
- exports.LogLevel = LogLevel;
19
+ })(LogLevel || (exports.LogLevel = LogLevel = {}));
16
20
  //# sourceMappingURL=LogLevel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LogLevel.js","sourceRoot":"","sources":["../../src/Interfaces/LogLevel.ts"],"names":[],"mappings":";;;AAKA,IAAK,QASJ;AATD,WAAK,QAAQ;IACT,mCAAuB,CAAA;IACvB,2BAAe,CAAA;IACf,iCAAqB,CAAA;IACrB,2BAAe,CAAA;IACf,+BAAmB,CAAA;IACnB,6BAAiB,CAAA;IACjB,yBAAa,CAAA;IACb,2BAAe,CAAA;AACnB,CAAC,EATI,QAAQ,KAAR,QAAQ,QASZ;AAIQ,4BAAQ"}
1
+ {"version":3,"file":"LogLevel.js","sourceRoot":"","sources":["../../src/Interfaces/LogLevel.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACH,IAAK,QASJ;AATD,WAAK,QAAQ;IACT,mCAAuB,CAAA;IACvB,2BAAe,CAAA;IACf,iCAAqB,CAAA;IACrB,2BAAe,CAAA;IACf,+BAAmB,CAAA;IACnB,6BAAiB,CAAA;IACjB,yBAAa,CAAA;IACb,2BAAe,CAAA;AACnB,CAAC,EATI,QAAQ,wBAAR,QAAQ,QASZ"}
@@ -1,6 +1,20 @@
1
1
  import { type LoggerInterface } from "./LoggerInterface";
2
+ /**
3
+ * Describes a logger-aware instance.
4
+ *
5
+ * @author Dragons Gamers <https://github.com/ODGodinho>
6
+ */
2
7
  interface LoggerAwareInterface {
8
+ /**
9
+ * Logger instance
10
+ */
3
11
  logger?: LoggerInterface;
12
+ /**
13
+ * Sets a logger instance in objet/class
14
+ *
15
+ * @param {LoggerInterface} logger
16
+ * @returns {void}
17
+ */
4
18
  setLogger(logger: LoggerInterface): void;
5
19
  }
6
20
  export type { LoggerAwareInterface };
@@ -1,14 +1,102 @@
1
1
  import { type LogLevel } from "./LogLevel";
2
- type ContextTypo = Record<string, string> | undefined;
2
+ /**
3
+ * Content type in context
4
+ *
5
+ * @author Dragons Gamers <https://github.com/ODGodinho>
6
+ */
7
+ type ContextType = Record<string, unknown> | undefined;
8
+ /**
9
+ * Describes a logger instance.
10
+ *
11
+ * The message MUST be a string or JSON
12
+ *
13
+ * The message MAY contain placeholders in the form: {foo} where foo
14
+ * will be replaced by the context data in key "foo".
15
+ */
3
16
  interface LoggerInterface {
4
- emergency(message: unknown, context?: ContextTypo): Promise<void>;
5
- alert(message: unknown, context?: ContextTypo): Promise<void>;
6
- critical(message: unknown, context?: ContextTypo): Promise<void>;
7
- error(message: unknown, context?: ContextTypo): Promise<void>;
8
- warning(message: unknown, context?: ContextTypo): Promise<void>;
9
- notice(message: unknown, context?: ContextTypo): Promise<void>;
10
- info(message: unknown, context?: ContextTypo): Promise<void>;
11
- debug(message: unknown, context?: ContextTypo): Promise<void>;
12
- log(level: LogLevel, message: unknown, context?: ContextTypo): Promise<void>;
17
+ /**
18
+ * System is unusable.
19
+ *
20
+ * @param {unknown} message Message Log
21
+ * @param {ContextType | undefined} context Context Message replace
22
+ * @returns {Promise<void>}
23
+ */
24
+ emergency(message: unknown, context?: ContextType): Promise<void>;
25
+ /**
26
+ * Action must be taken immediately.
27
+ *
28
+ * Example: Entire website down, database unavailable, etc. This should
29
+ * trigger the SMS alerts and wake you up.
30
+ *
31
+ * @param {unknown} message Message Log
32
+ * @param {ContextType | undefined} context Context Message replace
33
+ * @returns {Promise<void>}
34
+ */
35
+ alert(message: unknown, context?: ContextType): Promise<void>;
36
+ /**
37
+ * Critical conditions.
38
+ *
39
+ * Example: Application component unavailable, unexpected exception.
40
+ *
41
+ * @param {unknown} message Message Log
42
+ * @param {ContextType | undefined} context Context Message replace
43
+ * @returns {Promise<void>}
44
+ */
45
+ critical(message: unknown, context?: ContextType): Promise<void>;
46
+ /**
47
+ * Runtime errors that do not require immediate action but should typically
48
+ * be logged and monitored.
49
+ *
50
+ * @param {unknown} message Message Log
51
+ * @param {ContextType | undefined} context Context Message replace
52
+ * @returns {Promise<void>}
53
+ */
54
+ error(message: unknown, context?: ContextType): Promise<void>;
55
+ /**
56
+ * Exceptional occurrences that are not errors.
57
+ *
58
+ * Example: Use of deprecated APIs, poor use of an API, undesirable things
59
+ * that are not necessarily wrong.
60
+ *
61
+ * @param {unknown} message Message Log
62
+ * @param {ContextType | undefined} context Context Message replace
63
+ * @returns {Promise<void>}
64
+ */
65
+ warning(message: unknown, context?: ContextType): Promise<void>;
66
+ /**
67
+ * Normal but significant events.
68
+ *
69
+ * @param {unknown} message Message Log
70
+ * @param {ContextType | undefined} context Context Message replace
71
+ * @returns {Promise<void>}
72
+ */
73
+ notice(message: unknown, context?: ContextType): Promise<void>;
74
+ /**
75
+ * Interesting events.
76
+ *
77
+ * Example: User logs in, SQL logs.
78
+ *
79
+ * @param {unknown} message Message Log
80
+ * @param {ContextType | undefined} context Context Message replace
81
+ * @returns {Promise<void>}
82
+ */
83
+ info(message: unknown, context?: ContextType): Promise<void>;
84
+ /**
85
+ * Detailed debug information.
86
+ *
87
+ * @param {unknown} message Message Log
88
+ * @param {ContextType | undefined} context Context Message replace
89
+ * @returns {Promise<void>}
90
+ */
91
+ debug(message: unknown, context?: ContextType): Promise<void>;
92
+ /**
93
+ * Logs with an arbitrary level.
94
+ *
95
+ * @param {LogLevel} level Log level
96
+ * @param {unknown} message Message Log
97
+ * @param {ContextType | undefined} context Context Message replace
98
+ * @returns {Promise<void>}
99
+ */
100
+ log(level: LogLevel, message: unknown, context?: ContextType): Promise<void>;
13
101
  }
14
- export type { LoggerInterface, ContextTypo };
102
+ export type { LoggerInterface, ContextType };
@@ -1,10 +1,26 @@
1
- import { type ContextTypo, type LogLevel } from ".";
1
+ import { type ContextType, type LogLevel } from ".";
2
+ /**
3
+ * Logger Plugin return parser
4
+ *
5
+ * @interface LoggerParserInterface
6
+ */
2
7
  export interface LoggerParserInterface {
3
- readonly originalMessage: unknown;
8
+ readonly original: Omit<LoggerParserInterface, "original">;
4
9
  level: LogLevel;
5
10
  message: unknown;
6
- context?: ContextTypo;
11
+ context?: ContextType;
7
12
  }
13
+ /**
14
+ * Logger Plugin Interface
15
+ *
16
+ * @interface LoggerPluginInterface
17
+ */
8
18
  export interface LoggerPluginInterface {
9
- parser(data: LoggerParserInterface): Promise<LoggerParserInterface>;
19
+ /**
20
+ * Parser Logger on called
21
+ *
22
+ * @param {LoggerParserInterface} data Received LogLevel
23
+ * @returns {Promise<Omit<LoggerParserInterface, "original">>}
24
+ */
25
+ parser(data: LoggerParserInterface): Promise<Omit<LoggerParserInterface, "original">>;
10
26
  }
@@ -1,16 +1,92 @@
1
- import { type LoggerInterface, LogLevel, type ContextTypo } from "../index";
2
- import { type LoggerParserInterface, type LoggerPluginInterface } from "../Interfaces/LoggerPluginInterface";
1
+ import { type LoggerInterface, LogLevel } from "../index";
2
+ /**
3
+ * Simple logger implementation
4
+ *
5
+ * @author Dragons Gamers <https://github.com/ODGodinho>
6
+ */
3
7
  export declare abstract class AbstractLogger implements LoggerInterface {
4
- protected readonly plugins: LoggerPluginInterface[];
8
+ /**
9
+ * System is unusable.
10
+ *
11
+ * @param {unknown} message Message Log
12
+ * @param {Record<string, string> | undefined} context Context Message replace
13
+ * @returns {Promise<void>}
14
+ */
5
15
  emergency(message: unknown, context?: Record<string, string>): Promise<void>;
16
+ /**
17
+ * Action must be taken immediately.
18
+ *
19
+ * Example: Entire website down, database unavailable, etc. This should
20
+ * trigger the SMS alerts and wake you up.
21
+ *
22
+ * @param {unknown} message Message Log
23
+ * @param {Record<string, string> | undefined} context Context Message replace
24
+ * @returns {Promise<void>}
25
+ */
6
26
  alert(message: unknown, context?: Record<string, string>): Promise<void>;
27
+ /**
28
+ * Critical conditions.
29
+ *
30
+ * Example: Application component unavailable, unexpected exception.
31
+ *
32
+ * @param {unknown} message Message Log
33
+ * @param {Record<string, string> | undefined} context Context Message replace
34
+ * @returns {Promise<void>}
35
+ */
7
36
  critical(message: unknown, context?: Record<string, string>): Promise<void>;
37
+ /**
38
+ * Runtime errors that do not require immediate action but should typically
39
+ * be logged and monitored.
40
+ *
41
+ * @param {unknown} message Message Log
42
+ * @param {Record<string, string> | undefined} context Context Message replace
43
+ * @returns {Promise<void>}
44
+ */
8
45
  error(message: unknown, context?: Record<string, string>): Promise<void>;
46
+ /**
47
+ * Exceptional occurrences that are not errors.
48
+ *
49
+ * Example: Use of deprecated APIs, poor use of an API, undesirable things
50
+ * that are not necessarily wrong.
51
+ *
52
+ * @param {unknown} message Message Log
53
+ * @param {Record<string, string> | undefined} context Context Message replace
54
+ * @returns {Promise<void>}
55
+ */
9
56
  warning(message: unknown, context?: Record<string, string>): Promise<void>;
57
+ /**
58
+ * Normal but significant events.
59
+ *
60
+ * @param {unknown} message Message Log
61
+ * @param {Record<string, string> | undefined} context Context Message replace
62
+ * @returns {Promise<void>}
63
+ */
10
64
  notice(message: unknown, context?: Record<string, string>): Promise<void>;
65
+ /**
66
+ * Interesting events.
67
+ *
68
+ * Example: User logs in, SQL logs.
69
+ *
70
+ * @param {unknown} message Message Log
71
+ * @param {Record<string, string> | undefined} context Context Message replace
72
+ * @returns {Promise<void>}
73
+ */
11
74
  info(message: unknown, context?: Record<string, string>): Promise<void>;
75
+ /**
76
+ * Detailed debug information.
77
+ *
78
+ * @param {unknown} message Message Log
79
+ * @param {Record<string, string> | undefined} context Context Message replace
80
+ * @returns {Promise<void>}
81
+ */
12
82
  debug(message: unknown, context?: Record<string, string>): Promise<void>;
13
- use(plugin: LoggerPluginInterface): void;
14
- parser(level: LogLevel, message: unknown, context?: ContextTypo): Promise<LoggerParserInterface>;
83
+ /**
84
+ * Logs with an arbitrary level.
85
+ *
86
+ * @param {LogLevel} level Log level
87
+ * @param {unknown} message Message Log
88
+ * @param {Record<string, string> | undefined} context Context Message replace
89
+ * @returns {Promise<void>}
90
+ */
15
91
  abstract log(level: LogLevel, message: unknown, context?: Record<string, string>): Promise<void>;
16
92
  }
@@ -2,55 +2,103 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AbstractLogger = void 0;
4
4
  const index_1 = require("../index");
5
+ /**
6
+ * Simple logger implementation
7
+ *
8
+ * @author Dragons Gamers <https://github.com/ODGodinho>
9
+ */
5
10
  class AbstractLogger {
6
- constructor() {
7
- this.plugins = [];
8
- }
11
+ /**
12
+ * System is unusable.
13
+ *
14
+ * @param {unknown} message Message Log
15
+ * @param {Record<string, string> | undefined} context Context Message replace
16
+ * @returns {Promise<void>}
17
+ */
9
18
  async emergency(message, context) {
10
19
  return this.log(index_1.LogLevel.EMERGENCY, message, context);
11
20
  }
21
+ /**
22
+ * Action must be taken immediately.
23
+ *
24
+ * Example: Entire website down, database unavailable, etc. This should
25
+ * trigger the SMS alerts and wake you up.
26
+ *
27
+ * @param {unknown} message Message Log
28
+ * @param {Record<string, string> | undefined} context Context Message replace
29
+ * @returns {Promise<void>}
30
+ */
12
31
  async alert(message, context) {
13
32
  return this.log(index_1.LogLevel.ALERT, message, context);
14
33
  }
34
+ /**
35
+ * Critical conditions.
36
+ *
37
+ * Example: Application component unavailable, unexpected exception.
38
+ *
39
+ * @param {unknown} message Message Log
40
+ * @param {Record<string, string> | undefined} context Context Message replace
41
+ * @returns {Promise<void>}
42
+ */
15
43
  async critical(message, context) {
16
44
  return this.log(index_1.LogLevel.CRITICAL, message, context);
17
45
  }
46
+ /**
47
+ * Runtime errors that do not require immediate action but should typically
48
+ * be logged and monitored.
49
+ *
50
+ * @param {unknown} message Message Log
51
+ * @param {Record<string, string> | undefined} context Context Message replace
52
+ * @returns {Promise<void>}
53
+ */
18
54
  async error(message, context) {
19
55
  return this.log(index_1.LogLevel.ERROR, message, context);
20
56
  }
57
+ /**
58
+ * Exceptional occurrences that are not errors.
59
+ *
60
+ * Example: Use of deprecated APIs, poor use of an API, undesirable things
61
+ * that are not necessarily wrong.
62
+ *
63
+ * @param {unknown} message Message Log
64
+ * @param {Record<string, string> | undefined} context Context Message replace
65
+ * @returns {Promise<void>}
66
+ */
21
67
  async warning(message, context) {
22
68
  return this.log(index_1.LogLevel.WARNING, message, context);
23
69
  }
70
+ /**
71
+ * Normal but significant events.
72
+ *
73
+ * @param {unknown} message Message Log
74
+ * @param {Record<string, string> | undefined} context Context Message replace
75
+ * @returns {Promise<void>}
76
+ */
24
77
  async notice(message, context) {
25
78
  return this.log(index_1.LogLevel.NOTICE, message, context);
26
79
  }
80
+ /**
81
+ * Interesting events.
82
+ *
83
+ * Example: User logs in, SQL logs.
84
+ *
85
+ * @param {unknown} message Message Log
86
+ * @param {Record<string, string> | undefined} context Context Message replace
87
+ * @returns {Promise<void>}
88
+ */
27
89
  async info(message, context) {
28
90
  return this.log(index_1.LogLevel.INFO, message, context);
29
91
  }
92
+ /**
93
+ * Detailed debug information.
94
+ *
95
+ * @param {unknown} message Message Log
96
+ * @param {Record<string, string> | undefined} context Context Message replace
97
+ * @returns {Promise<void>}
98
+ */
30
99
  async debug(message, context) {
31
100
  return this.log(index_1.LogLevel.DEBUG, message, context);
32
101
  }
33
- use(plugin) {
34
- this.plugins.push(plugin);
35
- }
36
- async parser(level, message, context) {
37
- let newParser = {
38
- originalMessage: message,
39
- level: level,
40
- message: message,
41
- context: context,
42
- };
43
- for (const plugin of this.plugins) {
44
- const parser = await plugin.parser(newParser);
45
- newParser = {
46
- originalMessage: message,
47
- level: parser.level,
48
- message: parser.message,
49
- context: parser.context,
50
- };
51
- }
52
- return newParser;
53
- }
54
102
  }
55
103
  exports.AbstractLogger = AbstractLogger;
56
104
  //# sourceMappingURL=AbstractLogger.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractLogger.js","sourceRoot":"","sources":["../../src/logs/AbstractLogger.ts"],"names":[],"mappings":";;;AAAA,oCAA4E;AAQ5E,MAAsB,cAAc;IAApC;QASuB,YAAO,GAA4B,EAAE,CAAC;IAoK7D,CAAC;IA1JU,KAAK,CAAC,SAAS,CAAC,OAAgB,EAAE,OAAgC;QACrE,OAAO,IAAI,CAAC,GAAG,CAAC,gBAAQ,CAAC,SAAS,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAaM,KAAK,CAAC,KAAK,CAAC,OAAgB,EAAE,OAAgC;QACjE,OAAO,IAAI,CAAC,GAAG,CAAC,gBAAQ,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;IAYM,KAAK,CAAC,QAAQ,CAAC,OAAgB,EAAE,OAAgC;QACpE,OAAO,IAAI,CAAC,GAAG,CAAC,gBAAQ,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACzD,CAAC;IAWM,KAAK,CAAC,KAAK,CAAC,OAAgB,EAAE,OAAgC;QACjE,OAAO,IAAI,CAAC,GAAG,CAAC,gBAAQ,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;IAaM,KAAK,CAAC,OAAO,CAAC,OAAgB,EAAE,OAAgC;QACnE,OAAO,IAAI,CAAC,GAAG,CAAC,gBAAQ,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;IAUM,KAAK,CAAC,MAAM,CAAC,OAAgB,EAAE,OAAgC;QAClE,OAAO,IAAI,CAAC,GAAG,CAAC,gBAAQ,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAYM,KAAK,CAAC,IAAI,CAAC,OAAgB,EAAE,OAAgC;QAChE,OAAO,IAAI,CAAC,GAAG,CAAC,gBAAQ,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;IAUM,KAAK,CAAC,KAAK,CAAC,OAAgB,EAAE,OAAgC;QACjE,OAAO,IAAI,CAAC,GAAG,CAAC,gBAAQ,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;IAQM,GAAG,CAAC,MAA6B;QACpC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC9B,CAAC;IAWM,KAAK,CAAC,MAAM,CACf,KAAe,EACf,OAAgB,EAChB,OAAqB;QAErB,IAAI,SAAS,GAA0B;YACnC,eAAe,EAAE,OAAO;YACxB,KAAK,EAAE,KAAK;YACZ,OAAO,EAAE,OAAO;YAChB,OAAO,EAAE,OAAO;SACnB,CAAC;QAEF,KAAK,MAAM,MAAM,IAAI,IAAI,CAAC,OAAO,EAAE;YAC/B,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;YAC9C,SAAS,GAAG;gBACR,eAAe,EAAE,OAAO;gBACxB,KAAK,EAAE,MAAM,CAAC,KAAK;gBACnB,OAAO,EAAE,MAAM,CAAC,OAAO;gBACvB,OAAO,EAAE,MAAM,CAAC,OAAO;aAC1B,CAAC;SACL;QAED,OAAO,SAAS,CAAC;IACrB,CAAC;CAaJ;AA7KD,wCA6KC"}
1
+ {"version":3,"file":"AbstractLogger.js","sourceRoot":"","sources":["../../src/logs/AbstractLogger.ts"],"names":[],"mappings":";;;AAAA,oCAA0D;AAE1D;;;;GAIG;AACH,MAAsB,cAAc;IAEhC;;;;;;OAMG;IACI,KAAK,CAAC,SAAS,CAAC,OAAgB,EAAE,OAAgC;QACrE,OAAO,IAAI,CAAC,GAAG,CAAC,gBAAQ,CAAC,SAAS,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED;;;;;;;;;OASG;IACI,KAAK,CAAC,KAAK,CAAC,OAAgB,EAAE,OAAgC;QACjE,OAAO,IAAI,CAAC,GAAG,CAAC,gBAAQ,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;IAED;;;;;;;;OAQG;IACI,KAAK,CAAC,QAAQ,CAAC,OAAgB,EAAE,OAAgC;QACpE,OAAO,IAAI,CAAC,GAAG,CAAC,gBAAQ,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACzD,CAAC;IAED;;;;;;;OAOG;IACI,KAAK,CAAC,KAAK,CAAC,OAAgB,EAAE,OAAgC;QACjE,OAAO,IAAI,CAAC,GAAG,CAAC,gBAAQ,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;IAED;;;;;;;;;OASG;IACI,KAAK,CAAC,OAAO,CAAC,OAAgB,EAAE,OAAgC;QACnE,OAAO,IAAI,CAAC,GAAG,CAAC,gBAAQ,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,MAAM,CAAC,OAAgB,EAAE,OAAgC;QAClE,OAAO,IAAI,CAAC,GAAG,CAAC,gBAAQ,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED;;;;;;;;OAQG;IACI,KAAK,CAAC,IAAI,CAAC,OAAgB,EAAE,OAAgC;QAChE,OAAO,IAAI,CAAC,GAAG,CAAC,gBAAQ,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,KAAK,CAAC,OAAgB,EAAE,OAAgC;QACjE,OAAO,IAAI,CAAC,GAAG,CAAC,gBAAQ,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;CAYJ;AA/GD,wCA+GC"}
@@ -1,7 +1,25 @@
1
1
  import { LogLevel } from "../index";
2
- import { type ContextTypo } from "../Interfaces/LoggerInterface";
2
+ import { type ContextType } from "../Interfaces/LoggerInterface";
3
3
  import { AbstractLogger } from "./AbstractLogger";
4
+ /**
5
+ * This Logger can be used to avoid conditional log calls.
6
+ *
7
+ * Logging should always be optional, and if no logger is provided to your
8
+ * library creating a NullLogger instance to have something to throw logs at
9
+ * is a good way to avoid littering your code with `if ($this->logger) { }`
10
+ * blocks.
11
+ *
12
+ * @author Dragons Gamers <https://github.com/ODGodinho>
13
+ */
4
14
  export declare class ConsoleLogger extends AbstractLogger {
5
- log(level: LogLevel, message: unknown, context?: ContextTypo): Promise<void>;
15
+ /**
16
+ * Logs with an arbitrary level.
17
+ *
18
+ * @param {LogLevel} level Log level
19
+ * @param {unknown} message Message Log
20
+ * @param {ContextType | undefined} _context Context Message replace
21
+ * @returns {Promise<void>}
22
+ */
23
+ log(level: LogLevel, message: unknown, _context?: ContextType): Promise<void>;
6
24
  private getLevel;
7
25
  }
@@ -8,10 +8,27 @@ const node_util_1 = __importDefault(require("node:util"));
8
8
  const chalk_1 = __importDefault(require("chalk"));
9
9
  const index_1 = require("../index");
10
10
  const AbstractLogger_1 = require("./AbstractLogger");
11
+ /**
12
+ * This Logger can be used to avoid conditional log calls.
13
+ *
14
+ * Logging should always be optional, and if no logger is provided to your
15
+ * library creating a NullLogger instance to have something to throw logs at
16
+ * is a good way to avoid littering your code with `if ($this->logger) { }`
17
+ * blocks.
18
+ *
19
+ * @author Dragons Gamers <https://github.com/ODGodinho>
20
+ */
11
21
  class ConsoleLogger extends AbstractLogger_1.AbstractLogger {
12
- async log(level, message, context) {
13
- const log = await this.parser(level, message, context);
14
- console.log(this.getLevel(log.level), node_util_1.default.format(log.message));
22
+ /**
23
+ * Logs with an arbitrary level.
24
+ *
25
+ * @param {LogLevel} level Log level
26
+ * @param {unknown} message Message Log
27
+ * @param {ContextType | undefined} _context Context Message replace
28
+ * @returns {Promise<void>}
29
+ */
30
+ async log(level, message, _context) {
31
+ console.log(this.getLevel(level), node_util_1.default.format(message));
15
32
  }
16
33
  getLevel(level) {
17
34
  const message = ` ${level}: `;
@@ -1 +1 @@
1
- {"version":3,"file":"ConsoleLogger.js","sourceRoot":"","sources":["../../src/logs/ConsoleLogger.ts"],"names":[],"mappings":";;;;;;AAAA,0DAA6B;AAE7B,kDAA0B;AAE1B,oCAAoC;AAGpC,qDAAkD;AAYlD,MAAa,aAAc,SAAQ,+BAAc;IAWtC,KAAK,CAAC,GAAG,CAAC,KAAe,EAAE,OAAgB,EAAE,OAAqB;QACrE,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;QACvD,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,mBAAI,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;IACpE,CAAC;IAEO,QAAQ,CAAC,KAAe;QAC5B,MAAM,OAAO,GAAG,KAAK,KAAK,KAAK,CAAC;QAChC,QAAQ,KAAK,EAAE;YACf,KAAK,gBAAQ,CAAC,SAAS;gBACnB,OAAO,eAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;YAC3C,KAAK,gBAAQ,CAAC,KAAK;gBACf,OAAO,eAAK,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YACtD,KAAK,gBAAQ,CAAC,QAAQ;gBAClB,OAAO,eAAK,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACtD,KAAK,gBAAQ,CAAC,KAAK;gBACf,OAAO,eAAK,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAC3C,KAAK,gBAAQ,CAAC,OAAO;gBACjB,OAAO,eAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YACzC,KAAK,gBAAQ,CAAC,MAAM;gBAChB,OAAO,eAAK,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YACvC,KAAK,gBAAQ,CAAC,IAAI;gBACd,OAAO,eAAK,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YACvC,KAAK,gBAAQ,CAAC,KAAK;gBACf,OAAO,eAAK,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YAC1C;gBACI,OAAO,eAAK,CAAC,MAAM,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;SAC7C;IACL,CAAC;CAEJ;AAxCD,sCAwCC"}
1
+ {"version":3,"file":"ConsoleLogger.js","sourceRoot":"","sources":["../../src/logs/ConsoleLogger.ts"],"names":[],"mappings":";;;;;;AAAA,0DAA6B;AAE7B,kDAA0B;AAE1B,oCAAoC;AAGpC,qDAAkD;AAElD;;;;;;;;;GASG;AACH,MAAa,aAAc,SAAQ,+BAAc;IAE7C;;;;;;;OAOG;IACI,KAAK,CAAC,GAAG,CAAC,KAAe,EAAE,OAAgB,EAAE,QAAsB;QACtE,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,mBAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;IAC5D,CAAC;IAEO,QAAQ,CAAC,KAAe;QAC5B,MAAM,OAAO,GAAG,KAAK,KAAK,KAAK,CAAC;QAChC,QAAQ,KAAK,EAAE;YACX,KAAK,gBAAQ,CAAC,SAAS;gBACnB,OAAO,eAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;YAC3C,KAAK,gBAAQ,CAAC,KAAK;gBACf,OAAO,eAAK,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YACtD,KAAK,gBAAQ,CAAC,QAAQ;gBAClB,OAAO,eAAK,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACtD,KAAK,gBAAQ,CAAC,KAAK;gBACf,OAAO,eAAK,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAC3C,KAAK,gBAAQ,CAAC,OAAO;gBACjB,OAAO,eAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YACzC,KAAK,gBAAQ,CAAC,MAAM;gBAChB,OAAO,eAAK,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YACvC,KAAK,gBAAQ,CAAC,IAAI;gBACd,OAAO,eAAK,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YACvC,KAAK,gBAAQ,CAAC,KAAK;gBACf,OAAO,eAAK,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YAC1C;gBACI,OAAO,eAAK,CAAC,MAAM,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;SACjD;IACL,CAAC;CAEJ;AAtCD,sCAsCC"}
@@ -0,0 +1,42 @@
1
+ import { type LoggerPluginInterface, type LogLevel, type LoggerInterface } from "src/Interfaces";
2
+ import { AbstractLogger } from "./AbstractLogger";
3
+ export declare class Logger extends AbstractLogger {
4
+ private readonly handlers;
5
+ private readonly processors;
6
+ /**
7
+ * Add new handler logger
8
+ *
9
+ * @param {LoggerInterface} logger Logger Handler
10
+ * @returns {void}
11
+ */
12
+ pushHandler(logger: LoggerInterface): void;
13
+ /**
14
+ * Add new handler logger
15
+ *
16
+ * @returns {LoggerInterface[]}
17
+ */
18
+ getHandlers(): LoggerInterface[];
19
+ /**
20
+ * Add new Processors Logger for all handlers
21
+ *
22
+ * @param {LoggerPluginInterface} processor Logger Handler
23
+ * @returns {void}
24
+ */
25
+ pushProcessor(processor: LoggerPluginInterface): void;
26
+ /**
27
+ * Get All logger Processors
28
+ *
29
+ * @returns {LoggerPluginInterface[]}
30
+ */
31
+ getProcessor(): LoggerPluginInterface[];
32
+ log(level: LogLevel, message: unknown, context?: Record<string, string>): Promise<void>;
33
+ /**
34
+ * Parser Plugin Logger
35
+ *
36
+ * @param {LogLevel} level Logger
37
+ * @param {unknown} message Message Logger
38
+ * @param {ContextType | undefined} context Context
39
+ * @returns {Promise<LoggerParserInterface>}
40
+ */
41
+ private getProcessorData;
42
+ }
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Logger = void 0;
4
+ const AbstractLogger_1 = require("./AbstractLogger");
5
+ class Logger extends AbstractLogger_1.AbstractLogger {
6
+ handlers = [];
7
+ processors = [];
8
+ /**
9
+ * Add new handler logger
10
+ *
11
+ * @param {LoggerInterface} logger Logger Handler
12
+ * @returns {void}
13
+ */
14
+ pushHandler(logger) {
15
+ this.handlers.push(logger);
16
+ }
17
+ /**
18
+ * Add new handler logger
19
+ *
20
+ * @returns {LoggerInterface[]}
21
+ */
22
+ getHandlers() {
23
+ return [...this.handlers];
24
+ }
25
+ /**
26
+ * Add new Processors Logger for all handlers
27
+ *
28
+ * @param {LoggerPluginInterface} processor Logger Handler
29
+ * @returns {void}
30
+ */
31
+ pushProcessor(processor) {
32
+ this.processors.push(processor);
33
+ }
34
+ /**
35
+ * Get All logger Processors
36
+ *
37
+ * @returns {LoggerPluginInterface[]}
38
+ */
39
+ getProcessor() {
40
+ return [...this.processors];
41
+ }
42
+ async log(level, message, context) {
43
+ const processor = await this.getProcessorData(level, message, context);
44
+ await Promise.all(this.handlers.map(async (handler) => handler.log(processor.level, processor.message, processor.context)));
45
+ }
46
+ /**
47
+ * Parser Plugin Logger
48
+ *
49
+ * @param {LogLevel} level Logger
50
+ * @param {unknown} message Message Logger
51
+ * @param {ContextType | undefined} context Context
52
+ * @returns {Promise<LoggerParserInterface>}
53
+ */
54
+ async getProcessorData(level, message, context) {
55
+ const original = {
56
+ level: level,
57
+ message: message,
58
+ context: context,
59
+ };
60
+ let newParser = {
61
+ original: original,
62
+ level: level,
63
+ message: message,
64
+ context: context,
65
+ };
66
+ for (const processor of this.processors) {
67
+ newParser = {
68
+ ...await processor.parser(newParser),
69
+ original,
70
+ };
71
+ }
72
+ return newParser;
73
+ }
74
+ }
75
+ exports.Logger = Logger;
76
+ //# sourceMappingURL=Logger.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Logger.js","sourceRoot":"","sources":["../../src/logs/Logger.ts"],"names":[],"mappings":";;;AAIA,qDAAkD;AAElD,MAAa,MAAO,SAAQ,+BAAc;IAErB,QAAQ,GAAsB,EAAE,CAAC;IAEjC,UAAU,GAA4B,EAAE,CAAC;IAE1D;;;;;OAKG;IACI,WAAW,CAAC,MAAuB;QACtC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC/B,CAAC;IAED;;;;OAIG;IACI,WAAW;QACd,OAAO,CAAE,GAAG,IAAI,CAAC,QAAQ,CAAE,CAAC;IAChC,CAAC;IAED;;;;;OAKG;IACI,aAAa,CAAC,SAAgC;QACjD,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACpC,CAAC;IAED;;;;OAIG;IACI,YAAY;QACf,OAAO,CAAE,GAAG,IAAI,CAAC,UAAU,CAAE,CAAC;IAClC,CAAC;IAEM,KAAK,CAAC,GAAG,CAAC,KAAe,EAAE,OAAgB,EAAE,OAAgC;QAChF,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;QAEvE,MAAM,OAAO,CAAC,GAAG,CACb,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,EAAE,OAAwB,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAC7D,SAAS,CAAC,KAAK,EACf,SAAS,CAAC,OAAO,EACjB,SAAS,CAAC,OAAO,CACpB,CAAC,CACL,CAAC;IACN,CAAC;IAED;;;;;;;OAOG;IACK,KAAK,CAAC,gBAAgB,CAC1B,KAAe,EACf,OAAgB,EAChB,OAAqB;QAErB,MAAM,QAAQ,GAAG;YACb,KAAK,EAAE,KAAK;YACZ,OAAO,EAAE,OAAO;YAChB,OAAO,EAAE,OAAO;SACnB,CAAC;QACF,IAAI,SAAS,GAA0B;YACnC,QAAQ,EAAE,QAAQ;YAClB,KAAK,EAAE,KAAK;YACZ,OAAO,EAAE,OAAO;YAChB,OAAO,EAAE,OAAO;SACnB,CAAC;QAEF,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,UAAU,EAAE;YACrC,SAAS,GAAG;gBACR,GAAG,MAAM,SAAS,CAAC,MAAM,CAAC,SAAS,CAAC;gBACpC,QAAQ;aACX,CAAC;SACL;QAED,OAAO,SAAS,CAAC;IACrB,CAAC;CAEJ;AA3FD,wBA2FC"}
@@ -1,6 +1,19 @@
1
- import { type LogLevel } from "../index";
2
- import { type ContextTypo } from "../Interfaces/LoggerInterface";
3
1
  import { AbstractLogger } from "./AbstractLogger";
2
+ /**
3
+ * This Logger can be used to avoid conditional log calls.
4
+ *
5
+ * Logging should always be optional, and if no logger is provided to your
6
+ * library creating a NullLogger instance to have something to throw logs at
7
+ * is a good way to avoid littering your code with `if ($this->logger) { }`
8
+ * blocks.
9
+ *
10
+ * @author Dragons Gamers <https://github.com/ODGodinho>
11
+ */
4
12
  export declare class NullLogger extends AbstractLogger {
5
- log(_level: LogLevel, _message: unknown, context?: ContextTypo): Promise<void>;
13
+ /**
14
+ * Logs with an arbitrary level.
15
+ *
16
+ * @returns {Promise<void>}
17
+ */
18
+ log(): Promise<void>;
6
19
  }
@@ -2,9 +2,24 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NullLogger = void 0;
4
4
  const AbstractLogger_1 = require("./AbstractLogger");
5
+ /**
6
+ * This Logger can be used to avoid conditional log calls.
7
+ *
8
+ * Logging should always be optional, and if no logger is provided to your
9
+ * library creating a NullLogger instance to have something to throw logs at
10
+ * is a good way to avoid littering your code with `if ($this->logger) { }`
11
+ * blocks.
12
+ *
13
+ * @author Dragons Gamers <https://github.com/ODGodinho>
14
+ */
5
15
  class NullLogger extends AbstractLogger_1.AbstractLogger {
6
- async log(_level, _message, context) {
7
- return void context;
16
+ /**
17
+ * Logs with an arbitrary level.
18
+ *
19
+ * @returns {Promise<void>}
20
+ */
21
+ async log() {
22
+ // Not have action
8
23
  }
9
24
  }
10
25
  exports.NullLogger = NullLogger;
@@ -1 +1 @@
1
- {"version":3,"file":"NullLogger.js","sourceRoot":"","sources":["../../src/logs/NullLogger.ts"],"names":[],"mappings":";;;AAGA,qDAAkD;AAYlD,MAAa,UAAW,SAAQ,+BAAc;IAWnC,KAAK,CAAC,GAAG,CAAC,MAAgB,EAAE,QAAiB,EAAE,OAAqB;QACvE,OAAO,KAAK,OAAO,CAAC;IACxB,CAAC;CAEJ;AAfD,gCAeC"}
1
+ {"version":3,"file":"NullLogger.js","sourceRoot":"","sources":["../../src/logs/NullLogger.ts"],"names":[],"mappings":";;;AAAA,qDAAkD;AAElD;;;;;;;;;GASG;AACH,MAAa,UAAW,SAAQ,+BAAc;IAE1C;;;;OAIG;IACI,KAAK,CAAC,GAAG;QACZ,kBAAkB;IACtB,CAAC;CAEJ;AAXD,gCAWC"}
@@ -1 +1 @@
1
- {"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/typescript/lib/lib.esnext.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../src/Interfaces/LogLevel.ts","../src/Interfaces/LoggerInterface.ts","../src/Interfaces/LoggerAwareInterface.ts","../src/Interfaces/index.ts","../src/Interfaces/LoggerPluginInterface.ts","../src/logs/AbstractLogger.ts","../src/logs/NullLogger.ts","../node_modules/chalk/index.d.ts","../src/logs/ConsoleLogger.ts","../src/logs/index.ts","../node_modules/@odg/exception/dist/exceptions/Exception.d.ts","../node_modules/@odg/exception/dist/exceptions/UnknownException.d.ts","../node_modules/@odg/exception/dist/index.d.ts","../src/Exceptions/InvalidArgumentException.ts","../src/Exceptions/index.ts","../src/index.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/@jest/expect-utils/build/index.d.ts","../node_modules/@sinclair/typebox/typebox.d.ts","../node_modules/@jest/schemas/build/index.d.ts","../node_modules/pretty-format/build/index.d.ts","../node_modules/jest-diff/build/index.d.ts","../node_modules/jest-matcher-utils/build/index.d.ts","../node_modules/expect/build/index.d.ts","../node_modules/@types/jest/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","impliedFormat":1},{"version":"7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","impliedFormat":1},{"version":"8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","impliedFormat":1},{"version":"5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","impliedFormat":1},{"version":"4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","impliedFormat":1},{"version":"1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","impliedFormat":1},{"version":"746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","impliedFormat":1},{"version":"d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","impliedFormat":1},{"version":"aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c","impliedFormat":1},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true,"impliedFormat":1},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true,"impliedFormat":1},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true,"impliedFormat":1},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true,"impliedFormat":1},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true,"impliedFormat":1},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true,"impliedFormat":1},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true,"impliedFormat":1},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true,"impliedFormat":1},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true,"impliedFormat":1},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true,"impliedFormat":1},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true,"impliedFormat":1},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true,"impliedFormat":1},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true,"impliedFormat":1},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true,"impliedFormat":1},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true,"impliedFormat":1},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true,"impliedFormat":1},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true,"impliedFormat":1},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true,"impliedFormat":1},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true,"impliedFormat":1},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true,"impliedFormat":1},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true,"impliedFormat":1},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true,"impliedFormat":1},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true,"impliedFormat":1},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true,"impliedFormat":1},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true,"impliedFormat":1},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true,"impliedFormat":1},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true,"impliedFormat":1},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"59e95117feacc4595dacc827192549ba7aee5209bbd7e66fc4ee7b64499392e0","signature":"fdd1f4d051df206d8bb7dbdd763bb09a2046ef54c6c7a206ad6d0ed8987c25c8","impliedFormat":1},{"version":"f06beba02cb00bb5ea5a83129d8c49f12d381032691c702f95af53a69bdb894c","signature":"0a8f49b745ab9beb2917bd8f9421a90f0c5461d56f47609e7a64f4b1d7709bff","impliedFormat":1},{"version":"8ecf27e29d8d4def06e0c713344ddb1fedf5d8e671113dd306f6e8c37de061d8","signature":"9c90d5c8c2ca7601b8a22865ab1413e1e7ad9d9fd743cbf64dfe5160fc9af825","impliedFormat":1},{"version":"15fa5d67fd2b21fb59805ebd7216b251f99e65f981959013b58f5136597847f5","signature":"2a30b6d92bd7796269cab865938a54f6839d1d1785d3228a5de39fc7ce824954","impliedFormat":1},{"version":"e6dfa2b192925a27a26dc7c60be6fb6b6178eeae2c2072f312d5cd3c4c8e8483","signature":"affb5ffd2914e75f62dd8afaf739c2fa9527926f7d10425b9882fde3e560177f","impliedFormat":1},{"version":"b7823c83246cd5f5d43aa1fa58e8a6563a6dfd18abb222f651f28c3bbef5fad3","signature":"4e3a6543b0732b088e8653aaf2560d805385dd63d13d954a494364802cc2455f","impliedFormat":1},{"version":"89ec47b29a43cb7fe984503fe3bfe67930adbc038311001a4f3238586541189b","signature":"43d0b4c5e64732cd6e81dcb5b3400b4f4973f49604a15427000f397720449978","impliedFormat":1},{"version":"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","impliedFormat":1},{"version":"c3e9872c80fc62e88399a5a541a83ddb3639d64f0bfe3ee997d3019297c56660","signature":"bf7b45c3448a045f4926b492539da101e31235f650ae904f3b995761da35b922","impliedFormat":1},{"version":"4c14264476c3b884c937115ed077ef4193a41f6b1a06d7bd92f25ec7a75fdef7","impliedFormat":1},{"version":"4130f986e9133b2a2d80c751ed4b7b3b1f1a93714f0462f7c36e0b32a5c66aca","impliedFormat":1},{"version":"6bb8480771517b68dc8c48553fe615e0bc38d9df1572bfa45e5db9844ef76776","impliedFormat":1},{"version":"1df58ba1cc41c4166dcbe53efd88611b9ddf5a27f33f4eb88a9189ea2ea56473","impliedFormat":1},{"version":"78578c7c32abc4fa1c724f589571c047a9d540ba9c5f10ed3a6027fbcca0c892","signature":"37a843978dfb875ce02c1193f16a228ee42a4d7e30cca6e066be86b4f53c3e31","impliedFormat":1},{"version":"008268eb10d9fae42574458105d571a6af93d529dd377fa2e942763d5d1cc7ba","impliedFormat":1},{"version":"02223fcf090480f55977fbae1bc0ca6694d113e5e2d09adff92e031e6a8ca0f9","impliedFormat":1},{"version":"4911d4c3a7f7c11bad0e2cec329a19a385d10ea83b0b69c76e032359e388f624","impliedFormat":1},{"version":"a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a","impliedFormat":1},{"version":"4f6463a60e5754bbc4a864b2aaf8fecb7706b96a21b88f27b534589b801978b6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56d13f223ab40f71840795f5bef2552a397a70666ee60878222407f3893fb8d0","impliedFormat":1},{"version":"4ffef5c4698e94e49dcf150e3270bad2b24a2aeab48b24acbe7c1366edff377d","affectsGlobalScope":true,"impliedFormat":1},{"version":"2534e46a52653b55dfb5a41ce427ec430c4afbaaf3bfcb1ae09b185c5d6bf169","impliedFormat":1},{"version":"afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565","impliedFormat":1},{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true,"impliedFormat":1},{"version":"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","impliedFormat":1},{"version":"3f2478baf49cf27aa1335ba5299e2394131284e9d50a3845e3f95e52664ff518","impliedFormat":1},{"version":"f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","impliedFormat":1},{"version":"8bd106053ee0345dde7f626ed1f6100a89fb85f13ea65352627cf78c5f30c553","impliedFormat":1},{"version":"76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","impliedFormat":1},{"version":"0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","impliedFormat":1},{"version":"06ccebc2c2db57d6bdbca63b71c4ae5e6ddc42d972fd8f122d4c1a28aa111b25","impliedFormat":1},{"version":"81e8508d1e82278f5d3fee936f267e00c308af36219bfcee2631f9513c9c4017","affectsGlobalScope":true,"impliedFormat":1},{"version":"413a4be7f94f631235bbc83dad36c4d15e5a2ff02bca1efdbd03636d6454631b","impliedFormat":1},{"version":"20c468256fd68d3ef1fa53526e76d51d6aa91711e84d72c0343589b99238287e","impliedFormat":1},{"version":"4198acced75d48a039c078734c4efca7788ff8c78609c270a2b63ec20e3e1676","impliedFormat":1},{"version":"8d4c16a26d59e3ce49741a7d4a6e8206b884e226cf308667c7778a0b2c0fee7f","impliedFormat":1},{"version":"288dd0c774a5c6e3964084c7a2bc8cc6b746d70f44a9892d028d04f915cf7ebc","impliedFormat":1},{"version":"d61c7c41eb1960b1285e242fd102c162b65c0522985b839fadda59874308a170","impliedFormat":1},{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true,"impliedFormat":1},{"version":"1805e0e4d1ed00f6361db25dff6887c7fa9b5b39f32599a34e8551da7daaa9c2","impliedFormat":1},{"version":"abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","impliedFormat":1},{"version":"fb0989383c6109f20281b3d31265293daefdd76d0d30551782c1654e93704f48","impliedFormat":1},{"version":"a4210a84a82b3e7a8cec5b2f3616e46d523f4f10cc1576d8f2fb89d0987b341e","impliedFormat":1},{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true,"impliedFormat":1},{"version":"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","impliedFormat":1},{"version":"22d48bfb37261136423ac687f1fa7bd4dda3083f767416d409a8260cf92bc8fc","impliedFormat":1},{"version":"29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","impliedFormat":1},{"version":"0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","impliedFormat":1},{"version":"95518ff86843e226b62a800f679f6968ad8dac8ccbe30fbfe63de3afb13761a2","impliedFormat":1},{"version":"1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","impliedFormat":1},{"version":"698ab660b477b9c2cd5ccbd99e7e7df8b4a6134c1f5711fa615ed7aab51cb7f7","impliedFormat":1},{"version":"33eee034727baf564056b4ea719075c23d3b4767d0b5f9c6933b81f3d77774d2","impliedFormat":1},{"version":"c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637","impliedFormat":1},{"version":"a4471d2bdba495b2a6a30b8765d5e0282fa7009d88345a9528f73c37869d3b93","impliedFormat":1},{"version":"aee7013623e7632fba449d4df1da92925b27d9b816cb05546044dbfe54c88ef4","affectsGlobalScope":true,"impliedFormat":1},{"version":"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","impliedFormat":1},{"version":"c9d70d3d7191a66a81cb554557f8ed1cf736ea8397c44a864fe52689de18865a","impliedFormat":1},{"version":"998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","impliedFormat":1},{"version":"ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4","impliedFormat":1},{"version":"1aad825534c73852a1f3275e527d729a2c0640f539198fdfdfeb83b839851910","affectsGlobalScope":true,"impliedFormat":1},{"version":"badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","impliedFormat":1},{"version":"c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","impliedFormat":1},{"version":"235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","impliedFormat":1},{"version":"bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","impliedFormat":1},{"version":"9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","impliedFormat":1},{"version":"c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"88003d9ab15507806f41b120be6d407c1afe566c2f6689ebe3a034dd5ec0c8dc","impliedFormat":1},{"version":"a7321c0e96eecb19dcbf178493836474cef21ee3f9345384ce9d74e4be31228d","impliedFormat":1},{"version":"3054ef91b855e005b9c4681399e9d64d2a7b07a22d539314d794f09e53b876a7","impliedFormat":1},{"version":"427ce5854885cfc34387e09de05c1d5c1acf94c2143e1693f1d9ff54880573e7","impliedFormat":1},{"version":"bed2c4f96fab3348be4a34d88dcb12578c1b2475b07c6acd369e99e227718d81","impliedFormat":1},{"version":"e3ba509d3dce019b3190ceb2f3fc88e2610ab717122dabd91a9efaa37804040d","impliedFormat":1},{"version":"9ac9b7b349a96ff204f4172183cca1672cc402e1ee7277bfcdec96c000b7d818","impliedFormat":1},{"version":"ac127e4c6f2b5220b293cc9d2e64ba49781225b792a51cda50f3db8eafba550c","impliedFormat":1},{"version":"0c3b45b6a42c0074fadd59c5d370592ca48c89a706d903452565ca89b1b2c164","affectsGlobalScope":true,"impliedFormat":1}],"options":{"alwaysStrict":true,"declaration":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":100,"newLine":1,"noFallthroughCasesInSwitch":true,"noImplicitAny":true,"noImplicitReturns":true,"noImplicitThis":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","preserveConstEnums":true,"removeComments":true,"sourceMap":true,"strict":true,"strictFunctionTypes":true,"strictNullChecks":true,"strictPropertyInitialization":true,"target":5},"fileIdsList":[[116],[116,125],[66,116],[66,67,116],[116,127,130],[72,116],[75,116],[76,81,107,116],[77,87,88,95,104,115,116],[77,78,87,95,116],[79,116],[80,81,88,96,116],[81,104,112,116],[82,84,87,95,116],[83,116],[84,85,116],[86,87,116],[87,116],[87,88,89,104,115,116],[87,88,89,104,116],[90,95,104,115,116],[87,88,90,91,95,104,112,115,116],[90,92,104,112,115,116],[72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122],[87,93,116],[94,115,116],[84,87,95,104,116],[96,116],[97,116],[75,98,116],[99,114,116,120],[100,116],[101,116],[87,102,116],[102,103,116,118],[76,87,104,105,106,116],[76,104,106,116],[104,105,116],[107,116],[108,116],[87,110,111,116],[110,111,116],[81,95,112,116],[113,116],[95,114,116],[76,90,101,115,116],[81,116],[104,116,117],[116,118],[116,119],[76,81,87,89,98,104,115,116,118,120],[104,116,121],[116,124,129],[116,127],[63,116,128],[116,126],[68,116],[69,116],[57,116],[56,116],[59,116],[56,57,58,60,116],[59,65,70,116],[60,71,116],[57,61,63,71,116],[57,61,71,116],[61,62,64,116],[68],[57],[56],[59],[56,57,58,60],[60,71],[57,61,71]],"referencedMap":[[124,1],[126,2],[66,1],[67,3],[68,4],[125,1],[131,5],[72,6],[73,6],[75,7],[76,8],[77,9],[78,10],[79,11],[80,12],[81,13],[82,14],[83,15],[84,16],[85,16],[86,17],[87,18],[88,19],[89,20],[74,1],[122,1],[90,21],[91,22],[92,23],[123,24],[93,25],[94,26],[95,27],[96,28],[97,29],[98,30],[99,31],[100,32],[101,33],[102,34],[103,35],[104,36],[106,37],[105,38],[107,39],[108,40],[109,1],[110,41],[111,42],[112,43],[113,44],[114,45],[115,46],[116,47],[117,48],[118,49],[119,50],[120,51],[121,52],[63,1],[130,53],[128,54],[129,55],[127,56],[11,1],[13,1],[12,1],[2,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[3,1],[4,1],[25,1],[22,1],[23,1],[24,1],[26,1],[27,1],[28,1],[5,1],[29,1],[30,1],[31,1],[32,1],[6,1],[36,1],[33,1],[34,1],[35,1],[37,1],[7,1],[38,1],[43,1],[44,1],[39,1],[40,1],[41,1],[42,1],[8,1],[48,1],[45,1],[46,1],[47,1],[49,1],[9,1],[50,1],[51,1],[52,1],[53,1],[54,1],[1,1],[10,1],[55,1],[69,57],[70,58],[56,1],[58,59],[57,60],[60,61],[59,62],[71,63],[61,64],[64,65],[62,66],[65,67]],"exportedModulesMap":[[124,1],[126,2],[66,1],[67,3],[68,4],[125,1],[131,5],[72,6],[73,6],[75,7],[76,8],[77,9],[78,10],[79,11],[80,12],[81,13],[82,14],[83,15],[84,16],[85,16],[86,17],[87,18],[88,19],[89,20],[74,1],[122,1],[90,21],[91,22],[92,23],[123,24],[93,25],[94,26],[95,27],[96,28],[97,29],[98,30],[99,31],[100,32],[101,33],[102,34],[103,35],[104,36],[106,37],[105,38],[107,39],[108,40],[109,1],[110,41],[111,42],[112,43],[113,44],[114,45],[115,46],[116,47],[117,48],[118,49],[119,50],[120,51],[121,52],[63,1],[130,53],[128,54],[129,55],[127,56],[11,1],[13,1],[12,1],[2,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[3,1],[4,1],[25,1],[22,1],[23,1],[24,1],[26,1],[27,1],[28,1],[5,1],[29,1],[30,1],[31,1],[32,1],[6,1],[36,1],[33,1],[34,1],[35,1],[37,1],[7,1],[38,1],[43,1],[44,1],[39,1],[40,1],[41,1],[42,1],[8,1],[48,1],[45,1],[46,1],[47,1],[49,1],[9,1],[50,1],[51,1],[52,1],[53,1],[54,1],[1,1],[10,1],[55,1],[69,68],[70,58],[58,69],[57,70],[60,71],[59,72],[71,63],[61,73],[64,74],[62,74],[65,67]],"semanticDiagnosticsPerFile":[124,126,66,67,68,125,131,72,73,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,74,122,90,91,92,123,93,94,95,96,97,98,99,100,101,102,103,104,106,105,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,63,130,128,129,127,11,13,12,2,14,15,16,17,18,19,20,21,3,4,25,22,23,24,26,27,28,5,29,30,31,32,6,36,33,34,35,37,7,38,43,44,39,40,41,42,8,48,45,46,47,49,9,50,51,52,53,54,1,10,55,69,70,56,58,57,60,59,71,61,64,62,65]},"version":"4.9.4"}
1
+ {"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/typescript/lib/lib.es2023.d.ts","../node_modules/typescript/lib/lib.esnext.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../node_modules/typescript/lib/lib.es2023.array.d.ts","../node_modules/typescript/lib/lib.es2023.collection.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/logs/AbstractLogger.ts","../src/logs/NullLogger.ts","../node_modules/chalk/index.d.ts","../src/Interfaces/LogLevel.ts","../src/Interfaces/LoggerInterface.ts","../src/logs/ConsoleLogger.ts","../src/logs/index.ts","../src/Interfaces/LoggerAwareInterface.ts","../src/Interfaces/LoggerPluginInterface.ts","../src/Interfaces/index.ts","../node_modules/@odg/exception/dist/exceptions/Exception.d.ts","../node_modules/@odg/exception/dist/exceptions/UnknownException.d.ts","../node_modules/@odg/exception/dist/index.d.ts","../src/Exceptions/InvalidArgumentException.ts","../src/Exceptions/index.ts","../src/index.ts","../src/logs/Logger.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"2ac9cdcfb8f8875c18d14ec5796a8b029c426f73ad6dc3ffb580c228b58d1c44","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","impliedFormat":1},{"version":"9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","impliedFormat":1},{"version":"1c0cdb8dc619bc549c3e5020643e7cf7ae7940058e8c7e5aefa5871b6d86f44b","impliedFormat":1},{"version":"bed7b7ba0eb5a160b69af72814b4dde371968e40b6c5e73d3a9f7bee407d158c","impliedFormat":1},{"version":"0075fa5ceda385bcdf3488e37786b5a33be730e8bc4aa3cf1e78c63891752ce8","affectsGlobalScope":true,"impliedFormat":1},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true,"impliedFormat":1},{"version":"09226e53d1cfda217317074a97724da3e71e2c545e18774484b61562afc53cd2","affectsGlobalScope":true,"impliedFormat":1},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b41361862022eb72fcc8a7f34680ac842aca802cf4bc1f915e8c620c9ce4331","affectsGlobalScope":true,"impliedFormat":1},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true,"impliedFormat":1},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true,"impliedFormat":1},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true,"impliedFormat":1},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true,"impliedFormat":1},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true,"impliedFormat":1},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true,"impliedFormat":1},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true,"impliedFormat":1},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true,"impliedFormat":1},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"709efdae0cb5df5f49376cde61daacc95cdd44ae4671da13a540da5088bf3f30","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc496ef4377553e461efcf7cc5a5a57cf59f9962aea06b5e722d54a36bf66ea1","affectsGlobalScope":true,"impliedFormat":1},{"version":"038a2f66a34ee7a9c2fbc3584c8ab43dff2995f8c68e3f566f4c300d2175e31e","affectsGlobalScope":true,"impliedFormat":1},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c92f2c27b06c1a41b88f6db8299205aee52c2a2943f7ed29bd585977f254e8","affectsGlobalScope":true,"impliedFormat":1},{"version":"930b0e15811f84e203d3c23508674d5ded88266df4b10abee7b31b2ac77632d2","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"b9ea5778ff8b50d7c04c9890170db34c26a5358cccba36844fe319f50a43a61a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true,"impliedFormat":1},{"version":"65be38e881453e16f128a12a8d36f8b012aa279381bf3d4dc4332a4905ceec83","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true,"impliedFormat":1},{"version":"e1913f656c156a9e4245aa111fbb436d357d9e1fe0379b9a802da7fe3f03d736","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"f35a831e4f0fe3b3697f4a0fe0e3caa7624c92b78afbecaf142c0f93abfaf379","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"8eeba6294fcdaf789b00fb3538f93daf0d09d7a8563a5cd8f6e43a9a80636478","signature":"5fb7425c689328382447529bef2266aef3df6285e47c5f15bb03eacf947cdf07","impliedFormat":1},{"version":"d74e399f2288a2ccfef36f9d719a46258c4c507b0f1261aa3119ee7cf5a9a9a5","signature":"6c0a1d6a8c59dbb104947bfe184955e7f0578da4d1294caeef8ce42a92831a89","impliedFormat":1},{"version":"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","impliedFormat":1},{"version":"59e95117feacc4595dacc827192549ba7aee5209bbd7e66fc4ee7b64499392e0","signature":"f4090ec12a125e50604ff28d3f56b86298de938e8b993509fb4c579654283445","impliedFormat":1},{"version":"cc57b20d865d702c82e717db44dd2f19df40294bc02c72942bc9fd78ec5bb7be","signature":"55b7ba27bdae9a9fbcef436e8c7b7921d7bcd6190fce73771826e02ef11a2284","impliedFormat":1},{"version":"27cba45f8ca4c3cd96f8413710c71d954ff45d989ff740326d9c2532c01a41f4","signature":"4d4b2fd5d19e2d9a38a92bb277413ec5c10a3c90c31e10c21281d4b6942bf569","impliedFormat":1},{"version":"4c14264476c3b884c937115ed077ef4193a41f6b1a06d7bd92f25ec7a75fdef7","impliedFormat":1},{"version":"8ecf27e29d8d4def06e0c713344ddb1fedf5d8e671113dd306f6e8c37de061d8","signature":"3780d6f73250d8e84041ad49ecddb6eb31c0b9a40ed1fa170778423cf22b39c2","impliedFormat":1},{"version":"a6c7b8a124d2b9f6a554fde0804a3c99abfd49eb999756f57c5a908cc0e1dac7","signature":"d7e4de0c0f74ff1f5f7e9fbc1a1893a1cb004d7e2ca9a591a189de036ac19e14","impliedFormat":1},{"version":"15fa5d67fd2b21fb59805ebd7216b251f99e65f981959013b58f5136597847f5","signature":"2a30b6d92bd7796269cab865938a54f6839d1d1785d3228a5de39fc7ce824954","impliedFormat":1},{"version":"12c82dbc857502e3f867f0a567388d4291cb20ddb2906cc9fbeff253662c9112","impliedFormat":1},{"version":"57dfec185a3d2984b6f7c0f57f3e0f6b74d33f122f339c00eae96c87ea7e06e1","impliedFormat":1},{"version":"1df58ba1cc41c4166dcbe53efd88611b9ddf5a27f33f4eb88a9189ea2ea56473","impliedFormat":1},{"version":"78578c7c32abc4fa1c724f589571c047a9d540ba9c5f10ed3a6027fbcca0c892","signature":"37a843978dfb875ce02c1193f16a228ee42a4d7e30cca6e066be86b4f53c3e31","impliedFormat":1},{"version":"008268eb10d9fae42574458105d571a6af93d529dd377fa2e942763d5d1cc7ba","impliedFormat":1},{"version":"02223fcf090480f55977fbae1bc0ca6694d113e5e2d09adff92e031e6a8ca0f9","impliedFormat":1},{"version":"13862576a74b3ac9127ec1670b1791dc296ad4d8757c729b715e68af27e1cfc9","signature":"dd8eb4988618dd02d0d739d048daa423bec22b046aa59e6e5bbae92b51a63e3d","impliedFormat":1},{"version":"ba8691cf6bea9d53e6bf6cbc22af964a9633a21793981a1be3dce65e7a714d8b","impliedFormat":1},{"version":"a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a","impliedFormat":1},{"version":"bce910d9164785c9f0d4dcea4be359f5f92130c7c7833dea6138ab1db310a1f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"afddd0617cc7ef650f743c75b868df9d53f17f9ff0cccc255fb5f632e857be38","impliedFormat":1},{"version":"7c387a02bf156d8d45667134d32518ac3ca1b99ca50ca9deff2c1a03eb6d1a81","affectsGlobalScope":true,"impliedFormat":1},{"version":"3719525a8f6ab731e3dfd585d9f87df55ec7d50d461df84f74eb4d68bb165244","impliedFormat":1},{"version":"f993522fd7d01ae1ead930091fe35130b8415720d6c2123dc2a7e8eb11bb3cba","impliedFormat":1},{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true,"impliedFormat":1},{"version":"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","impliedFormat":1},{"version":"b787b5b54349a24f07d089b612a9fb8ff024dbbe991ff52ea2b188a6b1230644","impliedFormat":1},{"version":"bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","impliedFormat":1},{"version":"1cdcfc1f624d6c08aa12c73935f6e13f095919cd99edf95752951796eb225729","impliedFormat":1},{"version":"df6d4b6ba1e64f682091862faa30104e93891f9e7202d006bf5e7a88ab4a0dbe","impliedFormat":1},{"version":"14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","impliedFormat":1},{"version":"5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea","impliedFormat":1},{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true,"impliedFormat":1},{"version":"c2fcbd6fad600e96fee8c5df1a62e908d477f5b47a9374b2bab7e74f52cfcc92","affectsGlobalScope":true,"impliedFormat":1},{"version":"7070d7c36e429a4f7d6f2d37110c8bd669d89b16843c0271a56a808255ab19e8","impliedFormat":1},{"version":"195f480a21390edf72d383e9368b9a0af75c674cf92d489fcf91b8c3da94779e","impliedFormat":1},{"version":"91d3d8f536f22dcaeeace0fc6f3544d3562e266a27cf3a2fe280b8051af5d006","impliedFormat":1},{"version":"9503113febdd737095465792cc074d541902c82c0aea3922f940de18784812ad","impliedFormat":1},{"version":"8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","impliedFormat":1},{"version":"7e5307e29dfd5d5b827203b85cb665d8d5bf932a6c6f393457da8e9ed1906761","impliedFormat":1},{"version":"987b3a9098738f5f40efe9fee5734b55f4c8ac599a045922b1470bb325183ed6","affectsGlobalScope":true,"impliedFormat":1},{"version":"bcebb922784739bdb34c18ee51095d25a92b560c78ccd2eaacd6bd00f7443d83","impliedFormat":1},{"version":"7ee6ed878c4528215c82b664fe0cfe80e8b4da6c0d4cc80869367868774db8b1","impliedFormat":1},{"version":"b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30","impliedFormat":1},{"version":"69e93290f59948789d5fce61cb0b89dde93747a4576744d0d6fae41ee3991646","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d319604ab444d77b25dc531ace1811795c676834e564497e4b90ba1b77aafd5","affectsGlobalScope":true,"impliedFormat":1},{"version":"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","impliedFormat":1},{"version":"210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","impliedFormat":1},{"version":"36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","impliedFormat":1},{"version":"0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","impliedFormat":1},{"version":"25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","impliedFormat":1},{"version":"b7998044b77ef376a39c07f038f317d875b3f51b5f8f733384d85ecd083182e7","impliedFormat":1},{"version":"1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","impliedFormat":1},{"version":"69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","impliedFormat":1},{"version":"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","impliedFormat":1},{"version":"23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","impliedFormat":1},{"version":"a4a2a5596dd7e531ab0ce785ed1c8f6940e0632e5bcaa7e8c144bd0e41029297","affectsGlobalScope":true,"impliedFormat":1},{"version":"3c4ba1dd9b12ffa284b565063108f2f031d150ea15b8fafbdc17f5d2a07251f3","affectsGlobalScope":true,"impliedFormat":1},{"version":"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","impliedFormat":1},{"version":"1422cd9e705adcc09088fda85a900c2b70e3ad36ea85846f68bd1a884cdf4e2b","impliedFormat":1},{"version":"3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","impliedFormat":1},{"version":"5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2","impliedFormat":1},{"version":"22d7b95cb63dead43834ae20ee492c9c8b6d90db3957d21665199f0efb1d3e26","affectsGlobalScope":true,"impliedFormat":1},{"version":"a9fc1469744055a3435f203123246b96c094e7ff8c4e1c3863829d9b705b7a34","affectsGlobalScope":true,"impliedFormat":1},{"version":"868831cab82b65dfe1d68180e898af1f2101e89ba9b754d1db6fb8cc2fac1921","impliedFormat":1},{"version":"5d842e3acce41c978af367a28163cef799170dadd06edf2111cc9ecab6eae968","impliedFormat":1},{"version":"e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","impliedFormat":1},{"version":"52120bb7e4583612225bdf08e7c12559548170f11e660d33a33623bae9bbdbba","affectsGlobalScope":true,"impliedFormat":1},{"version":"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"d5be4343a9ace4611f04a6fffd91ceba91265fa15bfb0149306e0a6963e1a015","impliedFormat":1}],"root":[65,66,[68,74],[78,81]],"options":{"alwaysStrict":true,"declaration":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":100,"newLine":1,"noFallthroughCasesInSwitch":true,"noImplicitAny":true,"noImplicitReturns":true,"noImplicitThis":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","preserveConstEnums":true,"removeComments":false,"sourceMap":true,"strict":true,"strictFunctionTypes":true,"strictNullChecks":true,"strictPropertyInitialization":true,"target":9},"fileIdsList":[[128],[77,128],[75,76,128],[82,128],[85,128],[86,91,119,128],[87,98,99,106,116,127,128],[87,88,98,106,128],[89,128],[90,91,99,107,128],[91,116,124,128],[92,94,98,106,128],[93,128],[94,95,128],[98,128],[96,98,128],[98,99,100,116,127,128],[98,99,100,113,116,119,128],[128,132],[94,98,101,106,116,127,128],[98,99,101,102,106,116,124,127,128],[101,103,116,124,127,128],[82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134],[98,104,128],[105,127,128,132],[94,98,106,116,128],[107,128],[108,128],[85,109,128],[110,126,128,132],[111,128],[112,128],[98,113,114,128],[113,115,128,130],[86,98,116,117,118,119,128],[86,116,118,128],[116,117,128],[119,128],[120,128],[85,116,128],[98,122,123,128],[122,123,128],[91,106,116,124,128],[125,128],[106,126,128],[86,101,112,127,128],[91,128],[116,128,129],[105,128,130],[128,131],[86,91,98,100,109,116,127,128,130,132],[116,128,133],[78,128],[69,128],[68,128],[74,128],[68,69,72,73,128],[71,74,79,128],[80,128],[65,67,69,80,128],[65,74,128],[65,128],[65,66,70,128],[77],[69],[68],[74],[68,69,72,73],[80],[65,69,80],[65,74],[65]],"referencedMap":[[75,1],[76,2],[77,3],[82,4],[83,4],[85,5],[86,6],[87,7],[88,8],[89,9],[90,10],[91,11],[92,12],[93,13],[94,14],[95,14],[97,15],[96,16],[98,15],[99,17],[100,18],[84,19],[134,1],[101,20],[102,21],[103,22],[135,23],[104,24],[105,25],[106,26],[107,27],[108,28],[109,29],[110,30],[111,31],[112,32],[113,33],[114,33],[115,34],[116,35],[118,36],[117,37],[119,38],[120,39],[121,40],[122,41],[123,42],[124,43],[125,44],[126,45],[127,46],[128,47],[129,48],[130,49],[131,50],[132,51],[133,52],[67,1],[63,1],[64,1],[12,1],[14,1],[13,1],[2,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[3,1],[4,1],[23,1],[27,1],[24,1],[25,1],[26,1],[28,1],[29,1],[30,1],[5,1],[31,1],[32,1],[33,1],[34,1],[6,1],[38,1],[35,1],[36,1],[37,1],[39,1],[7,1],[40,1],[45,1],[46,1],[41,1],[42,1],[43,1],[44,1],[8,1],[50,1],[47,1],[48,1],[49,1],[51,1],[9,1],[52,1],[53,1],[54,1],[57,1],[55,1],[56,1],[58,1],[59,1],[10,1],[1,1],[11,1],[62,1],[61,1],[60,1],[78,2],[79,53],[68,1],[72,54],[69,55],[73,56],[74,57],[80,58],[65,59],[70,60],[81,61],[66,62],[71,63]],"exportedModulesMap":[[75,1],[76,2],[77,3],[82,4],[83,4],[85,5],[86,6],[87,7],[88,8],[89,9],[90,10],[91,11],[92,12],[93,13],[94,14],[95,14],[97,15],[96,16],[98,15],[99,17],[100,18],[84,19],[134,1],[101,20],[102,21],[103,22],[135,23],[104,24],[105,25],[106,26],[107,27],[108,28],[109,29],[110,30],[111,31],[112,32],[113,33],[114,33],[115,34],[116,35],[118,36],[117,37],[119,38],[120,39],[121,40],[122,41],[123,42],[124,43],[125,44],[126,45],[127,46],[128,47],[129,48],[130,49],[131,50],[132,51],[133,52],[67,1],[63,1],[64,1],[12,1],[14,1],[13,1],[2,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[3,1],[4,1],[23,1],[27,1],[24,1],[25,1],[26,1],[28,1],[29,1],[30,1],[5,1],[31,1],[32,1],[33,1],[34,1],[6,1],[38,1],[35,1],[36,1],[37,1],[39,1],[7,1],[40,1],[45,1],[46,1],[41,1],[42,1],[43,1],[44,1],[8,1],[50,1],[47,1],[48,1],[49,1],[51,1],[9,1],[52,1],[53,1],[54,1],[57,1],[55,1],[56,1],[58,1],[59,1],[10,1],[1,1],[11,1],[62,1],[61,1],[60,1],[78,64],[79,53],[72,65],[69,66],[73,67],[74,68],[80,58],[65,69],[70,70],[81,71],[66,72],[71,63]],"semanticDiagnosticsPerFile":[75,76,77,82,83,85,86,87,88,89,90,91,92,93,94,95,97,96,98,99,100,84,134,101,102,103,135,104,105,106,107,108,109,110,111,112,113,114,115,116,118,117,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,67,63,64,12,14,13,2,15,16,17,18,19,20,21,22,3,4,23,27,24,25,26,28,29,30,5,31,32,33,34,6,38,35,36,37,39,7,40,45,46,41,42,43,44,8,50,47,48,49,51,9,52,53,54,57,55,56,58,59,10,1,11,62,61,60,78,79,68,72,69,73,74,80,65,70,81,66,71]},"version":"5.2.2"}
package/package.json CHANGED
@@ -1,23 +1,29 @@
1
1
  {
2
2
  "name": "@odg/log",
3
- "version": "1.2.0",
3
+ "version": "1.4.0",
4
4
  "description": "Interface logs types",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "scripts": {
8
- "build": "rimraf build && tsc --project ./tsconfig.build.json",
9
- "build:watch": "rimraf build && tsc --project ./tsconfig.build.json -w",
8
+ "build": "rimraf dist/ && tsc --project ./tsconfig.build.json && tsc-alias -p tsconfig.build.json",
9
+ "build:watch": "npm run build && (concurrently \"tsc --project ./tsconfig.build.json -w\" \"tsc-alias -p tsconfig.build.json -w\")",
10
10
  "dev": "ts-node ./src/index.ts",
11
11
  "start": "node ./dist/index.ts",
12
+ "prepare": "husky install",
12
13
  "lint": "eslint --ext .js,.jsx,.ts,.tsx,.json,.jsonc,.json5,.yml,.yaml,.xml,.txt,.svg,.properties,.gradle,.java,.cpp,.c,.cs,.html,.css,.groovy,.gitignore,.npmignore,.toml,.env,.example,.sample,.ini,.php,.bat,.powershell,.ps1,.sh,.bash,.eslintrc",
13
14
  "lint:fix": "eslint --ext .js,.jsx,.ts,.tsx,.json,.jsonc,.json5,.yml,.yaml,.xml,.txt,.svg,.properties,.gradle,.java,.cpp,.c,.cs,.html,.css,.groovy,.gitignore,.npmignore,.toml,.env,.example,.sample,.ini,.php,.bat,.powershell,.ps1,.sh,.bash,.eslintrc --fix",
14
- "test": "jest",
15
- "test:ci": "jest --ci --passWithNoTests",
16
- "test:watch": "jest --watchAll"
15
+ "test": "vitest run",
16
+ "test:ci": "vitest run --passWithNoTests",
17
+ "test:watch": "vitest --watch"
17
18
  },
18
19
  "publishConfig": {
19
20
  "access": "public"
20
21
  },
22
+ "lint-staged": {
23
+ "*": [
24
+ "npm run lint:fix"
25
+ ]
26
+ },
21
27
  "release": {
22
28
  "branches": [
23
29
  "+([0-9])?(.{+([0-9]),x}).x",
@@ -58,14 +64,17 @@
58
64
  "devDependencies": {
59
65
  "@odg/eslint-config": "*",
60
66
  "@odg/tsconfig": "*",
61
- "@types/jest": "^29.2.2",
62
- "@types/node": "^16",
67
+ "@types/node": "^18",
68
+ "@vitest/coverage-v8": "^0.34.5",
69
+ "concurrently": "^8.2.1",
63
70
  "eslint": "*",
64
- "jest": "^29.2.2",
65
- "semantic-release": "^19.0.5",
66
- "ts-jest": "^29.0.3",
67
- "ts-node": "^10.9.1",
68
- "typescript": "^4.8.4"
71
+ "husky": "^8.0.3",
72
+ "lint-staged": "^14.0.1",
73
+ "rimraf": "^5.0.1",
74
+ "tsc-alias": "^1.8.8",
75
+ "typescript": "^5.2.2",
76
+ "vite-tsconfig-paths": "^4.2.1",
77
+ "vitest": "^0.34.5"
69
78
  },
70
79
  "dependencies": {
71
80
  "@odg/exception": "*",