Skip to content

chore(deps:js): bump deps#536

Merged
rhamzeh merged 2 commits into
mainfrom
chore/js-bump-deps
Feb 11, 2026
Merged

chore(deps:js): bump deps#536
rhamzeh merged 2 commits into
mainfrom
chore/js-bump-deps

Conversation

@rhamzeh

@rhamzeh rhamzeh commented Feb 11, 2026

Copy link
Copy Markdown
Member

Description

What problem is being solved?

How is it being solved?

What changes are made to solve it?

References

Review Checklist

  • I have clicked on "allow edits by maintainers".
  • I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
  • The correct base branch is being used, if not main
  • I have added tests to validate that the change in functionality is working as expected

Summary by CodeRabbit

  • Breaking Changes

    • Dropped support for Node.js 16 & 18; minimum supported version is now 20.19.0
  • Documentation

    • Added supported Node.js versions documentation with support policy
  • Chores

    • Updated development dependencies and added Node.js 25 to CI test matrix

Copilot AI review requested due to automatic review settings February 11, 2026 15:26
@rhamzeh
rhamzeh requested review from a team as code owners February 11, 2026 15:26
@coderabbitai

coderabbitai Bot commented Feb 11, 2026

Copy link
Copy Markdown
Contributor

Caution

Review failed

Failed to post review comments

Walkthrough

Updates CI/CD workflows to support Node.js 25.x, modernizes ESLint from legacy (.eslintrc.js) to flat config (eslint.config.mjs), updates tooling dependencies and removes eslintignore patterns, adds Node.js version support documentation, and sets minimum engine requirement to 20.19.0.

Changes

Cohort / File(s) Summary
CI/CD Workflow Updates
.github/workflows/pkg-js-build.yaml, .github/workflows/pkg-js-release.yaml
Added Node.js 25.x to test matrix, removed always-auth setting, introduced TARGET_NODE_VERSION environment variable, npm cache configuration, and new tag validation step that validates semantic version format and derives npm distribution tag (alpha/beta/rc/latest) for release publishing.
ESLint Configuration Migration
pkg/js/.eslintrc.js, pkg/js/eslint.config.mjs, pkg/js/.eslintignore
Migrated from legacy ESLint configuration (.eslintrc.js, deleted) to flat config format (eslint.config.mjs, new), removed dist/ and gen/ ignore patterns from .eslintignore, and added TypeScript/import resolver support with comprehensive rule overrides.
Node.js Version Support Documentation
pkg/js/CHANGELOG.md, pkg/js/README.md, pkg/js/SUPPORTED_RUNTIMES.md
Added Unreleased changelog section noting drop of Node.js v16 & v18 support, added Supported Node.js Versions README section, and introduced new SUPPORTED_RUNTIMES.md documenting version support policy and currently supported versions (20, 22, 24, 25).
Dependencies & Configuration
pkg/js/package.json, pkg/js/.npm-upgrade.json
Updated lint script to run eslint at project root, bumped ESLint and TypeScript-related dependencies to newer versions, added eslint-import-resolver-typescript, added node engine requirement >=20.19.0, and updated npm-upgrade ESLint ignore rule from 9.x to 10.x.
Code Cleanup
pkg/js/transformer/dsltojson.ts
Removed ESLint lint suppression comment preceding enterTypeDef listener.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Suggested reviewers

  • jimmyjames
  • SoulPancake
🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'chore(deps:js): bump deps' is overly vague and does not clearly convey the scope of changes beyond generic dependency bumping; the PR includes significant structural changes like ESLint migration, Node.js version requirements, CI/release workflow updates, and documentation additions that are not captured. Consider a more descriptive title that reflects the major changes, such as 'chore(js): migrate to flat ESLint config and update Node.js minimum to 20.19.0' or similar to better convey the actual scope.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/js-bump-deps

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@dosubot

dosubot Bot commented Feb 11, 2026

Copy link
Copy Markdown

Related Documentation

Checked 8 published document(s) in 1 knowledge base(s). No updates required.

How did I do? Any feedback?  Join Discord

@socket-security

socket-security Bot commented Feb 11, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​eslint-import-resolver-typescript@​4.4.49910010090100
Updatednpm/​eslint@​8.57.1 ⏵ 9.39.294 -2100100 +197 +47100

View full report

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the pkg/js (TypeScript) package’s dependency set and migrates linting from legacy .eslintrc/.eslintignore to ESLint v9’s flat config format.

Changes:

  • Bump JS/TS dependencies (notably ESLint v9, @typescript-eslint/*, TypeScript, Prettier, YAML).
  • Replace .eslintrc.js + .eslintignore with a new eslint.config.mjs.
  • Simplify the lint script to run ESLint with default config discovery.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pkg/js/transformer/dsltojson.ts Removes an obsolete ESLint suppression comment.
pkg/js/package.json Updates dependency versions and changes the lint script invocation.
pkg/js/package-lock.json Lockfile updates reflecting the dependency bumps.
pkg/js/eslint.config.mjs Adds ESLint v9 flat config equivalent of the previous .eslintrc.js rules/ignores.
pkg/js/.npm-upgrade.json Adjusts upgrade-ignore policy for ESLint major versions.
pkg/js/.eslintrc.js Removed (replaced by flat config).
pkg/js/.eslintignore Removed (replaced by flat config ignores).
Files not reviewed (1)
  • pkg/js/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pkg/js/package.json
Base automatically changed from chore/js-drop-node-16-18 to main February 11, 2026 15:57
@rhamzeh
rhamzeh marked this pull request as ready for review February 11, 2026 16:01
@rhamzeh
rhamzeh requested review from a team as code owners February 11, 2026 16:01
@rhamzeh
rhamzeh added this pull request to the merge queue Feb 11, 2026
Merged via the queue into main with commit 369b1ba Feb 11, 2026
14 checks passed
@rhamzeh
rhamzeh deleted the chore/js-bump-deps branch February 11, 2026 16:48
@coderabbitai coderabbitai Bot mentioned this pull request Feb 11, 2026
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants