Bump eslint from 9.39.4 to 10.4.0#655
Conversation
inthewaves
left a comment
There was a problem hiding this comment.
We should update README.md as it says Node.js 20+, but they removed support for Node.js < v20.19: https://eslint.org/docs/latest/use/migrate-to-10.0.0#drop-old-node
ESLint is officially dropping support for these versions of Node.js starting with ESLint v10.0.0. ESLint now supports the following versions of Node.js:
- Node.js v20.19.0 and above
- Node.js v22.13.0 and above
- Node.js v24 and above
To address: Make sure you upgrade to at least Node.js v20.19.0 when using ESLint v10.0.0.
|
Actually pdfjs seems to want higher Node.js too (though haven't seen issues)l, this is from the CI run |
That is likely because of the default version used by |
|
I have made CI use node 22. Also upgraded |
91cb9dd to
a70a767
Compare
a70a767 to
e225331
Compare
|
Updated to latest |
|
@ggtlvkma356 Can you split the Node.js version change into a separate commit? The eslint updates could also be merged into 1 commit. |
|
There should probably just be 1 commit updating eslint which fixes the issue. Can just drop the dependabot commit. |
e225331 to
6f9953a
Compare
|
@thestinger Ok I have updated with 1 commit for updating the eslint version and 1 commit for updating node version. |
|
@ggtlvkma356 Could we use Node.js 24 instead of 22? |
|
10.4.1 was released so I squashed that into it. |
|
@thestinger I tested node 24 locally and it builds and tests fine. Since it is mainly used to run the build script I think it is fine to update. |
|
@ggtlvkma356 Okay, I just modified the existing commit to keep the history clean. |
Supersede #638, #656.
Dependencies to
@eslint/jswas removed fromeslint. See eslint/eslint#20539.