Latest sequelize-cli installs deprecated glob@10.5.0 through js-beautify

オープン
#1,572 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript, node.js
領域
cli, tooling

調査の方向性

Reproduce the warning with the clean npm installation described in the issue, then inspect sequelize-cli@6.6.5's js-beautify dependency and run npm explain glob to confirm the path. Evaluate the current js-beautify release or another dependency change, and verify that installation no longer includes deprecated glob@10.5.0 without breaking the CLI.

索引モデルが issue の本文から書いたものです。

説明

Bug Description

Installing the latest sequelize-cli release in a clean npm project produces a deprecation warning for glob@10.5.0.

The dependency is introduced through the following runtime dependency path:

sequelize-cli@6.6.5
└── js-beautify@1.15.4
    └── glob@10.5.0

sequelize-cli@6.6.5 depends on js-beautify@1.15.4, which declares glob@^10.4.2. That range currently resolves to the deprecated glob@10.5.0 release.

Could sequelize-cli upgrade js-beautify, replace it, or otherwise update this dependency path so that a clean installation no longer includes a deprecated glob version? The current js-beautify release uses a supported major version of glob, although upgrading it may require compatibility testing because it is a major-version change.

Reproducible Example
mkdir sequelize-cli-deprecation-reproduction
cd sequelize-cli-deprecation-reproduction
npm init -y
npm install --save-dev sequelize-cli@latest

No Sequelize configuration, application code, or database connection is required.

What do you expect to happen?

Installing the latest sequelize-cli release should not introduce runtime dependencies that their maintainers have marked as deprecated or unsupported.

What is actually happening?

The clean installation emits:

npm warn deprecated glob@10.5.0: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me

Running npm explain glob confirms that it is introduced through js-beautify:

glob@10.5.0
node_modules/glob
  glob@"^10.4.2" from js-beautify@1.15.4
  node_modules/js-beautify
    js-beautify@"1.15.4" from sequelize-cli@6.6.5

This report concerns the unsupported dependency and installation warning. It is not asserting that glob@10.5.0 is affected by a specific unpatched security vulnerability.

Environment
  • Sequelize CLI version: 6.6.5
  • Node.js version: 24.19.0
  • npm version: 12.0.0
  • Operating system: macOS
  • Database & Version: Not applicable; reproduced during installation

Would you be willing to resolve this issue by submitting a Pull Request?

No. I understand that I will need to wait until someone from the community or the maintainers is interested in resolving the issue.

主要言語
JavaScript
スター
2.6k
フォーク
524
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

sequelize/cli のほかの issue

sequelize/cli の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。