-
Notifications
You must be signed in to change notification settings - Fork 1
[Snyk] Fix for 2 vulnerabilities #68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-TRIM-1017038 - https://snyk.io/vuln/SNYK-JS-OCTOKITREQUEST-8730853
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Vulnerable Libraries (9)
More info on how to fix Vulnerable Libraries in JavaScript. 👉 Go to the dashboard for detailed results. 📥 Happy? Share your feedback with us. |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
crystal-alchemist-blue-block-1596 | 5625377 | Oct 28 2025, 01:53 AM |
📝 WalkthroughThis PR performs major version upgrades for two critical dependencies: @docusaurus/preset-classic (v2.4.1 → v3.0.0) and octokit (v2.0.14 → v3.0.0). These updates involve significant breaking changes that require careful migration steps and additional compatibility updates. The PR includes a complete dependency tree refresh with numerous transitive dependency updates, as evidenced by the massive changes in the lock file (49,204 lines changed). However, several critical issues need to be addressed before merging, including a security vulnerability in octokit (CVE-2023-50728), Node.js runtime compatibility requirements, and necessary complementary dependency updates. 📊 Changes
🔒 Security Highlights
🔒 Security Analysis
Caution 5 comments are outside the diff range and can't be posted inline due to platform limitations.
|
| "@mdx-js/react": "^1.6.22", | ||
| "@svgr/webpack": "^6.5.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correctness: React ^17.0.1 is incompatible with Docusaurus v3, which expects React 18
📝 Committable Code Suggestion
‼️ Ensure you review the code suggestion before committing it to the branch. Make sure it replaces the highlighted code, contains no missing lines, and has no issues with indentation.
| "@mdx-js/react": "^1.6.22", | |
| "@svgr/webpack": "^6.5.1", | |
| "react": "^18.2.0", | |
| "react-dom": "^18.2.0", |
| "@docusaurus/plugin-google-gtag": "^2.4.1", | ||
| "@docusaurus/plugin-ideal-image": "^2.4.1", | ||
| "@docusaurus/preset-classic": "^2.4.1", | ||
| "@docusaurus/preset-classic": "^3.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correctness: prism-react-renderer ^1.2.1 is incompatible with Docusaurus v3, needs update to ^2.1.0
📝 Committable Code Suggestion
‼️ Ensure you review the code suggestion before committing it to the branch. Make sure it replaces the highlighted code, contains no missing lines, and has no issues with indentation.
| "@docusaurus/preset-classic": "^3.0.0", | |
| "prism-react-renderer": "^2.1.0", |
| "@docusaurus/plugin-content-docs": "^2.4.1", | ||
| "@docusaurus/plugin-google-gtag": "^2.4.1", | ||
| "@docusaurus/plugin-ideal-image": "^2.4.1", | ||
| "@docusaurus/preset-classic": "^2.4.1", | ||
| "@docusaurus/preset-classic": "^3.0.0", | ||
| "@mdx-js/react": "^1.6.22", | ||
| "@svgr/webpack": "^6.5.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correctness: Untested breaking API changes in both dependencies could fail at runtime
Snyk has created this PR to fix 2 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):
package.jsonpackage-lock.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-TRIM-1017038
SNYK-JS-OCTOKITREQUEST-8730853
Important
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:
🦉 Regular Expression Denial of Service (ReDoS)
EntelligenceAI PR Summary
This PR updates two major dependencies: @docusaurus/preset-classic from v2.4.1 to v3.0.0 and octokit from v2.0.14 to v3.0.0. These updates include breaking changes that require additional compatibility updates and security fixes.