[FEATURE] add methods to update a range, including operator

Aperta
#314 5 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript
Ambito
devtools

Direzione di ricerca

Start by tracing the public semver range parsing API and reviewing its existing tests. Clarify how operators should be represented for ranges with one or multiple comparators, then consider the work complete when the API exposes the operator consistently and tests cover the expected behavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Enhancement

What / Why

There doesn't seem to currently be a way to get the operator of a passed semver range. Adding something like semver.operator() to get the operator would be helpful.

Current Behavior

There does not seem to be a way to get an operator of a passed version easily.

Expected Behavior

Have an easy way to get the operator of the passed semver range.

Lingua principale
JavaScript
Stelle
5.5k
Fork
622
Merge medio
4g 23h
PR unite (30g)
4

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di npm/node-semver

Tutte le issue di npm/node-semver

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.