Skip to content

npm のメジャーバージョンを固定 / Node.js のセキュリティパッチ適用#4334

Merged
kharada7 merged 2 commits intomainfrom
feature/npmのメジャーバージョンを固定しNode.jsの脆弱性パッチ適用
Jan 16, 2026

Hidden character warning

The head ref may contain hidden characters: "feature/npm\u306e\u30e1\u30b8\u30e3\u30fc\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u56fa\u5b9a\u3057Node.js\u306e\u8106\u5f31\u6027\u30d1\u30c3\u30c1\u9069\u7528"
Merged

npm のメジャーバージョンを固定 / Node.js のセキュリティパッチ適用#4334
kharada7 merged 2 commits intomainfrom
feature/npmのメジャーバージョンを固定しNode.jsの脆弱性パッチ適用

Conversation

@KentaHizume
Copy link
Copy Markdown
Contributor

@KentaHizume KentaHizume commented Jan 15, 2026

この Pull request で実施したこと

  • engines フィールドの npm のバージョン指定を ^ にし、メジャーバージョンを固定するようにしました。
  • ドキュメントのサンプルコードの記載方法をあわせて変更しました。
  • Node.js のセキュリティリリースに伴い指定するバージョンを更新しました。

この Pull request では実施していないこと

なし

Issues や Discussions 、関連する Web サイトなどへのリンク

https://nodejs.org/ja/about/previous-releases

@KentaHizume KentaHizume added this to the v2.0.1 milestone Jan 15, 2026
@KentaHizume KentaHizume self-assigned this Jan 15, 2026
Copilot AI review requested due to automatic review settings January 15, 2026 06:18
@KentaHizume KentaHizume added target: Dressca サンプルアプリケーションDresscaに関係がある target: ガイド/AP開発手順 ドキュメントのガイド/アプリケーション開発手順に関係がある target: Azure AD B2C Auth Azure AD B2C認証の要件別サンプルに関係がある 内部の改善 機能更新やドキュメント更新ではない改善 labels Jan 15, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request applies a security patch by updating Node.js from v24.12.0 to v24.13.0, and changes the npm version constraint from >=11.6.2 to ^11.6.2 to pin the major version across all sample projects and documentation.

Changes:

  • Updated Node.js version from ^24.12.0 to ^24.13.0 in all sample package.json files
  • Changed npm version constraint from >=11.6.2 to ^11.6.2 to lock major version
  • Updated documentation to reflect the npm version constraint pattern change

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
samples/Dressca/dressca-frontend/package.json Updated Node.js to 24.13.0 and npm constraint to ^11.6.2
samples/Dressca/dressca-frontend/consumer/package.json Updated Node.js to 24.13.0 and npm constraint to ^11.6.2
samples/Dressca/dressca-frontend/admin/package.json Updated Node.js to 24.13.0 and npm constraint to ^11.6.2
samples/AzureADB2CAuth/auth-frontend/package.json Updated Node.js to 24.13.0 and npm constraint to ^11.6.2
samples/AzureADB2CAuth/auth-frontend/app/package.json Updated Node.js to 24.13.0 and npm constraint to ^11.6.2
documents/contents/guidebooks/how-to-develop/csr/vue-js/setting-workspaces.md Updated npm constraint example from >=y.y.y to ^y.y.y
Comments suppressed due to low confidence (1)

documents/contents/guidebooks/how-to-develop/csr/vue-js/setting-workspaces.md:62

  • The npm version constraint in the workspace example should be updated to ^y.y.y to match the root project example on line 44 and the actual changes made in the package.json files throughout this PR. This inconsistency could confuse developers following the documentation.
    "npm": ">=y.y.y"

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@KentaHizume KentaHizume requested a review from kharada7 January 15, 2026 06:25
@kharada7 kharada7 merged commit 1445a4c into main Jan 16, 2026
12 checks passed
@kharada7 kharada7 deleted the feature/npmのメジャーバージョンを固定しNode.jsの脆弱性パッチ適用 branch January 16, 2026 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

target: ガイド/AP開発手順 ドキュメントのガイド/アプリケーション開発手順に関係がある target: Azure AD B2C Auth Azure AD B2C認証の要件別サンプルに関係がある target: Dressca サンプルアプリケーションDresscaに関係がある 内部の改善 機能更新やドキュメント更新ではない改善

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants