diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index de17118..8257a2d 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -9,4 +9,4 @@ _Briefly describe what this PR aims to solve. Include background context that wi - [ ] Documentation Update - [ ] Refactoring - [ ] Performance Improvement -- [ ] Other (please describe): +- [ ] Other (please describe): \ No newline at end of file diff --git a/intergrations/chatgpt-on-wechat/plugins/__init__.py b/intergrations/chatgpt-on-wechat/plugins/__init__.py index 28032b8..f6ded86 100644 --- a/intergrations/chatgpt-on-wechat/plugins/__init__.py +++ b/intergrations/chatgpt-on-wechat/plugins/__init__.py @@ -1,8 +1,8 @@ from beartype.claw import beartype_this_package -beartype_this_package() - from .ragflow_chat import RAGFlowChat +beartype_this_package() + __all__ = [ "RAGFlowChat" ] diff --git a/web/package.json b/web/package.json index 919cd25..edc0f1b 100644 --- a/web/package.json +++ b/web/package.json @@ -65,6 +65,7 @@ "cmdk": "^1.0.4", "dayjs": "^1.11.10", "docx": "^9.3.0", + "dompurify": "^3.1.6", "eventsource-parser": "^1.1.2", "file-saver": "^2.0.5", "human-id": "^4.1.1", @@ -112,6 +113,7 @@ "devDependencies": { "@react-dev-inspector/umi4-plugin": "^2.0.1", "@redux-devtools/extension": "^3.3.0", + "@testing-library/jest-dom": "^6.4.5", "@testing-library/react": "^15.0.7", "@types/file-saver": "^2.0.7", "@types/jest": "^29.5.12", diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml index 8ee4a99..4b9439b 100644 --- a/web/pnpm-lock.yaml +++ b/web/pnpm-lock.yaml @@ -3334,10 +3334,6 @@ packages: aria-query@5.3.0: resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==} - aria-query@5.3.2: - resolution: {integrity: sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==} - engines: {node: '>= 0.4'} - arr-diff@4.0.0: resolution: {integrity: sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA==} engines: {node: '>=0.10.0'} @@ -12626,7 +12622,7 @@ snapshots: '@testing-library/jest-dom@6.6.3': dependencies: '@adobe/css-tools': 4.4.2 - aria-query: 5.3.2 + aria-query: 5.3.0 chalk: 3.0.0 css.escape: 1.5.1 dom-accessibility-api: 0.6.3 @@ -13794,8 +13790,6 @@ snapshots: dependencies: dequal: 2.0.3 - aria-query@5.3.2: {} - arr-diff@4.0.0: {} arr-flatten@1.1.0: {}