From a3a0d5d9a05997af5806731f2f47bc5979ace62b Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Sun, 19 Jul 2026 18:53:34 +0200 Subject: [PATCH] Upgrade `eslint-plugin-unicorn` to version 72.0.0 This is a major version bump, but the changelog at https://github.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v72.0.0 doesn't indicate any breaking changes that should impact us. --- package-lock.json | 40 ++++++++++++++++++++++++++++++++-------- package.json | 2 +- 2 files changed, 33 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8a4611171..d0629307e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,7 +32,7 @@ "eslint-plugin-perfectionist": "^5.10.0", "eslint-plugin-prettier": "^5.5.6", "eslint-plugin-regexp": "^3.1.1", - "eslint-plugin-unicorn": "^71.1.0", + "eslint-plugin-unicorn": "^72.0.0", "globals": "^17.7.0", "gulp": "^5.0.1", "gulp-cli": "^3.1.0", @@ -3281,6 +3281,27 @@ "node": "^20.19.0 || ^22.13.0 || >=24" } }, + "node_modules/@eslint/css-tree": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@eslint/css-tree/-/css-tree-4.0.4.tgz", + "integrity": "sha512-nxMparyhqVWQvadx9x8dIfubfIPOE+X2b2waua8fzdnM9vdp9rgVtwEZlG0TmCwEUz/d/f40fzvO/eqBwdxz0A==", + "dev": true, + "license": "MIT", + "dependencies": { + "mdn-data": "2.28.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@eslint/css-tree/node_modules/mdn-data": { + "version": "2.28.1", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.28.1.tgz", + "integrity": "sha512-U9w+PzSZ00Z5m9rZ5ARVFL5xOfuCHdKYi/1RRwDCJsboFgJDNT3zT6PIPD7mZQYaQLhsZM3GfDRgSMRHhSmVng==", + "dev": true, + "license": "CC0-1.0" + }, "node_modules/@eslint/json": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/@eslint/json/-/json-2.0.1.tgz", @@ -6656,18 +6677,20 @@ } }, "node_modules/eslint-plugin-unicorn": { - "version": "71.1.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-71.1.0.tgz", - "integrity": "sha512-dn3YmR3qLLUeYyo/os3ubZ7UHQJ1WbBAgC9cIhnLTyMj9J6kivuc2U1fCmYetLexUlTDVYtBqhjSj/VaebTe6Q==", + "version": "72.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-72.0.0.tgz", + "integrity": "sha512-hqO6ksoOHO+ZhdseTuKRVQbx9U7PRO/cv8qAR1mctwzdVO2hYud8uS9luAhp43RJgziYgHAph8eHyipT8GL0ng==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", + "@eslint/css-tree": "^4.0.4", "browserslist": "^4.28.4", "change-case": "^5.4.4", "ci-info": "^4.4.0", "core-js-compat": "^3.49.0", "detect-indent": "^7.0.2", + "entities": "^4.5.0", "find-up-simple": "^1.0.1", "globals": "^17.7.0", "indent-string": "^5.0.0", @@ -6678,7 +6701,8 @@ "regjsparser": "^0.13.2", "reserved-identifiers": "^1.2.0", "semver": "^7.8.5", - "strip-indent": "^4.1.1" + "strip-indent": "^4.1.1", + "yaml": "^2.9.0" }, "engines": { "node": ">=22" @@ -13229,9 +13253,9 @@ "license": "ISC" }, "node_modules/yaml": { - "version": "2.8.3", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.3.tgz", - "integrity": "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==", + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.0.tgz", + "integrity": "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==", "dev": true, "license": "ISC", "bin": { diff --git a/package.json b/package.json index a9a561991..a65f38acb 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "eslint-plugin-perfectionist": "^5.10.0", "eslint-plugin-prettier": "^5.5.6", "eslint-plugin-regexp": "^3.1.1", - "eslint-plugin-unicorn": "^71.1.0", + "eslint-plugin-unicorn": "^72.0.0", "globals": "^17.7.0", "gulp": "^5.0.1", "gulp-cli": "^3.1.0",