npm / get-tsconfig
get-tsconfig
What changed in get-tsconfig 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
1 breaking3 new APIs and options1 behavior and defaults16 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initget-tsconfig 421 changes
Breaking changes 1
When paths is defined, the matcher no longer falls back to baseUrl.
New APIs and options 3
Adds the findTsconfig function.
Adds the includes option to getTsconfig and findTsconfig.
Exports the PathsMatcher type.
Behavior and default changes 1
Supports the implicit default for rewriteRelativeImportExtensions.
Fixes and other changes 16
The default exclude is now derived from the effective outDir.
Relative patterns are now resolved against UNC roots.
Fixes resolution of extends dependencies for symlinked packages.
Inherited path fields in extends are rewritten.
Preserves files when include is also present in the parsed tsconfig.
When exclude is specified, parse-tsconfig no longer adds outDir to it.
Restores the baseUrl fallback when paths is defined.
allowJs is implied when checkJs is true.
Implied options are added when composite is enabled.
Enum values are normalized to lowercase.
lib values are normalized to lowercase.
The parser supports the module values node18 and node20.
The parser adds resolveJsonModule for nodenext.
watchOptions enum values are normalized to lowercase.
Paths in watchOptions.excludeFiles are now resolved to absolute paths.
Path matching now allows absolute paths from ${configDir} resolution.