Repository navigation
chore(deps): devDependencies を更新 - #337
Merged
Merged
Conversation
- @types/node 24.13.3 -> 24.19.2 - prettier 3.9.6 -> 3.9.10 - prettier-plugin-astro 0.14.1 -> 1.1.1 - sass 1.104.0 -> 1.106.0
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.
概要
devDependencies を、公開から 14 日以上経過した最新版に更新しました(
.npmrcのmin-release-age=14に従う)。バージョン指定は既存どおり^レンジです。lockfile で変わったのは上記 4 つと、その依存 3 つ(
@prettier/parse-srcset追加、sass-formatter0.7.8 → 0.8.0、undici-types7.18.2 → 7.24.6)だけです。min-release-ageのため見送った版:prettier-plugin-astro 1.1.2、sass 1.106.1 / 1.107.0 / 1.107.1、@types/node 26.6.6@types/nodeは、.node-versionの Node.js 24 に合わせて 24 系の最新に留めています(最新の 26.x は見送り)。Node.js 26 は 2026-10-28 に LTS(Lithium)になりましたが、公開から 14 日経っていないため、今回は Node.js 本体を上げていません。Node.js を 26 に上げるときに、@types/nodeも 26 系へ上げる想定です。astroAllowShorthandが未指定のとき、属性を書いたままの形で残すようになりました。.prettierrcにpluginsが無いため、prettier 3 の CLI はこのプラグインを読み込みません。更新前後ともprettier --list-different "src/**/*.{astro,ts,scss}"は.astroをNo parser could be inferredで処理できず、結果は同じでした。.vscode/settings.jsonで prettier を使っているのも markdown だけです。.astroを整形したいなら.prettierrcに"plugins": ["prettier-plugin-astro"]を追加します。使わないならプラグインを削除できます。src内の SCSS に CSS エスケープ(\)が無いことを grep で確認しました。また、ビルド結果のdistが更新前と完全に一致することを確認しています。formatスクリプトは無く、CI でも prettier は実行していません。srcでは Node.js の API を使っていません(node:の import、process、Bufferが無いことを grep で確認)。astro checkとtsc --noEmitは 0 errors でした。変更内容(全版)
@types/node 24.13.3 → 24.19.2
DefinitelyTyped は版ごとのリリースノートを出していません。そのため、
npm diff --diff=@types/node@24.13.3 --diff=@types/node@24.19.2で公開物の差分を確認しました(35 ファイル、+1948 / -610 行)。@since v24.14.0〜v24.19.0の API 定義(crypto、fs、http、http2、sqlite、test、util、v8、zlib など)KeyFormat/ JWK 入力の型の整理、fs.statのオーバーロードの調整)中間版(24.13.4 / 24.13.5 / 24.13.6 / 24.19.0 / 24.19.1)は個別に確認していません。上記の差分は、これらをまとめた結果です。
prettier 3.9.6 → 3.9.10
@boundary対応 (CHANGELOG)$を含むテキストが数式として誤ってパースされる問題を修正 (CHANGELOG)micromark-extension-gfm-tableを更新し、表のパースの性能問題を修正 (CHANGELOG)prettier-plugin-astro 0.14.1 → 1.1.1
astroCompressHTMLオプションを追加 (release)<script>の前にあるコメントでのエラーと<style>整形の冪等性を修正 (release)astroAllowShorthandの 3 モード(未指定・true・false)に対応、CSS 内コメントのインデントと self-closing の raw 要素の扱いを修正 (release)TypeErrorを修正 (release)sass 1.104.0 → 1.106.0
@useの前の loud comment が重複して出力される問題、indented syntax のパーサのクラッシュを修正。CLI の watch モードを修正 (CHANGELOG)meta.load()、meta.get-module()、meta.css())を追加 (CHANGELOG)@extendのエラーメッセージを改善 (CHANGELOG)eの単位のエスケープ、@keyframesのパーセント、名前中の_)、rest 引数と通常の引数の重複をエラーにする変更。そのほかクラッシュの修正 (CHANGELOG)更新に伴うコード修正
なし
未確認
確認したこと
npm ci --ignore-scripts(CI と同じ)npm run build(astro check && tsc --noEmit && astro build):0 errors / 0 warnings / 0 hints、74 ページdistを master のビルド結果とdiff -rで比較:完全一致(sass の更新で CSS は変わっていない)prettier --list-different "src/**/*.{astro,ts,scss}"の結果が更新前後で同じ