mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-03 12:20:59 -05:00
feat: raise katex limit to 512, upgrade dependencies
This commit is contained in:
parent
3f1c2be709
commit
5363ff2572
4 changed files with 11 additions and 11 deletions
|
@ -44,7 +44,7 @@
|
|||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@revoltchat/rehype-katex": "^6.0.3",
|
||||
"@revoltchat/rehype-katex": "6.0.3-patch.1",
|
||||
"fs-extra": "^10.0.0",
|
||||
"klaw": "^3.0.0",
|
||||
"lottie-react": "^2.4.0",
|
||||
|
|
|
@ -148,7 +148,7 @@ const render = unified()
|
|||
.use(rehypeKatex, {
|
||||
maxSize: 10,
|
||||
maxExpand: 0,
|
||||
maxLength: 128,
|
||||
maxLength: 512,
|
||||
trust: false,
|
||||
strict: false,
|
||||
output: "html",
|
||||
|
|
|
@ -174,8 +174,8 @@ export default function ModifyAccount({
|
|||
<div style={{ marginTop: "8px" }}>
|
||||
<Tip palette="warning">
|
||||
Changing your username may change your number tag.
|
||||
You can freely change the case of your username. You
|
||||
may change your number tag up to once a day.
|
||||
You can freely change the case of your username.
|
||||
Your number tag may change at most once a day.
|
||||
</Tip>
|
||||
</div>
|
||||
)}
|
||||
|
|
14
yarn.lock
14
yarn.lock
|
@ -2299,17 +2299,17 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@revoltchat/rehype-katex@npm:^6.0.3":
|
||||
version: 6.0.3
|
||||
resolution: "@revoltchat/rehype-katex@npm:6.0.3"
|
||||
"@revoltchat/rehype-katex@npm:6.0.3-patch.1":
|
||||
version: 6.0.3-patch.1
|
||||
resolution: "@revoltchat/rehype-katex@npm:6.0.3-patch.1"
|
||||
dependencies:
|
||||
"@types/hast": ^2.0.0
|
||||
"@types/katex": ^0.14.0
|
||||
hast-util-from-html-isomorphic: ^1.0.0
|
||||
hast-util-to-text: ^3.1.0
|
||||
katex: ^0.16.0
|
||||
katex: ^0.16.7
|
||||
unist-util-visit: ^4.0.0
|
||||
checksum: b655a6f5ddaf107ef030aa0ba8bf5eef745e44316a5cb44aa137ea5e2e3f6c7b68470ff6645d224f5cd47982d729a6726e2a595201c51fdb44e2dbc9acd2b8e2
|
||||
checksum: 1b7e57ddafa300e96396a5f5d64dad947c201b514562b1d581ac1a683252bc074fcb620fb271c136dd8b84c069dad23cd98ef0b01585be426bb2ce3f5dde004f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
@ -3709,7 +3709,7 @@ __metadata:
|
|||
"@hcaptcha/react-hcaptcha": ^1.4.4
|
||||
"@insertish/vite-plugin-babel-macros": ^1.0.5
|
||||
"@preact/preset-vite": ^2.0.0
|
||||
"@revoltchat/rehype-katex": ^6.0.3
|
||||
"@revoltchat/rehype-katex": 6.0.3-patch.1
|
||||
"@revoltchat/ui": ^1.0.77
|
||||
"@rollup/plugin-replace": ^2.4.2
|
||||
"@styled-icons/boxicons-logos": ^10.38.0
|
||||
|
@ -6069,7 +6069,7 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"katex@npm:^0.16.0":
|
||||
"katex@npm:^0.16.7":
|
||||
version: 0.16.7
|
||||
resolution: "katex@npm:0.16.7"
|
||||
dependencies:
|
||||
|
|
Loading…
Reference in a new issue