Reconsider 'X major versions behind' big red warnings
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 65/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- typescript
調査の方向性
まず、パッケージページのどこに依存関係のステータスインジケーターが表示されるか、またアイコンと色がどのように選ばれるかを特定してください。それらの状態を、issueで提案されている優先順位と比較してください。脆弱性は赤、非推奨の依存関係はオレンジ、推奨される置き換えは黄色、メジャーまたはマイナーのバージョンの遅れは警告を示さない色で表示します。表示されるインジケーターがこの区別に従えば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the feature
While I think outdated major deps is interesting information, imo marking it in red with an exclamation mark overstates the importance of this. Orange for outdated minor versions seems odd too, this is often done to manage specific issues in a subsequent version, and isn't necessarily problematic in itself either.
As a package maintainer, I worry that as npmx inevitably becomes mega popular 😄 this will create unnecessary work for maintainers, with users avoiding packages or filing issues requesting dep updates unnecessarily when they see the big red marker on the package page, along with a broader sense of pressure to bump everything whenever possible, creating package churn unnecessarily.
This is useful info, it's good to show in some format, but there's also plenty of packages where non-latest-major versions are still actively supported, or where there's simply no need to upgrade at all - e.g. simple packages that work and have little or no security risks (known vulnerabilities are highlighted separately anyway). One example: node-fetch has 2x the downloads for the latest v2 vs latest v3, and both are explicitly still supported, but all packages depending on node-fetch v2 have large red warnings on the dep.
If anything, I think the 'Has vulnerability' (blue shield with a check mark?), 'Suggested replacement' (yellow) and 'Deprecated' (purple) markers should all be relatively higher profile than these warnings - these are all places where the package is likely to have actual issues relating to the dependency.
Any interest in rejigging this slightly? I'd suggest:
- Red exclamation mark for 'Has vulnerability'
- Orange warning icon for deprecated
- Yellow lightbulb for suggested replacement (as now)
- Purple/blue non-warning icons for non-latest major/minor
Additional information
- Would you be willing to help implement this feature?
Final checks
- Read the contribution guide.
- Check existing issues.
- 主要言語
- TypeScript
- スター
- 3.6k
- フォーク
- 533
- 平均マージ
- 5日 1時間
- マージ済み PR(30日)
- 36
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
npmx-dev/npmx.dev のほかの issue
-
Enable pnpm strictPeerDependencies check対応中かも @cylewaitforit が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
a11y front
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
npmx-dev/npmx.dev#2914 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
front i18n
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
npmx-dev/npmx.dev#2831 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
back stale stale-to-close
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
npmx-dev/npmx.dev#2511 · コメント 4 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
back front
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
npmx-dev/npmx.dev#3346 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
npmx-dev/npmx.dev の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
cursor/community-plugins#465 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
vetro-protocol/vetro-monorepo#978 ·
メンテナーはふだん 1 日以内に返信
-
ai-generated bug category:security effort:s priority:p3
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
LanternOps/breeze#9697 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
maniator/verticopolis#1303 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
components-web-app/docs#297 ·