Update npm dependencies to latest versions#313
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bump
@wordpresspackages, typescript, lint-staged and related tooling to their latest releases via ncu.