Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TypeStrong/ts-node
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v10.0.0
Choose a base ref
...
head repository: TypeStrong/ts-node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v10.1.0
Choose a head ref
  • 12 commits
  • 54 files changed
  • 4 contributors

Commits on May 25, 2021

  1. Set swc option keepClassNames whenever possible (#1344)

    * set swc option keepClassNames whenever possible
    
    * increase minimum swc version to 1.2.50 to support keepClassNames
    
    * update package-lock.json
    
    * add test
    
    * lint-fix
    
    * Fix tests so they actually fail without the bugfix
    
    * remove log statement from tests
    
    * compat with ts 2.7
    cspotcode authored May 25, 2021
    Configuration menu
    Copy the full SHA
    aba4ae6 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2021

  1. Configuration menu
    Copy the full SHA
    9afe3c3 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2021

  1. Configuration menu
    Copy the full SHA
    7cac7df View commit details
    Browse the repository at this point in the history
  2. Un-deprecate scope and scopedir; add to CLI, tsconfig.json, and env v…

    …ars (#1367)
    
    * re-add scope and scopeDir to CLI; add env vars
    
    * fix tests and bug found by tests
    
    * Fix typo
    cspotcode authored Jun 6, 2021
    Configuration menu
    Copy the full SHA
    17b3a55 View commit details
    Browse the repository at this point in the history
  3. Put "ts-node" object at the top of --showConfig output (#1355)

    * Put "ts-node" at the top of `--showConfig` output
    
    * update test to match new behavior
    
    * Fix lint failure
    cspotcode authored Jun 6, 2021
    Configuration menu
    Copy the full SHA
    518c250 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2021

  1. Implement "extends" support for "ts-node" options in tsconfigs (#1356)

    * Implement "extends" support for "ts-node" options in tsconfigs
    
    * remove once util; is not used
    
    * WIP test
    
    * fix
    
    * Finish test
    
    * oops forgot this
    cspotcode authored Jun 7, 2021
    Configuration menu
    Copy the full SHA
    4f16d1b View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2021

  1. Fix #1282: correct globals in [stdin], [eval], and <repl> contexts (#…

    …1333)
    
    * add failing tests
    
    * remove log statement from test
    
    * add detailed tests for globals in <repl>, [stdin], and [eval]
    
    * WIP fixing
    
    * more WIP
    
    * update tests
    
    * WIP
    
    * update packagelock
    
    * fix tests
    
    * Fix and tests
    
    * fix test failure on windows
    
    * fix programmatic test to cleanup potentially-polluted env prior
    
    * modifying programmatic repl test to call out that `module` is unavailable before repl is started
    
    * Update tests for Windows env
    
    * Fix tests
    
    * add retries around npm install in tests on windows
    
    * lintfix
    cspotcode authored Jun 8, 2021
    Configuration menu
    Copy the full SHA
    6266ae2 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2021

  1. Improve error messages used by esm-resolver (#1373)

    * Improve error messages used by esm-resolver
    
    * fix eof
    tars0x9752 authored Jun 16, 2021
    Configuration menu
    Copy the full SHA
    5643ad6 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2021

  1. Configuration menu
    Copy the full SHA
    4e7fcb7 View commit details
    Browse the repository at this point in the history
  2. Add moduleType option to override module type on certain files. (#1371)

    * Add moduleType option to override module type on certain files.  Also
    refactor resolverFunctions into their own file; should break this into
    2x PRs later.
    
    * lint fix
    
    * add test
    
    * remove unnecessary exports from ts-internals; mark exports as @internal
    
    * add docs
    
    * strip optionBasePaths from showConfig output
    
    * proper path normalization to support windows
    
    * lint-fix
    
    * use es2015 instead of es2020 in test tsconfig to support ts2.7
    
    * add missing path normalization when calling classifyModule
    
    * Test coverage: moduleType overrides during ts-node loader usage (#1376)
    
    * Test coverage: add test case to confirm that moduleType overrides are applied for ts-node in loader mode
    
    * Ensure that a default export exists for the esm-exception module
    
    * Re-order tsconfig.json glob rules, and use implicit globbing
    
    * lint fixup: apply prettier
    
    * Add 'experimental-specifier-resolution' flag to NPM options in ESM module override test
    
    * Ensure that a default export exists for the cjs-subdir module
    
    * Revert "Ensure that a default export exists for the cjs-subdir module"
    
    This reverts commit c64cf92.
    
    * Revert "Add 'experimental-specifier-resolution' flag to NPM options in ESM module override test"
    
    This reverts commit 1093df8.
    
    * Specify tsconfig project using TS_NODE_PROJECT environment variable
    
    * Use full file paths in preference to directory-default module imports
    
    This avoids ERR_UNSUPPORTED_DIR_IMPORT, without having to provide the 'experimental-specifier-resolution' flag to ts-node
    
    * Update index.ts
    
    * Update index.ts
    
    * Update tsconfig.json
    
    * Extract execModuleTypeOverride function
    
    * Add expected failure cases for Node 12.15, 14.13
    
    Co-authored-by: Andrew Bradley <cspotcode@gmail.com>
    
    * Update tests
    
    * fix
    
    * fix
    
    * fix for TS2.7
    
    * fix
    
    * fix
    
    * reword
    
    * update docs
    
    * address todos
    
    * fix
    
    Co-authored-by: James Addison <jay@jp-hosting.net>
    cspotcode and jayaddison authored Jul 9, 2021
    Configuration menu
    Copy the full SHA
    1bc470d View commit details
    Browse the repository at this point in the history
  3. rebuild the readme

    cspotcode committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    85dd6de View commit details
    Browse the repository at this point in the history
  4. 10.1.0

    cspotcode committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    9faa340 View commit details
    Browse the repository at this point in the history
Loading