From ec8600127315e8c650392eed95e8212eda445704 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Fri, 24 May 2024 09:40:42 -0700 Subject: [PATCH 1/3] [Dev Deps] update `@babel/core`, `@babel/eslint-parser`, `@babel/plugin-syntax-decorators`, `@babel/plugin-syntax-do-expressions`, `@babel/plugin-syntax-function-bind`, `@babel/preset-react` --- package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 685e65a222..025bf9ea83 100644 --- a/package.json +++ b/package.json @@ -45,12 +45,12 @@ "string.prototype.matchall": "^4.0.10" }, "devDependencies": { - "@babel/core": "^7.24.0", - "@babel/eslint-parser": "^7.23.10", - "@babel/plugin-syntax-decorators": "^7.24.0", - "@babel/plugin-syntax-do-expressions": "^7.23.3", - "@babel/plugin-syntax-function-bind": "^7.23.3", - "@babel/preset-react": "^7.23.3", + "@babel/core": "^7.24.6", + "@babel/eslint-parser": "^7.24.6", + "@babel/plugin-syntax-decorators": "^7.24.6", + "@babel/plugin-syntax-do-expressions": "^7.24.6", + "@babel/plugin-syntax-function-bind": "^7.24.6", + "@babel/preset-react": "^7.24.6", "@types/eslint": "=7.2.10", "@types/estree": "0.0.52", "@types/node": "^4.9.5", From d79605a796475e438b654f10c1c1c66ebc92886a Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Fri, 24 May 2024 09:41:56 -0700 Subject: [PATCH 2/3] [Deps] update `array-includes`, `array.prototype.findlast`, `es-iterator-helpers`, `object.entries`, `object.fromentries`, `object.hasown`, `object.values`, `string.prototype.matchall` --- package.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 025bf9ea83..1c8300d329 100644 --- a/package.json +++ b/package.json @@ -25,24 +25,24 @@ "homepage": "https://github.com/jsx-eslint/eslint-plugin-react", "bugs": "https://github.com/jsx-eslint/eslint-plugin-react/issues", "dependencies": { - "array-includes": "^3.1.7", - "array.prototype.findlast": "^1.2.4", + "array-includes": "^3.1.8", + "array.prototype.findlast": "^1.2.5", "array.prototype.flatmap": "^1.3.2", "array.prototype.toreversed": "^1.1.2", "array.prototype.tosorted": "^1.1.3", "doctrine": "^2.1.0", - "es-iterator-helpers": "^1.0.17", + "es-iterator-helpers": "^1.0.19", "estraverse": "^5.3.0", "jsx-ast-utils": "^2.4.1 || ^3.0.0", "minimatch": "^3.1.2", - "object.entries": "^1.1.7", - "object.fromentries": "^2.0.7", - "object.hasown": "^1.1.3", - "object.values": "^1.1.7", + "object.entries": "^1.1.8", + "object.fromentries": "^2.0.8", + "object.hasown": "^1.1.4", + "object.values": "^1.2.0", "prop-types": "^15.8.1", "resolve": "^2.0.0-next.5", "semver": "^6.3.1", - "string.prototype.matchall": "^4.0.10" + "string.prototype.matchall": "^4.0.11" }, "devDependencies": { "@babel/core": "^7.24.6", From 417e1ca292788c75618dc994b084c3a57c483fce Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Mon, 27 May 2024 22:40:06 -0700 Subject: [PATCH 3/3] Update CHANGELOG and bump version --- CHANGELOG.md | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a2c437523f..a0d5cd3185 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,12 +5,18 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange ## Unreleased +## [7.34.2] - 2024.05.24 + ### Fixed * [`boolean-prop-naming`]: avoid a crash with a non-TSTypeReference type ([#3718][] @developer-bandi) * [`jsx-no-leaked-render`]: invalid report if left side is boolean ([#3746][] @akulsr0) * [`jsx-closing-bracket-location`]: message shows `{{details}}` when there are no details ([#3759][] @mdjermanovic) * [`no-invalid-html-attribute`]: ensure error messages are correct ([#3759][] @mdjermanovic, @ljharb) +### Changed + * [Refactor] create various eslint utils to fix eslint deprecations ([#3759][] @mdjermanovic, @ljharb) + +[7.34.2]: https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.1...v7.34.2 [#3759]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3759 [#3746]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3746 [#3718]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3718 diff --git a/package.json b/package.json index 1c8300d329..4f5155c832 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-react", - "version": "7.34.1", + "version": "7.34.2", "author": "Yannick Croissant ", "description": "React specific linting rules for ESLint", "main": "index.js",