[Snyk] Security upgrade markdown-it from 14.1.0 to 14.1.1#1082
[Snyk] Security upgrade markdown-it from 14.1.0 to 14.1.1#1082CNSeniorious000 wants to merge 1 commit intopromplate-demofrom
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-MARKDOWNIT-10666750
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
这个 PR 由 Snyk 自动创建,用于将 markdown-it 从 14.1.0 升级到 14.1.1,以修复一个中等风险的 ReDoS 漏洞(SNYK-JS-MARKDOWNIT-10666750)。
Changes:
- 在
package.json中将markdown-it版本从~14.1.0升级到~14.1.1 - 在
pnpm-lock.yaml中更新markdown-it的锁定版本与 integrity - 同时锁文件出现了较大范围的非直接相关格式/元数据变更(例如多处移除了
libc字段)
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | 升级 markdown-it 依赖版本到 ~14.1.1 以修复安全漏洞 |
| pnpm-lock.yaml | 更新 markdown-it 锁定版本到 14.1.1,但伴随较大范围的锁文件噪声变更 |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
| '@img/sharp-libvips-linux-arm64@1.2.4': | ||
| resolution: {integrity: sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==} | ||
| cpu: [arm64] | ||
| os: [linux] | ||
| libc: [glibc] | ||
|
|
There was a problem hiding this comment.
This lockfile update includes broad, non-security-related churn (e.g., many package entries drop the libc field) beyond the intended markdown-it bump. That makes the PR harder to review and increases the chance of future noisy diffs if different pnpm versions regenerate the lockfile. Consider pinning the pnpm version (e.g., via packageManager) and regenerating the lockfile with the repo’s standard pnpm so the diff is limited to the markdown-it upgrade.
Snyk has created this PR to fix 1 vulnerabilities in the pnpm dependencies of this project.
Snyk changed the following file(s):
package.jsonpnpm-lock.yamlVulnerabilities that will be fixed with an upgrade:
SNYK-JS-MARKDOWNIT-10666750
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)