From f898741f02b0cf1b8ed49e4774ea9fdf613d5243 Mon Sep 17 00:00:00 2001 From: Adnan Haque Date: Sat, 19 Oct 2024 23:01:33 +0300 Subject: [PATCH 1/3] Include boost in Jetpack --- .../plugins/boost/app/admin/class-config.php | 15 +- projects/plugins/boost/jetpack-boost.php | 9 +- projects/plugins/jetpack/composer.json | 10 +- projects/plugins/jetpack/composer.lock | 483 +++++++++++++++++- .../plugins/jetpack/jetpack-boost-loader.php | 40 ++ projects/plugins/jetpack/load-jetpack.php | 2 + 6 files changed, 548 insertions(+), 11 deletions(-) create mode 100644 projects/plugins/jetpack/jetpack-boost-loader.php diff --git a/projects/plugins/boost/app/admin/class-config.php b/projects/plugins/boost/app/admin/class-config.php index 6930c86e0db70..ace879bdb6216 100644 --- a/projects/plugins/boost/app/admin/class-config.php +++ b/projects/plugins/boost/app/admin/class-config.php @@ -21,21 +21,22 @@ public function constants() { $internal_path = apply_filters( 'jetpack_boost_asset_internal_path', 'app/assets/dist/' ); $constants = array( - 'version' => JETPACK_BOOST_VERSION, - 'pluginDirUrl' => untrailingslashit( JETPACK_BOOST_PLUGINS_DIR_URL ), - 'assetPath' => plugins_url( $internal_path, JETPACK_BOOST_PATH ), - 'canResizeImages' => wp_image_editor_supports( array( 'methods' => array( 'resize' ) ) ), - 'site' => array( + 'version' => JETPACK_BOOST_VERSION, + 'pluginDirUrl' => untrailingslashit( JETPACK_BOOST_PLUGINS_DIR_URL ), + 'assetPath' => plugins_url( $internal_path, JETPACK_BOOST_PATH ), + 'canResizeImages' => wp_image_editor_supports( array( 'methods' => array( 'resize' ) ) ), + 'site' => array( 'url' => get_home_url(), 'domain' => ( new Status() )->get_site_suffix(), 'online' => ! ( new Status() )->is_offline_mode() && ! ( new Status() )->is_private_site(), 'host' => ( new Host() )->get_known_host_guess(), ), - 'api' => array( + 'api' => array( 'namespace' => JETPACK_BOOST_REST_NAMESPACE, 'prefix' => JETPACK_BOOST_REST_PREFIX, ), - 'postTypes' => (object) $this->get_custom_post_types(), + 'postTypes' => (object) $this->get_custom_post_types(), + 'loadedFromJetpack' => defined( 'BOOST_LOADED_FROM_JETPACK' ) && \BOOST_LOADED_FROM_JETPACK, ); /** diff --git a/projects/plugins/boost/jetpack-boost.php b/projects/plugins/boost/jetpack-boost.php index 72e55cbb4abbc..9084f9ef518a3 100644 --- a/projects/plugins/boost/jetpack-boost.php +++ b/projects/plugins/boost/jetpack-boost.php @@ -36,8 +36,13 @@ define( 'JETPACK_BOOST_CLIENT_NAME', 'jetpack-boost-wp-plugin' ); } -define( 'JETPACK_BOOST_DIR_PATH', __DIR__ ); -define( 'JETPACK_BOOST_PATH', __FILE__ ); +if ( ! defined( 'JETPACK_BOOST_DIR_PATH' ) ) { + define( 'JETPACK_BOOST_DIR_PATH', __DIR__ ); +} + +if ( ! defined( 'JETPACK_BOOST_PATH' ) ) { + define( 'JETPACK_BOOST_PATH', __FILE__ ); +} if ( ! defined( 'JETPACK_BOOST_PLUGIN_BASE' ) ) { define( 'JETPACK_BOOST_PLUGIN_BASE', plugin_basename( __FILE__ ) ); diff --git a/projects/plugins/jetpack/composer.json b/projects/plugins/jetpack/composer.json index eac7bdcd02b56..c6bc9bd5d2761 100644 --- a/projects/plugins/jetpack/composer.json +++ b/projects/plugins/jetpack/composer.json @@ -50,7 +50,8 @@ "automattic/jetpack-waf": "@dev", "automattic/jetpack-wordads": "@dev", "automattic/woocommerce-analytics": "@dev", - "scssphp/scssphp": "1.12.0" + "scssphp/scssphp": "1.12.0", + "automattic/jetpack-boost": "*" }, "require-dev": { "antecedent/patchwork": "^2.1.28", @@ -88,6 +89,13 @@ "options": { "monorepo": true } + }, + { + "type": "path", + "url": "../../plugins/boost", + "options": { + "monorepo": true + } } ], "autoload": { diff --git a/projects/plugins/jetpack/composer.lock b/projects/plugins/jetpack/composer.lock index 5df2b3221306d..6c4ce2c908d0c 100644 --- a/projects/plugins/jetpack/composer.lock +++ b/projects/plugins/jetpack/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "123885af37389b4c687c46a31399b7d6", + "content-hash": "54c15a84f90d98912dbab7efd49e36f7", "packages": [ { "name": "automattic/jetpack-a8c-mc-stats", @@ -529,6 +529,106 @@ "relative": true } }, + { + "name": "automattic/jetpack-boost", + "version": "3.5.2", + "dist": { + "type": "path", + "url": "../../plugins/boost", + "reference": "27d4096d35632c2fe8a1ffc8bf9f34ad0217a48f" + }, + "require": { + "automattic/jetpack-admin-ui": "@dev", + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-autoloader": "@dev", + "automattic/jetpack-boost-core": "@dev", + "automattic/jetpack-boost-speed-score": "@dev", + "automattic/jetpack-composer-plugin": "@dev", + "automattic/jetpack-config": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-device-detection": "@dev", + "automattic/jetpack-image-cdn": "@dev", + "automattic/jetpack-my-jetpack": "@dev", + "automattic/jetpack-plugin-deactivation": "@dev", + "automattic/jetpack-schema": "@dev", + "automattic/jetpack-status": "@dev", + "automattic/jetpack-sync": "@dev", + "automattic/jetpack-wp-js-data-sync": "@dev", + "ext-json": "*", + "matthiasmullie/minify": "^1.3", + "tubalmartin/cssmin": "^4.1" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "0.4.2", + "brain/monkey": "2.6.1", + "yoast/phpunit-polyfills": "^1.1.1" + }, + "type": "library", + "extra": { + "mirror-repo": "Automattic/jetpack-boost-production", + "autorelease": true, + "autotagger": { + "v": false + }, + "release-branch-prefix": "boost", + "version-constants": { + "JETPACK_BOOST_VERSION": "jetpack-boost.php" + }, + "wp-plugin-slug": "jetpack-boost", + "wp-svn-autopublish": true, + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-boost-production/compare/${old}...${new}" + } + }, + "autoload": { + "classmap": [ + "app/" + ] + }, + "autoload-dev": { + "psr-4": { + "Automattic\\Jetpack_Boost\\Tests\\": "./tests/php" + } + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "build-development": [ + "pnpm run build" + ], + "build-production": [ + "pnpm run build-production-concurrently" + ], + "watch": [ + "Composer\\Config::disableProcessTimeout", + "pnpm run watch" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "Automattic, Inc.", + "email": "support@jetpack.com" + } + ], + "description": "Boost your WordPress site's performance, from the creators of Jetpack", + "transport-options": { + "relative": true + } + }, { "name": "automattic/jetpack-boost-core", "version": "dev-trunk", @@ -1965,6 +2065,71 @@ "relative": true } }, + { + "name": "automattic/jetpack-plugin-deactivation", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/plugin-deactivation", + "reference": "bc916add364c9661485ad0f397422d594c1c4794" + }, + "require": { + "automattic/jetpack-assets": "@dev", + "php": ">=7.0" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "yoast/phpunit-polyfills": "^1.1.1" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "mirror-repo": "Automattic/jetpack-plugin-deactivation", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-plugin-deactivation/compare/v${old}...v${new}" + }, + "autotagger": true, + "branch-alias": { + "dev-trunk": "0.2.x-dev" + }, + "textdomain": "jetpack-plugin-deactivation", + "version-constants": { + "::PACKAGE_VERSION": "src/class-deactivation-handler.php" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "build-development": [ + "pnpm run build" + ], + "build-production": [ + "NODE_ENV=production pnpm run build" + ], + "watch": [ + "Composer\\Config::disableProcessTimeout", + "pnpm run watch" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Ask for feedback while deactivating a plugin", + "transport-options": { + "relative": true + } + }, { "name": "automattic/jetpack-plugins-installer", "version": "dev-trunk", @@ -2400,6 +2565,73 @@ "relative": true } }, + { + "name": "automattic/jetpack-schema", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/schema", + "reference": "be04299bd366af85656cead6917aa99a2d61cdd8" + }, + "require": { + "php": ">=7.0" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "dev-master", + "yoast/phpunit-polyfills": "^1.1.1" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "branch-alias": { + "dev-trunk": "0.1.x-dev" + }, + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-schema/compare/v${old}...v${new}" + }, + "mirror-repo": "Automattic/jetpack-schema", + "textdomain": "jetpack-schema", + "version-constants": { + "::PACKAGE_VERSION": "src/class-schema.php" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "build-development": [ + "echo 'Add your build step to composer.json, please!'" + ], + "build-production": [ + "echo 'Add your build step to composer.json, please!'" + ], + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Define a schema to validate or sanitize data in php", + "transport-options": { + "relative": true + } + }, { "name": "automattic/jetpack-search", "version": "dev-trunk", @@ -2982,6 +3214,74 @@ "relative": true } }, + { + "name": "automattic/jetpack-wp-js-data-sync", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/wp-js-data-sync", + "reference": "47509e3b3baaea36a0ae646e8054b742455361b0" + }, + "require": { + "automattic/jetpack-schema": "@dev", + "php": ">=7.0" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "dev-master", + "yoast/phpunit-polyfills": "^1.1.1" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "mirror-repo": "Automattic/jetpack-wp-js-data-sync", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-wp-js-data-sync/compare/v${old}...v${new}" + }, + "autotagger": true, + "branch-alias": { + "dev-trunk": "0.5.x-dev" + }, + "textdomain": "jetpack-wp-js-data-sync", + "version-constants": { + "::PACKAGE_VERSION": "src/class-data-sync.php" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "build-production": [ + "echo 'Add your build step to composer.json, please!'" + ], + "build-development": [ + "echo 'Add your build step to composer.json, please!'" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "A package to setup REST API and script localization to pass data to a JavaScript client.", + "transport-options": { + "relative": true + } + }, { "name": "automattic/woocommerce-analytics", "version": "dev-trunk", @@ -3044,6 +3344,130 @@ "relative": true } }, + { + "name": "matthiasmullie/minify", + "version": "1.3.73", + "source": { + "type": "git", + "url": "https://github.com/matthiasmullie/minify.git", + "reference": "cb7a9297b4ab070909cefade30ee95054d4ae87a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/matthiasmullie/minify/zipball/cb7a9297b4ab070909cefade30ee95054d4ae87a", + "reference": "cb7a9297b4ab070909cefade30ee95054d4ae87a", + "shasum": "" + }, + "require": { + "ext-pcre": "*", + "matthiasmullie/path-converter": "~1.1", + "php": ">=5.3.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": ">=2.0", + "matthiasmullie/scrapbook": ">=1.3", + "phpunit/phpunit": ">=4.8", + "squizlabs/php_codesniffer": ">=3.0" + }, + "suggest": { + "psr/cache-implementation": "Cache implementation to use with Minify::cache" + }, + "bin": [ + "bin/minifycss", + "bin/minifyjs" + ], + "type": "library", + "autoload": { + "psr-4": { + "MatthiasMullie\\Minify\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Matthias Mullie", + "email": "minify@mullie.eu", + "homepage": "https://www.mullie.eu", + "role": "Developer" + } + ], + "description": "CSS & JavaScript minifier, in PHP. Removes whitespace, strips comments, combines files (incl. @import statements and small assets in CSS files), and optimizes/shortens a few common programming patterns.", + "homepage": "https://github.com/matthiasmullie/minify", + "keywords": [ + "JS", + "css", + "javascript", + "minifier", + "minify" + ], + "support": { + "issues": "https://github.com/matthiasmullie/minify/issues", + "source": "https://github.com/matthiasmullie/minify/tree/1.3.73" + }, + "funding": [ + { + "url": "https://github.com/matthiasmullie", + "type": "github" + } + ], + "time": "2024-03-15T10:27:10+00:00" + }, + { + "name": "matthiasmullie/path-converter", + "version": "1.1.3", + "source": { + "type": "git", + "url": "https://github.com/matthiasmullie/path-converter.git", + "reference": "e7d13b2c7e2f2268e1424aaed02085518afa02d9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/matthiasmullie/path-converter/zipball/e7d13b2c7e2f2268e1424aaed02085518afa02d9", + "reference": "e7d13b2c7e2f2268e1424aaed02085518afa02d9", + "shasum": "" + }, + "require": { + "ext-pcre": "*", + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.8" + }, + "type": "library", + "autoload": { + "psr-4": { + "MatthiasMullie\\PathConverter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Matthias Mullie", + "email": "pathconverter@mullie.eu", + "homepage": "http://www.mullie.eu", + "role": "Developer" + } + ], + "description": "Relative path converter", + "homepage": "http://github.com/matthiasmullie/path-converter", + "keywords": [ + "converter", + "path", + "paths", + "relative" + ], + "support": { + "issues": "https://github.com/matthiasmullie/path-converter/issues", + "source": "https://github.com/matthiasmullie/path-converter/tree/1.1.3" + }, + "time": "2019-02-05T23:41:09+00:00" + }, { "name": "scssphp/scssphp", "version": "v1.12.0", @@ -3124,6 +3548,63 @@ }, "time": "2023-11-14T14:56:09+00:00" }, + { + "name": "tubalmartin/cssmin", + "version": "v4.1.1", + "source": { + "type": "git", + "url": "https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port.git", + "reference": "3cbf557f4079d83a06f9c3ff9b957c022d7805cf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tubalmartin/YUI-CSS-compressor-PHP-port/zipball/3cbf557f4079d83a06f9c3ff9b957c022d7805cf", + "reference": "3cbf557f4079d83a06f9c3ff9b957c022d7805cf", + "shasum": "" + }, + "require": { + "ext-pcre": "*", + "php": ">=5.3.2" + }, + "require-dev": { + "cogpowered/finediff": "0.3.*", + "phpunit/phpunit": "4.8.*" + }, + "bin": [ + "cssmin" + ], + "type": "library", + "autoload": { + "psr-4": { + "tubalmartin\\CssMin\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Túbal Martín", + "homepage": "http://tubalmartin.me/" + } + ], + "description": "A PHP port of the YUI CSS compressor", + "homepage": "https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port", + "keywords": [ + "compress", + "compressor", + "css", + "cssmin", + "minify", + "yui" + ], + "support": { + "issues": "https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port/issues", + "source": "https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port" + }, + "time": "2018-01-15T15:26:51+00:00" + }, { "name": "wikimedia/aho-corasick", "version": "v1.0.1", diff --git a/projects/plugins/jetpack/jetpack-boost-loader.php b/projects/plugins/jetpack/jetpack-boost-loader.php new file mode 100644 index 0000000000000..081d542f156d9 --- /dev/null +++ b/projects/plugins/jetpack/jetpack-boost-loader.php @@ -0,0 +1,40 @@ + Date: Sat, 19 Oct 2024 23:02:35 +0300 Subject: [PATCH 2/3] changelog --- projects/plugins/boost/changelog/boost-in-jp | 4 ++++ projects/plugins/jetpack/changelog/boost-in-jp | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 projects/plugins/boost/changelog/boost-in-jp create mode 100644 projects/plugins/jetpack/changelog/boost-in-jp diff --git a/projects/plugins/boost/changelog/boost-in-jp b/projects/plugins/boost/changelog/boost-in-jp new file mode 100644 index 0000000000000..dbda2687742d8 --- /dev/null +++ b/projects/plugins/boost/changelog/boost-in-jp @@ -0,0 +1,4 @@ +Significance: patch +Type: added + + diff --git a/projects/plugins/jetpack/changelog/boost-in-jp b/projects/plugins/jetpack/changelog/boost-in-jp new file mode 100644 index 0000000000000..ad5caaa949883 --- /dev/null +++ b/projects/plugins/jetpack/changelog/boost-in-jp @@ -0,0 +1,4 @@ +Significance: patch +Type: major + + From 6b4c5bde7034bc5caba4974ae513f1469cccc701 Mon Sep 17 00:00:00 2001 From: Adnan Haque Date: Sun, 20 Oct 2024 09:53:02 +0300 Subject: [PATCH 3/3] Update composer --- composer.lock | 28 +++++++++++++------------- projects/plugins/boost/composer.lock | 12 +++++------ projects/plugins/jetpack/composer.lock | 12 +++++------ 3 files changed, 26 insertions(+), 26 deletions(-) diff --git a/composer.lock b/composer.lock index e3dffd74ad653..9188be66c75d2 100644 --- a/composer.lock +++ b/composer.lock @@ -1139,20 +1139,20 @@ }, { "name": "php-stubs/wordpress-tests-stubs", - "version": "v6.6.0", + "version": "v6.6.2", "source": { "type": "git", "url": "https://github.com/php-stubs/wordpress-tests-stubs.git", - "reference": "bbb91ebd5477134a672b45718ecd120ed2d739c7" + "reference": "4878404d72cd92dfd6c5143ca3f1758575c50bee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-stubs/wordpress-tests-stubs/zipball/bbb91ebd5477134a672b45718ecd120ed2d739c7", - "reference": "bbb91ebd5477134a672b45718ecd120ed2d739c7", + "url": "https://api.github.com/repos/php-stubs/wordpress-tests-stubs/zipball/4878404d72cd92dfd6c5143ca3f1758575c50bee", + "reference": "4878404d72cd92dfd6c5143ca3f1758575c50bee", "shasum": "" }, "require-dev": { - "php": "~7.3 || ~8.0", + "php": "^7.3 || ^8.0", "php-stubs/generator": "^0.8.0" }, "suggest": { @@ -1173,9 +1173,9 @@ ], "support": { "issues": "https://github.com/php-stubs/wordpress-tests-stubs/issues", - "source": "https://github.com/php-stubs/wordpress-tests-stubs/tree/v6.6.0" + "source": "https://github.com/php-stubs/wordpress-tests-stubs/tree/v6.6.2" }, - "time": "2024-07-17T07:56:06+00:00" + "time": "2024-10-18T12:17:46+00:00" }, { "name": "php-stubs/wp-cli-stubs", @@ -1768,16 +1768,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.32.0", + "version": "1.33.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "6ca22b154efdd9e3c68c56f5d94670920a1c19a4" + "reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/6ca22b154efdd9e3c68c56f5d94670920a1c19a4", - "reference": "6ca22b154efdd9e3c68c56f5d94670920a1c19a4", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/82a311fd3690fb2bf7b64d5c98f912b3dd746140", + "reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140", "shasum": "" }, "require": { @@ -1809,9 +1809,9 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.32.0" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.33.0" }, - "time": "2024-09-26T07:23:32+00:00" + "time": "2024-10-13T11:25:22+00:00" }, { "name": "psr/container", @@ -3114,6 +3114,6 @@ "platform": { "ext-json": "*" }, - "platform-dev": {}, + "platform-dev": [], "plugin-api-version": "2.6.0" } diff --git a/projects/plugins/boost/composer.lock b/projects/plugins/boost/composer.lock index 3b6fc7a807989..8769465a6ae46 100644 --- a/projects/plugins/boost/composer.lock +++ b/projects/plugins/boost/composer.lock @@ -2617,16 +2617,16 @@ }, { "name": "nikic/php-parser", - "version": "v5.3.0", + "version": "v5.3.1", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "3abf7425cd284141dc5d8d14a9ee444de3345d1a" + "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/3abf7425cd284141dc5d8d14a9ee444de3345d1a", - "reference": "3abf7425cd284141dc5d8d14a9ee444de3345d1a", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/8eea230464783aa9671db8eea6f8c6ac5285794b", + "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b", "shasum": "" }, "require": { @@ -2669,9 +2669,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.3.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.3.1" }, - "time": "2024-09-29T13:56:26+00:00" + "time": "2024-10-08T18:51:32+00:00" }, { "name": "phar-io/manifest", diff --git a/projects/plugins/jetpack/composer.lock b/projects/plugins/jetpack/composer.lock index 6c4ce2c908d0c..90eacbda01994 100644 --- a/projects/plugins/jetpack/composer.lock +++ b/projects/plugins/jetpack/composer.lock @@ -4020,16 +4020,16 @@ }, { "name": "nikic/php-parser", - "version": "v5.3.0", + "version": "v5.3.1", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "3abf7425cd284141dc5d8d14a9ee444de3345d1a" + "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/3abf7425cd284141dc5d8d14a9ee444de3345d1a", - "reference": "3abf7425cd284141dc5d8d14a9ee444de3345d1a", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/8eea230464783aa9671db8eea6f8c6ac5285794b", + "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b", "shasum": "" }, "require": { @@ -4072,9 +4072,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.3.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.3.1" }, - "time": "2024-09-29T13:56:26+00:00" + "time": "2024-10-08T18:51:32+00:00" }, { "name": "phar-io/manifest",