Skip to content

Resolve npm audit vulnerabilities in docs#857

Merged
sinamics merged 1 commit intomainfrom
bump-packages-docs
Mar 18, 2026
Merged

Resolve npm audit vulnerabilities in docs#857
sinamics merged 1 commit intomainfrom
bump-packages-docs

Conversation

@sinamics
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings March 18, 2026 16:58
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Mar 18, 2026
@sinamics sinamics merged commit 910ca8d into main Mar 18, 2026
7 checks passed
@sinamics sinamics deleted the bump-packages-docs branch March 18, 2026 17:00
Copy link
Copy Markdown
Contributor

Copilot AI left a 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 docs site (Docusaurus) dependency/configuration to support Webpack 5 builds that need Node core-module polyfills and to enforce patched versions of known-vulnerable transitive dependencies.

Changes:

  • Add a Webpack fallback to polyfill path (via path-browserify) and disable fs in the browser bundle.
  • Add overrides for serialize-javascript and lodash to enforce minimum patched versions.
  • Add path-browserify as a docs dependency.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
docs/package.json Adds path-browserify and introduces dependency overrides for serialize-javascript/lodash.
docs/docusaurus.config.js Adds an inline Docusaurus plugin to configure Webpack resolve.fallback for Node polyfills.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

]
},
"overrides": {
"serialize-javascript": ">=7.0.4",
Comment on lines +50 to +51
"serialize-javascript": ">=7.0.4",
"lodash": ">=4.17.22"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants