Support js-yaml v5
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- javascript, yaml
- 領域
- build-system, tooling
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
- 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 ✌️
- 主要言語
- JavaScript
- スター
- 3.8k
- フォーク
- 635
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rollup/plugins のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
Babel 8 support オープン
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Automattic/studio#4908 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
sugarlabs/musicblocks#8847 ·