From 9a33a42d5e02c9726586c57d5a8ddcb571bf222d Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 28 May 2026 12:59:07 +0100 Subject: [PATCH 1/3] Add nomodule iife fallback for procaptcha bundle (#48) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add nomodule iife fallback for procaptcha bundle Emits an additional tag alongside the existing module bundle so legacy browsers that don't support ES modules can still load the widget. Co-Authored-By: Claude Opus 4.7 (1M context) * Fix CI: respect pinned yarn versions in install-tools.sh `corepack use yarn@latest` always downloaded the latest Yarn (now 4.15.x), which bumps the lockfile __metadata version from 8 to 10. In hardened mode (auto-enabled for public PRs) this is rejected as a forbidden lockfile modification, breaking every PR with "Failed to install tools". Replace with `yarn install --immutable`. Combined with the `corepack enable` already called earlier in the script, this uses the `packageManager` version pinned in each package.json (4.5.0 for tests, 4.12.0 for assets) which is compatible with the committed lockfiles. Co-Authored-By: Claude Opus 4.7 (1M context) * Enqueue nomodule iife via wp_enqueue_script PHPCS (WPCS) flagged the previous raw