diff --git a/packages/core/package.json b/packages/core/package.json index b9ce7650b..06571b309 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -74,7 +74,7 @@ "react-dom": "^18.3.1", "react-helmet-async": "^1.3.0", "react-lazy-with-preload": "^2.2.1", - "react-syntax-highlighter": "^15.5.0", + "react-syntax-highlighter": "^15.6.1", "rehype-external-links": "^2.1.0", "rehype-stringify": "^9.0.4", "remark": "^14.0.3", diff --git a/packages/theme-default/package.json b/packages/theme-default/package.json index f7b972d70..e21b59ded 100644 --- a/packages/theme-default/package.json +++ b/packages/theme-default/package.json @@ -51,7 +51,7 @@ "react": "^18.3.1", "react-dom": "^18.3.1", "react-helmet-async": "^1.3.0", - "react-syntax-highlighter": "^15.5.0", + "react-syntax-highlighter": "^15.6.1", "react-transition-group": "4.4.5", "rspack-plugin-virtual-module": "0.1.13" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7d2e0ff9f..91d734bfb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -674,8 +674,8 @@ importers: specifier: ^2.2.1 version: 2.2.1 react-syntax-highlighter: - specifier: ^15.5.0 - version: 15.5.0(react@18.3.1) + specifier: ^15.6.1 + version: 15.6.1(react@18.3.1) rehype-external-links: specifier: ^2.1.0 version: 2.1.0 @@ -1174,7 +1174,7 @@ importers: version: 1.0.4(@rsbuild/core@1.0.18) '@rsbuild/plugin-solid': specifier: ~1.0.3 - version: 1.0.3(@babel/core@7.25.8)(@rsbuild/core@1.0.18)(solid-js@1.9.3) + version: 1.0.3(@babel/core@7.26.0)(@rsbuild/core@1.0.18)(solid-js@1.9.3) '@rspress/core': specifier: workspace:^1.35.3 version: link:../core @@ -1485,8 +1485,8 @@ importers: specifier: ^1.3.0 version: 1.3.0(react-dom@18.3.1)(react@18.3.1) react-syntax-highlighter: - specifier: ^15.5.0 - version: 15.5.0(react@18.3.1) + specifier: ^15.6.1 + version: 15.6.1(react@18.3.1) react-transition-group: specifier: 4.4.5 version: 4.4.5(react-dom@18.3.1)(react@18.3.1) @@ -1685,7 +1685,6 @@ packages: '@babel/helper-validator-identifier': 7.25.9 js-tokens: 4.0.0 picocolors: 1.1.0 - dev: true /@babel/compat-data@7.25.2: resolution: {integrity: sha512-bYcppcpKBvX4znYaPEeFau03bp89ShqNMLs+rmdptMw+heSZh9+z84d2YG+K7cYLbWwzdjtDoW/uqZmPjulClQ==} @@ -1700,7 +1699,6 @@ packages: /@babel/compat-data@7.26.2: resolution: {integrity: sha512-Z0WgzSEa+aUcdiJuCIqgujCshpMWgUpgOxXotrYPSA53hA3qopNaqcJpyr0hVb1FeWdnqFA35/fUtXgBK8srQg==} engines: {node: '>=6.9.0'} - dev: true /@babel/core@7.25.2: resolution: {integrity: sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==} @@ -1769,7 +1767,6 @@ packages: semver: 6.3.1 transitivePeerDependencies: - supports-color - dev: true /@babel/generator@7.25.0: resolution: {integrity: sha512-3LEEcj3PVW8pW2R1SR1M89g/qrYk/m/mB/tLqn7dn4sbBUQyTqnlod+II2U4dqiGtUmkcnAmkMDralTFZttRiw==} @@ -1810,7 +1807,6 @@ packages: '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 jsesc: 3.0.2 - dev: true /@babel/helper-annotate-as-pure@7.25.7: resolution: {integrity: sha512-4xwU8StnqnlIhhioZf1tqnVWeQ9pvH/ujS8hRfw/WOza+/a+1qv69BWNy+oY231maTCWgKWhfBU7kDpsds6zAA==} @@ -1850,7 +1846,6 @@ packages: browserslist: 4.24.0 lru-cache: 5.1.1 semver: 6.3.1 - dev: true /@babel/helper-create-class-features-plugin@7.25.7(@babel/core@7.25.8): resolution: {integrity: sha512-bD4WQhbkx80mAyj/WCm4ZHcF4rDxkoLFO6ph8/5/mQ3z4vAzltQXAmbc7GvVJx5H+lk5Mi5EmbTeox5nMGCsbw==} @@ -1915,7 +1910,6 @@ packages: '@babel/types': 7.26.0 transitivePeerDependencies: - supports-color - dev: true /@babel/helper-module-transforms@7.25.2(@babel/core@7.25.2): resolution: {integrity: sha512-BjyRAbix6j/wv83ftcVJmBt72QtHI56C7JXZoG2xATiLpmoC7dpd8WnkikExHDVPpi/3qCmO6WY1EaXOluiecQ==} @@ -1959,7 +1953,6 @@ packages: '@babel/traverse': 7.25.9 transitivePeerDependencies: - supports-color - dev: true /@babel/helper-optimise-call-expression@7.25.7: resolution: {integrity: sha512-VAwcwuYhv/AT+Vfr28c9y6SHzTan1ryqrydSTFGjU0uDJHw3uZ+PduI8plCLkRsDnqK2DMEDmwrOQRsK/Ykjng==} @@ -2048,7 +2041,6 @@ packages: /@babel/helper-validator-option@7.25.9: resolution: {integrity: sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==} engines: {node: '>=6.9.0'} - dev: true /@babel/helpers@7.25.0: resolution: {integrity: sha512-MjgLZ42aCm0oGjJj8CtSM3DB8NOOf8h2l7DCTePJs29u+v7yO/RBX9nShlKMgFnRks/Q4tBAe7Hxnov9VkGwLw==} @@ -2072,7 +2064,6 @@ packages: dependencies: '@babel/template': 7.25.9 '@babel/types': 7.26.0 - dev: true /@babel/highlight@7.25.7: resolution: {integrity: sha512-iYyACpW3iW8Fw+ZybQK+drQre+ns/tKpXbNESfrhNnPLIklLbXr7MYJ6gPEd0iETGLOK+SxMjVvKb/ffmk+FEw==} @@ -2112,7 +2103,6 @@ packages: hasBin: true dependencies: '@babel/types': 7.26.0 - dev: true /@babel/plugin-proposal-decorators@7.25.7(@babel/core@7.25.8): resolution: {integrity: sha512-q1mqqqH0e1lhmsEQHV5U8OmdueBC2y0RFr2oUzZoFRtN3MvPmt2fsFRcNQAoGLTSNdHBFUYGnlgcRFhkBbKjPw==} @@ -2138,13 +2128,13 @@ packages: '@babel/helper-plugin-utils': 7.25.7 dev: false - /@babel/plugin-syntax-jsx@7.24.7(@babel/core@7.25.8): + /@babel/plugin-syntax-jsx@7.24.7(@babel/core@7.26.0): resolution: {integrity: sha512-6ddciUPe/mpMnOKv/U+RSd2vvVy+Yw/JfBB0ZHYjEZt9NLHmCUylNYlsbqCCS1Bffjlb0fCwC9Vqz+sBz6PsiQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.25.8 + '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.24.8 dev: false @@ -2258,7 +2248,6 @@ packages: '@babel/code-frame': 7.26.2 '@babel/parser': 7.26.2 '@babel/types': 7.26.0 - dev: true /@babel/traverse@7.25.3: resolution: {integrity: sha512-HefgyP1x754oGCsKmV5reSmtV7IXj/kpaE1XYY+D9G5PvKKoFfSbiS4M77MdjuwlZKDIKFCffq9rPU+H/s3ZdQ==} @@ -2318,7 +2307,6 @@ packages: globals: 11.12.0 transitivePeerDependencies: - supports-color - dev: true /@babel/types@7.25.6: resolution: {integrity: sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==} @@ -4117,14 +4105,14 @@ packages: sass-embedded: 1.80.3 dev: false - /@rsbuild/plugin-solid@1.0.3(@babel/core@7.25.8)(@rsbuild/core@1.0.18)(solid-js@1.9.3): + /@rsbuild/plugin-solid@1.0.3(@babel/core@7.26.0)(@rsbuild/core@1.0.18)(solid-js@1.9.3): resolution: {integrity: sha512-RCa1aAgyt4WCKPS1bjnQDqGZTupNC5NDwdJaoZrFA0Ivo8NNflBSloBNf1EW6lyVjXXyd8eIxdvx+eMG04rSWg==} peerDependencies: '@rsbuild/core': 1.x || ^1.0.1-rc.0 dependencies: '@rsbuild/core': 1.0.18 '@rsbuild/plugin-babel': 1.0.2(@rsbuild/core@1.0.18) - babel-preset-solid: 1.9.2(@babel/core@7.25.8) + babel-preset-solid: 1.9.2(@babel/core@7.26.0) solid-refresh: 0.6.3(solid-js@1.9.3) transitivePeerDependencies: - '@babel/core' @@ -5028,14 +5016,14 @@ packages: resolution: {integrity: sha512-iCvCkGFskbaYtfQ0a3GmcQCHl/Sv1GufXFGuUQ+FE+WJa7A/espLOuFIn09B944V8/ImPj71T4+rTASxO2PAuA==} dev: false - /babel-plugin-jsx-dom-expressions@0.39.2(@babel/core@7.25.8): + /babel-plugin-jsx-dom-expressions@0.39.2(@babel/core@7.26.0): resolution: {integrity: sha512-rCkSYFuLl5/XD+BXjZk1XxFAsIBgNe9WZ7xBHjQV1dBliI64kO+EWktAD3b6Bj/SXk+LpVXFyMVydhnI35svWQ==} peerDependencies: '@babel/core': ^7.20.12 dependencies: - '@babel/core': 7.25.8 + '@babel/core': 7.26.0 '@babel/helper-module-imports': 7.18.6 - '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.25.8) + '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.26.0) '@babel/types': 7.26.0 html-entities: 2.3.3 jest-diff: 29.7.0 @@ -5052,13 +5040,13 @@ packages: resolve: 1.22.4 dev: true - /babel-preset-solid@1.9.2(@babel/core@7.25.8): + /babel-preset-solid@1.9.2(@babel/core@7.26.0): resolution: {integrity: sha512-rWx968GIDghgFStRDQaoqelGspEm9rgPci/yNzNPFlkzMqHaL2yob+t7BbzyqZw5b9/llkzjqUNIOybT9Z9mcg==} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.25.8 - babel-plugin-jsx-dom-expressions: 0.39.2(@babel/core@7.25.8) + '@babel/core': 7.26.0 + babel-plugin-jsx-dom-expressions: 0.39.2(@babel/core@7.26.0) dev: false /bail@2.0.2: @@ -6635,6 +6623,10 @@ packages: engines: {node: '>=12.0.0'} dev: false + /highlightjs-vue@1.0.0: + resolution: {integrity: sha512-PDEfEF102G23vHmPhLyPboFCD+BkMGu+GuJe2d9/eH4FsCwvgBpnc9n0pGE+ffKdph38s6foEZiEjdgHdzp+IA==} + dev: false + /hoist-non-react-statics@3.3.2: resolution: {integrity: sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==} dependencies: @@ -8747,13 +8739,14 @@ packages: '@remix-run/router': 1.20.0 react: 18.3.1 - /react-syntax-highlighter@15.5.0(react@18.3.1): - resolution: {integrity: sha512-+zq2myprEnQmH5yw6Gqc8lD55QHnpKaU8TOcFeC/Lg/MQSs8UknEA0JC4nTZGFAXC2J2Hyj/ijJ7NlabyPi2gg==} + /react-syntax-highlighter@15.6.1(react@18.3.1): + resolution: {integrity: sha512-OqJ2/vL7lEeV5zTJyG7kmARppUjiB9h9udl4qHQjjgEos66z00Ia0OckwYfRxCSFrW8RJIBnsBwQsHZbVPspqg==} peerDependencies: react: '>= 0.14.0' dependencies: '@babel/runtime': 7.23.2 highlight.js: 10.7.3 + highlightjs-vue: 1.0.0 lowlight: 1.20.0 prismjs: 1.29.0 react: 18.3.1