diff --git a/packages/server/package.json b/packages/server/package.json index 06458267fec..a2cdd320fb4 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -18,7 +18,7 @@ "@cloudbase/node-sdk": "^3.3.7", "@koa/cors": "^5.0.0", "@mdit/plugin-katex": "0.8.0", - "@mdit/plugin-mathjax": "0.4.8", + "@mdit/plugin-mathjax": "0.15.0", "@mdit/plugin-sub": "0.8.0", "@mdit/plugin-sup": "0.8.0", "akismet": "^2.0.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4c38e4736c6..e3fbd426c8e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -297,8 +297,8 @@ importers: specifier: 0.8.0 version: 0.8.0(katex@0.16.19)(markdown-it@14.1.0) '@mdit/plugin-mathjax': - specifier: 0.4.8 - version: 0.4.8 + specifier: 0.15.0 + version: 0.15.0(markdown-it@14.1.0) '@mdit/plugin-sub': specifier: 0.8.0 version: 0.8.0(markdown-it@14.1.0) @@ -1927,9 +1927,14 @@ packages: mathjax-full: optional: true - '@mdit/plugin-mathjax@0.4.8': - resolution: {integrity: sha512-eFFYR6Qo9eZnS+3vUVIHd1lLasx6Upybu3tvdNJ119CUkVd3edtvDqI286RJuApfyDM0uAzkqEgmSKCr4pT8NA==} - engines: {node: '>= 14'} + '@mdit/plugin-mathjax@0.15.0': + resolution: {integrity: sha512-YocznwXGUnI5WU/BrkNyv/Ta8XngOd6qjyR9ra1NKUVN/PqiwDTcB4nx35Oxu0palU9wH6HLq6Ng3nytTO+GJg==} + engines: {node: '>= 18'} + peerDependencies: + markdown-it: ^14.1.0 + peerDependenciesMeta: + markdown-it: + optional: true '@mdit/plugin-plantuml@0.14.0': resolution: {integrity: sha512-AZy/o6Uvjd46GWoisYLQBL37ET0T+XscI+E8nUuZGu/ihAhoZU3jxeE97WFPwBa5T3hrNd9L1XfLXTTDM2ZQWw==} @@ -2019,9 +2024,14 @@ packages: markdown-it: optional: true - '@mdit/plugin-tex@0.4.8': - resolution: {integrity: sha512-HgWb8l0Can+NsxFfLu358Xwj1plxXHXf2YkjxM316pUeVZhNhjPjoqIpR46ebCwWbWW+GmwT0YdeUvQrDgM3ig==} - engines: {node: '>= 14'} + '@mdit/plugin-tex@0.15.0': + resolution: {integrity: sha512-Acgb6MAwXAniraVamGxlxYzka5KS6XvXPAy/+XayVfpbixTanFbKon2sg0PlSSU4CfVjCokJnhulhXn1v/FW3g==} + engines: {node: '>= 18'} + peerDependencies: + markdown-it: ^14.1.0 + peerDependenciesMeta: + markdown-it: + optional: true '@mdit/plugin-tex@0.8.0': resolution: {integrity: sha512-uh4kOhwBVEESz6dMmHk4Hn/AVfVtUhMA1UKpwMc1EL9qelodJ0YzSYfNXp6d/PS+E1l53yp8nMZK90DUO+3vpA==} @@ -2152,61 +2162,51 @@ packages: resolution: {integrity: sha512-PaMRNBSqCx7K3Wc9QZkFx5+CX27WFpAMxJNiYGAXfmMIKC7jstlr32UhTgK6T07OtqR+wYlWm9IxzennjnvdJg==} cpu: [arm] os: [linux] - libc: [glibc] '@rollup/rollup-linux-arm-musleabihf@4.30.1': resolution: {integrity: sha512-B8Rcyj9AV7ZlEFqvB5BubG5iO6ANDsRKlhIxySXcF1axXYUyqwBok+XZPgIYGBgs7LDXfWfifxhw0Ik57T0Yug==} cpu: [arm] os: [linux] - libc: [musl] '@rollup/rollup-linux-arm64-gnu@4.30.1': resolution: {integrity: sha512-hqVyueGxAj3cBKrAI4aFHLV+h0Lv5VgWZs9CUGqr1z0fZtlADVV1YPOij6AhcK5An33EXaxnDLmJdQikcn5NEw==} cpu: [arm64] os: [linux] - libc: [glibc] '@rollup/rollup-linux-arm64-musl@4.30.1': resolution: {integrity: sha512-i4Ab2vnvS1AE1PyOIGp2kXni69gU2DAUVt6FSXeIqUCPIR3ZlheMW3oP2JkukDfu3PsexYRbOiJrY+yVNSk9oA==} cpu: [arm64] os: [linux] - libc: [musl] '@rollup/rollup-linux-loongarch64-gnu@4.30.1': resolution: {integrity: sha512-fARcF5g296snX0oLGkVxPmysetwUk2zmHcca+e9ObOovBR++9ZPOhqFUM61UUZ2EYpXVPN1redgqVoBB34nTpQ==} cpu: [loong64] os: [linux] - libc: [glibc] '@rollup/rollup-linux-powerpc64le-gnu@4.30.1': resolution: {integrity: sha512-GLrZraoO3wVT4uFXh67ElpwQY0DIygxdv0BNW9Hkm3X34wu+BkqrDrkcsIapAY+N2ATEbvak0XQ9gxZtCIA5Rw==} cpu: [ppc64] os: [linux] - libc: [glibc] '@rollup/rollup-linux-riscv64-gnu@4.30.1': resolution: {integrity: sha512-0WKLaAUUHKBtll0wvOmh6yh3S0wSU9+yas923JIChfxOaaBarmb/lBKPF0w/+jTVozFnOXJeRGZ8NvOxvk/jcw==} cpu: [riscv64] os: [linux] - libc: [glibc] '@rollup/rollup-linux-s390x-gnu@4.30.1': resolution: {integrity: sha512-GWFs97Ruxo5Bt+cvVTQkOJ6TIx0xJDD/bMAOXWJg8TCSTEK8RnFeOeiFTxKniTc4vMIaWvCplMAFBt9miGxgkA==} cpu: [s390x] os: [linux] - libc: [glibc] '@rollup/rollup-linux-x64-gnu@4.30.1': resolution: {integrity: sha512-UtgGb7QGgXDIO+tqqJ5oZRGHsDLO8SlpE4MhqpY9Llpzi5rJMvrK6ZGhsRCST2abZdBqIBeXW6WPD5fGK5SDwg==} cpu: [x64] os: [linux] - libc: [glibc] '@rollup/rollup-linux-x64-musl@4.30.1': resolution: {integrity: sha512-V9U8Ey2UqmQsBT+xTOeMzPzwDzyXmnAoO4edZhL7INkwQcaW1Ckv3WJX3qrrp/VHaDkEWIBWhRwP47r8cdrOow==} cpu: [x64] os: [linux] - libc: [musl] '@rollup/rollup-win32-arm64-msvc@4.30.1': resolution: {integrity: sha512-WabtHWiPaFF47W3PkHnjbmWawnX/aE57K47ZDT1BXTS5GgrBUEpvOzq0FI0V/UYzQJgdb8XlhVNH8/fwV8xDjw==} @@ -2424,9 +2424,6 @@ packages: '@types/markdown-it-emoji@3.0.1': resolution: {integrity: sha512-cz1j8R35XivBqq9mwnsrP2fsz2yicLhB8+PDtuVkKOExwEdsVBNI+ROL3sbhtR5occRZ66vT0QnwFZCqdjf3pA==} - '@types/markdown-it@12.2.3': - resolution: {integrity: sha512-GKMHFfv3458yYy+v/N8gjufHO6MSZKCOXpZc5GXIWWy8uldwfmPn98vp81gZ5f9SVw8YYBctgfJ22a2d7AOMeQ==} - '@types/markdown-it@13.0.9': resolution: {integrity: sha512-1XPwR0+MgXLWfTn9gCsZ55AHOKW1WN+P9vr0PaQh5aerR9LLQXUbjfEAFhjmEmyoYFWAyuN2Mqkn40MZ4ukjBw==} @@ -4097,10 +4094,6 @@ packages: entities@2.2.0: resolution: {integrity: sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==} - entities@3.0.1: - resolution: {integrity: sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==} - engines: {node: '>=0.12'} - entities@4.5.0: resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} engines: {node: '>=0.12'} @@ -5577,9 +5570,6 @@ packages: linkify-it@3.0.3: resolution: {integrity: sha512-ynTsyrFSdE5oZ/O9GEf00kPngmOfVwazR5GKDq6EYfhlpFug3J2zybX56a2PRRpc9P+FuSoGNAwjlbDs9jJBPQ==} - linkify-it@4.0.1: - resolution: {integrity: sha512-C7bfi1UZmoj8+PQx22XyeXCuBlokoyWQL5pWSP+EI6nzRylyThouddufc2c1NDIcP9k5agmN9fLpA7VNJfIiqw==} - linkify-it@5.0.0: resolution: {integrity: sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==} @@ -5787,10 +5777,6 @@ packages: resolution: {integrity: sha512-TchMembfxfNVpHkbtriWltGWc+m3xszaRD0CZup7GFFhzIgQqxIfn3eGj1yZpfuflzPvfkt611B2Q/Bsk1YnGg==} hasBin: true - markdown-it@13.0.2: - resolution: {integrity: sha512-FtwnEuuK+2yVU7goGn/MJ0WBZMM9ZPgU9spqlFs7/A/pDIUNSOQZhUgOqYCficIuR2QaFnrt8LHqBWsbTAoI5w==} - hasBin: true - markdown-it@14.1.0: resolution: {integrity: sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==} hasBin: true @@ -10353,13 +10339,14 @@ snapshots: markdown-it: 14.1.0 mathjax-full: 3.2.2 - '@mdit/plugin-mathjax@0.4.8': + '@mdit/plugin-mathjax@0.15.0(markdown-it@14.1.0)': dependencies: - '@mdit/plugin-tex': 0.4.8 - '@types/markdown-it': 12.2.3 - markdown-it: 13.0.2 + '@mdit/plugin-tex': 0.15.0(markdown-it@14.1.0) + '@types/markdown-it': 14.1.2 mathjax-full: 3.2.2 upath: 2.0.1 + optionalDependencies: + markdown-it: 14.1.0 '@mdit/plugin-plantuml@0.14.0(markdown-it@14.1.0)': dependencies: @@ -10425,10 +10412,11 @@ snapshots: optionalDependencies: markdown-it: 14.1.0 - '@mdit/plugin-tex@0.4.8': + '@mdit/plugin-tex@0.15.0(markdown-it@14.1.0)': dependencies: - '@types/markdown-it': 12.2.3 - markdown-it: 13.0.2 + '@types/markdown-it': 14.1.2 + optionalDependencies: + markdown-it: 14.1.0 '@mdit/plugin-tex@0.8.0(markdown-it@14.1.0)': dependencies: @@ -10794,11 +10782,6 @@ snapshots: dependencies: '@types/markdown-it': 14.1.2 - '@types/markdown-it@12.2.3': - dependencies: - '@types/linkify-it': 5.0.0 - '@types/mdurl': 2.0.0 - '@types/markdown-it@13.0.9': dependencies: '@types/linkify-it': 3.0.5 @@ -12897,8 +12880,6 @@ snapshots: entities@2.2.0: {} - entities@3.0.1: {} - entities@4.5.0: {} env-paths@2.2.1: {} @@ -14670,10 +14651,6 @@ snapshots: dependencies: uc.micro: 1.0.6 - linkify-it@4.0.1: - dependencies: - uc.micro: 1.0.6 - linkify-it@5.0.0: dependencies: uc.micro: 2.1.0 @@ -14883,14 +14860,6 @@ snapshots: mdurl: 1.0.1 uc.micro: 1.0.6 - markdown-it@13.0.2: - dependencies: - argparse: 2.0.1 - entities: 3.0.1 - linkify-it: 4.0.1 - mdurl: 1.0.1 - uc.micro: 1.0.6 - markdown-it@14.1.0: dependencies: argparse: 2.0.1