Skip to content

Commit 4c1a68c

Browse files
committed
upgrade packages
1 parent 3ad9b03 commit 4c1a68c

File tree

3 files changed

+962
-673
lines changed

3 files changed

+962
-673
lines changed

src/Serilog.Ui.Web/package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@
1515
},
1616
"dependencies": {
1717
"@fontsource/mononoki": "^5.1.0",
18-
"@mantine/core": "^7.16.1",
19-
"@mantine/dates": "^7.16.1",
20-
"@mantine/hooks": "^7.16.1",
21-
"@mantine/notifications": "^7.16.1",
22-
"@tabler/icons-react": "^3.29.0",
23-
"@tanstack/react-query": "^5.64.2",
18+
"@mantine/core": "^7.16.3",
19+
"@mantine/dates": "^7.16.3",
20+
"@mantine/hooks": "^7.16.3",
21+
"@mantine/notifications": "^7.16.3",
22+
"@tabler/icons-react": "^3.30.0",
23+
"@tanstack/react-query": "^5.66.0",
2424
"dayjs": "^1.11.13",
2525
"jose": "^5.9.6",
2626
"react": "^18.3.1",
2727
"react-dom": "^18.3.1",
2828
"react-hook-form": "^7.54.2",
29-
"react-router-dom": "^6.26.2",
29+
"react-router-dom": "^7.1.5",
3030
"xml-formatter": "^3.6.4"
3131
},
3232
"devDependencies": {
@@ -35,12 +35,12 @@
3535
"@testing-library/jest-dom": "^6.6.3",
3636
"@testing-library/react": "^16.2.0",
3737
"@testing-library/user-event": "^14.6.1",
38-
"@types/node": "^22.10.10",
38+
"@types/node": "^22.13.1",
3939
"@types/react": "^18.3.11",
4040
"@types/react-dom": "^18.3.0",
41-
"@vitejs/plugin-react-swc": "^3.7.2",
42-
"@vitest/coverage-istanbul": "^2.1.2",
43-
"@vitest/ui": "^2.1.2",
41+
"@vitejs/plugin-react-swc": "^3.8.0",
42+
"@vitest/coverage-istanbul": "^3.0.5",
43+
"@vitest/ui": "^3.0.5",
4444
"@welldone-software/why-did-you-render": "^10.0.1",
4545
"eslint": "^8.57.0",
4646
"eslint-config-prettier": "^10.0.1",
@@ -54,22 +54,22 @@
5454
"eslint-plugin-testing-library": "^7.1.1",
5555
"eslint-plugin-vitest": "^0.5.4",
5656
"eslint-plugin-vitest-globals": "^1.5.0",
57-
"happy-dom": "^16.7.2",
57+
"happy-dom": "^17.0.2",
5858
"msw": "^2.7.0",
5959
"postcss": "^8.5.1",
6060
"postcss-preset-mantine": "^1.17.0",
6161
"postcss-simple-vars": "^7.0.1",
6262
"prettier": "^3.4.2",
6363
"prettier-plugin-organize-imports": "^4.1.0",
64-
"shiki": "^1.22.0",
64+
"shiki": "^2.3.2",
6565
"testing-library-selector": "^0.3.1",
6666
"typescript": "^5.7.3",
67-
"typescript-eslint": "^8.21.0",
68-
"vite": "^5.4.8",
67+
"typescript-eslint": "^8.23.0",
68+
"vite": "^6.1.0",
6969
"vite-plugin-checker": "^0.8.0",
7070
"vite-plugin-mkcert": "^1.17.6",
7171
"vite-tsconfig-paths": "^5.1.4",
72-
"vitest": "^2.1.2",
72+
"vitest": "^3.0.5",
7373
"vitest-sonar-reporter": "^2.0.0"
7474
},
7575
"engines": {

src/Serilog.Ui.Web/src/style/shikijiBundle.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// `shikiji/core` entry does not include any themes or languages or the wasm binary.
2+
import { createOnigurumaEngine } from 'shiki';
23
import { createHighlighterCore } from 'shiki/core';
3-
// `shikiji/wasm` contains the wasm binary inlined as base64 string.
4-
import getWasm from 'shiki/wasm';
5-
// directly import the theme and language modules, only the ones you imported will be bundled.
64

5+
// directly import the theme and language modules, only the ones you imported will be bundled.
76
export const highlighter = await createHighlighterCore({
7+
engine: await createOnigurumaEngine(import('shiki/wasm')),
88
themes: [
99
// or a dynamic import if you want to do chunk splitting
1010
import('shiki/themes/tokyo-night.mjs'),
@@ -17,5 +17,4 @@ export const highlighter = await createHighlighterCore({
1717
// shikiji will try to interop the module with the default export
1818
() => import('shiki/langs/css.mjs'),
1919
],
20-
loadWasm: getWasm,
2120
});

0 commit comments

Comments
 (0)