diff --git a/docs/breaking-changes/v9.md b/docs/breaking-changes/v9.md new file mode 100644 index 0000000..29caa2d --- /dev/null +++ b/docs/breaking-changes/v9.md @@ -0,0 +1,3 @@ +# Breaking changes in v9 + +- Major version upgrade of `@typescript-eslint` dependencies from v7 to v8 may result in incompatibility errors in usage. Please report if install logs new errors. diff --git a/package-lock.json b/package-lock.json index 266ffa1..eacad53 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "8.0.0", "license": "MIT", "dependencies": { - "@open-turo/eslint-config-typescript": "9.0.21", + "@open-turo/eslint-config-typescript": "10.0.0", "eslint-plugin-jsx-a11y": "6.10.2", "eslint-plugin-react": "7.37.2", "eslint-plugin-react-hooks": "5.0.0" @@ -2204,13 +2204,13 @@ } }, "node_modules/@open-turo/eslint-config-typescript": { - "version": "9.0.21", - "resolved": "https://registry.npmjs.org/@open-turo/eslint-config-typescript/-/eslint-config-typescript-9.0.21.tgz", - "integrity": "sha512-/MZ7ywRAU1m+kQ8P86GFr3awnbluxQBbQ07wLZDDRIwPRpoABdN3DQbQsFysCmABop2HyGPPXwsyfhsN6AfR8w==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@open-turo/eslint-config-typescript/-/eslint-config-typescript-10.0.0.tgz", + "integrity": "sha512-yyM7w8GaAQalLhr8ZHSTN8Tj3iOUSWfleIEeqIyRwduiW7DPjh4p9a5zpG/+SYuW30RuwDv+I8ybVqT1tjiZ0A==", "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "7.18.0", - "@typescript-eslint/parser": "7.18.0", + "@typescript-eslint/eslint-plugin": "8.12.0", + "@typescript-eslint/parser": "8.12.0", "eslint-config-prettier": "9.1.0", "eslint-import-resolver-typescript": "3.6.3", "eslint-plugin-import": "2.31.0", @@ -2232,6 +2232,188 @@ "prettier": "^3.0.0" } }, + "node_modules/@open-turo/eslint-config-typescript/node_modules/@typescript-eslint/eslint-plugin": { + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.12.0.tgz", + "integrity": "sha512-uRqchEKT0/OwDePTwCjSFO2aH4zccdeQ7DgAzM/8fuXc+PAXvpdMRbuo+oCmK1lSfXssk2UUBNiWihobKxQp/g==", + "license": "MIT", + "dependencies": { + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "8.12.0", + "@typescript-eslint/type-utils": "8.12.0", + "@typescript-eslint/utils": "8.12.0", + "@typescript-eslint/visitor-keys": "8.12.0", + "graphemer": "^1.4.0", + "ignore": "^5.3.1", + "natural-compare": "^1.4.0", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", + "eslint": "^8.57.0 || ^9.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@open-turo/eslint-config-typescript/node_modules/@typescript-eslint/parser": { + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.12.0.tgz", + "integrity": "sha512-7U20duDQWAOhCk2VtyY41Vor/CJjiEW063Zel9aoRXq89FQ/jr+0e0m3kxh9Sk5SFW9B1AblVIBtXd+1xQ1NWQ==", + "license": "BSD-2-Clause", + "dependencies": { + "@typescript-eslint/scope-manager": "8.12.0", + "@typescript-eslint/types": "8.12.0", + "@typescript-eslint/typescript-estree": "8.12.0", + "@typescript-eslint/visitor-keys": "8.12.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@open-turo/eslint-config-typescript/node_modules/@typescript-eslint/scope-manager": { + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.12.0.tgz", + "integrity": "sha512-jbuCXK18iEshRFUtlCIMAmOKA6OAsKjo41UcXPqx7ZWh2b4cmg6pV/pNcZSB7oW9mtgF95yizr7Jnwt3IUD2pA==", + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.12.0", + "@typescript-eslint/visitor-keys": "8.12.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@open-turo/eslint-config-typescript/node_modules/@typescript-eslint/type-utils": { + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.12.0.tgz", + "integrity": "sha512-cHioAZO/nLgyzTmwv7gWIjEKMHSbioKEZqLCaItTn7RvJP1QipuGVwEjPJa6Kv9u9UiUMVAESY9JH186TjKITw==", + "license": "MIT", + "dependencies": { + "@typescript-eslint/typescript-estree": "8.12.0", + "@typescript-eslint/utils": "8.12.0", + "debug": "^4.3.4", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@open-turo/eslint-config-typescript/node_modules/@typescript-eslint/types": { + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.12.0.tgz", + "integrity": "sha512-Cc+iNtqBJ492f8KLEmKXe1l6683P0MlFO8Bk1NMphnzVIGH4/Wn9kvandFH+gYR1DDUjH/hgeWRGdO5Tj8gjYg==", + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@open-turo/eslint-config-typescript/node_modules/@typescript-eslint/typescript-estree": { + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.12.0.tgz", + "integrity": "sha512-a4koVV7HHVOQWcGb6ZcAlunJnAdwo/CITRbleQBSjq5+2WLoAJQCAAiecvrAdSM+n/man6Ghig5YgdGVIC6xqw==", + "license": "BSD-2-Clause", + "dependencies": { + "@typescript-eslint/types": "8.12.0", + "@typescript-eslint/visitor-keys": "8.12.0", + "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@open-turo/eslint-config-typescript/node_modules/@typescript-eslint/utils": { + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.12.0.tgz", + "integrity": "sha512-5i1tqLwlf0fpX1j05paNKyIzla/a4Y3Xhh6AFzi0do/LDJLvohtZYaisaTB9kq0D4uBocAxWDTGzNMOCCwIgXA==", + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "8.12.0", + "@typescript-eslint/types": "8.12.0", + "@typescript-eslint/typescript-estree": "8.12.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" + } + }, + "node_modules/@open-turo/eslint-config-typescript/node_modules/@typescript-eslint/visitor-keys": { + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.12.0.tgz", + "integrity": "sha512-2rXkr+AtZZLuNY18aUjv5wtB9oUiwY1WnNi7VTsdCdy1m958ULeUKoAegldQTjqpbpNJ5cQ4egR8/bh5tbrKKQ==", + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.12.0", + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, "node_modules/@pkgr/core": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.1.1.tgz", @@ -2279,6 +2461,8 @@ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.18.0.tgz", "integrity": "sha512-94EQTWZ40mzBc42ATNIBimBEDltSJ9RQHCC8vc/PDbxi4k8dVwUAv4o98dk50M1zB+JGFxp43FP7f8+FP8R6Sw==", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "@eslint-community/regexpp": "^4.10.0", "@typescript-eslint/scope-manager": "7.18.0", @@ -2453,6 +2637,7 @@ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.18.0.tgz", "integrity": "sha512-4Z+L8I2OqhZV8qA132M4wNL30ypZGYOQVBfMgxDH/K5UX0PNqTu1c6za9ST5r9+tavvHiTWmBnKzpCJ/GlVFtg==", "license": "BSD-2-Clause", + "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "7.18.0", "@typescript-eslint/types": "7.18.0", @@ -2498,6 +2683,8 @@ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.18.0.tgz", "integrity": "sha512-XL0FJXuCLaDuX2sYqZUUSOJ2sG5/i1AAze+axqmLnSkNEVMVYLF+cbwlB2w8D1tinFuSikHmFta+P+HOofrLeA==", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "@typescript-eslint/typescript-estree": "7.18.0", "@typescript-eslint/utils": "7.18.0", diff --git a/package.json b/package.json index 1611f64..17e6f79 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Turo engineering", "description": "Turo eslint configuration for react", "dependencies": { - "@open-turo/eslint-config-typescript": "9.0.21", + "@open-turo/eslint-config-typescript": "10.0.0", "eslint-plugin-jsx-a11y": "6.10.2", "eslint-plugin-react": "7.37.2", "eslint-plugin-react-hooks": "5.0.0"