chore(deps-dev): bump js-yaml from 3.15.0 to 3.15.2 - #38
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.15.0 to 3.15.2. - [Changelog](https://github.com/nodeca/js-yaml/blob/3.15.2/CHANGELOG.md) - [Commits](nodeca/js-yaml@3.15.0...3.15.2) --- updated-dependencies: - dependency-name: js-yaml dependency-version: 3.15.2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
clestons
left a comment
There was a problem hiding this comment.
APPROVE — chore(deps-dev): js-yaml 3.15.0 → 3.15.2(dev-only 依赖)
head e29e8634f95a323d758c69a30360fc47ce2dcf3f · base master · [2-round:dependabot dev 依赖 lockfile bump,无源码/逻辑改动](R1a DeepSeek + executor 核验)· 仅 package-lock.json 一处嵌套包 3 行。
意图:把 @istanbuljs/load-nyc-config 下嵌套的 dev 依赖 js-yaml 从 3.15.0 补丁升到 3.15.2。达成。
核对
- dev-only、良性:js-yaml 嵌在 istanbul 覆盖率工具链下,非运行时依赖;只改 lockfile 一个包块,integrity 哈希一致更新。
- registry 翻转 npmmirror→npmjs(方向正确):
resolved从registry.npmmirror.com换成registry.npmjs.org——这是官方源(npmmirror 是中国镜像),dependabot 默认解析到官方源;且 integrity 哈希锁死内容,源 URL 不影响拿到的字节。非阻塞(R1a 提示确认是否符合本仓 mirror 策略,但安全上无差)。
⚠️ CI 红 —— 是仓库既有审计欠账,不是本 PR 引入(核过)
两个失败 check(Security Audit / CI Success)的根因是 npm audit --audit-level=critical 命中 17 个漏洞(4 中 / 12 高 / 1 危),遍布 next、brace-expansion、browserslist、fast-uri、baseline-browser-mapping 等包。CI Success 只是 "Check all jobs status" 汇总门、下游于 Security Audit。
- 门是被那 1 个 critical 卡的:
Next.jsmiddleware/proxy bypass(GHSA-6gpp-xcg3-4w24)+ DoS(GHSA-m99w-x7hq-7vfj)——生产依赖,与本 dev bump 完全无关。 - 本 PR 只动 js-yaml 一个嵌套 dev 包的 3 行 lockfile,既不引入也不修这 17 项里的任何一项。
- 附带说明:这个 bump 也没有修掉 js-yaml 自己的 advisory(GHSA-5p4m-2wfm-xmqj / GHSA-2883-xcg3-v3hh,3.x 未回补,需升到 js-yaml 4.x 才修——那是 breaking major,不该塞进这个补丁 PR)。
处置建议(不阻塞本 PR)
仓库的 npm audit 欠账应由单独一枚 PR 处理(优先 next 升到修 GHSA-6gpp/GHSA-m99w 的版本以解门禁 critical,其余 npm audit fix)。不该把这枚 dependabot dev 补丁扣在无关的仓库级审计债上。
APPROVE = 这份代码可以合并。 我作为评审者不执行合并。此 bump 本身正确、良性、registry 翻转方向对;CI 红是仓库既有的、与本 PR 无关的审计欠账(Next.js critical 领衔)——合并前需另开 PR 解那道 audit 门禁。
Bumps js-yaml from 3.15.0 to 3.15.2.
Changelog
Sourced from js-yaml's changelog.
Commits
5c45bd63.15.2 released5a708f9dist rebuild3485bc0Backport merge limits from v5.4.1f34812fUpdate .gitignoreab85ae23.15.1 released30a5e76dist rebuild22a8071Backport quadratic complexity fix for !!omapDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.