[Snyk] Fix for 2 vulnerabilities#93719
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-JSYAML-17342520 - https://snyk.io/vuln/SNYK-JS-WS-17344547
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c993027e54
ℹ️ 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".
| "react-is": "^18.3.1", | ||
| "react-map-gl": "^7.1.3", | ||
| "react-native": "0.83.1", | ||
| "react-native": "0.85.0", |
There was a problem hiding this comment.
Regenerate the lockfile for these upgrades
This bump changes the top-level dependency spec, but the commit does not update package-lock.json; it still records react-native as 0.83.1 at package-lock.json:102 (and jest/jest-cli as 29.7.0 at package-lock.json:261-263, plus webpack-bundle-analyzer as ^4.5.0 at package-lock.json:301). The repo's setup action installs with npm ci (.github/actions/composite/setupNode/action.yml:50-56), so clean CI/deploy installs no longer have a lockfile that matches package.json, and the patched versions this Snyk PR is supposed to apply are not committed; please regenerate and commit the lockfile with these dependency changes.
Useful? React with 👍 / 👎.
Failing checks analysisEvery check on this PR fails for the same reason, and it isn't a real test/build regression: this Snyk PR edited That's why typecheck, ESLint, Prettier, spellcheck, build, and all Why I'm not auto-pushing a lockfile regenRunning
RecommendationThis Snyk auto-PR can't be safely made green by a mechanical fix. The |
|
Following up on my previous analysis: I'm unable to push a fix here.
Recommendation stands: close this auto-PR and handle the |
|
I'm unable to push a fix for this one. The mechanical fix is to regenerate Even if I could, regenerating the lockfile alone wouldn't make this green: the bump is internally inconsistent — Recommended: a human runs |
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 stepssectiontoggleReportand 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