Skip to content

chore(deps): keep Dependabot off majors the fontkit fork decides - #565

Merged
sidorares merged 1 commit into
masterfrom
claude/dependabot-prs-review-fbc2b7
Nov 8, 2026
Merged

sidorares merged 1 commit into
masterfrom
claude/dependabot-prs-review-fbc2b7

Conversation

@sidorares

Copy link
Copy Markdown
Owner

Dependabot keeps opening major bumps it can never land for the vendored fontkit build's dependencies. #559 (dfa 1.2.0 to 2.0.0) is the example: every test failed to load, because the build imports dfa's default export and dfa 2 only has a named StateMachine, and publishable failed because scripts/vendor-fontkit.mjs --check holds package.json to the ranges the windowkit fork declares.

This ignores semver-major updates for the nine dependencies the fork declares: @swc/helpers, brotli, clone, dfa, fast-deep-equal, restructure, tiny-inflate, unicode-properties and unicode-trie. @swc/helpers is 0.x, so its minors are ignored too, since a 0.6 is as far outside ^0.5.12 as a major. Updates inside the ranges still come through and only move the lockfile, as @swc/helpers 0.5.24 does in #564. A major arrives when the fork moves to it, through the vendor script.

The list matches the dependencies in the fork's v2.0.4-windowkit.4 tarball, the release lib/vendor/fontkit.js names.

Dependabot keeps opening major bumps it can never land for the vendored fontkit build's dependencies. #559 (dfa 1.2.0 to 2.0.0) is the example: every test failed to load, because the build imports dfa's default export and dfa 2 only has a named `StateMachine`, and `publishable` failed because `scripts/vendor-fontkit.mjs --check` holds package.json to the ranges the windowkit fork declares.

This ignores semver-major updates for the nine dependencies the fork declares: `@swc/helpers`, `brotli`, `clone`, `dfa`, `fast-deep-equal`, `restructure`, `tiny-inflate`, `unicode-properties` and `unicode-trie`. `@swc/helpers` is 0.x, so its minors are ignored too, since a 0.6 is as far outside `^0.5.12` as a major. Updates inside the ranges still come through and only move the lockfile, as `@swc/helpers` 0.5.24 does in #564. A major arrives when the fork moves to it, through the vendor script.

The list matches the dependencies in the fork's v2.0.4-windowkit.4 tarball, the release `lib/vendor/fontkit.js` names.
@sidorares
sidorares merged commit 0f677b8 into master Nov 8, 2026
7 checks passed
@sidorares
sidorares deleted the claude/dependabot-prs-review-fbc2b7 branch November 8, 2026 09:36
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