Satisfying functions don't provide an option to also compare build meta
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 42/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript
- 領域
- tooling
調査の方向性
Start with the maxSatisfying and compareBuild entry points and review how the satisfying-version example handles build metadata. Define the requested build-comparison option consistently, then verify that the example returns the highest matching build version while preserving existing behavior by default.
索引モデルが issue の本文から書いたものです。
説明
Similar to the issue #276.
When using the maxSatisfying function
where the latest version includes build meta data
then maxSatisfying returns a lesser version.
Example
const options = { loose: true, includePrerelease: true };
const releases = [
'0.1.4',
'0.1.4+1',
'0.1.4+2',
'0.1.4+3',
'0.1.5',
'0.1.5+1',
'0.1.5+2',
];
// returns 0.1.5
maxSatisfying( releases, '0.1.5+2', options );
I can't find a way to utilize the newer compareBuild function when using maxSatisfying.
Is it possible if we can have an additional option like includeBuild so that we can compare builds?
- 主要言語
- JavaScript
- スター
- 5.5k
- フォーク
- 635
- 平均マージ
- 1時間 24分
- マージ済み PR(30日)
- 6
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
npm/node-semver のほかの issue
-
[BUG] minVersion returns 0.0.0 when a 0.0.0 prerelease is the true minimum対応中かも @thisisshivamtiwari が 32 日前に担当しました。 オープンBug Needs Triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
npm/node-semver#934 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] new Range(comparator).test() throws TypeError for a prerelease version対応中かも @Boulea7 が 60 日前に担当しました。 オープンBug Needs Triage
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
npm/node-semver#908 ·
メンテナーはふだん 1 日以内に返信
-
semver:major
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
npm/node-semver#108 · コメント 6 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
npm/node-semver#954 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
npm/node-semver#951 ·
メンテナーはふだん 1 日以内に返信
npm/node-semver の issue をすべて見る
似ている issue
-
bug triage needed
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
メンテナーはふだん 1 日以内に返信
-
resource-submission validation-passed
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
hesreallyhim/awesome-claude-code#3773 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
tabatkins/railroad-diagrams#129 ·
-
web: api() turns a null or object-valued error body into a TypeError or "[object Object]" and loses the status対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信