Replace the line-based --- heuristic with a scan over PureYAML's resumable token scanner, so a --- inside a quoted scalar can no longer misfire as a document boundary and directives stay attached to the document they introduce. Add a differential suite that checks the new scanner against the old line-based reference across generated streams and the full Geekbench corpus.
25 lines
672 B
Plaintext
25 lines
672 B
Plaintext
{
|
|
"originHash" : "651d260da7e20e6ca89d05327ce8dc35c2397a5027fbf040bdf598ca59c18570",
|
|
"pins" : [
|
|
{
|
|
"identity" : "pureyaml",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://codeberg.org/NodetteHQ/PureYAML.git",
|
|
"state" : {
|
|
"branch" : "main",
|
|
"revision" : "2fcf54684e4216a1459cb8bd7bb14dac05b856ca"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swiftwasihttpclient",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://codeberg.org/Mihaela/SwiftWASIHTTPClient.git",
|
|
"state" : {
|
|
"branch" : "main",
|
|
"revision" : "66b1df6a7da8886e251c0851d1decdd32aaca72c"
|
|
}
|
|
}
|
|
],
|
|
"version" : 3
|
|
}
|