From 11b2efb353cb6dd26ac1086b8ba9ee7572f44551 Mon Sep 17 00:00:00 2001 From: asmyshlyaev177 Date: Sat, 7 Dec 2024 13:49:49 +0400 Subject: [PATCH] chore: fix eslint issue --- package-lock.json | 37 ++++++++++++++++++------------------- package.json | 2 +- tsconfig.base.json | 4 ++-- 3 files changed, 21 insertions(+), 22 deletions(-) diff --git a/package-lock.json b/package-lock.json index fd3e5ce..767a0df 100644 --- a/package-lock.json +++ b/package-lock.json @@ -70,7 +70,7 @@ "semantic-release": "^24.1.0", "standard-version": "^9.5.0", "ts-node": "^10.9.2", - "typescript": "^5.7.2", + "typescript": "^5.3.3", "unplugin-auto-import": "^0.18.5", "vitest": "^2.1.5", "wait-on": "^8.0.1", @@ -29195,9 +29195,9 @@ } }, "node_modules/typescript": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", - "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", + "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", "dev": true, "license": "Apache-2.0", "bin": { @@ -31807,6 +31807,20 @@ "node": ">=8" } }, + "packages/example-react-router6/node_modules/typescript": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", + "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "packages/example-react/node_modules/@typescript-eslint/eslint-plugin": { "version": "7.16.1", "dev": true, @@ -32021,21 +32035,6 @@ "name": "state-in-url", "version": "1.0.0", "license": "ISC" - }, - "packages/example-nextjs15/node_modules/@next/swc-win32-ia32-msvc": { - "version": "14.2.16", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.16.tgz", - "integrity": "sha512-jhPl3nN0oKEshJBNDAo0etGMzv0j3q3VYorTSFqH1o3rwv1MQRdor27u1zhkgsHPNeY1jxcgyx1ZsCkDD1IHgg==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } } } } diff --git a/package.json b/package.json index dddd844..0774db2 100644 --- a/package.json +++ b/package.json @@ -382,7 +382,7 @@ "semantic-release": "^24.1.0", "standard-version": "^9.5.0", "ts-node": "^10.9.2", - "typescript": "^5.7.2", + "typescript": "^5.3.3", "unplugin-auto-import": "^0.18.5", "vitest": "^2.1.5", "wait-on": "^8.0.1", diff --git a/tsconfig.base.json b/tsconfig.base.json index 887c5d5..a614bff 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "ES2023", + "target": "ES2022", "outDir": "./dist", "declaration": true, "declarationDir": "dist", @@ -21,7 +21,7 @@ ], "lib": [ "ES2021", - "ES2023", + "ES2022", "ES2021.String", "DOM", "DOM.Iterable",