Skip to content

Commit 1cc853a

Browse files
authored
fix: reduce SLICE_STACK_SIZE to 50k (#2784)
1 parent 04787ee commit 1cc853a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/css/syntax/tokenizer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ export class Tokenizer {
657657
}
658658

659659
private consumeStringSlice(count: number): string {
660-
const SLICE_STACK_SIZE = 60000;
660+
const SLICE_STACK_SIZE = 50000;
661661
let value = '';
662662
while (count > 0) {
663663
const amount = Math.min(SLICE_STACK_SIZE, count);

0 commit comments

Comments
 (0)