Skip to content

chore(sdk/nodejs): update dependencies and migrate to ESLint 9 config#4412

Merged
markmandel merged 3 commits intoagones-dev:mainfrom
markmandel:sdk/node-updates
Jan 16, 2026
Merged

chore(sdk/nodejs): update dependencies and migrate to ESLint 9 config#4412
markmandel merged 3 commits intoagones-dev:mainfrom
markmandel:sdk/node-updates

Conversation

@markmandel
Copy link
Copy Markdown
Collaborator

What type of PR is this?

Uncomment only one /kind <> line, press enter to put that in a new line, and remove leading whitespace from that line:

/kind breaking
/kind bug

/kind cleanup

/kind documentation
/kind feature
/kind hotfix
/kind release

What this PR does / Why we need it:

Upgrade Node.js SDK dependencies to latest versions and migrate ESLint configuration from legacy .eslintrc.json to the new flat config format required by ESLint 9.

Which issue(s) this PR fixes:

This was mostly just to clean up the dependabot PRs that have been there for ages - hopefully I did right by NodeJS code 😄

Special notes for your reviewer:

@steven-supersolid did I do okay? 😄 (or anyone else with Node experience).

@github-actions github-actions bot added kind/cleanup Refactoring code, fixing up documentation, etc size/XL labels Jan 9, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 9, 2026

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

@agones-bot
Copy link
Copy Markdown
Collaborator

Build Succeeded 🥳

Build Id: 591f3705-1af3-4bc9-a738-b4ae45bb800d

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

git fetch https://github.com/googleforgames/agones.git pull/4412/head:pr_4412 && git checkout pr_4412
helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.55.0-dev-32313e3

Copy link
Copy Markdown
Collaborator

@lacroixthomas lacroixthomas left a comment

Choose a reason for hiding this comment

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

LGTM !

But it's been quite some time I've been doing some Node, I've been looking a bit on the changes with ESLint 9 etc. it's looking all good, but a second approval would be great though 😄

"dependencies": {
"@grpc/grpc-js": "1.10.9",
"google-protobuf": "3.21.2"
"@grpc/grpc-js": "^1.14.3",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It may be safer to pin these versions, i.e. remove the ^
This way if there is a later vulnerability introduced in a dependency then it won't bubble up through the agones package
We leave dev dependencies unpinned as these will only be installed on the developer machine

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Done!

...globals.jasmine
}
},
rules: {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This looks good but apparently these stylistic rules are no longer recommended and may not work. If npm run lint works then all is good for now

I recommend moving to biome as we can just use the standard rules with no overrides with the consequence quotes will change to double but this could be a separate task

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

#4425 created.

Upgrade Node.js SDK dependencies to latest versions and migrate ESLint
configuration from legacy .eslintrc.json to the new flat config format
required by ESLint 9.
@github-actions
Copy link
Copy Markdown

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

@markmandel markmandel enabled auto-merge (squash) January 16, 2026 17:36
@github-actions
Copy link
Copy Markdown

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

@agones-bot
Copy link
Copy Markdown
Collaborator

Build Succeeded 🥳

Build Id: 72c1d5b8-52a3-4f4b-8052-e76097441f01

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

git fetch https://github.com/googleforgames/agones.git pull/4412/head:pr_4412 && git checkout pr_4412
helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.56.0-dev-3402166

@markmandel markmandel merged commit 3b7a6d2 into agones-dev:main Jan 16, 2026
5 checks passed
@markmandel markmandel deleted the sdk/node-updates branch January 16, 2026 19:13
mnthe pushed a commit to mnthe/agones that referenced this pull request Mar 23, 2026
…agones-dev#4412)

* chore(sdk/nodejs): update dependencies and migrate to ESLint 9 config

Upgrade Node.js SDK dependencies to latest versions and migrate ESLint
configuration from legacy .eslintrc.json to the new flat config format
required by ESLint 9.

* Review updates.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/cleanup Refactoring code, fixing up documentation, etc size/XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants