multiple keys are not parsed
Nessuno ha ancora preso questa issue.
- #77 di @sthuber90 — chiusa senza merge
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- javascript
- Ambito
- tooling
Direzione di ricerca
Start by reproducing the provided gitconfig-style input and inspect how the parser represents repeated fetch keys in JSON. Determine a supported representation that preserves both values; done means repeated keys are no longer lost and the behavior is covered by tests.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
i just realised that ini struggles with input like
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
(which is taken from a valid gitconfig)
in the ini notation multiple keys with different values are valid, but when ini parses them to JSON they get lost due to the limitations of JSON.
any ideas for a workaround or should i build a custom parser on my own instead?
- Lingua principale
- JavaScript
- Stelle
- 825
- Fork
- 231
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi 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.
Altre issue di npm/ini
-
[BUG] Keys under an empty section header `[]` move to the top level after `stringify` → `parse`Forse già presa @Aschenbath l’ha presa 10 giorni fa. ApertaNeeds Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
stringify() writes the literal string "undefined" for undefined values, and parse() reads it back as a stringForse già presa @webywz l’ha presa 31 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
-
[BUG] Section names containing closing brackets do not round-tripForse già presa @HocVoNgThai l’ha presa 29 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
-
Support for AWS nested keysApertaNeeds Triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
-
[BUG] bracketedArray: false produces arrays for duplicate keys across sectionsForse già presa @abhu85 l’ha presa 280 giorni fa. ApertaNeeds Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 58/100
Issue simili
-
support
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
agentregistry-dev/website#69 ·
-
docs: add SECURITY.md vulnerability reporting policyForse già presa @AK-Lmn l’ha presa oggi. Aperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 72/100
flisk-sh/linux2wasm#12 ·
I maintainer di solito rispondono entro 1 giorno
-
possible bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Mintplex-Labs/anything-llm#7388 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno