From 08f47b3cc833007c01f3eebb141f021c66890eca Mon Sep 17 00:00:00 2001 From: Joram van den Boezem Date: Sun, 24 Sep 2023 21:47:12 +0700 Subject: [PATCH] feat: remove test dependency (#239) * [create-pull-request] automated change * feat: update node to v20 * chore: wip * feat: remove test dep --- .devcontainer/devcontainer.json | 2 +- README.md | 7 +- TODO.md | 2 +- packages/cli/package.json | 3 +- packages/cli/test/add.test.ts | 5 +- packages/core/package.json | 3 +- packages/core/test/io.test.ts | 5 +- packages/core/test/json.test.ts | 5 +- packages/plugins/src/test/test.ts | 8 +- packages/templates/src/lib.ts | 8 +- yarn.lock | 393 +----------------------------- 11 files changed, 20 insertions(+), 421 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 6abafcfc..cc718f8b 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,6 @@ { "name": "Node.js & TypeScript", - "image": "mcr.microsoft.com/devcontainers/typescript-node:16-bullseye", + "image": "mcr.microsoft.com/devcontainers/typescript-node:20", "features": {}, "forwardPorts": [], "postCreateCommand": "yarn install", diff --git a/README.md b/README.md index a6097b68..74c3f507 100644 --- a/README.md +++ b/README.md @@ -369,10 +369,9 @@ this by setting the `private` property in `package.json` to `false`. _Scope: repo or workspace_ -This plugin enables testing with the [test](https://www.npmjs.com/package/test) -package, which is a port of the native -[node:test](https://nodejs.org/api/test.html) which is only available in Node -≥ 18. It uses [tap](https://node-tap.org) for formatting the TAP output. +This plugin enables testing with the native +[node --test](https://nodejs.org/api/test.html) functionality. It uses +[tap](https://node-tap.org) for formatting the TAP output. When the `typescript` plugin is also installed, it will use [ts-node](https://typestrong.org/ts-node/) to load TypeScript test files. diff --git a/TODO.md b/TODO.md index c1450191..d461abac 100644 --- a/TODO.md +++ b/TODO.md @@ -2,7 +2,7 @@ | Filename | line # | TODO | | :------------------------------------------------------------------------- | :----: | :--------------------------------------------------------------- | -| [packages/cli/test/add.test.ts](packages/cli/test/add.test.ts#L55) | 55 | remove when https://github.com/nodejs/node/issues/47614 resolves | +| [packages/cli/test/add.test.ts](packages/cli/test/add.test.ts#L52) | 52 | remove when https://github.com/nodejs/node/issues/47614 resolves | | [packages/core/src/license.ts](packages/core/src/license.ts#L43) | 43 | Contents is not perfect yet, e.g.: | | [packages/core/src/yarnrc.ts](packages/core/src/yarnrc.ts#L23) | 23 | etc, fix later | | [packages/plugins/src/jest/jest.ts](packages/plugins/src/jest/jest.ts#L31) | 31 | install jest without ts-jest | diff --git a/packages/cli/package.json b/packages/cli/package.json index 4663c8dd..dcd49432 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -19,7 +19,7 @@ "clean": "rm -rf dist && rm -rf types", "prepublish": "yarn build && cp ../../README.md .", "start": "node moker.js", - "test": "NODE_OPTIONS='--loader=ts-node/esm --no-warnings' node--test test/*.test.ts | NODE_OPTIONS='--loader=ts-node/esm --no-warnings' tap --no-coverage" + "test": "NODE_OPTIONS='--loader=ts-node/esm --no-warnings' node --test test/*.test.ts | NODE_OPTIONS='--loader=ts-node/esm --no-warnings' tap --no-coverage" }, "dependencies": { "@mokr/core": "workspace:*", @@ -30,7 +30,6 @@ "devDependencies": { "@types/node": "20.6.2", "tap": "16.3.8", - "test": "3.3.0", "ts-node": "10.9.1", "typescript": "5.2.2" }, diff --git a/packages/cli/test/add.test.ts b/packages/cli/test/add.test.ts index ee2d6b02..c01b7518 100644 --- a/packages/cli/test/add.test.ts +++ b/packages/cli/test/add.test.ts @@ -1,12 +1,9 @@ import { createDirectory, isDirectory, writePackage } from "@mokr/core"; import assert from "node:assert"; +import { beforeEach, describe, it } from "node:test"; import { temporaryDirectory } from "tempy"; -import test from "test"; import cli from "../src/cli.js"; -/* @ts-expect-error */ -const { describe, beforeEach, it } = test; - describe("add", () => { let tempDir: string; diff --git a/packages/core/package.json b/packages/core/package.json index 71d3acb3..a631fc2e 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -17,7 +17,7 @@ "build:watch": "tsc --watch", "clean": "rm -rf dist && rm -rf types", "prepublish": "yarn build", - "test": "NODE_OPTIONS='--loader=ts-node/esm --no-warnings' node--test test/*.test.ts | NODE_OPTIONS='--loader=ts-node/esm --no-warnings' tap --no-coverage" + "test": "NODE_OPTIONS='--loader=ts-node/esm --no-warnings' node --test test/*.test.ts | NODE_OPTIONS='--loader=ts-node/esm --no-warnings' tap --no-coverage" }, "dependencies": { "chalk": "5.3.0", @@ -34,7 +34,6 @@ "@types/node": "20.6.2", "tap": "16.3.8", "tempy": "3.1.0", - "test": "3.3.0", "ts-node": "10.9.1", "typescript": "5.2.2" }, diff --git a/packages/core/test/io.test.ts b/packages/core/test/io.test.ts index a0c3c560..7601f3f4 100644 --- a/packages/core/test/io.test.ts +++ b/packages/core/test/io.test.ts @@ -1,10 +1,7 @@ import assert from "node:assert"; -import test from "test"; +import { beforeEach, describe, it } from "node:test"; import { hasEncounteredErrors, resetState, task } from "../src/io.js"; -/* @ts-expect-error */ -const { beforeEach, describe, it } = test; - describe("task", () => { beforeEach(() => resetState()); diff --git a/packages/core/test/json.test.ts b/packages/core/test/json.test.ts index dcfc3a4d..3413ab60 100644 --- a/packages/core/test/json.test.ts +++ b/packages/core/test/json.test.ts @@ -1,12 +1,9 @@ import assert from "node:assert"; import { writeFileSync } from "node:fs"; +import { describe, it } from "node:test"; import { temporaryFile } from "tempy"; -import test from "test"; import { readJson } from "../src/json.js"; -/* @ts-expect-error */ -const { describe, it } = test; - describe("readJson", () => { it("should read a JSON file", async () => { const path = temporaryFile(); diff --git a/packages/plugins/src/test/test.ts b/packages/plugins/src/test/test.ts index 734d12be..a7e88635 100644 --- a/packages/plugins/src/test/test.ts +++ b/packages/plugins/src/test/test.ts @@ -14,7 +14,7 @@ async function install({ directory }: PluginArgs) { enqueueInstallDependency({ directory, - identifier: ["test", "tap"], + identifier: ["tap"], dev: true, }); @@ -23,7 +23,7 @@ async function install({ directory }: PluginArgs) { directory, data: { scripts: { - test: "node--test | tap --no-coverage", + test: "node --test | tap --no-coverage", }, }, }); @@ -38,7 +38,7 @@ async function install({ directory }: PluginArgs) { directory, data: { scripts: { - test: "NODE_OPTIONS='--loader=ts-node/esm --no-warnings' node--test test/*.test.ts | NODE_OPTIONS='--loader=ts-node/esm --no-warnings' tap --no-coverage", + test: "NODE_OPTIONS='--loader=ts-node/esm --no-warnings' node --test test/*.test.ts | NODE_OPTIONS='--loader=ts-node/esm --no-warnings' tap --no-coverage", }, }, }); @@ -57,7 +57,7 @@ async function install({ directory }: PluginArgs) { } async function remove({ directory }: PluginArgs) { - enqueueRemoveDependency({ directory, identifier: ["test", "ts-node"] }); + enqueueRemoveDependency({ directory, identifier: ["tap", "ts-node"] }); warning("Please review package.json manually"); } diff --git a/packages/templates/src/lib.ts b/packages/templates/src/lib.ts index 9a7d1ac7..c75e2b19 100644 --- a/packages/templates/src/lib.ts +++ b/packages/templates/src/lib.ts @@ -8,7 +8,7 @@ import { join } from "path"; async function apply({ directory }: TemplateArgs) { await installPlugin({ directory, name: "typescript" }); - await installPlugin({ directory, name: "jest" }); + await installPlugin({ directory, name: "test" }); await writeFile({ path: join(directory, "src/sum.ts"), @@ -25,12 +25,14 @@ export function sum(a: number, b: number) { }); await writeFile({ - path: join(directory, "tests/sum.test.ts"), + path: join(directory, "test/sum.test.ts"), contents: ` +import assert from "node:assert"; +import test from "node:test"; import { sum } from "../src/sum.js"; test("adds 1 + 2 to equal 3", () => { - expect(sum(1, 2)).toBe(3); + assert.strictEqual(sum(1, 2), 3); }); `, }); diff --git a/yarn.lock b/yarn.lock index 162c1f73..a694e978 100644 --- a/yarn.lock +++ b/yarn.lock @@ -515,7 +515,6 @@ __metadata: sort-package-json: 2.5.1 tap: 16.3.8 tempy: 3.1.0 - test: 3.3.0 ts-node: 10.9.1 typescript: 5.2.2 yaml: 2.3.2 @@ -1903,16 +1902,6 @@ __metadata: languageName: node linkType: hard -"call-bind@npm:^1.0.0, call-bind@npm:^1.0.2": - version: 1.0.2 - resolution: "call-bind@npm:1.0.2" - dependencies: - function-bind: ^1.1.1 - get-intrinsic: ^1.0.2 - checksum: f8e31de9d19988a4b80f3e704788c4a2d6b6f3d17cfec4f57dc29ced450c53a49270dc66bf0fbd693329ee948dd33e6c90a329519aef17474a4d961e8d6426b0 - languageName: node - linkType: hard - "caller-callsite@npm:^4.1.0": version: 4.1.0 resolution: "caller-callsite@npm:4.1.0" @@ -2568,16 +2557,6 @@ __metadata: languageName: node linkType: hard -"define-properties@npm:^1.1.3, define-properties@npm:^1.1.4": - version: 1.1.4 - resolution: "define-properties@npm:1.1.4" - dependencies: - has-property-descriptors: ^1.0.0 - object-keys: ^1.1.1 - checksum: ce0aef3f9eb193562b5cfb79b2d2c86b6a109dfc9fdcb5f45d680631a1a908c06824ddcdb72b7573b54e26ace07f0a23420aaba0d5c627b34d2c1de8ef527e2b - languageName: node - linkType: hard - "delegates@npm:^1.0.0": version: 1.0.0 resolution: "delegates@npm:1.0.0" @@ -2829,50 +2808,6 @@ __metadata: languageName: node linkType: hard -"es-abstract@npm:^1.19.0, es-abstract@npm:^1.20.4": - version: 1.20.5 - resolution: "es-abstract@npm:1.20.5" - dependencies: - call-bind: ^1.0.2 - es-to-primitive: ^1.2.1 - function-bind: ^1.1.1 - function.prototype.name: ^1.1.5 - get-intrinsic: ^1.1.3 - get-symbol-description: ^1.0.0 - gopd: ^1.0.1 - has: ^1.0.3 - has-property-descriptors: ^1.0.0 - has-symbols: ^1.0.3 - internal-slot: ^1.0.3 - is-callable: ^1.2.7 - is-negative-zero: ^2.0.2 - is-regex: ^1.1.4 - is-shared-array-buffer: ^1.0.2 - is-string: ^1.0.7 - is-weakref: ^1.0.2 - object-inspect: ^1.12.2 - object-keys: ^1.1.1 - object.assign: ^4.1.4 - regexp.prototype.flags: ^1.4.3 - safe-regex-test: ^1.0.0 - string.prototype.trimend: ^1.0.6 - string.prototype.trimstart: ^1.0.6 - unbox-primitive: ^1.0.2 - checksum: 00564779ddaf7fb977ab5aa2b8ea2cbd4fa2335ad5368f788bd0bb094c86bc1790335dd9c3e30374bb0af2fa54c724fb4e0c73659dcfe8e427355a56f2b65946 - languageName: node - linkType: hard - -"es-to-primitive@npm:^1.2.1": - version: 1.2.1 - resolution: "es-to-primitive@npm:1.2.1" - dependencies: - is-callable: ^1.1.4 - is-date-object: ^1.0.1 - is-symbol: ^1.0.2 - checksum: 4ead6671a2c1402619bdd77f3503991232ca15e17e46222b0a41a5d81aebc8740a77822f5b3c965008e631153e9ef0580540007744521e72de8e33599fca2eed - languageName: node - linkType: hard - "es6-error@npm:^4.0.1": version: 4.1.1 resolution: "es6-error@npm:4.1.1" @@ -3286,25 +3221,6 @@ __metadata: languageName: node linkType: hard -"function.prototype.name@npm:^1.1.5": - version: 1.1.5 - resolution: "function.prototype.name@npm:1.1.5" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.1.3 - es-abstract: ^1.19.0 - functions-have-names: ^1.2.2 - checksum: acd21d733a9b649c2c442f067567743214af5fa248dbeee69d8278ce7df3329ea5abac572be9f7470b4ec1cd4d8f1040e3c5caccf98ebf2bf861a0deab735c27 - languageName: node - linkType: hard - -"functions-have-names@npm:^1.2.2": - version: 1.2.3 - resolution: "functions-have-names@npm:1.2.3" - checksum: c3f1f5ba20f4e962efb71344ce0a40722163e85bee2101ce25f88214e78182d2d2476aa85ef37950c579eb6cf6ee811c17b3101bb84004bb75655f3e33f3fdb5 - languageName: node - linkType: hard - "fuzzy-search@npm:^3.2.1": version: 3.2.1 resolution: "fuzzy-search@npm:3.2.1" @@ -3358,17 +3274,6 @@ __metadata: languageName: node linkType: hard -"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3": - version: 1.1.3 - resolution: "get-intrinsic@npm:1.1.3" - dependencies: - function-bind: ^1.1.1 - has: ^1.0.3 - has-symbols: ^1.0.3 - checksum: 152d79e87251d536cf880ba75cfc3d6c6c50e12b3a64e1ea960e73a3752b47c69f46034456eae1b0894359ce3bc64c55c186f2811f8a788b75b638b06fab228a - languageName: node - linkType: hard - "get-package-type@npm:^0.1.0": version: 0.1.0 resolution: "get-package-type@npm:0.1.0" @@ -3404,16 +3309,6 @@ __metadata: languageName: node linkType: hard -"get-symbol-description@npm:^1.0.0": - version: 1.0.0 - resolution: "get-symbol-description@npm:1.0.0" - dependencies: - call-bind: ^1.0.2 - get-intrinsic: ^1.1.1 - checksum: 9ceff8fe968f9270a37a1f73bf3f1f7bda69ca80f4f80850670e0e7b9444ff99323f7ac52f96567f8b5f5fbe7ac717a0d81d3407c7313e82810c6199446a5247 - languageName: node - linkType: hard - "git-config-path@npm:^2.0.0": version: 2.0.0 resolution: "git-config-path@npm:2.0.0" @@ -3538,15 +3433,6 @@ __metadata: languageName: node linkType: hard -"gopd@npm:^1.0.1": - version: 1.0.1 - resolution: "gopd@npm:1.0.1" - dependencies: - get-intrinsic: ^1.1.3 - checksum: a5ccfb8806e0917a94e0b3de2af2ea4979c1da920bc381667c260e00e7cafdbe844e2cb9c5bcfef4e5412e8bf73bab837285bc35c7ba73aaaf0134d4583393a6 - languageName: node - linkType: hard - "graceful-fs@npm:4.2.10, graceful-fs@npm:^4.1.15, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.6": version: 4.2.10 resolution: "graceful-fs@npm:4.2.10" @@ -3579,13 +3465,6 @@ __metadata: languageName: node linkType: hard -"has-bigints@npm:^1.0.1, has-bigints@npm:^1.0.2": - version: 1.0.2 - resolution: "has-bigints@npm:1.0.2" - checksum: 390e31e7be7e5c6fe68b81babb73dfc35d413604d7ee5f56da101417027a4b4ce6a27e46eff97ad040c835b5d228676eae99a9b5c3bc0e23c8e81a49241ff45b - languageName: node - linkType: hard - "has-flag@npm:^3.0.0": version: 3.0.0 resolution: "has-flag@npm:3.0.0" @@ -3600,31 +3479,6 @@ __metadata: languageName: node linkType: hard -"has-property-descriptors@npm:^1.0.0": - version: 1.0.0 - resolution: "has-property-descriptors@npm:1.0.0" - dependencies: - get-intrinsic: ^1.1.1 - checksum: a6d3f0a266d0294d972e354782e872e2fe1b6495b321e6ef678c9b7a06a40408a6891817350c62e752adced73a94ac903c54734fee05bf65b1905ee1368194bb - languageName: node - linkType: hard - -"has-symbols@npm:^1.0.2, has-symbols@npm:^1.0.3": - version: 1.0.3 - resolution: "has-symbols@npm:1.0.3" - checksum: a054c40c631c0d5741a8285010a0777ea0c068f99ed43e5d6eb12972da223f8af553a455132fdb0801bdcfa0e0f443c0c03a68d8555aa529b3144b446c3f2410 - languageName: node - linkType: hard - -"has-tostringtag@npm:^1.0.0": - version: 1.0.0 - resolution: "has-tostringtag@npm:1.0.0" - dependencies: - has-symbols: ^1.0.2 - checksum: cc12eb28cb6ae22369ebaad3a8ab0799ed61270991be88f208d508076a1e99abe4198c965935ce85ea90b60c94ddda73693b0920b58e7ead048b4a391b502c1c - languageName: node - linkType: hard - "has-unicode@npm:^2.0.1": version: 2.0.1 resolution: "has-unicode@npm:2.0.1" @@ -3961,17 +3815,6 @@ __metadata: languageName: node linkType: hard -"internal-slot@npm:^1.0.3": - version: 1.0.4 - resolution: "internal-slot@npm:1.0.4" - dependencies: - get-intrinsic: ^1.1.3 - has: ^1.0.3 - side-channel: ^1.0.4 - checksum: 8974588d06bab4f675573a3b52975370facf6486df51bc0567a982c7024fa29495f10b76c0d4dc742dd951d1b72024fdc1e31bb0bedf1678dc7aacacaf5a4f73 - languageName: node - linkType: hard - "into-stream@npm:^7.0.0": version: 7.0.0 resolution: "into-stream@npm:7.0.0" @@ -4020,15 +3863,6 @@ __metadata: languageName: node linkType: hard -"is-bigint@npm:^1.0.1": - version: 1.0.4 - resolution: "is-bigint@npm:1.0.4" - dependencies: - has-bigints: ^1.0.1 - checksum: c56edfe09b1154f8668e53ebe8252b6f185ee852a50f9b41e8d921cb2bed425652049fbe438723f6cb48a63ca1aa051e948e7e401e093477c99c84eba244f666 - languageName: node - linkType: hard - "is-binary-path@npm:~2.1.0": version: 2.1.0 resolution: "is-binary-path@npm:2.1.0" @@ -4038,16 +3872,6 @@ __metadata: languageName: node linkType: hard -"is-boolean-object@npm:^1.1.0": - version: 1.1.2 - resolution: "is-boolean-object@npm:1.1.2" - dependencies: - call-bind: ^1.0.2 - has-tostringtag: ^1.0.0 - checksum: c03b23dbaacadc18940defb12c1c0e3aaece7553ef58b162a0f6bba0c2a7e1551b59f365b91e00d2dbac0522392d576ef322628cb1d036a0fe51eb466db67222 - languageName: node - linkType: hard - "is-buffer@npm:^2.0.0": version: 2.0.5 resolution: "is-buffer@npm:2.0.5" @@ -4055,13 +3879,6 @@ __metadata: languageName: node linkType: hard -"is-callable@npm:^1.1.4, is-callable@npm:^1.2.7": - version: 1.2.7 - resolution: "is-callable@npm:1.2.7" - checksum: 61fd57d03b0d984e2ed3720fb1c7a897827ea174bd44402878e059542ea8c4aeedee0ea0985998aa5cc2736b2fa6e271c08587addb5b3959ac52cf665173d1ac - languageName: node - linkType: hard - "is-ci@npm:^2.0.0": version: 2.0.0 resolution: "is-ci@npm:2.0.0" @@ -4091,15 +3908,6 @@ __metadata: languageName: node linkType: hard -"is-date-object@npm:^1.0.1": - version: 1.0.5 - resolution: "is-date-object@npm:1.0.5" - dependencies: - has-tostringtag: ^1.0.0 - checksum: baa9077cdf15eb7b58c79398604ca57379b2fc4cf9aa7a9b9e295278648f628c9b201400c01c5e0f7afae56507d741185730307cbe7cad3b9f90a77e5ee342fc - languageName: node - linkType: hard - "is-decimal@npm:^1.0.0": version: 1.0.4 resolution: "is-decimal@npm:1.0.4" @@ -4158,22 +3966,6 @@ __metadata: languageName: node linkType: hard -"is-negative-zero@npm:^2.0.2": - version: 2.0.2 - resolution: "is-negative-zero@npm:2.0.2" - checksum: f3232194c47a549da60c3d509c9a09be442507616b69454716692e37ae9f37c4dea264fb208ad0c9f3efd15a796a46b79df07c7e53c6227c32170608b809149a - languageName: node - linkType: hard - -"is-number-object@npm:^1.0.4": - version: 1.0.7 - resolution: "is-number-object@npm:1.0.7" - dependencies: - has-tostringtag: ^1.0.0 - checksum: d1e8d01bb0a7134c74649c4e62da0c6118a0bfc6771ea3c560914d52a627873e6920dd0fd0ebc0e12ad2ff4687eac4c308f7e80320b973b2c8a2c8f97a7524f7 - languageName: node - linkType: hard - "is-number@npm:^7.0.0": version: 7.0.0 resolution: "is-number@npm:7.0.0" @@ -4209,25 +4001,6 @@ __metadata: languageName: node linkType: hard -"is-regex@npm:^1.1.4": - version: 1.1.4 - resolution: "is-regex@npm:1.1.4" - dependencies: - call-bind: ^1.0.2 - has-tostringtag: ^1.0.0 - checksum: 362399b33535bc8f386d96c45c9feb04cf7f8b41c182f54174c1a45c9abbbe5e31290bbad09a458583ff6bf3b2048672cdb1881b13289569a7c548370856a652 - languageName: node - linkType: hard - -"is-shared-array-buffer@npm:^1.0.2": - version: 1.0.2 - resolution: "is-shared-array-buffer@npm:1.0.2" - dependencies: - call-bind: ^1.0.2 - checksum: 9508929cf14fdc1afc9d61d723c6e8d34f5e117f0bffda4d97e7a5d88c3a8681f633a74f8e3ad1fe92d5113f9b921dc5ca44356492079612f9a247efbce7032a - languageName: node - linkType: hard - "is-stream@npm:^2.0.0": version: 2.0.1 resolution: "is-stream@npm:2.0.1" @@ -4242,24 +4015,6 @@ __metadata: languageName: node linkType: hard -"is-string@npm:^1.0.5, is-string@npm:^1.0.7": - version: 1.0.7 - resolution: "is-string@npm:1.0.7" - dependencies: - has-tostringtag: ^1.0.0 - checksum: 323b3d04622f78d45077cf89aab783b2f49d24dc641aa89b5ad1a72114cfeff2585efc8c12ef42466dff32bde93d839ad321b26884cf75e5a7892a938b089989 - languageName: node - linkType: hard - -"is-symbol@npm:^1.0.2, is-symbol@npm:^1.0.3": - version: 1.0.4 - resolution: "is-symbol@npm:1.0.4" - dependencies: - has-symbols: ^1.0.2 - checksum: 92805812ef590738d9de49d677cd17dfd486794773fb6fa0032d16452af46e9b91bb43ffe82c983570f015b37136f4b53b28b8523bfb10b0ece7a66c31a54510 - languageName: node - linkType: hard - "is-text-path@npm:^2.0.0": version: 2.0.0 resolution: "is-text-path@npm:2.0.0" @@ -4283,15 +4038,6 @@ __metadata: languageName: node linkType: hard -"is-weakref@npm:^1.0.2": - version: 1.0.2 - resolution: "is-weakref@npm:1.0.2" - dependencies: - call-bind: ^1.0.2 - checksum: 95bd9a57cdcb58c63b1c401c60a474b0f45b94719c30f548c891860f051bc2231575c290a6b420c6bc6e7ed99459d424c652bd5bf9a1d5259505dc35b4bf83de - languageName: node - linkType: hard - "is-windows@npm:^1.0.2": version: 1.0.2 resolution: "is-windows@npm:1.0.2" @@ -5549,7 +5295,6 @@ __metadata: "@types/node": 20.6.2 bandersnatch: 1.12.6 tap: 16.3.8 - test: 3.3.0 ts-node: 10.9.1 typescript: 5.2.2 bin: @@ -6021,32 +5766,6 @@ __metadata: languageName: node linkType: hard -"object-inspect@npm:^1.12.2, object-inspect@npm:^1.9.0": - version: 1.12.2 - resolution: "object-inspect@npm:1.12.2" - checksum: a534fc1b8534284ed71f25ce3a496013b7ea030f3d1b77118f6b7b1713829262be9e6243acbcb3ef8c626e2b64186112cb7f6db74e37b2789b9c789ca23048b2 - languageName: node - linkType: hard - -"object-keys@npm:^1.1.1": - version: 1.1.1 - resolution: "object-keys@npm:1.1.1" - checksum: b363c5e7644b1e1b04aa507e88dcb8e3a2f52b6ffd0ea801e4c7a62d5aa559affe21c55a07fd4b1fd55fc03a33c610d73426664b20032405d7b92a1414c34d6a - languageName: node - linkType: hard - -"object.assign@npm:^4.1.4": - version: 4.1.4 - resolution: "object.assign@npm:4.1.4" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.1.4 - has-symbols: ^1.0.3 - object-keys: ^1.1.1 - checksum: 76cab513a5999acbfe0ff355f15a6a125e71805fcf53de4e9d4e082e1989bdb81d1e329291e1e4e0ae7719f0e4ef80e88fb2d367ae60500d79d25a6224ac8864 - languageName: node - linkType: hard - "once@npm:^1.3.0, once@npm:^1.4.0": version: 1.4.0 resolution: "once@npm:1.4.0" @@ -6782,7 +6501,7 @@ __metadata: languageName: node linkType: hard -"readable-stream@npm:^4.1.0, readable-stream@npm:^4.3.0": +"readable-stream@npm:^4.1.0": version: 4.3.0 resolution: "readable-stream@npm:4.3.0" dependencies: @@ -6812,17 +6531,6 @@ __metadata: languageName: node linkType: hard -"regexp.prototype.flags@npm:^1.4.3": - version: 1.4.3 - resolution: "regexp.prototype.flags@npm:1.4.3" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.1.3 - functions-have-names: ^1.2.2 - checksum: 51228bae732592adb3ededd5e15426be25f289e9c4ef15212f4da73f4ec3919b6140806374b8894036a86020d054a8d2657d3fee6bb9b4d35d8939c20030b7a6 - languageName: node - linkType: hard - "registry-auth-token@npm:^5.0.0": version: 5.0.2 resolution: "registry-auth-token@npm:5.0.2" @@ -7006,17 +6714,6 @@ __metadata: languageName: node linkType: hard -"safe-regex-test@npm:^1.0.0": - version: 1.0.0 - resolution: "safe-regex-test@npm:1.0.0" - dependencies: - call-bind: ^1.0.2 - get-intrinsic: ^1.1.3 - is-regex: ^1.1.4 - checksum: bc566d8beb8b43c01b94e67de3f070fd2781685e835959bbbaaec91cc53381145ca91f69bd837ce6ec244817afa0a5e974fc4e40a2957f0aca68ac3add1ddd34 - languageName: node - linkType: hard - "safer-buffer@npm:>= 2.1.2 < 3.0.0": version: 2.1.2 resolution: "safer-buffer@npm:2.1.2" @@ -7158,17 +6855,6 @@ __metadata: languageName: node linkType: hard -"side-channel@npm:^1.0.4": - version: 1.0.4 - resolution: "side-channel@npm:1.0.4" - dependencies: - call-bind: ^1.0.0 - get-intrinsic: ^1.0.2 - object-inspect: ^1.9.0 - checksum: 351e41b947079c10bd0858364f32bb3a7379514c399edb64ab3dce683933483fc63fb5e4efe0a15a2e8a7e3c436b6a91736ddb8d8c6591b0460a24bb4a1ee245 - languageName: node - linkType: hard - "signal-exit@npm:^3.0.2, signal-exit@npm:^3.0.3, signal-exit@npm:^3.0.4, signal-exit@npm:^3.0.6, signal-exit@npm:^3.0.7": version: 3.0.7 resolution: "signal-exit@npm:3.0.7" @@ -7501,42 +7187,6 @@ __metadata: languageName: node linkType: hard -"string.prototype.replaceall@npm:^1.0.6": - version: 1.0.7 - resolution: "string.prototype.replaceall@npm:1.0.7" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - get-intrinsic: ^1.1.3 - has-symbols: ^1.0.3 - is-regex: ^1.1.4 - checksum: 79571b1fa0a2d668e8f8725d63e8cea23adb7e68d80911ca40d2e798e98859e59855349b53114cbc25e9ec36c9c6c86b861bfbd263bbf9c540a47ac15416068a - languageName: node - linkType: hard - -"string.prototype.trimend@npm:^1.0.6": - version: 1.0.6 - resolution: "string.prototype.trimend@npm:1.0.6" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - checksum: 0fdc34645a639bd35179b5a08227a353b88dc089adf438f46be8a7c197fc3f22f8514c1c9be4629b3cd29c281582730a8cbbad6466c60f76b5f99cf2addb132e - languageName: node - linkType: hard - -"string.prototype.trimstart@npm:^1.0.6": - version: 1.0.6 - resolution: "string.prototype.trimstart@npm:1.0.6" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - checksum: 89080feef416621e6ef1279588994305477a7a91648d9436490d56010a1f7adc39167cddac7ce0b9884b8cdbef086987c4dcb2960209f2af8bac0d23ceff4f41 - languageName: node - linkType: hard - "string_decoder@npm:^1.1.1": version: 1.3.0 resolution: "string_decoder@npm:1.3.0" @@ -7842,22 +7492,6 @@ __metadata: languageName: node linkType: hard -"test@npm:3.3.0": - version: 3.3.0 - resolution: "test@npm:3.3.0" - dependencies: - minimist: ^1.2.6 - readable-stream: ^4.3.0 - string.prototype.replaceall: ^1.0.6 - bin: - node--test: bin/node--test.js - node--test-name-pattern: bin/node--test-name-pattern.js - node--test-only: bin/node--test-only.js - test: bin/node-core-test.js - checksum: a9f492fe67d133b3e128c2157a97afa610da5ab1e8f79d7fb23ebe90481204813ecd279a9c611006b9463c60600094ecb903d2e28b076de234a1c31874fe646d - languageName: node - linkType: hard - "text-extensions@npm:^2.0.0": version: 2.4.0 resolution: "text-extensions@npm:2.4.0" @@ -8120,18 +7754,6 @@ __metadata: languageName: node linkType: hard -"unbox-primitive@npm:^1.0.2": - version: 1.0.2 - resolution: "unbox-primitive@npm:1.0.2" - dependencies: - call-bind: ^1.0.2 - has-bigints: ^1.0.2 - has-symbols: ^1.0.3 - which-boxed-primitive: ^1.0.2 - checksum: b7a1cf5862b5e4b5deb091672ffa579aa274f648410009c81cca63fed3b62b610c4f3b773f912ce545bb4e31edc3138975b5bc777fc6e4817dca51affb6380e9 - languageName: node - linkType: hard - "underscore@npm:^1.13.2": version: 1.13.6 resolution: "underscore@npm:1.13.6" @@ -8381,19 +8003,6 @@ __metadata: languageName: node linkType: hard -"which-boxed-primitive@npm:^1.0.2": - version: 1.0.2 - resolution: "which-boxed-primitive@npm:1.0.2" - dependencies: - is-bigint: ^1.0.1 - is-boolean-object: ^1.1.0 - is-number-object: ^1.0.4 - is-string: ^1.0.5 - is-symbol: ^1.0.3 - checksum: 53ce774c7379071729533922adcca47220228405e1895f26673bbd71bdf7fb09bee38c1d6399395927c6289476b5ae0629863427fd151491b71c4b6cb04f3a5e - languageName: node - linkType: hard - "which-module@npm:^2.0.0": version: 2.0.0 resolution: "which-module@npm:2.0.0"