Repository navigation
[NoQA] [Snyk] Fix for 1 vulnerabilities - #82383
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-AJV-15274295
eslint-plugin-jsdoc does not yet support eslint v10 (peer dep: ^7.0.0 || ^8.0.0 || ^9.0.0), causing ERESOLVE failures during npm install in CI. Keep the babel-loader and style-loader upgrades which are compatible.
|
Fixed the failing ESLint checks by reverting the Root cause: The Snyk auto-fix bumped What was kept: The Note: The |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6c1dd82ccb
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| "diff-so-fancy": "^1.3.0", | ||
| "dotenv": "^16.0.3", | ||
| "eslint": "^9.36.0", | ||
| "eslint": "^10.0.0", |
There was a problem hiding this comment.
Regenerate package-lock.json for the bumped packages
This change updates babel-loader, eslint, and style-loader only in package.json, but package-lock.json still records the previous ranges (^9.1.3, ^9.36.0, ^2.0.0 at lines 230/244/288), so our npm ci install path in .github/actions/composite/setupNode/action.yml still resolves the old dependency graph and does not apply the intended vulnerability remediation. Please update and commit the lockfile together with these version bumps.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
This review comment appears to be a false positive. The package-lock.json is already correctly updated in this PR:
- Line 230:
"babel-loader": "^10.0.0"(updated from^9.1.3) - Line 288:
"style-loader": "^3.0.0"(updated from^2.0.0) - Resolved versions:
babel-loader→10.0.0,style-loader→3.3.4
The comment's claim that the lockfile "still records the previous ranges" is incorrect — the diff includes both package.json and package-lock.json changes. The mention of eslint is also inaccurate as there is no eslint change in this PR.
No action needed here.
|
The failing check is PR Reviewer Checklist ( This is unrelated to the code changes in this PR (which only update To resolve: A reviewer needs to post the reviewer checklist comment on this PR. This is not something that can be fixed with a code push. |
|
The failing check is Analysis: The check scans all PR comments looking for the reviewer checklist template. It found 4 comments but none contained the checklist. This is unrelated to the code changes in this PR (which only modify Resolution: A reviewer needs to copy/paste the reviewer checklist template into a comment on this PR. The check will then pass on re-run. |
this is so dystopian |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
The |
|
🚧 @grgia has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/grgia in version: 9.3.19-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.3.19-5 🚀
|
Explanation of Change
Fixed Issues
$
PROPOSAL:
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari