Latest sequelize-cli installs deprecated glob@10.5.0 through js-beautify
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 68/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- javascript, node.js
調査の方向性
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 はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sequelize/cli のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Automattic/studio#4908 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
sugarlabs/musicblocks#8847 ·