fix(deps): resolve open Dependabot alerts (tiptap, pypi-publish, transitive overrides)

Merged
KM
5d ago
+469-497

Fixes every open Dependabot alert except one that has no patch (deepmerge, explained below).

Direct

  • pypa/gh-action-pypi-publish v1.13.0 → v1.14.3 (critical, GHSA-5xjx-3w67-w9x9). Only runs when the Python SDK is published.
  • @tiptap/* in packages/email-editor → 2.27.3, all 34 packages together (GHSA-cp6q-959q-f8rh, mergeAttributes __proto__).
    • The advisory lists only 3.30.4 as fixed, but 2.27.3 carries the identical fix. The only source difference between 2.27.2 and 2.27.3 in @tiptap/core is utilities/mergeAttributes.ts, now matching 3.30.4.
    • So no v3 migration is needed. The alert will need dismissing as inaccurate after merge.
    • The email renderer imports only a type from Tiptap, so sent email HTML is unaffected.

Transitive, via pnpm.overrides (in both package.json and pnpm-workspace.yaml, like the existing ones)

packagefrom → topulled in byruntime?
decode-uri-component0.4.1 → 0.5.1query-stringyes
qs6.15.3 → 6.16.1stripeyes
fast-copy4.0.4 → 4.1.0pino-prettyyes
postcss-selector-parser6.1.4 → 6.1.5tailwindcss 3 (jsx-email)yes
glob10.5.0 → 14.0.2js-beautify (jsx-email pretty)only its CLI requires glob
minimatch9.0.9 / 10.2.5 → 11.0.1typescript-eslint, editorconfigdev only
deepmerge-ts7.1.5 → 8.0.2@prisma/configPrisma CLI only

The glob, minimatch and deepmerge-ts majors keep the same CommonJS entry points.

Not fixed: deepmerge 4.3.1 (low, GHSA-gcqx-w48m-w2h4) has no patched release. It's used by html-to-text to merge its option objects, which come from our code, not user input. It will be dismissed as tolerable risk.

Verified locally

  • Frozen install with the new lockfile. Only the targeted packages changed, plus helpers the newer versions no longer need.
  • prisma validate + prisma generate with deepmerge-ts 8.
  • js-beautify formats HTML and its CLI loads with glob 14.
  • ESLint (minimatch 11): same 189 / 49 pre-existing warnings as main, 0 errors.
  • Typecheck; unit 344, tRPC 23, API 50.
  • pnpm build:editor && pnpm build:web (29/29 pages); smtp-server build.

Ask Polylane for an impact assessment of this pull request:

Assess with Polylane


Summary by cubic

Resolves all open Dependabot alerts except deepmerge (no patched release, only merges option objects from our code). Bumps pypa/gh-action-pypi-publish to v1.14.3 and all 34 @tiptap/* packages in packages/email-editor to 2.27.3, which carries the same fix as the advisory's listed version without requiring a v3 migration. Adds pnpm.overrides to bump transitive deps: decode-uri-component, qs, fast-copy, postcss-selector-parser, glob, minimatch, deepmerge-ts.

Key points

  • The Tiptap alert will need dismissing after merge because the advisory lists only 3.30.4 as fixed, but 2.27.3 is identical except for the mergeAttributes fix.
  • The email renderer imports only a type from Tiptap, so sent email HTML is unaffected.
  • Verified frozen install, Prisma validate/generate, ESLint (same warnings as main), typecheck, and build:editor/build:web.

Summary by CodeRabbit

  • Chores
    • Updated the publishing workflow and package dependencies to newer versions.
    • Added version constraints for several transitive dependencies.