trust downgrade for `webpack-dev-middleware` v7
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 50/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- javascript, webpack
- 領域
- release
調査の方向性
このレポートは webpack-dev-middleware v7 の公開メタデータと、pnpm's trustPolicy における no-downgrade の動作に関するものであり、対象となるソースファイルやテストは特定されていません。まず v7 の公開設定と trusted-publishing の設定を確認し、その後、新しい v7 の公開によって pnpm の trust-downgrade エラーが発生しなくなったことを検証してください。
索引モデルが issue の本文から書いたものです。
説明
Have you used AI?
None
Bug Description
Hey
I don't know if this should be considered a bug, but since this package is widely used, I just wanted to report this little DX annoyance in case you'd want to fix it.
pnpm can detect package trust-level downgrades (staged publishing -> trusted publishing -> provenance -> publish) to prevent malicious takeovers.
https://pnpm.io/settings/dependency-resolution#trustpolicy
Unfortunately it's not based on semver but publication dates, and v8 has trusted publishing while v7 doesn't.
Due to the recent v7 npm publish after a v8 that uses trusted publishing, we now have a downgrade detected:
This means newly initialized Docusaurus sites using pnpm with trustPolicy: no-downgrade will get an error such as:
[ERR_PNPM_TRUST_DOWNGRADE] High-risk trust downgrade for "[email protected]" (possible package takeover)
This error happened while installing the dependencies of @docusaurus/[email protected]
at [email protected]
It doesn't seem mandatory to fix the problem, but if you can publish a v7 with trusted publishing, that would fix the problem and prevent users from getting this pnpm error.
Link to Minimal Reproduction and step to reproduce
N/A
Expected Behavior
no trust downgrade
Actual Behavior
trust downgrade detected by pnpm
Environment
N/A
Is this a regression?
None
Last Working Version
No response
Additional Context
No response
- 主要言語
- JavaScript
- スター
- 2.5k
- フォーク
- 383
- 平均マージ
- 4時間 54分
- マージ済み PR(30日)
- 12
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
webpack/webpack-dev-middleware のほかの issue
-
priority: 4 (nice to have) semver: major severity: 4 (inconvenient) type: feature
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
webpack/webpack-dev-middleware#369 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
webpack/webpack-dev-middleware の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
salesforce/sa11y#1022 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
githubnext/gh-aw-workshop#6379 ·
メンテナーはふだん 1 日以内に返信
-
Edit: V2BEAT TV Logoオープンcheck:passed logos:edit
難易度 1/5 1時間未満 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
Container fails to start when GitHub Releases is unavailable: uv run re-downloads the tvl wheelオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
trezor/trezor-user-env#421 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100