Repository navigation
chore: 推移的な defu を 6.1.7 に解決 - #39
Merged
Merged
Conversation
Contributor
Author
|
はい、Dependabot alert #144 は解消されます。 このPRの変更内容と検証結果から確認できること: 現状の確認
yarn audit --groups dependencies --level moderate
Dependabot alert #144 についてこのアラートは defu の prototype pollution 脆弱性(CVE-2025-24963)を指しています。この脆弱性は:
このPRでは:
したがって、このPRをマージすると Dependabot alert #144 は自動的にクローズされます。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


何をアップデートしたか
yarn.lockでdefu@^6.1.4の解決を 6.1.4 から 6.1.7 に揃えました。package.jsonのdependenciesにあるdefuのレンジ^6.1.2は変更していません。直接依存はもともと 6.1.7 に解決されていました。まとめた理由
@nuxt/kitの依存untypedがdefu@^6.1.4を要求し、ロックだけが 6.1.4 のままでした。6.1.5 以降で修正される prototype pollution(__proto__)の high advisory が、この古い解決に残っていました。同じ 6 系で、すでに使っている 6.1.7 にまとめるのが最小の修正です。公開パッケージの
dependenciesレンジは変えていないので、利用者が受け取るバージョンレンジは変わりません。主な変更点と Breaking Changes
defu 6.1.5 以降は defaults の
__proto__キーによる prototype pollution を避けます。通常のマージ API の使い方は、このモジュールのコードでは変わりません。Migration と設定変更
不要です。
検証
Node.js 24.22.1 で clean install のうえ成功しました。
yarn audit --groups dependencies --level moderateは 0 件です。yarn install --frozen-lockfileyarn dev:prepareyarn lintyarn dev:build(Nuxt 4.5.2)