Skip to content

Commit 68f7862

Browse files
committedJan 13, 2025
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

+58-58
Large diffs are not rendered by default.

‎package.json

+2-2
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

+2-2
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

+3-3
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)

‎pnpm-lock.yaml

+2,204-884
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pnpm-workspace.yaml

+22-22
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ packages:
66
- docs
77
- packages/@shikijs/core/vendor/*
88
catalog:
9-
'@antfu/eslint-config': ^3.12.1
10-
'@antfu/ni': ^0.23.2
11-
'@antfu/utils': ^0.7.10
9+
'@antfu/eslint-config': ^3.14.0
10+
'@antfu/ni': ^23.2.0
11+
'@antfu/utils': ^8.0.0
1212
'@iconify-json/carbon': ^1.2.5
1313
'@iconify-json/codicon': ^1.2.8
1414
'@iconify-json/ph': ^1.2.2
@@ -25,18 +25,18 @@ catalog:
2525
'@types/markdown-it': ^14.1.2
2626
'@types/mdast': ^4.0.4
2727
'@types/minimist': ^1.2.5
28-
'@types/node': ^22.10.3
28+
'@types/node': ^22.10.5
2929
'@types/unist': ^3.0.3
30-
'@unocss/reset': ^0.65.3
30+
'@unocss/reset': ^65.4.0
3131
'@vitest/coverage-v8': 2.0.5
32-
'@vueuse/core': ^12.2.0
32+
'@vueuse/core': ^12.4.0
3333
ansi-sequence-parser: ^1.1.1
34-
bumpp: ^9.9.2
34+
bumpp: ^9.10.0
3535
chalk: ^5.4.1
36-
eslint: ^9.17.0
37-
eslint-plugin-format: ^0.1.3
36+
eslint: ^9.18.0
37+
eslint-plugin-format: ^1.0.1
3838
esno: ^4.8.0
39-
fast-glob: ^3.3.2
39+
fast-glob: ^3.3.3
4040
floating-vue: ^5.2.2
4141
fs-extra: ^11.2.0
4242
fuse.js: ^7.0.0
@@ -57,36 +57,36 @@ catalog:
5757
oniguruma-to-es: ^1.0.0
5858
picocolors: ^1.1.1
5959
pinia: ^2.3.0
60-
pnpm: ^9.15.2
60+
pnpm: ^9.15.3
6161
prettier: ^3.4.2
6262
rehype-raw: ^7.0.0
6363
rehype-stringify: ^10.0.1
6464
remark-parse: ^11.0.0
6565
remark-rehype: ^11.1.1
6666
rimraf: ^6.0.1
67-
rollup: ^4.29.1
67+
rollup: ^4.30.1
6868
rollup-plugin-copy: ^3.5.0
6969
rollup-plugin-dts: ^6.1.1
7070
rollup-plugin-esbuild: ^6.1.1
7171
shiki-legacy: npm:shiki@^0.14.7
7272
simple-git-hooks: ^2.11.1
73-
taze: ^0.18.0
74-
tm-grammars: ^1.22.1
75-
tm-themes: ^1.9.7
73+
taze: ^18.1.0
74+
tm-grammars: ^1.22.4
75+
tm-themes: ^1.9.8
7676
twoslash: ^0.2.12
7777
twoslash-vue: ^0.2.12
78-
typescript: ^5.7.2
79-
unbuild: ^3.2.0
78+
typescript: ^5.7.3
79+
unbuild: ^3.3.0
8080
unified: ^11.0.5
8181
unist-util-visit: ^5.0.0
82-
unocss: ^0.65.3
83-
unplugin-vue-components: ^0.28.0
84-
vite: ^6.0.6
82+
unocss: ^65.4.0
83+
unplugin-vue-components: ^28.0.0
84+
vite: ^6.0.7
8585
vite-tsconfig-paths: ^5.1.4
8686
vitepress: ^1.5.0
8787
vitepress-plugin-mermaid: ^2.0.17
88-
vitest: 2.0.5
88+
vitest: ^2.1.8
8989
vscode-oniguruma: ^1.7.0
9090
vue: ^3.5.13
9191
vue-tsc: ^2.2.0
92-
wrangler: ^3.99.0
92+
wrangler: ^3.101.0

0 commit comments

Comments
 (0)
Please sign in to comment.