@ixfx/debug 0.41.0 → 0.42.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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/types.ts","../src/logger.ts","../src/fps-counter.ts","../src/error-message.ts"],"sourcesContent":[],"mappings":";KAAY,MAAA;EAAA,SAAM,GAAA,EACF,aADE;EAAA,SAAA,IAAA,EAED,aAFC;EAAA,SACF,KAAA,EAEE,aAFF;CAAa;AAEX,KAEN,aAAA,GAFM,CAAA,OAAA,EAEoB,UAFpB,GAAA,MAAA,EAAA,GAAA,IAAA;AAAa,KAGnB,OAAA,GAHmB,MAAA,GAAA,OAAA,GAAA,OAAA,GAAA,MAAA;AAEnB,KAEA,UAAA,GAFa;EACb,SAAA,IAAO,CAAA,EAED,OAFC;EACP,SAAA,GAAA,EAAU,GAAA;;;;;;;AAPtB;;;;;AAG+B;AAE/B;AACA;AACA;;;;ACgCA;AAqDA;;;;;;AAqBA;AAOA;;;;AAwCC;AAID;;;;ACjJA;;;cDoBa,iFAKR;AEvCL;;;;;;;;;;;;;;;;;;;;;;;cFuFa;OAgBZ;;;;;;;KAKW,SAAA,aAAsB;;;;;;cAOrB,uBACP;;;MAEH;cAyCU;;;;;ADpKb;;;;;AAG+B;AAE/B;AACA;AACA;;;;ACgCA;AAqDA;;;;;cCzEa;AD8Fb;;;;ADjHA;;;;AAGkB,cGEL,eHFK,EAAA,CAAA,EAAA,EAAA,OAAA,EAAA,GAAA,MAAA;AAAa"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/types.ts","../src/logger.ts","../src/fps-counter.ts","../src/error-message.ts"],"sourcesContent":[],"mappings":";KAAY,MAAA;EAAA,SAAM,GAAA,EACF,aADE;EAAA,SAAA,IAAA,EAED,aAFC;EAAA,SACF,KAAA,EAEE,aAFF;CAAa;AAEX,KAEN,aAAA,GAFM,CAAA,OAAA,EAEoB,UAFpB,GAAA,MAAA,EAAA,GAAA,IAAA;AAAa,KAGnB,OAAA,GAHmB,MAAA,GAAA,OAAA,GAAA,OAAA,GAAA,MAAA;AAEnB,KAEA,UAAA,GAFa;EACb,SAAA,IAAO,CAAA,EAED,OAFC;EACP,SAAA,GAAA,EAAU,GAAA;;;;;;;AAPtB;;;;;AAG+B;AAE/B;AACA;AACA;;;;ACgCA;AAqDA;;;;;;AAoBA;AAOA;;;;AAwCC;AAID;;;;AChJA;;;cDoBa,iFAKR;AEvCL;;;;;;;;;;;;;;;;;;;;;;;cFuFa;OAeZ;;;;;;;KAKW,SAAA,aAAsB;;;;;;cAOrB,uBACP;;;MAEH;cAyCU;;;;;ADnKb;;;;;AAG+B;AAE/B;AACA;AACA;;;;ACgCA;AAqDA;;;;;cCzEa;AD6Fb;;;;ADhHA;;;;AAGkB,cGEL,eHFK,EAAA,CAAA,EAAA,EAAA,OAAA,EAAA,GAAA,MAAA;AAAa"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["map: Map<K, V>","fn: (key: K, args?: Z) => V","key: K","args?: Z","prefix: string","kind: `log` | `warn` | `error`","colourKey?: string","m: any","_: any","l?: LogOption","defaults: { readonly category?: string; readonly kind?: string }","_: LogMessage | string","messageOrString: LogMessage | string","ex: unknown"],"sources":["../src/util.ts","../src/logger.ts","../src/fps-counter.ts","../src/error-message.ts"],"sourcesContent":["export const getOrGenerateSync =\n <K, V, Z>(map: Map<K, V>, fn: (key: K, args?: Z) => V) =>\n (key: K, args?: Z): V => {\n let value = map.get(key);\n if (value !== undefined) return value;\n value = fn(key, args);\n map.set(key, value);\n return value;\n };","import type { MessageLogger, LogMessage } from \"./types.js\";\nimport { getOrGenerateSync } from \"./util.js\";\n\n/**\n * Returns a console logging function which prefixes messages. This is\n * useful for tracing messages from different components. Each prefix\n * is assigned a colour, further helping to distinguish messages.\n *\n * Use {@link logSet} to get a bundled set.\n *\n * ```\n * // Initialise once\n * const log = logger(`a`);\n * const error = logger(`a`, `error`);\n * const warn = logger(`a`, `warn);\n *\n * // And then use\n * log(`Hello`); // console.log(`a Hello`);\n * error(`Uh-oh`); // console.error(`a Uh-oh`);\n * warn(`Eek!`); // console.warn(`a Eeek!`);\n * ```\n *\n * Provide the `colourKey` parameter to make log messages\n * be coloured the same, even though the prefix is different.\n * ```js\n * // Both loggers will use the same colour because they\n * // share the colour key `system`\n * const log = logger(`a`,`log`,`system`);\n * const log2 = logger(`b`, `log`, `system`);\n * ```\n * @param prefix\n * @param kind\n * @param colourKey Optional key to colour log lines by instead of prefix\n * @returns\n */\n\n\n\n\nexport const logger =\n (\n prefix: string,\n kind: `log` | `warn` | `error` = `log`,\n colourKey?: string\n ): MessageLogger =>\n (m: any) => {\n if (m === undefined) {\n m = `(undefined)`;\n } else if (typeof m === `object`) {\n m = JSON.stringify(m);\n }\n\n const colour = colourKey ?? prefix;\n switch (kind) {\n case `log`: {\n console.log(`%c${ prefix } ${ m }`, `color: ${ logColours(colour) }`);\n break;\n }\n case `warn`: {\n console.warn(prefix, m);\n break;\n }\n case `error`: {\n console.error(prefix, m);\n break;\n }\n }\n };\n\n/**\n* Returns a bundled collection of {@link logger}s\n*\n* ```js\n* const con = logSet(`a`);\n* con.log(`Hello`); // console.log(`a Hello`);\n* con.warn(`Uh-oh`); // console.warn(`a Uh-oh`);\n* con.error(`Eek!`); // console.error(`a Eek!`);\n* ```\n*\n* By default each prefix is assigned a colour. To use\n* another logic, provide the `colourKey` parameter.\n*\n* ```js\n* // Both set of loggers will use same colour\n* const con = logSet(`a`, true, `system`);\n* const con2 = logSet(`b`, true, `system`);\n* ```\n* @param prefix Prefix for log messages\n* @param verbose True by default. If false, log() messages are a no-op\n* @param colourKey If specified, log messages will be coloured by this key instead of prefix (default)\n* @returns\n*/\nexport const logSet = (prefix: string, verbose = true, colourKey?: string) => {\n if (verbose) {\n return {\n log: logger(prefix, `log`, colourKey),\n warn: logger(prefix, `warn`, colourKey),\n error: logger(prefix, `error`, colourKey),\n };\n }\n return {\n\n log: (_: any) => {\n /** no-op */\n },\n warn: logger(prefix, `warn`, colourKey),\n error: logger(prefix, `error`, colourKey),\n };\n};\n\n/**\n * Either a flag for default console logging, or a simple log function\n */\nexport type LogOption = boolean | MessageLogger;\n\n/**\n * Resolve a LogOption to a function\n * @param l\n * @returns\n */\nexport const resolveLogOption = (\n l?: LogOption,\n defaults: { readonly category?: string; readonly kind?: string } = {}\n): MessageLogger => {\n if (l === undefined || (typeof l === `boolean` && !l)) {\n return (_: LogMessage | string) => {\n /** no-op */\n };\n }\n const defaultCat = defaults.category ?? ``;\n const defaultKind = defaults.kind ?? undefined;\n\n if (typeof l === `boolean`) {\n return (messageOrString: LogMessage | string) => {\n const m =\n typeof messageOrString === `string` ? { msg: messageOrString } : messageOrString;\n const kind = m.kind ?? defaultKind;\n const category = m.category ?? defaultCat;\n let message = m.msg;\n if (category) message = `[${ category }] ${ message }`;\n switch (kind) {\n case `error`: {\n console.error(message);\n break;\n }\n case `warn`: {\n console.warn(message);\n break;\n }\n case `info`: {\n console.info(message);\n break;\n }\n default: {\n console.log(message);\n }\n }\n };\n }\n return l;\n};\n\n\nlet logColourCount = 0;\nexport const logColours = getOrGenerateSync(new Map<string, string>(), () => {\n const hue = ++logColourCount * 137.508; // use golden angle approximation\n return `hsl(${ hue },50%,75%)`;\n});","/**\n * Calculates frames per second.\n * \n * Returns a function which needs to be called at the end of each frame.\n * \n * ```js\n * const fps = fpsCounter();\n * \n * function loop() {\n * fps(); // Calculate fps\n * window.requestAnimationFrame(loop);\n * }\n * \n * loop();\n * ```\n * @param autoDisplay If true (default), prints out the FPS to the console\n * @param computeAfterFrames Calculates after this many frames. Higher numbers smoothes the value somewhat\n * @returns \n */\nexport const fpsCounter = (autoDisplay = true, computeAfterFrames = 500) => {\n let count = 0;\n let lastFps = 0;\n let countStart = performance.now();\n\n return () => {\n if (count++ >= computeAfterFrames) {\n const elapsed = performance.now() - countStart;\n countStart = performance.now();\n count = 0;\n lastFps = Math.floor((computeAfterFrames / elapsed) * 1000);\n if (autoDisplay) console.log(`fps: ${ lastFps }`);\n }\n return lastFps\n }\n}","/**\n * Returns a string representation of an error\n * @param ex \n * @returns \n */\nexport const getErrorMessage = (ex: unknown): string => {\n if (typeof ex === `string`) return ex;\n if (ex instanceof Error) {\n return ex.message;\n }\n return ex as string;\n};"],"mappings":"AAAA,MAAa,EACX,CAAUA,EAAgBC,IACxB,CAACC,EAAQC,IAAgB,CACvB,IAAI,EAAQ,EAAI,IAAI,EAAI,CAIxB,OAHI,IAAU,IAAA,IACd,EAAQ,EAAG,EAAK,EAAK,CACrB,EAAI,IAAI,EAAK,EAAM,CACZ,GAHyB,CAIjC,EC+BQ,EACX,CACEC,EACAC,EAAiC,MACjCC,IAEA,AAACC,GAAW,CACN,IAAM,IAAA,GACR,EAAI,cACK,OAAO,GAAM,WACtB,EAAI,KAAK,UAAU,EAAE,EAGvB,IAAM,EAAS,GAAa,EAC5B,OAAQ,EAAR,CACE,IAAK,MACH,QAAQ,IAAI,CAAC,EAAE,EAAG,EAAQ,CAAC,EAAG,GAAI,CAAE,CAAC,OAAO,EAAG,EAAW,EAAO,EAAG,CAAC,CACrE,MAEF,IAAK,OACH,QAAQ,KAAK,EAAQ,EAAE,CACvB,MAEF,IAAK,QACH,QAAQ,MAAM,EAAQ,EAAE,CACxB,KAEH,CACF,EAyBQ,EAAS,CAACH,EAAgB,EAAU,GAAME,IACjD,EACK,CACL,IAAK,EAAO,EAAQ,MAAO,EAAU,CACrC,KAAM,EAAO,EAAQ,OAAQ,EAAU,CACvC,MAAO,EAAO,EAAQ,QAAS,EAAU,AAC1C,EAEI,CAEL,IAAK,AAACE,GAAW,CAEhB,EACD,KAAM,EAAO,EAAQ,OAAQ,EAAU,CACvC,MAAO,EAAO,EAAQ,QAAS,EAAU,AAC1C,EAaU,EAAmB,CAC9BC,EACAC,EAAmE,CAAE,IACnD,CAClB,GAAI,IAAM,IAAA,IAAc,OAAO,GAAM,WAAa,CAAC,EACjD,MAAO,CAACC,GAA2B,CAElC,EAEH,IAAM,EAAa,EAAS,UAAY,GAClC,EAAc,EAAS,MAAQ,IAAA,GA6BrC,OA3BI,OAAO,GAAM,UACR,AAACC,GAAyC,CAC/C,IAAM,EACJ,OAAO,GAAoB,SAAW,CAAE,IAAK,CAAiB,EAAG,EAC7D,EAAO,EAAE,MAAQ,EACjB,EAAW,EAAE,UAAY,EAC3B,EAAU,EAAE,IAEhB,OADI,IAAU,EAAU,CAAC,CAAC,EAAG,EAAU,EAAE,EAAG,GAAU,EAC9C,EAAR,CACE,IAAK,QACH,QAAQ,MAAM,EAAQ,CACtB,MAEF,IAAK,OACH,QAAQ,KAAK,EAAQ,CACrB,MAEF,IAAK,OACH,QAAQ,KAAK,EAAQ,CACrB,MAEF,QACE,QAAQ,IAAI,EAAQ,AAEvB,CACF,EAEI,CACR,EAGD,IAAI,EAAiB,EACrB,MAAa,EAAa,EAAkB,IAAI,IAAuB,IAAM,CAC3E,IAAM,EAAM,EAAE,EAAiB,QAC/B,MAAO,CAAC,IAAI,EAAG,EAAK,SAAS,CAAC,AAC/B,EAAC,CCpJW,EAAa,CAAC,EAAc,GAAM,EAAqB,MAAQ,CAC1E,IAAI,EAAQ,EACR,EAAU,EACV,EAAa,YAAY,KAAK,CAElC,MAAO,IAAM,CACX,GAAI,KAAW,EAAoB,CACjC,IAAM,EAAU,YAAY,KAAK,CAAG,EACpC,EAAa,YAAY,KAAK,CAC9B,EAAQ,EACR,EAAU,KAAK,MAAO,EAAqB,EAAW,IAAK,CACvD,GAAa,QAAQ,IAAI,CAAC,KAAK,EAAG,GAAU,CAAC,AAClD,CACD,OAAO,CACR,CACF,EC7BY,EAAkB,AAACC,GAC1B,OAAO,GAAO,SAAiB,EAC/B,aAAc,MACT,EAAG,QAEL"}
1
+ {"version":3,"file":"index.js","names":["map: Map<K, V>","fn: (key: K, args?: Z) => V","key: K","args?: Z","prefix: string","kind: `log` | `warn` | `error`","colourKey?: string","m: any","_: any","l?: LogOption","defaults: { readonly category?: string; readonly kind?: string }","_: LogMessage | string","messageOrString: LogMessage | string","ex: unknown"],"sources":["../src/util.ts","../src/logger.ts","../src/fps-counter.ts","../src/error-message.ts"],"sourcesContent":["export const getOrGenerateSync =\n <K, V, Z>(map: Map<K, V>, fn: (key: K, args?: Z) => V) =>\n (key: K, args?: Z): V => {\n let value = map.get(key);\n if (value !== undefined) return value;\n value = fn(key, args);\n map.set(key, value);\n return value;\n };","import type { MessageLogger, LogMessage } from \"./types.js\";\nimport { getOrGenerateSync } from \"./util.js\";\n\n/**\n * Returns a console logging function which prefixes messages. This is\n * useful for tracing messages from different components. Each prefix\n * is assigned a colour, further helping to distinguish messages.\n *\n * Use {@link logSet} to get a bundled set.\n *\n * ```\n * // Initialise once\n * const log = logger(`a`);\n * const error = logger(`a`, `error`);\n * const warn = logger(`a`, `warn);\n *\n * // And then use\n * log(`Hello`); // console.log(`a Hello`);\n * error(`Uh-oh`); // console.error(`a Uh-oh`);\n * warn(`Eek!`); // console.warn(`a Eeek!`);\n * ```\n *\n * Provide the `colourKey` parameter to make log messages\n * be coloured the same, even though the prefix is different.\n * ```js\n * // Both loggers will use the same colour because they\n * // share the colour key `system`\n * const log = logger(`a`,`log`,`system`);\n * const log2 = logger(`b`, `log`, `system`);\n * ```\n * @param prefix\n * @param kind\n * @param colourKey Optional key to colour log lines by instead of prefix\n * @returns\n */\n\n\n\n\nexport const logger =\n (\n prefix: string,\n kind: `log` | `warn` | `error` = `log`,\n colourKey?: string\n ): MessageLogger =>\n (m: any) => {\n if (m === undefined) {\n m = `(undefined)`;\n } else if (typeof m === `object`) {\n m = JSON.stringify(m);\n }\n\n const colour = colourKey ?? prefix;\n switch (kind) {\n case `log`: {\n console.log(`%c${ prefix } ${ m }`, `color: ${ logColours(colour) }`);\n break;\n }\n case `warn`: {\n console.warn(prefix, m);\n break;\n }\n case `error`: {\n console.error(prefix, m);\n break;\n }\n }\n };\n\n/**\n* Returns a bundled collection of {@link logger}s\n*\n* ```js\n* const con = logSet(`a`);\n* con.log(`Hello`); // console.log(`a Hello`);\n* con.warn(`Uh-oh`); // console.warn(`a Uh-oh`);\n* con.error(`Eek!`); // console.error(`a Eek!`);\n* ```\n*\n* By default each prefix is assigned a colour. To use\n* another logic, provide the `colourKey` parameter.\n*\n* ```js\n* // Both set of loggers will use same colour\n* const con = logSet(`a`, true, `system`);\n* const con2 = logSet(`b`, true, `system`);\n* ```\n* @param prefix Prefix for log messages\n* @param verbose True by default. If false, log() messages are a no-op\n* @param colourKey If specified, log messages will be coloured by this key instead of prefix (default)\n* @returns\n*/\nexport const logSet = (prefix: string, verbose = true, colourKey?: string) => {\n if (verbose) {\n return {\n log: logger(prefix, `log`, colourKey),\n warn: logger(prefix, `warn`, colourKey),\n error: logger(prefix, `error`, colourKey),\n };\n }\n return {\n log: (_: any) => {\n /** no-op */\n },\n warn: logger(prefix, `warn`, colourKey),\n error: logger(prefix, `error`, colourKey),\n };\n};\n\n/**\n * Either a flag for default console logging, or a simple log function\n */\nexport type LogOption = boolean | MessageLogger;\n\n/**\n * Resolve a LogOption to a function\n * @param l\n * @returns\n */\nexport const resolveLogOption = (\n l?: LogOption,\n defaults: { readonly category?: string; readonly kind?: string } = {}\n): MessageLogger => {\n if (l === undefined || (typeof l === `boolean` && !l)) {\n return (_: LogMessage | string) => {\n /** no-op */\n };\n }\n const defaultCat = defaults.category ?? ``;\n const defaultKind = defaults.kind ?? undefined;\n\n if (typeof l === `boolean`) {\n return (messageOrString: LogMessage | string) => {\n const m =\n typeof messageOrString === `string` ? { msg: messageOrString } : messageOrString;\n const kind = m.kind ?? defaultKind;\n const category = m.category ?? defaultCat;\n let message = m.msg;\n if (category) message = `[${ category }] ${ message }`;\n switch (kind) {\n case `error`: {\n console.error(message);\n break;\n }\n case `warn`: {\n console.warn(message);\n break;\n }\n case `info`: {\n console.info(message);\n break;\n }\n default: {\n console.log(message);\n }\n }\n };\n }\n return l;\n};\n\n\nlet logColourCount = 0;\nexport const logColours = getOrGenerateSync(new Map<string, string>(), () => {\n const hue = ++logColourCount * 137.508; // use golden angle approximation\n return `hsl(${ hue },50%,75%)`;\n});","/**\n * Calculates frames per second.\n * \n * Returns a function which needs to be called at the end of each frame.\n * \n * ```js\n * const fps = fpsCounter();\n * \n * function loop() {\n * fps(); // Calculate fps\n * window.requestAnimationFrame(loop);\n * }\n * \n * loop();\n * ```\n * @param autoDisplay If true (default), prints out the FPS to the console\n * @param computeAfterFrames Calculates after this many frames. Higher numbers smoothes the value somewhat\n * @returns \n */\nexport const fpsCounter = (autoDisplay = true, computeAfterFrames = 500) => {\n let count = 0;\n let lastFps = 0;\n let countStart = performance.now();\n\n return () => {\n if (count++ >= computeAfterFrames) {\n const elapsed = performance.now() - countStart;\n countStart = performance.now();\n count = 0;\n lastFps = Math.floor((computeAfterFrames / elapsed) * 1000);\n if (autoDisplay) console.log(`fps: ${ lastFps }`);\n }\n return lastFps\n }\n}","/**\n * Returns a string representation of an error\n * @param ex \n * @returns \n */\nexport const getErrorMessage = (ex: unknown): string => {\n if (typeof ex === `string`) return ex;\n if (ex instanceof Error) {\n return ex.message;\n }\n return ex as string;\n};"],"mappings":"AAAA,MAAa,EACX,CAAUA,EAAgBC,IACxB,CAACC,EAAQC,IAAgB,CACvB,IAAI,EAAQ,EAAI,IAAI,EAAI,CAIxB,OAHI,IAAU,IAAA,IACd,EAAQ,EAAG,EAAK,EAAK,CACrB,EAAI,IAAI,EAAK,EAAM,CACZ,GAHyB,CAIjC,EC+BQ,EACX,CACEC,EACAC,EAAiC,MACjCC,IAEA,AAACC,GAAW,CACN,IAAM,IAAA,GACR,EAAI,cACK,OAAO,GAAM,WACtB,EAAI,KAAK,UAAU,EAAE,EAGvB,IAAM,EAAS,GAAa,EAC5B,OAAQ,EAAR,CACE,IAAK,MACH,QAAQ,IAAI,CAAC,EAAE,EAAG,EAAQ,CAAC,EAAG,GAAI,CAAE,CAAC,OAAO,EAAG,EAAW,EAAO,EAAG,CAAC,CACrE,MAEF,IAAK,OACH,QAAQ,KAAK,EAAQ,EAAE,CACvB,MAEF,IAAK,QACH,QAAQ,MAAM,EAAQ,EAAE,CACxB,KAEH,CACF,EAyBQ,EAAS,CAACH,EAAgB,EAAU,GAAME,IACjD,EACK,CACL,IAAK,EAAO,EAAQ,MAAO,EAAU,CACrC,KAAM,EAAO,EAAQ,OAAQ,EAAU,CACvC,MAAO,EAAO,EAAQ,QAAS,EAAU,AAC1C,EAEI,CACL,IAAK,AAACE,GAAW,CAEhB,EACD,KAAM,EAAO,EAAQ,OAAQ,EAAU,CACvC,MAAO,EAAO,EAAQ,QAAS,EAAU,AAC1C,EAaU,EAAmB,CAC9BC,EACAC,EAAmE,CAAE,IACnD,CAClB,GAAI,IAAM,IAAA,IAAc,OAAO,GAAM,WAAa,CAAC,EACjD,MAAO,CAACC,GAA2B,CAElC,EAEH,IAAM,EAAa,EAAS,UAAY,GAClC,EAAc,EAAS,MAAQ,IAAA,GA6BrC,OA3BI,OAAO,GAAM,UACR,AAACC,GAAyC,CAC/C,IAAM,EACJ,OAAO,GAAoB,SAAW,CAAE,IAAK,CAAiB,EAAG,EAC7D,EAAO,EAAE,MAAQ,EACjB,EAAW,EAAE,UAAY,EAC3B,EAAU,EAAE,IAEhB,OADI,IAAU,EAAU,CAAC,CAAC,EAAG,EAAU,EAAE,EAAG,GAAU,EAC9C,EAAR,CACE,IAAK,QACH,QAAQ,MAAM,EAAQ,CACtB,MAEF,IAAK,OACH,QAAQ,KAAK,EAAQ,CACrB,MAEF,IAAK,OACH,QAAQ,KAAK,EAAQ,CACrB,MAEF,QACE,QAAQ,IAAI,EAAQ,AAEvB,CACF,EAEI,CACR,EAGD,IAAI,EAAiB,EACrB,MAAa,EAAa,EAAkB,IAAI,IAAuB,IAAM,CAC3E,IAAM,EAAM,EAAE,EAAiB,QAC/B,MAAO,CAAC,IAAI,EAAG,EAAK,SAAS,CAAC,AAC/B,EAAC,CCnJW,EAAa,CAAC,EAAc,GAAM,EAAqB,MAAQ,CAC1E,IAAI,EAAQ,EACR,EAAU,EACV,EAAa,YAAY,KAAK,CAElC,MAAO,IAAM,CACX,GAAI,KAAW,EAAoB,CACjC,IAAM,EAAU,YAAY,KAAK,CAAG,EACpC,EAAa,YAAY,KAAK,CAC9B,EAAQ,EACR,EAAU,KAAK,MAAO,EAAqB,EAAW,IAAK,CACvD,GAAa,QAAQ,IAAI,CAAC,KAAK,EAAG,GAAU,CAAC,AAClD,CACD,OAAO,CACR,CACF,EC7BY,EAAkB,AAACC,GAC1B,OAAO,GAAO,SAAiB,EAC/B,aAAc,MACT,EAAG,QAEL"}
@@ -1 +1 @@
1
- {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/logger.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAc,MAAM,YAAY,CAAC;AAG5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAKH,eAAO,MAAM,MAAM,GAEf,QAAQ,MAAM,EACd,OAAM,KAAK,GAAG,MAAM,GAAG,OAAe,EACtC,YAAY,MAAM,KACjB,aAuBA,CAAC;AAEN;;;;;;;;;;;;;;;;;;;;;;EAsBE;AACF,eAAO,MAAM,MAAM,GAAI,QAAQ,MAAM,EAAE,iBAAc,EAAE,YAAY,MAAM;;;;CAgBxE,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,aAAa,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,GAC3B,IAAI,SAAS,EACb,WAAU;IAAE,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAO,KACpE,aAqCF,CAAC;AAIF,eAAO,MAAM,UAAU,yCAGrB,CAAC"}
1
+ {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/logger.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAc,MAAM,YAAY,CAAC;AAG5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAKH,eAAO,MAAM,MAAM,GAEf,QAAQ,MAAM,EACd,OAAM,KAAK,GAAG,MAAM,GAAG,OAAe,EACtC,YAAY,MAAM,KACjB,aAuBA,CAAC;AAEN;;;;;;;;;;;;;;;;;;;;;;EAsBE;AACF,eAAO,MAAM,MAAM,GAAI,QAAQ,MAAM,EAAE,iBAAc,EAAE,YAAY,MAAM;;;;CAexE,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,aAAa,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,GAC3B,IAAI,SAAS,EACb,WAAU;IAAE,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAO,KACpE,aAqCF,CAAC;AAIF,eAAO,MAAM,UAAU,yCAGrB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixfx/debug",
3
- "version": "0.41.0",
3
+ "version": "0.42.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,