Skip to content

chore: patch dev-dependency vulns and align build target with Node 22#6

Merged
asachs01 merged 1 commit into
mainfrom
fix/dev-dep-vulns
May 20, 2026
Merged

chore: patch dev-dependency vulns and align build target with Node 22#6
asachs01 merged 1 commit into
mainfrom
fix/dev-dep-vulns

Conversation

@asachs01
Copy link
Copy Markdown
Member

Why

Salvages the still-relevant pieces of an abandoned local branch (fix/review-medium) — its exports-map fix and smoke test already landed via #3 and #5, leaving three unique, still-useful changes.

npm audit on main reported 19 dev-dependency vulnerabilities (1 critical, 12 high, 5 moderate). All in dev tooling — zero production dependencies affected.

Changes

  • package-lock.json — regenerated via npm audit fix, clearing 16 of 19 advisories (including the critical/high vite findings). The remaining 3 live inside npm's own bundled deps under semantic-release (node_modules/npm/node_modules/*) and are not resolvable from here — npm audit fix --force leaves them too.
  • tsup.config.ts — build target node18node22, matching engines.node (>=22).
  • tests/unit/config.test.ts — replace as any with as unknown as SuperOpsRegion.

Verification

npm ci + lint + typecheck + build + test all green; 106 tests pass.

No production dependencies changed; the published package is unchanged at runtime. chore: commit — no release triggered.

Salvages the still-relevant pieces of the abandoned fix/review-medium
branch (its exports-map fix and smoke test already landed via #3/#5):

- Regenerate package-lock.json via `npm audit fix`, clearing 16 of 19
  dev-dependency advisories (incl. the critical/high vite findings).
  The remaining 3 live inside npm's own bundled deps under
  semantic-release and are not resolvable from here.
- tsup `target` node18 -> node22, matching `engines.node` (>=22).
- config.test.ts: replace `as any` with `as unknown as SuperOpsRegion`.

No production dependencies were affected; the published package is
unchanged at runtime.
@asachs01 asachs01 merged commit 39c66ea into main May 20, 2026
2 checks passed
@asachs01 asachs01 deleted the fix/dev-dep-vulns branch May 20, 2026 17:30
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