-
Notifications
You must be signed in to change notification settings - Fork 3
Update deps #522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Update deps #522
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -58,17 +58,18 @@ | |||||
| "@effect/cli": "catalog:effect", | ||||||
| "@eslint/eslintrc": "^3.0.0", | ||||||
| "@eslint/js": "~9.39.0", | ||||||
| "@nx/devkit": "21.2.3", | ||||||
| "@nx/eslint": "21.2.3", | ||||||
| "@nx/eslint-plugin": "21.2.3", | ||||||
| "@nx/express": "21.2.3", | ||||||
| "@nx/jest": "21.2.3", | ||||||
| "@nx/js": "21.2.3", | ||||||
| "@nx/playwright": "21.2.3", | ||||||
| "@nx/plugin": "21.2.3", | ||||||
| "@nx/vite": "21.2.3", | ||||||
| "@nx/web": "21.2.3", | ||||||
| "@nx/workspace": "21.2.3", | ||||||
| "@nx/devkit": "22.3.3", | ||||||
| "@nx/eslint": "22.3.3", | ||||||
| "@nx/eslint-plugin": "22.3.3", | ||||||
| "@nx/express": "22.3.3", | ||||||
| "@nx/jest": "22.3.3", | ||||||
| "@nx/js": "22.3.3", | ||||||
| "@nx/playwright": "22.3.3", | ||||||
| "@nx/plugin": "22.3.3", | ||||||
| "@nx/vite": "22.3.3", | ||||||
| "@nx/vitest": "22.3.3", | ||||||
| "@nx/web": "22.3.3", | ||||||
| "@nx/workspace": "22.3.3", | ||||||
| "@playwright/test": "^1.47.2", | ||||||
| "@swc-node/register": "1.10.10", | ||||||
| "@swc/cli": "0.6.0", | ||||||
|
|
@@ -82,8 +83,8 @@ | |||||
| "@typescript-eslint/parser": "^8.45.0", | ||||||
| "@typescript-eslint/typescript-estree": "8.23.0", | ||||||
| "@typescript-eslint/utils": "^8.13.0", | ||||||
| "@vitest/coverage-v8": "^3.0.5", | ||||||
| "@vitest/ui": "3.0.4", | ||||||
| "@vitest/coverage-v8": "4.0.9", | ||||||
| "@vitest/ui": "4.0.9", | ||||||
| "conventional-changelog-conventionalcommits": "^8.0.0", | ||||||
| "cz-conventional-changelog": "^3.3.0", | ||||||
| "cz-git": "^1.6.1", | ||||||
|
|
@@ -100,7 +101,7 @@ | |||||
| "jsonc-eslint-parser": "^2.1.0", | ||||||
| "lint-staged": "^15.0.0", | ||||||
| "madge": "8.0.0", | ||||||
| "nx": "21.2.3", | ||||||
| "nx": "22.3.3", | ||||||
| "pkg-pr-new": "^0.0.60", | ||||||
| "playwright": "^1.47.2", | ||||||
| "prettier": "^3.2.5", | ||||||
|
|
@@ -112,10 +113,10 @@ | |||||
| "typedoc": "^0.27.4", | ||||||
| "typedoc-github-theme": "0.2.1", | ||||||
| "typedoc-plugin-rename-defaults": "^0.7.2", | ||||||
| "typescript": "5.8.3", | ||||||
| "typescript": "5.9.3", | ||||||
| "typescript-eslint": "^8.19.0", | ||||||
| "verdaccio": "6.2.1", | ||||||
| "vite": "6.4.1", | ||||||
| "vite": "catalog:vite", | ||||||
| "vitest": "catalog:vitest", | ||||||
| "vitest-canvas-mock": "^0.3.3" | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix The pipeline failure indicates: "Dependency specifiers do not match the lockfile: vitest-canvas-mock (^0.3.3) vs lockfile (^1.1.3)." Update the version to match the lockfile or regenerate the lockfile to resolve the CI failure. Proposed fix (if lockfile version is correct)- "vitest-canvas-mock": "^0.3.3"
+ "vitest-canvas-mock": "^1.1.3"📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| }, | ||||||
|
|
@@ -126,5 +127,6 @@ | |||||
| }, | ||||||
| "nx": { | ||||||
| "includedScripts": [] | ||||||
| } | ||||||
| }, | ||||||
| "dependencies": {} | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,13 +29,14 @@ | |
| "@forgerock/storage": "workspace:*", | ||
| "@reduxjs/toolkit": "catalog:", | ||
| "tslib": "^2.3.0", | ||
| "vite": "6.4.1", | ||
| "vite": "catalog:vite", | ||
| "vitest-canvas-mock": "^0.3.3" | ||
|
Comment on lines
+32
to
33
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove dev/test tools from production dependencies – this is causing the pipeline failure.
The pipeline failure 🔧 Proposed fix "dependencies": {
"@forgerock/sdk-logger": "workspace:*",
"@forgerock/sdk-request-middleware": "workspace:*",
"@forgerock/sdk-types": "workspace:*",
"@forgerock/sdk-utilities": "workspace:*",
"@forgerock/storage": "workspace:*",
"@reduxjs/toolkit": "catalog:",
- "tslib": "^2.3.0",
- "vite": "catalog:vite",
- "vitest-canvas-mock": "^0.3.3"
+ "tslib": "^2.3.0"
},🤖 Prompt for AI Agents |
||
| }, | ||
| "devDependencies": { | ||
| "@vitest/coverage-v8": "^1.2.0", | ||
| "vite": "6.4.1", | ||
| "vitest": "^1.2.0" | ||
| "@vitest/coverage-v8": "^4.0.9", | ||
| "vite": "catalog:vite", | ||
| "vitest": "catalog:vitest", | ||
| "vitest-canvas-mock": "^1.1.3" | ||
| }, | ||
| "nx": { | ||
| "tags": ["scope:package"], | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
Express 5.0 TypeScript types@types/expresscompatibility💡 Result:
Short answer: Use the
@types/expressv5.x types (from DefinitelyTyped). They are published and intended to match Express 5; install express@5 (or express@next) and@types/express@^5 (and the related@typespackages such as@types/express-serve-static-core,@types/body-parser) to get compatible TypeScript definitions. [1][2][4]Notes / gotchas:
@types/expressv5 is maintained on DefinitelyTyped and has multiple 5.x releases — pick a 5.x tag that matches your setup (npm shows current 5.x releases). [1][2][7]@typespackages (express-serve-static-core, body-parser, serve-static, qs) are compatible versions. The@types/expresspackage depends on those. [1][5]Example install:
npm install express@5
@types/express--save(or npm install express@next && npm i -D
@types/express)Sources:
[1]
@types/express(npm package info, 5.x).[2]
@types/express(npm v5.0.3 page).[3] TypeScript + Express setup / guidance (tutorial).
[4]
@types/expressnpm listing (overview).[5]
@types/expressrelease details (versions).[6] Express v4 -> v5 Migration discussion (expressjs/express issue).
🏁 Script executed:
Repository: ForgeRock/ping-javascript-sdk
Length of output: 202
Update
@types/expressto v5.x for Express 5 compatibility.@types/expressat^4.17.17is incompatible with Express 5.x. Express 5 has significant API changes, and the v4 types will cause type errors and mask breaking changes.Update to
@types/express@^5.0.0. Additionally, ensure related@typespackages (@types/express-serve-static-core,@types/body-parser,@types/serve-static) are also compatible v5.x versions. Note that some Express 5 handler signatures are stricter and may require code updates.Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents