Skip to content

chore(deps-dev): bump typescript from 5.8.2 to 5.9.2#906

Merged
tbouffard merged 2 commits intomainfrom
chore/bump_ts_to_5.9.2
Aug 27, 2025
Merged

chore(deps-dev): bump typescript from 5.8.2 to 5.9.2#906
tbouffard merged 2 commits intomainfrom
chore/bump_ts_to_5.9.2

Conversation

@tbouffard
Copy link
Copy Markdown
Member

@tbouffard tbouffard commented Aug 26, 2025

Also bump @types/node to fix TSC 5.9 errors.

Summary by CodeRabbit

  • Chores
    • Bumped development dependencies: TypeScript and Node type definitions updated to newer minor/patch versions to keep tooling current.
    • No user-facing changes or UI differences; runtime behavior remains unchanged.

@tbouffard tbouffard added dependencies skip-changelog Do not include in Changelog and Release Notes javascript Pull requests that update Javascript code labels Aug 26, 2025
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Aug 26, 2025

Walkthrough

Bumped devDependencies in package.json: @types/node from ^18.19.50 to ^18.19.123 and typescript from ~5.8.2 to ~5.9.2.

Changes

Cohort / File(s) Summary
Dev dependency bumps
package.json
Updated devDependencies.@types/node from ^18.19.50^18.19.123 and devDependencies.typescript from ~5.8.2~5.9.2.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Tip

🔌 Remote MCP (Model Context Protocol) integration is now available!

Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats.


📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between bb06ff3 and d108eed.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • package.json
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: build
  • GitHub Check: build (ubuntu-24.04)
  • GitHub Check: build (windows-2022)
  • GitHub Check: build (macos-14)
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/bump_ts_to_5.9.2

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 6456b39 and bb06ff3.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json (1 hunks)
🧰 Additional context used
🧠 Learnings (3)
📓 Common learnings
Learnt from: tbouffard
PR: maxGraph/maxGraph#774
File: packages/ts-example-selected-features/package.json:11-13
Timestamp: 2025-04-22T16:34:40.309Z
Learning: In the maxGraph project, TypeScript is defined as a dependency in the root package.json (~5.8.2) and not in individual package.json files for example packages. The build scripts in example packages can use `tsc` commands because the TypeScript dependency is hoisted in the monorepo structure.
Learnt from: tbouffard
PR: maxGraph/maxGraph#774
File: packages/ts-example-selected-features/package.json:11-13
Timestamp: 2025-04-22T16:34:40.309Z
Learning: In the maxGraph project, TypeScript is defined as a dependency in the root package.json and not in individual package.json files for example packages. The build scripts in example packages can use `tsc` because it's available through this hoisted dependency in the monorepo structure.
Learnt from: tbouffard
PR: maxGraph/maxGraph#849
File: packages/html/stories/DragSource.stories.js:98-101
Timestamp: 2025-06-13T07:48:10.300Z
Learning: User tbouffard prefers answers in English; avoid switching to other languages in future replies.
📚 Learning: 2025-04-22T16:34:40.309Z
Learnt from: tbouffard
PR: maxGraph/maxGraph#774
File: packages/ts-example-selected-features/package.json:11-13
Timestamp: 2025-04-22T16:34:40.309Z
Learning: In the maxGraph project, TypeScript is defined as a dependency in the root package.json (~5.8.2) and not in individual package.json files for example packages. The build scripts in example packages can use `tsc` commands because the TypeScript dependency is hoisted in the monorepo structure.

Applied to files:

  • package.json
📚 Learning: 2025-04-22T16:34:40.309Z
Learnt from: tbouffard
PR: maxGraph/maxGraph#774
File: packages/ts-example-selected-features/package.json:11-13
Timestamp: 2025-04-22T16:34:40.309Z
Learning: In the maxGraph project, TypeScript is defined as a dependency in the root package.json and not in individual package.json files for example packages. The build scripts in example packages can use `tsc` because it's available through this hoisted dependency in the monorepo structure.

Applied to files:

  • package.json

"eslint-plugin-prettier": "~5.5.4",
"prettier": "~3.6.2",
"typescript": "~5.8.2",
"typescript": "~5.9.2",
Copy link
Copy Markdown

@coderabbitai coderabbitai bot Aug 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

TS 5.9.2 bump LGTM; please sanity-check workspace-wide typechecking and ESLint plugin compatibility.

  • Hoisted TS at the root is consistent with prior decisions for this repo (per our earlier learnings). Good use of a tilde range to constrain to 5.9.x.
  • Please verify: (1) no stray typescript entries in package packages/*, and (2) typescript-eslint + ESLint 9 continue to lint fine with TS 5.9.2.

Run this script from the repo root to validate the above quickly:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== Check for stray 'typescript' deps in workspace packages =="
fd -t f package.json packages | while read -r f; do
  if jq -e '.dependencies.typescript or .devDependencies.typescript' "$f" >/dev/null; then
    echo "Found a stray typescript entry in: $f"
    jq -r '.dependencies.typescript, .devDependencies.typescript' "$f" | sed '/null/d' | sed 's/^/  version: /'
  fi
done

echo "== Show root eslint / typescript-eslint / typescript versions =="
jq -r '.devDependencies | {eslint, "typescript-eslint": .["typescript-eslint"], typescript}' package.json

echo "== Locate TS ESLint parser/plugin usage (sanity) =="
rg -nP '@typescript-eslint/(parser|eslint-plugin)' -C2 --glob '!*node_modules/*' || true

echo "== Find tsconfig files to typecheck (manual run) =="
fd -t f tsconfig.json

echo
echo "Manual follow-up (recommended):"
echo "  - Install and run typecheck: npm ci && npx tsc -v && npx tsc -b --pretty false || npx tsc --noEmit"
echo "  - Lint: npx eslint \"**/*.ts\""

Length of output: 5502


Remove stray TypeScript dependency in packages/ts-support

A stray "typescript": "3.8.2" entry was detected in packages/ts-support/package.json, resulting in two different TS versions in the workspace. Please remove it to ensure a consistent TypeScript version across all packages.

• packages/ts-support/package.json
– Remove the typescript entry under dependencies/devDependencies (version 3.8.2).
• package.json (root)
– ✅ typescript is correctly set to ~5.9.2 alongside ESLint ~9.34.0 and @typescript-eslint ~8.41.0.

After fixing, run the suggested manual follow-up to confirm everything still type-checks and lints:

npm ci
npx tsc -v
npx tsc -b --pretty false || npx tsc --noEmit
npx eslint "**/*.ts"
🤖 Prompt for AI Agents
In packages/ts-support/package.json (the package file containing the stray
TypeScript entry, around where dependencies/devDependencies are defined), remove
the "typescript": "3.8.2" entry entirely (whichever section it appears in),
ensure no other local typescript versions remain in that package.json, save the
file, then run npm ci and the provided typecheck/lint commands to verify the
workspace uses the root TypeScript (~5.9.2) and everything still type-checks and
lints.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "typescript": "3.8.2" entry in packages/ts-support/package.json is done on purpose.
This package validates that the core package can be used with an old version of TypeScript, so this version must be defined explicitly there. The package cannot use the same version of TS as in other packages.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like the humans are having a chat. I'll hop back into my burrow for now. If you need me again, just tag @coderabbitai in a new comment, and I'll come hopping out!

Copy link
Copy Markdown
Member Author

@tbouffard tbouffard Aug 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @coderabbitai this comment is for you: #906 (comment)

@sonarqubecloud
Copy link
Copy Markdown

@tbouffard tbouffard merged commit 25d024b into main Aug 27, 2025
7 checks passed
@tbouffard tbouffard deleted the chore/bump_ts_to_5.9.2 branch August 27, 2025 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies javascript Pull requests that update Javascript code skip-changelog Do not include in Changelog and Release Notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant