diff --git a/packages/create-vant-cli-app/package.json b/packages/create-vant-cli-app/package.json index 6e4f23ebd..dd50fe5c0 100644 --- a/packages/create-vant-cli-app/package.json +++ b/packages/create-vant-cli-app/package.json @@ -34,7 +34,7 @@ "@types/fs-extra": "^11.0.1", "release-it": "^15.4.1", "rimraf": "^4.0.4", - "typescript": "^4.8.2" + "typescript": "^5.0.2" }, "dependencies": { "consola": "^2.11.3", diff --git a/packages/vant-area-data/package.json b/packages/vant-area-data/package.json index 7a283465c..243b38a10 100644 --- a/packages/vant-area-data/package.json +++ b/packages/vant-area-data/package.json @@ -40,7 +40,7 @@ "esbuild": "^0.16.10", "release-it": "^15.4.1", "rimraf": "^4.0.4", - "typescript": "^4.8.2" + "typescript": "^5.0.2" }, "release-it": { "git": { diff --git a/packages/vant-cli/package.json b/packages/vant-cli/package.json index fcae82798..e25503f6e 100644 --- a/packages/vant-cli/package.json +++ b/packages/vant-cli/package.json @@ -85,7 +85,7 @@ "release-it": "^15.4.1", "terser": "^5.16.1", "transliteration": "^2.3.5", - "typescript": "^4.8.2", + "typescript": "^5.0.2", "vite": "^4.0.3", "vite-plugin-md": "^0.11.9", "vue-router": "^4.1.5" diff --git a/packages/vant-compat/package.json b/packages/vant-compat/package.json index f9377629c..4a4d85ace 100644 --- a/packages/vant-compat/package.json +++ b/packages/vant-compat/package.json @@ -42,7 +42,7 @@ "esbuild": "^0.16.10", "release-it": "^15.1.1", "rimraf": "^4.0.4", - "typescript": "^4.7.4" + "typescript": "^5.0.2" }, "release-it": { "git": { diff --git a/packages/vant-eslint-config/package.json b/packages/vant-eslint-config/package.json index fae01261f..9c9c9a4c9 100644 --- a/packages/vant-eslint-config/package.json +++ b/packages/vant-eslint-config/package.json @@ -31,7 +31,7 @@ "enhanced-resolve": "^5.12.0", "eslint": "^8.31.0", "jest": "^29.3.1", - "typescript": "^4.8.2" + "typescript": "^5.0.2" }, "peerDependencies": { "eslint": "^7.32.0 || ^8.2.0" diff --git a/packages/vant-popperjs/package.json b/packages/vant-popperjs/package.json index 9b9ece7c2..97c05dad0 100644 --- a/packages/vant-popperjs/package.json +++ b/packages/vant-popperjs/package.json @@ -41,7 +41,7 @@ "esbuild": "^0.16.10", "release-it": "^15.4.1", "rimraf": "^4.0.4", - "typescript": "^4.8.2" + "typescript": "^5.0.2" }, "release-it": { "git": { diff --git a/packages/vant-use/package.json b/packages/vant-use/package.json index 172211917..fb8a598bd 100644 --- a/packages/vant-use/package.json +++ b/packages/vant-use/package.json @@ -40,7 +40,7 @@ "esbuild": "^0.16.10", "release-it": "^15.4.1", "rimraf": "^4.0.4", - "typescript": "^4.8.2", + "typescript": "^5.0.2", "vue": "^3.2.47" }, "peerDependencies": { diff --git a/packages/vant/package.json b/packages/vant/package.json index 0fcd8a8f6..0e0fab725 100644 --- a/packages/vant/package.json +++ b/packages/vant/package.json @@ -59,7 +59,7 @@ "@vant/icons": "workspace:*", "@vue/runtime-core": "^3.2.47", "@vue/test-utils": "^2.0.2", - "typescript": "^4.8.2", + "typescript": "^5.0.2", "vue": "^3.2.47", "vue-router": "^4.1.5" }, diff --git a/packages/vant/src/area/utils.ts b/packages/vant/src/area/utils.ts index 0c00c65b7..2cac31841 100644 --- a/packages/vant/src/area/utils.ts +++ b/packages/vant/src/area/utils.ts @@ -42,8 +42,8 @@ export function formatDataForCascade({ county_list: county = {}, province_list: province = {}, } = areaList; - const showCity = columnsNum > 1; - const showCounty = columnsNum > 2; + const showCity = +columnsNum > 1; + const showCounty = +columnsNum > 2; const getProvinceChildren = () => { if (showCity) { diff --git a/packages/vant/src/back-top/BackTop.tsx b/packages/vant/src/back-top/BackTop.tsx index 959916dc1..571f7473d 100644 --- a/packages/vant/src/back-top/BackTop.tsx +++ b/packages/vant/src/back-top/BackTop.tsx @@ -78,7 +78,7 @@ export default defineComponent({ const scroll = () => { show.value = scrollParent.value - ? getScrollTop(scrollParent.value) >= props.offset + ? getScrollTop(scrollParent.value) >= +props.offset : false; }; diff --git a/packages/vant/src/badge/Badge.tsx b/packages/vant/src/badge/Badge.tsx index 0287e8649..0cfee3b87 100644 --- a/packages/vant/src/badge/Badge.tsx +++ b/packages/vant/src/badge/Badge.tsx @@ -63,7 +63,7 @@ export default defineComponent({ return slots.content(); } - if (isDef(max) && isNumeric(content!) && +content > max) { + if (isDef(max) && isNumeric(content!) && +content > +max) { return `${max}+`; } diff --git a/packages/vant/src/calendar/Calendar.tsx b/packages/vant/src/calendar/Calendar.tsx index e3347386f..5e0cbe32b 100644 --- a/packages/vant/src/calendar/Calendar.tsx +++ b/packages/vant/src/calendar/Calendar.tsx @@ -333,7 +333,7 @@ export default defineComponent({ const checkRange = (date: [Date, Date]) => { const { maxRange, rangePrompt, showRangePrompt } = props; - if (maxRange && calcDateNum(date) > maxRange) { + if (maxRange && calcDateNum(date) > +maxRange) { if (showRangePrompt) { showToast(rangePrompt || t('rangePrompt', maxRange)); } @@ -451,7 +451,7 @@ export default defineComponent({ if (selectedIndex !== -1) { const [unselectedDate] = dates.splice(selectedIndex, 1); emit('unselect', cloneDate(unselectedDate)); - } else if (props.maxRange && dates.length >= props.maxRange) { + } else if (props.maxRange && dates.length >= +props.maxRange) { showToast(props.rangePrompt || t('rangePrompt', props.maxRange)); } else { select([...dates, date]); diff --git a/packages/vant/src/checkbox/Checkbox.tsx b/packages/vant/src/checkbox/Checkbox.tsx index 18a68168c..197c1ca1a 100644 --- a/packages/vant/src/checkbox/Checkbox.tsx +++ b/packages/vant/src/checkbox/Checkbox.tsx @@ -38,7 +38,7 @@ export default defineComponent({ const value = modelValue.slice(); if (checked) { - const overlimit = max && value.length >= max; + const overlimit = max && value.length >= +max; if (!overlimit && !value.includes(name)) { value.push(name); diff --git a/packages/vant/src/field/Field.tsx b/packages/vant/src/field/Field.tsx index 7861a1907..04f43ad87 100644 --- a/packages/vant/src/field/Field.tsx +++ b/packages/vant/src/field/Field.tsx @@ -281,7 +281,7 @@ export default defineComponent({ // see: https://github.com/vant-ui/vant/issues/5033 const limitValueLength = (value: string) => { const { maxlength } = props; - if (isDef(maxlength) && getStringLength(value) > maxlength) { + if (isDef(maxlength) && getStringLength(value) > +maxlength) { const modelValue = getModelValue(); if (modelValue && getStringLength(modelValue) === +maxlength) { return modelValue; @@ -322,7 +322,7 @@ export default defineComponent({ const { formatter, maxlength } = props; value = formatter(value); // The length of the formatted value may exceed maxlength. - if (isDef(maxlength) && getStringLength(value) > maxlength) { + if (isDef(maxlength) && getStringLength(value) > +maxlength) { value = cutString(value, +maxlength); } if (inputRef.value && state.focused) { diff --git a/packages/vant/src/grid-item/GridItem.tsx b/packages/vant/src/grid-item/GridItem.tsx index c67762c21..59bb64083 100644 --- a/packages/vant/src/grid-item/GridItem.tsx +++ b/packages/vant/src/grid-item/GridItem.tsx @@ -67,7 +67,7 @@ export default defineComponent({ const gutterValue = addUnit(gutter); style.paddingRight = gutterValue; - if (index.value >= columnNum) { + if (index.value >= +columnNum) { style.marginTop = gutterValue; } } diff --git a/packages/vant/src/image-preview/ImagePreviewItem.tsx b/packages/vant/src/image-preview/ImagePreviewItem.tsx index d9b9e359f..b858a96c2 100644 --- a/packages/vant/src/image-preview/ImagePreviewItem.tsx +++ b/packages/vant/src/image-preview/ImagePreviewItem.tsx @@ -276,8 +276,9 @@ export default defineComponent({ resetScale(); } - if (state.scale > props.maxZoom) { - state.scale = +props.maxZoom; + const maxZoom = +props.maxZoom; + if (state.scale > maxZoom) { + state.scale = maxZoom; } } } diff --git a/packages/vant/src/list/List.tsx b/packages/vant/src/list/List.tsx index d81edc489..e566b6827 100644 --- a/packages/vant/src/list/List.tsx +++ b/packages/vant/src/list/List.tsx @@ -73,7 +73,8 @@ export default defineComponent({ return; } - const { offset, direction } = props; + const { direction } = props; + const offset = +props.offset; const scrollParentRect = useRect(scrollParent); if (!scrollParentRect.height || isHidden(root)) { diff --git a/packages/vant/src/number-keyboard/NumberKeyboard.tsx b/packages/vant/src/number-keyboard/NumberKeyboard.tsx index ac4ace85e..9bebb4b93 100644 --- a/packages/vant/src/number-keyboard/NumberKeyboard.tsx +++ b/packages/vant/src/number-keyboard/NumberKeyboard.tsx @@ -174,7 +174,7 @@ export default defineComponent({ emit('update:modelValue', value.slice(0, value.length - 1)); } else if (type === 'close') { onClose(); - } else if (value.length < props.maxlength) { + } else if (value.length < +props.maxlength) { emit('input', text); emit('update:modelValue', value + text); } diff --git a/packages/vant/src/password-input/PasswordInput.tsx b/packages/vant/src/password-input/PasswordInput.tsx index 9983dbc65..4065225a9 100644 --- a/packages/vant/src/password-input/PasswordInput.tsx +++ b/packages/vant/src/password-input/PasswordInput.tsx @@ -39,7 +39,8 @@ export default defineComponent({ const renderPoints = () => { const Points: JSX.Element[] = []; - const { mask, value, length, gutter, focused } = props; + const { mask, value, gutter, focused } = props; + const length = +props.length; for (let i = 0; i < length; i++) { const char = value[i]; diff --git a/packages/vant/src/progress/Progress.tsx b/packages/vant/src/progress/Progress.tsx index 6ced71ac1..d8ee23426 100644 --- a/packages/vant/src/progress/Progress.tsx +++ b/packages/vant/src/progress/Progress.tsx @@ -21,7 +21,7 @@ export const progressProps = { percentage: { type: numericProp, default: 0, - validator: (value: Numeric) => value >= 0 && value <= 100, + validator: (value: Numeric) => +value >= 0 && +value <= 100, }, }; diff --git a/packages/vant/src/stepper/Stepper.tsx b/packages/vant/src/stepper/Stepper.tsx index be1785876..1a5f0cd75 100644 --- a/packages/vant/src/stepper/Stepper.tsx +++ b/packages/vant/src/stepper/Stepper.tsx @@ -122,11 +122,11 @@ export default defineComponent({ const current = ref(getInitialValue()); const minusDisabled = computed( - () => props.disabled || props.disableMinus || current.value <= +props.min + () => props.disabled || props.disableMinus || +current.value <= +props.min ); const plusDisabled = computed( - () => props.disabled || props.disablePlus || current.value >= +props.max + () => props.disabled || props.disablePlus || +current.value >= +props.max ); const inputStyle = computed(() => ({ diff --git a/packages/vant/src/swipe/Swipe.tsx b/packages/vant/src/swipe/Swipe.tsx index d67d96cfc..2036cb3c5 100644 --- a/packages/vant/src/swipe/Swipe.tsx +++ b/packages/vant/src/swipe/Swipe.tsx @@ -246,7 +246,7 @@ export default defineComponent({ const autoplay = () => { stopAutoplay(); - if (props.autoplay > 0 && count.value > 1) { + if (+props.autoplay > 0 && count.value > 1) { autoplayTimer = setTimeout(() => { next(); autoplay(); diff --git a/packages/vant/src/tabs/Tabs.tsx b/packages/vant/src/tabs/Tabs.tsx index f99891f9c..3830ee819 100644 --- a/packages/vant/src/tabs/Tabs.tsx +++ b/packages/vant/src/tabs/Tabs.tsx @@ -120,7 +120,7 @@ export default defineComponent({ // whether the nav is scrollable const scrollable = computed( () => - children.length > props.swipeThreshold || + children.length > +props.swipeThreshold || !props.ellipsis || props.shrink ); diff --git a/packages/vant/src/tree-select/TreeSelect.tsx b/packages/vant/src/tree-select/TreeSelect.tsx index 3bff66ecd..3eaaf5f19 100644 --- a/packages/vant/src/tree-select/TreeSelect.tsx +++ b/packages/vant/src/tree-select/TreeSelect.tsx @@ -73,7 +73,7 @@ export default defineComponent({ if (index !== -1) { activeId.splice(index, 1); - } else if (activeId.length < props.max) { + } else if (activeId.length < +props.max) { activeId.push(item.id); } } else { diff --git a/packages/vant/src/uploader/Uploader.tsx b/packages/vant/src/uploader/Uploader.tsx index 7d01302d8..0d7bd2637 100644 --- a/packages/vant/src/uploader/Uploader.tsx +++ b/packages/vant/src/uploader/Uploader.tsx @@ -301,7 +301,7 @@ export default defineComponent({ const onClickUpload = (event: MouseEvent) => emit('clickUpload', event); const renderUpload = () => { - if (props.modelValue.length >= props.maxCount) { + if (props.modelValue.length >= +props.maxCount) { return; } diff --git a/packages/vant/src/uploader/utils.ts b/packages/vant/src/uploader/utils.ts index 8057b9b16..acbaf5b6d 100644 --- a/packages/vant/src/uploader/utils.ts +++ b/packages/vant/src/uploader/utils.ts @@ -39,7 +39,7 @@ export function isOversize( if (isFunction(maxSize)) { return maxSize(item.file); } - return item.file.size > maxSize; + return item.file.size > +maxSize; } return false; }); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3eb3fc0a1..92937b5ac 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,7 +28,7 @@ importers: picocolors: ^1.0.0 release-it: ^15.4.1 rimraf: ^4.0.4 - typescript: ^4.8.2 + typescript: ^5.0.2 dependencies: consola: 2.15.3 enquirer: 2.3.6 @@ -39,7 +39,7 @@ importers: '@types/fs-extra': 11.0.1 release-it: 15.5.0 rimraf: 4.0.4 - typescript: 4.9.3 + typescript: 5.0.2 packages/vant: specifiers: @@ -53,7 +53,7 @@ importers: '@vant/use': ^1.5.1 '@vue/runtime-core': ^3.2.47 '@vue/test-utils': ^2.0.2 - typescript: ^4.8.2 + typescript: ^5.0.2 vue: ^3.2.47 vue-router: ^4.1.5 dependencies: @@ -68,7 +68,7 @@ importers: '@vant/icons': link:../vant-icons '@vue/runtime-core': 3.2.47 '@vue/test-utils': 2.2.3_vue@3.2.47 - typescript: 4.9.3 + typescript: 5.0.2 vue: 3.2.47 vue-router: 4.1.6_vue@3.2.47 @@ -77,12 +77,12 @@ importers: esbuild: ^0.16.10 release-it: ^15.4.1 rimraf: ^4.0.4 - typescript: ^4.8.2 + typescript: ^5.0.2 devDependencies: esbuild: 0.16.10 release-it: 15.5.0 rimraf: 4.0.4 - typescript: 4.9.3 + typescript: 5.0.2 packages/vant-cli: specifiers: @@ -129,7 +129,7 @@ importers: rimraf: ^4.0.4 terser: ^5.16.1 transliteration: ^2.3.5 - typescript: ^4.8.2 + typescript: ^5.0.2 vite: ^4.0.3 vite-plugin-md: ^0.11.9 vue: ^3.2.47 @@ -172,7 +172,7 @@ importers: release-it: 15.5.0 terser: 5.16.1 transliteration: 2.3.5 - typescript: 4.9.3 + typescript: 5.0.2 vite: 4.0.3_less@4.1.3+terser@5.16.1 vite-plugin-md: 0.11.9_vite@4.0.3 vue-router: 4.1.6_vue@3.2.47 @@ -191,7 +191,7 @@ importers: esbuild: ^0.16.10 release-it: ^15.1.1 rimraf: ^4.0.4 - typescript: ^4.7.4 + typescript: ^5.0.2 vant: workspace:* vue: ^3.2.47 devDependencies: @@ -199,7 +199,7 @@ importers: esbuild: 0.16.10 release-it: 15.5.0 rimraf: 4.0.4 - typescript: 4.9.3 + typescript: 5.0.2 vant: link:../vant vue: 3.2.47 @@ -214,10 +214,10 @@ importers: eslint-plugin-import: ^2.26.0 eslint-plugin-vue: ^9.8.0 jest: ^29.3.1 - typescript: ^4.8.2 + typescript: ^5.0.2 dependencies: - '@typescript-eslint/eslint-plugin': 5.48.0_wxmz6cyorqfuzhhglktlvr5lve - '@typescript-eslint/parser': 5.48.0_p4cjf2r47dnfiqufepc5hp43sq + '@typescript-eslint/eslint-plugin': 5.48.0_ymoixgccul774h5skldb2twsuu + '@typescript-eslint/parser': 5.48.0_kvhumnresjtcflasshbz76q27a eslint-config-airbnb-base: 15.0.0_ol7jqilc3wemtdbq3nzhywgxq4 eslint-config-prettier: 8.6.0_eslint@8.31.0 eslint-plugin-import: 2.26.0_m2kn7xiag5lymyarkgri27ztxm @@ -226,7 +226,7 @@ importers: enhanced-resolve: 5.12.0 eslint: 8.31.0 jest: 29.3.1 - typescript: 4.9.3 + typescript: 5.0.2 packages/vant-icons: specifiers: @@ -240,13 +240,13 @@ importers: esbuild: ^0.16.10 release-it: ^15.4.1 rimraf: ^4.0.4 - typescript: ^4.8.2 + typescript: ^5.0.2 devDependencies: '@popperjs/core': 2.11.6 esbuild: 0.16.10 release-it: 15.5.0 rimraf: 4.0.4 - typescript: 4.9.3 + typescript: 5.0.2 packages/vant-touch-emulator: specifiers: {} @@ -256,13 +256,13 @@ importers: esbuild: ^0.16.10 release-it: ^15.4.1 rimraf: ^4.0.4 - typescript: ^4.8.2 + typescript: ^5.0.2 vue: ^3.2.47 devDependencies: esbuild: 0.16.10 release-it: 15.5.0 rimraf: 4.0.4 - typescript: 4.9.3 + typescript: 5.0.2 vue: 3.2.47 packages: @@ -1446,7 +1446,7 @@ packages: dependencies: '@types/yargs-parser': 21.0.0 - /@typescript-eslint/eslint-plugin/5.48.0_wxmz6cyorqfuzhhglktlvr5lve: + /@typescript-eslint/eslint-plugin/5.48.0_ymoixgccul774h5skldb2twsuu: resolution: {integrity: sha512-SVLafp0NXpoJY7ut6VFVUU9I+YeFsDzeQwtK0WZ+xbRN3mtxJ08je+6Oi2N89qDn087COdO0u3blKZNv9VetRQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1457,23 +1457,23 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/parser': 5.48.0_p4cjf2r47dnfiqufepc5hp43sq + '@typescript-eslint/parser': 5.48.0_kvhumnresjtcflasshbz76q27a '@typescript-eslint/scope-manager': 5.48.0 - '@typescript-eslint/type-utils': 5.48.0_p4cjf2r47dnfiqufepc5hp43sq - '@typescript-eslint/utils': 5.48.0_p4cjf2r47dnfiqufepc5hp43sq + '@typescript-eslint/type-utils': 5.48.0_kvhumnresjtcflasshbz76q27a + '@typescript-eslint/utils': 5.48.0_kvhumnresjtcflasshbz76q27a debug: 4.3.4 eslint: 8.31.0 ignore: 5.2.0 natural-compare-lite: 1.4.0 regexpp: 3.2.0 semver: 7.3.8 - tsutils: 3.21.0_typescript@4.9.3 - typescript: 4.9.3 + tsutils: 3.21.0_typescript@5.0.2 + typescript: 5.0.2 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/parser/5.48.0_p4cjf2r47dnfiqufepc5hp43sq: + /@typescript-eslint/parser/5.48.0_kvhumnresjtcflasshbz76q27a: resolution: {integrity: sha512-1mxNA8qfgxX8kBvRDIHEzrRGrKHQfQlbW6iHyfHYS0Q4X1af+S6mkLNtgCOsGVl8+/LUPrqdHMssAemkrQ01qg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1485,10 +1485,10 @@ packages: dependencies: '@typescript-eslint/scope-manager': 5.48.0 '@typescript-eslint/types': 5.48.0 - '@typescript-eslint/typescript-estree': 5.48.0_typescript@4.9.3 + '@typescript-eslint/typescript-estree': 5.48.0_typescript@5.0.2 debug: 4.3.4 eslint: 8.31.0 - typescript: 4.9.3 + typescript: 5.0.2 transitivePeerDependencies: - supports-color dev: false @@ -1501,7 +1501,7 @@ packages: '@typescript-eslint/visitor-keys': 5.48.0 dev: false - /@typescript-eslint/type-utils/5.48.0_p4cjf2r47dnfiqufepc5hp43sq: + /@typescript-eslint/type-utils/5.48.0_kvhumnresjtcflasshbz76q27a: resolution: {integrity: sha512-vbtPO5sJyFjtHkGlGK4Sthmta0Bbls4Onv0bEqOGm7hP9h8UpRsHJwsrCiWtCUndTRNQO/qe6Ijz9rnT/DB+7g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1511,12 +1511,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 5.48.0_typescript@4.9.3 - '@typescript-eslint/utils': 5.48.0_p4cjf2r47dnfiqufepc5hp43sq + '@typescript-eslint/typescript-estree': 5.48.0_typescript@5.0.2 + '@typescript-eslint/utils': 5.48.0_kvhumnresjtcflasshbz76q27a debug: 4.3.4 eslint: 8.31.0 - tsutils: 3.21.0_typescript@4.9.3 - typescript: 4.9.3 + tsutils: 3.21.0_typescript@5.0.2 + typescript: 5.0.2 transitivePeerDependencies: - supports-color dev: false @@ -1526,7 +1526,7 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: false - /@typescript-eslint/typescript-estree/5.48.0_typescript@4.9.3: + /@typescript-eslint/typescript-estree/5.48.0_typescript@5.0.2: resolution: {integrity: sha512-7pjd94vvIjI1zTz6aq/5wwE/YrfIyEPLtGJmRfyNR9NYIW+rOvzzUv3Cmq2hRKpvt6e9vpvPUQ7puzX7VSmsEw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1541,13 +1541,13 @@ packages: globby: 11.1.0 is-glob: 4.0.3 semver: 7.3.8 - tsutils: 3.21.0_typescript@4.9.3 - typescript: 4.9.3 + tsutils: 3.21.0_typescript@5.0.2 + typescript: 5.0.2 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/utils/5.48.0_p4cjf2r47dnfiqufepc5hp43sq: + /@typescript-eslint/utils/5.48.0_kvhumnresjtcflasshbz76q27a: resolution: {integrity: sha512-x2jrMcPaMfsHRRIkL+x96++xdzvrdBCnYRd5QiW5Wgo1OB4kDYPbC1XjWP/TNqlfK93K/lUL92erq5zPLgFScQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1557,7 +1557,7 @@ packages: '@types/semver': 7.3.13 '@typescript-eslint/scope-manager': 5.48.0 '@typescript-eslint/types': 5.48.0 - '@typescript-eslint/typescript-estree': 5.48.0_typescript@4.9.3 + '@typescript-eslint/typescript-estree': 5.48.0_typescript@5.0.2 eslint: 8.31.0 eslint-scope: 5.1.1 eslint-utils: 3.0.0_eslint@8.31.0 @@ -2918,7 +2918,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 5.48.0_p4cjf2r47dnfiqufepc5hp43sq + '@typescript-eslint/parser': 5.48.0_kvhumnresjtcflasshbz76q27a debug: 3.2.7 eslint: 8.31.0 eslint-import-resolver-node: 0.3.6 @@ -2936,7 +2936,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 5.48.0_p4cjf2r47dnfiqufepc5hp43sq + '@typescript-eslint/parser': 5.48.0_kvhumnresjtcflasshbz76q27a array-includes: 3.1.6 array.prototype.flat: 1.3.1 debug: 2.6.9 @@ -6204,14 +6204,14 @@ packages: /tslib/2.4.1: resolution: {integrity: sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==} - /tsutils/3.21.0_typescript@4.9.3: + /tsutils/3.21.0_typescript@5.0.2: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} peerDependencies: typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' dependencies: tslib: 1.14.1 - typescript: 4.9.3 + typescript: 5.0.2 dev: false /type-check/0.3.2: @@ -6266,9 +6266,9 @@ packages: dependencies: is-typedarray: 1.0.0 - /typescript/4.9.3: - resolution: {integrity: sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==} - engines: {node: '>=4.2.0'} + /typescript/5.0.2: + resolution: {integrity: sha512-wVORMBGO/FAs/++blGNeAVdbNKtIh1rbBL2EyQ1+J9lClJ93KiiKe8PmFIVdXhHcyv44SL9oglmfeSsndo0jRw==} + engines: {node: '>=12.20'} hasBin: true /uc.micro/1.0.6: