-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add multi-document YAML support and improve documentation
- Add support for multiple YAML documents in a single file - Add support for invalid yaml - Add test cases for multi-document YAML handling - Add test cases for invalid yaml (duplicared keys) - Fix test expectations for quoted values - Update README.md with forceQuotes option documentation
- Loading branch information
1 parent
5d81b40
commit 5e0efc6
Showing
7 changed files
with
203 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
a: first value | ||
b: value | ||
a: second value # Duplicate key | ||
c: | ||
d: value1 | ||
d: value2 # Duplicate key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
a: first document | ||
b: 1 | ||
c: | ||
d: true | ||
--- | ||
x: second document | ||
y: | ||
z: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
c: | ||
d: true | ||
b: 1 | ||
a: first document | ||
--- | ||
y: | ||
z: false | ||
x: second document |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
c: | ||
d: true | ||
b: 1 | ||
a: first document | ||
--- | ||
y: | ||
z: false | ||
x: second document |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.