Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps-dev): Bump ts-node from 10.0.0 to 10.1.0 (#168)
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.0.0 to 10.1.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.1.0</h2> <p>Questions about this release? Ask in the official discussion thread: <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1390">#1390</a></p> <p><strong>Added</strong></p> <ul> <li>Add <code>"moduleType"</code> option to override module type -- CommonJS or ECMAScript -- on select files. (<a href="https://typestrong.org/ts-node/docs/module-type-overrides">docs</a>) (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1342">#1342</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1371">#1371</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1376">#1376</a>) <ul> <li>Useful when a configuration file, for example <code>webpack.config.ts</code>, must execute as CommonJS but the rest of the project is ESM</li> <li>selectively overrides <code>package.json</code> <code>"type"</code> and <code>tsconfig.json</code> <code>"module"</code></li> <li>akin to <code>.cjs</code> and <code>.mjs</code> extensions, but for <code>.ts</code> and <code>.tsx</code> files</li> <li>thanks to <a href="https://github.com/jayaddison"><code>@jayaddison</code></a> for help on test coverage</li> </ul> </li> <li>Implement <code>"extends"</code> support for <code>"ts-node"</code> options in <code>tsconfig.json</code> (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1328">#1328</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1356">#1356</a>) <ul> <li><code>"ts-node": {}</code> options will be parsed from extended tsconfigs</li> <li>allows sharing and deduplicating ts-node configuration</li> </ul> </li> <li>Un-deprecate <code>scope</code> and <code>scopeDir</code>; add both to CLI and <code>tsconfig.json</code> options; un-deprecate <code>TS_NODE_SCOPE</code> env var; add <code>TS_NODE_SCOPE_DIR</code> env var (<a href="https://typestrong.org/ts-node/docs/options">docs</a>) (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1346">#1346</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1367">#1367</a>)</li> </ul> <p><strong>Changed</strong></p> <ul> <li>Improve error messages thrown by native ESM loader hooks (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1357">#1357</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1373">#1373</a>) <a href="https://github.com/tars0x9752"><code>@tars0x9752</code></a> <ul> <li>messages more closely match node; are more descriptive</li> </ul> </li> <li>Emit <code>"ts-node"</code> object at the top of <code>--showConfig</code> output instead of the bottom (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1355">#1355</a>)</li> </ul> <p><strong>Fixed</strong></p> <ul> <li>Fix <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1282">#1282</a>: Set correct globals in <code>[stdin]</code>, <code>[eval]</code>, and <code><repl></code> contexts (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1333">#1333</a>) <ul> <li>More closely align ts-node's behavior with vanilla node</li> <li>Affects the interactive REPL, piping to stdin, and <code>ts-node -e</code></li> <li>Matches node's behavior for globals <code>__filename</code>, <code>__dirname</code>, <code>module</code> and sub-fields of <code>module</code>, <code>exports</code>, and builtin module aliases <code>fs</code>, etc</li> </ul> </li> <li>Fix <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1343">#1343</a>: Set swc option <code>keepClassNames</code> to <code>true</code> (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1344">#1344</a>)</li> <li>Fix: <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1387">#1387</a>: REPL outputs 'use strict' after first empty line of input (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1388">#1388</a>) <a href="https://github.com/ejose19"><code>@ejose19</code></a></li> </ul> <p><strong>Docs</strong></p> <ul> <li>Update ESM docs to say that env vars <em>are</em> supported with <code>node --loader ts-node/esm</code> (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1007">docs</a>) (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1379">#1379</a>)</li> </ul> <p><a href="https://github.com/TypeStrong/ts-node/compare/v10.0.0...v10.1.0">https://github.com/TypeStrong/ts-node/compare/v10.0.0...v10.1.0</a> <a href="https://github.com/TypeStrong/ts-node/milestone/3">https://github.com/TypeStrong/ts-node/milestone/3</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/TypeStrong/ts-node/commit/9faa34022cb7c91358333c8ff4ce1710c5b10a3b"><code>9faa340</code></a> 10.1.0</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/85dd6de4701fbc516868b8599fca8a95461f3281"><code>85dd6de</code></a> rebuild the readme</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/1bc470d4e50118de4ccebf3e2dca00d80d1cae91"><code>1bc470d</code></a> Add moduleType option to override module type on certain files. (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1371">#1371</a>)</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/4e7fcb7563acb41808c654084be88ed889503dd4"><code>4e7fcb7</code></a> fix: prevent implicit 'use strict' output (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1388">#1388</a>)</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/5643ad64cf39ee0dfa2a9323e8d1dd9f400e5884"><code>5643ad6</code></a> Improve error messages used by esm-resolver (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1373">#1373</a>)</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/6266ae2c0b856036482ce425b224ddc2b4b49793"><code>6266ae2</code></a> Fix <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1282">#1282</a>: correct globals in [stdin], [eval], and <repl> contexts (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1333">#1333</a>)</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/4f16d1b4e34d5eddec7cb4e4ab9c07d93dc1013c"><code>4f16d1b</code></a> Implement "extends" support for "ts-node" options in tsconfigs (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1356">#1356</a>)</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/518c25003607497bfee4652919b3bf19646991e7"><code>518c250</code></a> Put "ts-node" object at the top of <code>--showConfig</code> output (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1355">#1355</a>)</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/17b3a55254983f1e3170fd6348f0ee216788ae97"><code>17b3a55</code></a> Un-deprecate scope and scopedir; add to CLI, tsconfig.json, and env vars (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1367">#1367</a>)</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/7cac7df77b7a6a8b786159bc87c350faf53db846"><code>7cac7df</code></a> Fix broken link in jsdoc (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1365">#1365</a>)</li> <li>Additional commits viewable in <a href="https://github.com/TypeStrong/ts-node/compare/v10.0.0...v10.1.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=10.0.0&new-version=10.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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>
- Loading branch information