Skip to content

Commit

Permalink
chore: bump uppy related packages version (#5128)
Browse files Browse the repository at this point in the history
#### What type of PR is this?

/area console
/kind improvement
/milestone 2.12.x

#### What this PR does / why we need it:

升级 Uppy 相关的依赖。

https://github.com/transloadit/uppy/releases/tag/uppy%403.21.0

#### Special notes for your reviewer:

测试附件上传组件功能是否正常即可。

#### Does this PR introduce a user-facing change?

```release-note
升级 Uppy 相关的依赖。

```
  • Loading branch information
ruibaby authored Dec 29, 2023
1 parent 44cb311 commit 9ef13fa
Show file tree
Hide file tree
Showing 4 changed files with 127 additions and 100 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const onUploaded = () => {
activeTabId.value = "installed";
};
const onError = (file: UppyFile<unknown>, response: ErrorResponse) => {
const onError = (file: UppyFile, response: ErrorResponse) => {
const body = response.body as ThemeInstallationErrorResponse;
if (body.type === THEME_ALREADY_EXISTS_TYPE) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const onUploaded = async (response: SuccessResponse) => {
handleShowActiveModalAfterInstall(response.body as Plugin);
};
const onError = (file: UppyFile<unknown>, response: ErrorResponse) => {
const onError = (file: UppyFile, response: ErrorResponse) => {
const body = response.body as PluginInstallationErrorResponse;
if (body.type === PLUGIN_ALREADY_EXISTS_TYPE) {
Expand Down
16 changes: 8 additions & 8 deletions console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@
"@halo-dev/richtext-editor": "workspace:*",
"@tanstack/vue-query": "^4.29.1",
"@tiptap/extension-character-count": "^2.0.4",
"@uppy/core": "^3.4.0",
"@uppy/dashboard": "^3.5.1",
"@uppy/core": "^3.8.0",
"@uppy/dashboard": "^3.7.1",
"@uppy/drag-drop": "^3.0.3",
"@uppy/file-input": "^3.0.3",
"@uppy/locales": "^3.3.0",
"@uppy/progress-bar": "^3.0.3",
"@uppy/status-bar": "^3.2.4",
"@uppy/vue": "^1.0.2",
"@uppy/xhr-upload": "^3.3.2",
"@uppy/file-input": "^3.0.4",
"@uppy/locales": "^3.5.0",
"@uppy/progress-bar": "^3.0.4",
"@uppy/status-bar": "^3.2.5",
"@uppy/vue": "^1.1.0",
"@uppy/xhr-upload": "^3.6.0",
"@vueuse/components": "^10.3.0",
"@vueuse/core": "^10.3.0",
"@vueuse/router": "^10.3.0",
Expand Down
207 changes: 117 additions & 90 deletions console/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9ef13fa

Please sign in to comment.