-
Notifications
You must be signed in to change notification settings - Fork 63
Update Node.js & NPM #952
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 Node.js & NPM #952
Conversation
c2c82d5
to
19393a9
Compare
@swift-ci test |
8e0add4
to
83abe23
Compare
0e6f08d
to
42e07a6
Compare
@swift-ci test |
I chose this version of Node because: - Latest LTS stability: It's the most recent Long Term Support version, providing stability and security updates until April 2026, making it ideal for production use. - Maximum compatibility: It's the highest Node.js version that works seamlessly with all existing project dependencies without requiring any dependency upgrades. Update Node.js & NPM to 22.17.0
Since highlight.js 11.6+, the `distributed` keyword is built-in and no custom overrides are needed
Replace wrapper.find with wrapper.findComponent instead since wrapper.find is deprecated
This change fixes the deprecation warning: [Vue warn]: Duplicate keys detected: 'A'. This may cause an update error.
@swift-ci test |
tree-sitter-vue is not compatible with Node.js 22. The version of tree-sitter that works with Node.js 22 is v0.21.0 or later, as it uses the new Node-API instead of NAN for its Node bindings. Since tree-sitter-vue hasn't been updated to use v0.21.0+, it doesn't work with Node.js 22. Related: rdar://156714814 I opened a separate PR in case we want to delete the tree-sitter-vue dependency, since it doesn't work with Node 22. |
We need to update the Node version to 22.17.0 for the Swift CI to work in Docc-render, since we are also updating Node in the project. [1] [1] swiftlang/swift-docc-render#952
We need to update the Node version to 22.17.0 in the Swift CI for Docc-Render, to ensure compatibility with the updated Node version used in the project. [1] [1] swiftlang/swift-docc-render#952
Swift CI is failing because it's using Node 14.17.4 instead of Node I opened a PR in Swift Docker to update the Node version in Docker to Fixes: rdar://156708326 |
Bug/issue #137038442, if applicable:
Summary
This change updates Node.js to
22.17.0
& NPM to10.9.2
.I chose 22.17.0 version of Node because it's the latest LTS (Long Term Support) version.
Dependencies
NA
Testing
Steps:
rm -rf node_modules package-lock.json
npm install
npm run serve
npm run test
Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.
npm test
, and it succeeded