diff --git a/composer.json b/composer.json
index 9b3877e6..37510e39 100644
--- a/composer.json
+++ b/composer.json
@@ -8,8 +8,8 @@
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.2.1",
- "phpcompatibility/phpcompatibility-wp": "dev-master",
- "phpcompatibility/php-compatibility": "dev-develop as 9.99.99",
+ "phpcompatibility/phpcompatibility-wp": "^2.1.8",
+ "phpcompatibility/php-compatibility": "^9.3.5",
"automattic/vipwpcs": "^3.0",
"wp-coding-standards/wpcs": "^3.0",
"phpstan/phpstan": "^2.0",
@@ -41,5 +41,6 @@
"phpunit"
]
},
- "minimum-stability": "dev"
+ "minimum-stability": "dev",
+ "prefer-stable": true
}
diff --git a/composer.lock b/composer.lock
index 4a2dcac9..26f2a5a0 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,37 +4,37 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "2714007dc14d04a5434f739d0e9f482d",
+ "content-hash": "ae4b3e3ab2f9f5c925941b5e76a84fba",
"packages": [],
"packages-dev": [
{
"name": "automattic/vipwpcs",
- "version": "3.0.0",
+ "version": "3.1.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/VIP-Coding-Standards.git",
- "reference": "1b8960ebff9ea3eb482258a906ece4d1ee1e25fd"
+ "reference": "9c47cd036754e0e5f354a9914568f052043c3f30"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Automattic/VIP-Coding-Standards/zipball/1b8960ebff9ea3eb482258a906ece4d1ee1e25fd",
- "reference": "1b8960ebff9ea3eb482258a906ece4d1ee1e25fd",
+ "url": "https://api.github.com/repos/Automattic/VIP-Coding-Standards/zipball/9c47cd036754e0e5f354a9914568f052043c3f30",
+ "reference": "9c47cd036754e0e5f354a9914568f052043c3f30",
"shasum": ""
},
"require": {
- "php": ">=5.4",
- "phpcsstandards/phpcsextra": "^1.1.0",
- "phpcsstandards/phpcsutils": "^1.0.8",
- "sirbrillig/phpcs-variable-analysis": "^2.11.17",
- "squizlabs/php_codesniffer": "^3.7.2",
- "wp-coding-standards/wpcs": "^3.0"
+ "php": ">=7.4",
+ "phpcsstandards/phpcsextra": "^1.5.1",
+ "phpcsstandards/phpcsutils": "^1.2.3",
+ "sirbrillig/phpcs-variable-analysis": "^2.13.0",
+ "squizlabs/php_codesniffer": "^3.13.5",
+ "wp-coding-standards/wpcs": "^3.4.1"
},
"require-dev": {
"php-parallel-lint/php-console-highlighter": "^1.0.0",
- "php-parallel-lint/php-parallel-lint": "^1.3.2",
+ "php-parallel-lint/php-parallel-lint": "^1.4.0",
"phpcompatibility/php-compatibility": "^9",
- "phpcsstandards/phpcsdevtools": "^1.0",
- "phpunit/phpunit": "^4 || ^5 || ^6 || ^7"
+ "phpcsstandards/phpcsdevtools": "^1.2.3",
+ "phpunit/phpunit": "^9"
},
"type": "phpcodesniffer-standard",
"notification-url": "https://packagist.org/downloads/",
@@ -59,7 +59,7 @@
"source": "https://github.com/Automattic/VIP-Coding-Standards",
"wiki": "https://github.com/Automattic/VIP-Coding-Standards/wiki"
},
- "time": "2023-09-05T11:01:05+00:00"
+ "time": "2026-07-27T14:33:48+00:00"
},
{
"name": "dealerdirect/phpcodesniffer-composer-installer",
@@ -159,29 +159,29 @@
},
{
"name": "doctrine/instantiator",
- "version": "1.5.x-dev",
+ "version": "1.5.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/instantiator.git",
- "reference": "12be2483e1f0e850b353e26869e4e6c038459501"
+ "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/12be2483e1f0e850b353e26869e4e6c038459501",
- "reference": "12be2483e1f0e850b353e26869e4e6c038459501",
+ "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b",
+ "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b",
"shasum": ""
},
"require": {
"php": "^7.1 || ^8.0"
},
"require-dev": {
- "doctrine/coding-standard": "^9 || ^12",
+ "doctrine/coding-standard": "^9 || ^11",
"ext-pdo": "*",
"ext-phar": "*",
"phpbench/phpbench": "^0.16 || ^1",
"phpstan/phpstan": "^1.4",
"phpstan/phpstan-phpunit": "^1",
- "phpunit/phpunit": "^7.5 || ^8.5 || ^9.6",
+ "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
"vimeo/psalm": "^4.30 || ^5.4"
},
"type": "library",
@@ -209,7 +209,7 @@
],
"support": {
"issues": "https://github.com/doctrine/instantiator/issues",
- "source": "https://github.com/doctrine/instantiator/tree/1.5.x"
+ "source": "https://github.com/doctrine/instantiator/tree/1.5.0"
},
"funding": [
{
@@ -225,7 +225,7 @@
"type": "tidelift"
}
],
- "time": "2023-12-09T14:16:53+00:00"
+ "time": "2022-12-30T00:15:36+00:00"
},
{
"name": "myclabs/deep-copy",
@@ -289,16 +289,16 @@
},
{
"name": "nikic/php-parser",
- "version": "dev-master",
+ "version": "v5.8.0",
"source": {
"type": "git",
"url": "https://github.com/nikic/PHP-Parser.git",
- "reference": "1aa08bf07171e5237490f05e9db648f50abfce0a"
+ "reference": "044a6a392ff8ad0d61f14370a5fbbd0a0107152f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/1aa08bf07171e5237490f05e9db648f50abfce0a",
- "reference": "1aa08bf07171e5237490f05e9db648f50abfce0a",
+ "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/044a6a392ff8ad0d61f14370a5fbbd0a0107152f",
+ "reference": "044a6a392ff8ad0d61f14370a5fbbd0a0107152f",
"shasum": ""
},
"require": {
@@ -310,7 +310,6 @@
"ircmaxell/php-yacc": "^0.0.7",
"phpunit/phpunit": "^9.0"
},
- "default-branch": true,
"bin": [
"bin/php-parse"
],
@@ -341,22 +340,22 @@
],
"support": {
"issues": "https://github.com/nikic/PHP-Parser/issues",
- "source": "https://github.com/nikic/PHP-Parser/tree/master"
+ "source": "https://github.com/nikic/PHP-Parser/tree/v5.8.0"
},
- "time": "2026-08-23T19:01:01+00:00"
+ "time": "2026-07-04T14:30:18+00:00"
},
{
"name": "phar-io/manifest",
- "version": "dev-master",
+ "version": "2.0.4",
"source": {
"type": "git",
"url": "https://github.com/phar-io/manifest.git",
- "reference": "c581d4941e196459bf76c945a8ca922963a66708"
+ "reference": "54750ef60c58e43759730615a392c31c80e23176"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phar-io/manifest/zipball/c581d4941e196459bf76c945a8ca922963a66708",
- "reference": "c581d4941e196459bf76c945a8ca922963a66708",
+ "url": "https://api.github.com/repos/phar-io/manifest/zipball/54750ef60c58e43759730615a392c31c80e23176",
+ "reference": "54750ef60c58e43759730615a392c31c80e23176",
"shasum": ""
},
"require": {
@@ -367,7 +366,6 @@
"phar-io/version": "^3.0.1",
"php": "^7.2 || ^8.0"
},
- "default-branch": true,
"type": "library",
"extra": {
"branch-alias": {
@@ -403,7 +401,7 @@
"description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
"support": {
"issues": "https://github.com/phar-io/manifest/issues",
- "source": "https://github.com/phar-io/manifest/tree/master"
+ "source": "https://github.com/phar-io/manifest/tree/2.0.4"
},
"funding": [
{
@@ -411,7 +409,7 @@
"type": "github"
}
],
- "time": "2025-11-27T15:23:09+00:00"
+ "time": "2024-03-03T12:33:53+00:00"
},
{
"name": "phar-io/version",
@@ -606,45 +604,33 @@
},
{
"name": "phpcompatibility/php-compatibility",
- "version": "dev-develop",
+ "version": "9.3.5",
"source": {
"type": "git",
"url": "https://github.com/PHPCompatibility/PHPCompatibility.git",
- "reference": "3a363ebda5075161128619d4c84a1f8ab3e37680"
+ "reference": "9fb324479acf6f39452e0655d2429cc0d3914243"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/3a363ebda5075161128619d4c84a1f8ab3e37680",
- "reference": "3a363ebda5075161128619d4c84a1f8ab3e37680",
+ "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/9fb324479acf6f39452e0655d2429cc0d3914243",
+ "reference": "9fb324479acf6f39452e0655d2429cc0d3914243",
"shasum": ""
},
"require": {
- "php": ">=5.4",
- "phpcsstandards/phpcsutils": "^1.0.5",
- "squizlabs/php_codesniffer": "^3.7.1"
+ "php": ">=5.3",
+ "squizlabs/php_codesniffer": "^2.3 || ^3.0.2"
},
- "replace": {
- "wimg/php-compatibility": "*"
+ "conflict": {
+ "squizlabs/php_codesniffer": "2.6.2"
},
"require-dev": {
- "php-parallel-lint/php-console-highlighter": "^1.0.0",
- "php-parallel-lint/php-parallel-lint": "^1.3.2",
- "phpcsstandards/phpcsdevcs": "^1.1.3",
- "phpcsstandards/phpcsdevtools": "^1.2.0",
- "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4 || ^10.1.0",
- "yoast/phpunit-polyfills": "^1.0.5 || ^2.0.0"
+ "phpunit/phpunit": "~4.5 || ^5.0 || ^6.0 || ^7.0"
},
"suggest": {
+ "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically.",
"roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
},
- "default-branch": true,
"type": "phpcodesniffer-standard",
- "extra": {
- "branch-alias": {
- "dev-master": "9.x-dev",
- "dev-develop": "10.x-dev"
- }
- },
"notification-url": "https://packagist.org/downloads/",
"license": [
"LGPL-3.0-or-later"
@@ -670,39 +656,38 @@
"keywords": [
"compatibility",
"phpcs",
- "standards",
- "static analysis"
+ "standards"
],
"support": {
"issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues",
"source": "https://github.com/PHPCompatibility/PHPCompatibility"
},
- "time": "2023-06-26T10:52:01+00:00"
+ "time": "2019-12-27T09:44:58+00:00"
},
{
"name": "phpcompatibility/phpcompatibility-paragonie",
- "version": "1.3.2",
+ "version": "1.3.4",
"source": {
"type": "git",
"url": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie.git",
- "reference": "bba5a9dfec7fcfbd679cfaf611d86b4d3759da26"
+ "reference": "244d7b04fc4bc2117c15f5abe23eb933b5f02bbf"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/bba5a9dfec7fcfbd679cfaf611d86b4d3759da26",
- "reference": "bba5a9dfec7fcfbd679cfaf611d86b4d3759da26",
+ "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/244d7b04fc4bc2117c15f5abe23eb933b5f02bbf",
+ "reference": "244d7b04fc4bc2117c15f5abe23eb933b5f02bbf",
"shasum": ""
},
"require": {
"phpcompatibility/php-compatibility": "^9.0"
},
"require-dev": {
- "dealerdirect/phpcodesniffer-composer-installer": "^0.7",
+ "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"paragonie/random_compat": "dev-master",
"paragonie/sodium_compat": "dev-master"
},
"suggest": {
- "dealerdirect/phpcodesniffer-composer-installer": "^0.7 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.",
+ "dealerdirect/phpcodesniffer-composer-installer": "^1.0 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.",
"roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
},
"type": "phpcodesniffer-standard",
@@ -732,27 +717,47 @@
],
"support": {
"issues": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/issues",
+ "security": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/security/policy",
"source": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie"
},
- "time": "2022-10-25T01:46:02+00:00"
+ "funding": [
+ {
+ "url": "https://github.com/PHPCompatibility",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/jrfnl",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/php_codesniffer",
+ "type": "open_collective"
+ },
+ {
+ "url": "https://thanks.dev/u/gh/phpcompatibility",
+ "type": "thanks_dev"
+ }
+ ],
+ "time": "2025-09-19T17:43:28+00:00"
},
{
"name": "phpcompatibility/phpcompatibility-wp",
- "version": "dev-master",
+ "version": "2.1.8",
"source": {
"type": "git",
"url": "https://github.com/PHPCompatibility/PHPCompatibilityWP.git",
- "reference": "262f9d81273932315d15d704f69b9d678b939cb3"
+ "reference": "7c8d18b4d90dac9e86b0869a608fa09158e168fa"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/262f9d81273932315d15d704f69b9d678b939cb3",
- "reference": "262f9d81273932315d15d704f69b9d678b939cb3",
+ "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/7c8d18b4d90dac9e86b0869a608fa09158e168fa",
+ "reference": "7c8d18b4d90dac9e86b0869a608fa09158e168fa",
"shasum": ""
},
"require": {
"phpcompatibility/php-compatibility": "^9.0",
- "phpcompatibility/phpcompatibility-paragonie": "^1.0"
+ "phpcompatibility/phpcompatibility-paragonie": "^1.0",
+ "squizlabs/php_codesniffer": "^3.3"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0"
@@ -761,7 +766,6 @@
"dealerdirect/phpcodesniffer-composer-installer": "^1.0 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.",
"roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
},
- "default-branch": true,
"type": "phpcodesniffer-standard",
"notification-url": "https://packagist.org/downloads/",
"license": [
@@ -788,37 +792,55 @@
],
"support": {
"issues": "https://github.com/PHPCompatibility/PHPCompatibilityWP/issues",
+ "security": "https://github.com/PHPCompatibility/PHPCompatibilityWP/security/policy",
"source": "https://github.com/PHPCompatibility/PHPCompatibilityWP"
},
- "time": "2023-01-05T13:34:27+00:00"
+ "funding": [
+ {
+ "url": "https://github.com/PHPCompatibility",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/jrfnl",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/php_codesniffer",
+ "type": "open_collective"
+ },
+ {
+ "url": "https://thanks.dev/u/gh/phpcompatibility",
+ "type": "thanks_dev"
+ }
+ ],
+ "time": "2025-10-18T00:05:59+00:00"
},
{
"name": "phpcsstandards/phpcsextra",
- "version": "dev-develop",
+ "version": "1.5.1",
"source": {
"type": "git",
"url": "https://github.com/PHPCSStandards/PHPCSExtra.git",
- "reference": "11d387c6642b6e4acaf0bd9bf5203b8cca1ec489"
+ "reference": "39467533fdb742446d68c1d10ac33d625ee0311c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/11d387c6642b6e4acaf0bd9bf5203b8cca1ec489",
- "reference": "11d387c6642b6e4acaf0bd9bf5203b8cca1ec489",
+ "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/39467533fdb742446d68c1d10ac33d625ee0311c",
+ "reference": "39467533fdb742446d68c1d10ac33d625ee0311c",
"shasum": ""
},
"require": {
"php": ">=5.4",
- "phpcsstandards/phpcsutils": "^1.0.9",
- "squizlabs/php_codesniffer": "^3.8.0"
+ "phpcsstandards/phpcsutils": "^1.2.3",
+ "squizlabs/php_codesniffer": "^3.13.5 || ^4.0.1"
},
"require-dev": {
"php-parallel-lint/php-console-highlighter": "^1.0",
- "php-parallel-lint/php-parallel-lint": "^1.3.2",
- "phpcsstandards/phpcsdevcs": "^1.1.6",
+ "php-parallel-lint/php-parallel-lint": "^1.4.0",
+ "phpcsstandards/phpcsdevcs": "^1.2.0",
"phpcsstandards/phpcsdevtools": "^1.2.1",
- "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0"
+ "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
},
- "default-branch": true,
"type": "phpcodesniffer-standard",
"extra": {
"branch-alias": {
@@ -867,37 +889,40 @@
{
"url": "https://opencollective.com/php_codesniffer",
"type": "open_collective"
+ },
+ {
+ "url": "https://thanks.dev/u/gh/phpcsstandards",
+ "type": "thanks_dev"
}
],
- "time": "2023-12-08T16:49:07+00:00"
+ "time": "2026-07-27T11:13:17+00:00"
},
{
"name": "phpcsstandards/phpcsutils",
- "version": "dev-develop",
+ "version": "1.2.3",
"source": {
"type": "git",
"url": "https://github.com/PHPCSStandards/PHPCSUtils.git",
- "reference": "87630f9be25f94295687980c61b61ff4e9ea06f6"
+ "reference": "5f35d9408c54d7b529501f3c688b6eae562aea1f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/87630f9be25f94295687980c61b61ff4e9ea06f6",
- "reference": "87630f9be25f94295687980c61b61ff4e9ea06f6",
+ "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/5f35d9408c54d7b529501f3c688b6eae562aea1f",
+ "reference": "5f35d9408c54d7b529501f3c688b6eae562aea1f",
"shasum": ""
},
"require": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0",
"php": ">=5.4",
- "squizlabs/php_codesniffer": "^3.7.1 || 4.0.x-dev@dev"
+ "squizlabs/php_codesniffer": "^3.13.5 || ^4.0.1"
},
"require-dev": {
"ext-filter": "*",
"php-parallel-lint/php-console-highlighter": "^1.0",
- "php-parallel-lint/php-parallel-lint": "^1.3.2",
- "phpcsstandards/phpcsdevcs": "^1.1.6",
- "yoast/phpunit-polyfills": "^1.0.5 || ^2.0.0"
+ "php-parallel-lint/php-parallel-lint": "^1.4.0",
+ "phpcsstandards/phpcsdevcs": "^1.2.0",
+ "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0 || ^3.0.0"
},
- "default-branch": true,
"type": "phpcodesniffer-standard",
"extra": {
"branch-alias": {
@@ -933,6 +958,7 @@
"phpcodesniffer-standard",
"phpcs",
"phpcs3",
+ "phpcs4",
"standards",
"static analysis",
"tokens",
@@ -941,17 +967,36 @@
"support": {
"docs": "https://phpcsutils.com/",
"issues": "https://github.com/PHPCSStandards/PHPCSUtils/issues",
+ "security": "https://github.com/PHPCSStandards/PHPCSUtils/security/policy",
"source": "https://github.com/PHPCSStandards/PHPCSUtils"
},
- "time": "2023-06-26T10:35:06+00:00"
+ "funding": [
+ {
+ "url": "https://github.com/PHPCSStandards",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/jrfnl",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/php_codesniffer",
+ "type": "open_collective"
+ },
+ {
+ "url": "https://thanks.dev/u/gh/phpcsstandards",
+ "type": "thanks_dev"
+ }
+ ],
+ "time": "2026-07-27T10:28:41+00:00"
},
{
"name": "phpstan/phpstan",
- "version": "2.2.x-dev",
+ "version": "2.2.12",
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpstan/zipball/c4cda3fb3d5fe1615d1b53edee13525600e39868",
- "reference": "c4cda3fb3d5fe1615d1b53edee13525600e39868",
+ "url": "https://api.github.com/repos/phpstan/phpstan/zipball/174b0d88710f00a42598886504dd7a146f91ace5",
+ "reference": "174b0d88710f00a42598886504dd7a146f91ace5",
"shasum": ""
},
"require": {
@@ -960,7 +1005,6 @@
"conflict": {
"phpstan/phpstan-shim": "*"
},
- "default-branch": true,
"bin": [
"phpstan",
"phpstan.phar"
@@ -1008,7 +1052,7 @@
"type": "github"
}
],
- "time": "2026-06-17T15:28:08+00:00"
+ "time": "2026-08-31T19:09:43+00:00"
},
{
"name": "phpunit/php-code-coverage",
@@ -2274,16 +2318,16 @@
},
{
"name": "sebastian/resource-operations",
- "version": "dev-main",
+ "version": "3.0.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/resource-operations.git",
- "reference": "ff553e7482dcee39fa4acc2b175d6ddeb0f7bc25"
+ "reference": "05d5692a7993ecccd56a03e40cd7e5b09b1d404e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ff553e7482dcee39fa4acc2b175d6ddeb0f7bc25",
- "reference": "ff553e7482dcee39fa4acc2b175d6ddeb0f7bc25",
+ "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/05d5692a7993ecccd56a03e40cd7e5b09b1d404e",
+ "reference": "05d5692a7993ecccd56a03e40cd7e5b09b1d404e",
"shasum": ""
},
"require": {
@@ -2292,7 +2336,6 @@
"require-dev": {
"phpunit/phpunit": "^9.0"
},
- "default-branch": true,
"type": "library",
"extra": {
"branch-alias": {
@@ -2317,7 +2360,7 @@
"description": "Provides a list of PHP built-in functions that operate on resources",
"homepage": "https://www.github.com/sebastianbergmann/resource-operations",
"support": {
- "source": "https://github.com/sebastianbergmann/resource-operations/tree/main"
+ "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.4"
},
"funding": [
{
@@ -2325,7 +2368,7 @@
"type": "github"
}
],
- "time": "2024-03-14T18:47:08+00:00"
+ "time": "2024-03-14T16:00:52+00:00"
},
{
"name": "sebastian/type",
@@ -2438,31 +2481,28 @@
},
{
"name": "sirbrillig/phpcs-variable-analysis",
- "version": "2.x-dev",
+ "version": "v2.13.0",
"source": {
"type": "git",
"url": "https://github.com/sirbrillig/phpcs-variable-analysis.git",
- "reference": "02703669a3780f6c9b293bfe6294cfb359264b10"
+ "reference": "a15e970b8a0bf64cfa5e86d941f5e6b08855f369"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sirbrillig/phpcs-variable-analysis/zipball/02703669a3780f6c9b293bfe6294cfb359264b10",
- "reference": "02703669a3780f6c9b293bfe6294cfb359264b10",
+ "url": "https://api.github.com/repos/sirbrillig/phpcs-variable-analysis/zipball/a15e970b8a0bf64cfa5e86d941f5e6b08855f369",
+ "reference": "a15e970b8a0bf64cfa5e86d941f5e6b08855f369",
"shasum": ""
},
"require": {
"php": ">=5.4.0",
- "squizlabs/php_codesniffer": "^3.5.6"
+ "squizlabs/php_codesniffer": "^3.5.7 || ^4.0.0"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7 || ^1.0",
- "phpcsstandards/phpcsdevcs": "^1.1",
- "phpstan/phpstan": "^1.7",
- "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.5 || ^7.0 || ^8.0 || ^9.0",
- "sirbrillig/phpcs-import-detection": "^1.1",
- "vimeo/psalm": "^0.2 || ^0.3 || ^1.1 || ^4.24 || ^5.0@beta"
+ "phpstan/phpstan": "^1.7 || ^2.0",
+ "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.5 || ^7.0 || ^8.0 || ^9.0 || ^10.5.32 || ^11.3.3",
+ "vimeo/psalm": "^0.2 || ^0.3 || ^1.1 || ^4.24 || ^5.0 || ^6.0 || ^7.0"
},
- "default-branch": true,
"type": "phpcodesniffer-standard",
"autoload": {
"psr-4": {
@@ -2493,20 +2533,20 @@
"source": "https://github.com/sirbrillig/phpcs-variable-analysis",
"wiki": "https://github.com/sirbrillig/phpcs-variable-analysis/wiki"
},
- "time": "2023-12-07T16:24:19+00:00"
+ "time": "2025-09-30T22:22:48+00:00"
},
{
"name": "squizlabs/php_codesniffer",
- "version": "3.x-dev",
+ "version": "3.13.6",
"source": {
"type": "git",
"url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
- "reference": "4682ac59887211d071b204054f6ba060c04b6a09"
+ "reference": "4c378e1a528ea066890fc2397cbdd2f94eb2fc91"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/4682ac59887211d071b204054f6ba060c04b6a09",
- "reference": "4682ac59887211d071b204054f6ba060c04b6a09",
+ "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/4c378e1a528ea066890fc2397cbdd2f94eb2fc91",
+ "reference": "4c378e1a528ea066890fc2397cbdd2f94eb2fc91",
"shasum": ""
},
"require": {
@@ -2572,11 +2612,11 @@
"type": "thanks_dev"
}
],
- "time": "2026-08-20T23:49:49+00:00"
+ "time": "2026-08-06T00:17:32+00:00"
},
{
"name": "szepeviktor/phpstan-wordpress",
- "version": "2.x-dev",
+ "version": "v2.0.4",
"source": {
"type": "git",
"url": "https://github.com/szepeviktor/phpstan-wordpress.git",
@@ -2606,7 +2646,6 @@
"suggest": {
"swissspidy/phpstan-no-private": "Detect usage of internal core functions, classes and methods"
},
- "default-branch": true,
"type": "phpstan-extension",
"extra": {
"phpstan": {
@@ -2634,7 +2673,7 @@
],
"support": {
"issues": "https://github.com/szepeviktor/phpstan-wordpress/issues",
- "source": "https://github.com/szepeviktor/phpstan-wordpress/tree/2.x"
+ "source": "https://github.com/szepeviktor/phpstan-wordpress/tree/v2.0.4"
},
"time": "2026-05-22T16:22:09+00:00"
},
@@ -2690,16 +2729,16 @@
},
{
"name": "wp-coding-standards/wpcs",
- "version": "3.0.1",
+ "version": "3.4.1",
"source": {
"type": "git",
"url": "https://github.com/WordPress/WordPress-Coding-Standards.git",
- "reference": "b4caf9689f1a0e4a4c632679a44e638c1c67aff1"
+ "reference": "ec2ff942335f33683a5957a85d138753876a05cf"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/b4caf9689f1a0e4a4c632679a44e638c1c67aff1",
- "reference": "b4caf9689f1a0e4a4c632679a44e638c1c67aff1",
+ "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/ec2ff942335f33683a5957a85d138753876a05cf",
+ "reference": "ec2ff942335f33683a5957a85d138753876a05cf",
"shasum": ""
},
"require": {
@@ -2707,17 +2746,17 @@
"ext-libxml": "*",
"ext-tokenizer": "*",
"ext-xmlreader": "*",
- "php": ">=5.4",
- "phpcsstandards/phpcsextra": "^1.1.0",
- "phpcsstandards/phpcsutils": "^1.0.8",
- "squizlabs/php_codesniffer": "^3.7.2"
+ "php": ">=7.2",
+ "phpcsstandards/phpcsextra": "^1.5.1",
+ "phpcsstandards/phpcsutils": "^1.2.3",
+ "squizlabs/php_codesniffer": "^3.13.5"
},
"require-dev": {
"php-parallel-lint/php-console-highlighter": "^1.0.0",
- "php-parallel-lint/php-parallel-lint": "^1.3.2",
- "phpcompatibility/php-compatibility": "^9.0",
+ "php-parallel-lint/php-parallel-lint": "^1.4.0",
+ "phpcompatibility/php-compatibility": "^10.0.0@dev",
"phpcsstandards/phpcsdevtools": "^1.2.0",
- "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
+ "phpunit/phpunit": "^8.0 || ^9.0"
},
"suggest": {
"ext-iconv": "For improved results",
@@ -2748,11 +2787,11 @@
},
"funding": [
{
- "url": "https://opencollective.com/thewpcc/contribute/wp-php-63406",
+ "url": "https://opencollective.com/php_codesniffer",
"type": "custom"
}
],
- "time": "2023-09-14T07:06:09+00:00"
+ "time": "2026-07-27T11:53:23+00:00"
},
{
"name": "yoast/phpunit-polyfills",
@@ -2818,21 +2857,13 @@
"time": "2025-02-09T18:58:54+00:00"
}
],
- "aliases": [
- {
- "package": "phpcompatibility/php-compatibility",
- "version": "dev-develop",
- "alias": "9.99.99",
- "alias_normalized": "9.99.99.0"
- }
- ],
+ "aliases": [],
"minimum-stability": "dev",
"stability-flags": {
- "phpcompatibility/php-compatibility": 20,
- "phpcompatibility/phpcompatibility-wp": 20,
- "phpunit/phpunit": 0
+ "phpunit/phpunit": 0,
+ "yoast/phpunit-polyfills": 0
},
- "prefer-stable": false,
+ "prefer-stable": true,
"prefer-lowest": false,
"platform": {
"ext-json": "*"
diff --git a/package-lock.json b/package-lock.json
index c30e7c01..fb7f21ed 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -7105,27 +7105,6 @@
"node": ">=18"
}
},
- "node_modules/@puppeteer/browsers/node_modules/extract-zip": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz",
- "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==",
- "dev": true,
- "license": "BSD-2-Clause",
- "dependencies": {
- "debug": "^4.1.1",
- "get-stream": "^5.1.0",
- "yauzl": "^2.10.0"
- },
- "bin": {
- "extract-zip": "cli.js"
- },
- "engines": {
- "node": ">= 10.17.0"
- },
- "optionalDependencies": {
- "@types/yauzl": "^2.9.1"
- }
- },
"node_modules/@radix-ui/primitive": {
"version": "1.1.7",
"resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.7.tgz",
@@ -9495,9 +9474,9 @@
}
},
"node_modules/@wordpress/babel-preset-default": {
- "version": "8.53.0",
- "resolved": "https://registry.npmjs.org/@wordpress/babel-preset-default/-/babel-preset-default-8.53.0.tgz",
- "integrity": "sha512-rP2iZ89WA7SEOyuxBHF18PYOQEdA3TarxGgFXuAfObKdoC9f83N4l1zxdGNZN7418v1uMtLnGZK4v3xZzpIgoA==",
+ "version": "8.54.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/babel-preset-default/-/babel-preset-default-8.54.0.tgz",
+ "integrity": "sha512-L2X5Neh5qTpa7THqBFATmGnfnhXsAGrDCwNYJSJ6pfgnCSyXNPKR07bbU0hreVTl1G+c42di4z7PH8sFdUxLdA==",
"dev": true,
"license": "GPL-2.0-or-later",
"dependencies": {
@@ -9507,8 +9486,8 @@
"@babel/plugin-transform-runtime": "^7.25.7",
"@babel/preset-env": "^7.25.7",
"@babel/preset-typescript": "^7.25.7",
- "@wordpress/browserslist-config": "^6.53.0",
- "@wordpress/warning": "^3.53.0",
+ "@wordpress/browserslist-config": "^6.54.0",
+ "@wordpress/warning": "^3.54.0",
"browserslist": "^4.28.4",
"core-js": "^3.31.0",
"react": "^18.3.1"
@@ -9688,9 +9667,9 @@
}
},
"node_modules/@wordpress/browserslist-config": {
- "version": "6.53.0",
- "resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-6.53.0.tgz",
- "integrity": "sha512-C95FGDuloXSkystZ6jLzcl7InsLE7ySLKFYvHR3PowIMsiDPMnqRCgDUxQsl2md97Zoejgq7s+lgaC7Yxn1gQg==",
+ "version": "6.54.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-6.54.0.tgz",
+ "integrity": "sha512-6fH6DVILWiAhDgtCvEe8ZMOkKdBaJXXs68cKVnUJVPv8pZTCsJ3zABoUAxoj6U0Kiu65leSO/mMyoP7lJmcgJQ==",
"dev": true,
"license": "GPL-2.0-or-later",
"engines": {
@@ -9802,21 +9781,21 @@
}
},
"node_modules/@wordpress/compose": {
- "version": "8.6.0",
- "resolved": "https://registry.npmjs.org/@wordpress/compose/-/compose-8.6.0.tgz",
- "integrity": "sha512-aurjKO5vgnKl3p4iRM/maMEB3z36e0FdAuJOvPTHKMUjd0OUk8n2M/n2mfRS68QxVHv8mmDm1IEg8zKobwIDmA==",
+ "version": "8.7.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/compose/-/compose-8.7.0.tgz",
+ "integrity": "sha512-wx+J+ffWOiKhFsmCLio9dE8JGK1/xh6IIEuVqQ7KV/Hakrwt6C1Zdfyhv+6tiNzYowB9gX2aXi5ESnHtDNzd5Q==",
"dev": true,
"license": "GPL-2.0-or-later",
"dependencies": {
"@types/mousetrap": "^1.6.8",
- "@wordpress/deprecated": "^4.53.0",
- "@wordpress/dom": "^4.53.0",
- "@wordpress/element": "^8.5.0",
- "@wordpress/is-shallow-equal": "^5.53.0",
- "@wordpress/keycodes": "^4.53.0",
- "@wordpress/priority-queue": "^3.53.0",
- "@wordpress/private-apis": "^1.53.0",
- "@wordpress/undo-manager": "^1.53.0",
+ "@wordpress/deprecated": "^4.54.0",
+ "@wordpress/dom": "^4.54.0",
+ "@wordpress/element": "^8.6.0",
+ "@wordpress/is-shallow-equal": "^5.54.0",
+ "@wordpress/keycodes": "^4.54.0",
+ "@wordpress/priority-queue": "^3.54.0",
+ "@wordpress/private-apis": "^1.54.0",
+ "@wordpress/undo-manager": "^1.54.0",
"change-case": "^4.1.2",
"mousetrap": "^1.6.5",
"use-memo-one": "^1.1.1"
@@ -9934,9 +9913,9 @@
}
},
"node_modules/@wordpress/dependency-extraction-webpack-plugin": {
- "version": "6.53.0",
- "resolved": "https://registry.npmjs.org/@wordpress/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-6.53.0.tgz",
- "integrity": "sha512-u3ShLXmSTDmbTTe/2qEC2W4Gq5ygz5M7ahT4yOK8mkaefRE8/faX0RMHDCboaE5rApJM/sgvtufvEaLOsO4Q0g==",
+ "version": "6.54.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-6.54.0.tgz",
+ "integrity": "sha512-ttmz4kHACQlh4LffKBowI1MjdofrYtHITPvkv58r1shBUS+F9BAntwXKAwjdKpQJ3/FGBzWiOS/AZ1KYI+3Y2A==",
"dev": true,
"license": "GPL-2.0-or-later",
"dependencies": {
@@ -9951,13 +9930,13 @@
}
},
"node_modules/@wordpress/deprecated": {
- "version": "4.53.0",
- "resolved": "https://registry.npmjs.org/@wordpress/deprecated/-/deprecated-4.53.0.tgz",
- "integrity": "sha512-JaIWiGVoKEmsiWP4XwAZvrET44T34EtPG+xCJe9vPIs9O3DHPyB83VHV4WxVRxddaf1osTmR6iPLx0sBvVTjZw==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/deprecated/-/deprecated-4.54.0.tgz",
+ "integrity": "sha512-CpTcvBtDLStxslBm2HvMrQVbZ8cS0iYjKQvaW2vJcJxf+C0CDO0bS86juBnjcxtSRXFPGtBhxx6DKVP6L3pntw==",
"dev": true,
"license": "GPL-2.0-or-later",
"dependencies": {
- "@wordpress/hooks": "^4.53.0"
+ "@wordpress/hooks": "^4.54.0"
},
"engines": {
"node": ">=18.12.0",
@@ -9965,13 +9944,13 @@
}
},
"node_modules/@wordpress/dom": {
- "version": "4.53.0",
- "resolved": "https://registry.npmjs.org/@wordpress/dom/-/dom-4.53.0.tgz",
- "integrity": "sha512-cf+WkRxuXtPLmAWXYShsbitUIkPOjIgiScUJQztA4OSqy9vfSPvrOgb6pUqijPiIo9+fhBSoyryOFCOg7xABOQ==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/dom/-/dom-4.54.0.tgz",
+ "integrity": "sha512-HcxOhNVwkFqOakvViddUsSjjkbqHyRhFqmjkPJpiLWWtuIaCzIenPhT/GJID8W8MgLhWFU87krLDXg3yJuLnzQ==",
"dev": true,
"license": "GPL-2.0-or-later",
"dependencies": {
- "@wordpress/deprecated": "^4.53.0"
+ "@wordpress/deprecated": "^4.54.0"
},
"engines": {
"node": ">=18.12.0",
@@ -9990,9 +9969,9 @@
}
},
"node_modules/@wordpress/e2e-test-utils-playwright": {
- "version": "1.53.0",
- "resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils-playwright/-/e2e-test-utils-playwright-1.53.0.tgz",
- "integrity": "sha512-46wLx4MUEoXeWq+JtmFjFsQd0+m219bA1WUDW4vpMrNzO2qU87Rm+9LWudRQ5+niJvPiYyZruNAhscl5KRxbOQ==",
+ "version": "1.54.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils-playwright/-/e2e-test-utils-playwright-1.54.0.tgz",
+ "integrity": "sha512-xpsb5c8T8VXBBrYfr98OqK2yevtiHVwpVE+u0vqYBYgWNiqQJj8Eyq7geRdY6v4SctbAVe8vGFVV+DfPaEhvRg==",
"dev": true,
"license": "GPL-2.0-or-later",
"dependencies": {
@@ -10012,16 +9991,16 @@
}
},
"node_modules/@wordpress/element": {
- "version": "8.5.0",
- "resolved": "https://registry.npmjs.org/@wordpress/element/-/element-8.5.0.tgz",
- "integrity": "sha512-d6Ct+JETXRoGjfAxu5kSPjportHloZ3auAPLguQOLEoNBiZJp60fslYYd6LeVw7M7dUR3lArwcYVK0x0G06c9Q==",
+ "version": "8.6.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/element/-/element-8.6.0.tgz",
+ "integrity": "sha512-9stRsEfNoJf7K3jmP4GEvdUPdRqUn/JCYobSsrDzREmaAKNy1OBVW5ZqgK3/s+hbKBlkX8WKU48sTgJ/9aqCzQ==",
"dev": true,
"license": "GPL-2.0-or-later",
"dependencies": {
- "@wordpress/deprecated": "^4.53.0",
- "@wordpress/escape-html": "^3.53.0",
+ "@wordpress/deprecated": "^4.54.0",
+ "@wordpress/escape-html": "^3.54.0",
"change-case": "^4.1.2",
- "is-plain-object": "^5.0.0"
+ "is-plain-object": "^5.1.0"
},
"engines": {
"node": ">=18.12.0",
@@ -10043,15 +10022,15 @@
}
},
"node_modules/@wordpress/env": {
- "version": "11.13.0",
- "resolved": "https://registry.npmjs.org/@wordpress/env/-/env-11.13.0.tgz",
- "integrity": "sha512-ZBhCf1N1Qgh5U//WXsK9d5rgXtjkWMBHuKrpC3KgoiqEVwalYw+H5jfbGqBzjZtHJeM1SbkSumxRTRhApQPqjg==",
+ "version": "11.14.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/env/-/env-11.14.0.tgz",
+ "integrity": "sha512-Q/XUhGjFJtlfybw/mq+7H5MsF2u3zWH5YxNR5y473+CeIjZx20wt5Dx0RDHAJcG2ICTky4pJevNlIq/EFnUwIQ==",
"dev": true,
"license": "GPL-2.0-or-later",
"dependencies": {
"@inquirer/prompts": "^7.2.0",
"@wp-playground/cli": "^3.0.48",
- "adm-zip": "^0.5.9",
+ "adm-zip": "^0.6.0",
"chalk": "^4.1.1",
"copy-dir": "^1.3.0",
"cross-spawn": "^7.0.6",
@@ -10071,6 +10050,16 @@
"npm": ">=8.19.2"
}
},
+ "node_modules/@wordpress/env/node_modules/adm-zip": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.6.0.tgz",
+ "integrity": "sha512-XleryMhbuksdKtofnWZ9Sk+4CUTbms4Mb/EU32SZwToAyZ5RgVos/ki8n+yr0LWHOGKuakbXTuuYNHLQjhddgg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0"
+ }
+ },
"node_modules/@wordpress/env/node_modules/argparse": {
"version": "1.0.10",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
@@ -10103,9 +10092,9 @@
"license": "BSD-3-Clause"
},
"node_modules/@wordpress/escape-html": {
- "version": "3.53.0",
- "resolved": "https://registry.npmjs.org/@wordpress/escape-html/-/escape-html-3.53.0.tgz",
- "integrity": "sha512-6EE4hOsd0kUp4bO9voTsIeK0oa80FYMbxvJkjN9Vitnf0ZTRVB7Iz2IviaYorhGUDemlRy3kOPEZdP9DA/CoCA==",
+ "version": "3.54.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/escape-html/-/escape-html-3.54.0.tgz",
+ "integrity": "sha512-dbXSgUZgJ4KcZF9OLO+suayc7PxptZ0qhSE1bgJraD8bnk/jkaCohp5J7WQKzTWw1OSiJtQFZLw2T+BnyqQOpA==",
"dev": true,
"license": "GPL-2.0-or-later",
"engines": {
@@ -10114,18 +10103,18 @@
}
},
"node_modules/@wordpress/eslint-plugin": {
- "version": "25.9.0",
- "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-25.9.0.tgz",
- "integrity": "sha512-SqlQUBhE+RNBvwVrDmyr0ifS6VyCwxwliiFoFjNIqEIsZlK7Os50q8bg3CjK48TwsS2n6uNIGKjERmiVMFVcLA==",
+ "version": "25.10.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-25.10.0.tgz",
+ "integrity": "sha512-Lx3LVVVQuhCOfwVQDUL7Mh8c++y/JKHh+GozJmYNEyOosEZGW+LFTWS6GQiqoR3d4qIRJTZ3lRlmRf0Md568aQ==",
"dev": true,
"license": "GPL-2.0-or-later",
"dependencies": {
"@babel/eslint-parser": "^7.28.6",
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.0",
"@eslint/compat": "^2.0.0",
- "@wordpress/babel-preset-default": "^8.53.0",
- "@wordpress/prettier-config": "^4.53.0",
- "@wordpress/theme": "^1.2.0",
+ "@wordpress/babel-preset-default": "^8.54.0",
+ "@wordpress/prettier-config": "^4.54.0",
+ "@wordpress/theme": "^2.0.0",
"cosmiconfig": "^7.0.0",
"eslint-config-prettier": "^10.0.0",
"eslint-import-resolver-typescript": "^4.4.4",
@@ -10189,18 +10178,29 @@
"semver": "bin/semver.js"
}
},
+ "node_modules/@wordpress/eslint-plugin/node_modules/@wordpress/style-runtime": {
+ "version": "0.10.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/style-runtime/-/style-runtime-0.10.0.tgz",
+ "integrity": "sha512-yZm2r8qzt++oW+4X2UEHl2FBuO/9O+BazXsQbSjGxcabA2g4apjBH2pEZqKbdbNqlArkj5KZm0LCxY1p6DKYTQ==",
+ "dev": true,
+ "license": "GPL-2.0-or-later",
+ "engines": {
+ "node": ">=20.10.0",
+ "npm": ">=10.2.3"
+ }
+ },
"node_modules/@wordpress/eslint-plugin/node_modules/@wordpress/theme": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/@wordpress/theme/-/theme-1.2.0.tgz",
- "integrity": "sha512-pILS4ytGGiASrpJ8sLp+pRbcBspFYeMTr5LdM4fWBv/EN2CIKhBLpX3qGlXwKzS+HzjrbXZwj60Bfbg/PxvQew==",
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/theme/-/theme-2.0.0.tgz",
+ "integrity": "sha512-4yFei1ayJinMOVY6cTzKZV961p2Vjex9Nst1SReIFKv3ckb6ih5QN+qMpJQdpuukwabXrBTaoiA4ZB1akl2CfQ==",
"dev": true,
"license": "GPL-2.0-or-later",
"dependencies": {
- "@wordpress/compose": "^8.6.0",
- "@wordpress/deprecated": "^4.53.0",
- "@wordpress/element": "^8.5.0",
- "@wordpress/private-apis": "^1.53.0",
- "@wordpress/style-runtime": "^0.9.0",
+ "@wordpress/compose": "^8.7.0",
+ "@wordpress/deprecated": "^4.54.0",
+ "@wordpress/element": "^8.6.0",
+ "@wordpress/private-apis": "^1.54.0",
+ "@wordpress/style-runtime": "^0.10.0",
"colorjs.io": "^0.7.1",
"memize": "^2.1.1"
},
@@ -10554,9 +10554,9 @@
}
},
"node_modules/@wordpress/hooks": {
- "version": "4.53.0",
- "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-4.53.0.tgz",
- "integrity": "sha512-YU30rweJCTu5g7X8bc+w6QyoxJBYLEHH++Wwo/IbbROHUC/4I7e+ZtxnPWls8BTtMP4d28JJ74s+UoKpzd2J7w==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-4.54.0.tgz",
+ "integrity": "sha512-9eMe48ixxAd+ILuXe3n+zOc1XlphfPppf0drTuJEjJy0xGXV7eUw459KEvk4KCrznb9pKemHjj4mGjogV5f1CQ==",
"dev": true,
"license": "GPL-2.0-or-later",
"engines": {
@@ -10576,14 +10576,14 @@
}
},
"node_modules/@wordpress/i18n": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-6.26.0.tgz",
- "integrity": "sha512-v/LzeB7T5YKIfBgmLM0jYG8zOuu81biZ90j8RY9pHIVu+jdRE+DSmt55S3FvtXRo5J2X9FoigFRzYPKXLbitWA==",
+ "version": "6.27.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-6.27.0.tgz",
+ "integrity": "sha512-6+mBSNGrB9EvnGa33tgNzZ7/vq98yCJ75eX81CU1XBKcoIvPcz5/G+zURpSuoOwAgAYaCxoXMDFX4gJDJjSbaw==",
"dev": true,
"license": "GPL-2.0-or-later",
"dependencies": {
"@tannin/sprintf": "^1.3.2",
- "@wordpress/hooks": "^4.53.0",
+ "@wordpress/hooks": "^4.54.0",
"gettext-parser": "^1.3.1",
"tannin": "^1.2.0"
},
@@ -10666,9 +10666,9 @@
}
},
"node_modules/@wordpress/is-shallow-equal": {
- "version": "5.53.0",
- "resolved": "https://registry.npmjs.org/@wordpress/is-shallow-equal/-/is-shallow-equal-5.53.0.tgz",
- "integrity": "sha512-NHhvEnqi82Vzon458Jz6nzmbAPWM1zy9k6rBXQTc+9PsRiWHWpqXqldKAeTFVrl0vspZf4PwmLlsxqP3ckCLWw==",
+ "version": "5.54.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/is-shallow-equal/-/is-shallow-equal-5.54.0.tgz",
+ "integrity": "sha512-j5mskkhAD3jWrgNSdoSsexos1dxI9EQftfAZAbI2GZwFi6I20cgSrktgCewAUSZDqJ+vPwaJs0bTDhtUDMHXLg==",
"dev": true,
"license": "GPL-2.0-or-later",
"engines": {
@@ -10677,9 +10677,9 @@
}
},
"node_modules/@wordpress/jest-console": {
- "version": "9.1.0",
- "resolved": "https://registry.npmjs.org/@wordpress/jest-console/-/jest-console-9.1.0.tgz",
- "integrity": "sha512-DvIDCckbQq3G4DZVktLmAQNGRsptkUSW5JeTbDAtr5L3ZtoV1fXYnryiDG9QP3ELgzIHcFX0Qa7TZmymb6SXxg==",
+ "version": "9.2.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/jest-console/-/jest-console-9.2.0.tgz",
+ "integrity": "sha512-IzcyKAUrD33xRs+jq0wWsiyB76pL/ddORxOPj21CXdq1/NirMwOLcrPsIymlJvi6G8ZcxqeCWMBmAPtskSMz/Q==",
"dev": true,
"license": "GPL-2.0-or-later",
"dependencies": {
@@ -10695,13 +10695,13 @@
}
},
"node_modules/@wordpress/jest-preset-default": {
- "version": "14.0.0",
- "resolved": "https://registry.npmjs.org/@wordpress/jest-preset-default/-/jest-preset-default-14.0.0.tgz",
- "integrity": "sha512-ao/QFpjiVs56/WL7w/ZglLrIHmGPqiAKTNMakAZ/DQsjfEybaaHblzlpCHRCQ5qUGllYeUbQ7lsT9PrNLOe6zQ==",
+ "version": "14.1.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/jest-preset-default/-/jest-preset-default-14.1.0.tgz",
+ "integrity": "sha512-TE2cSni2tEsmOcpWWCVCI9xKvLGxeTQRJEiHJWZ84qJKndk5eXCO3ANZFXO6whW7Sr/8AG/lXH2vUG/odk9uBg==",
"dev": true,
"license": "GPL-2.0-or-later",
"dependencies": {
- "@wordpress/jest-console": "^9.1.0",
+ "@wordpress/jest-console": "^9.2.0",
"babel-jest": "^30.4.1",
"change-case": "^4.1.2"
},
@@ -10754,13 +10754,13 @@
}
},
"node_modules/@wordpress/keycodes": {
- "version": "4.53.0",
- "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-4.53.0.tgz",
- "integrity": "sha512-e2o0NjkyGpPUGz8sfRd1OeEHdeOk3UVlL1J8P4Y9/fgQQJumTjulbiwps6yheE5kRNqbrh2o424QLdMaODu9Kw==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-4.54.0.tgz",
+ "integrity": "sha512-WeaKup+THfx62hGOOVZpeK0AvEA0d3xwWo2P44pUbUKaBFydTXWqmm7HNsZ7bX9lDdk7JshuLSwhpHfwFPOQEw==",
"dev": true,
"license": "GPL-2.0-or-later",
"dependencies": {
- "@wordpress/i18n": "^6.26.0"
+ "@wordpress/i18n": "^6.27.0"
},
"engines": {
"node": ">=18.12.0",
@@ -10802,9 +10802,9 @@
}
},
"node_modules/@wordpress/npm-package-json-lint-config": {
- "version": "5.53.0",
- "resolved": "https://registry.npmjs.org/@wordpress/npm-package-json-lint-config/-/npm-package-json-lint-config-5.53.0.tgz",
- "integrity": "sha512-DxpVzH261pBWWG9MczQCAyco3MJ9vHzgoQIz2ORBGw4EdlXHIDwSJeSSosCm6tjWiJhPrr8SXEdA08UdiXb4/w==",
+ "version": "5.54.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/npm-package-json-lint-config/-/npm-package-json-lint-config-5.54.0.tgz",
+ "integrity": "sha512-T3041Brq2tD9ugUVBWj1P3/VWn87dKEpn3O9r987wdZ4MjLBpWaoER066MHISzB/DE0fSK0SuM0KGRT+30kpsQ==",
"dev": true,
"license": "GPL-2.0-or-later",
"engines": {
@@ -10816,14 +10816,14 @@
}
},
"node_modules/@wordpress/postcss-plugins-preset": {
- "version": "5.53.0",
- "resolved": "https://registry.npmjs.org/@wordpress/postcss-plugins-preset/-/postcss-plugins-preset-5.53.0.tgz",
- "integrity": "sha512-YzZlwe7Mh0tmZAkv+sfza0bKl5qUBk19trwyUwZHPbkyRRsb5GBAC8mvvebpLp2wb01VQwp4X69gYpALxXRjMg==",
+ "version": "5.54.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/postcss-plugins-preset/-/postcss-plugins-preset-5.54.0.tgz",
+ "integrity": "sha512-T54ouByzhopTMfCwvCtgK+KdmBzf7+a/0Mv7NFfQuXYP3+kFV+SyyYUnRC5Js3SnDANL2Ui0RLil3M2e8SIzUw==",
"dev": true,
"license": "GPL-2.0-or-later",
"dependencies": {
- "@wordpress/base-styles": "^12.1.0",
- "@wordpress/browserslist-config": "^6.53.0",
+ "@wordpress/base-styles": "^13.0.0",
+ "@wordpress/browserslist-config": "^6.54.0",
"autoprefixer": "^10.4.21",
"postcss-import": "^16.1.1"
},
@@ -10835,6 +10835,17 @@
"postcss": "^8.0.0"
}
},
+ "node_modules/@wordpress/postcss-plugins-preset/node_modules/@wordpress/base-styles": {
+ "version": "13.0.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/base-styles/-/base-styles-13.0.0.tgz",
+ "integrity": "sha512-IBDH2iG+U373NiY8l6UVNvjMXKVtYN/iFaLpavt1vO/I/S2aOE+m693+iMJv9ELC5oYQZSXzTWh+p/1RjmmC6w==",
+ "dev": true,
+ "license": "GPL-2.0-or-later",
+ "engines": {
+ "node": ">=18.12.0",
+ "npm": ">=8.19.2"
+ }
+ },
"node_modules/@wordpress/preferences": {
"version": "4.53.0",
"resolved": "https://registry.npmjs.org/@wordpress/preferences/-/preferences-4.53.0.tgz",
@@ -10870,9 +10881,9 @@
}
},
"node_modules/@wordpress/prettier-config": {
- "version": "4.53.0",
- "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-4.53.0.tgz",
- "integrity": "sha512-8PrqYYl2yOsfZoo/SMQMgkJj09o1SlShwfMcD0XAXy+e5DUn0so1OodTCiAyBW1c0P1hUv7nKb+DEeCbsgjaIQ==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-4.54.0.tgz",
+ "integrity": "sha512-uwiRJ3S2d/T/+ZwB2HjehVfu3rw+LYBjSiJcE/CSxbBC7eobtQ3WZsNsUc5p1M7Be6orpowtl2wtAFg/bUDJuA==",
"dev": true,
"license": "GPL-2.0-or-later",
"engines": {
@@ -10908,9 +10919,9 @@
}
},
"node_modules/@wordpress/priority-queue": {
- "version": "3.53.0",
- "resolved": "https://registry.npmjs.org/@wordpress/priority-queue/-/priority-queue-3.53.0.tgz",
- "integrity": "sha512-HQ5AatN1QWimFHQnhhhzrfgNoiVWTqwhUEv5326hhTnyUxvh5SOYxg46IBGow+zj/VJjIPyaxv1ftuqzVxgRMQ==",
+ "version": "3.54.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/priority-queue/-/priority-queue-3.54.0.tgz",
+ "integrity": "sha512-YOJAKb80OFzHCdamyfKu9L3k+AZWexo5f1Jjm8HFs3+6CIxmkPyTe7uYccpRvmgag8MkVAdus/VaO5thzOy+gA==",
"dev": true,
"license": "GPL-2.0-or-later",
"dependencies": {
@@ -10922,9 +10933,9 @@
}
},
"node_modules/@wordpress/private-apis": {
- "version": "1.53.0",
- "resolved": "https://registry.npmjs.org/@wordpress/private-apis/-/private-apis-1.53.0.tgz",
- "integrity": "sha512-xXW2yeBC0n/doFLsv6chEl3Qs5phqmRH7wcUyil+Xvh3msVGzUJxvyo0szmKpQcmoYafASpkQux82HCtNp6jxQ==",
+ "version": "1.54.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/private-apis/-/private-apis-1.54.0.tgz",
+ "integrity": "sha512-OOZXNT5O0D+w6pPipc0RYIfxxNQm8ahzQjIyYkVq6Qep6sq9sXut6cjgiznOApIywQNCsVOn/S34anZ4f2ONMg==",
"dev": true,
"license": "GPL-2.0-or-later",
"engines": {
@@ -10985,26 +10996,26 @@
}
},
"node_modules/@wordpress/scripts": {
- "version": "34.1.0",
- "resolved": "https://registry.npmjs.org/@wordpress/scripts/-/scripts-34.1.0.tgz",
- "integrity": "sha512-eghybMctbwUuXzfWcJ25iNygCLT8oVwOKwgGuhxTTJGxD9j8xYmsu0KCqKDQ5UNnZoC0PKb4UikyEpwjmi2pWA==",
+ "version": "34.2.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/scripts/-/scripts-34.2.0.tgz",
+ "integrity": "sha512-BDSNYJgx6c8V6IJZMLc8hjQXt4+qzJ3JHwKRmWBqupFj85nKpcrZbRXpTzLxULrx4wfpCCnvt27R2zw7xmVCKg==",
"dev": true,
"license": "GPL-2.0-or-later",
"dependencies": {
"@babel/core": "^7.25.7",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
"@svgr/webpack": "^8.0.1",
- "@wordpress/babel-preset-default": "^8.53.0",
- "@wordpress/browserslist-config": "^6.53.0",
- "@wordpress/dependency-extraction-webpack-plugin": "^6.53.0",
- "@wordpress/e2e-test-utils-playwright": "^1.53.0",
- "@wordpress/eslint-plugin": "^25.9.0",
- "@wordpress/jest-preset-default": "^14.0.0",
- "@wordpress/npm-package-json-lint-config": "^5.53.0",
- "@wordpress/postcss-plugins-preset": "^5.53.0",
- "@wordpress/prettier-config": "^4.53.0",
- "@wordpress/stylelint-config": "^24.2.0",
- "adm-zip": "^0.5.9",
+ "@wordpress/babel-preset-default": "^8.54.0",
+ "@wordpress/browserslist-config": "^6.54.0",
+ "@wordpress/dependency-extraction-webpack-plugin": "^6.54.0",
+ "@wordpress/e2e-test-utils-playwright": "^1.54.0",
+ "@wordpress/eslint-plugin": "^25.10.0",
+ "@wordpress/jest-preset-default": "^14.1.0",
+ "@wordpress/npm-package-json-lint-config": "^5.54.0",
+ "@wordpress/postcss-plugins-preset": "^5.54.0",
+ "@wordpress/prettier-config": "^4.54.0",
+ "@wordpress/stylelint-config": "^24.3.0",
+ "adm-zip": "^0.6.0",
"babel-jest": "^30.4.1",
"babel-loader": "^9.2.1",
"browserslist": "^4.28.4",
@@ -11114,6 +11125,16 @@
}
}
},
+ "node_modules/@wordpress/scripts/node_modules/adm-zip": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.6.0.tgz",
+ "integrity": "sha512-XleryMhbuksdKtofnWZ9Sk+4CUTbms4Mb/EU32SZwToAyZ5RgVos/ki8n+yr0LWHOGKuakbXTuuYNHLQjhddgg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0"
+ }
+ },
"node_modules/@wordpress/scripts/node_modules/array-union": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/array-union/-/array-union-3.0.1.tgz",
@@ -11968,14 +11989,14 @@
}
},
"node_modules/@wordpress/stylelint-config": {
- "version": "24.2.0",
- "resolved": "https://registry.npmjs.org/@wordpress/stylelint-config/-/stylelint-config-24.2.0.tgz",
- "integrity": "sha512-hRAcYVoGAAeh8abfkF5T7d6O2T7jQgf5jRP6HEWmQOqpOFkhenZaOFC6jdoX+t/PxXFUYFV3mzgjWqNa+b1jXw==",
+ "version": "24.3.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/stylelint-config/-/stylelint-config-24.3.0.tgz",
+ "integrity": "sha512-DfuhPR402icUZd/6MyWRm6jwr7tY5Fbtt+sswFVql8Z+95sNe0kdS4vJyAwhRGWNnZkJ1SuQk6ye6nHFu+cm/g==",
"dev": true,
"license": "MIT",
"dependencies": {
"@stylistic/stylelint-plugin": "^3.1.3",
- "@wordpress/theme": "^1.2.0",
+ "@wordpress/theme": "^2.0.0",
"stylelint-config-recommended": "^14.0.1",
"stylelint-config-recommended-scss": "^14.1.0"
},
@@ -11988,18 +12009,29 @@
"stylelint-scss": "^6.4.0"
}
},
+ "node_modules/@wordpress/stylelint-config/node_modules/@wordpress/style-runtime": {
+ "version": "0.10.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/style-runtime/-/style-runtime-0.10.0.tgz",
+ "integrity": "sha512-yZm2r8qzt++oW+4X2UEHl2FBuO/9O+BazXsQbSjGxcabA2g4apjBH2pEZqKbdbNqlArkj5KZm0LCxY1p6DKYTQ==",
+ "dev": true,
+ "license": "GPL-2.0-or-later",
+ "engines": {
+ "node": ">=20.10.0",
+ "npm": ">=10.2.3"
+ }
+ },
"node_modules/@wordpress/stylelint-config/node_modules/@wordpress/theme": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/@wordpress/theme/-/theme-1.2.0.tgz",
- "integrity": "sha512-pILS4ytGGiASrpJ8sLp+pRbcBspFYeMTr5LdM4fWBv/EN2CIKhBLpX3qGlXwKzS+HzjrbXZwj60Bfbg/PxvQew==",
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/theme/-/theme-2.0.0.tgz",
+ "integrity": "sha512-4yFei1ayJinMOVY6cTzKZV961p2Vjex9Nst1SReIFKv3ckb6ih5QN+qMpJQdpuukwabXrBTaoiA4ZB1akl2CfQ==",
"dev": true,
"license": "GPL-2.0-or-later",
"dependencies": {
- "@wordpress/compose": "^8.6.0",
- "@wordpress/deprecated": "^4.53.0",
- "@wordpress/element": "^8.5.0",
- "@wordpress/private-apis": "^1.53.0",
- "@wordpress/style-runtime": "^0.9.0",
+ "@wordpress/compose": "^8.7.0",
+ "@wordpress/deprecated": "^4.54.0",
+ "@wordpress/element": "^8.6.0",
+ "@wordpress/private-apis": "^1.54.0",
+ "@wordpress/style-runtime": "^0.10.0",
"colorjs.io": "^0.7.1",
"memize": "^2.1.1"
},
@@ -12130,13 +12162,13 @@
}
},
"node_modules/@wordpress/undo-manager": {
- "version": "1.53.0",
- "resolved": "https://registry.npmjs.org/@wordpress/undo-manager/-/undo-manager-1.53.0.tgz",
- "integrity": "sha512-0MtlfeCa0uFWAGubP2rAJ1NoWQOWOuzW0kTwZgqfFFg81HEgNIBb8LU3eXMbMxERjdZYpCrqUL3MbVPl7ExiGw==",
+ "version": "1.54.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/undo-manager/-/undo-manager-1.54.0.tgz",
+ "integrity": "sha512-6b10QkKqvvWl1v67CXT04V/eM9dOzSoTcu7ZenA8ZmImLjYT1fDJ5ckJnldY5HkCMO8STd6gnJMgs/ZkXYv35A==",
"dev": true,
"license": "GPL-2.0-or-later",
"dependencies": {
- "@wordpress/is-shallow-equal": "^5.53.0"
+ "@wordpress/is-shallow-equal": "^5.54.0"
},
"engines": {
"node": ">=18.12.0",
@@ -12222,9 +12254,9 @@
}
},
"node_modules/@wordpress/warning": {
- "version": "3.53.0",
- "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.53.0.tgz",
- "integrity": "sha512-pNco8mfQM5EUJZ4m6zuHxyjnCvOKeZtxu9UGYQIRtEEMAKQJgz6HdHXKt+xQHvLA5Wi/bd0kPK5AWrl1wM22Tg==",
+ "version": "3.54.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.54.0.tgz",
+ "integrity": "sha512-0QWxBc/CHQdgzTwnUg+Ha5Ir0qyuIQUDzA2gmGSbbVshgm3d5FugLGpZHL1/S2+KlczyjKS2fftDJmK1dxdsEg==",
"dev": true,
"license": "GPL-2.0-or-later",
"engines": {
@@ -17163,6 +17195,27 @@
"node": ">=0.10.0"
}
},
+ "node_modules/extract-zip": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz",
+ "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "debug": "^4.1.1",
+ "get-stream": "^5.1.0",
+ "yauzl": "^2.10.0"
+ },
+ "bin": {
+ "extract-zip": "cli.js"
+ },
+ "engines": {
+ "node": ">= 10.17.0"
+ },
+ "optionalDependencies": {
+ "@types/yauzl": "^2.9.1"
+ }
+ },
"node_modules/fast-deep-equal": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
@@ -20146,9 +20199,9 @@
}
},
"node_modules/is-plain-object": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz",
- "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==",
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.1.0.tgz",
+ "integrity": "sha512-bUi/yjmtKYcRVUtWRGr0UA6xEFh2I6zWUwMrUXB3s7bmYCaZ8a+0ZsTRkrawh/mzlSD1Y0Ph8bp/U+TvBpWDNw==",
"dev": true,
"license": "MIT",
"engines": {
diff --git a/php/cache/class-cache-point.php b/php/cache/class-cache-point.php
index b7ac92e9..f7cf6848 100644
--- a/php/cache/class-cache-point.php
+++ b/php/cache/class-cache-point.php
@@ -177,7 +177,7 @@ public function delete_meta( $check, $object_id, $meta_key, $meta_value ) {
if ( self::POST_TYPE_SLUG === get_post_type( $object_id ) ) {
$check = false;
$meta = $this->get_meta_cache( $object_id );
- if ( isset( $meta[ $meta_key ] ) && $meta[ $meta_key ] === $meta_value || is_null( $meta_value ) ) {
+ if ( ( isset( $meta[ $meta_key ] ) && $meta[ $meta_key ] === $meta_value ) || is_null( $meta_value ) ) {
unset( $meta[ $meta_key ] );
$check = $this->set_meta_cache( $object_id, $meta );
}
diff --git a/php/class-cron.php b/php/class-cron.php
index 15c81683..a37bfc47 100644
--- a/php/class-cron.php
+++ b/php/class-cron.php
@@ -319,7 +319,7 @@ public function process_schedule() {
// Default is on. So if it has not been set, default applies.
$slug = sanitize_title( $name );
- if ( $this->locker->has_lock_file( $name ) || isset( $tasks[ $slug ] ) && 'off' === $tasks[ $slug ] ) {
+ if ( $this->locker->has_lock_file( $name ) || ( isset( $tasks[ $slug ] ) && 'off' === $tasks[ $slug ] ) ) {
continue;
}
diff --git a/php/class-sync.php b/php/class-sync.php
index 105e3a7f..30e73015 100644
--- a/php/class-sync.php
+++ b/php/class-sync.php
@@ -1185,7 +1185,7 @@ public function delete_cloudinary_meta( $attachment_id ) {
wp_update_attachment_metadata( $attachment_id, $meta );
// Cleanup postmeta.
- $queued = get_post_meta( $attachment_id, self::META_KEYS['queued'] );
+ $queued = get_post_meta( $attachment_id, self::META_KEYS['queued'], true );
delete_post_meta( $attachment_id, self::META_KEYS['sync_error'] );
delete_post_meta( $attachment_id, self::META_KEYS['pending'] );
delete_post_meta( $attachment_id, self::META_KEYS['queued'] );
diff --git a/php/delivery/class-lazy-load.php b/php/delivery/class-lazy-load.php
index bb6a2cc9..6118880d 100644
--- a/php/delivery/class-lazy-load.php
+++ b/php/delivery/class-lazy-load.php
@@ -127,6 +127,7 @@ public function bypass_lazy_load( $bypass, $tag_element ) {
public function get_inline_script() {
$config = $this->get_config();
+ // phpcs:ignore WordPressVIPMinimum.Performance.FetchingRemoteData.FileGetContentsUnknown -- Reads a local file bundled with the plugin, not remote data.
return 'var CLDLB = ' . wp_json_encode( $config ) . ';' . file_get_contents( $this->plugin->dir_path . 'js/inline-loader.js' );
}
diff --git a/phpcs.xml.dist b/phpcs.xml.dist
index 84dfafb5..b53454d9 100644
--- a/phpcs.xml.dist
+++ b/phpcs.xml.dist
@@ -58,6 +58,7 @@
/js/
/node_modules/
/vendor/
+ /.phpstan-cache/
/tests/phpstan/stubs/