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

@@ -231,7 +231,7 @@ class Parser {
}
*step() {
const top = this.peek(1);
if (this.type === 'doc-end' && (!top || top.type !== 'doc-end')) {
if (this.type === 'doc-end' && top?.type !== 'doc-end') {
while (this.stack.length > 0)
yield* this.pop();
this.stack.push({
@@ -763,7 +763,7 @@ class Parser {
do {
yield* this.pop();
top = this.peek(1);
} while (top && top.type === 'flow-collection');
} while (top?.type === 'flow-collection');
}
else if (fc.end.length === 0) {
switch (this.type) {