From 0e4c22dbf3e3c5dd0ab366c0094f2faf217c74e1 Mon Sep 17 00:00:00 2001 From: "homeboy-ci[bot]" <266378653+homeboy-ci[bot]@users.noreply.github.com> Date: Sun, 29 Nov 2026 21:39:16 +0000 Subject: [PATCH] fix(events): pin leaflet.markercluster to 1.x to restore the frontend build Dependabot #4100 bumped leaflet.markercluster to 2.0.0, which no longer ships dist/MarkerCluster.css. EventsMap's frontend imports it, so npm run build fails. That breaks the wp_codebox_prepare_steps CI step and release packaging ("Package command completed without required frontend assets"). --- plugins/data-machine-events/package-lock.json | 82 ++----------------- plugins/data-machine-events/package.json | 2 +- 2 files changed, 6 insertions(+), 78 deletions(-) diff --git a/plugins/data-machine-events/package-lock.json b/plugins/data-machine-events/package-lock.json index 67b06ff6b..8e70b233f 100644 --- a/plugins/data-machine-events/package-lock.json +++ b/plugins/data-machine-events/package-lock.json @@ -13,7 +13,7 @@ "@wordpress/i18n": "^7.2.0", "flatpickr": "^4.6.13", "leaflet": "1.9.4", - "leaflet.markercluster": "^2.0.0" + "leaflet.markercluster": "^1.5.3" }, "devDependencies": { "@types/leaflet": "^1.9.17", @@ -3219,9 +3219,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -3239,9 +3236,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -3259,9 +3253,6 @@ "ppc64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -3279,9 +3270,6 @@ "riscv64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -3299,9 +3287,6 @@ "riscv64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -3319,9 +3304,6 @@ "s390x" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -3339,9 +3321,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -3359,9 +3338,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -3577,9 +3553,6 @@ "arm" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -3601,9 +3574,6 @@ "arm" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -3625,9 +3595,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -3649,9 +3616,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -3673,9 +3637,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -3697,9 +3658,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -6001,9 +5959,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -6018,9 +5973,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -6035,9 +5987,6 @@ "loong64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -6052,9 +6001,6 @@ "loong64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -6069,9 +6015,6 @@ "ppc64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -6086,9 +6029,6 @@ "riscv64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -6103,9 +6043,6 @@ "riscv64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -6120,9 +6057,6 @@ "s390x" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -6137,9 +6071,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -6154,9 +6085,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -14198,12 +14126,12 @@ "license": "BSD-2-Clause" }, "node_modules/leaflet.markercluster": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/leaflet.markercluster/-/leaflet.markercluster-2.0.0.tgz", - "integrity": "sha512-wHc5qUVEkJI0LcR8PnVBYJDkgu2LZgV/+7eaNgU4KNvfXastsVQigz2eSAfoLJAQ6fJt3rrMb5nwQfimHfJ/zg==", + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/leaflet.markercluster/-/leaflet.markercluster-1.5.3.tgz", + "integrity": "sha512-vPTw/Bndq7eQHjLBVlWpnGeLa3t+3zGiuM7fJwCkiMFq+nmRuG3RI3f7f4N4TDX7T4NpbAXpR2+NTRSEGfCSeA==", "license": "MIT", "peerDependencies": { - "leaflet": "^1.9.0 || ^2.0.0-beta.1" + "leaflet": "^1.3.1" } }, "node_modules/levn": { diff --git a/plugins/data-machine-events/package.json b/plugins/data-machine-events/package.json index 089a5a0ab..ce39b4a7e 100644 --- a/plugins/data-machine-events/package.json +++ b/plugins/data-machine-events/package.json @@ -15,7 +15,7 @@ "@wordpress/i18n": "^7.2.0", "flatpickr": "^4.6.13", "leaflet": "1.9.4", - "leaflet.markercluster": "^2.0.0" + "leaflet.markercluster": "^1.5.3" }, "devDependencies": { "@types/leaflet": "^1.9.17",