-
-
Notifications
You must be signed in to change notification settings - Fork 549
Comparing changes
Open a pull request
base repository: TypeStrong/ts-node
base: v10.8.1
head repository: TypeStrong/ts-node
compare: v10.9.1
- 19 commits
- 47 files changed
- 3 contributors
Commits on Jun 17, 2022
-
Allow JSON imports in NodeJS 16.15 (#1792)
* Allow JSON imports in NodeJS 16.15 * Update tests * Run formatter * tweak testing * fix Co-authored-by: Andrew Bradley <cspotcode@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for bf13086 - Browse repository at this point
Copy the full SHA bf13086View commit details
Commits on Jul 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8aedaed - Browse repository at this point
Copy the full SHA 8aedaedView commit details -
Docs merge for 10.8.2 release (#1823)
* Update options.md (#1768) * Update options.md * Update options.md * Update configuration.md * Update performance.md * Update transpilers.md
Configuration menu - View commit details
-
Copy full SHA for 26d1716 - Browse repository at this point
Copy the full SHA 26d1716View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c2d5d6 - Browse repository at this point
Copy the full SHA 9c2d5d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ddd559d - Browse repository at this point
Copy the full SHA ddd559dView commit details -
Allow opting-in to
.tsimport specifiers (#1815)* quick impl * fix * update * add a test * add jsdoc for new option
Configuration menu - View commit details
-
Copy full SHA for 91110cd - Browse repository at this point
Copy the full SHA 91110cdView commit details -
swc plugin enhancements (#1802)
* refactor swc plugin to make it more test-able; also throw helpful error when users swc dep is too old * fmt * fix * fix import assertions * fix
Configuration menu - View commit details
-
Copy full SHA for ab15063 - Browse repository at this point
Copy the full SHA ab15063View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad01f49 - Browse repository at this point
Copy the full SHA ad01f49View commit details
Commits on Jul 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for aa5ec36 - Browse repository at this point
Copy the full SHA aa5ec36View commit details
Commits on Jul 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 86b63bf - Browse repository at this point
Copy the full SHA 86b63bfView commit details -
Fix ESM node processes being unable to fork into other scripts (#1814)
* Fix ESM node processes being unable to fork into other scripts Currently, Node processes instantiated through the `--esm` flag result in a child process being created so that the ESM loader can be registered. This works fine and is reasonable. The child process approach to register ESM hooks currently prevents the NodeJS `fork` method from being used because the `execArgv` propagated into forked processes causes `ts-node` (which is also propagated as child exec script -- this is good because it allows nested type resolution to work) to always execute the original entry-point, causing potential infinite loops because the designated fork module script is not executed as expected. This commit fixes this by not encoding the entry-point information into the state that is captured as part of the `execArgv`. Instead the entry-point information is always retrieved from the parsed rest command line arguments in the final stage (`phase4`). Fixes #1812. * Fix `--cwd` to actually set the working directory and work with ESM child process Currently the `--esm` option does not necessarily do what the documentation suggests. i.e. the script does not run as if the working directory is the specified directory. This commit fixes this, so that the option is useful for TSConfig resolution, as well as for controlling the script working directory. Also fixes that the CWD encoded in the bootstrap brotli state for the ESM child process messes with the entry-point resolution, if e.g. the entry-point in `child_process.fork` is relative to a specified `cwd`. * changes based on review * lint-fix * enable transpileOnly in new tests for performance * Tweak basic working dir tests to verify that --cwd affects entrypoint resolution but not process.cwd() * update forking tests: disable non --esm test with comment about known bug and link to tickets make tests set cwd for fork() call, to be sure it is respected and not overridden by --cwd * use swc compiler to avoid issue with ancient TS versions not understanding import.meta.url syntax * Remove tests that I think are redundant (but I've asked for confirmation in code review) * fix another issue with old TS * final review updates Co-authored-by: Andrew Bradley <cspotcode@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 32d07e2 - Browse repository at this point
Copy the full SHA 32d07e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3333005 - Browse repository at this point
Copy the full SHA 3333005View commit details -
Configuration menu - View commit details
-
Copy full SHA for 604b2aa - Browse repository at this point
Copy the full SHA 604b2aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee3e37a - Browse repository at this point
Copy the full SHA ee3e37aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b30ad7e - Browse repository at this point
Copy the full SHA b30ad7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e41cb7 - Browse repository at this point
Copy the full SHA 7e41cb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11424e0 - Browse repository at this point
Copy the full SHA 11424e0View commit details
Commits on Jul 14, 2022
-
Attempt workaround for node regression (#1838)
* attempt workaround for node regression * lint-fix * fix
Configuration menu - View commit details
-
Copy full SHA for c02af13 - Browse repository at this point
Copy the full SHA c02af13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e0da59 - Browse repository at this point
Copy the full SHA 0e0da59View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v10.8.1...v10.9.1