diff --git a/package.json b/package.json index a139af12..4250e820 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "@commitlint/types": "^19.5.0", "@eslint/js": "^9.17.0", "@modern-js/tsconfig": "2.63.5", - "@rspress/plugin-shiki": "^1.38.0", + "@rspress/plugin-shiki": "^1.39.4", "@types/node": "^22.10.5", "chatgpt-md-translator": "^1.7.1", "eslint": "^9.17.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9482d534..2ec339ac 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -74,8 +74,8 @@ importers: specifier: 2.63.5 version: 2.63.5 '@rspress/plugin-shiki': - specifier: ^1.38.0 - version: 1.38.0 + specifier: ^1.39.4 + version: 1.39.4 '@types/node': specifier: ^22.10.5 version: 22.10.5 @@ -490,11 +490,6 @@ packages: resolution: {integrity: sha512-xfSkCAchbdG5PnbrKqFWwia4Bi61nH+wm8wLEqfHDyp7Y3dZzgqS2itV8i4gAq9pC2HsTpwyBC6Ds8VHZ96JlA==} engines: {node: '>=14.0.0'} - '@rsbuild/core@1.1.10': - resolution: {integrity: sha512-G0aVnoMSIZ4PNcW07tKtsOSoID9M03EAnCThRmUWMj1RXDqhbGje6AFBwGun9uz63bdxYEbEp9C8wH7dGi8aYQ==} - engines: {node: '>=16.7.0'} - hasBin: true - '@rsbuild/core@1.1.13': resolution: {integrity: sha512-XBL2hrin8731W6iTGGL+x3cv07n4vm2D7u6XHRwtQkRfySzAqGx7ThlQLdNX/dJwfsoQrYQuWl/qzaljjXtGtg==} engines: {node: '>=16.7.0'} @@ -515,111 +510,54 @@ packages: peerDependencies: '@rsbuild/core': 1.x - '@rspack/binding-darwin-arm64@1.1.6': - resolution: {integrity: sha512-x9dxm2yyiMuL1FBwvWNNMs2/mEUJmRoSRgYb8pblR7HDaTRORrjBFCqhaYlGyAqtQaeUy7o2VAQlE0BavIiFYA==} - cpu: [arm64] - os: [darwin] - '@rspack/binding-darwin-arm64@1.1.8': resolution: {integrity: sha512-I7avr471ghQ3LAqKm2fuXuJPLgQ9gffn5Q4nHi8rsukuZUtiLDPfYzK1QuupEp2JXRWM1gG5lIbSUOht3cD6Ug==} cpu: [arm64] os: [darwin] - '@rspack/binding-darwin-x64@1.1.6': - resolution: {integrity: sha512-o0seilveftGiDjy3VPxug20HmAgYyQbNEuagR3i93/t/PT/eWXHnik+C1jjwqcivZL1Zllqvy4tbZw393aROEQ==} - cpu: [x64] - os: [darwin] - '@rspack/binding-darwin-x64@1.1.8': resolution: {integrity: sha512-vfqf/c+mcx8rr1M8LnqKmzDdnrgguflZnjGerBLjNerAc+dcUp3lCvNxRIvZ2TkSZZBW8BpCMgjj3n70CZ4VLQ==} cpu: [x64] os: [darwin] - '@rspack/binding-linux-arm64-gnu@1.1.6': - resolution: {integrity: sha512-4atnoknJx/c3KaQElsMIxHMpPf2jcRRdWsH/SdqJIRSrkWWakMK9Yv4TFwH680I4HDTMf1XLboMVScHzW8e+Mg==} - cpu: [arm64] - os: [linux] - '@rspack/binding-linux-arm64-gnu@1.1.8': resolution: {integrity: sha512-lZlO/rAJSeozi+qtVLkGSXfe+riPawCwM4FsrflELfNlvvEXpANwtrdJ+LsaNVXcgvhh50ZX2KicTdmx9G2b6Q==} cpu: [arm64] os: [linux] - '@rspack/binding-linux-arm64-musl@1.1.6': - resolution: {integrity: sha512-7QMtwUtgFpt3/Y3/X18fSyN+kk4H8ZnZ8tDzQskVWc/j2AQYShZq56XQYqrhClzwujcCVAHauIQ2eiuJ2ASGag==} - cpu: [arm64] - os: [linux] - '@rspack/binding-linux-arm64-musl@1.1.8': resolution: {integrity: sha512-bX7exULSZwy8xtDh6Z65b6sRC4uSxGuyvSLCEKyhmG6AnJkg0gQMxk3hoO0hWnyGEZgdJEn+jEhk0fjl+6ZRAQ==} cpu: [arm64] os: [linux] - '@rspack/binding-linux-x64-gnu@1.1.6': - resolution: {integrity: sha512-MTjDEfPn4TwHoqs5d5Fck06kmXiTHZctGIcRVfrpg0RK0r1NLEHN+oosavRZ9c9H70f34+NmcHk+/qvV4c8lWg==} - cpu: [x64] - os: [linux] - '@rspack/binding-linux-x64-gnu@1.1.8': resolution: {integrity: sha512-2Prw2USgTJ3aLdLExfik8pAwAHbX4MZrACBGEmR7Vbb56kLjC+++fXkciRc50pUDK4JFr1VQ7eNZrJuDR6GG6Q==} cpu: [x64] os: [linux] - '@rspack/binding-linux-x64-musl@1.1.6': - resolution: {integrity: sha512-LqDw7PTVr/4ZuGA0izgDQfamfr72USFHltR1Qhy2YVC3JmDmhG/pQi13LHcOLVaGH1xoeyCmEPNJpVizzDxSjg==} - cpu: [x64] - os: [linux] - '@rspack/binding-linux-x64-musl@1.1.8': resolution: {integrity: sha512-bnVGB/mQBKEdzOU/CPmcOE3qEXxGOGGW7/i6iLl2MamVOykJq8fYjL9j86yi6L0r009ja16OgWckykQGc4UqGw==} cpu: [x64] os: [linux] - '@rspack/binding-win32-arm64-msvc@1.1.6': - resolution: {integrity: sha512-RHApLM93YN0WdHpS35u2cm7VCqZ8Yg3CrNRL16VJtyT9e6MBqeScoe4XIgIWKPm7edFyedYAjLX0wQOApwfjkg==} - cpu: [arm64] - os: [win32] - '@rspack/binding-win32-arm64-msvc@1.1.8': resolution: {integrity: sha512-u+na3gxhzeksm4xZyAzn1+XWo5a5j7hgWA/KcFPDQ8qQNkRknx4jnQMxVtcZ9pLskAYV4AcOV/AIximx7zvv8A==} cpu: [arm64] os: [win32] - '@rspack/binding-win32-ia32-msvc@1.1.6': - resolution: {integrity: sha512-Y6lx4q0eJawRfMPBo/AclTJAPTZ325DSPFBQJB3TnWh9Z2X7P7pQcYc8PHDmfDuYRIdg5WRsQRvVxihSvF7v8w==} - cpu: [ia32] - os: [win32] - '@rspack/binding-win32-ia32-msvc@1.1.8': resolution: {integrity: sha512-FijUxym1INd5fFHwVCLuVP8XEAb4Sk1sMwEEQUlugiDra9ZsLaPw4OgPGxbxkD6SB0DeUz9Zq46Xbcf6d3OgfA==} cpu: [ia32] os: [win32] - '@rspack/binding-win32-x64-msvc@1.1.6': - resolution: {integrity: sha512-UuCsfhC/yNuU7xLASOxNXcmsXi2ZvBX14GkxvcdChw6q7IIGNYUKXo1zgR8C1PE/6qDSxmLxbRMS+71d0H3HQg==} - cpu: [x64] - os: [win32] - '@rspack/binding-win32-x64-msvc@1.1.8': resolution: {integrity: sha512-SBzIcND4qpDt71jlu1MCDxt335tqInT3YID9V4DoQ4t8wgM/uad7EgKOWKTK6vc2RRaOIShfS2XzqjNUxPXh4w==} cpu: [x64] os: [win32] - '@rspack/binding@1.1.6': - resolution: {integrity: sha512-vfeBEgGOYVwqj5cQjGyvdfrr/BEihAHlyIsobL98FZjTF0uig+bj2yJUH5Ib5F0BpIUKVG3Pw0IjlUBqcVpZsQ==} - '@rspack/binding@1.1.8': resolution: {integrity: sha512-+/JzXx1HctfgPj+XtsCTbRkxiaOfAXGZZLEvs7jgp04WgWRSZ5u97WRCePNPvy+sCfOEH/2zw2ZK36Z7oQRGhQ==} - '@rspack/core@1.1.6': - resolution: {integrity: sha512-q0VLphOF5VW2FEG7Vbdq3Ke4I74FbELE/8xmKghSalFtULLZ44SoSz8lyotfMim9GXIRFhDokAaH8WICmPxG+g==} - engines: {node: '>=16.0.0'} - peerDependencies: - '@swc/helpers': '>=0.5.1' - peerDependenciesMeta: - '@swc/helpers': - optional: true - '@rspack/core@1.1.8': resolution: {integrity: sha512-pcZtcj5iXLCuw9oElTYC47bp/RQADm/MMEb3djHdwJuSlFWfWPQi5QFgJ/lJAxIW9UNHnTFrYtytycfjpuoEcA==} engines: {node: '>=16.0.0'} @@ -715,20 +653,20 @@ packages: peerDependencies: '@rspress/runtime': ^1.39.3 - '@rspress/plugin-shiki@1.38.0': - resolution: {integrity: sha512-Fd3p1RKk+kjCsIcFLUi/qFjY2lT44nOAQ0N5B5UMsvry/vXTCHZ9E4Bn8GlS3mEDWum4cmDPMn6c6Z3DLwiFaA==} + '@rspress/plugin-shiki@1.39.4': + resolution: {integrity: sha512-espexy6W0JlqKNWCO5+TV9Ooo++Nf01jWxrGKp9j9qxbYHQSXyBIL782yp4TeoZYnGhIeUuAZ4fUawmbreVO5g==} engines: {node: '>=14.17.6'} '@rspress/runtime@1.39.3': resolution: {integrity: sha512-iOoAKDST9bFopl+Bwpfg5+5NqKFf9SaPiuKW4EyoNjQBJpvQZh4nrauusz84sXarIg9frhOnpN/M7YTPbEa+EQ==} engines: {node: '>=14.17.6'} - '@rspress/shared@1.38.0': - resolution: {integrity: sha512-PnyjsZ/zKVTy8FyG6LauinQ4hUeI/09rUdL1pM3MO2PRJ4KMieaUcybRbY8Yf+LOcQZyDLoonKflRgsg+iaHWQ==} - '@rspress/shared@1.39.3': resolution: {integrity: sha512-lzOHBJNN4POkSaIWoehXi9iWZvjclLhny+RGP53oTRuOlS6MWORKc3Q2V/ga+2uh2c99DgvPa62dRtqdfazkQQ==} + '@rspress/shared@1.39.4': + resolution: {integrity: sha512-6EYpUIyHrEfsMv2eeYnrnfSb2E4AGie0n5zEMf3ZdTyDfmocA5r1JhQYGL6hfVj7Tdep7oEMFjQHU0JioY3ruA==} + '@rspress/theme-default@1.39.3': resolution: {integrity: sha512-3eJc/loocaUpAbrgDJY7a9iX+Og8hLkuIkgCwf4orl57oFdldm8xbAZHtNro71tIgi/c/13kdGDZCCygwut/9A==} engines: {node: '>=14.17.6'} @@ -775,9 +713,6 @@ packages: '@types/ms@0.7.34': resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} - '@types/node@22.10.3': - resolution: {integrity: sha512-DifAyw4BkrufCILvD3ucnuN8eydUfc/C1GlyrnI+LK6543w5/L3VeVgf05o3B4fqSXP1dKYLOZsKfutpxPzZrw==} - '@types/node@22.10.5': resolution: {integrity: sha512-F8Q+SeGimwOo86fiovQh8qiXfFEh2/ocYv7tU5pJ3EXMSSxk1Joj5wefpFK2fHTf/N6HKGSxIDBT9f3gCxXPkQ==} @@ -3386,13 +3321,6 @@ snapshots: '@remix-run/router@1.21.0': {} - '@rsbuild/core@1.1.10': - dependencies: - '@rspack/core': 1.1.6(@swc/helpers@0.5.15) - '@rspack/lite-tapable': 1.0.1 - '@swc/helpers': 0.5.15 - core-js: 3.39.0 - '@rsbuild/core@1.1.13': dependencies: '@rspack/core': 1.1.8(@swc/helpers@0.5.15) @@ -3421,72 +3349,33 @@ snapshots: reduce-configs: 1.1.0 sass-embedded: 1.83.0 - '@rspack/binding-darwin-arm64@1.1.6': - optional: true - '@rspack/binding-darwin-arm64@1.1.8': optional: true - '@rspack/binding-darwin-x64@1.1.6': - optional: true - '@rspack/binding-darwin-x64@1.1.8': optional: true - '@rspack/binding-linux-arm64-gnu@1.1.6': - optional: true - '@rspack/binding-linux-arm64-gnu@1.1.8': optional: true - '@rspack/binding-linux-arm64-musl@1.1.6': - optional: true - '@rspack/binding-linux-arm64-musl@1.1.8': optional: true - '@rspack/binding-linux-x64-gnu@1.1.6': - optional: true - '@rspack/binding-linux-x64-gnu@1.1.8': optional: true - '@rspack/binding-linux-x64-musl@1.1.6': - optional: true - '@rspack/binding-linux-x64-musl@1.1.8': optional: true - '@rspack/binding-win32-arm64-msvc@1.1.6': - optional: true - '@rspack/binding-win32-arm64-msvc@1.1.8': optional: true - '@rspack/binding-win32-ia32-msvc@1.1.6': - optional: true - '@rspack/binding-win32-ia32-msvc@1.1.8': optional: true - '@rspack/binding-win32-x64-msvc@1.1.6': - optional: true - '@rspack/binding-win32-x64-msvc@1.1.8': optional: true - '@rspack/binding@1.1.6': - optionalDependencies: - '@rspack/binding-darwin-arm64': 1.1.6 - '@rspack/binding-darwin-x64': 1.1.6 - '@rspack/binding-linux-arm64-gnu': 1.1.6 - '@rspack/binding-linux-arm64-musl': 1.1.6 - '@rspack/binding-linux-x64-gnu': 1.1.6 - '@rspack/binding-linux-x64-musl': 1.1.6 - '@rspack/binding-win32-arm64-msvc': 1.1.6 - '@rspack/binding-win32-ia32-msvc': 1.1.6 - '@rspack/binding-win32-x64-msvc': 1.1.6 - '@rspack/binding@1.1.8': optionalDependencies: '@rspack/binding-darwin-arm64': 1.1.8 @@ -3499,15 +3388,6 @@ snapshots: '@rspack/binding-win32-ia32-msvc': 1.1.8 '@rspack/binding-win32-x64-msvc': 1.1.8 - '@rspack/core@1.1.6(@swc/helpers@0.5.15)': - dependencies: - '@module-federation/runtime-tools': 0.5.1 - '@rspack/binding': 1.1.6 - '@rspack/lite-tapable': 1.0.1 - caniuse-lite: 1.0.30001680 - optionalDependencies: - '@swc/helpers': 0.5.15 - '@rspack/core@1.1.8(@swc/helpers@0.5.15)': dependencies: '@module-federation/runtime-tools': 0.5.1 @@ -3619,9 +3499,9 @@ snapshots: '@rspress/runtime': 1.39.3 medium-zoom: 1.1.0 - '@rspress/plugin-shiki@1.38.0': + '@rspress/plugin-shiki@1.39.4': dependencies: - '@rspress/shared': 1.38.0 + '@rspress/shared': 1.39.4 hast-util-from-html: 2.0.3 shiki: 0.14.7 unist-util-visit: 5.0.0 @@ -3634,17 +3514,17 @@ snapshots: react-helmet-async: 1.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react-router-dom: 6.28.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@rspress/shared@1.38.0': + '@rspress/shared@1.39.3': dependencies: - '@rsbuild/core': 1.1.10 - chalk: 5.3.0 + '@rsbuild/core': 1.1.13 + chalk: 5.4.1 execa: 5.1.1 fs-extra: 11.2.0 gray-matter: 4.0.3 lodash-es: 4.17.21 unified: 10.1.2 - '@rspress/shared@1.39.3': + '@rspress/shared@1.39.4': dependencies: '@rsbuild/core': 1.1.13 chalk: 5.4.1 @@ -3718,10 +3598,6 @@ snapshots: '@types/ms@0.7.34': {} - '@types/node@22.10.3': - dependencies: - undici-types: 6.20.0 - '@types/node@22.10.5': dependencies: undici-types: 6.20.0 @@ -4826,7 +4702,7 @@ snapshots: jest-worker@27.5.1: dependencies: - '@types/node': 22.10.3 + '@types/node': 22.10.5 merge-stream: 2.0.0 supports-color: 8.1.1