Repository navigation
chore(deps): clear Dependabot alerts - #169
Merged
Merged
Conversation
Bump @wordpress/scripts ^34.0.0 -> ^37.2.0. The newer @wordpress/e2e-test-utils-playwright pulls lighthouse 13, which moves @sentry/node 9 -> 11 (patched @opentelemetry/instrumentation-* and minimatch) and drops the puppeteer chain that carried basic-ftp and extract-zip. The 35-37 breaking changes (webpack-dev-server 6, Jest removed in favour of Vitest, Stylelint 17) don't affect this project: it only uses `wp-scripts build` / `start` with no custom devServer, unit-test or Stylelint config. wp-scripts 37 needs Node ^22.22.2, so move the e2e and phpunit workflows from Node 20 to 22 (release.yml already uses 22). Add a katex ^0.18.2 override: markdownlint's math extension pins ^0.16, below the patched release. Refresh the lockfile within existing ranges (npm update), which pulls re2js 2.9.1. npm audit now reports 0 vulnerabilities. Not fixable: league/flysystem (dev-only via Mozart 0.7; Mozart 1.x needs PHP ^8.2 while composer's platform is pinned to 7.4).
- Drop the @types/react and @types/react-dom overrides: nothing pulls React 19 types any more, they resolve to 18.3.x on their own. - Bump @wordpress/components ^28 -> ^45 (peers react ^18 || ^19; still externalized to wp.components at runtime). This replaces the @babel/runtime override, and its uuid ^14 replaces the global uuid override. - Scope the uuid override to @wordpress/components@^32, the version @wedevs/plugin-ui pins, which still depends on uuid ^9. Remaining overrides have no fixed parent release to update to: serialize-javascript (copy-webpack-plugin ^10 in wp-scripts 37.2.0), markdownlint-cli (^0.49.1 in wp-scripts 37.2.0) and katex (micromark-extension-math 3.1.0 in the latest markdownlint).
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.
Summary
Clears the open npm Dependabot alerts.
npm auditreports 0 vulnerabilities after this change. All affected packages are dev-only and never ship in the plugin zip.Fixes come from updating dependencies wherever a fixed parent release exists. Overrides are kept only where none exists.
Changes
@wordpress/scripts^34.0.0→^37.2.0(same bump as chore(deps): bump basic-ftp and @wordpress/scripts #167). The newer e2e utils pull lighthouse 13, which moves@sentry/node9 → 11 and fixes the@opentelemetry/instrumentation-*andminimatchalerts. It also drops the puppeteer chain that carriedbasic-ftpandextract-zip.wp-scripts build/start, with no custom devServer, unit-test or Stylelint config.@wordpress/components^28→^45. Peers arereact ^18 || ^19, and at runtime it is still externalized to WordPress'swp.components. This replaces the@babel/runtimeand globaluuidoverrides.e2eandphpunitworkflows. wp-scripts 37 requires Node^22.22.2, andrelease.ymlalready uses 22.npm update), which pullsre2js2.9.1.Overrides
@types/react,@types/react-dom@babel/runtime@wordpress/components45uuid@wordpress/components@^32@wedevs/plugin-uipins components^32.5, which needs uuid^9serialize-javascriptcopy-webpack-plugin ^10markdownlint-cli^0.49.1katexmicromark-extension-math3.1.0 (katex^0.16)React stays on 18.
@wordpress/babel-preset-defaultlistsreact@^19as a dependency, but it is installed nested under the preset and never imported. Top-levelreactstill resolves to 18.3.1.Not fixed
league/flysystem(composer, dev-only via Mozart 0.7). Mozart 1.x needs PHP ^8.2, but composer's platform is pinned to 7.4.Dependabot PRs
Supersedes #167. The older Dependabot PRs (#115, #117–#122, #147, #159) target versions that develop already has, or that this PR moves past.
Testing
npm run typecheck(the@wordpress/components28 → 45 types)npm run build+ e2e pass on Node 22npm run buildlocally; admin SPA and order SMS box load