ts-node
10.9.2 · 8 Dec 2023MIT60.2M / weekRepositoryHomepagenpmAtom feed
Your version
10.9.2 is the newest release of 10.x.
In short
1 fixed
Release note
Fixed
Fixes #1426: Do not import typescript outside of configuration/project loading (#1433, #1426)
We take care to load your project's version of typescript, falling back to a globally-installed version if necessary.
10.2.0 introduced a bug where we did not do this consistently, causing global or npx installations of ts-node to attempt loading typescript relative to themselves, not your project.
This failed if typescript was not globally installed or npx did not install peer dependencies.