You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fix if/else expressions that collapsed empty arrays to $null (PowerShell
unrolls @() to nothing in expression output). Converted to statement form
in ConvertTo-YamlMapping, ConvertTo-YamlSequence, ConvertTo-YamlNode,
Get-YamlMappingPair, and ConvertTo-Yaml.
- Add indentation to empty {} and [] output in ConvertTo-YamlMapping and
ConvertTo-YamlSequence so nested empty collections serialize correctly.
- Add indentation to depth-exceeded branch in ConvertTo-YamlNode.
- Add inline empty-collection checks in ConvertTo-YamlSequence for nested
mapping/sequence values within sequence-item-mappings.
- Recognize {} and [] inline literals in ConvertFrom-YamlMapping and
ConvertFrom-YamlSequence to restore round-trip fidelity.
- Add 17 new tests: empty collection rendering, depth-exceeded indentation,
{} / [] parsing, and round-trip preservation of empty collections.
0 commit comments