-
-
Notifications
You must be signed in to change notification settings - Fork 840
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: nodeca/js-yaml
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5.2.2
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: nodeca/js-yaml
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5.2.3
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 8 commits
- 18 files changed
- 2 contributors
Commits on Jul 30, 2026
-
Configuration menu - View commit details
-
Copy full SHA for d524f83 - Browse repository at this point
Copy the full SHA d524f83View commit details
Commits on Jul 31, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 355dc96 - Browse repository at this point
Copy the full SHA 355dc96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49280f3 - Browse repository at this point
Copy the full SHA 49280f3View commit details -
Fix missing mapping values before document markers and reject unpaire…
…d mapping events, #784
Configuration menu - View commit details
-
Copy full SHA for 40fcb4f - Browse repository at this point
Copy the full SHA 40fcb4fView commit details
Commits on Aug 1, 2026
-
presenter: treat a tab-indented line in a folded scalar as more-inden…
…ted (#780) YAML 1.2.2 8.1.3 defines a more-indented ("spaced text") line by production [175] s-nb-spaced-text, whose leading [33] s-white is a space *or a tab*; the breaks around such a line are preserved verbatim ([177] b-l-spaced) rather than folded. getBlockValue() in the parser already tests for both (0x20 or 0x09), but the presenter tested only for a space, at four sites in foldBlockScalar() and foldLine(). It therefore doubled breaks the parser keeps literally, adding one \n per adjacency: parseEvents/eventsToAst/present of k: > <TAB> detected emitted a blank line before "detected", so the value went from "\t\ndetected\n" to "\t\n\ndetected\n". A tab line between two folded lines cost two extra \n. Extract the predicate as isMoreIndented() and use it for the prevMoreIndented seed, the per-line test and the foldLine guard; the fold-point regexp becomes / [^ \t]/ so a break is never placed before a tab either (breaking at the space in "aaa... \tzzz" moved the tab to the start of the next line). Enumerating every two-line block-scalar body over a 7-line alphabet in both block styles gave 84 parseable sources: 12 changed value through present(), all folded style, all involving a tab; literal style was clean (0/42). All 12 were confirmed against PyYAML 6.0.3 and ruamel.yaml 0.19.1 reading the emitted bytes, and all 12 round-trip after this change. The public dump() API never enters this path (it quotes tab-containing strings), so it was unaffected before and after.
Configuration menu - View commit details
-
Copy full SHA for 00209b6 - Browse repository at this point
Copy the full SHA 00209b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3bd7ca - Browse repository at this point
Copy the full SHA c3bd7caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94e766d - Browse repository at this point
Copy the full SHA 94e766dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6740445 - Browse repository at this point
Copy the full SHA 6740445View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 5.2.2...5.2.3