8000 chore(deps): clear Dependabot alerts by kzamanbd · Pull Request #169 · getdokan/texty · GitHub
[go: up one dir, main page]

Skip to content

chore(deps): clear Dependabot alerts - #169

Merged
kzamanbd merged 2 commits into
developfrom
chore/deps-dependabot-alerts
Nov 30, 2026
Merged

kzamanbd merged 2 commits into
developfrom
chore/deps-dependabot-alerts

Conversation

@kzamanbd
@kzamanbd kzamanbd commented Nov 30, 2026 •
Copy link
Copy Markdown
Contributor

Summary

Clears the open npm Dependabot alerts. npm audit reports 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/node 9 → 11 and fixes the @opentelemetry/instrumentation-* and minimatch alerts. It also drops the puppeteer chain that carried basic-ftp and extract-zip.
    • The breaking changes in 35–37 (webpack-dev-server 6, Jest replaced by Vitest, Stylelint 17) don't apply here. We only use wp-scripts build / start, with no custom devServer, unit-test or Stylelint config.
  • @wordpress/components ^28 → ^45. Peers are react ^18 || ^19, and at runtime it is still externalized to WordPress's wp.components. This replaces the @babel/runtime and global uuid overrides.
  • Node 20 → 22 in the e2e and phpunit workflows. wp-scripts 37 requires Node ^22.22.2, and release.yml already uses 22.
  • Lockfile refresh within existing ranges (npm update), which pulls re2js 2.9.1.

Overrides

Override Status Why
@types/react, @types/react-dom removed Resolve to 18.3.x on their own
@babel/runtime removed Fixed by @wordpress/components 45
uuid scoped to @wordpress/components@^32 @wedevs/plugin-ui pins components ^32.5, which needs uuid ^9
serialize-javascript kept wp-scripts 37.2.0 (latest) pins copy-webpack-plugin ^10
markdownlint-cli kept wp-scripts 37.2.0 pins ^0.49.1
katex kept Latest markdownlint pins micromark-extension-math 3.1.0 (katex ^0.16)

React stays on 18. @wordpress/babel-preset-default lists react@^19 as a dependency, but it is installed nested under the preset and never imported. Top-level react still 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/components 28 → 45 types)
  • CI npm run build + e2e pass on Node 22
  • npm run build locally; admin SPA and order SMS box load

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).
@kzamanbd
kzamanbd merged commit ff96934 into develop Nov 30, 2026
2 checks passed
@kzamanbd
kzamanbd deleted the chore/deps-dependabot-alerts branch November 30, 2026 06:29
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

0