Skip to content
This repository was archived by the owner on Feb 5, 2026. It is now read-only.

Comments

[Snyk] Security upgrade @docusaurus/core from 2.0.0-alpha.40 to 2.0.1#61

Open
ayusuf-mq wants to merge 1 commit intomasterfrom
snyk-fix-70ffe174200fb4a81d99937e46fcea53
Open

[Snyk] Security upgrade @docusaurus/core from 2.0.0-alpha.40 to 2.0.1#61
ayusuf-mq wants to merge 1 commit intomasterfrom
snyk-fix-70ffe174200fb4a81d99937e46fcea53

Conversation

@ayusuf-mq
Copy link

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.

Snyk changed the following file(s):

  • website/package.json
  • website/yarn.lock

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Directory Traversal
SNYK-JS-TAR-15127355
  510  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Directory Traversal

@ayusuf-mq
Copy link
Author

Merge Risk: High

This is a significant upgrade from an early alpha version (2.0.0-alpha.40) to a stable release (2.0.1). Docusaurus 2.0 was a complete rewrite from version 1 and underwent 75 alphas and 22 betas before its stable launch. Expect substantial breaking changes across the entire API surface.

Highlights:

  • Configuration & Packages: Package names are now scoped (e.g., @docusaurus/core), and the configuration file siteConfig.js is replaced by docusaurus.config.js.
  • API & Theming: Client module lifecycles have been reworked, and sidebar configuration was moved under themeConfig.docs.sidebar. Custom pages no longer receive siteConfig as props and must use the useDocusaurusContext hook instead.

Source: Docusaurus documentation
Recommendation: A manual migration is required. Follow the official "Upgrading to Docusaurus v2" guide, as automated tools will not cover all necessary changes from such an early alpha version.

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants