-
Notifications
You must be signed in to change notification settings - Fork 0
[Snyk] Fix for 1 vulnerabilities #76
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-DIFF-14917201
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
WalkthroughThis PR upgrades the markdown rendering stack to the latest major versions, specifically Changes
Sequence DiagramThis diagram shows the interactions between components: sequenceDiagram
participant App as Application
participant RM as react-markdown v9
participant RP as remark-parse v11
participant RG as remark-gfm v4
participant RR as remark-rehype v11
participant MDTH as mdast-util-to-hast v13
participant HTJR as hast-util-to-jsx-runtime v2
participant React as React JSX Runtime
App->>RM: Render markdown content
RM->>RP: Parse markdown to MDAST
Note over RP: Uses micromark v4<br/>for tokenization
RP->>RG: Apply GFM extensions
Note over RG: Tables, strikethrough,<br/>task lists, autolinks
RG-->>RP: Enhanced MDAST tree
RP-->>RM: MDAST syntax tree
RM->>RR: Convert to HAST
RR->>MDTH: Transform MDAST to HAST
Note over MDTH: Uses @ungap/structured-clone<br/>for deep cloning
MDTH-->>RR: HAST tree
RR-->>RM: HTML AST
RM->>HTJR: Convert HAST to JSX
Note over HTJR: New in v9:<br/>Direct JSX runtime conversion
HTJR->>HTJR: Process style attributes
Note over HTJR: Uses style-to-js v1<br/>and html-url-attributes
HTJR->>React: Create React elements
React-->>HTJR: JSX elements
HTJR-->>RM: React components
RM-->>App: Rendered markdown
Note for WindsurfPlease change the default marketplace provider to the following in the windsurf settings:Marketplace Extension Gallery Service URL: https://marketplace.visualstudio.com/_apis/public/gallery Marketplace Gallery Item URL: https://marketplace.visualstudio.com/items Entelligence.ai can learn from your feedback. Simply add 👍 / 👎 emojis to teach it your preferences. More shortcuts belowEmoji Descriptions:
Interact with the Bot:
Also you can trigger various commands with the bot by doing The current supported commands are
More commands to be added soon. |



Snyk has created this PR to fix 1 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-DIFF-14917201
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 upgrades the markdown rendering dependencies to their latest major versions with breaking changes.
react-markdownfrom v8.0.7 to v9.0.0 in package.jsonremark-gfmfrom v3.0.1 to v4.0.0 in package.jsonhast-util-to-jsx-runtimein package-lock.json@ungap/structured-clone,devlop,estree-util-is-identifier-name, character entity packagesdiffanduvupackagesstyle-to-objectfrom v0.4.1 to v1.0.14 with correspondinginline-style-parserupdates