Skip to content

Commit 99292de

Browse files
chore(deps): bump ts-node from 8.10.2 to 10.0.0 (#74)
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 8.10.2 to 10.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/TypeStrong/ts-node/releases">ts-node's releases</a>.</em></p> <blockquote> <h2>v10.0.0</h2> <p>Questions about this release? Ask in the official discussion thread: <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1337">#1337</a></p> <p><em>Breaking changes are prefixed with <strong>[BREAKING]</strong></em></p> <p><strong>Added</strong></p> <ul> <li>Adds <code>--show-config</code> to log the resolved configuration (<a href="https://typestrong.org/ts-node/docs/troubleshooting#understanding-configuration">docs</a>) (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1100">#1100</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1243">#1243</a>)</li> <li>Bundle and re-export <code>@​tsconfig/node</code>* configurations for convenience (<a href="https://typestrong.org/ts-node/docs/configuration#tsconfigbases">docs</a>) (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1202">#1202</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1236">#1236</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1313">#1313</a>)</li> <li>Default to appropriate <code>@​tsconfig/node</code>* configuration based on node and typescript versions (<a href="https://typestrong.org/ts-node/docs/configuration#default-config">docs</a>) (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1202">#1202</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1236">#1236</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1313">#1313</a>)</li> <li>Automatically reference <code>@​types/node</code>; use globally-installed <code>@​types/node</code> if not locally installed (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1240">#1240</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1257">#1257</a>)</li> <li>Add <code>swc</code> integration and new <code>--transpiler</code> option to use third-party transpilers for a massive speed boost on large codebases (<a href="https://typestrong.org/ts-node/docs/transpilers">docs</a>) (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/779">#779</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1160">#1160</a>)</li> <li>Add <code>scopeDir</code> API option (<a href="https://typestrong.org/ts-node/api/interfaces/RegisterOptions.html#scopeDir">docs</a>) (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1155">#1155</a>)</li> <li>Add <code>projectSearchDir</code> API option (<a href="https://typestrong.org/ts-node/api/interfaces/RegisterOptions.html#projectSearchDir">docs</a>) (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1155">#1155</a>)</li> <li>Add <code>--cwd-mode</code> and <code>ts-node-cwd</code> to resolve config file relative to cwd, not entrypoint script (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1155">#1155</a>)</li> </ul> <p><strong>Changed</strong></p> <ul> <li><strong>[BREAKING]</strong> Make <code>--script-mode</code> default behavior; resolve tsconfig relative to entrypoint script instead of cwd (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/949">#949</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1197">#1197</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1155">#1155</a>) <ul> <li>In most cases this change will have no noticeable effect</li> <li>Primarily benefits portable shell scripts on your <code>$PATH</code>, because <code>ts-node</code> will respect the script's local <code>tsconfig.json</code></li> <li>Use <code>--cwd-mode</code> or <code>ts-node-cwd</code> if you need legacy behavior</li> </ul> </li> <li><strong>[BREAKING]</strong> <code>ignore</code> rules evaluate relative to <code>tsconfig.json</code> directory, otherwise <code>cwd</code> (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1155">#1155</a>)</li> <li><strong>[BREAKING]</strong> Remove support for node 10. Minimum supported version is node 12 (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1312">#1312</a>)</li> <li>Rename <code>--dir</code> to <code>--cwd</code>; rename <code>TS_NODE_DIR</code> to <code>TS_NODE_CWD</code> (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1155">#1155</a>) <ul> <li><code>--dir</code> and <code>TS_NODE_DIR</code> are deprecated but still parsed for backwards-compatibility</li> <li><code>--dir</code> effectively changed the working directory of <code>ts-node</code>; renaming makes this behavior more obvious</li> </ul> </li> </ul> <p><strong>Deprecated</strong></p> <ul> <li>Deprecate <code>TS_NODE_SCOPE</code> (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1155">#1155</a>)</li> <li>Deprecate <code>--dir</code> and <code>TS_NODE_DIR</code> (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1155">#1155</a>)</li> </ul> <p><strong>Removed</strong></p> <ul> <li><strong>[BREAKING]</strong> Internal APIs removed from type declarations (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1242">#1242</a>) <ul> <li>Removed <code>DEFAULTS</code>, <code>normalizeSlashes</code>, <code>parse</code>, <code>split</code></li> <li>No features were removed</li> <li>This will only affect consumers of <code>ts-node</code>'s programmatic API</li> </ul> </li> </ul> <p><strong>Fixed</strong></p> <ul> <li><strong>[BREAKING]</strong> Fix <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1229">#1229</a> and <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1235">#1235</a>: always throw <code>ERR_REQUIRE_ESM</code> when attempting to execute ESM as CJS, even when not using <code>--loader ts-node/esm</code> (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1232">#1232</a>) <ul> <li>This aligns our behavior with vanilla <code>node</code></li> </ul> </li> <li><strong>[BREAKING]</strong> Fix <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1225">#1225</a>: <code>compiler</code> is loaded relative to <code>tsconfig.json</code> instead of entrypoint script (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1155">#1155</a>) <ul> <li>In most cases this change will have no noticable effect</li> </ul> </li> <li>Fix <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1217">#1217</a>: REPL not always using passed stdout and stderr (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1224">#1224</a>)</li> <li>Fix <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1220">#1220</a>: <code>ts-node ./index</code> may execute the wrong file extension because tsconfig search poisons the <code>require.resolve</code> cache (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1155">#1155</a>)</li> <li>Fix <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1322">#1322</a>: Sourcemaps fail for filenames with spaces or other characters which are percent-encoded in URLs (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1160">#1160</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1330">#1330</a>)</li> <li>Fix <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1331">#1331</a>: Resolution of node builtin modules in ESM loader fails on node &gt;=12.20.0, &lt;13 (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1332">#1332</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/TypeStrong/ts-node/commit/34ce7787b9aebb1972a61daf8aa1f7c61048f645"><code>34ce778</code></a> 10.0.0</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/260a7a004f483ef3361e1793abbb629980d55440"><code>260a7a0</code></a> rebuild readme</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/4f2ee387d595bd9255d80038a7476b5dd013fc6f"><code>4f2ee38</code></a> fix broken links</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/e7cfd34ebf2f761647db6e6ea09e69b4323ca6f2"><code>e7cfd34</code></a> Rebuild README</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/1835055f8827a053f4353636711dff3c5ac51f15"><code>1835055</code></a> npm install &amp;&amp; npm prune</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/a07917d0f4cff468b8a16e2637b626c39420b8ce"><code>a07917d</code></a> remove WIP banner from website</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/d230ee0d94b121cd19e99f65554f4b8a5d855b27"><code>d230ee0</code></a> Merge docs into main prior to v10 release (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1335">#1335</a>)</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/1db1031b15aad703bbbc6e52c990e980170e958d"><code>1db1031</code></a> update api-extractor report</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/373b2beba6df9c87870b5724c71e4cce7e26ada1"><code>373b2be</code></a> Detect esm builtins protocol change on node 12.20.0 (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1332">#1332</a>)</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/16b66eb12d628d5230f32b2acb33457435a090bd"><code>16b66eb</code></a> recognize when //# sourceMappingURL is percent-encoded (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1330">#1330</a>)</li> <li>Additional commits viewable in <a href="https://github.com/TypeStrong/ts-node/compare/v8.10.2...v10.0.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ts-node&package-manager=npm_and_yarn&previous-version=8.10.2&new-version=10.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
1 parent 2691f0c commit 99292de

File tree

2 files changed

+94
-9
lines changed

2 files changed

+94
-9
lines changed

package-lock.json

Lines changed: 93 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"mocha": "^8.1.1",
5959
"node-stream-zip": "^1.13.4",
6060
"prettier": "^2.0.5",
61-
"ts-node": "^8.10.2",
61+
"ts-node": "^10.0.0",
6262
"typescript": "^3.9.7"
6363
}
6464
}

0 commit comments

Comments
 (0)