From 94d04278e6a12b36e27d293bf82a732b6a5ac722 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 11 Nov 2025 14:58:06 +0000 Subject: [PATCH 1/4] Bump the wp-playground-php-wasm group with 17 updates Bumps the wp-playground-php-wasm group with 17 updates: | Package | From | To | | --- | --- | --- | | [@php-wasm/node](https://github.com/WordPress/wordpress-playground) | `3.0.19` | `3.0.20` | | [@php-wasm/scopes](https://github.com/WordPress/wordpress-playground) | `3.0.19` | `3.0.20` | | [@php-wasm/universal](https://github.com/WordPress/wordpress-playground) | `3.0.19` | `3.0.20` | | @wp-playground/blueprints | `3.0.19` | `3.0.20` | | [@wp-playground/cli](https://github.com/WordPress/wordpress-playground) | `3.0.19` | `3.0.20` | | [@wp-playground/wordpress](https://github.com/WordPress/wordpress-playground) | `3.0.19` | `3.0.20` | | [@php-wasm/fs-journal](https://github.com/WordPress/wordpress-playground) | `3.0.19` | `3.0.20` | | [@php-wasm/logger](https://github.com/WordPress/wordpress-playground) | `3.0.19` | `3.0.20` | | [@php-wasm/node-polyfills](https://github.com/WordPress/wordpress-playground) | `3.0.19` | `3.0.20` | | [@php-wasm/stream-compression](https://github.com/WordPress/wordpress-playground) | `3.0.19` | `3.0.20` | | [@php-wasm/progress](https://github.com/WordPress/wordpress-playground) | `3.0.19` | `3.0.20` | | @php-wasm/util | `3.0.19` | `3.0.20` | | [@php-wasm/web](https://github.com/WordPress/wordpress-playground) | `3.0.19` | `3.0.20` | | [@php-wasm/web-service-worker](https://github.com/WordPress/wordpress-playground) | `3.0.19` | `3.0.20` | | [@php-wasm/xdebug-bridge](https://github.com/WordPress/wordpress-playground) | `3.0.19` | `3.0.20` | | [@wp-playground/common](https://github.com/common/common-playground) | `3.0.19` | `3.0.20` | | [@wp-playground/storage](https://github.com/WordPress/wordpress-playground) | `3.0.19` | `3.0.20` | Updates `@php-wasm/node` from 3.0.19 to 3.0.20 - [Changelog](https://github.com/WordPress/wordpress-playground/blob/trunk/CHANGELOG.md) - [Commits](https://github.com/WordPress/wordpress-playground/compare/v3.0.19...v3.0.20) Updates `@php-wasm/scopes` from 3.0.19 to 3.0.20 - [Changelog](https://github.com/WordPress/wordpress-playground/blob/trunk/CHANGELOG.md) - [Commits](https://github.com/WordPress/wordpress-playground/compare/v3.0.19...v3.0.20) Updates `@php-wasm/universal` from 3.0.19 to 3.0.20 - [Changelog](https://github.com/WordPress/wordpress-playground/blob/trunk/CHANGELOG.md) - [Commits](https://github.com/WordPress/wordpress-playground/compare/v3.0.19...v3.0.20) Updates `@wp-playground/blueprints` from 3.0.19 to 3.0.20 Updates `@wp-playground/cli` from 3.0.19 to 3.0.20 - [Changelog](https://github.com/WordPress/wordpress-playground/blob/trunk/CHANGELOG.md) - [Commits](https://github.com/WordPress/wordpress-playground/compare/v3.0.19...v3.0.20) Updates `@wp-playground/wordpress` from 3.0.19 to 3.0.20 - [Changelog](https://github.com/WordPress/wordpress-playground/blob/trunk/CHANGELOG.md) - [Commits](https://github.com/WordPress/wordpress-playground/compare/v3.0.19...v3.0.20) Updates `@php-wasm/fs-journal` from 3.0.19 to 3.0.20 - [Changelog](https://github.com/WordPress/wordpress-playground/blob/trunk/CHANGELOG.md) - [Commits](https://github.com/WordPress/wordpress-playground/compare/v3.0.19...v3.0.20) Updates `@php-wasm/logger` from 3.0.19 to 3.0.20 - [Changelog](https://github.com/WordPress/wordpress-playground/blob/trunk/CHANGELOG.md) - [Commits](https://github.com/WordPress/wordpress-playground/compare/v3.0.19...v3.0.20) Updates `@php-wasm/node-polyfills` from 3.0.19 to 3.0.20 - [Changelog](https://github.com/WordPress/wordpress-playground/blob/trunk/CHANGELOG.md) - [Commits](https://github.com/WordPress/wordpress-playground/compare/v3.0.19...v3.0.20) Updates `@php-wasm/stream-compression` from 3.0.19 to 3.0.20 - [Changelog](https://github.com/WordPress/wordpress-playground/blob/trunk/CHANGELOG.md) - [Commits](https://github.com/WordPress/wordpress-playground/compare/v3.0.19...v3.0.20) Updates `@php-wasm/progress` from 3.0.19 to 3.0.20 - [Changelog](https://github.com/WordPress/wordpress-playground/blob/trunk/CHANGELOG.md) - [Commits](https://github.com/WordPress/wordpress-playground/compare/v3.0.19...v3.0.20) Updates `@php-wasm/util` from 3.0.19 to 3.0.20 Updates `@php-wasm/web` from 3.0.19 to 3.0.20 - [Changelog](https://github.com/WordPress/wordpress-playground/blob/trunk/CHANGELOG.md) - [Commits](https://github.com/WordPress/wordpress-playground/compare/v3.0.19...v3.0.20) Updates `@php-wasm/web-service-worker` from 3.0.19 to 3.0.20 - [Changelog](https://github.com/WordPress/wordpress-playground/blob/trunk/CHANGELOG.md) - [Commits](https://github.com/WordPress/wordpress-playground/compare/v3.0.19...v3.0.20) Updates `@php-wasm/xdebug-bridge` from 3.0.19 to 3.0.20 - [Changelog](https://github.com/WordPress/wordpress-playground/blob/trunk/CHANGELOG.md) - [Commits](https://github.com/WordPress/wordpress-playground/compare/v3.0.19...v3.0.20) Updates `@wp-playground/common` from 3.0.19 to 3.0.20 - [Commits](https://github.com/common/common-playground/commits) Updates `@wp-playground/storage` from 3.0.19 to 3.0.20 - [Changelog](https://github.com/WordPress/wordpress-playground/blob/trunk/CHANGELOG.md) - [Commits](https://github.com/WordPress/wordpress-playground/compare/v3.0.19...v3.0.20) --- updated-dependencies: - dependency-name: "@php-wasm/node" dependency-version: 3.0.20 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: wp-playground-php-wasm - dependency-name: "@php-wasm/scopes" dependency-version: 3.0.20 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: wp-playground-php-wasm - dependency-name: "@php-wasm/universal" dependency-version: 3.0.20 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: wp-playground-php-wasm - dependency-name: "@wp-playground/blueprints" dependency-version: 3.0.20 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: wp-playground-php-wasm - dependency-name: "@wp-playground/cli" dependency-version: 3.0.20 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: wp-playground-php-wasm - dependency-name: "@wp-playground/wordpress" dependency-version: 3.0.20 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: wp-playground-php-wasm - dependency-name: "@php-wasm/fs-journal" dependency-version: 3.0.20 dependency-type: indirect update-type: version-update:semver-patch dependency-group: wp-playground-php-wasm - dependency-name: "@php-wasm/logger" dependency-version: 3.0.20 dependency-type: indirect update-type: version-update:semver-patch dependency-group: wp-playground-php-wasm - dependency-name: "@php-wasm/node-polyfills" dependency-version: 3.0.20 dependency-type: indirect update-type: version-update:semver-patch dependency-group: wp-playground-php-wasm - dependency-name: "@php-wasm/stream-compression" dependency-version: 3.0.20 dependency-type: indirect update-type: version-update:semver-patch dependency-group: wp-playground-php-wasm - dependency-name: "@php-wasm/progress" dependency-version: 3.0.20 dependency-type: indirect update-type: version-update:semver-patch dependency-group: wp-playground-php-wasm - dependency-name: "@php-wasm/util" dependency-version: 3.0.20 dependency-type: indirect update-type: version-update:semver-patch dependency-group: wp-playground-php-wasm - dependency-name: "@php-wasm/web" dependency-version: 3.0.20 dependency-type: indirect update-type: version-update:semver-patch dependency-group: wp-playground-php-wasm - dependency-name: "@php-wasm/web-service-worker" dependency-version: 3.0.20 dependency-type: indirect update-type: version-update:semver-patch dependency-group: wp-playground-php-wasm - dependency-name: "@php-wasm/xdebug-bridge" dependency-version: 3.0.20 dependency-type: indirect update-type: version-update:semver-patch dependency-group: wp-playground-php-wasm - dependency-name: "@wp-playground/common" dependency-version: 3.0.20 dependency-type: indirect update-type: version-update:semver-patch dependency-group: wp-playground-php-wasm - dependency-name: "@wp-playground/storage" dependency-version: 3.0.20 dependency-type: indirect update-type: version-update:semver-patch dependency-group: wp-playground-php-wasm ... Signed-off-by: dependabot[bot] --- package-lock.json | 290 ++++++++++++++++++++-------------------------- package.json | 10 +- 2 files changed, 133 insertions(+), 167 deletions(-) diff --git a/package-lock.json b/package-lock.json index 937bc2163..495b61320 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,9 +14,9 @@ "@automattic/interpolate-components": "^1.2.1", "@formatjs/intl-locale": "^3.4.5", "@formatjs/intl-localematcher": "^0.5.4", - "@php-wasm/node": "^3.0.19", - "@php-wasm/scopes": "^3.0.19", - "@php-wasm/universal": "^3.0.19", + "@php-wasm/node": "^3.0.21", + "@php-wasm/scopes": "^3.0.21", + "@php-wasm/universal": "^3.0.21", "@reduxjs/toolkit": "^2.7.0", "@rive-app/react-canvas": "^4.12.0", "@sentry/electron": "^6.5.0", @@ -26,8 +26,8 @@ "@wordpress/dataviews": "^10.2.0", "@wordpress/i18n": "^6.1.0", "@wordpress/icons": "^11.1.0", - "@wp-playground/blueprints": "^3.0.19", - "@wp-playground/cli": "^3.0.19", + "@wp-playground/blueprints": "^3.0.21", + "@wp-playground/cli": "^3.0.21", "@wp-playground/wordpress": "^3.0.14", "archiver": "^6.0.1", "atomically": "^2.0.3", @@ -7736,15 +7736,15 @@ } }, "node_modules/@php-wasm/fs-journal": { - "version": "3.0.19", - "resolved": "https://registry.npmjs.org/@php-wasm/fs-journal/-/fs-journal-3.0.19.tgz", - "integrity": "sha512-xws2CbKwnkupdZb1L6pYbIjku9lIKlvxv+mMwt6l/wwzI+IFLRVhuqIn84GDPtU9mzDN7GLkDuwcfxz2StTJvg==", + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/@php-wasm/fs-journal/-/fs-journal-3.0.21.tgz", + "integrity": "sha512-8obzJX2U6VNAi0cmLyo5sdW8+QElVo/onGoWP2WqPr9+7xkbN4UVADclSz/mlI7yq7fsS/gmDfwJry4LLujbnw==", "license": "GPL-2.0-or-later", "dependencies": { - "@php-wasm/logger": "3.0.19", - "@php-wasm/node": "3.0.19", - "@php-wasm/universal": "3.0.19", - "@php-wasm/util": "3.0.19", + "@php-wasm/logger": "3.0.21", + "@php-wasm/node": "3.0.21", + "@php-wasm/universal": "3.0.21", + "@php-wasm/util": "3.0.21", "express": "4.21.2", "ini": "4.1.2", "wasm-feature-detect": "1.8.0", @@ -7769,12 +7769,12 @@ } }, "node_modules/@php-wasm/logger": { - "version": "3.0.19", - "resolved": "https://registry.npmjs.org/@php-wasm/logger/-/logger-3.0.19.tgz", - "integrity": "sha512-Nqg4bFdfdDkgwKUjSQSekpZYHFL7B5B8B+C0g1nTbOP4qj0A1v26Nek/1cK26EFV2nKEo6Fp4wtLdkh6FU2hMg==", + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/@php-wasm/logger/-/logger-3.0.21.tgz", + "integrity": "sha512-KYyIH/MCXsRfQWMRGkcnzDRJPj/hDWafqHXDrZBVnhO49kj0gWvenR7Rk6Hvm5fhk8aRIrgVzL6+pAIe0JO5Ew==", "license": "GPL-2.0-or-later", "dependencies": { - "@php-wasm/node-polyfills": "3.0.19" + "@php-wasm/node-polyfills": "3.0.21" }, "engines": { "node": ">=20.18.3", @@ -7785,16 +7785,16 @@ } }, "node_modules/@php-wasm/node": { - "version": "3.0.19", - "resolved": "https://registry.npmjs.org/@php-wasm/node/-/node-3.0.19.tgz", - "integrity": "sha512-FUsaN4GQ2Lqw4UG4iujjDpEjv/BFADtDZEk2+xFrACrvU5sOxjsKER9SDh5MYiqTmIDAGcR2Y+VgSDaF0gK80Q==", + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/@php-wasm/node/-/node-3.0.21.tgz", + "integrity": "sha512-ezJh98m8uy+O2Yq2N/Uny4Y9VU5OdM/uYD1/F0KPzptKvu/4FrmcH3oEqjgL0R8PuSXrjS6Zc6l/jQD82fkfvA==", "license": "GPL-2.0-or-later", "dependencies": { - "@php-wasm/logger": "3.0.19", - "@php-wasm/node-polyfills": "3.0.19", - "@php-wasm/universal": "3.0.19", - "@php-wasm/util": "3.0.19", - "@wp-playground/common": "3.0.19", + "@php-wasm/logger": "3.0.21", + "@php-wasm/node-polyfills": "3.0.21", + "@php-wasm/universal": "3.0.21", + "@php-wasm/util": "3.0.21", + "@wp-playground/common": "3.0.21", "express": "4.21.2", "ini": "4.1.2", "wasm-feature-detect": "1.8.0", @@ -7810,9 +7810,9 @@ } }, "node_modules/@php-wasm/node-polyfills": { - "version": "3.0.19", - "resolved": "https://registry.npmjs.org/@php-wasm/node-polyfills/-/node-polyfills-3.0.19.tgz", - "integrity": "sha512-PjxNzoLHOEotLpm8PQNWpbCiK8wedWuy57b1IwaJgzgeNFYJ5YZjgyB3tooiT0B+YrSHULSGk0N4fblnlu4V0w==", + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/@php-wasm/node-polyfills/-/node-polyfills-3.0.21.tgz", + "integrity": "sha512-5CwoWlJVJ8is30OjMPaqW2aIK7P80jyMxqveS8yNmP0Yni+LPiCvf+b6rtH8R5LfVsS17ma6E6Lfd48oL4WIGw==", "license": "GPL-2.0-or-later", "optionalDependencies": { "fs-ext": "2.1.1" @@ -7826,11 +7826,15 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/@php-wasm/scopes": { - "version": "3.0.19", - "resolved": "https://registry.npmjs.org/@php-wasm/scopes/-/scopes-3.0.19.tgz", - "integrity": "sha512-wInSI4Tj4V8zqCiwXtDsZkJJMcnsZBZIP4d5mxnsn0zHlXzoD0BkZhxgOxJpHCqPS4dhF8Us/ZX8yQ+9JUntDA==", + "node_modules/@php-wasm/progress": { + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/@php-wasm/progress/-/progress-3.0.21.tgz", + "integrity": "sha512-df4RQBQQfUt63RIiipJBmDbEz6fQYX9ExVQVKmU7FU7x7ZPjVidH8Sq+iaZA4tXIbEwHExZ65KA9YvEzVdobPg==", "license": "GPL-2.0-or-later", + "dependencies": { + "@php-wasm/logger": "3.0.21", + "@php-wasm/node-polyfills": "3.0.21" + }, "engines": { "node": ">=20.18.3", "npm": ">=10.1.0" @@ -7839,48 +7843,44 @@ "fs-ext": "2.1.1" } }, - "node_modules/@php-wasm/stream-compression": { - "version": "3.0.19", - "resolved": "https://registry.npmjs.org/@php-wasm/stream-compression/-/stream-compression-3.0.19.tgz", - "integrity": "sha512-lLEztQzRZvuh0e4xMe+ybTr5/4ZDyK61Gx30uOgcu9ai4NU0BmE/VoY7i6HHOytW8qELYVgg58PosK4bAN/GgQ==", + "node_modules/@php-wasm/scopes": { + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/@php-wasm/scopes/-/scopes-3.0.21.tgz", + "integrity": "sha512-aWqvYM+0zwO6httFNOhR4Bf7hAY4fONVBjt1SLYhKrgq5maplUwMv3R2fcGfz/2oQuEtAnWZGvfX3gmDLTGTpg==", "license": "GPL-2.0-or-later", - "dependencies": { - "@php-wasm/node-polyfills": "3.0.19", - "@php-wasm/util": "3.0.19" + "engines": { + "node": ">=20.18.3", + "npm": ">=10.1.0" }, "optionalDependencies": { "fs-ext": "2.1.1" } }, - "node_modules/@php-wasm/universal": { - "version": "3.0.19", - "resolved": "https://registry.npmjs.org/@php-wasm/universal/-/universal-3.0.19.tgz", - "integrity": "sha512-sItcRHWgESSwBrCQ8uPy/emetl+YBxiGzLkp7kp9TXJWLxQq2wJRmsMha8wU08pIyDDjCIgjWYtPKQ3pFee96g==", + "node_modules/@php-wasm/stream-compression": { + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/@php-wasm/stream-compression/-/stream-compression-3.0.21.tgz", + "integrity": "sha512-/e8rXYBZSocfj/d0jxySa5STvwLDz5yAftdAGR286q2kqAH34PGYSr8bc5cB24vBTBoj0iAHg9WyX2uEwJTEeg==", "license": "GPL-2.0-or-later", "dependencies": { - "@php-wasm/logger": "3.0.19", - "@php-wasm/node-polyfills": "3.0.19", - "@php-wasm/progress": "3.0.19", - "@php-wasm/stream-compression": "3.0.19", - "@php-wasm/util": "3.0.19", - "ini": "4.1.2" - }, - "engines": { - "node": ">=20.18.3", - "npm": ">=10.1.0" + "@php-wasm/node-polyfills": "3.0.21", + "@php-wasm/util": "3.0.21" }, "optionalDependencies": { "fs-ext": "2.1.1" } }, - "node_modules/@php-wasm/universal/node_modules/@php-wasm/progress": { - "version": "3.0.19", - "resolved": "https://registry.npmjs.org/@php-wasm/progress/-/progress-3.0.19.tgz", - "integrity": "sha512-GicMUvA6g7z2ArNwM9Bc6eFox0Mfi6vmCexKCv0Dq4xpFuuc7wC/JdBz6bC2w4RW15ICl/C3ARRFTdRmnKHR9g==", + "node_modules/@php-wasm/universal": { + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/@php-wasm/universal/-/universal-3.0.21.tgz", + "integrity": "sha512-RSsLaP0BEdyQ7A/PYhC5sOSIKzwzKTYiHDSZbwnGSUdzmizOY5bUvukDDAGI+Aw4UYSKpvd/0MT3b62nBnM3oA==", "license": "GPL-2.0-or-later", "dependencies": { - "@php-wasm/logger": "3.0.19", - "@php-wasm/node-polyfills": "3.0.19" + "@php-wasm/logger": "3.0.21", + "@php-wasm/node-polyfills": "3.0.21", + "@php-wasm/progress": "3.0.21", + "@php-wasm/stream-compression": "3.0.21", + "@php-wasm/util": "3.0.21", + "ini": "4.1.2" }, "engines": { "node": ">=20.18.3", @@ -7900,9 +7900,9 @@ } }, "node_modules/@php-wasm/util": { - "version": "3.0.19", - "resolved": "https://registry.npmjs.org/@php-wasm/util/-/util-3.0.19.tgz", - "integrity": "sha512-5kOs76glzDuyUlyamq4Kg10X74igJp8UKS8tUqA/4IW3WPwRETIV8QiIO4+52rPVkxdkN2EqclQffmVb/3khiA==", + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/@php-wasm/util/-/util-3.0.21.tgz", + "integrity": "sha512-OPen901Trj16rwo4KXZwxGqNXNRfR9dOi1xJrex+hB6rTUYP8ACGqSIEUct0Bb4vlI785nLFcVLBnLTWgvNtaA==", "engines": { "node": ">=20.18.3", "npm": ">=10.1.0" @@ -7912,16 +7912,16 @@ } }, "node_modules/@php-wasm/web": { - "version": "3.0.19", - "resolved": "https://registry.npmjs.org/@php-wasm/web/-/web-3.0.19.tgz", - "integrity": "sha512-GTUelZSUNy8oUh4/zJld9Bx5d5a4tTU8aaa3a2ovwnCnWUawYMfV+JOEE69eiKChJGVDmiVHfbKep6ZEe2gAhQ==", + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/@php-wasm/web/-/web-3.0.21.tgz", + "integrity": "sha512-zQvFzvFvwbnYv+QYSWoxF3sTbbdIfpDClrtDtoObhRGq0rtVTSTqnsMEwxQx0+ATt1IuVP2RtFAKtWWRA2mWDg==", "license": "GPL-2.0-or-later", "dependencies": { - "@php-wasm/fs-journal": "3.0.19", - "@php-wasm/logger": "3.0.19", - "@php-wasm/universal": "3.0.19", - "@php-wasm/util": "3.0.19", - "@php-wasm/web-service-worker": "3.0.19", + "@php-wasm/fs-journal": "3.0.21", + "@php-wasm/logger": "3.0.21", + "@php-wasm/universal": "3.0.21", + "@php-wasm/util": "3.0.21", + "@php-wasm/web-service-worker": "3.0.21", "express": "4.21.2", "ini": "4.1.2", "wasm-feature-detect": "1.8.0", @@ -7937,12 +7937,12 @@ } }, "node_modules/@php-wasm/web-service-worker": { - "version": "3.0.19", - "resolved": "https://registry.npmjs.org/@php-wasm/web-service-worker/-/web-service-worker-3.0.19.tgz", - "integrity": "sha512-+8wlbScquDeXK8aRBe/pF//L//kDttsh5i2ChNkS1iPbS3t0buJHKcby0Wnr2kvfw54zhomWVaDuxKuKLIYNTQ==", + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/@php-wasm/web-service-worker/-/web-service-worker-3.0.21.tgz", + "integrity": "sha512-BndQYgmRLtemK6IW6rtItYKSxG67bWAMi0L0SmTH8ISzxYDtCZjvBaT44BXbCMWklDi9Ol7sx8WUyIg8Lx+Zdg==", "license": "GPL-2.0-or-later", "dependencies": { - "@php-wasm/scopes": "3.0.19" + "@php-wasm/scopes": "3.0.21" }, "engines": { "node": ">=20.18.3", @@ -7962,15 +7962,15 @@ } }, "node_modules/@php-wasm/xdebug-bridge": { - "version": "3.0.19", - "resolved": "https://registry.npmjs.org/@php-wasm/xdebug-bridge/-/xdebug-bridge-3.0.19.tgz", - "integrity": "sha512-fj/im+eBf0W1udTDkjeOpFp3BG1CMYPKu8VmYR8VAiphDf4y6j8Bg3PAGROc72gwUyAGsgMgSVmzV2+DP2ewIQ==", + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/@php-wasm/xdebug-bridge/-/xdebug-bridge-3.0.21.tgz", + "integrity": "sha512-Ivi1saHPa4oDdjObm+KX9XBfJIS0Raatc0OJv2I8Dau8zmIH/TfZqzQOwz2Z4Gb2xJG8gxEo5wYFnLOzN4caSw==", "license": "GPL-2.0-or-later", "dependencies": { - "@php-wasm/logger": "3.0.19", - "@php-wasm/node": "3.0.19", - "@php-wasm/universal": "3.0.19", - "@wp-playground/common": "3.0.19", + "@php-wasm/logger": "3.0.21", + "@php-wasm/node": "3.0.21", + "@php-wasm/universal": "3.0.21", + "@wp-playground/common": "3.0.21", "express": "4.21.2", "ini": "4.1.2", "wasm-feature-detect": "1.8.0", @@ -11428,21 +11428,21 @@ } }, "node_modules/@wp-playground/blueprints": { - "version": "3.0.19", - "resolved": "https://registry.npmjs.org/@wp-playground/blueprints/-/blueprints-3.0.19.tgz", - "integrity": "sha512-BhoFm2d5w+OOURMZ0MgtbTTFhV+YgGkBFtCZhfckOEKxYsX//LRE7l7Wso6Q0XlMxHDw87Ypc2Dwf5wEz87fSQ==", - "dependencies": { - "@php-wasm/logger": "3.0.19", - "@php-wasm/node": "3.0.19", - "@php-wasm/node-polyfills": "3.0.19", - "@php-wasm/progress": "3.0.19", - "@php-wasm/stream-compression": "3.0.19", - "@php-wasm/universal": "3.0.19", - "@php-wasm/util": "3.0.19", - "@php-wasm/web": "3.0.19", - "@wp-playground/common": "3.0.19", - "@wp-playground/storage": "3.0.19", - "@wp-playground/wordpress": "3.0.19", + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/@wp-playground/blueprints/-/blueprints-3.0.21.tgz", + "integrity": "sha512-MoDqob0Fx0SQferWqPk0SCOay1yFDtWnkbkO5HDtkr4pcK1DxfK3s/PE6WArNQhtyfKKQXd4n1R7faeg/zzSjQ==", + "dependencies": { + "@php-wasm/logger": "3.0.21", + "@php-wasm/node": "3.0.21", + "@php-wasm/node-polyfills": "3.0.21", + "@php-wasm/progress": "3.0.21", + "@php-wasm/stream-compression": "3.0.21", + "@php-wasm/universal": "3.0.21", + "@php-wasm/util": "3.0.21", + "@php-wasm/web": "3.0.21", + "@wp-playground/common": "3.0.21", + "@wp-playground/storage": "3.0.21", + "@wp-playground/wordpress": "3.0.21", "@zip.js/zip.js": "2.7.57", "ajv": "8.12.0", "async-lock": "1.4.1", @@ -11471,23 +11471,6 @@ "fs-ext": "2.1.1" } }, - "node_modules/@wp-playground/blueprints/node_modules/@php-wasm/progress": { - "version": "3.0.19", - "resolved": "https://registry.npmjs.org/@php-wasm/progress/-/progress-3.0.19.tgz", - "integrity": "sha512-GicMUvA6g7z2ArNwM9Bc6eFox0Mfi6vmCexKCv0Dq4xpFuuc7wC/JdBz6bC2w4RW15ICl/C3ARRFTdRmnKHR9g==", - "license": "GPL-2.0-or-later", - "dependencies": { - "@php-wasm/logger": "3.0.19", - "@php-wasm/node-polyfills": "3.0.19" - }, - "engines": { - "node": ">=20.18.3", - "npm": ">=10.1.0" - }, - "optionalDependencies": { - "fs-ext": "2.1.1" - } - }, "node_modules/@wp-playground/blueprints/node_modules/ajv": { "version": "8.12.0", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", @@ -11525,21 +11508,21 @@ "integrity": "sha512-0DTvPVU3ed8+HNXOu5Bs+o//Mbdj9VNQMUOe9oKCwh8l0GNwpTDMKCWbRjgtD291AWnkAgkqA/LOnQS8AmS1tw==" }, "node_modules/@wp-playground/cli": { - "version": "3.0.19", - "resolved": "https://registry.npmjs.org/@wp-playground/cli/-/cli-3.0.19.tgz", - "integrity": "sha512-rKtlH2kkWHGRU0UM5kq2Wg4XHFfnYVlDvzvc+Jec0TVX9M5M1AhUIT/+GVOxmgNKL1arAotR7hDej08gwyQtoA==", + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/@wp-playground/cli/-/cli-3.0.21.tgz", + "integrity": "sha512-CXb56gAd6rfpEMOoVhoUsxuvcMZEeB0iZp1izpv/QB2MD5h8LB/3YtO2P/zq+Z9NqTE1WAaj99e/EZ+fSFyvag==", "license": "GPL-2.0-or-later", "dependencies": { - "@php-wasm/logger": "3.0.19", - "@php-wasm/node": "3.0.19", - "@php-wasm/progress": "3.0.19", - "@php-wasm/universal": "3.0.19", - "@php-wasm/util": "3.0.19", - "@php-wasm/xdebug-bridge": "3.0.19", - "@wp-playground/blueprints": "3.0.19", - "@wp-playground/common": "3.0.19", - "@wp-playground/storage": "3.0.19", - "@wp-playground/wordpress": "3.0.19", + "@php-wasm/logger": "3.0.21", + "@php-wasm/node": "3.0.21", + "@php-wasm/progress": "3.0.21", + "@php-wasm/universal": "3.0.21", + "@php-wasm/util": "3.0.21", + "@php-wasm/xdebug-bridge": "3.0.21", + "@wp-playground/blueprints": "3.0.21", + "@wp-playground/common": "3.0.21", + "@wp-playground/storage": "3.0.21", + "@wp-playground/wordpress": "3.0.21", "@zip.js/zip.js": "2.7.57", "ajv": "8.12.0", "async-lock": "1.4.1", @@ -11573,23 +11556,6 @@ "fs-ext": "2.1.1" } }, - "node_modules/@wp-playground/cli/node_modules/@php-wasm/progress": { - "version": "3.0.19", - "resolved": "https://registry.npmjs.org/@php-wasm/progress/-/progress-3.0.19.tgz", - "integrity": "sha512-GicMUvA6g7z2ArNwM9Bc6eFox0Mfi6vmCexKCv0Dq4xpFuuc7wC/JdBz6bC2w4RW15ICl/C3ARRFTdRmnKHR9g==", - "license": "GPL-2.0-or-later", - "dependencies": { - "@php-wasm/logger": "3.0.19", - "@php-wasm/node-polyfills": "3.0.19" - }, - "engines": { - "node": ">=20.18.3", - "npm": ">=10.1.0" - }, - "optionalDependencies": { - "fs-ext": "2.1.1" - } - }, "node_modules/@wp-playground/cli/node_modules/ajv": { "version": "8.12.0", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", @@ -11628,13 +11594,13 @@ "license": "(MIT AND Zlib)" }, "node_modules/@wp-playground/common": { - "version": "3.0.19", - "resolved": "https://registry.npmjs.org/@wp-playground/common/-/common-3.0.19.tgz", - "integrity": "sha512-Xtn8baSHTvK4YzQoLReKrvZZs2yGXAzaVqAOZS93FtBXEJ9OIIgQg5egpv6mf7KZxHqlULtA08/sLNpuVMgzew==", + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/@wp-playground/common/-/common-3.0.21.tgz", + "integrity": "sha512-/07vi+SLDLtEOCSIxA6TzAIFdsFCHd4Gn/VGbERoWtMbN5txUPiNjOhi/Vz8IZEVCU38VUR5G9DO/z77XEMPaw==", "license": "GPL-2.0-or-later", "dependencies": { - "@php-wasm/universal": "3.0.19", - "@php-wasm/util": "3.0.19", + "@php-wasm/universal": "3.0.21", + "@php-wasm/util": "3.0.21", "ini": "4.1.2" }, "engines": { @@ -11655,15 +11621,15 @@ } }, "node_modules/@wp-playground/storage": { - "version": "3.0.19", - "resolved": "https://registry.npmjs.org/@wp-playground/storage/-/storage-3.0.19.tgz", - "integrity": "sha512-lxdeXzzXzSIcwaqVsg5R33OVqVCBjB1hVhQNep8Xs9RB0GKidc56nKwJNh4OIoaZIRwzgNTn+FLfyZnExrR+gA==", + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/@wp-playground/storage/-/storage-3.0.21.tgz", + "integrity": "sha512-h4gge8pM4r7l9n8buy8GEz8LOa6DCsJGPirgUQISE/cz+rJloAh8Tvvijx2eA1AXJ+mEzeA1Ry26EQV6QE0uGA==", "license": "GPL-2.0-or-later", "dependencies": { - "@php-wasm/stream-compression": "3.0.19", - "@php-wasm/universal": "3.0.19", - "@php-wasm/util": "3.0.19", - "@php-wasm/web": "3.0.19", + "@php-wasm/stream-compression": "3.0.21", + "@php-wasm/universal": "3.0.21", + "@php-wasm/util": "3.0.21", + "@php-wasm/web": "3.0.21", "@zip.js/zip.js": "2.7.57", "async-lock": "^1.4.1", "clean-git-ref": "^2.0.1", @@ -11712,16 +11678,16 @@ } }, "node_modules/@wp-playground/wordpress": { - "version": "3.0.19", - "resolved": "https://registry.npmjs.org/@wp-playground/wordpress/-/wordpress-3.0.19.tgz", - "integrity": "sha512-dtA1PuVHUyMX3kNV/ZVZA0wrM/7hbr3z8xch0TD1bl73iuf1wRIc74hDlvDJYmAgEU4zjmD4DYTPdJmNjqPiUg==", + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/@wp-playground/wordpress/-/wordpress-3.0.21.tgz", + "integrity": "sha512-zcSlnxZFYCUYJfZzqUIhqwRdTSWikxjG8yQeLFKKYTluHxvhE1xyLjvhtM/8huzsmRoD2tCDSwoeAddOQw7FuA==", "license": "GPL-2.0-or-later", "dependencies": { - "@php-wasm/logger": "3.0.19", - "@php-wasm/node": "3.0.19", - "@php-wasm/universal": "3.0.19", - "@php-wasm/util": "3.0.19", - "@wp-playground/common": "3.0.19", + "@php-wasm/logger": "3.0.21", + "@php-wasm/node": "3.0.21", + "@php-wasm/universal": "3.0.21", + "@php-wasm/util": "3.0.21", + "@wp-playground/common": "3.0.21", "express": "4.21.2", "ini": "4.1.2", "wasm-feature-detect": "1.8.0", diff --git a/package.json b/package.json index d4b2abbc7..1f8a4573e 100644 --- a/package.json +++ b/package.json @@ -119,9 +119,9 @@ "@automattic/interpolate-components": "^1.2.1", "@formatjs/intl-locale": "^3.4.5", "@formatjs/intl-localematcher": "^0.5.4", - "@php-wasm/node": "^3.0.19", - "@php-wasm/scopes": "^3.0.19", - "@php-wasm/universal": "^3.0.19", + "@php-wasm/node": "^3.0.21", + "@php-wasm/scopes": "^3.0.21", + "@php-wasm/universal": "^3.0.21", "@reduxjs/toolkit": "^2.7.0", "@rive-app/react-canvas": "^4.12.0", "@sentry/electron": "^6.5.0", @@ -131,8 +131,8 @@ "@wordpress/dataviews": "^10.2.0", "@wordpress/i18n": "^6.1.0", "@wordpress/icons": "^11.1.0", - "@wp-playground/blueprints": "^3.0.19", - "@wp-playground/cli": "^3.0.19", + "@wp-playground/blueprints": "^3.0.21", + "@wp-playground/cli": "^3.0.21", "@wp-playground/wordpress": "^3.0.14", "archiver": "^6.0.1", "atomically": "^2.0.3", From 6505c3735b11c97580504cec8573fcaff1c655bc Mon Sep 17 00:00:00 2001 From: Wojtek Naruniec Date: Wed, 12 Nov 2025 08:33:43 +0100 Subject: [PATCH 2/4] Redo patch for Playgroubd 3.0.21 --- patches/@wp-playground+wordpress+3.0.19.patch | 25 ------------------- patches/@wp-playground+wordpress+3.0.21.patch | 25 +++++++++++++++++++ 2 files changed, 25 insertions(+), 25 deletions(-) delete mode 100644 patches/@wp-playground+wordpress+3.0.19.patch create mode 100644 patches/@wp-playground+wordpress+3.0.21.patch diff --git a/patches/@wp-playground+wordpress+3.0.19.patch b/patches/@wp-playground+wordpress+3.0.19.patch deleted file mode 100644 index dda2645c7..000000000 --- a/patches/@wp-playground+wordpress+3.0.19.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/node_modules/@wp-playground/wordpress/index.cjs b/node_modules/@wp-playground/wordpress/index.cjs -index ccbb71a..2d9ce09 100644 ---- a/node_modules/@wp-playground/wordpress/index.cjs -+++ b/node_modules/@wp-playground/wordpress/index.cjs -@@ -352,7 +352,7 @@ function skip_whitespace($tokens) { - ob_clean(); - echo false === $return_value ? '0' : '1'; - ob_end_flush(); -- `})).text!=="1")throw new Error("Failed to rewrite constants in wp-config.php.")}async function h(e,t){const n=o.joinPaths(t,"wp-config.php"),i={DB_NAME:"wordpress"};!e.fileExists(n)&&e.fileExists(o.joinPaths(t,"wp-config-sample.php"))&&await e.writeFile(n,await e.readFileAsBuffer(o.joinPaths(t,"wp-config-sample.php"))),await _(e,n,i,"skip")}async function v(e){const t=await w(e);return await g(t,e),t}async function g(e,t){var i,r;const n=await e.getPrimaryPhp();if((i=t.hooks)!=null&&i.beforeWordPressFiles&&await t.hooks.beforeWordPressFiles(n),t.wordPressZip&&await E(n,await t.wordPressZip),t.constants)for(const a in t.constants)n.defineConstant(a,t.constants[a]);if(t.dataSqlPath&&(n.defineConstant("DB_DIR",o.dirname(t.dataSqlPath)),n.defineConstant("DB_FILE",o.basename(t.dataSqlPath))),n.defineConstant("WP_HOME",t.siteUrl),n.defineConstant("WP_SITEURL",t.siteUrl),await h(n,e.documentRoot),(r=t.hooks)!=null&&r.beforeDatabaseSetup&&await t.hooks.beforeDatabaseSetup(n),t.sqliteIntegrationPluginZip&&await k(n,await t.sqliteIntegrationPluginZip),t.wordPressZip&&!t.dataSqlPath&&(await f(n)||await S(n),!await f(n))){if(await L(n))throw new Error("WordPress installation has failed.");if(n.isFile("/internal/shared/preload/0-sqlite.php"))throw new Error("Error connecting to the SQLite database.");if(!t.sqliteIntegrationPluginZip){const l=o.joinPaths(e.documentRoot,"wp-content/mu-plugins/sqlite-database-integration");if(n.isDir(l))throw new Error("Error connecting to the SQLite database.")}throw new Error("Error connecting to the MySQL database.")}return e}async function w(e){const t=e.spawnHandler??d.sandboxedSpawnHandlerFactory;async function n(r,a){const l=await e.createPhpRuntime(a),s=new d.PHP(l);return e.sapiName&&s.setSapiName(e.sapiName),r&&(s.requestHandler=r),e.phpIniEntries&&d.setPhpIniEntries(s,e.phpIniEntries),s.defineConstant("WP_SQLITE_AST_DRIVER",!0),a&&!s.isFile("/internal/.boot-files-written")&&(await y(s),await d.writeFiles(s,"/",e.createFiles||{}),await P(s,o.joinPaths(new URL(e.siteUrl).pathname,"phpinfo.php")),await d.writeFiles(s,"/internal",{".boot-files-written":""})),t&&await s.setSpawnHandler(t(r.processManager)),s.enableRuntimeRotation({recreateRuntime:e.createPhpRuntime,maxRequests:400}),e.onPHPInstanceCreated&&await e.onPHPInstanceCreated(s,{isPrimary:a}),s}const i=new d.PHPRequestHandler({phpFactory:async({isPrimary:r})=>n(i,r),documentRoot:e.documentRoot||"/wordpress",absoluteUrl:e.siteUrl,rewriteRules:b,getFileNotFoundAction:e.getFileNotFoundAction??$,cookieStore:e.cookieStore});return i}async function f(e){return(await e.run({code:`n(i,r),documentRoot:e.documentRoot||"/wordpress",absoluteUrl:e.siteUrl,rewriteRules:b,getFileNotFoundAction:e.getFileNotFoundAction??$,cookieStore:e.cookieStore});return i}async function f(e){return(await e.run({code:`t(i,r),documentRoot:e.documentRoot||"/wordpress",absoluteUrl:e.siteUrl,rewriteRules:k,getFileNotFoundAction:e.getFileNotFoundAction??y,cookieStore:e.cookieStore});return i}async function b(e){return(await e.run({code:`t(i,r),documentRoot:e.documentRoot||"/wordpress",absoluteUrl:e.siteUrl,rewriteRules:k,getFileNotFoundAction:e.getFileNotFoundAction??y,cookieStore:e.cookieStore});return i}async function b(e){return(await e.run({code:` Date: Wed, 12 Nov 2025 08:44:51 +0100 Subject: [PATCH 3/4] Migrate skipWordPressSetup to wordpressInstallMode --- docs/design-docs/playground-cli-workflow.md | 4 ++-- src/lib/sentry-sanitizer.ts | 2 +- .../playground-cli/playground-cli-provider.ts | 7 +++++-- .../playground-cli/playground-server-process-child.ts | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/docs/design-docs/playground-cli-workflow.md b/docs/design-docs/playground-cli-workflow.md index 4a4e17710..07a2c4e24 100644 --- a/docs/design-docs/playground-cli-workflow.md +++ b/docs/design-docs/playground-cli-workflow.md @@ -64,7 +64,7 @@ graph TB RunCLI --> SetupMode{Setup Mode?} SetupMode --> |Yes| RunBlueprint["Command run-blueprint
Installs WP if needed
Runs blueprint steps
Process exits on completion"] - SetupMode --> |No| StartServer["Command server
skipWordPressSetup true
Keeps process running"] + SetupMode --> |No| StartServer["Command server
wordpressInstallMode: install-from-existing-files-if-needed
Keeps process running"] RunBlueprint --> MountDirs["Mount Directories
wordpress to site path
internal studio mu-plugins
internal shared mu-plugins"] @@ -102,7 +102,7 @@ graph TB StartProcess --> ForkChild["Fork utility process
playground-server-process-child ts"] - ForkChild --> RunServer["runCLI with server command
skipWordPressSetup true
port assigned port
mount paths"] + ForkChild --> RunServer["runCLI with server command
wordpressInstallMode: install-from-existing-files-if-needed
port assigned port
mount paths"] RunServer --> WaitReady[Wait for ready message] diff --git a/src/lib/sentry-sanitizer.ts b/src/lib/sentry-sanitizer.ts index 27b882822..9559a7530 100644 --- a/src/lib/sentry-sanitizer.ts +++ b/src/lib/sentry-sanitizer.ts @@ -123,7 +123,7 @@ export function sanitizeRunCLIArgs( args: RunCLIArgs ): Record< string, unknown port: args.port, debug: args.debug, verbosity: args.verbosity, - skipWordPressSetup: args.skipWordPressSetup, + wordpressInstallMode: args.wordpressInstallMode, skipSqliteSetup: args.skipSqliteSetup, followSymlinks: args.followSymlinks, internalCookieStore: args.internalCookieStore, diff --git a/src/lib/wordpress-provider/playground-cli/playground-cli-provider.ts b/src/lib/wordpress-provider/playground-cli/playground-cli-provider.ts index c49441653..38cbdeb61 100644 --- a/src/lib/wordpress-provider/playground-cli/playground-cli-provider.ts +++ b/src/lib/wordpress-provider/playground-cli/playground-cli-provider.ts @@ -2,6 +2,7 @@ import nodePath from 'path'; import { SupportedPHPVersions } from '@php-wasm/universal'; import { Blueprint, StepDefinition } from '@wp-playground/blueprints'; import { RecommendedPHPVersion } from '@wp-playground/common'; +import { WordPressInstallMode } from '@wp-playground/wordpress'; import { recursiveCopyDirectory, pathExists, isWordPressDirectory } from 'common/lib/fs-utils'; import { DEFAULT_LOCALE } from 'common/lib/locale'; import { isOnline } from 'common/lib/network-utils'; @@ -23,7 +24,7 @@ export interface PlaygroundCliOptions { phpVersion: string; documentRoot: string; autoMount: boolean; - skipWordpressSetup: boolean; + wordpressInstallMode: WordPressInstallMode; blueprint?: Blueprint; } @@ -70,7 +71,9 @@ export class PlaygroundCliProvider implements WordPressProvider { phpVersion, documentRoot: options.path, autoMount: true, - skipWordpressSetup: hasWordPress, + wordpressInstallMode: hasWordPress + ? 'install-from-existing-files-if-needed' + : 'download-and-install', blueprint: options.blueprint, }; diff --git a/src/lib/wordpress-provider/playground-cli/playground-server-process-child.ts b/src/lib/wordpress-provider/playground-cli/playground-server-process-child.ts index 9239e91b7..fe3ea3034 100644 --- a/src/lib/wordpress-provider/playground-cli/playground-server-process-child.ts +++ b/src/lib/wordpress-provider/playground-cli/playground-server-process-child.ts @@ -186,7 +186,7 @@ async function startServer( 'mount-before-install': mounts, 'site-url': serverOptions.absoluteUrl, blueprint: options.blueprint || {}, - skipWordPressSetup: options.skipWordpressSetup, + wordpressInstallMode: options.wordpressInstallMode, }; if ( options.phpVersion ) { From 30debb48487406b1e8380029b2639a1a0d7e1116 Mon Sep 17 00:00:00 2001 From: Wojtek Naruniec Date: Tue, 18 Nov 2025 11:23:14 +0100 Subject: [PATCH 4/4] Explicitly bump remaining package --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0ab515f18..92a4424cb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,7 +29,7 @@ "@wordpress/icons": "^11.1.0", "@wp-playground/blueprints": "^3.0.21", "@wp-playground/cli": "^3.0.21", - "@wp-playground/wordpress": "^3.0.14", + "@wp-playground/wordpress": "^3.0.21", "archiver": "^6.0.1", "atomically": "^2.0.3", "cli-table3": "^0.6.5", diff --git a/package.json b/package.json index d65a6624c..a339c4434 100644 --- a/package.json +++ b/package.json @@ -134,7 +134,7 @@ "@wordpress/icons": "^11.1.0", "@wp-playground/blueprints": "^3.0.21", "@wp-playground/cli": "^3.0.21", - "@wp-playground/wordpress": "^3.0.14", + "@wp-playground/wordpress": "^3.0.21", "archiver": "^6.0.1", "atomically": "^2.0.3", "cli-table3": "^0.6.5",