Skip to content

Decline the TypeScript 7 major, narrowly and on purpose - #19

Merged
reesebuilt merged 2 commits into
mainfrom
agent/3.4-typescript-disposition
Aug 5, 2026
Merged

Decline the TypeScript 7 major, narrowly and on purpose#19
reesebuilt merged 2 commits into
mainfrom
agent/3.4-typescript-disposition

Conversation

@reesebuilt

Copy link
Copy Markdown
Owner

ts-node 10 and ts-jest 29 consume the TypeScript 5 compiler API, which TypeScript 7 removes, so the upgrade is toolchain-blocked and carries no user-facing value today. Recording that as a scoped Dependabot ignore rather than leaving the notification to be dismissed repeatedly.

The scope matters and was verified rather than assumed: the rule uses update-types: [version-update:semver-major], NOT a versions range. ignore.versions filters security updates too, so a range would suppress a security fix landing in the ignored range; update-types does not. A TypeScript security fix reaching the minimum patched version lands as a 5.9.x patch or 5.x minor and is unaffected.

dependency-name is the exact string, no wildcard: 1 of 11 direct dependencies matched.

Validated against the schemastore dependabot schema and by two YAML parsers. Falsifiers: dropping the version-update: prefix fails schema validation; substituting a versions range or a wildcard name fails the scope check.

reesebuilt and others added 2 commits August 4, 2026 21:04
ts-node 10 and ts-jest 29 consume the TypeScript 5 compiler API.
typescript 7.0.2 exports only version and versionMajorMinor, so every
compiler entry point those tools call is undefined, and ts-jest 29
declares peer typescript ">=4.3 <7", which npm rejects with ERESOLVE.
Taking the major means migrating the test transformer and the loader to
buy a devDependency change no user can observe.

Scope: dependency-name typescript, update-types
version-update:semver-major, and no versions range. An ignore.versions
entry filters security updates too; a semver-major update-type does not.
Patch and minor releases of typescript still open pull requests, so a
security fix to the minimum patched version is still surfaced.

Verified: js-yaml 4.3.1 and PyYAML 6.0.1 both parse the file, and it
validates against the schemastore dependabot-2.0 JSON schema.

Signed-off-by: reesebuilt <126643625+reesepj@users.noreply.github.com>
@reesebuilt
reesebuilt merged commit 53d6b87 into main Aug 5, 2026
4 checks passed
@reesebuilt
reesebuilt deleted the agent/3.4-typescript-disposition branch August 5, 2026 03:00
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