diff --git a/.changeset/four-lies-rush.md b/.changeset/four-lies-rush.md new file mode 100644 index 000000000..5ae1cddd4 --- /dev/null +++ b/.changeset/four-lies-rush.md @@ -0,0 +1,6 @@ +--- +"victory-area": patch +"victory-core": patch +--- + +Upgrade typescript to 5.7.2 diff --git a/package.json b/package.json index c9834d9bb..057de6152 100644 --- a/package.json +++ b/package.json @@ -101,7 +101,7 @@ "ts-jest": "^29.2.5", "ts-loader": "^9.3.0", "ts-node": "^10.9.1", - "typescript": "^4.7.3", + "typescript": "^5.7.2", "typescript-eslint": "^8.13.0", "unified": "^8.3.2", "victory-vendor": "*", diff --git a/packages/victory-area/src/helper-methods.tsx b/packages/victory-area/src/helper-methods.tsx index 52952cd33..fbbae1a3c 100644 --- a/packages/victory-area/src/helper-methods.tsx +++ b/packages/victory-area/src/helper-methods.tsx @@ -19,9 +19,9 @@ export const getDataWithBaseline = (props, scale) => { const minY = Collection.getMinValue(domain); const maxY = Collection.getMaxValue(domain); let defaultMin: typeof minY = defaultZero; - if (minY < 0 && maxY <= 0) { + if (minY.valueOf() < 0 && maxY.valueOf() <= 0) { defaultMin = maxY; - } else if (minY >= 0 && maxY > 0) { + } else if (minY.valueOf() >= 0 && maxY.valueOf() > 0) { defaultMin = minY; } return Collection.containsDates(domain) ? new Date(defaultMin) : defaultMin; diff --git a/packages/victory-core/src/victory-util/axis.tsx b/packages/victory-core/src/victory-util/axis.tsx index bc83fcb1f..c1bb65c4a 100644 --- a/packages/victory-core/src/victory-util/axis.tsx +++ b/packages/victory-core/src/victory-util/axis.tsx @@ -218,8 +218,8 @@ function getTickArray(props) { arr.forEach((t, index) => { if (Array.isArray(domain)) { if ( - t >= Collection.getMinValue(domain) && - t <= Collection.getMaxValue(domain) + t >= Collection.getMinValue(domain).valueOf() && + t <= Collection.getMaxValue(domain).valueOf() ) { newTickArray.push({ value: t, diff --git a/packages/victory-core/src/victory-util/domain.ts b/packages/victory-core/src/victory-util/domain.ts index 9d7d5ddc4..16101e317 100644 --- a/packages/victory-core/src/victory-util/domain.ts +++ b/packages/victory-core/src/victory-util/domain.ts @@ -111,12 +111,13 @@ function padDomain(domain, props, axis) { : props.singleQuadrantDomainPadding; const addsQuadrants = - (min >= 0 && paddedDomain.min <= 0) || (max <= 0 && paddedDomain.max >= 0); + (min.valueOf() >= 0 && paddedDomain.min <= 0) || + (max.valueOf() <= 0 && paddedDomain.max >= 0); const adjust = (val, type) => { const coerce = - (type === "min" && min >= 0 && val <= 0) || - (type === "max" && max <= 0 && val >= 0); + (type === "min" && min.valueOf() >= 0 && val <= 0) || + (type === "max" && max.valueOf() <= 0 && val >= 0); return coerce ? 0 : val; }; diff --git a/packages/victory-core/src/victory-util/helpers.ts b/packages/victory-core/src/victory-util/helpers.ts index 31ebdacbe..57a6d83d6 100644 --- a/packages/victory-core/src/victory-util/helpers.ts +++ b/packages/victory-core/src/victory-util/helpers.ts @@ -3,7 +3,6 @@ import defaults from "lodash/defaults"; import property from "lodash/property"; import pick from "lodash/pick"; -import { CallbackArgs } from "../types/callbacks"; import { ValueOrAccessor } from "../types/prop-types"; // Private Functions @@ -142,8 +141,8 @@ export function getStyles(style, defaultStyles) { } export function evaluateProp( - prop: ValueOrAccessor, - props: CallbackArgs, + prop: ValueOrAccessor>, + props: Record, ): TValue { return isFunction(prop) ? prop(props) : prop; } diff --git a/packages/victory-core/src/victory-util/user-props.ts b/packages/victory-core/src/victory-util/user-props.ts index 4bb860c9e..de25b5a6b 100644 --- a/packages/victory-core/src/victory-util/user-props.ts +++ b/packages/victory-core/src/victory-util/user-props.ts @@ -78,7 +78,7 @@ export function assert( * @returns {Object}: object containing remaining acceptable props */ export const getSafeUserProps = ( - props: T, + props: T extends Record ? T : never, ): Record => { const propsToFilter = { ...props }; return Object.fromEntries( diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a11555e11..197065bed 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -61,10 +61,10 @@ importers: version: 1.0.5(webpack@5.74.0) '@storybook/react': specifier: ^8.4.1 - version: 8.4.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.4.1(prettier@3.3.3))(typescript@4.7.4) + version: 8.4.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.4.1(prettier@3.3.3))(typescript@5.7.2) '@storybook/react-webpack5': specifier: ^8.4.1 - version: 8.4.1(@swc/core@1.8.0)(esbuild@0.18.20)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.4.1(prettier@3.3.3))(typescript@4.7.4)(webpack-cli@4.10.0) + version: 8.4.1(@swc/core@1.8.0)(esbuild@0.18.20)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.4.1(prettier@3.3.3))(typescript@5.7.2)(webpack-cli@4.10.0) '@svitejs/changesets-changelog-github-compact': specifier: ^0.1.1 version: 0.1.1 @@ -136,7 +136,7 @@ importers: version: 9.1.0(eslint@9.14.0(jiti@1.21.0)) eslint-plugin-jest: specifier: ^28.9.0 - version: 28.9.0(@typescript-eslint/eslint-plugin@8.13.0(@typescript-eslint/parser@8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@4.7.4))(eslint@9.14.0(jiti@1.21.0))(typescript@4.7.4))(eslint@9.14.0(jiti@1.21.0))(jest@29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4)))(typescript@4.7.4) + version: 28.9.0(@typescript-eslint/eslint-plugin@8.13.0(@typescript-eslint/parser@8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@5.7.2))(eslint@9.14.0(jiti@1.21.0))(typescript@5.7.2))(eslint@9.14.0(jiti@1.21.0))(jest@29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2)))(typescript@5.7.2) eslint-plugin-prettier: specifier: ^5.2.1 version: 5.2.1(@types/eslint@8.4.3)(eslint-config-prettier@9.1.0(eslint@9.14.0(jiti@1.21.0)))(eslint@9.14.0(jiti@1.21.0))(prettier@3.3.3) @@ -151,7 +151,7 @@ importers: version: 5.0.0(eslint@9.14.0(jiti@1.21.0)) fork-ts-checker-webpack-plugin: specifier: ^8.0.0 - version: 8.0.0(typescript@4.7.4)(webpack@5.74.0) + version: 8.0.0(typescript@5.7.2)(webpack@5.74.0) fs-extra: specifier: ^10.0.0 version: 10.1.0 @@ -166,7 +166,7 @@ importers: version: 3.8.2 jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4)) + version: 29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2)) jest-environment-jsdom: specifier: ^29.7.0 version: 29.7.0 @@ -193,7 +193,7 @@ importers: version: 8.4.33 postcss-loader: specifier: ^8.1.1 - version: 8.1.1(postcss@8.4.33)(typescript@4.7.4)(webpack@5.74.0) + version: 8.1.1(postcss@8.4.33)(typescript@5.7.2)(webpack@5.74.0) prettier: specifier: ^3.3.3 version: 3.3.3 @@ -241,22 +241,22 @@ importers: version: 4.0.0(webpack@5.74.0) tailwindcss: specifier: ^3.3.0 - version: 3.4.1(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4)) + version: 3.4.1(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2)) ts-jest: specifier: ^29.2.5 - version: 29.2.5(@babel/core@7.23.9)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.23.9))(esbuild@0.18.20)(jest@29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4)))(typescript@4.7.4) + version: 29.2.5(@babel/core@7.23.9)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.23.9))(esbuild@0.18.20)(jest@29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2)))(typescript@5.7.2) ts-loader: specifier: ^9.3.0 - version: 9.3.1(typescript@4.7.4)(webpack@5.74.0) + version: 9.3.1(typescript@5.7.2)(webpack@5.74.0) ts-node: specifier: ^10.9.1 - version: 10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4) + version: 10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2) typescript: - specifier: ^4.7.3 - version: 4.7.4 + specifier: ^5.7.2 + version: 5.7.2 typescript-eslint: specifier: ^8.13.0 - version: 8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@4.7.4) + version: 8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@5.7.2) unified: specifier: ^8.3.2 version: 8.4.2 @@ -11702,11 +11702,6 @@ packages: typescript: optional: true - typescript@4.7.4: - resolution: {integrity: sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==} - engines: {node: '>=4.2.0'} - hasBin: true - typescript@5.2.2: resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==} engines: {node: '>=14.17'} @@ -11717,6 +11712,11 @@ packages: engines: {node: '>=14.17'} hasBin: true + typescript@5.7.2: + resolution: {integrity: sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==} + engines: {node: '>=14.17'} + hasBin: true + ua-parser-js@0.7.31: resolution: {integrity: sha512-qLK/Xe9E2uzmYI3qLeOmI0tEOt+TBBQyUIAh4aAgU05FVYzeZrKUdkAZfBNVGRaHVgV0TDkdEngJSw/SyQchkQ==} @@ -16475,7 +16475,7 @@ snapshots: jest-util: 29.7.0 slash: 3.0.0 - '@jest/core@29.7.0(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4))': + '@jest/core@29.7.0(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0 @@ -16489,7 +16489,7 @@ snapshots: exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4)) + jest-config: 29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -17739,7 +17739,7 @@ snapshots: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - '@storybook/builder-webpack5@8.4.1(@swc/core@1.8.0)(esbuild@0.18.20)(storybook@8.4.1(prettier@3.3.3))(typescript@4.7.4)(webpack-cli@4.10.0)': + '@storybook/builder-webpack5@8.4.1(@swc/core@1.8.0)(esbuild@0.18.20)(storybook@8.4.1(prettier@3.3.3))(typescript@5.7.2)(webpack-cli@4.10.0)': dependencies: '@storybook/core-webpack': 8.4.1(storybook@8.4.1(prettier@3.3.3)) '@types/node': 22.8.7 @@ -17750,7 +17750,7 @@ snapshots: constants-browserify: 1.0.0 css-loader: 6.9.1(webpack@5.74.0) es-module-lexer: 1.5.4 - fork-ts-checker-webpack-plugin: 8.0.0(typescript@4.7.4)(webpack@5.74.0) + fork-ts-checker-webpack-plugin: 8.0.0(typescript@5.7.2)(webpack@5.74.0) html-webpack-plugin: 5.6.0(webpack@5.74.0) magic-string: 0.30.5 path-browserify: 1.0.1 @@ -17768,7 +17768,7 @@ snapshots: webpack-hot-middleware: 2.25.1 webpack-virtual-modules: 0.6.1 optionalDependencies: - typescript: 4.7.4 + typescript: 5.7.2 transitivePeerDependencies: - '@rspack/core' - '@swc/core' @@ -17826,11 +17826,11 @@ snapshots: dependencies: storybook: 8.4.1(prettier@3.3.3) - '@storybook/preset-react-webpack@8.4.1(@swc/core@1.8.0)(esbuild@0.18.20)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.4.1(prettier@3.3.3))(typescript@4.7.4)(webpack-cli@4.10.0)': + '@storybook/preset-react-webpack@8.4.1(@swc/core@1.8.0)(esbuild@0.18.20)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.4.1(prettier@3.3.3))(typescript@5.7.2)(webpack-cli@4.10.0)': dependencies: '@storybook/core-webpack': 8.4.1(storybook@8.4.1(prettier@3.3.3)) - '@storybook/react': 8.4.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.4.1(prettier@3.3.3))(typescript@4.7.4) - '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@4.7.4)(webpack@5.74.0) + '@storybook/react': 8.4.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.4.1(prettier@3.3.3))(typescript@5.7.2) + '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.7.2)(webpack@5.74.0) '@types/node': 22.8.7 '@types/semver': 7.5.6 find-up: 5.0.0 @@ -17844,7 +17844,7 @@ snapshots: tsconfig-paths: 4.2.0 webpack: 5.74.0(@swc/core@1.8.0)(esbuild@0.18.20)(webpack-cli@4.10.0) optionalDependencies: - typescript: 4.7.4 + typescript: 5.7.2 transitivePeerDependencies: - '@storybook/test' - '@swc/core' @@ -17857,16 +17857,16 @@ snapshots: dependencies: storybook: 8.4.1(prettier@3.3.3) - '@storybook/react-docgen-typescript-plugin@1.0.6--canary.9.0c3f3b7.0(typescript@4.7.4)(webpack@5.74.0)': + '@storybook/react-docgen-typescript-plugin@1.0.6--canary.9.0c3f3b7.0(typescript@5.7.2)(webpack@5.74.0)': dependencies: debug: 4.3.4 endent: 2.1.0 find-cache-dir: 3.3.2 flat-cache: 3.0.4 micromatch: 4.0.5 - react-docgen-typescript: 2.2.2(typescript@4.7.4) + react-docgen-typescript: 2.2.2(typescript@5.7.2) tslib: 2.8.1 - typescript: 4.7.4 + typescript: 5.7.2 webpack: 5.74.0(@swc/core@1.8.0)(esbuild@0.18.20)(webpack-cli@4.10.0) transitivePeerDependencies: - supports-color @@ -17877,17 +17877,17 @@ snapshots: react-dom: 18.2.0(react@18.2.0) storybook: 8.4.1(prettier@3.3.3) - '@storybook/react-webpack5@8.4.1(@swc/core@1.8.0)(esbuild@0.18.20)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.4.1(prettier@3.3.3))(typescript@4.7.4)(webpack-cli@4.10.0)': + '@storybook/react-webpack5@8.4.1(@swc/core@1.8.0)(esbuild@0.18.20)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.4.1(prettier@3.3.3))(typescript@5.7.2)(webpack-cli@4.10.0)': dependencies: - '@storybook/builder-webpack5': 8.4.1(@swc/core@1.8.0)(esbuild@0.18.20)(storybook@8.4.1(prettier@3.3.3))(typescript@4.7.4)(webpack-cli@4.10.0) - '@storybook/preset-react-webpack': 8.4.1(@swc/core@1.8.0)(esbuild@0.18.20)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.4.1(prettier@3.3.3))(typescript@4.7.4)(webpack-cli@4.10.0) - '@storybook/react': 8.4.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.4.1(prettier@3.3.3))(typescript@4.7.4) + '@storybook/builder-webpack5': 8.4.1(@swc/core@1.8.0)(esbuild@0.18.20)(storybook@8.4.1(prettier@3.3.3))(typescript@5.7.2)(webpack-cli@4.10.0) + '@storybook/preset-react-webpack': 8.4.1(@swc/core@1.8.0)(esbuild@0.18.20)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.4.1(prettier@3.3.3))(typescript@5.7.2)(webpack-cli@4.10.0) + '@storybook/react': 8.4.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.4.1(prettier@3.3.3))(typescript@5.7.2) '@types/node': 22.8.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) storybook: 8.4.1(prettier@3.3.3) optionalDependencies: - typescript: 4.7.4 + typescript: 5.7.2 transitivePeerDependencies: - '@rspack/core' - '@storybook/test' @@ -17897,7 +17897,7 @@ snapshots: - uglify-js - webpack-cli - '@storybook/react@8.4.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.4.1(prettier@3.3.3))(typescript@4.7.4)': + '@storybook/react@8.4.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(storybook@8.4.1(prettier@3.3.3))(typescript@5.7.2)': dependencies: '@storybook/components': 8.4.1(storybook@8.4.1(prettier@3.3.3)) '@storybook/global': 5.0.0 @@ -17909,7 +17909,7 @@ snapshots: react-dom: 18.2.0(react@18.2.0) storybook: 8.4.1(prettier@3.3.3) optionalDependencies: - typescript: 4.7.4 + typescript: 5.7.2 '@storybook/source-loader@8.4.1(storybook@8.4.1(prettier@3.3.3))': dependencies: @@ -18434,34 +18434,34 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.0 - '@typescript-eslint/eslint-plugin@8.13.0(@typescript-eslint/parser@8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@4.7.4))(eslint@9.14.0(jiti@1.21.0))(typescript@4.7.4)': + '@typescript-eslint/eslint-plugin@8.13.0(@typescript-eslint/parser@8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@5.7.2))(eslint@9.14.0(jiti@1.21.0))(typescript@5.7.2)': dependencies: '@eslint-community/regexpp': 4.12.1 - '@typescript-eslint/parser': 8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@4.7.4) + '@typescript-eslint/parser': 8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@5.7.2) '@typescript-eslint/scope-manager': 8.13.0 - '@typescript-eslint/type-utils': 8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@4.7.4) - '@typescript-eslint/utils': 8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@4.7.4) + '@typescript-eslint/type-utils': 8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@5.7.2) + '@typescript-eslint/utils': 8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@5.7.2) '@typescript-eslint/visitor-keys': 8.13.0 eslint: 9.14.0(jiti@1.21.0) graphemer: 1.4.0 ignore: 5.3.1 natural-compare: 1.4.0 - ts-api-utils: 1.4.0(typescript@4.7.4) + ts-api-utils: 1.4.0(typescript@5.7.2) optionalDependencies: - typescript: 4.7.4 + typescript: 5.7.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@4.7.4)': + '@typescript-eslint/parser@8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@5.7.2)': dependencies: '@typescript-eslint/scope-manager': 8.13.0 '@typescript-eslint/types': 8.13.0 - '@typescript-eslint/typescript-estree': 8.13.0(typescript@4.7.4) + '@typescript-eslint/typescript-estree': 8.13.0(typescript@5.7.2) '@typescript-eslint/visitor-keys': 8.13.0 debug: 4.3.4 eslint: 9.14.0(jiti@1.21.0) optionalDependencies: - typescript: 4.7.4 + typescript: 5.7.2 transitivePeerDependencies: - supports-color @@ -18470,21 +18470,21 @@ snapshots: '@typescript-eslint/types': 8.13.0 '@typescript-eslint/visitor-keys': 8.13.0 - '@typescript-eslint/type-utils@8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@4.7.4)': + '@typescript-eslint/type-utils@8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@5.7.2)': dependencies: - '@typescript-eslint/typescript-estree': 8.13.0(typescript@4.7.4) - '@typescript-eslint/utils': 8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@4.7.4) + '@typescript-eslint/typescript-estree': 8.13.0(typescript@5.7.2) + '@typescript-eslint/utils': 8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@5.7.2) debug: 4.3.4 - ts-api-utils: 1.4.0(typescript@4.7.4) + ts-api-utils: 1.4.0(typescript@5.7.2) optionalDependencies: - typescript: 4.7.4 + typescript: 5.7.2 transitivePeerDependencies: - eslint - supports-color '@typescript-eslint/types@8.13.0': {} - '@typescript-eslint/typescript-estree@8.13.0(typescript@4.7.4)': + '@typescript-eslint/typescript-estree@8.13.0(typescript@5.7.2)': dependencies: '@typescript-eslint/types': 8.13.0 '@typescript-eslint/visitor-keys': 8.13.0 @@ -18493,18 +18493,18 @@ snapshots: is-glob: 4.0.3 minimatch: 9.0.5 semver: 7.6.3 - ts-api-utils: 1.4.0(typescript@4.7.4) + ts-api-utils: 1.4.0(typescript@5.7.2) optionalDependencies: - typescript: 4.7.4 + typescript: 5.7.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@4.7.4)': + '@typescript-eslint/utils@8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@5.7.2)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.14.0(jiti@1.21.0)) '@typescript-eslint/scope-manager': 8.13.0 '@typescript-eslint/types': 8.13.0 - '@typescript-eslint/typescript-estree': 8.13.0(typescript@4.7.4) + '@typescript-eslint/typescript-estree': 8.13.0(typescript@5.7.2) eslint: 9.14.0(jiti@1.21.0) transitivePeerDependencies: - supports-color @@ -20211,14 +20211,14 @@ snapshots: optionalDependencies: typescript: 5.2.2 - cosmiconfig@9.0.0(typescript@4.7.4): + cosmiconfig@9.0.0(typescript@5.7.2): dependencies: env-paths: 2.2.1 import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 optionalDependencies: - typescript: 4.7.4 + typescript: 5.7.2 cpx2@4.2.3: dependencies: @@ -20238,13 +20238,13 @@ snapshots: transitivePeerDependencies: - supports-color - create-jest@29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4)): + create-jest@29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4)) + jest-config: 29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -21067,13 +21067,13 @@ snapshots: dependencies: eslint: 9.14.0(jiti@1.21.0) - eslint-plugin-jest@28.9.0(@typescript-eslint/eslint-plugin@8.13.0(@typescript-eslint/parser@8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@4.7.4))(eslint@9.14.0(jiti@1.21.0))(typescript@4.7.4))(eslint@9.14.0(jiti@1.21.0))(jest@29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4)))(typescript@4.7.4): + eslint-plugin-jest@28.9.0(@typescript-eslint/eslint-plugin@8.13.0(@typescript-eslint/parser@8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@5.7.2))(eslint@9.14.0(jiti@1.21.0))(typescript@5.7.2))(eslint@9.14.0(jiti@1.21.0))(jest@29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2)))(typescript@5.7.2): dependencies: - '@typescript-eslint/utils': 8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@4.7.4) + '@typescript-eslint/utils': 8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@5.7.2) eslint: 9.14.0(jiti@1.21.0) optionalDependencies: - '@typescript-eslint/eslint-plugin': 8.13.0(@typescript-eslint/parser@8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@4.7.4))(eslint@9.14.0(jiti@1.21.0))(typescript@4.7.4) - jest: 29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4)) + '@typescript-eslint/eslint-plugin': 8.13.0(@typescript-eslint/parser@8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@5.7.2))(eslint@9.14.0(jiti@1.21.0))(typescript@5.7.2) + jest: 29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2)) transitivePeerDependencies: - supports-color - typescript @@ -21679,7 +21679,7 @@ snapshots: optionalDependencies: eslint: 9.14.0(jiti@1.21.0) - fork-ts-checker-webpack-plugin@8.0.0(typescript@4.7.4)(webpack@5.74.0): + fork-ts-checker-webpack-plugin@8.0.0(typescript@5.7.2)(webpack@5.74.0): dependencies: '@babel/code-frame': 7.23.5 chalk: 4.1.2 @@ -21693,7 +21693,7 @@ snapshots: schema-utils: 3.1.1 semver: 7.5.4 tapable: 2.2.1 - typescript: 4.7.4 + typescript: 5.7.2 webpack: 5.74.0(@swc/core@1.8.0)(esbuild@0.18.20)(webpack-cli@4.10.0) form-data-encoder@2.1.4: {} @@ -22754,16 +22754,16 @@ snapshots: - babel-plugin-macros - supports-color - jest-cli@29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4)): + jest-cli@29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2)): dependencies: - '@jest/core': 29.7.0(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4)) + '@jest/core': 29.7.0(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4)) + create-jest: 29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2)) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4)) + jest-config: 29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -22773,7 +22773,7 @@ snapshots: - supports-color - ts-node - jest-config@29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4)): + jest-config@29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2)): dependencies: '@babel/core': 7.23.9 '@jest/test-sequencer': 29.7.0 @@ -22799,7 +22799,7 @@ snapshots: strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 18.6.1 - ts-node: 10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4) + ts-node: 10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -23040,12 +23040,12 @@ snapshots: merge-stream: 2.0.0 supports-color: 8.1.1 - jest@29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4)): + jest@29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2)): dependencies: - '@jest/core': 29.7.0(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4)) + '@jest/core': 29.7.0(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2)) '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4)) + jest-cli: 29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2)) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -24959,13 +24959,13 @@ snapshots: camelcase-css: 2.0.1 postcss: 8.4.47 - postcss-load-config@4.0.2(postcss@8.4.47)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4)): + postcss-load-config@4.0.2(postcss@8.4.47)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2)): dependencies: lilconfig: 3.1.1 yaml: 2.4.0 optionalDependencies: postcss: 8.4.47 - ts-node: 10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4) + ts-node: 10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2) postcss-load-config@4.0.2(postcss@8.4.47)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@22.8.7)(typescript@5.2.2)): dependencies: @@ -24985,9 +24985,9 @@ snapshots: transitivePeerDependencies: - typescript - postcss-loader@8.1.1(postcss@8.4.33)(typescript@4.7.4)(webpack@5.74.0): + postcss-loader@8.1.1(postcss@8.4.33)(typescript@5.7.2)(webpack@5.74.0): dependencies: - cosmiconfig: 9.0.0(typescript@4.7.4) + cosmiconfig: 9.0.0(typescript@5.7.2) jiti: 1.21.0 postcss: 8.4.33 semver: 7.5.4 @@ -25412,9 +25412,9 @@ snapshots: - bufferutil - utf-8-validate - react-docgen-typescript@2.2.2(typescript@4.7.4): + react-docgen-typescript@2.2.2(typescript@5.7.2): dependencies: - typescript: 4.7.4 + typescript: 5.7.2 react-docgen@7.0.3: dependencies: @@ -26850,7 +26850,7 @@ snapshots: '@pkgr/core': 0.1.1 tslib: 2.8.1 - tailwindcss@3.4.1(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4)): + tailwindcss@3.4.1(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2)): dependencies: '@alloc/quick-lru': 5.2.0 arg: 5.0.2 @@ -26869,7 +26869,7 @@ snapshots: postcss: 8.4.47 postcss-import: 15.1.0(postcss@8.4.47) postcss-js: 4.0.1(postcss@8.4.47) - postcss-load-config: 4.0.2(postcss@8.4.47)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4)) + postcss-load-config: 4.0.2(postcss@8.4.47)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2)) postcss-nested: 6.0.1(postcss@8.4.47) postcss-selector-parser: 6.0.15 resolve: 1.22.8 @@ -27068,26 +27068,26 @@ snapshots: trough@2.2.0: {} - ts-api-utils@1.4.0(typescript@4.7.4): + ts-api-utils@1.4.0(typescript@5.7.2): dependencies: - typescript: 4.7.4 + typescript: 5.7.2 ts-dedent@2.2.0: {} ts-interface-checker@0.1.13: {} - ts-jest@29.2.5(@babel/core@7.23.9)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.23.9))(esbuild@0.18.20)(jest@29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4)))(typescript@4.7.4): + ts-jest@29.2.5(@babel/core@7.23.9)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.23.9))(esbuild@0.18.20)(jest@29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2)))(typescript@5.7.2): dependencies: bs-logger: 0.2.6 ejs: 3.1.10 fast-json-stable-stringify: 2.1.0 - jest: 29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4)) + jest: 29.7.0(@types/node@18.6.1)(ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2)) jest-util: 29.7.0 json5: 2.2.3 lodash.memoize: 4.1.2 make-error: 1.3.6 semver: 7.6.3 - typescript: 4.7.4 + typescript: 5.7.2 yargs-parser: 21.1.1 optionalDependencies: '@babel/core': 7.23.9 @@ -27096,16 +27096,16 @@ snapshots: babel-jest: 29.7.0(@babel/core@7.23.9) esbuild: 0.18.20 - ts-loader@9.3.1(typescript@4.7.4)(webpack@5.74.0): + ts-loader@9.3.1(typescript@5.7.2)(webpack@5.74.0): dependencies: chalk: 4.1.2 enhanced-resolve: 5.10.0 micromatch: 4.0.5 semver: 7.3.7 - typescript: 4.7.4 + typescript: 5.7.2 webpack: 5.74.0(@swc/core@1.8.0)(esbuild@0.18.20)(webpack-cli@4.10.0) - ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@4.7.4): + ts-node@10.9.1(@swc/core@1.8.0)(@types/node@18.6.1)(typescript@5.7.2): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.9 @@ -27119,7 +27119,7 @@ snapshots: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 4.7.4 + typescript: 5.7.2 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 optionalDependencies: @@ -27251,23 +27251,23 @@ snapshots: typescript: 5.2.2 yaml: 2.6.0 - typescript-eslint@8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@4.7.4): + typescript-eslint@8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@5.7.2): dependencies: - '@typescript-eslint/eslint-plugin': 8.13.0(@typescript-eslint/parser@8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@4.7.4))(eslint@9.14.0(jiti@1.21.0))(typescript@4.7.4) - '@typescript-eslint/parser': 8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@4.7.4) - '@typescript-eslint/utils': 8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@4.7.4) + '@typescript-eslint/eslint-plugin': 8.13.0(@typescript-eslint/parser@8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@5.7.2))(eslint@9.14.0(jiti@1.21.0))(typescript@5.7.2) + '@typescript-eslint/parser': 8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@5.7.2) + '@typescript-eslint/utils': 8.13.0(eslint@9.14.0(jiti@1.21.0))(typescript@5.7.2) optionalDependencies: - typescript: 4.7.4 + typescript: 5.7.2 transitivePeerDependencies: - eslint - supports-color - typescript@4.7.4: {} - typescript@5.2.2: {} typescript@5.3.3: {} + typescript@5.7.2: {} + ua-parser-js@0.7.31: {} uc.micro@2.1.0: {}