Skip to content

{Website} Fix lodash-es security vulnerability by upgrading deps and Node to 22 - #341

Closed
kongchen1992 wants to merge 1 commit into
facebookresearch:mainfrom
kongchen1992:export-D102057545
Closed

{Website} Fix lodash-es security vulnerability by upgrading deps and Node to 22#341
kongchen1992 wants to merge 1 commit into
facebookresearch:mainfrom
kongchen1992:export-D102057545

Conversation

@kongchen1992

@kongchen1992 kongchen1992 commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

Summary:
Dependabot fails to upgrade lodash-es to the safe version (4.18.1) because chevrotain@11.1.1 pins it to exactly 4.17.23.

Changes:

  • Upgrade docusaurus-plugin-internaldocs-fb ^1.19.1 → ^1.19.3 (drops direct chevrotain dep, uses mermaid instead)
  • Add yarn resolution langium ^4.2.2 (uses chevrotain 12.0.0 which removed lodash-es entirely)
  • Upgrade Node 20 → 22 in publish-website.yml + package.json engines (chevrotain 12.0.0 requires Node ≥ 22)

After this change, all lodash-es references in yarn.lock use ^ semver ranges, allowing Dependabot to upgrade to 4.18.1.

Differential Revision: D102057545

@meta-cla meta-cla Bot added the cla signed label Apr 22, 2026
@meta-codesync

meta-codesync Bot commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

@kongchen1992 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D102057545.

…Node to 22

Summary:
Dependabot fails to upgrade lodash-es to the safe version (4.18.1) because chevrotain@11.1.1 pins it to exactly 4.17.23.

Changes:
- Upgrade docusaurus-plugin-internaldocs-fb ^1.19.1 → ^1.19.3 (drops direct chevrotain dep, uses mermaid instead)
- Add yarn resolution langium ^4.2.2 (uses chevrotain 12.0.0 which removed lodash-es entirely)
- Upgrade Node 20 → 22 in publish-website.yml + package.json engines (chevrotain 12.0.0 requires Node ≥ 22)

After this change, all lodash-es references in yarn.lock use ^ semver ranges, allowing Dependabot to upgrade to 4.18.1.

Differential Revision: D102057545
@meta-codesync meta-codesync Bot changed the title {Website} Upgrade docusaurus-plugin-internaldocs-fb to unblock lodash-es security fix {Website} Fix lodash-es security vulnerability by upgrading deps and Node to 22 Apr 22, 2026
@meta-codesync meta-codesync Bot closed this in 80d2097 Apr 22, 2026
@meta-codesync

meta-codesync Bot commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

This pull request has been merged in 80d2097.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant