@zimtsui/typelog 0.0.5 → 0.0.7

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.
Files changed (60) hide show
  1. package/README.md +23 -10
  2. package/build/channel.d.ts +8 -0
  3. package/build/channel.js +27 -0
  4. package/build/channel.js.map +1 -0
  5. package/build/log-events.d.ts +21 -0
  6. package/build/log-events.js +11 -0
  7. package/build/log-events.js.map +1 -0
  8. package/build/tsconfig.tsbuildinfo +1 -1
  9. package/build/typed-events.d.ts +21 -0
  10. package/build/typed-events.js +1 -0
  11. package/build/typed-events.js.map +1 -0
  12. package/build/typelog.d.ts +2 -6
  13. package/build/typelog.js +2 -13
  14. package/build/typelog.js.map +1 -1
  15. package/package.json +4 -5
  16. package/build/abortion.d.ts +0 -2
  17. package/build/abortion.js +0 -3
  18. package/build/abortion.js.map +0 -1
  19. package/build/console.d.ts +0 -1
  20. package/build/console.js +0 -11
  21. package/build/console.js.map +0 -1
  22. package/build/defaults.d.ts +0 -3
  23. package/build/defaults.js +0 -18
  24. package/build/defaults.js.map +0 -1
  25. package/build/exports.d.ts +0 -2
  26. package/build/exports.js +0 -3
  27. package/build/exports.js.map +0 -1
  28. package/build/loaders/loadconf.d.ts +0 -3
  29. package/build/loaders/loadconf.js +0 -16
  30. package/build/loaders/loadconf.js.map +0 -1
  31. package/build/loaders/loadenv.d.ts +0 -9
  32. package/build/loaders/loadenv.js +0 -7
  33. package/build/loaders/loadenv.js.map +0 -1
  34. package/build/loaders/loadtext.d.ts +0 -1
  35. package/build/loaders/loadtext.js +0 -6
  36. package/build/loaders/loadtext.js.map +0 -1
  37. package/build/loaders/loadyaml.d.ts +0 -2
  38. package/build/loaders/loadyaml.js +0 -14
  39. package/build/loaders/loadyaml.js.map +0 -1
  40. package/build/loaders.d.ts +0 -4
  41. package/build/loaders.js +0 -5
  42. package/build/loaders.js.map +0 -1
  43. package/build/utilities/assertion.d.ts +0 -2
  44. package/build/utilities/assertion.js +0 -5
  45. package/build/utilities/assertion.js.map +0 -1
  46. package/build/utilities/extract-code.d.ts +0 -4
  47. package/build/utilities/extract-code.js +0 -21
  48. package/build/utilities/extract-code.js.map +0 -1
  49. package/build/utilities/heading.d.ts +0 -3
  50. package/build/utilities/heading.js +0 -43
  51. package/build/utilities/heading.js.map +0 -1
  52. package/build/utilities/syntax-check.d.ts +0 -5
  53. package/build/utilities/syntax-check.js +0 -12
  54. package/build/utilities/syntax-check.js.map +0 -1
  55. package/build/utilities.d.ts +0 -4
  56. package/build/utilities.js +0 -5
  57. package/build/utilities.js.map +0 -1
  58. package/build/workflow.d.ts +0 -10
  59. package/build/workflow.js +0 -16
  60. package/build/workflow.js.map +0 -1
package/README.md CHANGED
@@ -7,8 +7,7 @@ TypeLog is a strongly typed logger for TypeScript.
7
7
  ## Usage
8
8
 
9
9
  ```ts
10
- import { Channel } from '@zimtsui/typelog';
11
- import { stderr } from 'node:process';
10
+ import { Channel, type LogEventTarget, LogEvent } from '@zimtsui/typelog';
12
11
 
13
12
  // Declare all log levels whose values are sorted from verbose to severe.
14
13
  enum Level { trace, debug, info, warn, error }
@@ -21,21 +20,35 @@ const envlevels: Record<string, Level> = {
21
20
  };
22
21
 
23
22
  // Determine the log level according to the environment variable.
24
- const envLevel = envlevels[process.env.NODE_ENV ?? ''] ?? Level.info;
23
+ declare const ENV: string;
24
+ const envLevel = envlevels[ENV] ?? Level.info;
25
+
26
+ // Create an event target for listening to log events.
27
+ const eventTarget = new EventTarget() as LogEventTarget<{
28
+ symbolChannelEventType: [typeof Level, payloadType: symbol];
29
+ numberChannelEventType: [typeof Level, payloadType: number];
30
+ }>;
31
+ eventTarget.addEventListener('numberChannelEventType', (evt: LogEvent<'numberChannelEventType', typeof Level, number>) => {
32
+ if (evt.level >= envLevel) console.log(evt.detail satisfies number);
33
+ });
34
+ eventTarget.addEventListener('symbolChannelEventType', (evt: LogEvent<'symbolChannelEventType', typeof Level, symbol>) => {
35
+ if (evt.level >= envLevel) console.log(evt.detail satisfies symbol);
36
+ });
37
+
25
38
 
26
39
  // Create loggers.
27
40
  const logger = {
28
- verbatim: Channel.create<typeof Level, string>(Level, (message, level) => {
29
- if (level >= envLevel) stderr.write(message);
30
- }),
31
- pretty: Channel.create<Record<keyof typeof Level, Level>, unknown>(Level, (message, level) => {
32
- if (level >= envLevel) console.error(message);
41
+ symbolChannel: Channel.attach(eventTarget, 'symbolChannelEventType', Level),
42
+ numberChannel: Channel.attach(eventTarget, 'numberChannelEventType', Level),
43
+ stringChannel: Channel.create<typeof Level, string>(Level, (message, level) => {
44
+ if (level >= envLevel) console.log(message);
33
45
  }),
34
46
  };
35
47
 
36
48
  // Use loggers.
37
- logger.verbatim.info('Hello, world!');
38
- logger.pretty.info('Hello, world!');
49
+ logger.symbolChannel.info(Symbol('Hello, world!'));
50
+ logger.numberChannel.warn(10086);
51
+ logger.stringChannel.trace('Hello, world!');
39
52
  ```
40
53
 
41
54
  ## Good Practice for Node.js
@@ -0,0 +1,8 @@
1
+ import { type LevelEnum, type LogEventTarget, type ChannelMap } from './log-events.ts';
2
+ export type Channel<levelEnum extends LevelEnum.Prototype, message = unknown> = {
3
+ [level in LevelEnum.Name<levelEnum>]: (message: message) => void;
4
+ };
5
+ export declare namespace Channel {
6
+ function create<levelEnum extends LevelEnum.Prototype, message>(levelEnum: levelEnum, f: (message: message, level: levelEnum[keyof levelEnum]) => void): Channel<levelEnum, message>;
7
+ function attach<channelMap extends ChannelMap.Prototype, eventType extends ChannelMap.Names<channelMap>>(eventTarget: LogEventTarget<channelMap>, eventType: eventType, levelEnum: ChannelMap.LevelEnum<channelMap, eventType>): Channel<ChannelMap.LevelEnum<channelMap, eventType>, ChannelMap.Message<channelMap, eventType>>;
8
+ }
@@ -0,0 +1,27 @@
1
+ import { LogEvent } from "./log-events.js";
2
+ export var Channel;
3
+ (function (Channel) {
4
+ function create(levelEnum, f) {
5
+ return new Proxy({}, {
6
+ get(target, prop) {
7
+ if (typeof prop === 'string' && Object.keys(levelEnum).includes(prop))
8
+ return (message) => f(message, levelEnum[prop]);
9
+ else
10
+ throw new Error();
11
+ },
12
+ });
13
+ }
14
+ Channel.create = create;
15
+ function attach(eventTarget, eventType, levelEnum) {
16
+ return new Proxy({}, {
17
+ get(target, prop) {
18
+ if (typeof prop === 'string' && Object.keys(levelEnum).includes(prop))
19
+ return (message) => eventTarget.dispatchEvent(new LogEvent(eventType, levelEnum[prop], message));
20
+ else
21
+ throw new Error();
22
+ },
23
+ });
24
+ }
25
+ Channel.attach = attach;
26
+ })(Channel || (Channel = {}));
27
+ //# sourceMappingURL=channel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"channel.js","sourceRoot":"","sources":["../src/channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwD,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAOjG,MAAM,KAAW,OAAO,CAkCvB;AAlCD,WAAiB,OAAO;IACpB,SAAgB,MAAM,CAClB,SAAoB,EACpB,CAAgE;QAEhE,OAAO,IAAI,KAAK,CAAC,EAAiC,EAAE;YAChD,GAAG,CAAC,MAAM,EAAE,IAAI;gBACZ,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC;oBACjE,OAAO,CAAC,OAAgB,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,EAAE,SAAS,CAAC,IAAiC,CAAC,CAAC,CAAC;;oBACrF,MAAM,IAAI,KAAK,EAAE,CAAC;YAC3B,CAAC;SACJ,CAAC,CAAC;IACP,CAAC;IAXe,cAAM,SAWrB,CAAA;IAED,SAAgB,MAAM,CAIlB,WAAuC,EACvC,SAAoB,EACpB,SAAsD;QAItD,OAAO,IAAI,KAAK,CAAC,EAAiC,EAAE;YAChD,GAAG,CAAC,MAAM,EAAE,IAAI;gBACZ,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC;oBACjE,OAAO,CAAC,OAAgB,EAAE,EAAE,CAAC,WAAW,CAAC,aAAa,CAClD,IAAI,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC,IAAiC,CAAC,EAAE,OAAO,CAAC,CACjF,CAAC;;oBACD,MAAM,IAAI,KAAK,EAAE,CAAC;YAC3B,CAAC;SACJ,CAAC,CAAC;IACP,CAAC;IAnBe,cAAM,SAmBrB,CAAA;AACL,CAAC,EAlCgB,OAAO,KAAP,OAAO,QAkCvB"}
@@ -0,0 +1,21 @@
1
+ import { type EventTarget, type Event } from './typed-events.ts';
2
+ export declare namespace LevelEnum {
3
+ type Prototype = Record<string, unknown>;
4
+ type Level<levelEnum extends LevelEnum.Prototype> = levelEnum[keyof levelEnum];
5
+ type Name<levelEnum extends LevelEnum.Prototype> = Extract<keyof levelEnum, string>;
6
+ }
7
+ export declare class LogEvent<out eventTypes extends string, in out levelEnum extends LevelEnum.Prototype, out message> extends globalThis.CustomEvent<message> implements Event<eventTypes> {
8
+ readonly type: eventTypes;
9
+ readonly level: LevelEnum.Level<levelEnum>;
10
+ constructor(eventType: eventTypes, level: LevelEnum.Level<levelEnum>, message: message);
11
+ }
12
+ export declare namespace ChannelMap {
13
+ type Prototype = Record<string, [LevelEnum.Prototype, unknown]>;
14
+ type Names<channelMap extends ChannelMap.Prototype> = Extract<keyof channelMap, string>;
15
+ type LevelEnum<channelMap extends ChannelMap.Prototype, eventType extends Names<channelMap>> = channelMap[eventType][0];
16
+ type Message<channelMap extends ChannelMap.Prototype, eventType extends Names<channelMap>> = channelMap[eventType][1];
17
+ type EventMap<in out channelMap extends ChannelMap.Prototype> = {
18
+ [eventType in Names<channelMap>]: (evt: LogEvent<eventType, LevelEnum<channelMap, eventType>, Message<channelMap, eventType>>) => LogEvent<eventType, LevelEnum<channelMap, eventType>, Message<channelMap, eventType>>;
19
+ };
20
+ }
21
+ export type LogEventTarget<channelMap extends ChannelMap.Prototype> = EventTarget<ChannelMap.Names<channelMap>, ChannelMap.EventMap<channelMap>>;
@@ -0,0 +1,11 @@
1
+ import {} from "./typed-events.js";
2
+ export class LogEvent extends globalThis.CustomEvent {
3
+ type;
4
+ level;
5
+ constructor(eventType, level, message) {
6
+ super(eventType, { detail: message });
7
+ this.type = eventType;
8
+ this.level = level;
9
+ }
10
+ }
11
+ //# sourceMappingURL=log-events.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"log-events.js","sourceRoot":"","sources":["../src/log-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,MAAM,mBAAmB,CAAC;AASjE,MAAM,OAAO,QAIX,SAAQ,UAAU,CAAC,WAAoB;IACZ,IAAI,CAAa;IAC1B,KAAK,CAA6B;IAClD,YAAmB,SAAqB,EAAE,KAAiC,EAAE,OAAgB;QACzF,KAAK,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;QACtC,IAAI,CAAC,IAAI,GAAG,SAAS,CAAC;QACtB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;CACJ"}
@@ -1 +1 @@
1
- {"fileNames":["../../../../../usr/local/lib/node_modules/typescript/lib/lib.es5.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2017.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2018.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2019.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2020.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2021.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2022.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2023.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2024.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.esnext.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2024.object.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2024.string.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.decorators.d.ts","../../../../../usr/local/lib/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/chalk/source/vendor/ansi-styles/index.d.ts","../node_modules/chalk/source/vendor/supports-color/index.d.ts","../node_modules/chalk/source/index.d.ts","../src/presets.ts","../src/typelog.ts","../node_modules/@types/node/compatibility/disposable.d.ts","../node_modules/@types/node/compatibility/indexable.d.ts","../node_modules/@types/node/compatibility/iterators.d.ts","../node_modules/@types/node/compatibility/index.d.ts","../node_modules/@types/node/globals.typedarray.d.ts","../node_modules/@types/node/buffer.buffer.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/web-globals/abortcontroller.d.ts","../node_modules/@types/node/web-globals/domexception.d.ts","../node_modules/@types/node/web-globals/events.d.ts","../node_modules/undici-types/header.d.ts","../node_modules/undici-types/readable.d.ts","../node_modules/undici-types/file.d.ts","../node_modules/undici-types/fetch.d.ts","../node_modules/undici-types/formdata.d.ts","../node_modules/undici-types/connector.d.ts","../node_modules/undici-types/client.d.ts","../node_modules/undici-types/errors.d.ts","../node_modules/undici-types/dispatcher.d.ts","../node_modules/undici-types/global-dispatcher.d.ts","../node_modules/undici-types/global-origin.d.ts","../node_modules/undici-types/pool-stats.d.ts","../node_modules/undici-types/pool.d.ts","../node_modules/undici-types/handlers.d.ts","../node_modules/undici-types/balanced-pool.d.ts","../node_modules/undici-types/agent.d.ts","../node_modules/undici-types/mock-interceptor.d.ts","../node_modules/undici-types/mock-agent.d.ts","../node_modules/undici-types/mock-client.d.ts","../node_modules/undici-types/mock-pool.d.ts","../node_modules/undici-types/mock-errors.d.ts","../node_modules/undici-types/proxy-agent.d.ts","../node_modules/undici-types/env-http-proxy-agent.d.ts","../node_modules/undici-types/retry-handler.d.ts","../node_modules/undici-types/retry-agent.d.ts","../node_modules/undici-types/api.d.ts","../node_modules/undici-types/interceptors.d.ts","../node_modules/undici-types/util.d.ts","../node_modules/undici-types/cookies.d.ts","../node_modules/undici-types/patch.d.ts","../node_modules/undici-types/websocket.d.ts","../node_modules/undici-types/eventsource.d.ts","../node_modules/undici-types/filereader.d.ts","../node_modules/undici-types/diagnostics-channel.d.ts","../node_modules/undici-types/content-type.d.ts","../node_modules/undici-types/cache.d.ts","../node_modules/undici-types/index.d.ts","../node_modules/@types/node/web-globals/fetch.d.ts","../node_modules/@types/node/web-globals/navigator.d.ts","../node_modules/@types/node/web-globals/storage.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.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/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/sea.d.ts","../node_modules/@types/node/sqlite.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/index.d.ts"],"fileIdsList":[[87,132,135],[87,134,135],[135],[87,135,140,169],[87,135,136,141,146,154,166,177],[87,135,136,137,146,154],[87,135],[82,83,84,87,135],[87,135,138,178],[87,135,139,140,147,155],[87,135,140,166,174],[87,135,141,143,146,154],[87,134,135,142],[87,135,143,144],[87,135,145,146],[87,134,135,146],[87,135,146,147,148,166,177],[87,135,146,147,148,161,166,169],[87,128,135,143,146,149,154,166,177],[87,135,146,147,149,150,154,166,174,177],[87,135,149,151,166,174,177],[85,86,87,88,89,90,91,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183],[87,135,146,152],[87,135,153,177],[87,135,143,146,154,166],[87,135,155],[87,135,156],[87,134,135,157],[87,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183],[87,135,159],[87,135,160],[87,135,146,161,162],[87,135,161,163,178,180],[87,135,146,166,167,169],[87,135,168,169],[87,135,166,167],[87,135,169],[87,135,170],[87,132,135,166,171],[87,135,146,172,173],[87,135,172,173],[87,135,140,154,166,174],[87,135,175],[87,135,154,176],[87,135,149,160,177],[87,135,140,178],[87,135,166,179],[87,135,153,180],[87,135,181],[87,128,135],[87,135,146,148,157,166,169,177,179,180,182],[87,135,166,183],[77,78,87,135],[87,135,176],[87,100,104,135,177],[87,100,135,166,177],[87,95,135],[87,97,100,135,174,177],[87,135,154,174],[87,135,184],[87,95,135,184],[87,97,100,135,154,177],[87,92,93,96,99,135,146,166,177],[87,100,107,135],[87,92,98,135],[87,100,121,122,135],[87,96,100,135,169,177,184],[87,121,135,184],[87,94,95,135,184],[87,100,135],[87,94,95,96,97,98,99,100,101,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,122,123,124,125,126,127,135],[87,100,115,135],[87,100,107,108,135],[87,98,100,108,109,135],[87,99,135],[87,92,95,100,135],[87,100,104,108,109,135],[87,104,135],[87,98,100,103,135,177],[87,92,97,100,107,135],[87,135,166],[87,95,100,121,135,182,184],[79,87,135]],"fileInfos":[{"version":"e41c290ef7dd7dab3493e6cbe5909e0148edf4a8dad0271be08edec368a0f7b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"e12a46ce14b817d4c9e6b2b478956452330bf00c9801b79de46f7a1815b5bd40","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"62bb211266ee48b2d0edf0d8d1b191f0c24fc379a82bd4c1692a082c540bc6b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"f1e2a172204962276504466a6393426d2ca9c54894b1ad0a6c9dad867a65f876","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"b5ce7a470bc3628408429040c4e3a53a27755022a32fd05e2cb694e7015386c7","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"bab26767638ab3557de12c900f0b91f710c7dc40ee9793d5a27d32c04f0bf646","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"61d6a2092f48af66dbfb220e31eea8b10bc02b6932d6e529005fd2d7b3281290","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"acfed6cc001e7f7f26d2ba42222a180ba669bb966d4dd9cb4ad5596516061b13","impliedFormat":99},{"version":"f61a4dc92450609c353738f0a2daebf8cae71b24716dbd952456d80b1e1a48b6","impliedFormat":99},{"version":"f3f76db6e76bc76d13cc4bfa10e1f74390b8ebe279535f62243e8d8acd919314","impliedFormat":99},{"version":"7016742544e0f371e0a3ddcf21c7274f62ad053a3be53b2bb1d8f39e5195bb67","signature":"79d1adfe62be7745827a780131a077da4fb9c6b9111b0ba7137530bf2cb41ddc"},{"version":"49127070c0bb019906b8a3ca20a0ec34538e9a75f11246a3206f2fe6ef72235f","signature":"5fe5a080dbc8dc97ed9a67603955a29ecf232085d0ff5e2ec01db6375fb5a3da"},{"version":"6c7176368037af28cb72f2392010fa1cef295d6d6744bca8cfb54985f3a18c3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"437e20f2ba32abaeb7985e0afe0002de1917bc74e949ba585e49feba65da6ca1","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"a79e62f1e20467e11a904399b8b18b18c0c6eea6b50c1168bf215356d5bebfaf","affectsGlobalScope":true,"impliedFormat":1},{"version":"d802f0e6b5188646d307f070d83512e8eb94651858de8a82d1e47f60fb6da4e2","affectsGlobalScope":true,"impliedFormat":1},{"version":"17bb4105d0ea2ab2bfcb4f77ff8585691d5569c90ae15f4fa8d5ff9fb42b910b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"456fa0c0ab68731564917642b977c71c3b7682240685b118652fb9253c9a6429","affectsGlobalScope":true,"impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"2cbe0621042e2a68c7cbce5dfed3906a1862a16a7d496010636cdbdb91341c0f","affectsGlobalScope":true,"impliedFormat":1},{"version":"f9501cc13ce624c72b61f12b3963e84fad210fbdf0ffbc4590e08460a3f04eba","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"a38efe83ff77c34e0f418a806a01ca3910c02ee7d64212a59d59bca6c2c38fa1","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"2b06b93fd01bcd49d1a6bd1f9b65ddcae6480b9a86e9061634d6f8e354c1468f","impliedFormat":1},{"version":"7b988bc259155186e6b09dd8b32856d9e45c8d261e63c19abaf590bb6550f922","affectsGlobalScope":true,"impliedFormat":1},{"version":"fe7b52f993f9336b595190f3c1fcc259bb2cf6dcb4ac8fdb1e0454cc5df7301e","impliedFormat":1},{"version":"e9b97d69510658d2f4199b7d384326b7c4053b9e6645f5c19e1c2a54ede427fc","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"81711af669f63d43ccb4c08e15beda796656dd46673d0def001c7055db53852d","affectsGlobalScope":true,"impliedFormat":1},{"version":"19d5f8d3930e9f99aa2c36258bf95abbe5adf7e889e6181872d1cdba7c9a7dd5","impliedFormat":1},{"version":"9855e02d837744303391e5623a531734443a5f8e6e8755e018c41d63ad797db2","impliedFormat":1},{"version":"bdba81959361810be44bcfdd283f4d601e406ab5ad1d2bdff0ed480cf983c9d7","impliedFormat":1},{"version":"836a356aae992ff3c28a0212e3eabcb76dd4b0cc06bcb9607aeef560661b860d","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"b326f4813b90d230ec3950f66bd5b5ce3971aac5fac67cfafc54aa07b39fd07f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c8420c7c2b778b334587a4c0311833b5212ff2f684ea37b2f0e2b117f1d7210d","impliedFormat":1},{"version":"b6b08215821c9833b0e8e30ea1ed178009f2f3ff5d7fae3865ee42f97cc87784","impliedFormat":1},{"version":"b795c3e47a26be91ac33d8115acdc37bfa41ecc701fb237c64a23da4d2b7e1d8","impliedFormat":1},{"version":"73cf6cc19f16c0191e4e9d497ab0c11c7b38f1ca3f01ad0f09a3a5a971aac4b8","impliedFormat":1},{"version":"528b62e4272e3ddfb50e8eed9e359dedea0a4d171c3eb8f337f4892aac37b24b","impliedFormat":1},{"version":"ed58b9974bb3114f39806c9c2c6258c4ffa6a255921976a7c53dfa94bf178f42","impliedFormat":1},{"version":"e6fa9ad47c5f71ff733744a029d1dc472c618de53804eae08ffc243b936f87ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"f72bc8fe16da67e4e3268599295797b202b95e54bd215a03f97e925dd1502a36","impliedFormat":1},{"version":"b1b6ee0d012aeebe11d776a155d8979730440082797695fc8e2a5c326285678f","impliedFormat":1},{"version":"45875bcae57270aeb3ebc73a5e3fb4c7b9d91d6b045f107c1d8513c28ece71c0","impliedFormat":1},{"version":"915e18c559321c0afaa8d34674d3eb77e1ded12c3e85bf2a9891ec48b07a1ca5","affectsGlobalScope":true,"impliedFormat":1},{"version":"e9727a118ce60808e62457c89762fe5a4e2be8e9fd0112d12432d1bafdba942f","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"933921f0bb0ec12ef45d1062a1fc0f27635318f4d294e4d99de9a5493e618ca2","impliedFormat":1},{"version":"71a0f3ad612c123b57239a7749770017ecfe6b66411488000aba83e4546fde25","impliedFormat":1},{"version":"70b57b5529051497e9f6482b76d91c0dcbb103d9ead8a0549f5bab8f65e5d031","impliedFormat":1},{"version":"4f9d8ca0c417b67b69eeb54c7ca1bedd7b56034bb9bfd27c5d4f3bc4692daca7","impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","impliedFormat":1},{"version":"3a90b9beac4c2bfdf6517faae0940a042b81652badf747df0a7c7593456f6ebe","impliedFormat":1},{"version":"8302157cd431b3943eed09ad439b4441826c673d9f870dcb0e1f48e891a4211e","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093","impliedFormat":1},{"version":"dba28a419aec76ed864ef43e5f577a5c99a010c32e5949fe4e17a4d57c58dd11","affectsGlobalScope":true,"impliedFormat":1},{"version":"2754d8221d77c7b382096651925eb476f1066b3348da4b73fe71ced7801edada","impliedFormat":1},{"version":"a5890565ed564c7b29eb1b1038d4e10c03a3f5231b0a8d48fea4b41ab19f4f46","impliedFormat":1},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","impliedFormat":1},{"version":"98ffdf93dfdd206516971d28e3e473f417a5cfd41172e46b4ce45008f640588e","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"cee74f5970ffc01041e5bffc3f324c20450534af4054d2c043cb49dbbd4ec8f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"1a654e0d950353614ba4637a8de4f9d367903a0692b748e11fccf8c880c99735","affectsGlobalScope":true,"impliedFormat":1},{"version":"42da246c46ca3fd421b6fd88bb4466cda7137cf33e87ba5ceeded30219c428bd","impliedFormat":1},{"version":"3a051941721a7f905544732b0eb819c8d88333a96576b13af08b82c4f17581e4","impliedFormat":1},{"version":"ac5ed35e649cdd8143131964336ab9076937fa91802ec760b3ea63b59175c10a","impliedFormat":1},{"version":"f2feb9696208311cdcf1936df2b7cbec96a3f0ab9d403952bf170546d4253a90","affectsGlobalScope":true,"impliedFormat":1},{"version":"db3d77167a7da6c5ba0c51c5b654820e3464093f21724ccd774c0b9bc3f81bc0","impliedFormat":1},{"version":"d9b6fd8640f6ad3f13ce9ce47d91061a698cf7763fed7f668e4f89709989aae5","impliedFormat":1}],"root":[80,81],"options":{"allowJs":true,"allowSyntheticDefaultImports":true,"checkJs":true,"composite":true,"experimentalDecorators":true,"module":200,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noUncheckedIndexedAccess":true,"noUncheckedSideEffectImports":true,"outDir":"./","rewriteRelativeImportExtensions":true,"skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"verbatimModuleSyntax":true},"referencedMap":[[132,1],[133,1],[134,2],[87,3],[135,4],[136,5],[137,6],[82,7],[85,8],[83,7],[84,7],[138,9],[139,10],[140,11],[141,12],[142,13],[143,14],[144,14],[145,15],[146,16],[147,17],[148,18],[88,7],[86,7],[149,19],[150,20],[151,21],[184,22],[152,23],[153,24],[154,25],[155,26],[156,27],[157,28],[158,29],[159,30],[160,31],[161,32],[162,32],[163,33],[164,7],[165,7],[166,34],[168,35],[167,36],[169,37],[170,38],[171,39],[172,40],[173,41],[174,42],[175,43],[176,44],[177,45],[178,46],[179,47],[180,48],[181,49],[89,7],[90,7],[91,7],[129,50],[130,7],[131,7],[182,51],[183,52],[79,53],[77,7],[78,54],[107,55],[117,56],[106,55],[127,57],[98,58],[97,59],[126,60],[120,61],[125,62],[100,63],[114,64],[99,65],[123,66],[95,67],[94,60],[124,68],[96,69],[101,70],[102,7],[105,70],[92,7],[128,71],[118,72],[109,73],[110,74],[112,75],[108,76],[111,77],[121,60],[103,78],[104,79],[113,80],[93,81],[116,72],[115,70],[119,7],[122,82],[80,83],[81,7],[75,7],[76,7],[14,7],[13,7],[2,7],[15,7],[16,7],[17,7],[18,7],[19,7],[20,7],[21,7],[22,7],[3,7],[23,7],[24,7],[4,7],[25,7],[29,7],[26,7],[27,7],[28,7],[30,7],[31,7],[32,7],[5,7],[33,7],[34,7],[35,7],[36,7],[6,7],[40,7],[37,7],[38,7],[39,7],[41,7],[7,7],[42,7],[47,7],[48,7],[43,7],[44,7],[45,7],[46,7],[8,7],[52,7],[49,7],[50,7],[51,7],[53,7],[9,7],[54,7],[55,7],[56,7],[58,7],[57,7],[59,7],[60,7],[10,7],[61,7],[62,7],[63,7],[11,7],[64,7],[65,7],[66,7],[67,7],[68,7],[1,7],[69,7],[70,7],[12,7],[73,7],[72,7],[71,7],[74,7]],"latestChangedDtsFile":"./typelog.d.ts","version":"5.7.3"}
1
+ {"fileNames":["../../../../../usr/lib/node_modules/typescript/lib/lib.es5.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2018.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2019.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2021.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2022.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2023.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.dom.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.object.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.string.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.float16.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.error.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.decorators.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/typed-events.ts","../src/log-events.ts","../src/channel.ts","../node_modules/chalk/source/vendor/ansi-styles/index.d.ts","../node_modules/chalk/source/vendor/supports-color/index.d.ts","../node_modules/chalk/source/index.d.ts","../src/presets.ts","../src/typelog.ts"],"fileIdsList":[[85,86],[83],[82],[87],[83,84]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"2ab096661c711e4a81cc464fa1e6feb929a54f5340b46b0a07ac6bbf857471f0","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"60037901da1a425516449b9a20073aa03386cce92f7a1fd902d7602be3a7c2e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22adec94ef7047a6c9d1af3cb96be87a335908bf9ef386ae9fd50eeb37f44c47","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"73f78680d4c08509933daf80947902f6ff41b6230f94dd002ae372620adb0f60","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5239f5c01bcfa9cd32f37c496cf19c61d69d37e48be9de612b541aac915805b","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"74ab49ef89142b729089e1f50c87031a8d34fa18b645837a7bdc35a844d66953","signature":"b32f96c4abf2e5919f10768d1635047c4b764929a9d6584216202d6284df5a0f"},{"version":"4c2194b658cdb939f4fecba0d954df2cc647a3c4e2aa79ee5daa684ffd455541","signature":"7c5a5d0d60a83edb03674428d5ed2d277de5fed579179e3d424a41ccdd22efd6"},{"version":"0a373ff7ed27a915e98b30fc190048d7c9f4632328c9d340c83814e5510a68fd","signature":"83cc7cf8b36fb5c7ef6ae1e285f39650fd73479936d1e2ad3e01b0447e82a802"},{"version":"acfed6cc001e7f7f26d2ba42222a180ba669bb966d4dd9cb4ad5596516061b13","impliedFormat":99},{"version":"f61a4dc92450609c353738f0a2daebf8cae71b24716dbd952456d80b1e1a48b6","impliedFormat":99},{"version":"f3f76db6e76bc76d13cc4bfa10e1f74390b8ebe279535f62243e8d8acd919314","impliedFormat":99},{"version":"7016742544e0f371e0a3ddcf21c7274f62ad053a3be53b2bb1d8f39e5195bb67","signature":"79d1adfe62be7745827a780131a077da4fb9c6b9111b0ba7137530bf2cb41ddc"},"d12d2bec5c0060240a6ade2405663a7fb9889fa6a0fd943852847a378ebeeb43"],"root":[[82,84],88,89],"options":{"allowJs":true,"allowSyntheticDefaultImports":true,"checkJs":true,"composite":true,"experimentalDecorators":true,"module":200,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noUncheckedIndexedAccess":true,"noUncheckedSideEffectImports":true,"outDir":"./","rewriteRelativeImportExtensions":true,"skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"verbatimModuleSyntax":true},"referencedMap":[[87,1],[84,2],[83,3],[88,4],[89,5]],"latestChangedDtsFile":"./typelog.d.ts","version":"5.9.3"}
@@ -0,0 +1,21 @@
1
+ export interface Event<out eventTypes extends string> extends globalThis.Event {
2
+ readonly type: eventTypes;
3
+ }
4
+ export interface EventListener<in events extends globalThis.Event> {
5
+ (evt: events): void;
6
+ }
7
+ export declare namespace EventMap {
8
+ type Prototype<in out eventTypes extends string> = {
9
+ [eventType in eventTypes]: (evt: never) => Event<eventType>;
10
+ };
11
+ }
12
+ export type EventTarget<eventTypes extends string, eventMap extends EventMap.Prototype<eventTypes>> = EventTarget.Pub<eventTypes, eventMap> & EventTarget.Sub<eventTypes, eventMap>;
13
+ export declare namespace EventTarget {
14
+ interface Pub<in eventTypes extends string, out eventMap extends EventMap.Prototype<eventTypes>> extends globalThis.EventTarget {
15
+ dispatchEvent<eventType extends eventTypes>(event: Parameters<eventMap[eventType]>[0]): boolean;
16
+ }
17
+ interface Sub<in eventTypes extends string, out eventMap extends EventMap.Prototype<eventTypes>> extends globalThis.EventTarget {
18
+ addEventListener<eventType extends eventTypes>(eventType: eventType, listener: EventListener<ReturnType<eventMap[eventType]>> | EventListenerObject | null, options?: AddEventListenerOptions | boolean): void;
19
+ removeEventListener<eventType extends eventTypes>(eventType: eventType, listener: EventListener<ReturnType<eventMap[eventType]>> | EventListenerObject | null, options?: EventListenerOptions | boolean): void;
20
+ }
21
+ }
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=typed-events.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typed-events.js","sourceRoot":"","sources":["../src/typed-events.ts"],"names":[],"mappings":""}
@@ -1,6 +1,2 @@
1
- export type Channel<levels extends Readonly<Record<string, unknown>>, message = unknown> = {
2
- [key in keyof levels]: (message: message) => void;
3
- };
4
- export declare namespace Channel {
5
- function create<levels extends Readonly<Record<string, unknown>>, message>(levels: levels, f: (message: message, level: levels[keyof levels]) => void): Channel<levels, message>;
6
- }
1
+ export * from './channel.ts';
2
+ export * from './log-events.ts';
package/build/typelog.js CHANGED
@@ -1,14 +1,3 @@
1
- export var Channel;
2
- (function (Channel) {
3
- function create(levels, f) {
4
- return new Proxy({}, {
5
- get(target, prop) {
6
- if (typeof prop === 'string' && Object.keys(levels).includes(prop))
7
- return (message) => f(message, levels[prop]);
8
- throw new Error();
9
- },
10
- });
11
- }
12
- Channel.create = create;
13
- })(Channel || (Channel = {}));
1
+ export * from "./channel.js";
2
+ export * from "./log-events.js";
14
3
  //# sourceMappingURL=typelog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"typelog.js","sourceRoot":"","sources":["../src/typelog.ts"],"names":[],"mappings":"AAIA,MAAM,KAAW,OAAO,CAavB;AAbD,WAAiB,OAAO;IACvB,SAAgB,MAAM,CACrB,MAAc,EACd,CAA0D;QAE1D,OAAO,IAAI,KAAK,CAAC,EAAqC,EAAE;YACvD,GAAG,CAAC,MAAM,EAAE,IAAI;gBACf,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC;oBACjE,OAAO,CAAC,OAAgB,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC,IAAoB,CAAC,CAAC,CAAC;gBACvE,MAAM,IAAI,KAAK,EAAE,CAAC;YACnB,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;IAXe,cAAM,SAWrB,CAAA;AACF,CAAC,EAbgB,OAAO,KAAP,OAAO,QAavB"}
1
+ {"version":3,"file":"typelog.js","sourceRoot":"","sources":["../src/typelog.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@zimtsui/typelog",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "exports": {
5
5
  ".": "./build/typelog.js",
6
+ "./typed-events": "./build/typed-events.js",
6
7
  "./presets": "./build/presets.js"
7
8
  },
8
9
  "description": "",
@@ -10,7 +11,8 @@
10
11
  "scripts": {
11
12
  "test": "echo \"Error: no test specified\" && exit 1",
12
13
  "build": "tsc -b ./src/tsconfig.json",
13
- "clean": "rm -rf ./build"
14
+ "clean": "rm -rf ./build",
15
+ "prepublishOnly": "npm run clean && npm run build"
14
16
  },
15
17
  "repository": {
16
18
  "type": "git",
@@ -19,8 +21,5 @@
19
21
  "author": "Zim",
20
22
  "dependencies": {
21
23
  "chalk": "^5.4.1"
22
- },
23
- "devDependencies": {
24
- "@types/node": "^22.18.1"
25
24
  }
26
25
  }
@@ -1,2 +0,0 @@
1
- export declare class Aborted extends Error {
2
- }
package/build/abortion.js DELETED
@@ -1,3 +0,0 @@
1
- export class Aborted extends Error {
2
- }
3
- //# sourceMappingURL=abortion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"abortion.js","sourceRoot":"","sources":["../src/abortion.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,OAAQ,SAAQ,KAAK;CAAG"}
@@ -1 +0,0 @@
1
- export declare const console: Console;
package/build/console.js DELETED
@@ -1,11 +0,0 @@
1
- import { Console } from 'node:console';
2
- import { stdout, stderr } from 'node:process';
3
- export const console = new Console({
4
- stdout,
5
- stderr,
6
- inspectOptions: {
7
- depth: null,
8
- }
9
- });
10
- globalThis.console = console;
11
- //# sourceMappingURL=console.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"console.js","sourceRoot":"","sources":["../src/console.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAG9C,MAAM,CAAC,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC;IAClC,MAAM;IACN,MAAM;IACN,cAAc,EAAE;QACf,KAAK,EAAE,IAAI;KACX;CACD,CAAC,CAAC;AAEH,UAAU,CAAC,OAAO,GAAG,OAAO,CAAC"}
@@ -1,3 +0,0 @@
1
- export declare const levels: readonly ["trace", "debug", "info", "warn", "error", "fatal", "silent"];
2
- export declare const envlevels: Record<string, typeof levels[number]>;
3
- export declare function format(message: string, channelName: string, level: typeof levels[number]): string;
package/build/defaults.js DELETED
@@ -1,18 +0,0 @@
1
- import chalk from 'chalk';
2
- export const levels = ['trace', 'debug', 'info', 'warn', 'error', 'fatal', 'silent'];
3
- export const envlevels = {
4
- debug: 'trace',
5
- development: 'debug',
6
- production: 'warn',
7
- };
8
- export function format(message, channelName, level) {
9
- switch (level) {
10
- case 'warn':
11
- return `[${new Date().toLocaleString('zh-CN')}] ${chalk.bgYellow(level)} ${channelName ? `${channelName}: ` : ''}${message}`;
12
- case 'error':
13
- return `[${new Date().toLocaleString('zh-CN')}] ${chalk.bgRed(level)} ${channelName ? `${channelName}: ` : ''}${message}`;
14
- default:
15
- return `[${new Date().toLocaleString('zh-CN')}] ${chalk.bgGray(level)} ${channelName ? `${channelName}: ` : ''}${message}`;
16
- }
17
- }
18
- //# sourceMappingURL=defaults.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"defaults.js","sourceRoot":"","sources":["../src/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,CAAU,CAAC;AAE9F,MAAM,CAAC,MAAM,SAAS,GAA0C;IAC/D,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,OAAO;IACpB,UAAU,EAAE,MAAM;CAClB,CAAC;AAEF,MAAM,UAAU,MAAM,CAAC,OAAe,EAAE,WAAmB,EAAE,KAA4B;IACxF,QAAQ,KAAK,EAAE,CAAC;QACf,KAAK,MAAM;YACV,OAAO,IAAI,IAAI,IAAI,EAAE,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,GAAG,WAAW,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,OAAO,EAAE,CAAC;QAC9H,KAAK,OAAO;YACX,OAAO,IAAI,IAAI,IAAI,EAAE,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,GAAG,WAAW,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,OAAO,EAAE,CAAC;QAC3H;YACC,OAAO,IAAI,IAAI,IAAI,EAAE,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,GAAG,WAAW,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,OAAO,EAAE,CAAC;IAC7H,CAAC;AACF,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from './typelog.ts';
2
- export * as Presets from './presets.ts';
package/build/exports.js DELETED
@@ -1,3 +0,0 @@
1
- export * from "./typelog.js";
2
- export * as Presets from "./presets.js";
3
- //# sourceMappingURL=exports.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"exports.js","sourceRoot":"","sources":["../src/exports.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC"}
@@ -1,3 +0,0 @@
1
- import './loadenv.ts';
2
- import { type Static, type TSchema } from '@sinclair/typebox';
3
- export declare function loadconf<Schema extends TSchema = any>(schema: Schema): Static<Schema>;
@@ -1,16 +0,0 @@
1
- import "./loadenv.js";
2
- import { env } from 'node:process';
3
- import { loadyaml } from "./loadyaml.js";
4
- import { Type } from '@sinclair/typebox';
5
- import { Ajv } from 'ajv';
6
- import { join } from 'node:path';
7
- import { pathToFileURL } from 'node:url';
8
- const ajv = new Ajv();
9
- const config = loadyaml(pathToFileURL(join(env.NOIP_CONFIG_DIR, 'config.yaml')), Type.Any());
10
- export function loadconf(schema) {
11
- if (ajv.validate(schema, config))
12
- return config;
13
- else
14
- throw new Error(ajv.errorsText(ajv.errors));
15
- }
16
- //# sourceMappingURL=loadconf.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loadconf.js","sourceRoot":"","sources":["../../src/loaders/loadconf.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AACtB,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAA6B,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,GAAG,GAAG,IAAI,GAAG,EAAE,CAAC;AAEtB,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,eAAe,EAAE,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;AAE7F,MAAM,UAAU,QAAQ,CAA+B,MAAc;IACpE,IAAI,GAAG,CAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;QAAE,OAAO,MAAM,CAAC;;QAC3C,MAAM,IAAI,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;AAClD,CAAC"}
@@ -1,9 +0,0 @@
1
- declare global {
2
- export namespace NodeJS {
3
- interface ProcessEnv {
4
- NOIP_CONFIG_DIR: string;
5
- NOIP_DATA_DIR: string;
6
- }
7
- }
8
- }
9
- export {};
@@ -1,7 +0,0 @@
1
- import { resolve } from 'node:path';
2
- import envPaths from 'env-paths';
3
- import { env } from 'node:process';
4
- const paths = envPaths('noip-service', { suffix: '' });
5
- env.NOIP_CONFIG_DIR = resolve(env.NOIP_CONFIG_DIR || paths.config);
6
- env.NOIP_DATA_DIR = resolve(env.NOIP_DATA_DIR || paths.data);
7
- //# sourceMappingURL=loadenv.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loadenv.js","sourceRoot":"","sources":["../../src/loaders/loadenv.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,QAAQ,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAGnC,MAAM,KAAK,GAAG,QAAQ,CAAC,cAAc,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC;AAEvD,GAAG,CAAC,eAAe,GAAG,OAAO,CAAC,GAAG,CAAC,eAAe,IAAI,KAAK,CAAC,MAAM,CAAC,CAAC;AACnE,GAAG,CAAC,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- export declare function loadtext(fileUrl: string | URL): string;
@@ -1,6 +0,0 @@
1
- import { readFileSync } from 'node:fs';
2
- import { fileURLToPath } from 'node:url';
3
- export function loadtext(fileUrl) {
4
- return readFileSync(fileURLToPath(fileUrl), 'utf8');
5
- }
6
- //# sourceMappingURL=loadtext.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loadtext.js","sourceRoot":"","sources":["../../src/loaders/loadtext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAGzC,MAAM,UAAU,QAAQ,CAAC,OAAqB;IAC7C,OAAO,YAAY,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,CAAC;AACrD,CAAC"}
@@ -1,2 +0,0 @@
1
- import { type Static, type TSchema } from '@sinclair/typebox';
2
- export declare function loadyaml<Schema extends TSchema>(fileURL: URL | string, schema: Schema): Static<Schema>;
@@ -1,14 +0,0 @@
1
- import YAML from 'yaml';
2
- import {} from '@sinclair/typebox';
3
- import { Ajv } from 'ajv';
4
- import { loadtext } from "./loadtext.js";
5
- const ajv = new Ajv();
6
- export function loadyaml(fileURL, schema) {
7
- const file = loadtext(fileURL);
8
- const parsed = YAML.parse(file);
9
- if (ajv.validate(schema, parsed)) { }
10
- else
11
- throw new Error(ajv.errorsText(ajv.errors));
12
- return parsed;
13
- }
14
- //# sourceMappingURL=loadyaml.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loadyaml.js","sourceRoot":"","sources":["../../src/loaders/loadyaml.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAA6B,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAGzC,MAAM,GAAG,GAAG,IAAI,GAAG,EAAE,CAAC;AACtB,MAAM,UAAU,QAAQ,CAAyB,OAAqB,EAAE,MAAc;IACrF,MAAM,IAAI,GAAG,QAAQ,CAAC,OAAO,CAAC,CAAC;IAC/B,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAChC,IAAI,GAAG,CAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,CAAA,CAAC;;QAAM,MAAM,IAAI,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;IACtF,OAAO,MAAwB,CAAC;AACjC,CAAC"}
@@ -1,4 +0,0 @@
1
- export * from './loaders/loadenv.ts';
2
- export * from './loaders/loadyaml.ts';
3
- export * from './loaders/loadtext.ts';
4
- export * from './loaders/loadconf.ts';
package/build/loaders.js DELETED
@@ -1,5 +0,0 @@
1
- export * from "./loaders/loadenv.js";
2
- export * from "./loaders/loadyaml.js";
3
- export * from "./loaders/loadtext.js";
4
- export * from "./loaders/loadconf.js";
5
- //# sourceMappingURL=loaders.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loaders.js","sourceRoot":"","sources":["../src/loaders.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare function isinstanceof<T>(x: unknown, constructor: new (...args: any[]) => T): x is T;
2
- export declare function assertype<T>(x: T): asserts x is T;
@@ -1,5 +0,0 @@
1
- export function isinstanceof(x, constructor) {
2
- return x instanceof constructor;
3
- }
4
- export function assertype(x) { }
5
- //# sourceMappingURL=assertion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"assertion.js","sourceRoot":"","sources":["../../src/utilities/assertion.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,YAAY,CAAI,CAAU,EAAE,WAAsC;IACjF,OAAO,CAAC,YAAY,WAAW,CAAC;AACjC,CAAC;AAED,MAAM,UAAU,SAAS,CAAI,CAAI,IAAmB,CAAC"}
@@ -1,4 +0,0 @@
1
- export declare function extractCodeTry(codeBlock: string): string;
2
- export declare function extractCode(codeBlock: string): string;
3
- export declare class NotCodeBlock extends Error {
4
- }
@@ -1,21 +0,0 @@
1
- import { lexer } from 'marked';
2
- export function extractCodeTry(codeBlock) {
3
- try {
4
- return extractCode(codeBlock);
5
- }
6
- catch (e) {
7
- if (e instanceof NotCodeBlock)
8
- return codeBlock;
9
- else
10
- throw e;
11
- }
12
- }
13
- export function extractCode(codeBlock) {
14
- const tokens = lexer(codeBlock.trimStart());
15
- if (tokens.length === 1 && tokens[0].type === 'code')
16
- return tokens[0].text;
17
- throw new NotCodeBlock();
18
- }
19
- export class NotCodeBlock extends Error {
20
- }
21
- //# sourceMappingURL=extract-code.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"extract-code.js","sourceRoot":"","sources":["../../src/utilities/extract-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAG/B,MAAM,UAAU,cAAc,CAAC,SAAiB;IAC/C,IAAI,CAAC;QACJ,OAAO,WAAW,CAAC,SAAS,CAAC,CAAC;IAC/B,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACZ,IAAI,CAAC,YAAY,YAAY;YAAE,OAAO,SAAS,CAAC;;YAC3C,MAAM,CAAC,CAAC;IACd,CAAC;AACF,CAAC;AAGD,MAAM,UAAU,WAAW,CAAC,SAAiB;IAC5C,MAAM,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,SAAS,EAAE,CAAC,CAAC;IAC5C,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,CAAC,CAAE,CAAC,IAAI,KAAK,MAAM;QACpD,OAAO,MAAM,CAAC,CAAC,CAAE,CAAC,IAAI,CAAC;IACxB,MAAM,IAAI,YAAY,EAAE,CAAC;AAC1B,CAAC;AAED,MAAM,OAAO,YAAa,SAAQ,KAAK;CAAG"}
@@ -1,3 +0,0 @@
1
- export declare function findBiggestHeadings(markdown: string): [number, number];
2
- export declare function downgradeHeadings(markdown: string, to: number): string;
3
- export declare function extractHeading(markdown: string): [string, string][];
@@ -1,43 +0,0 @@
1
- import { lexer } from 'marked';
2
- function findBiggestHeadingsInTokens(tokens) {
3
- let biggest = Number.POSITIVE_INFINITY;
4
- for (const token of tokens)
5
- if (token.type === 'heading' && token.depth < biggest)
6
- biggest = token.depth;
7
- return [biggest, tokens.filter(token => token.type === 'heading' && token.depth === biggest).length];
8
- }
9
- export function findBiggestHeadings(markdown) {
10
- const tokens = lexer(markdown);
11
- return findBiggestHeadingsInTokens(tokens);
12
- }
13
- function downgrade(tokens, from, to) {
14
- if (from === to)
15
- return;
16
- else if (tokens.some(token => token.type === 'heading' && token.depth === from)) {
17
- downgrade(tokens, from + 1, to + 1);
18
- for (const token of tokens)
19
- if (token.type === 'heading' && token.depth === from) {
20
- token.depth += to - from;
21
- token.raw = token.raw.replace(/#/, '#'.repeat(to - from + 1));
22
- }
23
- }
24
- else
25
- downgrade(tokens, from + 1, to);
26
- }
27
- export function downgradeHeadings(markdown, to) {
28
- const tokens = lexer(markdown);
29
- downgrade(tokens, 1, to);
30
- return tokens.map(token => token.raw).join('');
31
- }
32
- export function extractHeading(markdown) {
33
- const tokens = lexer(markdown.trimStart());
34
- const [biggest] = findBiggestHeadingsInTokens(tokens);
35
- const result = [['', '']];
36
- for (const token of tokens)
37
- if (token.type === 'heading' && token.depth === biggest)
38
- result.push([token.text, '']);
39
- else
40
- result.at(-1)[1] += token.raw;
41
- return result;
42
- }
43
- //# sourceMappingURL=heading.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"heading.js","sourceRoot":"","sources":["../../src/utilities/heading.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAmB,MAAM,QAAQ,CAAC;AAGhD,SAAS,2BAA2B,CAAC,MAAkB;IACtD,IAAI,OAAO,GAAG,MAAM,CAAC,iBAAiB,CAAC;IACvC,KAAK,MAAM,KAAK,IAAI,MAAM;QACzB,IAAI,KAAK,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,KAAK,GAAG,OAAO;YACpD,OAAO,GAAG,KAAK,CAAC,KAAK,CAAC;IACxB,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,KAAK,KAAK,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;AACtG,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,QAAgB;IACnD,MAAM,MAAM,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC/B,OAAO,2BAA2B,CAAC,MAAM,CAAC,CAAC;AAC5C,CAAC;AAGD,SAAS,SAAS,CAAC,MAAkB,EAAE,IAAY,EAAE,EAAU;IAC9D,IAAI,IAAI,KAAK,EAAE;QAAE,OAAO;SACnB,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,KAAK,KAAK,IAAI,CAAC,EAAE,CAAC;QACjF,SAAS,CAAC,MAAM,EAAE,IAAI,GAAC,CAAC,EAAE,EAAE,GAAC,CAAC,CAAC,CAAC;QAEhC,KAAK,MAAM,KAAK,IAAI,MAAM;YACzB,IAAI,KAAK,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,KAAK,KAAK,IAAI,EAAE,CAAC;gBACtD,KAAK,CAAC,KAAK,IAAI,EAAE,GAAC,IAAI,CAAC;gBACvB,KAAK,CAAC,GAAG,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE,GAAC,IAAI,GAAC,CAAC,CAAC,CAAC,CAAC;YAC3D,CAAC;IACH,CAAC;;QAAM,SAAS,CAAC,MAAM,EAAE,IAAI,GAAC,CAAC,EAAE,EAAE,CAAC,CAAC;AACtC,CAAC;AAGD,MAAM,UAAU,iBAAiB,CAAC,QAAgB,EAAE,EAAU;IAC7D,MAAM,MAAM,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC/B,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACzB,OAAO,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAChD,CAAC;AAGD,MAAM,UAAU,cAAc,CAAC,QAAgB;IAC9C,MAAM,MAAM,GAAG,KAAK,CAAC,QAAQ,CAAC,SAAS,EAAE,CAAC,CAAC;IAC3C,MAAM,CAAC,OAAO,CAAC,GAAG,2BAA2B,CAAC,MAAM,CAAC,CAAC;IAEtD,MAAM,MAAM,GAAuB,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;IAC9C,KAAK,MAAM,KAAK,IAAI,MAAM;QACzB,IAAI,KAAK,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,KAAK,KAAK,OAAO;YACtD,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;;YAE9B,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAE,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,GAAG,CAAC;IACjC,OAAO,MAAM,CAAC;AACf,CAAC"}
@@ -1,5 +0,0 @@
1
- export declare function syntaxCheck(code: string): void;
2
- export declare namespace syntaxCheck {
3
- class CompileError extends Error {
4
- }
5
- }
@@ -1,12 +0,0 @@
1
- import assert from 'node:assert';
2
- import { spawnSync } from 'node:child_process';
3
- export function syntaxCheck(code) {
4
- const result = spawnSync('g++', ['-fsyntax-only', '-std=c++17', '-x', 'c++', '-'], { input: code, encoding: 'utf-8' });
5
- assert(!result.status, new syntaxCheck.CompileError(result.stderr));
6
- }
7
- (function (syntaxCheck) {
8
- class CompileError extends Error {
9
- }
10
- syntaxCheck.CompileError = CompileError;
11
- })(syntaxCheck || (syntaxCheck = {}));
12
- //# sourceMappingURL=syntax-check.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"syntax-check.js","sourceRoot":"","sources":["../../src/utilities/syntax-check.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAyB,MAAM,oBAAoB,CAAC;AAItE,MAAM,UAAU,WAAW,CAAC,IAAY;IACvC,MAAM,MAAM,GAA6B,SAAS,CACjD,KAAK,EACL,CAAC,eAAe,EAAE,YAAY,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC,EACjD,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,CAClC,CAAC;IACF,MAAM,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,WAAW,CAAC,YAAY,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;AACrE,CAAC;AAED,WAAiB,WAAW;IAC3B,MAAa,YAAa,SAAQ,KAAK;KAAI;IAA9B,wBAAY,eAAkB,CAAA;AAC5C,CAAC,EAFgB,WAAW,KAAX,WAAW,QAE3B"}
@@ -1,4 +0,0 @@
1
- export * from './utilities/assertion.ts';
2
- export * from './utilities/extract-code.ts';
3
- export * from './utilities/heading.ts';
4
- export * from './utilities/syntax-check.ts';
@@ -1,5 +0,0 @@
1
- export * from "./utilities/assertion.js";
2
- export * from "./utilities/extract-code.js";
3
- export * from "./utilities/heading.js";
4
- export * from "./utilities/syntax-check.js";
5
- //# sourceMappingURL=utilities.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utilities.js","sourceRoot":"","sources":["../src/utilities.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC"}
@@ -1,10 +0,0 @@
1
- import { RWLock } from "@zimtsui/coroutine-locks";
2
- import { Workflow } from "@zimtsui/amenda";
3
- export interface Context {
4
- signal?: AbortSignal;
5
- logcost?: (cost: number) => void;
6
- ratelimited?: RWLock;
7
- stage?: string;
8
- logprogress?: (stage: string) => void;
9
- }
10
- export declare function progressmw<i>(nextStage: string): Workflow.StatefulAsyncGeneratorFunction<i, i, Context, Context>;
package/build/workflow.js DELETED
@@ -1,16 +0,0 @@
1
- import { RWLock } from "@zimtsui/coroutine-locks";
2
- import { Workflow } from "@zimtsui/amenda";
3
- import { env } from "node:process";
4
- export function progressmw(nextStage) {
5
- return async function* (i, ctx) {
6
- ctx.logprogress?.(nextStage);
7
- if (env.NODE_ENV !== 'production')
8
- console.error(`Progress: ${nextStage}`);
9
- const feedback = yield [i, { ...ctx, stage: nextStage }];
10
- ctx.logprogress?.(ctx.stage ?? '');
11
- if (env.NODE_ENV !== 'production' && ctx.stage)
12
- console.error(`Progress: ${ctx.stage}`);
13
- throw feedback;
14
- };
15
- }
16
- //# sourceMappingURL=workflow.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workflow.js","sourceRoot":"","sources":["../src/workflow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAUnC,MAAM,UAAU,UAAU,CAAI,SAAiB;IAC9C,OAAO,KAAK,SAAU,CAAC,EAAC,CAAI,EAAE,GAAY;QACzC,GAAG,CAAC,WAAW,EAAE,CAAC,SAAS,CAAC,CAAC;QAC7B,IAAI,GAAG,CAAC,QAAQ,KAAK,YAAY;YAAE,OAAO,CAAC,KAAK,CAAC,aAAa,SAAS,EAAE,CAAC,CAAC;QAC3E,MAAM,QAAQ,GAAG,MAAM,CAAC,CAAC,EAAE,EAAE,GAAG,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;QACzD,GAAG,CAAC,WAAW,EAAE,CAAC,GAAG,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;QACnC,IAAI,GAAG,CAAC,QAAQ,KAAK,YAAY,IAAI,GAAG,CAAC,KAAK;YAAE,OAAO,CAAC,KAAK,CAAC,aAAa,GAAG,CAAC,KAAK,EAAE,CAAC,CAAC;QACxF,MAAM,QAAQ,CAAC;IAChB,CAAC,CAAA;AACF,CAAC"}