Skip to content

Commit 68f7862

Browse files
committed
feat: update deps and grammars
1 parent cffde36 commit 68f7862

File tree

6 files changed

+2291
-971
lines changed

6 files changed

+2291
-971
lines changed

docs/references/engine-js-compat.md

Lines changed: 58 additions & 58 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"type": "module",
33
"version": "1.26.1",
44
"private": true,
5-
"packageManager": "pnpm@9.15.2",
5+
"packageManager": "pnpm@9.15.3",
66
"scripts": {
77
"lint": "eslint . --cache",
88
"release": "bumpp",
@@ -42,7 +42,7 @@
4242
"@vitest/coverage-v8": "catalog:",
4343
"ansi-sequence-parser": "catalog:",
4444
"bumpp": "catalog:",
45-
"diff-match-patch-es": "^0.1.1",
45+
"diff-match-patch-es": "^1.0.1",
4646
"eslint": "catalog:",
4747
"eslint-plugin-format": "catalog:",
4848
"esno": "catalog:",

packages/colorized-brackets/src/splitBracketTokens.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ export default function splitBracketTokens(
7474
else if (i === 0) {
7575
length
7676
= (rawToken.content.match(/^\s*/)?.[0].length ?? 0)
77-
+ explanation.content.trimStart().length
77+
+ explanation.content.trimStart().length
7878
}
7979
else if (i === explanations.length - 1) {
8080
length
8181
= explanation.content.trimEnd().length
82-
+ (rawToken.content.match(/\s*$/)?.[0].length ?? 0)
82+
+ (rawToken.content.match(/\s*$/)?.[0].length ?? 0)
8383
}
8484
currentExplanationStart += length
8585
return {

packages/engine-oniguruma/src/oniguruma/onig.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ export default async function main(init: Instantiator): Promise<IOnigBinding> {
7878
}
7979
else {
8080
u0 = ((u0 & 7) << 18)
81-
| (u1 << 12)
82-
| (u2 << 6)
83-
| (heapOrArray[idx++] & 63)
81+
| (u1 << 12)
82+
| (u2 << 6)
83+
| (heapOrArray[idx++] & 63)
8484
}
8585
if (u0 < 65536) {
8686
str += String.fromCharCode(u0)

0 commit comments

Comments
 (0)