Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

chore: Update package.json

robin941c2a0a473d
diff --git a/ui/package.json b/ui/package.json
index a4eb9951..a0510378 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -26,7 +26,6 @@
"dayjs": "^1.11.5",
"diff": "^5.1.0",
"i18next": "^21.9.0",
- "katex": "^0.16.2",
"lodash": "^4.17.21",
"marked": "^4.0.19",
"md5": "^2.3.0",
diff --git a/ui/pnpm-lock.yaml b/ui/pnpm-lock.yaml
index 6a6f4e9d..b18f2286 100644
--- a/ui/pnpm-lock.yaml
+++ b/ui/pnpm-lock.yaml
@@ -147,8 +147,6 @@ importers:
src/plugins/answer-chart:
specifiers:
- '@types/react': ^18.2.15
- '@types/react-dom': ^18.2.7
'@typescript-eslint/eslint-plugin': ^6.0.0
'@typescript-eslint/parser': ^6.0.0
'@vitejs/plugin-react-swc': ^3.3.2
@@ -156,21 +154,11 @@ importers:
eslint-plugin-react-hooks: ^4.6.0
eslint-plugin-react-refresh: ^0.4.3
mermaid: ^9.1.7
- react: ^18.2.0
- react-bootstrap: ^2.7.4
- react-dom: ^18.2.0
- react-i18next: ^11.18.3
typescript: ^5.0.2
vite: ^4.4.5
dependencies:
mermaid: 9.1.7
- react: 18.2.0
- react-bootstrap: 2.7.4_cccfvuyjnmee77bwg4wjyn6zre
- react-dom: [email protected]
- react-i18next: 11.18.6_fbyz2qehdhy5tmutg5l5e46zda
devDependencies:
- '@types/react': 18.2.22
- '@types/react-dom': 18.2.7
'@typescript-eslint/eslint-plugin': 6.7.2_ojtszseoihgstv5sdp7hbt6z6y
'@typescript-eslint/parser': 6.7.2_rngtr6f3b25lvetpihwplgecf4
'@vitejs/plugin-react-swc': [email protected]
@@ -182,8 +170,6 @@ importers:
src/plugins/answer-formula:
specifiers:
- '@types/react': ^18.2.15
- '@types/react-dom': ^18.2.7
'@typescript-eslint/eslint-plugin': ^6.0.0
'@typescript-eslint/parser': ^6.0.0
'@vitejs/plugin-react-swc': ^3.3.2
@@ -191,21 +177,12 @@ importers:
eslint-plugin-react-hooks: ^4.6.0
eslint-plugin-react-refresh: ^0.4.3
katex: ^0.16.2
- react: ^18.2.0
- react-bootstrap: ^2.7.4
- react-dom: ^18.2.0
- react-i18next: ^13.2.2
typescript: ^5.0.2
vite: ^4.4.5
+ vite-plugin-css-injected-by-js: ^3.3.0
dependencies:
katex: 0.16.2
- react: 18.2.0
- react-bootstrap: 2.7.4_cccfvuyjnmee77bwg4wjyn6zre
- react-dom: [email protected]
- react-i18next: 13.2.2_fbyz2qehdhy5tmutg5l5e46zda
devDependencies:
- '@types/react': 18.2.22
- '@types/react-dom': 18.2.7
'@typescript-eslint/eslint-plugin': 6.7.2_ojtszseoihgstv5sdp7hbt6z6y
'@typescript-eslint/parser': 6.7.2_rngtr6f3b25lvetpihwplgecf4
'@vitejs/plugin-react-swc': [email protected]
@@ -214,6 +191,7 @@ importers:
eslint-plugin-react-refresh: [email protected]
typescript: 5.2.2
vite: 4.4.9
+ vite-plugin-css-injected-by-js: [email protected]
packages:
@@ -3289,12 +3267,6 @@ packages:
'@types/react': 18.0.20
dev: true
- /@types/react-dom/18.2.7:
- resolution: {integrity: sha512-GRaAEriuT4zp9N4p1i8BDBYmEyfo+xQ3yHjJU4eiK5NDa1RmUZG+unZABUTK4/Ox/M+GaHwb6Ow8rUITrtjszA==}
- dependencies:
- '@types/react': 18.2.22
- dev: true
-
/@types/react-transition-group/4.4.6:
resolution: {integrity: sha512-VnCdSxfcm08KjsJVQcfBmhEQAPnLB8G08hAxn39azX1qYBQ/5RVQuoHuKIcfKOdncuaUvEpFKFzEvbtIMsfVew==}
dependencies:
@@ -3314,6 +3286,7 @@ packages:
'@types/prop-types': 15.7.5
'@types/scheduler': 0.16.2
csstype: 3.1.1
+ dev: false
/@types/resolve/1.17.1:
resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==}
@@ -7372,12 +7345,6 @@ packages:
'@babel/runtime': 7.19.0
dev: false
- /i18next/23.5.1:
- resolution: {integrity: sha512-JelYzcaCoFDaa+Ysbfz2JsGAKkrHiMG6S61+HLBUEIPaF40WMwW9hCPymlQGrP+wWawKxKPuSuD71WZscCsWHg==}
- dependencies:
- '@babel/runtime': 7.22.5
- dev: false
-
/iconv-lite/0.4.24:
resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==}
engines: {node: '>=0.10.0'}
@@ -10151,33 +10118,6 @@ packages:
warning: 4.0.3
dev: false
- /react-bootstrap/2.7.4_cccfvuyjnmee77bwg4wjyn6zre:
- resolution: {integrity: sha512-EPKPwhfbxsKsNBhJBitJwqul9fvmlYWSft6jWE2EpqhEyjhqIqNihvQo2onE5XtS+QHOavUSNmA+8Lnv5YeAyg==}
- peerDependencies:
- '@types/react': '>=16.14.8'
- react: '>=16.14.0'
- react-dom: '>=16.14.0'
- peerDependenciesMeta:
- '@types/react':
- optional: true
- dependencies:
- '@babel/runtime': 7.22.5
- '@restart/hooks': [email protected]
- '@restart/ui': 1.6.6_biqbaboplfbrettd7655fr4n2y
- '@types/react': 18.2.22
- '@types/react-transition-group': 4.4.6
- classnames: 2.3.2
- dom-helpers: 5.2.1
- invariant: 2.2.4
- prop-types: 15.8.1
- prop-types-extra: [email protected]
- react: 18.2.0
- react-dom: [email protected]
- react-transition-group: 4.4.5_biqbaboplfbrettd7655fr4n2y
- uncontrollable: [email protected]
- warning: 4.0.3
- dev: false
-
/react-dev-utils/12.0.1_h33pxmj7ihkiaxhnzwyj3mdwbi:
resolution: {integrity: sha512-84Ivxmr17KjUupyqzFode6xKhjwuEJDROWKJy/BthkL7Wn6NJ8h4WE6k/exAv6ImS+0oZLRRW5j/aINMHyeGeQ==}
engines: {node: '>=14'}
@@ -10250,26 +10190,6 @@ packages:
shallowequal: 1.1.0
dev: false
- /react-i18next/11.18.6_fbyz2qehdhy5tmutg5l5e46zda:
- resolution: {integrity: sha512-yHb2F9BiT0lqoQDt8loZ5gWP331GwctHz9tYQ8A2EIEUu+CcEdjBLQWli1USG3RdWQt3W+jqQLg/d4rrQR96LA==}
- peerDependencies:
- i18next: '>= 19.0.0'
- react: '>= 16.8.0'
- react-dom: '*'
- react-native: '*'
- peerDependenciesMeta:
- react-dom:
- optional: true
- react-native:
- optional: true
- dependencies:
- '@babel/runtime': 7.19.0
- html-parse-stringify: 3.0.1
- i18next: 23.5.1
- react: 18.2.0
- react-dom: [email protected]
- dev: false
-
/react-i18next/11.18.6_ulhmqqxshznzmtuvahdi5nasbq:
resolution: {integrity: sha512-yHb2F9BiT0lqoQDt8loZ5gWP331GwctHz9tYQ8A2EIEUu+CcEdjBLQWli1USG3RdWQt3W+jqQLg/d4rrQR96LA==}
peerDependencies:
@@ -10290,26 +10210,6 @@ packages:
react-dom: [email protected]
dev: false
- /react-i18next/13.2.2_fbyz2qehdhy5tmutg5l5e46zda:
- resolution: {integrity: sha512-+nFUkbRByFwnrfDcYqvzBuaeZb+nACHx+fAWN/pZMddWOCJH5hoc21+Sa/N/Lqi6ne6/9wC/qRGOoQhJa6IkEQ==}
- peerDependencies:
- i18next: '>= 23.2.3'
- react: '>= 16.8.0'
- react-dom: '*'
- react-native: '*'
- peerDependenciesMeta:
- react-dom:
- optional: true
- react-native:
- optional: true
- dependencies:
- '@babel/runtime': 7.22.5
- html-parse-stringify: 3.0.1
- i18next: 23.5.1
- react: 18.2.0
- react-dom: [email protected]
- dev: false
-
/react-is/16.13.1:
resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==}
@@ -11923,6 +11823,14 @@ packages:
resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==}
engines: {node: '>= 0.8'}
+ /vite-plugin-css-injected-by-js/[email protected]:
+ resolution: {integrity: sha512-xG+jyHNCmUqi/TXp6q88wTJGeAOrNLSyUUTp4qEQ9QZLGcHWQQsCsSSKa59rPMQr8sOzfzmWDd8enGqfH/dBew==}
+ peerDependencies:
+ vite: '>2.0.0-0'
+ dependencies:
+ vite: 4.4.9
+ dev: true
+
/vite/4.4.9:
resolution: {integrity: sha512-2mbUn2LlUmNASWwSCNSJ/EG2HuSRTnVNaydp6vMCm5VIqJsjMfbIWtbH2kDuwUVW5mMUKKZvGPX/rqeqVvv1XA==}
engines: {node: ^14.18.0 || >=16.0.0}