-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Upgrade node.js to latest version. #3935
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
Conversation
There was a problem hiding this comment.
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 Node.js version used in the alpine build and refines a regex in the file-hashing utility to avoid matching double commas.
- Refine regex in
expandto use a negative lookahead, preventing matches on,, - Bump
NODE20_VERSIONfrom20.19.1to20.19.3
Reviewed Changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/Misc/layoutbin/hashFiles/index.js | Updated regex from /,.*\}/ to /,(?!,).*\}/ to exclude ,, |
| src/Misc/externals.sh | Bumped NODE20_VERSION to 20.19.3 for Node.js upgrade |
Files not reviewed (1)
- src/Misc/expressionFunc/hashFiles/package-lock.json: Language not supported
| if (!isSequence && !isOptions) { | ||
| // {a},b} | ||
| if (m.post.match(/,.*\}/)) { | ||
| if (m.post.match(/,(?!,).*\}/)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is changed by compiling the source file
| } | ||
| }, | ||
| "node_modules/brace-expansion": { | ||
| "version": "1.1.11", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is changed by running npm audit fix
https://github.com/github/c2c-actions-support/issues/5278