diff --git a/package.json b/package.json index 6a5dadb..8e9b518 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "react": "^18.3.1", "react-native": "^0.75.2", "react-test-renderer": "^18.3.1", - "typescript": "^5.4.5", + "typescript": "^5.6.3", "vite": "^5.2.11", "vite-plugin-dts": "^3.9.1", "vitest": "1.6.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index af45ca7..cb54491 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,16 +23,16 @@ importers: version: 18.3.3 '@types/react-native': specifier: ^0.73.0 - version: 0.73.0(@babel/core@7.24.6)(@babel/preset-env@7.24.4(@babel/core@7.24.6))(@types/react@18.3.3)(react@18.3.1)(typescript@5.4.5) + version: 0.73.0(@babel/core@7.24.6)(@babel/preset-env@7.24.4(@babel/core@7.24.6))(@types/react@18.3.3)(react@18.3.1)(typescript@5.6.3) '@types/react-test-renderer': specifier: ^18.3.0 version: 18.3.0 '@typescript-eslint/eslint-plugin': specifier: ^7.11.0 - version: 7.11.0(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) + version: 7.11.0(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3) '@typescript-eslint/parser': specifier: ^7.11.0 - version: 7.11.0(eslint@8.57.0)(typescript@5.4.5) + version: 7.11.0(eslint@8.57.0)(typescript@5.6.3) '@vitejs/plugin-react': specifier: ^4.3.0 version: 4.3.0(vite@5.2.11(@types/node@20.12.4)(terser@5.30.3)) @@ -44,7 +44,7 @@ importers: version: 9.1.0(eslint@8.57.0) eslint-config-sanity: specifier: ^7.1.2 - version: 7.1.2(@typescript-eslint/eslint-plugin@7.11.0(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.0))(eslint-plugin-react@7.34.2(eslint@8.57.0))(eslint@8.57.0) + version: 7.1.2(@typescript-eslint/eslint-plugin@7.11.0(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3))(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.6.3))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.0))(eslint-plugin-react@7.34.2(eslint@8.57.0))(eslint@8.57.0) eslint-plugin-react: specifier: ^7.34.2 version: 7.34.2(eslint@8.57.0) @@ -62,25 +62,25 @@ importers: version: 18.3.1 react-native: specifier: ^0.75.2 - version: 0.75.2(@babel/core@7.24.6)(@babel/preset-env@7.24.4(@babel/core@7.24.6))(@types/react@18.3.3)(react@18.3.1)(typescript@5.4.5) + version: 0.75.2(@babel/core@7.24.6)(@babel/preset-env@7.24.4(@babel/core@7.24.6))(@types/react@18.3.3)(react@18.3.1)(typescript@5.6.3) react-test-renderer: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) typescript: - specifier: ^5.4.5 - version: 5.4.5 + specifier: ^5.6.3 + version: 5.6.3 vite: specifier: ^5.2.11 version: 5.2.11(@types/node@20.12.4)(terser@5.30.3) vite-plugin-dts: specifier: ^3.9.1 - version: 3.9.1(@types/node@20.12.4)(rollup@4.14.0)(typescript@5.4.5)(vite@5.2.11(@types/node@20.12.4)(terser@5.30.3)) + version: 3.9.1(@types/node@20.12.4)(rollup@4.14.0)(typescript@5.6.3)(vite@5.2.11(@types/node@20.12.4)(terser@5.30.3)) vitest: specifier: 1.6.0 version: 1.6.0(@types/node@20.12.4)(terser@5.30.3) vitest-react-native: specifier: 0.1.5 - version: 0.1.5(react-native@0.75.2(@babel/core@7.24.6)(@babel/preset-env@7.24.4(@babel/core@7.24.6))(@types/react@18.3.3)(react@18.3.1)(typescript@5.4.5))(react@18.3.1)(vite@5.2.11(@types/node@20.12.4)(terser@5.30.3)) + version: 0.1.5(react-native@0.75.2(@babel/core@7.24.6)(@babel/preset-env@7.24.4(@babel/core@7.24.6))(@types/react@18.3.3)(react@18.3.1)(typescript@5.6.3))(react@18.3.1)(vite@5.2.11(@types/node@20.12.4)(terser@5.30.3)) packages: @@ -2169,6 +2169,7 @@ packages: eslint@8.57.0: resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. hasBin: true espree@9.6.1: @@ -3787,8 +3788,8 @@ packages: engines: {node: '>=14.17'} hasBin: true - typescript@5.4.5: - resolution: {integrity: sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==} + typescript@5.6.3: + resolution: {integrity: sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==} engines: {node: '>=14.17'} hasBin: true @@ -5245,11 +5246,11 @@ snapshots: execa: 5.1.1 fast-glob: 3.3.2 - '@react-native-community/cli-config@14.0.0(typescript@5.4.5)': + '@react-native-community/cli-config@14.0.0(typescript@5.6.3)': dependencies: '@react-native-community/cli-tools': 14.0.0 chalk: 4.1.2 - cosmiconfig: 9.0.0(typescript@5.4.5) + cosmiconfig: 9.0.0(typescript@5.6.3) deepmerge: 4.3.1 fast-glob: 3.3.2 joi: 17.12.3 @@ -5268,9 +5269,9 @@ snapshots: transitivePeerDependencies: - supports-color - '@react-native-community/cli-doctor@14.0.0(typescript@5.4.5)': + '@react-native-community/cli-doctor@14.0.0(typescript@5.6.3)': dependencies: - '@react-native-community/cli-config': 14.0.0(typescript@5.4.5) + '@react-native-community/cli-config': 14.0.0(typescript@5.6.3) '@react-native-community/cli-platform-android': 14.0.0 '@react-native-community/cli-platform-apple': 14.0.0 '@react-native-community/cli-platform-ios': 14.0.0 @@ -5373,12 +5374,12 @@ snapshots: dependencies: joi: 17.12.3 - '@react-native-community/cli@14.0.0(typescript@5.4.5)': + '@react-native-community/cli@14.0.0(typescript@5.6.3)': dependencies: '@react-native-community/cli-clean': 14.0.0 - '@react-native-community/cli-config': 14.0.0(typescript@5.4.5) + '@react-native-community/cli-config': 14.0.0(typescript@5.6.3) '@react-native-community/cli-debugger-ui': 14.0.0 - '@react-native-community/cli-doctor': 14.0.0(typescript@5.4.5) + '@react-native-community/cli-doctor': 14.0.0(typescript@5.6.3) '@react-native-community/cli-server-api': 14.0.0 '@react-native-community/cli-tools': 14.0.0 '@react-native-community/cli-types': 14.0.0 @@ -5533,12 +5534,12 @@ snapshots: '@react-native/polyfills@2.0.0': {} - '@react-native/virtualized-lists@0.75.2(@types/react@18.3.3)(react-native@0.75.2(@babel/core@7.24.6)(@babel/preset-env@7.24.4(@babel/core@7.24.6))(@types/react@18.3.3)(react@18.3.1)(typescript@5.4.5))(react@18.3.1)': + '@react-native/virtualized-lists@0.75.2(@types/react@18.3.3)(react-native@0.75.2(@babel/core@7.24.6)(@babel/preset-env@7.24.4(@babel/core@7.24.6))(@types/react@18.3.3)(react@18.3.1)(typescript@5.6.3))(react@18.3.1)': dependencies: invariant: 2.2.4 nullthrows: 1.1.1 react: 18.3.1 - react-native: 0.75.2(@babel/core@7.24.6)(@babel/preset-env@7.24.4(@babel/core@7.24.6))(@types/react@18.3.3)(react@18.3.1)(typescript@5.4.5) + react-native: 0.75.2(@babel/core@7.24.6)(@babel/preset-env@7.24.4(@babel/core@7.24.6))(@types/react@18.3.3)(react@18.3.1)(typescript@5.6.3) optionalDependencies: '@types/react': 18.3.3 @@ -5690,9 +5691,9 @@ snapshots: '@types/prop-types@15.7.12': {} - '@types/react-native@0.73.0(@babel/core@7.24.6)(@babel/preset-env@7.24.4(@babel/core@7.24.6))(@types/react@18.3.3)(react@18.3.1)(typescript@5.4.5)': + '@types/react-native@0.73.0(@babel/core@7.24.6)(@babel/preset-env@7.24.4(@babel/core@7.24.6))(@types/react@18.3.3)(react@18.3.1)(typescript@5.6.3)': dependencies: - react-native: 0.75.2(@babel/core@7.24.6)(@babel/preset-env@7.24.4(@babel/core@7.24.6))(@types/react@18.3.3)(react@18.3.1)(typescript@5.4.5) + react-native: 0.75.2(@babel/core@7.24.6)(@babel/preset-env@7.24.4(@babel/core@7.24.6))(@types/react@18.3.3)(react@18.3.1)(typescript@5.6.3) transitivePeerDependencies: - '@babel/core' - '@babel/preset-env' @@ -5725,34 +5726,34 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@typescript-eslint/eslint-plugin@7.11.0(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5)': + '@typescript-eslint/eslint-plugin@7.11.0(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3)': dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 7.11.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.11.0(eslint@8.57.0)(typescript@5.6.3) '@typescript-eslint/scope-manager': 7.11.0 - '@typescript-eslint/type-utils': 7.11.0(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/utils': 7.11.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/type-utils': 7.11.0(eslint@8.57.0)(typescript@5.6.3) + '@typescript-eslint/utils': 7.11.0(eslint@8.57.0)(typescript@5.6.3) '@typescript-eslint/visitor-keys': 7.11.0 eslint: 8.57.0 graphemer: 1.4.0 ignore: 5.3.1 natural-compare: 1.4.0 - ts-api-utils: 1.3.0(typescript@5.4.5) + ts-api-utils: 1.3.0(typescript@5.6.3) optionalDependencies: - typescript: 5.4.5 + typescript: 5.6.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5)': + '@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.6.3)': dependencies: '@typescript-eslint/scope-manager': 7.11.0 '@typescript-eslint/types': 7.11.0 - '@typescript-eslint/typescript-estree': 7.11.0(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 7.11.0(typescript@5.6.3) '@typescript-eslint/visitor-keys': 7.11.0 debug: 4.3.4 eslint: 8.57.0 optionalDependencies: - typescript: 5.4.5 + typescript: 5.6.3 transitivePeerDependencies: - supports-color @@ -5761,21 +5762,21 @@ snapshots: '@typescript-eslint/types': 7.11.0 '@typescript-eslint/visitor-keys': 7.11.0 - '@typescript-eslint/type-utils@7.11.0(eslint@8.57.0)(typescript@5.4.5)': + '@typescript-eslint/type-utils@7.11.0(eslint@8.57.0)(typescript@5.6.3)': dependencies: - '@typescript-eslint/typescript-estree': 7.11.0(typescript@5.4.5) - '@typescript-eslint/utils': 7.11.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 7.11.0(typescript@5.6.3) + '@typescript-eslint/utils': 7.11.0(eslint@8.57.0)(typescript@5.6.3) debug: 4.3.4 eslint: 8.57.0 - ts-api-utils: 1.3.0(typescript@5.4.5) + ts-api-utils: 1.3.0(typescript@5.6.3) optionalDependencies: - typescript: 5.4.5 + typescript: 5.6.3 transitivePeerDependencies: - supports-color '@typescript-eslint/types@7.11.0': {} - '@typescript-eslint/typescript-estree@7.11.0(typescript@5.4.5)': + '@typescript-eslint/typescript-estree@7.11.0(typescript@5.6.3)': dependencies: '@typescript-eslint/types': 7.11.0 '@typescript-eslint/visitor-keys': 7.11.0 @@ -5784,18 +5785,18 @@ snapshots: is-glob: 4.0.3 minimatch: 9.0.4 semver: 7.6.0 - ts-api-utils: 1.3.0(typescript@5.4.5) + ts-api-utils: 1.3.0(typescript@5.6.3) optionalDependencies: - typescript: 5.4.5 + typescript: 5.6.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@7.11.0(eslint@8.57.0)(typescript@5.4.5)': + '@typescript-eslint/utils@7.11.0(eslint@8.57.0)(typescript@5.6.3)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@typescript-eslint/scope-manager': 7.11.0 '@typescript-eslint/types': 7.11.0 - '@typescript-eslint/typescript-estree': 7.11.0(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 7.11.0(typescript@5.6.3) eslint: 8.57.0 transitivePeerDependencies: - supports-color @@ -5874,7 +5875,7 @@ snapshots: '@vue/compiler-core': 3.4.21 '@vue/shared': 3.4.21 - '@vue/language-core@1.8.27(typescript@5.4.5)': + '@vue/language-core@1.8.27(typescript@5.6.3)': dependencies: '@volar/language-core': 1.11.1 '@volar/source-map': 1.11.1 @@ -5886,7 +5887,7 @@ snapshots: path-browserify: 1.0.1 vue-template-compiler: 2.7.16 optionalDependencies: - typescript: 5.4.5 + typescript: 5.6.3 '@vue/shared@3.4.21': {} @@ -6276,14 +6277,14 @@ snapshots: js-yaml: 3.14.1 parse-json: 4.0.0 - cosmiconfig@9.0.0(typescript@5.4.5): + cosmiconfig@9.0.0(typescript@5.6.3): dependencies: env-paths: 2.2.1 import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 optionalDependencies: - typescript: 5.4.5 + typescript: 5.6.3 cross-spawn@7.0.3: dependencies: @@ -6557,13 +6558,13 @@ snapshots: dependencies: eslint: 8.57.0 - eslint-config-sanity@7.1.2(@typescript-eslint/eslint-plugin@7.11.0(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.0))(eslint-plugin-react@7.34.2(eslint@8.57.0))(eslint@8.57.0): + eslint-config-sanity@7.1.2(@typescript-eslint/eslint-plugin@7.11.0(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3))(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.6.3))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.0))(eslint-plugin-react@7.34.2(eslint@8.57.0))(eslint@8.57.0): dependencies: eslint: 8.57.0 eslint-plugin-simple-import-sort: 12.0.0(eslint@8.57.0) optionalDependencies: - '@typescript-eslint/eslint-plugin': 7.11.0(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/parser': 7.11.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/eslint-plugin': 7.11.0(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3) + '@typescript-eslint/parser': 7.11.0(eslint@8.57.0)(typescript@5.6.3) eslint-plugin-react: 7.34.2(eslint@8.57.0) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.0) @@ -7881,10 +7882,10 @@ snapshots: react-is@18.3.1: {} - react-native@0.75.2(@babel/core@7.24.6)(@babel/preset-env@7.24.4(@babel/core@7.24.6))(@types/react@18.3.3)(react@18.3.1)(typescript@5.4.5): + react-native@0.75.2(@babel/core@7.24.6)(@babel/preset-env@7.24.4(@babel/core@7.24.6))(@types/react@18.3.3)(react@18.3.1)(typescript@5.6.3): dependencies: '@jest/create-cache-key-function': 29.7.0 - '@react-native-community/cli': 14.0.0(typescript@5.4.5) + '@react-native-community/cli': 14.0.0(typescript@5.6.3) '@react-native-community/cli-platform-android': 14.0.0 '@react-native-community/cli-platform-ios': 14.0.0 '@react-native/assets-registry': 0.75.2 @@ -7893,7 +7894,7 @@ snapshots: '@react-native/gradle-plugin': 0.75.2 '@react-native/js-polyfills': 0.75.2 '@react-native/normalize-colors': 0.75.2 - '@react-native/virtualized-lists': 0.75.2(@types/react@18.3.3)(react-native@0.75.2(@babel/core@7.24.6)(@babel/preset-env@7.24.4(@babel/core@7.24.6))(@types/react@18.3.3)(react@18.3.1)(typescript@5.4.5))(react@18.3.1) + '@react-native/virtualized-lists': 0.75.2(@types/react@18.3.3)(react-native@0.75.2(@babel/core@7.24.6)(@babel/preset-env@7.24.4(@babel/core@7.24.6))(@types/react@18.3.3)(react@18.3.1)(typescript@5.6.3))(react@18.3.1) abort-controller: 3.0.0 anser: 1.4.10 ansi-regex: 5.0.1 @@ -8391,9 +8392,9 @@ snapshots: tr46@0.0.3: {} - ts-api-utils@1.3.0(typescript@5.4.5): + ts-api-utils@1.3.0(typescript@5.6.3): dependencies: - typescript: 5.4.5 + typescript: 5.6.3 tslib@2.6.2: {} @@ -8441,7 +8442,7 @@ snapshots: typescript@5.4.2: {} - typescript@5.4.5: {} + typescript@5.6.3: {} ufo@1.5.3: {} @@ -8504,16 +8505,16 @@ snapshots: - supports-color - terser - vite-plugin-dts@3.9.1(@types/node@20.12.4)(rollup@4.14.0)(typescript@5.4.5)(vite@5.2.11(@types/node@20.12.4)(terser@5.30.3)): + vite-plugin-dts@3.9.1(@types/node@20.12.4)(rollup@4.14.0)(typescript@5.6.3)(vite@5.2.11(@types/node@20.12.4)(terser@5.30.3)): dependencies: '@microsoft/api-extractor': 7.43.0(@types/node@20.12.4) '@rollup/pluginutils': 5.1.0(rollup@4.14.0) - '@vue/language-core': 1.8.27(typescript@5.4.5) + '@vue/language-core': 1.8.27(typescript@5.6.3) debug: 4.3.4 kolorist: 1.8.0 magic-string: 0.30.9 - typescript: 5.4.5 - vue-tsc: 1.8.27(typescript@5.4.5) + typescript: 5.6.3 + vue-tsc: 1.8.27(typescript@5.6.3) optionalDependencies: vite: 5.2.11(@types/node@20.12.4)(terser@5.30.3) transitivePeerDependencies: @@ -8531,7 +8532,7 @@ snapshots: fsevents: 2.3.3 terser: 5.30.3 - vitest-react-native@0.1.5(react-native@0.75.2(@babel/core@7.24.6)(@babel/preset-env@7.24.4(@babel/core@7.24.6))(@types/react@18.3.3)(react@18.3.1)(typescript@5.4.5))(react@18.3.1)(vite@5.2.11(@types/node@20.12.4)(terser@5.30.3)): + vitest-react-native@0.1.5(react-native@0.75.2(@babel/core@7.24.6)(@babel/preset-env@7.24.4(@babel/core@7.24.6))(@types/react@18.3.3)(react@18.3.1)(typescript@5.6.3))(react@18.3.1)(vite@5.2.11(@types/node@20.12.4)(terser@5.30.3)): dependencies: '@bunchtogether/vite-plugin-flow': 1.0.2 '@react-native/polyfills': 2.0.0 @@ -8539,7 +8540,7 @@ snapshots: flow-remove-types: 2.233.0 pirates: 4.0.6 react: 18.3.1 - react-native: 0.75.2(@babel/core@7.24.6)(@babel/preset-env@7.24.4(@babel/core@7.24.6))(@types/react@18.3.3)(react@18.3.1)(typescript@5.4.5) + react-native: 0.75.2(@babel/core@7.24.6)(@babel/preset-env@7.24.4(@babel/core@7.24.6))(@types/react@18.3.3)(react@18.3.1)(typescript@5.6.3) regenerator-runtime: 0.13.11 vite: 5.2.11(@types/node@20.12.4)(terser@5.30.3) @@ -8585,12 +8586,12 @@ snapshots: de-indent: 1.0.2 he: 1.2.0 - vue-tsc@1.8.27(typescript@5.4.5): + vue-tsc@1.8.27(typescript@5.6.3): dependencies: '@volar/typescript': 1.11.1 - '@vue/language-core': 1.8.27(typescript@5.4.5) + '@vue/language-core': 1.8.27(typescript@5.6.3) semver: 7.6.0 - typescript: 5.4.5 + typescript: 5.6.3 walker@1.0.8: dependencies: