From 9333cf830ed19f6d377211f69dba0e1209e49ae1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 8 Jul 2026 22:40:56 +0000 Subject: [PATCH 01/10] chore(deps): update dependency typescript to v7 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8cc8509c0..e159af877 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,6 @@ "ts-jest": "^29.4.11", "ts-node": "^10.9.2", "tsconfig-paths": "^4.2.0", - "typescript": "^5.9.3" + "typescript": "^7.0.2" } } From f620d7d865014f3de95b5bf9e4e05c3ea75f4058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20H=C3=BCgel?= Date: Thu, 29 Oct 2026 08:08:28 +0100 Subject: [PATCH 02/10] fix(build): run TypeScript 7 alongside the compiler API compatibility package --- package-lock.json | 450 ++++++++++++++++++++++++++++++++++++++++++++-- package.json | 10 +- 2 files changed, 443 insertions(+), 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index e2a7a29b2..130d898ae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,6 +23,7 @@ "@js-soft/license-check": "^1.0.11", "@types/jest": "^30.0.0", "@types/node": "^24.13.3", + "@typescript/native": "npm:typescript@^7.0.2", "enhanced-publish": "^1.1.9", "eslint": "^10.4.1", "jest": "^30.4.2", @@ -31,10 +32,10 @@ "npm-check-updates": "^22.2.9", "patch-package": "^8.0.1", "prettier": "^3.8.4", - "ts-jest": "^29.4.11", + "ts-jest": "^29.4.12", "ts-node": "^10.9.2", "tsconfig-paths": "^4.2.0", - "typescript": "^5.9.3" + "typescript": "npm:@typescript/typescript6@^6.0.2" } }, "node_modules/@animo-id/mdoc": { @@ -5041,6 +5042,397 @@ "url": "https://opencollective.com/typescript-eslint" } }, + "node_modules/@typescript/native": { + "name": "typescript", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-7.0.2.tgz", + "integrity": "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc" + }, + "engines": { + "node": ">=16.20.0" + }, + "optionalDependencies": { + "@typescript/typescript-aix-ppc64": "7.0.2", + "@typescript/typescript-darwin-arm64": "7.0.2", + "@typescript/typescript-darwin-x64": "7.0.2", + "@typescript/typescript-freebsd-arm64": "7.0.2", + "@typescript/typescript-freebsd-x64": "7.0.2", + "@typescript/typescript-linux-arm": "7.0.2", + "@typescript/typescript-linux-arm64": "7.0.2", + "@typescript/typescript-linux-loong64": "7.0.2", + "@typescript/typescript-linux-mips64el": "7.0.2", + "@typescript/typescript-linux-ppc64": "7.0.2", + "@typescript/typescript-linux-riscv64": "7.0.2", + "@typescript/typescript-linux-s390x": "7.0.2", + "@typescript/typescript-linux-x64": "7.0.2", + "@typescript/typescript-netbsd-arm64": "7.0.2", + "@typescript/typescript-netbsd-x64": "7.0.2", + "@typescript/typescript-openbsd-arm64": "7.0.2", + "@typescript/typescript-openbsd-x64": "7.0.2", + "@typescript/typescript-sunos-x64": "7.0.2", + "@typescript/typescript-win32-arm64": "7.0.2", + "@typescript/typescript-win32-x64": "7.0.2" + } + }, + "node_modules/@typescript/old": { + "name": "typescript", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", + "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", + "devOptional": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/@typescript/typescript-aix-ppc64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-aix-ppc64/-/typescript-aix-ppc64-7.0.2.tgz", + "integrity": "sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-darwin-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-darwin-arm64/-/typescript-darwin-arm64-7.0.2.tgz", + "integrity": "sha512-gowzar9MwS/aRWp6f3a4KUqzRjAZjOsmGNCM6LcTgXum+dBfgsBVMN+AgvOCCbguXyick6LJhpBszxMebJ8syA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-darwin-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-darwin-x64/-/typescript-darwin-x64-7.0.2.tgz", + "integrity": "sha512-SZ9xZInqApNlNGc9s0W1VSsktYSOe9cFqNOIqmN1Gs8SmkjKZYFt017G4VwPxASInODuAdbTW7sXiFUf893RgA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-freebsd-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-freebsd-arm64/-/typescript-freebsd-arm64-7.0.2.tgz", + "integrity": "sha512-W5NH4y/J0plIIS5b2xvTEkU7JFxyqdMAOgf+Ilhl0vHQXKO5dZoxd+C/jEtq56c4F3wk71RB4BMRQ2XdI+bwYQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-freebsd-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-freebsd-x64/-/typescript-freebsd-x64-7.0.2.tgz", + "integrity": "sha512-UMGDx5sTpzNw3WiPebH7l90IWfJggEd+egHt/q6p7/Cm3zqoV7VxkGXt+3DxPIw8CcmvAB0j3sVVfbhX+M4Tpw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-arm": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-arm/-/typescript-linux-arm-7.0.2.tgz", + "integrity": "sha512-gffT3xPz9sR7j/YJExkyPntrI0P2EP9XbOyWzth2/Gs0RstK+90RBcO0ncXoXy/beYll1SXw846Nf2zdnEz0QQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-arm64/-/typescript-linux-arm64-7.0.2.tgz", + "integrity": "sha512-Qh4eU4/y3yDjnfjjyPYihMj5/ODIlmt+Bzu17OI+fiSRDW57QmU5SiN63exPRNJPKUzcc1INa1NXdrJ+MqHjUQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-loong64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-loong64/-/typescript-linux-loong64-7.0.2.tgz", + "integrity": "sha512-uEHck9i8hoAzXPiYRib1O7miOnz23SxIeVl6F4LXox+qov1K35jHcEW6VHKvZI+pyvl7fZEP4MCU5LYvIq1GuQ==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-mips64el": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-mips64el/-/typescript-linux-mips64el-7.0.2.tgz", + "integrity": "sha512-R4KvAMnE43W5Qeqb0Ly56O3mWMWIAgsMyz36DCaycd5nbg/9kzm0liw3JocfRqyJY0KPmzFjbswozXyW0DnIYA==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-ppc64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-ppc64/-/typescript-linux-ppc64-7.0.2.tgz", + "integrity": "sha512-DORx5b3sd/4S7eayxm4FQv+A7CrkUIGRaHiwI8oiHTAI1fAPWhF4J0vAlkC8biAlHSVVwxMQ3tjZ2/DVbnQiiA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-riscv64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-riscv64/-/typescript-linux-riscv64-7.0.2.tgz", + "integrity": "sha512-wf0jqEDOjrPRnKwYRyyJDRo11KMbvMFrU+q4zqKyChODBzvlkbhNQfKvLxQCcwTpdDaXSHZTVuh0JoCrKCUMHQ==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-s390x": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-s390x/-/typescript-linux-s390x-7.0.2.tgz", + "integrity": "sha512-IkwJc3L7yhytWd/ewjyxNDfOmswCm9GWMJT/ue/dU4aZNbwZeYAetq42VyLmsmSjvoX7z74X6ZaYCtzAr0EuGw==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-x64/-/typescript-linux-x64-7.0.2.tgz", + "integrity": "sha512-EYdf2cNg7rgCWJnxCdJ+F3V39O8ihb37eHAu1LK8oAFizgTQbPOK7zHHXbPt8rX24COqODXeI3sIf0fCXG7H/A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-netbsd-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-netbsd-arm64/-/typescript-netbsd-arm64-7.0.2.tgz", + "integrity": "sha512-+polYF4MF04aPpO5FTkHran9yUQDSXqy5GiSDKpsll5jy3l3+g9QLhpf39T+ePtefhXLOGrLl0QIjkQP6VnelA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-netbsd-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-netbsd-x64/-/typescript-netbsd-x64-7.0.2.tgz", + "integrity": "sha512-8YIT0EHM/3dq10ZOVF/A7pc/YSMtbcecct4rWtexrnSCHOPcpC2KTLXfTCR6vDpnSiY12heNb1GiN/wu+T/FyA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-openbsd-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-openbsd-arm64/-/typescript-openbsd-arm64-7.0.2.tgz", + "integrity": "sha512-APT8+ClYnuYm1u9+kgGXoMj2VzWzcymwh2gNSQVySHfkRDGOTVkoWLjCmOQSaO+PoqQ57B0flRp9SA+7GnnkzQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-openbsd-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-openbsd-x64/-/typescript-openbsd-x64-7.0.2.tgz", + "integrity": "sha512-yX7s+Q0Dln0Dt9tEzZsAjXXR/+ytBM7AlglaqyeMPxQszJ1JhlJdZ6jLA+IzldHtflX81em7lDao1xXu+aRRkg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-sunos-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-sunos-x64/-/typescript-sunos-x64-7.0.2.tgz", + "integrity": "sha512-dLJDGaLZ1D4HPQn62u1n8mBDkJREwMsAkCdkwd4Ieqw+x3TUyTsqY0YiBCtE6H6OzzgGk3iuZ3vFWRS+E8/d1g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-win32-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-win32-arm64/-/typescript-win32-arm64-7.0.2.tgz", + "integrity": "sha512-Gyl1Vy6OsWesLzmq+EP0Fb7b4Nid5232AvcA2SFcdYreldpNtYFFofPjnt62y9hQy7VTaZp65ICJjuAQRaVcIQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-win32-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-win32-x64/-/typescript-win32-x64-7.0.2.tgz", + "integrity": "sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=16.20.0" + } + }, "node_modules/@ungap/structured-clone": { "version": "1.3.0", "dev": true, @@ -8429,11 +8821,13 @@ "license": "ISC" }, "node_modules/handlebars": { - "version": "4.7.9", + "version": "4.7.10", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.10.tgz", + "integrity": "sha512-P5VJMVM7qgBn6vjXMw8WG9uVI+ncf2pi72j4de4yz5ZULLj2RGqLYaKOYGsgyrViQ0tePOVlN1tDCCXXtFqXKg==", "dev": true, "license": "MIT", "dependencies": { - "minimist": "^1.2.5", + "minimist": "^1.2.8", "neo-async": "^2.6.2", "source-map": "^0.6.1", "wordwrap": "^1.0.0" @@ -10653,6 +11047,8 @@ }, "node_modules/neo-async": { "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", "dev": true, "license": "MIT" }, @@ -12333,7 +12729,9 @@ } }, "node_modules/semver": { - "version": "7.8.0", + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", "dev": true, "license": "ISC", "bin": { @@ -13355,17 +13753,19 @@ } }, "node_modules/ts-jest": { - "version": "29.4.11", + "version": "29.4.15", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.4.15.tgz", + "integrity": "sha512-s2qmEUYFRqbjz1wv0EmccNPVOb45HOFpFuhzQJLKShYVisuTbCFPIIAIV2EuK5rIxb4BejLDbH7dnBZfYjybUQ==", "dev": true, "license": "MIT", "dependencies": { "bs-logger": "^0.2.6", "fast-json-stable-stringify": "^2.1.0", - "handlebars": "^4.7.9", + "handlebars": "^4.7.10", "json5": "^2.2.3", "lodash.memoize": "^4.1.2", "make-error": "^1.3.6", - "semver": "^7.8.0", + "semver": "^7.8.5", "type-fest": "^4.41.0", "yargs-parser": "^21.1.1" }, @@ -13376,7 +13776,7 @@ "node": "^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0" }, "peerDependencies": { - "@babel/core": ">=7.0.0-beta.0 <8", + "@babel/core": ">=7.0.0-beta.0 <9", "@jest/transform": "^29.0.0 || ^30.0.0", "@jest/types": "^29.0.0 || ^30.0.0", "babel-jest": "^29.0.0 || ^30.0.0", @@ -13506,6 +13906,20 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/ts-json-schema-generator/node_modules/typescript": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "node_modules/ts-mockito": { "version": "2.6.1", "dev": true, @@ -13687,15 +14101,17 @@ } }, "node_modules/typescript": { - "version": "5.9.3", + "name": "@typescript/typescript6", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript6/-/typescript6-6.0.2.tgz", + "integrity": "sha512-mbCddXd+jm7hfx7w2YU64/Av4/NqqeG3GoRZgxPcgoTxYjhrcfJRw9ULch71SS4G+Q3bOXFhRvPqjguN0Hyp5w==", "devOptional": true, "license": "Apache-2.0", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" + "dependencies": { + "@typescript/old": "npm:typescript@^6" }, - "engines": { - "node": ">=14.17" + "bin": { + "tsc6": "bin/tsc6" } }, "node_modules/typescript-eslint": { @@ -13724,6 +14140,8 @@ }, "node_modules/uglify-js": { "version": "3.19.3", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz", + "integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==", "dev": true, "license": "BSD-2-Clause", "optional": true, @@ -14061,6 +14479,8 @@ }, "node_modules/wordwrap": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", "dev": true, "license": "MIT" }, diff --git a/package.json b/package.json index 0356a84b3..a3e8641e3 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,11 @@ "teardown:openid4vc": "docker rm -f eudiplo", "test:teardown": "docker compose -f .dev/compose.yml down -fsv" }, + "overrides": { + "madge": { + "typescript": "$typescript" + } + }, "devDependencies": { "@babel/preset-env": "^7.29.7", "@babel/preset-typescript": "^7.29.7", @@ -36,6 +41,7 @@ "@js-soft/license-check": "^1.0.11", "@types/jest": "^30.0.0", "@types/node": "^24.13.3", + "@typescript/native": "npm:typescript@^7.0.2", "enhanced-publish": "^1.1.9", "eslint": "^10.4.1", "jest": "^30.4.2", @@ -44,9 +50,9 @@ "npm-check-updates": "^22.2.9", "patch-package": "^8.0.1", "prettier": "^3.8.4", - "ts-jest": "^29.4.11", + "ts-jest": "^29.4.12", "ts-node": "^10.9.2", "tsconfig-paths": "^4.2.0", - "typescript": "^7.0.2" + "typescript": "npm:@typescript/typescript6@^6.0.2" } } From 178c517aa0a7877e529e8f017401273604f200cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20H=C3=BCgel?= Date: Thu, 29 Oct 2026 08:08:43 +0100 Subject: [PATCH 03/10] fix(build): explicitly include Node.js global types --- packages/tsconfig.base.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/tsconfig.base.json b/packages/tsconfig.base.json index d4032556d..c268ecea2 100644 --- a/packages/tsconfig.base.json +++ b/packages/tsconfig.base.json @@ -18,6 +18,7 @@ "noImplicitOverride": true, "useDefineForClassFields": false, "lib": ["ES2022", "DOM"], + "types": ["node"], "composite": true } } From 8052f0f858861533a94c38a1c7be88c7bc9d762a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20H=C3=BCgel?= Date: Thu, 29 Oct 2026 08:10:43 +0100 Subject: [PATCH 04/10] fix(test): align test compiler options with runtime dependencies --- packages/app-runtime/test/tsconfig.json | 1 + packages/consumption/test/tsconfig.json | 1 + packages/runtime/test/tsconfig.json | 1 + packages/transport/test/tsconfig.json | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/app-runtime/test/tsconfig.json b/packages/app-runtime/test/tsconfig.json index b893d6b91..60f6919c6 100644 --- a/packages/app-runtime/test/tsconfig.json +++ b/packages/app-runtime/test/tsconfig.json @@ -3,6 +3,7 @@ "compilerOptions": { "noEmit": true, "composite": false, + "skipLibCheck": true, "allowJs": true, // we want to use the ts compiler to compile ESM node modules into CJS which is understood by jest. This is required since those node modules are javascript. "types": ["jest", "node"] }, diff --git a/packages/consumption/test/tsconfig.json b/packages/consumption/test/tsconfig.json index b893d6b91..60f6919c6 100644 --- a/packages/consumption/test/tsconfig.json +++ b/packages/consumption/test/tsconfig.json @@ -3,6 +3,7 @@ "compilerOptions": { "noEmit": true, "composite": false, + "skipLibCheck": true, "allowJs": true, // we want to use the ts compiler to compile ESM node modules into CJS which is understood by jest. This is required since those node modules are javascript. "types": ["jest", "node"] }, diff --git a/packages/runtime/test/tsconfig.json b/packages/runtime/test/tsconfig.json index b893d6b91..60f6919c6 100644 --- a/packages/runtime/test/tsconfig.json +++ b/packages/runtime/test/tsconfig.json @@ -3,6 +3,7 @@ "compilerOptions": { "noEmit": true, "composite": false, + "skipLibCheck": true, "allowJs": true, // we want to use the ts compiler to compile ESM node modules into CJS which is understood by jest. This is required since those node modules are javascript. "types": ["jest", "node"] }, diff --git a/packages/transport/test/tsconfig.json b/packages/transport/test/tsconfig.json index 067a4c5b4..4b4c2b03d 100644 --- a/packages/transport/test/tsconfig.json +++ b/packages/transport/test/tsconfig.json @@ -3,7 +3,7 @@ "compilerOptions": { "noEmit": true, "composite": false, - "types": ["jest", "node"] + "types": ["jest", "node", "lokijs"] }, "files": ["../../../node_modules/jest-expect-message/types/index.d.ts"], "include": ["**/*.ts", "../src/**/*.ts"], From 127b0526156f33e2000d840c291f8e7b8256d2a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20H=C3=BCgel?= Date: Thu, 29 Oct 2026 08:10:44 +0100 Subject: [PATCH 05/10] fix(test): use AxiosInstance for admin API clients --- packages/runtime/test/lib/AdminApiClient.ts | 6 +++--- packages/transport/test/testHelpers/AdminApiClient.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/runtime/test/lib/AdminApiClient.ts b/packages/runtime/test/lib/AdminApiClient.ts index 14d3910d3..45bc7bf08 100644 --- a/packages/runtime/test/lib/AdminApiClient.ts +++ b/packages/runtime/test/lib/AdminApiClient.ts @@ -1,10 +1,10 @@ import { LanguageISO639 } from "@nmshd/core-types"; -import axios, { Axios } from "axios"; +import axios, { AxiosInstance } from "axios"; import { AnnouncementSeverity } from "../../src"; -let adminClient: Axios | undefined; +let adminClient: AxiosInstance | undefined; -export async function getBackboneAdminApiClient(): Promise { +export async function getBackboneAdminApiClient(): Promise { if (adminClient) return adminClient; const adminAPIBaseUrl = process.env.NMSHD_TEST_BASEURL_ADMIN_API!; diff --git a/packages/transport/test/testHelpers/AdminApiClient.ts b/packages/transport/test/testHelpers/AdminApiClient.ts index 4ab75f266..4b5f6dbc9 100644 --- a/packages/transport/test/testHelpers/AdminApiClient.ts +++ b/packages/transport/test/testHelpers/AdminApiClient.ts @@ -1,11 +1,11 @@ import { LanguageISO639 } from "@nmshd/core-types"; -import axios, { Axios } from "axios"; +import axios, { AxiosInstance } from "axios"; import { AnnouncementSeverity } from "../../src/modules/announcements/data/Announcement"; export class AdminApiClient { - private static adminClient: Axios | undefined; + private static adminClient: AxiosInstance | undefined; - public static async getBackboneAdminApiClient(): Promise { + public static async getBackboneAdminApiClient(): Promise { if (AdminApiClient.adminClient) { return AdminApiClient.adminClient; } From 44ada873aae53b70fa4ab148e8d8ff1954d653ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20H=C3=BCgel?= Date: Thu, 29 Oct 2026 08:11:19 +0100 Subject: [PATCH 06/10] fix(test): mark intentionally invalid inputs explicitly --- .../modules/requests/OutgoingRequestsController.test.ts | 3 ++- .../content/test/attributes/IdentityAttribute.test.ts | 1 + .../ThirdPartyRelationshipAttributeQuery.test.ts | 8 ++++---- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/consumption/test/modules/requests/OutgoingRequestsController.test.ts b/packages/consumption/test/modules/requests/OutgoingRequestsController.test.ts index 2cab91c19..7ee3c9fdf 100644 --- a/packages/consumption/test/modules/requests/OutgoingRequestsController.test.ts +++ b/packages/consumption/test/modules/requests/OutgoingRequestsController.test.ts @@ -92,7 +92,8 @@ describe("OutgoingRequestsController", function () { expectedErrorMessage: "*Request.items*Value is not defined*" } ])("throws on syntactically invalid input", async function (testParams) { - await When.iTryToCallCanCreateForAnOutgoingRequest(testParams.params as unknown as ICreateOutgoingRequestParameters); + // @ts-expect-error: deliberately invalid request to test runtime validation + await When.iTryToCallCanCreateForAnOutgoingRequest(testParams.params); await Then.itThrowsAnErrorWithTheErrorMessage(testParams.expectedErrorMessage); }); diff --git a/packages/content/test/attributes/IdentityAttribute.test.ts b/packages/content/test/attributes/IdentityAttribute.test.ts index 058ac7252..76fc73dea 100644 --- a/packages/content/test/attributes/IdentityAttribute.test.ts +++ b/packages/content/test/attributes/IdentityAttribute.test.ts @@ -198,6 +198,7 @@ describe("IdentityAttribute", function () { test("should validate attribute values from JSON", function () { expect(() => IdentityAttribute.from({ + // @ts-expect-error: deliberately invalid month to test runtime validation value: { "@type": "BirthDate", day: { value: 22 }, month: { value: 13 }, year: { value: 2022 } }, owner: CoreAddress.from("address") }) diff --git a/packages/content/test/attributes/ThirdPartyRelationshipAttributeQuery.test.ts b/packages/content/test/attributes/ThirdPartyRelationshipAttributeQuery.test.ts index a77a127b5..ce1b23825 100644 --- a/packages/content/test/attributes/ThirdPartyRelationshipAttributeQuery.test.ts +++ b/packages/content/test/attributes/ThirdPartyRelationshipAttributeQuery.test.ts @@ -39,8 +39,8 @@ describe("ThirdPartyRelationshipAttributeQuery", function () { key: "test", owner: "thirdParty", - // casting as any to test backwards compatibility - thirdParty: params.in as unknown as any + // @ts-expect-error: legacy thirdParty formats are accepted at runtime + thirdParty: params.in }); expect(serialized).toBeInstanceOf(ThirdPartyRelationshipAttributeQuery); @@ -72,8 +72,8 @@ describe("ThirdPartyRelationshipAttributeQuery", function () { key: "test", owner: "thirdParty", - // casting as any to test backwards compatibility - thirdParty: params.in as unknown as any + // @ts-expect-error: legacy thirdParty formats are accepted at runtime + thirdParty: params.in } }); From 350a1f20d87069599b48914933aafc18a29aca7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20H=C3=BCgel?= Date: Thu, 29 Oct 2026 08:12:30 +0100 Subject: [PATCH 07/10] ci: type-check test sources with TypeScript 7 --- .ci/runChecks.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.ci/runChecks.sh b/.ci/runChecks.sh index f94dfef62..ecffe9f27 100755 --- a/.ci/runChecks.sh +++ b/.ci/runChecks.sh @@ -2,6 +2,7 @@ set -e npm ci npm run build:node +npm run lint:tsc npm run lint:eslint npm run lint:prettier npm run --workspaces cdep From 8a1f4c2b030a2ab7dff75915ab45e3348b63ae47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20H=C3=BCgel?= Date: Thu, 29 Oct 2026 08:12:32 +0100 Subject: [PATCH 08/10] fix(vscode): select the native TypeScript 7 language service --- .vscode/settings.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 6b81ef66c..ad929a129 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -52,5 +52,6 @@ "source.organizeImports": "always" }, "files.eol": "\n", - "typescript.tsdk": "node_modules/typescript/lib" + "js/ts.experimental.useTsgo": true, + "js/ts.tsdk.path": "./node_modules/@typescript/native" } From 6dbac81a819840b11bc96a218657d93cd25cdaf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20H=C3=BCgel?= Date: Thu, 29 Oct 2026 08:32:02 +0100 Subject: [PATCH 09/10] build: replace madge with dependency-cruiser --- .dependency-cruiser.json | 15 + package-lock.json | 1208 ++++++--------------------- package.json | 7 +- packages/app-runtime/package.json | 2 +- packages/consumption/package.json | 4 +- packages/content/package.json | 4 +- packages/core-types/package.json | 2 +- packages/runtime-types/package.json | 2 +- packages/runtime/package.json | 2 +- packages/transport/package.json | 4 +- 10 files changed, 289 insertions(+), 961 deletions(-) create mode 100644 .dependency-cruiser.json diff --git a/.dependency-cruiser.json b/.dependency-cruiser.json new file mode 100644 index 000000000..c469e7f7f --- /dev/null +++ b/.dependency-cruiser.json @@ -0,0 +1,15 @@ +{ + "forbidden": [ + { + "name": "no-circular", + "severity": "error", + "from": {}, + "to": { + "circular": true + } + } + ], + "options": { + "includeOnly": "^dist/.*\\.js$" + } +} diff --git a/package-lock.json b/package-lock.json index 130d898ae..cc7a934f6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,11 +24,11 @@ "@types/jest": "^30.0.0", "@types/node": "^24.13.3", "@typescript/native": "npm:typescript@^7.0.2", + "dependency-cruiser": "^17.4.3", "enhanced-publish": "^1.1.9", "eslint": "^10.4.1", "jest": "^30.4.2", "jest-expect-message": "^1.1.3", - "madge": "^8.0.0", "npm-check-updates": "^22.2.9", "patch-package": "^8.0.1", "prettier": "^3.8.4", @@ -2044,18 +2044,6 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, - "node_modules/@dependents/detective-less": { - "version": "5.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "gonzales-pe": "^4.3.0", - "node-source-walk": "^7.0.1" - }, - "engines": { - "node": ">=18" - } - }, "node_modules/@digitalbazaar/security-context": { "version": "1.0.1", "license": "BSD-3-Clause" @@ -4307,88 +4295,6 @@ "version": "2.0.1", "license": "MIT" }, - "node_modules/@ts-graphviz/adapter": { - "version": "2.0.5", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ts-graphviz" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/ts-graphviz" - } - ], - "license": "MIT", - "dependencies": { - "@ts-graphviz/common": "^2.1.4" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@ts-graphviz/ast": { - "version": "2.0.5", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ts-graphviz" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/ts-graphviz" - } - ], - "license": "MIT", - "dependencies": { - "@ts-graphviz/common": "^2.1.4" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@ts-graphviz/common": { - "version": "2.1.4", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ts-graphviz" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/ts-graphviz" - } - ], - "license": "MIT", - "engines": { - "node": ">=18" - } - }, - "node_modules/@ts-graphviz/core": { - "version": "2.0.5", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ts-graphviz" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/ts-graphviz" - } - ], - "license": "MIT", - "dependencies": { - "@ts-graphviz/ast": "^2.0.5", - "@ts-graphviz/common": "^2.1.4" - }, - "engines": { - "node": ">=18" - } - }, "node_modules/@tsconfig/node10": { "version": "1.0.11", "dev": true, @@ -5781,57 +5687,6 @@ "win32" ] }, - "node_modules/@vue/compiler-core": { - "version": "3.5.28", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/parser": "^7.29.0", - "@vue/shared": "3.5.28", - "entities": "^7.0.1", - "estree-walker": "^2.0.2", - "source-map-js": "^1.2.1" - } - }, - "node_modules/@vue/compiler-dom": { - "version": "3.5.28", - "dev": true, - "license": "MIT", - "dependencies": { - "@vue/compiler-core": "3.5.28", - "@vue/shared": "3.5.28" - } - }, - "node_modules/@vue/compiler-sfc": { - "version": "3.5.28", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/parser": "^7.29.0", - "@vue/compiler-core": "3.5.28", - "@vue/compiler-dom": "3.5.28", - "@vue/compiler-ssr": "3.5.28", - "@vue/shared": "3.5.28", - "estree-walker": "^2.0.2", - "magic-string": "^0.30.21", - "postcss": "^8.5.6", - "source-map-js": "^1.2.1" - } - }, - "node_modules/@vue/compiler-ssr": { - "version": "3.5.28", - "dev": true, - "license": "MIT", - "dependencies": { - "@vue/compiler-dom": "3.5.28", - "@vue/shared": "3.5.28" - } - }, - "node_modules/@vue/shared": { - "version": "3.5.28", - "dev": true, - "license": "MIT" - }, "node_modules/@yarnpkg/lockfile": { "version": "1.1.0", "dev": true, @@ -5906,10 +5761,35 @@ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, + "node_modules/acorn-jsx-walk": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/acorn-jsx-walk/-/acorn-jsx-walk-2.0.0.tgz", + "integrity": "sha512-uuo6iJj4D4ygkdzd6jPtcxs8vZgDX9YFIkqczGImoypX2fQ4dVImmu3UzA4ynixCIMTrEOWW+95M2HuBaCEOVA==", + "dev": true, + "license": "MIT" + }, + "node_modules/acorn-loose": { + "version": "8.5.2", + "resolved": "https://registry.npmjs.org/acorn-loose/-/acorn-loose-8.5.2.tgz", + "integrity": "sha512-PPvV6g8UGMGgjrMu+n/f9E/tCSkNQ2Y97eFvuVdJfG11+xdIeDcLyNdC8SHcrHbRqkfwLASdplyR6B6sKM1U4A==", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^8.15.0" + }, + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/acorn-walk": { - "version": "8.3.2", + "version": "8.3.5", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.5.tgz", + "integrity": "sha512-HEHNfbars9v4pgpW6SO1KSPkfoS0xVOM/9UzkJltjlsHZmJasxg8aXkuZa7SMf8vKGIBhpUsPluQSqhJFCqebw==", "dev": true, "license": "MIT", + "dependencies": { + "acorn": "^8.11.0" + }, "engines": { "node": ">=0.4.0" } @@ -6025,11 +5905,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/any-promise": { - "version": "1.3.0", - "dev": true, - "license": "MIT" - }, "node_modules/anymatch": { "version": "3.1.3", "dev": true, @@ -6042,11 +5917,6 @@ "node": ">= 8" } }, - "node_modules/app-module-path": { - "version": "2.2.0", - "dev": true, - "license": "BSD-2-Clause" - }, "node_modules/archiver": { "version": "7.0.1", "dev": true, @@ -6224,14 +6094,6 @@ "node": ">=12.0.0" } }, - "node_modules/ast-module-types": { - "version": "6.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - } - }, "node_modules/async": { "version": "3.2.5", "dev": true, @@ -6975,28 +6837,6 @@ "validator": "^13.15.22" } }, - "node_modules/cli-cursor": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "restore-cursor": "^3.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cli-spinners": { - "version": "2.9.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/cliui": { "version": "8.0.1", "dev": true, @@ -7026,14 +6866,6 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, - "node_modules/clone": { - "version": "1.0.4", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8" - } - }, "node_modules/co": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", @@ -7078,19 +6910,6 @@ "node": ">= 0.8" } }, - "node_modules/commander": { - "version": "7.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 10" - } - }, - "node_modules/commondir": { - "version": "1.0.1", - "dev": true, - "license": "MIT" - }, "node_modules/compare-versions": { "version": "6.1.1", "license": "MIT" @@ -7358,14 +7177,6 @@ } } }, - "node_modules/deep-extend": { - "version": "0.6.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4.0.0" - } - }, "node_modules/deep-is": { "version": "0.1.4", "license": "MIT" @@ -7380,17 +7191,6 @@ "node": ">=0.10.0" } }, - "node_modules/defaults": { - "version": "1.0.4", - "dev": true, - "license": "MIT", - "dependencies": { - "clone": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/define-data-property": { "version": "1.1.4", "dev": true, @@ -7421,194 +7221,130 @@ "node": ">= 0.8" } }, - "node_modules/dependency-tree": { - "version": "11.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "commander": "^12.1.0", - "filing-cabinet": "^5.1.0", - "precinct": "^12.2.0", - "typescript": "^5.9.3" + "node_modules/dependency-cruiser": { + "version": "17.4.3", + "resolved": "https://registry.npmjs.org/dependency-cruiser/-/dependency-cruiser-17.4.3.tgz", + "integrity": "sha512-L4GLuAvmXevWnPCIaFfOz6eD92c+yY+pDgVqgufrLDnW3xYA799CSZQlly2r2N13nhAlnZY6VzY7Rx5pHNvk2w==", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "8.16.0", + "acorn-jsx": "5.3.2", + "acorn-jsx-walk": "2.0.0", + "acorn-loose": "8.5.2", + "acorn-walk": "8.3.5", + "commander": "14.0.3", + "enhanced-resolve": "5.22.1", + "ignore": "7.0.5", + "interpret": "3.1.1", + "is-installed-globally": "1.0.0", + "json5": "2.2.3", + "picomatch": "4.0.4", + "prompts": "2.4.2", + "rechoir": "0.8.0", + "safe-regex": "2.1.1", + "semver": "7.8.1", + "tsconfig-paths-webpack-plugin": "4.2.0", + "watskeburt": "5.0.3" }, "bin": { - "dependency-tree": "bin/cli.js" + "depcruise": "bin/dependency-cruise.mjs", + "depcruise-baseline": "bin/depcruise-baseline.mjs", + "depcruise-fmt": "bin/depcruise-fmt.mjs", + "depcruise-wrap-stream-in-html": "bin/wrap-stream-in-html.mjs", + "dependency-cruise": "bin/dependency-cruise.mjs", + "dependency-cruiser": "bin/dependency-cruise.mjs" }, "engines": { - "node": ">=18" + "node": "^20.12||^22||>=24" } }, - "node_modules/dependency-tree/node_modules/commander": { - "version": "12.1.0", + "node_modules/dependency-cruiser/node_modules/commander": { + "version": "14.0.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.3.tgz", + "integrity": "sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==", "dev": true, "license": "MIT", "engines": { - "node": ">=18" + "node": ">=20" } }, - "node_modules/detect-newline": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", - "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", + "node_modules/dependency-cruiser/node_modules/ignore": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", + "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==", "dev": true, "license": "MIT", "engines": { - "node": ">=8" + "node": ">= 4" } }, - "node_modules/detective-amd": { - "version": "6.0.1", + "node_modules/dependency-cruiser/node_modules/picomatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", + "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", "dev": true, "license": "MIT", - "dependencies": { - "ast-module-types": "^6.0.1", - "escodegen": "^2.1.0", - "get-amd-module-type": "^6.0.1", - "node-source-walk": "^7.0.1" - }, - "bin": { - "detective-amd": "bin/cli.js" - }, "engines": { - "node": ">=18" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/detective-cjs": { - "version": "6.0.1", + "node_modules/dependency-cruiser/node_modules/semver": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.1.tgz", + "integrity": "sha512-rkVq3IXh+4FDGch+KwzX3aV9W3kO54GyEgpvBzSyctDA6Xtd7RJQV1xmXbeQp5v7+VzLOfVqiutSE6GICgPFvg==", "dev": true, - "license": "MIT", - "dependencies": { - "ast-module-types": "^6.0.1", - "node-source-walk": "^7.0.1" + "license": "ISC", + "bin": { + "semver": "bin/semver.js" }, "engines": { - "node": ">=18" + "node": ">=10" } }, - "node_modules/detective-es6": { - "version": "5.0.1", + "node_modules/detect-newline": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", + "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", "dev": true, "license": "MIT", - "dependencies": { - "node-source-walk": "^7.0.1" - }, "engines": { - "node": ">=18" + "node": ">=8" } }, - "node_modules/detective-postcss": { - "version": "7.0.1", + "node_modules/dezalgo": { + "version": "1.0.4", "dev": true, - "license": "MIT", + "license": "ISC", "dependencies": { - "is-url": "^1.2.4", - "postcss-values-parser": "^6.0.2" - }, - "engines": { - "node": "^14.0.0 || >=16.0.0" - }, - "peerDependencies": { - "postcss": "^8.4.47" + "asap": "^2.0.0", + "wrappy": "1" } }, - "node_modules/detective-sass": { - "version": "6.0.1", + "node_modules/did-resolver": { + "version": "4.1.0", + "license": "Apache-2.0" + }, + "node_modules/diff": { + "version": "4.0.4", "dev": true, - "license": "MIT", - "dependencies": { - "gonzales-pe": "^4.3.0", - "node-source-walk": "^7.0.1" - }, + "license": "BSD-3-Clause", "engines": { - "node": ">=18" + "node": ">=0.3.1" } }, - "node_modules/detective-scss": { - "version": "5.0.1", + "node_modules/docker-compose": { + "version": "1.4.2", "dev": true, "license": "MIT", "dependencies": { - "gonzales-pe": "^4.3.0", - "node-source-walk": "^7.0.1" + "yaml": "^2.2.2" }, "engines": { - "node": ">=18" - } - }, - "node_modules/detective-stylus": { - "version": "5.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - } - }, - "node_modules/detective-typescript": { - "version": "14.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/typescript-estree": "^8.23.0", - "ast-module-types": "^6.0.1", - "node-source-walk": "^7.0.1" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "typescript": "^5.4.4" - } - }, - "node_modules/detective-vue2": { - "version": "2.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@dependents/detective-less": "^5.0.1", - "@vue/compiler-sfc": "^3.5.13", - "detective-es6": "^5.0.1", - "detective-sass": "^6.0.1", - "detective-scss": "^5.0.1", - "detective-stylus": "^5.0.1", - "detective-typescript": "^14.0.0" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "typescript": "^5.4.4" - } - }, - "node_modules/dezalgo": { - "version": "1.0.4", - "dev": true, - "license": "ISC", - "dependencies": { - "asap": "^2.0.0", - "wrappy": "1" - } - }, - "node_modules/did-resolver": { - "version": "4.1.0", - "license": "Apache-2.0" - }, - "node_modules/diff": { - "version": "4.0.4", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.3.1" - } - }, - "node_modules/docker-compose": { - "version": "1.4.2", - "dev": true, - "license": "MIT", - "dependencies": { - "yaml": "^2.2.2" - }, - "engines": { - "node": ">= 6.0.0" + "node": ">= 6.0.0" } }, "node_modules/docker-modem": { @@ -7765,28 +7501,19 @@ } }, "node_modules/enhanced-resolve": { - "version": "5.19.0", + "version": "5.22.1", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.22.1.tgz", + "integrity": "sha512-6QEuw3zoX1SJQc7b87aBXke/no+mG2bTBgw29gWMQonLmpEkWoCAVkl+M49e48AZlWzxiDzDZzYdp6kobcyLww==", "dev": true, "license": "MIT", "dependencies": { "graceful-fs": "^4.2.4", - "tapable": "^2.3.0" + "tapable": "^2.3.3" }, "engines": { "node": ">=10.13.0" } }, - "node_modules/entities": { - "version": "7.0.1", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=0.12" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, "node_modules/env-paths": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", @@ -7869,26 +7596,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/escodegen": { - "version": "2.1.0", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "esprima": "^4.0.1", - "estraverse": "^5.2.0", - "esutils": "^2.0.2" - }, - "bin": { - "escodegen": "bin/escodegen.js", - "esgenerate": "bin/esgenerate.js" - }, - "engines": { - "node": ">=6.0" - }, - "optionalDependencies": { - "source-map": "~0.6.1" - } - }, "node_modules/eslint": { "version": "10.4.1", "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.4.1.tgz", @@ -8149,11 +7856,6 @@ "node": ">=4.0" } }, - "node_modules/estree-walker": { - "version": "2.0.2", - "dev": true, - "license": "MIT" - }, "node_modules/esutils": { "version": "2.0.3", "license": "BSD-2-Clause", @@ -8386,38 +8088,6 @@ "node": ">=16.0.0" } }, - "node_modules/filing-cabinet": { - "version": "5.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "app-module-path": "^2.2.0", - "commander": "^12.1.0", - "enhanced-resolve": "^5.19.0", - "module-definition": "^6.0.1", - "module-lookup-amd": "^9.1.0", - "resolve": "^1.22.11", - "resolve-dependency-path": "^4.0.1", - "sass-lookup": "^6.1.0", - "stylus-lookup": "^6.1.0", - "tsconfig-paths": "^4.2.0", - "typescript": "^5.9.3" - }, - "bin": { - "filing-cabinet": "bin/cli.js" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/filing-cabinet/node_modules/commander": { - "version": "12.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - } - }, "node_modules/fill-range": { "version": "7.1.1", "dev": true, @@ -8636,18 +8306,6 @@ "node": ">=6.9.0" } }, - "node_modules/get-amd-module-type": { - "version": "6.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "ast-module-types": "^6.0.1", - "node-source-walk": "^7.0.1" - }, - "engines": { - "node": ">=18" - } - }, "node_modules/get-caller-file": { "version": "2.0.5", "dev": true, @@ -8689,11 +8347,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/get-own-enumerable-property-symbols": { - "version": "3.0.2", - "dev": true, - "license": "ISC" - }, "node_modules/get-package-type": { "version": "0.1.0", "dev": true, @@ -8778,12 +8431,15 @@ "node": "*" } }, - "node_modules/globals": { - "version": "15.15.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-15.15.0.tgz", - "integrity": "sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==", + "node_modules/global-directory": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/global-directory/-/global-directory-4.0.1.tgz", + "integrity": "sha512-wHTUcDUoZ1H5/0iVqEudYW4/kAlN5cZ3j/bXn0Dpbizl9iaUVeWSHqiOjsgk6OW2bkLclbBjzewBz6weQ1zA2Q==", "dev": true, "license": "MIT", + "dependencies": { + "ini": "4.1.1" + }, "engines": { "node": ">=18" }, @@ -8791,18 +8447,27 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/gonzales-pe": { - "version": "4.3.0", + "node_modules/global-directory/node_modules/ini": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.1.tgz", + "integrity": "sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/globals": { + "version": "15.15.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.15.0.tgz", + "integrity": "sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==", "dev": true, "license": "MIT", - "dependencies": { - "minimist": "^1.2.5" - }, - "bin": { - "gonzales": "bin/gonzales.js" - }, "engines": { - "node": ">=0.6.0" + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/gopd": { @@ -9143,6 +8808,16 @@ "node": "^22.22.2 || ^24.15.0 || >=26.0.0" } }, + "node_modules/interpret": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-3.1.1.tgz", + "integrity": "sha512-6xwYfHbajpoF0xLW+iwLkhwgvLoZDfjYfoFNu8ftMoXINzwuymNLd9u/KmwtdT2GbR+/Cz66otEGEVVUHX9QLQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.13.0" + } + }, "node_modules/ip-address": { "version": "10.2.0", "dev": true, @@ -9234,12 +8909,21 @@ "node": ">=0.10.0" } }, - "node_modules/is-interactive": { + "node_modules/is-installed-globally": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-1.0.0.tgz", + "integrity": "sha512-K55T22lfpQ63N4KEN57jZUAaAYqYHEe8veb/TycJRk9DdSCLLcovXz/mL6mOnhQaZsQGwPhuFopdQIlqGSEjiQ==", "dev": true, "license": "MIT", + "dependencies": { + "global-directory": "^4.0.1", + "is-path-inside": "^4.0.0" + }, "engines": { - "node": ">=8" + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/is-number": { @@ -9250,26 +8934,23 @@ "node": ">=0.12.0" } }, - "node_modules/is-obj": { - "version": "1.0.1", + "node_modules/is-path-inside": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-4.0.0.tgz", + "integrity": "sha512-lJJV/5dYS+RcL8uQdBDW9c9uWFLLBNRyFhnAKXw5tVqLlKZ4RMGZKv+YQ/IA3OhD+RpbJa1LLFM1FQPGyIXvOA==", "dev": true, "license": "MIT", "engines": { - "node": ">=0.10.0" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/is-promise": { "version": "4.0.0", "license": "MIT" }, - "node_modules/is-regexp": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-stream": { "version": "2.0.1", "dev": true, @@ -9281,33 +8962,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-unicode-supported": { - "version": "0.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-url": { - "version": "1.2.4", - "dev": true, - "license": "MIT" - }, - "node_modules/is-url-superb": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/is-wsl": { "version": "2.2.0", "dev": true, @@ -10239,6 +9893,16 @@ "graceful-fs": "^4.1.11" } }, + "node_modules/kleur": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", + "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/ky": { "version": "1.14.3", "license": "MIT", @@ -10468,21 +10132,6 @@ "dev": true, "license": "MIT" }, - "node_modules/log-symbols": { - "version": "4.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/log4js": { "version": "6.9.1", "dev": true, @@ -10528,51 +10177,6 @@ "node": ">=12" } }, - "node_modules/madge": { - "version": "8.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.1.2", - "commander": "^7.2.0", - "commondir": "^1.0.1", - "debug": "^4.3.4", - "dependency-tree": "^11.0.0", - "ora": "^5.4.1", - "pluralize": "^8.0.0", - "pretty-ms": "^7.0.1", - "rc": "^1.2.8", - "stream-to-array": "^2.3.0", - "ts-graphviz": "^2.1.2", - "walkdir": "^0.4.1" - }, - "bin": { - "madge": "bin/cli.js" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "type": "individual", - "url": "https://www.paypal.me/pahen" - }, - "peerDependencies": { - "typescript": "^5.4.4" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/magic-string": { - "version": "0.30.21", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.5.5" - } - }, "node_modules/make-dir": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", @@ -10891,53 +10495,14 @@ "dev": true, "license": "MIT" }, - "node_modules/module-definition": { - "version": "6.0.1", + "node_modules/mongodb": { + "version": "7.1.1", "dev": true, - "license": "MIT", + "license": "Apache-2.0", "dependencies": { - "ast-module-types": "^6.0.1", - "node-source-walk": "^7.0.1" - }, - "bin": { - "module-definition": "bin/cli.js" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/module-lookup-amd": { - "version": "9.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "commander": "^12.1.0", - "requirejs": "^2.3.8", - "requirejs-config-file": "^4.0.0" - }, - "bin": { - "lookup-amd": "bin/cli.js" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/module-lookup-amd/node_modules/commander": { - "version": "12.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - } - }, - "node_modules/mongodb": { - "version": "7.1.1", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@mongodb-js/saslprep": "^1.3.0", - "bson": "^7.1.1", - "mongodb-connection-string-url": "^7.0.0" + "@mongodb-js/saslprep": "^1.3.0", + "bson": "^7.1.1", + "mongodb-connection-string-url": "^7.0.0" }, "engines": { "node": ">=20.19.0" @@ -11173,17 +10738,6 @@ "dev": true, "license": "MIT" }, - "node_modules/node-source-walk": { - "version": "7.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/parser": "^7.26.7" - }, - "engines": { - "node": ">=18" - } - }, "node_modules/nopt": { "version": "4.0.3", "dev": true, @@ -11523,28 +11077,6 @@ "node": ">= 0.8.0" } }, - "node_modules/ora": { - "version": "5.4.1", - "dev": true, - "license": "MIT", - "dependencies": { - "bl": "^4.1.0", - "chalk": "^4.1.0", - "cli-cursor": "^3.1.0", - "cli-spinners": "^2.5.0", - "is-interactive": "^1.0.0", - "is-unicode-supported": "^0.1.0", - "log-symbols": "^4.1.0", - "strip-ansi": "^6.0.0", - "wcwidth": "^1.0.1" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/os-homedir": { "version": "1.0.2", "dev": true, @@ -11690,14 +11222,6 @@ "dev": true, "license": "MIT" }, - "node_modules/parse-ms": { - "version": "2.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/parseurl": { "version": "1.3.3", "license": "MIT", @@ -11937,93 +11461,6 @@ "node": ">=8" } }, - "node_modules/pluralize": { - "version": "8.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss": { - "version": "8.5.12", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "nanoid": "^3.3.11", - "picocolors": "^1.1.1", - "source-map-js": "^1.2.1" - }, - "engines": { - "node": "^10 || ^12 || >=14" - } - }, - "node_modules/postcss-values-parser": { - "version": "6.0.2", - "dev": true, - "license": "MPL-2.0", - "dependencies": { - "color-name": "^1.1.4", - "is-url-superb": "^4.0.0", - "quote-unquote": "^1.0.0" - }, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "postcss": "^8.2.9" - } - }, - "node_modules/precinct": { - "version": "12.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@dependents/detective-less": "^5.0.1", - "commander": "^12.1.0", - "detective-amd": "^6.0.1", - "detective-cjs": "^6.0.1", - "detective-es6": "^5.0.1", - "detective-postcss": "^7.0.1", - "detective-sass": "^6.0.1", - "detective-scss": "^5.0.1", - "detective-stylus": "^5.0.1", - "detective-typescript": "^14.0.0", - "detective-vue2": "^2.2.0", - "module-definition": "^6.0.1", - "node-source-walk": "^7.0.1", - "postcss": "^8.5.1", - "typescript": "^5.7.3" - }, - "bin": { - "precinct": "bin/cli.js" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/precinct/node_modules/commander": { - "version": "12.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - } - }, "node_modules/prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -12077,20 +11514,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/pretty-ms": { - "version": "7.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "parse-ms": "^2.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/proc-log": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-7.0.0.tgz", @@ -12114,6 +11537,20 @@ "dev": true, "license": "MIT" }, + "node_modules/prompts": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", + "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "kleur": "^3.0.3", + "sisteransi": "^1.0.5" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/proper-lockfile": { "version": "4.1.2", "dev": true, @@ -12283,11 +11720,6 @@ "dev": true, "license": "MIT" }, - "node_modules/quote-unquote": { - "version": "1.0.0", - "dev": true, - "license": "MIT" - }, "node_modules/range-parser": { "version": "1.2.1", "license": "MIT", @@ -12322,33 +11754,6 @@ "url": "https://opencollective.com/express" } }, - "node_modules/rc": { - "version": "1.2.8", - "dev": true, - "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", - "dependencies": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" - }, - "bin": { - "rc": "cli.js" - } - }, - "node_modules/rc/node_modules/ini": { - "version": "1.3.8", - "dev": true, - "license": "ISC" - }, - "node_modules/rc/node_modules/strip-json-comments": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/rdf-canonize": { "version": "3.4.0", "license": "BSD-3-Clause", @@ -12487,6 +11892,19 @@ "once": "^1.3.0" } }, + "node_modules/rechoir": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.8.0.tgz", + "integrity": "sha512-/vxpCXddiX8NGfGO/mTafwjq4aFa/71pvamip0++IQk3zG8cbCj0fifNPrjjF1XMXUne91jL9OoxmdykoEtifQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "resolve": "^1.20.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, "node_modules/reflect-metadata": { "version": "0.2.2", "license": "Apache-2.0" @@ -12507,6 +11925,16 @@ "node": ">=4" } }, + "node_modules/regexp-tree": { + "version": "0.1.27", + "resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.27.tgz", + "integrity": "sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==", + "dev": true, + "license": "MIT", + "bin": { + "regexp-tree": "bin/regexp-tree" + } + }, "node_modules/regexpu-core": { "version": "6.4.0", "dev": true, @@ -12554,30 +11982,6 @@ "node": ">=0.10.0" } }, - "node_modules/requirejs": { - "version": "2.3.8", - "dev": true, - "license": "MIT", - "bin": { - "r_js": "bin/r.js", - "r.js": "bin/r.js" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/requirejs-config-file": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "esprima": "^4.0.0", - "stringify-object": "^3.2.1" - }, - "engines": { - "node": ">=10.13.0" - } - }, "node_modules/resolve": { "version": "1.22.11", "dev": true, @@ -12610,14 +12014,6 @@ "node": ">=8" } }, - "node_modules/resolve-dependency-path": { - "version": "4.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - } - }, "node_modules/resolve-from": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", @@ -12628,18 +12024,6 @@ "node": ">=8" } }, - "node_modules/restore-cursor": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/retry": { "version": "0.12.0", "dev": true, @@ -12693,6 +12077,16 @@ ], "license": "MIT" }, + "node_modules/safe-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-2.1.1.tgz", + "integrity": "sha512-rx+x8AMzKb5Q5lQ95Zoi6ZbJqwCLkqi3XuJXp5P3rT8OEc6sZCJG5AE5dU3lsgRr/F4Bs31jSlVN+j5KrsGu9A==", + "dev": true, + "license": "MIT", + "dependencies": { + "regexp-tree": "~0.1.1" + } + }, "node_modules/safe-stable-stringify": { "version": "2.5.0", "dev": true, @@ -12705,29 +12099,6 @@ "version": "2.1.2", "license": "MIT" }, - "node_modules/sass-lookup": { - "version": "6.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "commander": "^12.1.0", - "enhanced-resolve": "^5.18.0" - }, - "bin": { - "sass-lookup": "bin/cli.js" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/sass-lookup/node_modules/commander": { - "version": "12.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - } - }, "node_modules/semver": { "version": "7.8.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", @@ -12960,6 +12331,13 @@ "node": "^22.22.2 || ^24.15.0 || >=26.0.0" } }, + "node_modules/sisteransi": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", + "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", + "dev": true, + "license": "MIT" + }, "node_modules/sjcl": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/sjcl/-/sjcl-1.0.9.tgz", @@ -13030,14 +12408,6 @@ "node": ">=0.10.0" } }, - "node_modules/source-map-js": { - "version": "1.2.1", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/source-map-support": { "version": "0.5.13", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", @@ -13271,14 +12641,6 @@ "node": ">= 0.8" } }, - "node_modules/stream-to-array": { - "version": "2.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "any-promise": "^1.1.0" - } - }, "node_modules/streamroller": { "version": "3.1.5", "dev": true, @@ -13354,19 +12716,6 @@ "node": ">=8" } }, - "node_modules/stringify-object": { - "version": "3.3.0", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "get-own-enumerable-property-symbols": "^3.0.0", - "is-obj": "^1.0.1", - "is-regexp": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/strip-ansi": { "version": "6.0.1", "dev": true, @@ -13423,28 +12772,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/stylus-lookup": { - "version": "6.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "commander": "^12.1.0" - }, - "bin": { - "stylus-lookup": "bin/cli.js" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/stylus-lookup/node_modules/commander": { - "version": "12.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - } - }, "node_modules/supports-color": { "version": "7.2.0", "dev": true, @@ -13484,7 +12811,9 @@ } }, "node_modules/tapable": { - "version": "2.3.0", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.3.tgz", + "integrity": "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==", "dev": true, "license": "MIT", "engines": { @@ -13728,30 +13057,6 @@ "typescript": ">=4.8.4" } }, - "node_modules/ts-graphviz": { - "version": "2.1.4", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ts-graphviz" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/ts-graphviz" - } - ], - "license": "MIT", - "dependencies": { - "@ts-graphviz/adapter": "^2.0.5", - "@ts-graphviz/ast": "^2.0.5", - "@ts-graphviz/common": "^2.1.4", - "@ts-graphviz/core": "^2.0.5" - }, - "engines": { - "node": ">=18" - } - }, "node_modules/ts-jest": { "version": "29.4.15", "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.4.15.tgz", @@ -13987,6 +13292,22 @@ "node": ">=6" } }, + "node_modules/tsconfig-paths-webpack-plugin": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths-webpack-plugin/-/tsconfig-paths-webpack-plugin-4.2.0.tgz", + "integrity": "sha512-zbem3rfRS8BgeNK50Zz5SIQgXzLafiHjOwUAvk/38/o1jHn/V5QAgVUcz884or7WYcPaH3N2CIfUc2u0ul7UcA==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0", + "enhanced-resolve": "^5.7.0", + "tapable": "^2.2.1", + "tsconfig-paths": "^4.1.2" + }, + "engines": { + "node": ">=10.13.0" + } + }, "node_modules/tsconfig-paths/node_modules/strip-bom": { "version": "3.0.0", "dev": true, @@ -14393,14 +13714,6 @@ "node": ">= 0.8" } }, - "node_modules/walkdir": { - "version": "0.4.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/walker": { "version": "1.0.8", "dev": true, @@ -14409,12 +13722,17 @@ "makeerror": "1.0.12" } }, - "node_modules/wcwidth": { - "version": "1.0.1", + "node_modules/watskeburt": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/watskeburt/-/watskeburt-5.0.3.tgz", + "integrity": "sha512-g9CXukMjazlJJVQ3OHzXsnG25KFYgSgKMIyoJrD8ggr0DbS9UNF7OzIqWmmKKBMedkxj3T01uqEaGnn+y7QhMA==", "dev": true, "license": "MIT", - "dependencies": { - "defaults": "^1.0.3" + "bin": { + "watskeburt": "dist/run-cli.js" + }, + "engines": { + "node": "^20.12||^22.13||>=24.0" } }, "node_modules/web-did-resolver": { diff --git a/package.json b/package.json index a3e8641e3..72ebf7728 100644 --- a/package.json +++ b/package.json @@ -29,11 +29,6 @@ "teardown:openid4vc": "docker rm -f eudiplo", "test:teardown": "docker compose -f .dev/compose.yml down -fsv" }, - "overrides": { - "madge": { - "typescript": "$typescript" - } - }, "devDependencies": { "@babel/preset-env": "^7.29.7", "@babel/preset-typescript": "^7.29.7", @@ -42,11 +37,11 @@ "@types/jest": "^30.0.0", "@types/node": "^24.13.3", "@typescript/native": "npm:typescript@^7.0.2", + "dependency-cruiser": "^17.4.3", "enhanced-publish": "^1.1.9", "eslint": "^10.4.1", "jest": "^30.4.2", "jest-expect-message": "^1.1.3", - "madge": "^8.0.0", "npm-check-updates": "^22.2.9", "patch-package": "^8.0.1", "prettier": "^3.8.4", diff --git a/packages/app-runtime/package.json b/packages/app-runtime/package.json index 70b8e0260..86967c9c3 100644 --- a/packages/app-runtime/package.json +++ b/packages/app-runtime/package.json @@ -19,7 +19,7 @@ "build:ci": "npm run build:node && ../../.ci/writeBuildInformation.sh", "build:node": "tsc -p tsconfig.json", "build:notest": "npm run build:node", - "cdep": "tsc && madge --circular dist", + "cdep": "tsc && depcruise --config ../../.dependency-cruiser.json dist", "lint:tsc": "tsc --noEmit && tsc -p test/tsconfig.json --noEmit", "test": "jest --forceExit", "test:ci": "jest -i --forceExit --coverage" diff --git a/packages/consumption/package.json b/packages/consumption/package.json index 1c8a85f76..47b3512cf 100644 --- a/packages/consumption/package.json +++ b/packages/consumption/package.json @@ -17,9 +17,9 @@ "scripts": { "build": "npm run build:node", "build:ci": "npm run build:node && ../../.ci/writeBuildInformation.sh", - "build:node": "tsc -p tsconfig.json && madge --circular dist", + "build:node": "tsc -p tsconfig.json && depcruise --config ../../.dependency-cruiser.json dist", "build:notest": "npm run build:node", - "cdep": "tsc && madge --circular dist", + "cdep": "tsc && depcruise --config ../../.dependency-cruiser.json dist", "lint:tsc": "tsc --noEmit && tsc -p test/tsconfig.json --noEmit", "test:ci": "npm run test", "test:ci:lokijs": "USE_LOKIJS=true jest -i --coverage", diff --git a/packages/content/package.json b/packages/content/package.json index 8b8ebd9f2..af86775b3 100644 --- a/packages/content/package.json +++ b/packages/content/package.json @@ -17,9 +17,9 @@ "scripts": { "build": "npm run build:node", "build:ci": "npm run build:node && ../../.ci/writeBuildInformation.sh", - "build:node": "tsc -p tsconfig.json && madge --circular dist", + "build:node": "tsc -p tsconfig.json && depcruise --config ../../.dependency-cruiser.json dist", "build:notest": "npm run build:node", - "cdep": "tsc && madge --circular dist", + "cdep": "tsc && depcruise --config ../../.dependency-cruiser.json dist", "lint:tsc": "tsc --noEmit && tsc -p test/tsconfig.json --noEmit", "test": "jest", "test:ci": "jest -i --coverage" diff --git a/packages/core-types/package.json b/packages/core-types/package.json index f5adc350d..fd69d50f8 100644 --- a/packages/core-types/package.json +++ b/packages/core-types/package.json @@ -17,7 +17,7 @@ "scripts": { "build": "tsc", "build:ci": "tsc", - "cdep": "tsc && madge --circular dist", + "cdep": "tsc && depcruise --config ../../.dependency-cruiser.json dist", "lint:tsc": "tsc --noEmit && tsc -p test/tsconfig.json --noEmit", "test": "jest -i", "test:ci": "jest -i --coverage" diff --git a/packages/runtime-types/package.json b/packages/runtime-types/package.json index f99a0fd65..62928a0f4 100644 --- a/packages/runtime-types/package.json +++ b/packages/runtime-types/package.json @@ -17,7 +17,7 @@ "scripts": { "build": "tsc", "build:ci": "tsc", - "cdep": "tsc && madge --circular dist", + "cdep": "tsc && depcruise --config ../../.dependency-cruiser.json dist", "lint:tsc": "tsc --noEmit" }, "dependencies": { diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 49497b642..2dd8feadb 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -20,7 +20,7 @@ "build:node": "npm run build:schemas && tsc -p tsconfig.json", "build:notest": "npm run build:node", "build:schemas": "node scripts/buildSchemas.mjs", - "cdep": "tsc && madge --circular dist", + "cdep": "tsc && depcruise --config ../../.dependency-cruiser.json dist", "lint:tsc": "tsc --noEmit && tsc -p test/tsconfig.json --noEmit", "test:ci:lokijs": "USE_LOKIJS=true jest -i --coverage", "test:ci:mongodb": "jest -i --coverage", diff --git a/packages/transport/package.json b/packages/transport/package.json index 06fa5e45e..3df7bf52c 100644 --- a/packages/transport/package.json +++ b/packages/transport/package.json @@ -17,9 +17,9 @@ "scripts": { "build": "npm run build:node", "build:ci": "npm run build:node && ../../.ci/writeBuildInformation.sh", - "build:node": "tsc -p tsconfig.json && madge --circular dist", + "build:node": "tsc -p tsconfig.json && depcruise --config ../../.dependency-cruiser.json dist", "build:notest": "npm run build:node", - "cdep": "tsc && madge --circular dist", + "cdep": "tsc && depcruise --config ../../.dependency-cruiser.json dist", "lint:tsc": "tsc --noEmit && tsc -p test/tsconfig.json --noEmit", "test:ci": "npm run test:ci:lokijs && npm run test:ci:mongodb", "test:ci:lokijs": "USE_LOKIJS=true jest -i --coverage", From 3c18fdb56239b5a9a90cf0101de8ffe51b57fe43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20H=C3=BCgel?= Date: Thu, 29 Oct 2026 11:44:21 +0100 Subject: [PATCH 10/10] chore(test): remove remaining Jest-specific CI handling --- .ci/runChecks.sh | 1 - packages/app-runtime/test/modules/SSEModule.test.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.ci/runChecks.sh b/.ci/runChecks.sh index 5caf208c1..3192c5be4 100755 --- a/.ci/runChecks.sh +++ b/.ci/runChecks.sh @@ -2,7 +2,6 @@ set -e npm ci npm run build:node -npm run lint:tsc npm run lint:eslint npm run lint:prettier npm run --workspaces cdep diff --git a/packages/app-runtime/test/modules/SSEModule.test.ts b/packages/app-runtime/test/modules/SSEModule.test.ts index 9a8c7a288..108f4e289 100644 --- a/packages/app-runtime/test/modules/SSEModule.test.ts +++ b/packages/app-runtime/test/modules/SSEModule.test.ts @@ -4,7 +4,7 @@ import { MockEventBus } from "../lib/MockEventBus"; // eslint-disable-next-line vitest/no-disabled-tests -- disabled because the Backbone currently isn't performant enough in the CI describe.skip("SSEModuleTest", function () { const eventBus = new MockEventBus(); - // Note: even when skipped, Jest executes top-level imports. + // Note: even when skipped, Vitest executes top-level imports. // Keep runtime-heavy imports lazy to avoid teardown-time libsodium init errors. let testUtil: typeof import("../lib/TestUtil").TestUtil;