Skip to content

Commit

Permalink
fix: reduce SLICE_STACK_SIZE to 50k (#2784)
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasvh authored Dec 31, 2021
1 parent 04787ee commit 1cc853a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/css/syntax/tokenizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ export class Tokenizer {
}

private consumeStringSlice(count: number): string {
const SLICE_STACK_SIZE = 60000;
const SLICE_STACK_SIZE = 50000;
let value = '';
while (count > 0) {
const amount = Math.min(SLICE_STACK_SIZE, count);
Expand Down

0 comments on commit 1cc853a

Please sign in to comment.