Skip to content

Update npm dependencies to latest versions#313

Merged
t-hamano merged 5 commits into
mainfrom
update-npm-packages
Jul 19, 2026
Merged

Update npm dependencies to latest versions#313
t-hamano merged 5 commits into
mainfrom
update-npm-packages

Conversation

@t-hamano

@t-hamano t-hamano commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Bump @wordpress packages, typescript, lint-staged and related tooling to their latest releases via ncu.

t-hamano and others added 5 commits July 19, 2026 21:52
Bump @WordPress packages, typescript, lint-staged and related tooling
to their latest releases via ncu. No overrides are added; remaining
Dependabot advisories originate from @WordPress toolchain transitive
deps and are left for upstream to resolve.

Co-Authored-By: Claude <noreply@anthropic.com>
TypeScript 7 breaks @wordpress/eslint-plugin's typescript-eslint, which
requires typescript <6.1.0. Also add eslint-import-resolver-typescript to
prevent resolution fallback errors.

Co-Authored-By: Claude <noreply@anthropic.com>
Re-add the getWpVersion utility that reads the WordPress version from the
body's branch-* class name, so e2e specs can branch on WP-version-specific
UI differences again.

Co-Authored-By: Claude <noreply@anthropic.com>
Replace the index-based loop that toggled typography controls with
explicit, name-based clicks. The old loop relied on the count and order
of enabled menu items, which broke on WordPress 7.1 where the Color
control moved into the typography panel (WordPress/gutenberg#75859).
Clicking each control by name keeps the test stable across WP versions
and deliberately omits Color until the minimum supported version reaches
7.1.

Co-Authored-By: Claude <noreply@anthropic.com>
WordPress 7.1 drops "noreferrer" from the rel attribute of links that
open in a new tab, so a single shared snapshot no longer matches across
supported versions. Branch on the WP version and assert the expected
markup inline, and remove the now-obsolete snapshot. Once the minimum
supported WordPress version reaches 7.1, the branch can be removed and
the snapshot assertion restored.

Co-Authored-By: Claude <noreply@anthropic.com>
@t-hamano
t-hamano merged commit 8ea0815 into main Jul 19, 2026
8 checks passed
@t-hamano
t-hamano deleted the update-npm-packages branch July 19, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant