node_modules: update (#127)

Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
This commit is contained in:
Dawid Dziurla
2025-12-25 10:57:45 +01:00
committed by GitHub
parent f78fdf2ef7
commit e8303e5fa5
64 changed files with 585 additions and 291 deletions

View File

@@ -103,7 +103,7 @@ function stringifyPair({ key, value }, ctx, onComment, onChompKeep) {
ws += `\n${stringifyComment.indentComment(cs, ctx.indent)}`;
}
if (valueStr === '' && !ctx.inFlow) {
if (ws === '\n')
if (ws === '\n' && valueComment)
ws = '\n\n';
}
else {