Fix inconsistent line endings when inserting maps into a document using \r\n. (#65)
AliasError is changed to AliasException and exposed in the public API.
All node-mutating methods on YamlEditor, i.e. update(), appendToList(), prependToList(), insertIntoList(), spliceList(), remove() will now throw an exception instead of an error when encountering an alias on the path to modify.
This allows catching and handling when this is happening.
wrapAsYamlNode(value, collectionStyle, scalarStyle) will apply collectionStyle and scalarStyle recursively when wrapping a children of Map and List. While this may change the style of the YAML documents written by applications that rely on the old behavior, such YAML documents should still be valid. Hence, we hope it is reasonable to make this change in a minor release.scalarStyle: ScalarStyle.SINGLE_QUOTED.appendToList and insertIntoList functions inserts new item into next yaml item rather than at end of list. (#23)repository field.repository and other meta-data in pubspec.yaml.null in-place of a YamlNode, instead a YamlNode with YamlNode.value == null should be used. These are easily created with wrapAsYamlNode(null).