From c2398d5b0872f8831d7022b6e67cd7fae5ae4db7 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Mon, 17 Aug 2026 12:13:56 +0100 Subject: [PATCH] chore: stop Dependabot re-proposing pickr 1.10 and Babel 8 (#10286) Two exclusions, both for bumps we have already established we cannot take. pickr 1.10 switched to a dual CJS/ESM build whose CommonJS entry point exports a namespace object rather than the class, so Babel's interop leaves _pickr.default as an object and every dialog carrying a colour field dies on mount. That took master's feature tests down for three days (#10264, reverted in #10278). Because 1.9 -> 1.10 is a minor bump it rejoined the grouped minor-and-patch PR immediately afterwards, buried among twenty other packages, so minor updates are excluded here as well as majors until withColorPicker.js is adapted to the new export shape. Babel 8 requires Node ^22.18.0 || >=24.11.0, whilst Node 20 remains our minimum, and every 8.x package peer-depends on @babel/core ^8.0.0 whilst we are on 7.x. Taking any of them individually, as Dependabot proposed for preset-env, eslint-parser and plugin-syntax-jsx, leaves an unsatisfiable peer requirement and a mixed 7/8 tree. Babel 8 needs a coordinated migration across all ten @babel/* packages once we are on Node 22. --- .github/dependabot.yml | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 950734616..bb77bca5e 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -108,9 +108,30 @@ updates: update-types: - "minor" - "patch" - # @testing-library/jest-dom 7 requires Node >= 22, whilst Node 20 is the - # minimum we support and what most of the buildfarm runs. Revisit once the - # buildfarm moves to Node 22. See #10271 and #10210. ignore: + # @testing-library/jest-dom 7 requires Node >= 22, whilst Node 20 is the + # minimum we support and what most of the buildfarm runs. Revisit once + # the buildfarm moves to Node 22. See #10271 and #10210. - dependency-name: "@testing-library/jest-dom" update-types: ["version-update:semver-major"] + + # Babel 8 requires Node ^22.18.0 || >=24.11.0, and every 8.x package + # peer-depends on @babel/core ^8.0.0 whilst we are on 7.x. Taking any of + # them individually leaves an unsatisfiable peer requirement and a mixed + # 7/8 tree, so Babel 8 needs a coordinated migration across all ten + # @babel/* packages once we are on Node 22. See #10283, #10284, #10285. + - dependency-name: "@babel/*" + update-types: ["version-update:semver-major"] + + # pickr 1.10 switched to a dual CJS/ESM build whose CommonJS entry point + # exports a namespace object rather than the class, so Babel's interop + # leaves _pickr.default as an object and every dialog with a colour field + # dies on mount. That took master's feature tests down for three days + # (#10264, reverted in #10278). Note 1.9 -> 1.10 is a *minor* bump, so it + # otherwise rejoins the grouped PR and comes back around; minor updates + # are excluded here as well as majors until withColorPicker.js is adapted + # to the new export shape. + - dependency-name: "@simonwep/pickr" + update-types: + - "version-update:semver-major" + - "version-update:semver-minor"