Skip to content

build(deps): fix vulnerable dev dependencies and modernize tooling - #32

Merged
mvantellingen merged 6 commits into
masterfrom
security-updates-2
Oct 26, 2026
Merged

mvantellingen merged 6 commits into
masterfrom
security-updates-2

Conversation

@mvantellingen

@mvantellingen mvantellingen commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

Dependabot alert #33 (critical, form-data < 4.0.4) is stale: form-data is no longer in the lockfile on master. GitHub's dependency graph currently has no snapshot for this repo (the SBOM endpoint returns 404), so the alert was never re-evaluated after the pnpm 12 migration.

pnpm audit on master did report other advisories in dev tooling, all fixed here:

  • @changesets/cli ^2.24.2 -> ^2.31.1 (cross-spawn, semver, tmp, csv-parse)
  • ts-node ^10.9.1 -> ^10.9.2, diff 4.0.2 -> 4.0.4
  • lockfile-only: @babel/runtime 7.29.10, braces 3.0.3, micromatch 4.0.8, picomatch 2.3.2, js-yaml 3.15.2

pnpm audit is clean after this change. Dev dependencies only, so no changeset.

Modernization

This PR now also modernizes the tooling:

  • build(deps): all dependencies latest (TypeScript 7, React 19 for dev, @types/react 19, fast-check 4, husky 9, changesets 3 + changelog-github); unused ts-node/tslib removed; tsconfig migrated (target es2020, bundler resolution, no baseUrl)
  • ci: main.yml runs on push to master and pull requests with the labd pnpm-install action, check/test/build on Node 22/24/26; publish.yml releases through changesets/action v2 on master (was release-created + npm publish)
  • build: exports map, type: commonjs, sideEffects: false; publint runs through tsdown (publint: true, failOnWarn: true)
  • docs: npm badges
  • changeset (minor), next to the existing pending minor changeset (Node 22 / tsdown)

Update dev dependencies to latest (TypeScript 7, React 19 for tests, fast-check 4, husky 9, changesets 3), drop unused ts-node and tslib, and migrate tsconfig off options removed in TypeScript 7 (target ES5, moduleResolution node10, baseUrl/paths).
Publish via changesets/action v2 on master (trusted publishing, kept in publish.yml) instead of on GitHub release, and run biome/tsc/tests/build on pull requests with the labd pnpm-install action.
Fix the publint findings (missing exports map, type and sideEffects) and run publint in CI.
Enable publint in the tsdown config with failOnWarn, so every build lints the package, and drop the separate lint:package script and CI step. The experimental TypeScript 7 API warning from rolldown-plugin-dts is suppressed so it does not fail the build.
@mvantellingen mvantellingen changed the title fix(deps): update @changesets/cli, ts-node and vulnerable transitive dev dependencies build(deps): fix vulnerable dev dependencies and modernize tooling Oct 26, 2026
@mvantellingen
mvantellingen merged commit baa19e2 into master Oct 26, 2026
4 checks passed
@github-actions github-actions Bot mentioned this pull request Oct 26, 2026
@mvantellingen
mvantellingen deleted the security-updates-2 branch October 26, 2026 13:33
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