microsoft / microsoft/TypeScript
Issue errors on tslib version ranges in `package.json`
Nessuno ha ancora preso questa issue.
- Lingua principale
- Go
- Stelle
- 111k
- Fork
- 14.3k
- Merge medio
- 1g 19h
- PR unite (30g)
- 117
Descrizione
Similar in spirit to https://github.com/microsoft/TypeScript/issues/33603
@bterlson and friends on the Azure SDK team mentioned that there was an issue with tslib where a local installation might grab tslib@1.10.x, but could have issues in other environments because their package.json specified a minimum version (1.9.x) which was too old.
I don't think that we generally dive into package.json to issue errors, but this seemed pretty unexpected, and it leads to more obvious behavior than with issuing errors about missing exports.
On the other hand, this might be a problem for slightly more esoteric but legitimate use-cases like alternate implementations/sources of tslib. For example, a user could point tslib at a local folder or a GitHub URL.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
La issue menziona package.json e tslib, ma non indica alcun file sorgente o test. Inizia leggendo la issue di TypeScript #33603 e individuando le diagnostiche esistenti per la risoluzione dei pacchetti; chiarisci se gli errori relativi agli intervalli di versione debbano preservare fonti alternative di tslib, quindi definisci i test per il comportamento accettato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript
- Ambito
- compilers
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 28/100