diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b36022a..5ad1ae6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -38,25 +38,25 @@ importers: version: 18.3.18 '@typescript-eslint/eslint-plugin': specifier: ^8.0.0 - version: 8.18.1(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.4.5))(eslint@9.17.0)(typescript@5.4.5) + version: 8.18.1(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.7.2))(eslint@9.17.0)(typescript@5.7.2) '@typescript-eslint/parser': specifier: ^8.0.0 - version: 8.18.1(eslint@9.17.0)(typescript@5.4.5) + version: 8.18.1(eslint@9.17.0)(typescript@5.7.2) eslint: specifier: 9.17.0 version: 9.17.0 eslint-config-next: specifier: 15.1.0 - version: 15.1.0(eslint@9.17.0)(typescript@5.4.5) + version: 15.1.0(eslint@9.17.0)(typescript@5.7.2) eslint-plugin-import: specifier: ^2.27.5 - version: 2.31.0(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.5.5)(eslint@9.17.0) + version: 2.31.0(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.7.2))(eslint-import-resolver-typescript@3.5.5)(eslint@9.17.0) jest: specifier: ^29.5.0 version: 29.7.0(@types/node@22.10.2) typescript: specifier: ^5.0.4 - version: 5.4.5 + version: 5.7.2 packages: @@ -2265,8 +2265,8 @@ packages: resolution: {integrity: sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==} engines: {node: '>= 0.4'} - typescript@5.4.5: - resolution: {integrity: sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==} + typescript@5.7.2: + resolution: {integrity: sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==} engines: {node: '>=14.17'} hasBin: true @@ -3009,32 +3009,32 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@typescript-eslint/eslint-plugin@8.18.1(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.4.5))(eslint@9.17.0)(typescript@5.4.5)': + '@typescript-eslint/eslint-plugin@8.18.1(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.7.2))(eslint@9.17.0)(typescript@5.7.2)': dependencies: '@eslint-community/regexpp': 4.12.1 - '@typescript-eslint/parser': 8.18.1(eslint@9.17.0)(typescript@5.4.5) + '@typescript-eslint/parser': 8.18.1(eslint@9.17.0)(typescript@5.7.2) '@typescript-eslint/scope-manager': 8.18.1 - '@typescript-eslint/type-utils': 8.18.1(eslint@9.17.0)(typescript@5.4.5) - '@typescript-eslint/utils': 8.18.1(eslint@9.17.0)(typescript@5.4.5) + '@typescript-eslint/type-utils': 8.18.1(eslint@9.17.0)(typescript@5.7.2) + '@typescript-eslint/utils': 8.18.1(eslint@9.17.0)(typescript@5.7.2) '@typescript-eslint/visitor-keys': 8.18.1 eslint: 9.17.0 graphemer: 1.4.0 ignore: 5.3.2 natural-compare: 1.4.0 - ts-api-utils: 1.4.3(typescript@5.4.5) - typescript: 5.4.5 + ts-api-utils: 1.4.3(typescript@5.7.2) + typescript: 5.7.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.4.5)': + '@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.7.2)': dependencies: '@typescript-eslint/scope-manager': 8.18.1 '@typescript-eslint/types': 8.18.1 - '@typescript-eslint/typescript-estree': 8.18.1(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 8.18.1(typescript@5.7.2) '@typescript-eslint/visitor-keys': 8.18.1 debug: 4.4.0 eslint: 9.17.0 - typescript: 5.4.5 + typescript: 5.7.2 transitivePeerDependencies: - supports-color @@ -3043,20 +3043,20 @@ snapshots: '@typescript-eslint/types': 8.18.1 '@typescript-eslint/visitor-keys': 8.18.1 - '@typescript-eslint/type-utils@8.18.1(eslint@9.17.0)(typescript@5.4.5)': + '@typescript-eslint/type-utils@8.18.1(eslint@9.17.0)(typescript@5.7.2)': dependencies: - '@typescript-eslint/typescript-estree': 8.18.1(typescript@5.4.5) - '@typescript-eslint/utils': 8.18.1(eslint@9.17.0)(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 8.18.1(typescript@5.7.2) + '@typescript-eslint/utils': 8.18.1(eslint@9.17.0)(typescript@5.7.2) debug: 4.4.0 eslint: 9.17.0 - ts-api-utils: 1.4.3(typescript@5.4.5) - typescript: 5.4.5 + ts-api-utils: 1.4.3(typescript@5.7.2) + typescript: 5.7.2 transitivePeerDependencies: - supports-color '@typescript-eslint/types@8.18.1': {} - '@typescript-eslint/typescript-estree@8.18.1(typescript@5.4.5)': + '@typescript-eslint/typescript-estree@8.18.1(typescript@5.7.2)': dependencies: '@typescript-eslint/types': 8.18.1 '@typescript-eslint/visitor-keys': 8.18.1 @@ -3065,19 +3065,19 @@ snapshots: is-glob: 4.0.3 minimatch: 9.0.5 semver: 7.6.3 - ts-api-utils: 1.4.3(typescript@5.4.5) - typescript: 5.4.5 + ts-api-utils: 1.4.3(typescript@5.7.2) + typescript: 5.7.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.18.1(eslint@9.17.0)(typescript@5.4.5)': + '@typescript-eslint/utils@8.18.1(eslint@9.17.0)(typescript@5.7.2)': dependencies: '@eslint-community/eslint-utils': 4.4.1(eslint@9.17.0) '@typescript-eslint/scope-manager': 8.18.1 '@typescript-eslint/types': 8.18.1 - '@typescript-eslint/typescript-estree': 8.18.1(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 8.18.1(typescript@5.7.2) eslint: 9.17.0 - typescript: 5.4.5 + typescript: 5.7.2 transitivePeerDependencies: - supports-color @@ -3551,21 +3551,21 @@ snapshots: escape-string-regexp@4.0.0: {} - eslint-config-next@15.1.0(eslint@9.17.0)(typescript@5.4.5): + eslint-config-next@15.1.0(eslint@9.17.0)(typescript@5.7.2): dependencies: '@next/eslint-plugin-next': 15.1.0 '@rushstack/eslint-patch': 1.10.4 - '@typescript-eslint/eslint-plugin': 8.18.1(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.4.5))(eslint@9.17.0)(typescript@5.4.5) - '@typescript-eslint/parser': 8.18.1(eslint@9.17.0)(typescript@5.4.5) + '@typescript-eslint/eslint-plugin': 8.18.1(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.7.2))(eslint@9.17.0)(typescript@5.7.2) + '@typescript-eslint/parser': 8.18.1(eslint@9.17.0)(typescript@5.7.2) eslint: 9.17.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0)(eslint@9.17.0) - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.5.5)(eslint@9.17.0) + eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0)(eslint@9.17.0) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.7.2))(eslint-import-resolver-typescript@3.5.5)(eslint@9.17.0) eslint-plugin-jsx-a11y: 6.10.1(eslint@9.17.0) eslint-plugin-react: 7.37.1(eslint@9.17.0) eslint-plugin-react-hooks: 5.0.0(eslint@9.17.0) optionalDependencies: - typescript: 5.4.5 + typescript: 5.7.2 transitivePeerDependencies: - eslint-import-resolver-webpack - supports-color @@ -3578,13 +3578,13 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0)(eslint@9.17.0): + eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0)(eslint@9.17.0): dependencies: debug: 4.4.0 enhanced-resolve: 5.13.0 eslint: 9.17.0 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.5.5)(eslint@9.17.0) - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.5.5)(eslint@9.17.0) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.5.5)(eslint@9.17.0) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.7.2))(eslint-import-resolver-typescript@3.5.5)(eslint@9.17.0) get-tsconfig: 4.5.0 globby: 13.2.2 is-core-module: 2.15.1 @@ -3596,18 +3596,18 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.5.5)(eslint@9.17.0): + eslint-module-utils@2.12.0(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.5.5)(eslint@9.17.0): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 8.18.1(eslint@9.17.0)(typescript@5.4.5) + '@typescript-eslint/parser': 8.18.1(eslint@9.17.0)(typescript@5.7.2) eslint: 9.17.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0)(eslint@9.17.0) + eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0)(eslint@9.17.0) transitivePeerDependencies: - supports-color - eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.5.5)(eslint@9.17.0): + eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.7.2))(eslint-import-resolver-typescript@3.5.5)(eslint@9.17.0): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -3618,7 +3618,7 @@ snapshots: doctrine: 2.1.0 eslint: 9.17.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.5.5)(eslint@9.17.0) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.18.1(eslint@9.17.0)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.5.5)(eslint@9.17.0) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -3630,7 +3630,7 @@ snapshots: string.prototype.trimend: 1.0.8 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 8.18.1(eslint@9.17.0)(typescript@5.4.5) + '@typescript-eslint/parser': 8.18.1(eslint@9.17.0)(typescript@5.7.2) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -5009,9 +5009,9 @@ snapshots: dependencies: is-number: 7.0.0 - ts-api-utils@1.4.3(typescript@5.4.5): + ts-api-utils@1.4.3(typescript@5.7.2): dependencies: - typescript: 5.4.5 + typescript: 5.7.2 tsconfig-paths@3.15.0: dependencies: @@ -5064,7 +5064,7 @@ snapshots: is-typed-array: 1.1.13 possible-typed-array-names: 1.0.0 - typescript@5.4.5: {} + typescript@5.7.2: {} unbox-primitive@1.0.2: dependencies: diff --git a/tsconfig.json b/tsconfig.json index 7120397..9eccad1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,9 +1,15 @@ { "compilerOptions": { "paths": { - "@/*": ["./*"] + "@/*": [ + "./*" + ] }, - "lib": ["dom", "dom.iterable", "esnext"], + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], "allowJs": true, "skipLibCheck": true, "forceConsistentCasingInFileNames": true, @@ -16,9 +22,19 @@ "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", - "typeRoots": ["node_modules/@types", "./typings"] + "typeRoots": [ + "node_modules/@types", + "./typings" + ], + "target": "ES2018" }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"], + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx" + ], + "exclude": [ + "node_modules" + ], "extends": "@tsconfig/strictest/tsconfig.json" }