From 796d13f2b495f225775753b81bb8d87290c8400f Mon Sep 17 00:00:00 2001 From: Sam Noel Date: Wed, 2 Oct 2024 16:25:38 -0400 Subject: [PATCH] feat: pino logs --- package.json | 3 +- src/Runner.ts | 12 +- src/Service.ts | 27 ++- src/{Logger.ts => Updater.ts} | 4 +- src/index.ts | 3 +- yarn.lock | 383 +++++++++++++++++++++++++++++++++- 6 files changed, 413 insertions(+), 19 deletions(-) rename src/{Logger.ts => Updater.ts} (97%) diff --git a/package.json b/package.json index f6af491..bc35013 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@oada/jobs", - "version": "4.6.1", + "version": "4.7.0", "description": "A library for oada job based microservices", "source": "src/index.ts", "main": "dist/index.js", @@ -62,6 +62,7 @@ "@oada/lib-prom": "^3.8.0", "@oada/list-lib": "^4.3.0", "@oada/oadaify": "^2.1.0", + "@oada/pino-debug": "^4.0.1", "@oada/types": "^3.5.3", "@sindresorhus/is": "^6.3.1", "ava": "^6.1.3", diff --git a/src/Runner.ts b/src/Runner.ts index beb1079..ddc97c2 100644 --- a/src/Runner.ts +++ b/src/Runner.ts @@ -24,7 +24,7 @@ import type { OADAClient } from '@oada/client'; import type { Json, JsonCompatible } from './index.js'; import { debug, error, info, trace } from './utils.js'; import { Job } from './Job.js'; -import { Logger } from './Logger.js'; +import type { Logger } from '@oada/pino-debug'; import type { Service } from './Service.js'; import { tree } from './tree.js'; @@ -48,6 +48,7 @@ export class Runner { readonly #jobKey: string; readonly #job: Job; readonly #oada: OADAClient; + readonly #log: Logger; /** * Create a Runner @@ -61,6 +62,13 @@ export class Runner { this.#jobKey = jobKey; this.#job = job; this.#oada = oada; + this.#log = service.log.child({ + jobId: job.oadaId, + type: job.type, + // @ts-expect-error Json type is annoying + // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment + ...(job?.config?.traceId ? { traceId: job?.config?.traceId } : {}), + }); } /** @@ -112,7 +120,7 @@ export class Runner { const r = await pTimeout( worker.work(this.#job, { jobId: this.#job.oadaId, - log: new Logger(this), + log: this.#log, oada: this.#oada, }), { diff --git a/src/Service.ts b/src/Service.ts index 71ae0f8..3ef6c6d 100644 --- a/src/Service.ts +++ b/src/Service.ts @@ -15,16 +15,16 @@ * limitations under the License. */ +import { type Logger, pino } from '@oada/pino-debug'; + import type { Config } from '@oada/client'; import { Gauge } from '@oada/lib-prom'; import { OADAClient } from '@oada/client'; import { assert as assertQueue } from '@oada/types/oada/service/queue.js'; import { Report, type ReportConstructor } from './Report.js'; -import { debug, error, warn } from './utils.js'; import { type Job } from './Job.js'; import type { Json } from './index.js'; -import type { Logger } from './Logger.js'; import { Queue } from './Queue.js'; export type Domain = string; @@ -62,6 +62,7 @@ export interface ConstructorArguments { oada?: OADAClient | Config; concurrency?: number; opts?: ServiceOptions; + log?: Logger; } export const defaultServiceQueueName = 'default-service-queue'; @@ -83,6 +84,7 @@ export class Service { public token: string; public opts: ServiceOptions | undefined; public metrics; + public log: Logger; readonly #oada: OADAClient; // Readonly #clients = new Map(); @@ -100,17 +102,21 @@ export class Service { */ constructor(object: ConstructorArguments) { this.name = object.name; + this.log = object.log ?? pino({ base: { service: this.name } }); + if ( // @ts-expect-error instanceof OADAClient does not work object.oada?.getDomain !== undefined && // @ts-expect-error instanceof OADAClient does not work object.oada?.getToken !== undefined ) { - debug('Using oada connection passed to constructor'); + this.log.debug('Using oada connection passed to constructor'); // @ts-expect-error instanceof OADAClient does not work this.#oada = object.oada; } else { - debug('Opening OADA connection from domain/token that were passed'); + this.log.debug( + 'Opening OADA connection from domain/token that were passed' + ); try { // @ts-expect-error instanceof OADAClient does not work this.#oada = new OADAClient(object.oada!); @@ -124,7 +130,6 @@ export class Service { this.domain = this.#oada.getDomain(); this.token = this.#oada.getToken()[0]!; this.concurrency = object.concurrency ?? this.#oada.getConcurrency(); - // TODO: Get total pending jobs in collect callback? this.metrics = new Gauge({ name: 'oada_jobs_total', @@ -213,7 +218,7 @@ export class Service { const worker = this.#workers.get(type); if (!worker) { - error('No worker registered for %s', type); + this.log.error('No worker registered for %s', type); throw new Error(`No worker registered for ${type}`); } @@ -256,9 +261,9 @@ export class Service { await queue.start(this.opts?.skipQueueOnStartup); this.#queue = queue; } catch (error_) { - warn('Invalid queue'); - debug('Invalid queue: %O', error_); - error(error_); + this.log.warn('Invalid queue'); + this.log.debug('Invalid queue: %O', error_); + this.log.error(error_); } } @@ -266,8 +271,8 @@ export class Service { try { await this.#queue?.stop(); } catch (error_) { - warn('Unable to stop queues'); - debug('Unable to stop queue %0', error_); + this.log.warn('Unable to stop queues'); + this.log.debug('Unable to stop queue %0', error_); } } diff --git a/src/Logger.ts b/src/Updater.ts similarity index 97% rename from src/Logger.ts rename to src/Updater.ts index bb1a13d..b38c685 100644 --- a/src/Logger.ts +++ b/src/Updater.ts @@ -21,9 +21,9 @@ import type { Runner } from './Runner.js'; /** * Manages logging updates to a running job. */ -export class Logger { +export class Updater { /** - * Create a Logger. + * Create a Updater. * @param _runner The runner of the job */ constructor(private readonly _runner: Runner) {} diff --git a/src/index.ts b/src/index.ts index ab5d67b..bd36208 100644 --- a/src/index.ts +++ b/src/index.ts @@ -24,12 +24,13 @@ declare global { export { Service, type WorkerFunction, + type WorkerContext, type JobId, type FinishReporter, } from './Service.js'; export { JobError } from './Runner.js'; export { type JobUpdate, Job } from './Job.js'; -export { Logger } from './Logger.js'; +//export { Logger } from './Logger.js'; export { parseAttachment, reportOnItem, type ReportConfig } from './Report.js'; export { postJob, postUpdate } from './utils.js'; diff --git a/yarn.lock b/yarn.lock index 79bcb1e..5d8027d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -496,6 +496,7 @@ __metadata: "@oada/lib-prom": "npm:^3.8.0" "@oada/list-lib": "npm:^4.3.0" "@oada/oadaify": "npm:^2.1.0" + "@oada/pino-debug": "npm:^4.0.1" "@oada/types": "npm:^3.5.3" "@sindresorhus/is": "npm:^6.3.1" "@tsconfig/node20": "npm:^20.1.4" @@ -638,6 +639,23 @@ __metadata: languageName: node linkType: hard +"@oada/pino-debug@portal:/home/sanoel/server/oada/libs/pino-debug::locator=%40oada%2Fjobs%40workspace%3A.": + version: 0.0.0-use.local + resolution: "@oada/pino-debug@portal:/home/sanoel/server/oada/libs/pino-debug::locator=%40oada%2Fjobs%40workspace%3A." + dependencies: + cls-rtracer: "npm:^2.6.3" + is-interactive: "npm:^2.0.0" + pino: "npm:^9.4.0" + pino-caller: "npm:^3.4.0" + pino-debug: "npm:^2.0.0" + pino-loki: "npm:^2.3.1" + pino-pretty: "npm:^11.2.2" + tslib: "npm:2.7.0" + peerDependencies: + debug: "*" + languageName: node + linkType: soft + "@oada/types@npm:^3.5.3": version: 3.5.3 resolution: "@oada/types@npm:3.5.3" @@ -1579,6 +1597,13 @@ __metadata: languageName: node linkType: hard +"atomic-sleep@npm:^1.0.0": + version: 1.0.0 + resolution: "atomic-sleep@npm:1.0.0" + checksum: 10/3ab6d2cf46b31394b4607e935ec5c1c3c4f60f3e30f0913d35ea74b51b3585e84f590d09e58067f11762eec71c87d25314ce859030983dc0e4397eed21daa12e + languageName: node + linkType: hard + "ava@npm:^6.1.3": version: 6.1.3 resolution: "ava@npm:6.1.3" @@ -1673,6 +1698,13 @@ __metadata: languageName: node linkType: hard +"base64-js@npm:^1.3.1": + version: 1.5.1 + resolution: "base64-js@npm:1.5.1" + checksum: 10/669632eb3745404c2f822a18fc3a0122d2f9a7a13f7fb8b5823ee19d1d2ff9ee5b52c53367176ea4ad093c332fd5ab4bd0ebae5a8e27917a4105a4cfc86b1005 + languageName: node + linkType: hard + "bindings@npm:^1.4.0": version: 1.5.0 resolution: "bindings@npm:1.5.0" @@ -1738,6 +1770,23 @@ __metadata: languageName: node linkType: hard +"buffer-from@npm:^1.0.0": + version: 1.1.2 + resolution: "buffer-from@npm:1.1.2" + checksum: 10/0448524a562b37d4d7ed9efd91685a5b77a50672c556ea254ac9a6d30e3403a517d8981f10e565db24e8339413b43c97ca2951f10e399c6125a0d8911f5679bb + languageName: node + linkType: hard + +"buffer@npm:^6.0.3": + version: 6.0.3 + resolution: "buffer@npm:6.0.3" + dependencies: + base64-js: "npm:^1.3.1" + ieee754: "npm:^1.2.1" + checksum: 10/b6bc68237ebf29bdacae48ce60e5e28fc53ae886301f2ad9496618efac49427ed79096750033e7eab1897a4f26ae374ace49106a5758f38fb70c78c9fda2c3b1 + languageName: node + linkType: hard + "builtin-modules@npm:^3.3.0": version: 3.3.0 resolution: "builtin-modules@npm:3.3.0" @@ -2001,6 +2050,15 @@ __metadata: languageName: node linkType: hard +"cls-rtracer@npm:^2.6.3": + version: 2.6.3 + resolution: "cls-rtracer@npm:2.6.3" + dependencies: + uuid: "npm:^9.0.0" + checksum: 10/dc971c23bf0e3c5ad44d4c5c5323d6ab4d5c1d6f2d95a865468998ea9e1b8a2cffad9991ed3d57c456687d56f30a3761daba0172dbbeb791a44b2903ab522052 + languageName: node + linkType: hard + "code-excerpt@npm:^4.0.0": version: 4.0.0 resolution: "code-excerpt@npm:4.0.0" @@ -2051,6 +2109,20 @@ __metadata: languageName: node linkType: hard +"colorette@npm:^2.0.7": + version: 2.0.20 + resolution: "colorette@npm:2.0.20" + checksum: 10/0b8de48bfa5d10afc160b8eaa2b9938f34a892530b2f7d7897e0458d9535a066e3998b49da9d21161c78225b272df19ae3a64d6df28b4c9734c0e55bbd02406f + languageName: node + linkType: hard + +"commander@npm:^12.0.0": + version: 12.1.0 + resolution: "commander@npm:12.1.0" + checksum: 10/cdaeb672d979816853a4eed7f1310a9319e8b976172485c2a6b437ed0db0a389a44cfb222bfbde772781efa9f215bdd1b936f80d6b249485b465c6cb906e1f93 + languageName: node + linkType: hard + "commander@npm:^2.19.0": version: 2.20.3 resolution: "commander@npm:2.20.3" @@ -2365,6 +2437,13 @@ __metadata: languageName: node linkType: hard +"dateformat@npm:^4.6.3": + version: 4.6.3 + resolution: "dateformat@npm:4.6.3" + checksum: 10/5c149c91bf9ce2142c89f84eee4c585f0cb1f6faf2536b1af89873f862666a28529d1ccafc44750aa01384da2197c4f76f4e149a3cc0c1cb2c46f5cc45f2bcb5 + languageName: node + linkType: hard + "debug@npm:4, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.4, debug@npm:^4.3.7": version: 4.3.7 resolution: "debug@npm:4.3.7" @@ -3355,6 +3434,13 @@ __metadata: languageName: node linkType: hard +"events@npm:^3.3.0": + version: 3.3.0 + resolution: "events@npm:3.3.0" + checksum: 10/a3d47e285e28d324d7180f1e493961a2bbb4cad6412090e4dec114f4db1f5b560c7696ee8e758f55e23913ede856e3689cd3aa9ae13c56b5d8314cd3b3ddd1be + languageName: node + linkType: hard + "execa@npm:^5.0.0": version: 5.1.1 resolution: "execa@npm:5.1.1" @@ -3396,6 +3482,13 @@ __metadata: languageName: node linkType: hard +"fast-copy@npm:^3.0.2": + version: 3.0.2 + resolution: "fast-copy@npm:3.0.2" + checksum: 10/97e1022e2aaa27acf4a986d679310bfd66bfb87fe8da9dd33b698e3e50189484001cf1eeb9670e19b59d9d299828ed86c8da354c954f125995ab2a6331c5f290 + languageName: node + linkType: hard + "fast-deep-equal@npm:^3.1.1, fast-deep-equal@npm:^3.1.3": version: 3.1.3 resolution: "fast-deep-equal@npm:3.1.3" @@ -3437,6 +3530,20 @@ __metadata: languageName: node linkType: hard +"fast-redact@npm:^3.0.0, fast-redact@npm:^3.1.1": + version: 3.5.0 + resolution: "fast-redact@npm:3.5.0" + checksum: 10/24b27e2023bd5a62f908d97a753b1adb8d89206b260f97727728e00b693197dea2fc2aa3711147a385d0ec6e713569fd533df37a4ef947e08cb65af3019c7ad5 + languageName: node + linkType: hard + +"fast-safe-stringify@npm:^2.0.8, fast-safe-stringify@npm:^2.1.1": + version: 2.1.1 + resolution: "fast-safe-stringify@npm:2.1.1" + checksum: 10/dc1f063c2c6ac9533aee14d406441f86783a8984b2ca09b19c2fe281f9ff59d315298bc7bc22fd1f83d26fe19ef2f20e2ddb68e96b15040292e555c5ced0c1e4 + languageName: node + linkType: hard + "fastify-plugin@npm:^4.0.0": version: 4.5.1 resolution: "fastify-plugin@npm:4.5.1" @@ -3542,6 +3649,13 @@ __metadata: languageName: node linkType: hard +"flatstr@npm:^1.0.12": + version: 1.0.12 + resolution: "flatstr@npm:1.0.12" + checksum: 10/2334fec61d9b4e1d8de8ceb33d9a8c64f87073d06d5cb157b04c8835c50f600b10e763a303fa388443ee423f28ed600cfd04cba1e793fe5d7c2d7e13fd912a01 + languageName: node + linkType: hard + "flatted@npm:^3.1.0": version: 3.1.1 resolution: "flatted@npm:3.1.1" @@ -3951,6 +4065,13 @@ __metadata: languageName: node linkType: hard +"help-me@npm:^5.0.0": + version: 5.0.0 + resolution: "help-me@npm:5.0.0" + checksum: 10/5f99bd91dae93d02867175c3856c561d7e3a24f16999b08f5fc79689044b938d7ed58457f4d8c8744c01403e6e0470b7896baa344d112b2355842fd935a75d69 + languageName: node + linkType: hard + "hosted-git-info@npm:^2.1.4": version: 2.8.9 resolution: "hosted-git-info@npm:2.8.9" @@ -4252,6 +4373,13 @@ __metadata: languageName: node linkType: hard +"is-interactive@npm:^2.0.0": + version: 2.0.0 + resolution: "is-interactive@npm:2.0.0" + checksum: 10/e8d52ad490bed7ae665032c7675ec07732bbfe25808b0efbc4d5a76b1a1f01c165f332775c63e25e9a03d319ebb6b24f571a9e902669fc1e40b0a60b5be6e26c + languageName: node + linkType: hard + "is-map@npm:^2.0.1": version: 2.0.2 resolution: "is-map@npm:2.0.2" @@ -4535,6 +4663,13 @@ __metadata: languageName: node linkType: hard +"joycon@npm:^3.1.1": + version: 3.1.1 + resolution: "joycon@npm:3.1.1" + checksum: 10/4b36e3479144ec196425f46b3618f8a96ce7e1b658f091a309cd4906215f5b7a402d7df331a3e0a09681381a658d0c5f039cb3cf6907e0a1e17ed847f5d37775 + languageName: node + linkType: hard + "js-string-escape@npm:^1.0.1": version: 1.0.1 resolution: "js-string-escape@npm:1.0.1" @@ -5410,6 +5545,13 @@ __metadata: languageName: node linkType: hard +"on-exit-leak-free@npm:^2.1.0": + version: 2.1.2 + resolution: "on-exit-leak-free@npm:2.1.2" + checksum: 10/f7b4b7200026a08f6e4a17ba6d72e6c5cbb41789ed9cf7deaf9d9e322872c7dc5a7898549a894651ee0ee9ae635d34a678115bf8acdfba8ebd2ba2af688b563c + languageName: node + linkType: hard + "once@npm:^1.3.0, once@npm:^1.3.1, once@npm:^1.4.0": version: 1.4.0 resolution: "once@npm:1.4.0" @@ -5657,6 +5799,127 @@ __metadata: languageName: node linkType: hard +"pino-abstract-transport@npm:^1.0.0, pino-abstract-transport@npm:^1.2.0": + version: 1.2.0 + resolution: "pino-abstract-transport@npm:1.2.0" + dependencies: + readable-stream: "npm:^4.0.0" + split2: "npm:^4.0.0" + checksum: 10/6ec1d19a7ff3347fd21576f744c31c3e38ca4463ae638818408f43698c936f96be6a0bc750af5f7c1ae81873183bfcb062b7a0d12dc159a1813ea900c388c693 + languageName: node + linkType: hard + +"pino-caller@npm:^3.4.0": + version: 3.4.0 + resolution: "pino-caller@npm:3.4.0" + dependencies: + source-map-support: "npm:^0.5.13" + peerDependencies: + pino: "*" + checksum: 10/935967441cd404f961f282deb04b14681bbaf62579711a20a94b36a5c854c455c288f8f1752f599b9013eb0bb3d7392f61b1e86400bb0668f00c91302299c0c9 + languageName: node + linkType: hard + +"pino-debug@npm:^2.0.0": + version: 2.0.0 + resolution: "pino-debug@npm:2.0.0" + dependencies: + pino: "npm:^6.0.2" + peerDependencies: + debug: ">=2" + checksum: 10/4932a7923f60b0ea16d6280369e004914627372a419d77e7eabd02edea4ab634d8ab2fc0a5d17a9868b95a3eeb50963ae5706ae4a02d9619ddf157bc1633001e + languageName: node + linkType: hard + +"pino-loki@npm:^2.3.1": + version: 2.3.1 + resolution: "pino-loki@npm:2.3.1" + dependencies: + commander: "npm:^12.0.0" + pino-abstract-transport: "npm:^1.2.0" + pump: "npm:^3.0.0" + bin: + pino-loki: dist/cli.cjs + checksum: 10/478f40caf04921ce9f8f222bc217080771cc843203458dd200f95afeae99d62732d7b7540285627f3e5da2ffcd9391318ccbf224be68bbfe2f7d50cb52dda5e4 + languageName: node + linkType: hard + +"pino-pretty@npm:^11.2.2": + version: 11.2.2 + resolution: "pino-pretty@npm:11.2.2" + dependencies: + colorette: "npm:^2.0.7" + dateformat: "npm:^4.6.3" + fast-copy: "npm:^3.0.2" + fast-safe-stringify: "npm:^2.1.1" + help-me: "npm:^5.0.0" + joycon: "npm:^3.1.1" + minimist: "npm:^1.2.6" + on-exit-leak-free: "npm:^2.1.0" + pino-abstract-transport: "npm:^1.0.0" + pump: "npm:^3.0.0" + readable-stream: "npm:^4.0.0" + secure-json-parse: "npm:^2.4.0" + sonic-boom: "npm:^4.0.1" + strip-json-comments: "npm:^3.1.1" + bin: + pino-pretty: bin.js + checksum: 10/4a6409da8d7402f6134f0ce7da704e1c39b9f0bc9c2be815ddc5091f97962ee65eec677828c2570b5875e0d8562229a6274a542f25327cbfeeea1d6b20ab21e5 + languageName: node + linkType: hard + +"pino-std-serializers@npm:^3.1.0": + version: 3.2.0 + resolution: "pino-std-serializers@npm:3.2.0" + checksum: 10/7c295474c39c87bcbd52beda250b03316d1eb1afe218d43ced36f54f1f4c5b41f7771b730bc10a63987ec039c374977d2d223c5b99d0b4f32d97e34befd8afdf + languageName: node + linkType: hard + +"pino-std-serializers@npm:^7.0.0": + version: 7.0.0 + resolution: "pino-std-serializers@npm:7.0.0" + checksum: 10/884e08f65aa5463d820521ead3779d4472c78fc434d8582afb66f9dcb8d8c7119c69524b68106cb8caf92c0487be7794cf50e5b9c0383ae65b24bf2a03480951 + languageName: node + linkType: hard + +"pino@npm:^6.0.2": + version: 6.14.0 + resolution: "pino@npm:6.14.0" + dependencies: + fast-redact: "npm:^3.0.0" + fast-safe-stringify: "npm:^2.0.8" + flatstr: "npm:^1.0.12" + pino-std-serializers: "npm:^3.1.0" + process-warning: "npm:^1.0.0" + quick-format-unescaped: "npm:^4.0.3" + sonic-boom: "npm:^1.0.2" + bin: + pino: bin.js + checksum: 10/b1cc51743a2e2ae3afa1abffc8199196f60c81531db5d62f25f3d37d60508199e8687b379a3f67e98b3f2335952df5336473942567f07f01a464a8821e8a61e9 + languageName: node + linkType: hard + +"pino@npm:^9.4.0": + version: 9.4.0 + resolution: "pino@npm:9.4.0" + dependencies: + atomic-sleep: "npm:^1.0.0" + fast-redact: "npm:^3.1.1" + on-exit-leak-free: "npm:^2.1.0" + pino-abstract-transport: "npm:^1.2.0" + pino-std-serializers: "npm:^7.0.0" + process-warning: "npm:^4.0.0" + quick-format-unescaped: "npm:^4.0.3" + real-require: "npm:^0.2.0" + safe-stable-stringify: "npm:^2.3.1" + sonic-boom: "npm:^4.0.1" + thread-stream: "npm:^3.0.0" + bin: + pino: bin.js + checksum: 10/1c730c216052bab277cab619da8fb9ef916fd29c7aee66e0a6e0c089cb41713df6a9071517755e3bef0ca3160629fd85d22c8f9d277e41ce332c91999e073146 + languageName: node + linkType: hard + "pkg-dir@npm:^5.0.0": version: 5.0.0 resolution: "pkg-dir@npm:5.0.0" @@ -5723,6 +5986,27 @@ __metadata: languageName: node linkType: hard +"process-warning@npm:^1.0.0": + version: 1.0.0 + resolution: "process-warning@npm:1.0.0" + checksum: 10/8736d11d8d71c349d176e210305e84d74b13af06efb3c779377b056bfd608257d1e4e32b8fbbf90637c900f0313e40f7c9f583140884f667a21fc10a869b840c + languageName: node + linkType: hard + +"process-warning@npm:^4.0.0": + version: 4.0.0 + resolution: "process-warning@npm:4.0.0" + checksum: 10/0d6ec069f3a6fe1d3379c0247329a297f1f3b9ea7e1d828db0a8f61e0e8337a98b7eb201547350924bc4a101ddcf2fa5cf5563ffe2c54c27651f7996d328483e + languageName: node + linkType: hard + +"process@npm:^0.11.10": + version: 0.11.10 + resolution: "process@npm:0.11.10" + checksum: 10/dbaa7e8d1d5cf375c36963ff43116772a989ef2bb47c9bdee20f38fd8fc061119cf38140631cf90c781aca4d3f0f0d2c834711952b728953f04fd7d238f59f5b + languageName: node + linkType: hard + "prom-client@npm:^14.2.0": version: 14.2.0 resolution: "prom-client@npm:14.2.0" @@ -5756,6 +6040,13 @@ __metadata: languageName: node linkType: hard +"quick-format-unescaped@npm:^4.0.3": + version: 4.0.4 + resolution: "quick-format-unescaped@npm:4.0.4" + checksum: 10/591eca457509a99368b623db05248c1193aa3cedafc9a077d7acab09495db1231017ba3ad1b5386e5633271edd0a03b312d8640a59ee585b8516a42e15438aa7 + languageName: node + linkType: hard + "quick-lru@npm:^4.0.1": version: 4.0.1 resolution: "quick-lru@npm:4.0.1" @@ -5821,6 +6112,19 @@ __metadata: languageName: node linkType: hard +"readable-stream@npm:^4.0.0": + version: 4.5.2 + resolution: "readable-stream@npm:4.5.2" + dependencies: + abort-controller: "npm:^3.0.0" + buffer: "npm:^6.0.3" + events: "npm:^3.3.0" + process: "npm:^0.11.10" + string_decoder: "npm:^1.3.0" + checksum: 10/01b128a559c5fd76a898495f858cf0a8839f135e6a69e3409f986e88460134791657eb46a2ff16826f331682a3c4d0c5a75cef5e52ef259711021ba52b1c2e82 + languageName: node + linkType: hard + "readable-web-to-node-stream@npm:^3.0.2": version: 3.0.2 resolution: "readable-web-to-node-stream@npm:3.0.2" @@ -5830,6 +6134,13 @@ __metadata: languageName: node linkType: hard +"real-require@npm:^0.2.0": + version: 0.2.0 + resolution: "real-require@npm:0.2.0" + checksum: 10/ddf44ee76301c774e9c9f2826da8a3c5c9f8fc87310f4a364e803ef003aa1a43c378b4323051ced212097fff1af459070f4499338b36a7469df1d4f7e8c0ba4c + languageName: node + linkType: hard + "reconnecting-websocket@npm:^4.4.0": version: 4.4.0 resolution: "reconnecting-websocket@npm:4.4.0" @@ -6109,6 +6420,13 @@ __metadata: languageName: node linkType: hard +"safe-stable-stringify@npm:^2.3.1": + version: 2.5.0 + resolution: "safe-stable-stringify@npm:2.5.0" + checksum: 10/2697fa186c17c38c3ca5309637b4ac6de2f1c3d282da27cd5e1e3c88eca0fb1f9aea568a6aabdf284111592c8782b94ee07176f17126031be72ab1313ed46c5c + languageName: node + linkType: hard + "schemes@npm:^1.4.0": version: 1.4.0 resolution: "schemes@npm:1.4.0" @@ -6129,6 +6447,13 @@ __metadata: languageName: node linkType: hard +"secure-json-parse@npm:^2.4.0": + version: 2.7.0 + resolution: "secure-json-parse@npm:2.7.0" + checksum: 10/974386587060b6fc5b1ac06481b2f9dbbb0d63c860cc73dc7533f27835fdb67b0ef08762dbfef25625c15bc0a0c366899e00076cb0d556af06b71e22f1dede4c + languageName: node + linkType: hard + "semver@npm:2 || 3 || 4 || 5": version: 5.7.2 resolution: "semver@npm:5.7.2" @@ -6300,6 +6625,42 @@ __metadata: languageName: node linkType: hard +"sonic-boom@npm:^1.0.2": + version: 1.4.1 + resolution: "sonic-boom@npm:1.4.1" + dependencies: + atomic-sleep: "npm:^1.0.0" + flatstr: "npm:^1.0.12" + checksum: 10/b1de05ae435ae6432df33462ab5406f20dff9f4d647d17c6df3f72e715e42c416d84c55ce0c8d49603a559e3799e3211f3223f19f454820bf9badaa3dd7d233d + languageName: node + linkType: hard + +"sonic-boom@npm:^4.0.1": + version: 4.1.0 + resolution: "sonic-boom@npm:4.1.0" + dependencies: + atomic-sleep: "npm:^1.0.0" + checksum: 10/7d42eb31a79e5927f268217b13206ab39c135c95f5e4b9a68745d9f4fdede0c291216c7594947028a7fdcf850342aa3bc49d0f5211618bfeff06dccdbc1bdb4e + languageName: node + linkType: hard + +"source-map-support@npm:^0.5.13": + version: 0.5.21 + resolution: "source-map-support@npm:0.5.21" + dependencies: + buffer-from: "npm:^1.0.0" + source-map: "npm:^0.6.0" + checksum: 10/8317e12d84019b31e34b86d483dd41d6f832f389f7417faf8fc5c75a66a12d9686e47f589a0554a868b8482f037e23df9d040d29387eb16fa14cb85f091ba207 + languageName: node + linkType: hard + +"source-map@npm:^0.6.0": + version: 0.6.1 + resolution: "source-map@npm:0.6.1" + checksum: 10/59ef7462f1c29d502b3057e822cdbdae0b0e565302c4dd1a95e11e793d8d9d62006cdc10e0fd99163ca33ff2071360cf50ee13f90440806e7ed57d81cba2f7ff + languageName: node + linkType: hard + "spdx-correct@npm:^3.0.0": version: 3.1.1 resolution: "spdx-correct@npm:3.1.1" @@ -6433,7 +6794,7 @@ __metadata: languageName: node linkType: hard -"string_decoder@npm:^1.1.1": +"string_decoder@npm:^1.1.1, string_decoder@npm:^1.3.0": version: 1.3.0 resolution: "string_decoder@npm:1.3.0" dependencies: @@ -6616,6 +6977,15 @@ __metadata: languageName: node linkType: hard +"thread-stream@npm:^3.0.0": + version: 3.1.0 + resolution: "thread-stream@npm:3.1.0" + dependencies: + real-require: "npm:^0.2.0" + checksum: 10/ea2d816c4f6077a7062fac5414a88e82977f807c82ee330938fb9691fe11883bb03f078551c0518bb649c239e47ba113d44014fcbb5db42c5abd5996f35e4213 + languageName: node + linkType: hard + "through2@npm:^4.0.0": version: 4.0.2 resolution: "through2@npm:4.0.2" @@ -6752,7 +7122,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2.4.0, tslib@npm:^2.5.0, tslib@npm:^2.6.2, tslib@npm:^2.7.0": +"tslib@npm:2.7.0, tslib@npm:^2.4.0, tslib@npm:^2.5.0, tslib@npm:^2.6.2, tslib@npm:^2.7.0": version: 2.7.0 resolution: "tslib@npm:2.7.0" checksum: 10/9a5b47ddac65874fa011c20ff76db69f97cf90c78cff5934799ab8894a5342db2d17b4e7613a087046bc1d133d21547ddff87ac558abeec31ffa929c88b7fce6 @@ -6959,6 +7329,15 @@ __metadata: languageName: node linkType: hard +"uuid@npm:^9.0.0": + version: 9.0.1 + resolution: "uuid@npm:9.0.1" + bin: + uuid: dist/bin/uuid + checksum: 10/9d0b6adb72b736e36f2b1b53da0d559125ba3e39d913b6072f6f033e0c87835b414f0836b45bcfaf2bdf698f92297fea1c3cc19b0b258bc182c9c43cc0fab9f2 + languageName: node + linkType: hard + "v8-compile-cache-lib@npm:^3.0.1": version: 3.0.1 resolution: "v8-compile-cache-lib@npm:3.0.1"