Skip to content

Commit

Permalink
chore(deps): bump ts-node from 10.4.0 to 10.5.0 (#162)
Browse files Browse the repository at this point in the history
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.4.0 to 10.5.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.5.0</h2>
<!-- raw HTML omitted -->
<p>Questions about this release? Ask in the official discussion thread: <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1634">#1634</a></p>
<p><strong>Added</strong></p>
<ul>
<li>Eliminate &quot;Emit Skipped&quot; errors (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/693">#693</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1345">#1345</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1629">#1629</a>)
<ul>
<li>Avoids all &quot;Emit Skipped&quot; errors by performing a fallback <code>transpileOnly</code>-style transformation.</li>
<li>Does not affect typechecking.  Type errors are still detected and thrown.</li>
<li>Fallback has the same limitations as <code>isolatedModules</code>. This will only affect rare cases such as using <code>const enums</code> with <code>preserveConstEnums</code> disabled.</li>
<li>Fixes <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/693">#693</a></li>
</ul>
</li>
<li>Graduate swc transpiler out of experimental; add <code>swc: true</code> convenience option (<a href="https://typestrong.org/ts-node/docs/transpilers">docs</a>) (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1487">#1487</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1536">#1536</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1613">#1613</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1627">#1627</a>)
<ul>
<li><code>&quot;swc&quot;: true</code> or <code>--swc</code> will use swc for faster execution</li>
<li>This feature is no longer marked &quot;experimental.&quot;  Thank you to everyone who filed bugs!</li>
</ul>
</li>
<li>swc transpiler attempts to load <code>@swc/core</code> or <code>@swc/wasm</code> dependencies from your project before falling-back to global installations (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1613">#1613</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1627">#1627</a>)
<ul>
<li>global fallback only occurs when using a global installation of ts-node</li>
</ul>
</li>
<li>Add support for TypeScript's <code>traceResolution</code> output (<a href="https://www.typescriptlang.org/tsconfig/#traceResolution">docs</a>) (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1128">#1128</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1491">#1491</a>) <a href="https://github.com/TheUnlocked"><code>@​TheUnlocked</code></a></li>
<li>Support import assertions in ESM loader (<a href="https://nodejs.org/dist/latest-v17.x/docs/api/esm.html#import-assertions">docs</a>) (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1557">#1557</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1558">#1558</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1559">#1559</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1573">#1573</a>) <a href="https://github.com/Pokute"><code>@​Pokute</code></a>, <a href="https://github.com/geigerzaehler"><code>@​geigerzaehler</code></a>
<ul>
<li>Allows importing JSON files from ESM with the requisite flag (<a href="https://nodejs.org/dist/latest-v17.x/docs/api/esm.html#json-modules">docs</a>)</li>
</ul>
</li>
<li><code>ts-node -vvv</code> also logs absolute paths to <code>ts-node</code> and <code>typescript</code>, to make it more obvious when you're accidentally using globally-installed versions (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1323">#1323</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1620">#1620</a>)</li>
<li>Add swc target &quot;es2022&quot; (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1535">#1535</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1540">#1540</a>)
<ul>
<li>When you have target es2022 in tsconfig, will use swc's es2022 target</li>
</ul>
</li>
</ul>
<p><strong>Changed</strong></p>
<ul>
<li>Initialize TypeScript compiler before starting REPL prompt (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1498">#1498</a>) <a href="https://github.com/TheUnlocked"><code>@​TheUnlocked</code></a>
<ul>
<li>Improves responsiveness for first line of REPL input</li>
</ul>
</li>
<li>Use <code>v8-compile-cache-lib</code> to load typescript
<ul>
<li>improves startup time (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1339">#1339</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1603">#1603</a>)</li>
</ul>
</li>
<li>Support both <code>--camelCase</code> and <code>--hyphen-case</code> for all CLI flags; update documentation to use <code>--camelCase</code> (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1598">#1598</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1599">#1599</a>)
<ul>
<li>Not a breaking change; CLI continues to accept both forms</li>
</ul>
</li>
<li>Make <code>TSError</code> <code>diagnosticText</code> property non-enumerable to prevent it from being logged below the stack (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1632">#1632</a>)</li>
</ul>
<p><strong>Fixed</strong></p>
<ul>
<li>Fix <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1538">#1538</a>: REPL inputs fail to transpile via swc (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1538">#1538</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1541">#1541</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1602">#1602</a>)</li>
<li>Fix <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1478">#1478</a>: REPL erroneously logged <code>undefined</code> for all inputs after the first when using swc transpiler (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1478">#1478</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1580">#1580</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1602">#1602</a>)</li>
<li>Fix <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1389">#1389</a>: In <code>--showConfig</code> output, emit accurate <code>moduleTypes</code> paths resolved relative to the <code>tsconfig.json</code> which declared them (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1389">#1389</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1619">#1619</a>)</li>
<li>Fix: Remove indentation from <code>ts-node --help</code> output (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1597">#1597</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1600">#1600</a>)</li>
<li>Fix <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1425">#1425</a>: Merged definitions correctly into <code>tsconfig.schemastore-schema.json</code> (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1425">#1425</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1618">#1618</a>)</li>
<li>Fix: Allow disabling <code>&quot;use strict&quot;</code> emit in SWC transpiler (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1531">#1531</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1537">#1537</a>)</li>
<li>Fix: Add missing <code>ERR_UNKNOWN_FILE_EXTENSION</code> constructor; was throwing <code>ERR_UNKNOWN_FILE_EXTENSION is not a constructor</code> (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1562">#1562</a>) <a href="https://github.com/bluelovers"><code>@​bluelovers</code></a></li>
<li>Fix <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1565">#1565</a>: entrypoint resolution failed on node v12.0.x and v12.1.x (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1565">#1565</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1566">#1566</a>) <a href="https://github.com/davidmurdoch"><code>@​davidmurdoch</code></a></li>
</ul>
<h2>Docs</h2>
<ul>
<li>Explain <code>env -S</code> flag for shebangs (<a href="https://typestrong.org/ts-node/docs/usage#shebang">docs</a>) (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1448">#1448</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1545">#1545</a>) <a href="https://github.com/sheeit"><code>@​sheeit</code></a>, <a href="https://github.com/chee"><code>@​chee</code></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/751c0df6818840ba469c030b195197bd8dd1476e"><code>751c0df</code></a> 10.5.0</li>
<li><a href="https://github.com/TypeStrong/ts-node/commit/de3acb397f799b7a4ddf19180c4bcc926cf2d808"><code>de3acb3</code></a> rebuild readme for 10.5.0 (again)</li>
<li><a href="https://github.com/TypeStrong/ts-node/commit/2ffcbe3e66a0dcbef3bdec198337827388414f71"><code>2ffcbe3</code></a> Make <code>TSError</code> <code>diagnosticText</code> non-enumerable to prevent it from logging bel...</li>
<li><a href="https://github.com/TypeStrong/ts-node/commit/26c3774f22b2dfcfbb75790ff4e5e216d8256d3e"><code>26c3774</code></a> Fix <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1630">#1630</a>: fix typo in <code>moduleTypes</code> (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1633">#1633</a>)</li>
<li><a href="https://github.com/TypeStrong/ts-node/commit/670673ec5bd92650f11892d1412bbf4e23aca3ad"><code>670673e</code></a> update api-extractor report</li>
<li><a href="https://github.com/TypeStrong/ts-node/commit/9b149a6424b2879b9c86b78bfbc7e380d217b986"><code>9b149a6</code></a> Changes prompted by apiextractor</li>
<li><a href="https://github.com/TypeStrong/ts-node/commit/b7f7f041ffef1f308f152f9c21fb00ebcf40f73e"><code>b7f7f04</code></a> rebuild readme for 10.5.0</li>
<li><a href="https://github.com/TypeStrong/ts-node/commit/fba1cc1f0cfc49971f03800a7082eed47a82b584"><code>fba1cc1</code></a> Docs merge for 10.5.0 (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1631">#1631</a>)</li>
<li><a href="https://github.com/TypeStrong/ts-node/commit/db6f850eff15e30b985767c60f786f3da6b22af5"><code>db6f850</code></a> When TS returns <code>emitSkipped</code>, fallback to transpileOnly (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1629">#1629</a>)</li>
<li><a href="https://github.com/TypeStrong/ts-node/commit/01d7ecd3fa176063413ecc675013e3d8771bfee6"><code>01d7ecd</code></a> implement <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1435">#1435</a> (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1628">#1628</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/TypeStrong/ts-node/compare/v10.4.0...v10.5.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.4.0&new-version=10.5.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
dependabot[bot] authored Feb 7, 2022
1 parent 379bc67 commit a69e4ca
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
19 changes: 13 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"ts-jest": "^26.5.6",
"ts-node": "^10.4.0",
"ts-node": "^10.5.0",
"tslint": "^5.18.0",
"typedoc": "^0.20.37",
"typescript": "^3.9.10"
Expand Down

0 comments on commit a69e4ca

Please sign in to comment.