chore: upgrade tsconfig jsxImportSource and fix type check #6727
pull-request.yml
on: pull_request
check
5s
lint
1m 40s
test
2m 9s
build_vue-next
3m 47s
build-chat
1m 3s
Annotations
11 errors and 2 warnings
lint
Process completed with exit code 1.
|
Unhandled error:
packages/components/upload/hooks/useUpload.ts#L205
TypeError: Cannot set properties of undefined (setting 'value')
❯ onFileChange ../../components/upload/hooks/useUpload.ts:205:20
❯ onNormalFileChange ../../components/upload/hooks/useUpload.ts:210:5
❯ callWithErrorHandling ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18
❯ Object.callWithAsyncErrorHandling ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:164:17
❯ HTMLInputElement.invoker ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:598:17
❯ HTMLInputElement.callTheUserObjectsOperation ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30
❯ innerInvokeEventListeners ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:340:25
❯ invokeEventListeners ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:276:3
❯ HTMLInputElementImpl._dispatch ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:223:9
❯ HTMLInputElementImpl.dispatchEvent ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17
This error originated in "../../components/upload/__tests__/upload.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "props.formatRequest: upload request data can be changed through formatRequest". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
packages/components/upload/hooks/useUpload.ts#L205
TypeError: Cannot set properties of undefined (setting 'value')
❯ onFileChange ../../components/upload/hooks/useUpload.ts:205:20
❯ onNormalFileChange ../../components/upload/hooks/useUpload.ts:210:5
❯ callWithErrorHandling ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18
❯ Object.callWithAsyncErrorHandling ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:164:17
❯ HTMLInputElement.invoker ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:598:17
❯ HTMLInputElement.callTheUserObjectsOperation ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30
❯ innerInvokeEventListeners ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:340:25
❯ invokeEventListeners ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:276:3
❯ HTMLInputElementImpl._dispatch ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:223:9
❯ HTMLInputElementImpl.dispatchEvent ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17
This error originated in "../../components/upload/__tests__/upload.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "props.format works fine". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
packages/components/upload/hooks/useUpload.ts#L205
TypeError: Cannot set properties of undefined (setting 'value')
❯ onFileChange ../../components/upload/hooks/useUpload.ts:205:20
❯ onNormalFileChange ../../components/upload/hooks/useUpload.ts:210:5
❯ callWithErrorHandling ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18
❯ Object.callWithAsyncErrorHandling ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:164:17
❯ HTMLInputElement.invoker ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:598:17
❯ HTMLInputElement.callTheUserObjectsOperation ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30
❯ innerInvokeEventListeners ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:340:25
❯ invokeEventListeners ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:276:3
❯ HTMLInputElementImpl._dispatch ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:223:9
❯ HTMLInputElementImpl.dispatchEvent ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17
This error originated in "../../components/upload/__tests__/upload.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "props.data: upload request can send extra data". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
packages/components/upload/hooks/useUpload.ts#L205
TypeError: Cannot set properties of undefined (setting 'value')
❯ onFileChange ../../components/upload/hooks/useUpload.ts:205:20
❯ onNormalFileChange ../../components/upload/hooks/useUpload.ts:210:5
❯ callWithErrorHandling ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18
❯ Object.callWithAsyncErrorHandling ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:164:17
❯ HTMLInputElement.invoker ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:598:17
❯ HTMLInputElement.callTheUserObjectsOperation ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30
❯ innerInvokeEventListeners ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:340:25
❯ invokeEventListeners ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:276:3
❯ HTMLInputElementImpl._dispatch ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:223:9
❯ HTMLInputElementImpl.dispatchEvent ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17
This error originated in "../../components/upload/__tests__/upload.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "props.beforeUpload: beforeUpload can skip some of files to upload". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
packages/components/upload/hooks/useUpload.ts#L205
TypeError: Cannot set properties of undefined (setting 'value')
❯ onFileChange ../../components/upload/hooks/useUpload.ts:205:20
❯ onNormalFileChange ../../components/upload/hooks/useUpload.ts:210:5
❯ callWithErrorHandling ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18
❯ Object.callWithAsyncErrorHandling ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:164:17
❯ HTMLInputElement.invoker ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:598:17
❯ HTMLInputElement.callTheUserObjectsOperation ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30
❯ innerInvokeEventListeners ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:340:25
❯ invokeEventListeners ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:276:3
❯ HTMLInputElementImpl._dispatch ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:223:9
❯ HTMLInputElementImpl.dispatchEvent ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17
This error originated in "../../components/upload/__tests__/upload.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "props.beforeUpload: beforeUpload can skip all files to upload, just like beforeAllFilesUpload". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
packages/components/upload/hooks/useUpload.ts#L205
TypeError: Cannot set properties of undefined (setting 'value')
❯ onFileChange ../../components/upload/hooks/useUpload.ts:205:20
❯ onNormalFileChange ../../components/upload/hooks/useUpload.ts:210:5
❯ callWithErrorHandling ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18
❯ Object.callWithAsyncErrorHandling ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:164:17
❯ HTMLInputElement.invoker ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:598:17
❯ HTMLInputElement.callTheUserObjectsOperation ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30
❯ innerInvokeEventListeners ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:340:25
❯ invokeEventListeners ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:276:3
❯ HTMLInputElementImpl._dispatch ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:223:9
❯ HTMLInputElementImpl.dispatchEvent ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17
This error originated in "../../components/upload/__tests__/upload.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "props.beforeAllFilesUpload: beforeAllFilesUpload can stop uploading". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
packages/components/upload/hooks/useUpload.ts#L205
TypeError: Cannot set properties of undefined (setting 'value')
❯ onFileChange ../../components/upload/hooks/useUpload.ts:205:20
❯ onNormalFileChange ../../components/upload/hooks/useUpload.ts:210:5
❯ callWithErrorHandling ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18
❯ Object.callWithAsyncErrorHandling ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:164:17
❯ HTMLInputElement.invoker ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:598:17
❯ HTMLInputElement.callTheUserObjectsOperation ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30
❯ innerInvokeEventListeners ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:340:25
❯ invokeEventListeners ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:276:3
❯ HTMLInputElementImpl._dispatch ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:223:9
❯ HTMLInputElementImpl.dispatchEvent ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17
This error originated in "../../components/upload/__tests__/upload.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "props.autoUpload: autoUpload is equal false". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
packages/components/upload/hooks/useUpload.ts#L205
TypeError: Cannot set properties of undefined (setting 'value')
❯ onFileChange ../../components/upload/hooks/useUpload.ts:205:20
❯ onNormalFileChange ../../components/upload/hooks/useUpload.ts:210:5
❯ callWithErrorHandling ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18
❯ Object.callWithAsyncErrorHandling ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:164:17
❯ HTMLInputElement.invoker ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:598:17
❯ HTMLInputElement.callTheUserObjectsOperation ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30
❯ innerInvokeEventListeners ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:340:25
❯ invokeEventListeners ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:276:3
❯ HTMLInputElementImpl._dispatch ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:223:9
❯ HTMLInputElementImpl.dispatchEvent ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17
This error originated in "../../components/upload/__tests__/upload.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "props.allowUploadDuplicateFile: allowUploadDuplicateFile is equal to true". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
packages/components/upload/hooks/useUpload.ts#L205
TypeError: Cannot set properties of undefined (setting 'value')
❯ onFileChange ../../components/upload/hooks/useUpload.ts:205:20
❯ onNormalFileChange ../../components/upload/hooks/useUpload.ts:210:5
❯ callWithErrorHandling ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18
❯ Object.callWithAsyncErrorHandling ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:164:17
❯ HTMLInputElement.invoker ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:598:17
❯ HTMLInputElement.callTheUserObjectsOperation ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30
❯ innerInvokeEventListeners ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:340:25
❯ invokeEventListeners ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:276:3
❯ HTMLInputElementImpl._dispatch ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:223:9
❯ HTMLInputElementImpl.dispatchEvent ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17
This error originated in "../../components/upload/__tests__/upload.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "props.allowUploadDuplicateFile: allowUploadDuplicateFile is equal to false". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
packages/components/upload/hooks/useUpload.ts#L205
TypeError: Cannot set properties of undefined (setting 'value')
❯ onFileChange ../../components/upload/hooks/useUpload.ts:205:20
❯ onNormalFileChange ../../components/upload/hooks/useUpload.ts:210:5
❯ callWithErrorHandling ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18
❯ Object.callWithAsyncErrorHandling ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:164:17
❯ HTMLInputElement.invoker ../../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:598:17
❯ HTMLInputElement.callTheUserObjectsOperation ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30
❯ innerInvokeEventListeners ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:340:25
❯ invokeEventListeners ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:276:3
❯ HTMLInputElementImpl._dispatch ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:223:9
❯ HTMLInputElementImpl.dispatchEvent ../../../node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17
This error originated in "../../components/upload/__tests__/upload.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "props.action works fine". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
lint:
packages/components/table/hooks/useFilter.tsx#L119
'onInnerFilterChange' is defined but never used. Allowed unused vars must match /^_/u
|
lint:
packages/components/image-viewer/image-viewer.tsx#L88
'onImgClick' is assigned a value but never used. Allowed unused vars must match /^_/u
|