Support js-yaml v5
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- javascript, yaml
- Ambito
- build-system, tooling
Direzione di ricerca
Start in the @rollup/plugin-yaml package and read the linked js-yaml v4-to-v5 migration guide and changelog. Confirm how the plugin currently calls YAML.load and YAML.loadAll, then define the versioning and parser-options approach described in the proposal. Done means js-yaml v5 support, empty-input handling, and the agreed schema and options behavior are covered.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
- Rollup Plugin Name: yaml
- Rollup Plugin Version: 5.0.0
Feature Use Case
Support new js-yaml@5.x parser and its new features
- https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md#500---2026-06-20
- https://github.com/nodeca/js-yaml/blob/master/docs/migrate_v4_to_v5.md
Feature Proposal
Not sure how you want to handle this version wise, but could be two releases or just one
v5.1.0
- upgrades
js-yamlto v5, internally defaults YAML 1.1 schema. Everything stays the same besides the internal parser - a small wrapper around load/loadAll functions will needs to be made so it doesn't throw on empty (new behaviour, compared to v4).
v6.0.0
Breaking change
- defaults to new YAML 1.2 schema if not specified
- allow consumers to pass
loadOptions/parserOptionsvia the plugin config, which will be forward them to the internalYAML.load/YAML.loadAllcalls.- Move
js-yamlaspeerDependencyinstead ofdevDependencyrequiring explicit install, ensures that schemas can be imported fromjs-yamlat consumers and forward viaparserOptions - Or re-export the schemas and forward them through @rollup/plugin-yaml package.
- Move
Cheers ✌️
- Lingua principale
- JavaScript
- Stelle
- 3.8k
- Fork
- 635
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
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.
Altre issue di rollup/plugins
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
Babel 8 support Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
Tutte le issue di rollup/plugins
Issue simili
-
bot:ai-assisted component:compact-js status:untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
midnightntwrk/midnight-sdk#403 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 86/100
DavidAnson/markdownlint-cli2#940 ·
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
githubnext/gh-aw-workshop#3692 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100