NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #429 most downloaded on npm
Load node modules according to tsconfig paths, in run-time or via API.
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 9 months
Nearly every release is documented
notes for 48 of 50 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
50 releases · first in 2016
Add support for tsconfig extends as array of strings. #. See PR #245. Thanks to @DanielSidhion for this PR!
Bump JSON5 dependency to 2.2.2 to fix CVE-2022-46175. See PR #232. Thanks to @oparisblue for this PR!
One column per quarter.
Skip stat call / throwing an exception when source files don't exist. See PR #225. Thanks to @robstolarz for this PR!
Add support for nested main field selectors #. See PR #218. Thanks to @aaronadamsCA for this PR!
Ignore --project/-P CLI flag when explicit options are passed to register. See PR #206.
--project/-P CLI flag when explicit options are passed to register. See PR #206.baseUrl compiler option. See PR #208.cwd option to register function that overrides where the tsconfig.json search begins. See PR #205.jsconfig.json. See PR #199. Thanks to @F3n67u for this PR!paths mappings be absolute paths. See PR #184.baseUrl in tsconfig.json to be an absolute path. See PR #174. Thanks to @nwalters512 for this PR!Nothing published for this version
bump JSON5 from v1.0.1 to v1.0.2 in tsconfig-paths v3.14.1 to fix CVE-2022-46175 #234. See PR #234. Thanks to @mihaiplesa for this PR!
Use minimist 1.2.6 for all depencencies becuase of pollution vulnerability. See PR #197. Thanks to @gopijaganthan for this fix!
Support for path mapping starting with /. See PR #180, issue #113, and issue #128. Thanks to @benevbright for this fix!
/. See PR #180, issue #113, and issue #128. Thanks to @benevbright for this fix!Include file extension in paths resolved from package.json "main" field. See PR #135 and issue #133. Thanks to @katywings for this fix!
Add support for baseUrl override using TS_NODE_BASEURL env var #185 and #114. Thanks to @ejhayes and @information-security for these PRs!
Reverted upgrade of json5 due to being a breaking change. See PR #173.
Add register.js to published files
feat(tsconfig-loader): extends config from node_modules (#106). Thanks to @zorji for this PR!
Make extension config override instead of deep merge. See PR #95 and issue #94. Thanks to @OliverJAsh for this addition!
Add option to avoid adding a match-all rule. See PR #73 and issue 72. Thanks to @Swatinem for this addition!
Allow cleanup of register(). See PR #64 and issue 63. Thanks to @TylorS for this addition!
Prefer Node's core modules over file modules. See PR #60 and issue 56. Thanks to @ljani for this addition!
Add support for trailing commas in tsconfig.json (use JSON5 to parse). See issue #48, and PR #58. Thanks to @JakobJingleheimer for this addition!
Do not resolve directories, only files, sse issue #51.
Ignore field name mappings in package.json files that are not paths of existing files #46. Thanks to @christoffer for this fix!
Add support for providing a list of field names to try instead of just using "main", #45. Thanks to @christoffer-dropbox for this addition!
Adding json file extension to extends property, #40. Thanks to @cwhite-connectfirst for this fixing this!
Fix project undefined error when calling register, #37. Thanks to @natedanner for this fixing this!
Add possibility to indicate explicitly tsconfig location, #35. Thanks to @procopenco for this adding this!
Added support for passing a filename as cwd, see issue #31 and PR #32. Thanks to @amodm for this adding this!
Fix async recursion, see #30. Thanks to @Nayni for this fix!
Fix a forgotten return when doneCallback is invoked, see #29. Thanks to @Nayni for this fix!
Fix read json async when it does not exist
Implement default async json reader function.
Remove parameter absoluteSourceFileName from the MatchPath and matchFromAbsolutePaths functions. It was not used internally.
absoluteSourceFileName from the MatchPath and matchFromAbsolutePaths functions. It was not used internally.matchFromAbsolutePaths now accepts a pre-sorted array of MappingEntrys instead of a dictionary. This was done so the sorting could be done once which should give better performance.createMatchPathAsync, creates an async version of the MatchPath function. Can be used for example by webpack plugins.matchFromAbsolutePathsAsync, async version of matchFromAbsolutePaths.Only resolve path if tsconfig present #25. Thanks to @nicoschoenmaker for the PR.
Return absolute path to tsconfig.json.
### Fixed - Remove left over console.log.
Support baseUrl to exist in base tsconfig.json when using extends, see #23.
baseUrl to exist in base tsconfig.json when using extends, see #23.Add baseUrl and configFileAbsolutePath to the result of loadConfig.
baseUrl and configFileAbsolutePath to the result of loadConfig.New function in Programmatic API loadConfig.
loadConfig.### Fixed - Export MatchPth typing.
Add missing types field in package.json.
Include declaration files. Fixes #22.
Removed dependency for package tsconfig.
tsconfig.extends. Fixes #17.Nothing published for this version
### Fixed - Fixed issue #7.
### Fixed - Fixed issue #6.
### Fixed - Fixed issue #4
### Fixed - Fixed issue #3
We now look at process.env.TS_NODE_PROJECT
process.env.TS_NODE_PROJECTcreateMatchPath. Now only takes absoluteUrl and paths.Match all extensions in require.extensions.
- First stable release.
Renamed project to tsocnfig-paths.
tsocnfig-paths.Your coding agent can read these notes before it upgrades. Set up the MCP server →