to-do: investigate the viability of ParseOptions
and StringifyOptions
in @std/yaml
#5195
Closed
6 of 17 tasks
These interfaces have a lot of options, and each added option means more engineering overhead for both users and maintainers. We should go over each option and only keep the ones that have sufficient justifications for existing.
ParseOptions
:legacy
(removed in BREAKING(yaml): removeParseOptions.legacy
option #5229)listener
(removed in BREAKING(yaml): removelistener
option fromparse()
andstringify()
#5224)filename
(removed in BREAKING(yaml): removefilename
option fromparse()
andstringify()
#5223)schema
json
(renamed toallowDuplicateKeys
in BREAKING(yaml): renameParseOptions.json
toParseOptions.allowDuplicateKeys
#5282)onWarning
(reworked in refactor(yaml): remove first argument fromParseOptions.onWarning
#5284)StringifyOptions
(currentlyDumpOptions
but to be updated in the next release):indent
noArrayIndent
skipInvalid
flowLevel
styles
schema
sortKeys
lineWidth
noRefs
noCompatMode
(removed in BREAKING(yaml): removeStringifyOptions.noCompatMode
#5233)condenseFlow
The text was updated successfully, but these errors were encountered: