Skip to content

Commit

Permalink
chore(deps-dev): Bump ts-node from 10.4.0 to 10.7.0 (#566)
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.7.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.7.0</h2>
<p>Questions about this release? Ask in the official discussion thread: <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1680">#1680</a></p>
<p><strong>Added</strong></p>
<ul>
<li>Adds <code>--esm</code> flag, option, and <code>ts-node-esm</code> binary (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1258">#1258</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1655">#1655</a>)
<ul>
<li>Enables full <code>esm</code> support; no need for <code>--loader</code> nor <code>NODE_OPTIONS</code></li>
<li>Use shebang <code>#!/usr/bin/env ts-node-esm</code>, run <code>ts-node --esm</code>, or add to your tsconfig.json: <code>&quot;ts-node&quot;: {&quot;esm&quot;: true}</code></li>
</ul>
</li>
</ul>
<p><strong>Changed</strong></p>
<ul>
<li>Unflag ESM json modules on node &gt;=17.5.0 (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1661">#1661</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1665">#1665</a>) <a href="https://github.com/Jamesernator"><code>@​Jamesernator</code></a>
<ul>
<li>no longer requires <code>--experimental-json-modules</code></li>
</ul>
</li>
<li>Lazy-load dependencies to improve startup responsiveness. (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1676">#1676</a>)</li>
</ul>
<p><strong>Fixed</strong></p>
<ul>
<li>Fixed bug where &quot;compiler&quot;, &quot;transpiler&quot;, and swc backend would not resolve relative to the tsconfig.json that declared them (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1662">#1662</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1655">#1655</a>)
<ul>
<li>Enables reusable tsconfig.json shared via node module to include necessary dependencies</li>
</ul>
</li>
</ul>
<p><a href="https://github.com/TypeStrong/ts-node/compare/v10.6.0...v10.7.0">https://github.com/TypeStrong/ts-node/compare/v10.6.0...v10.7.0</a>
<a href="https://github.com/TypeStrong/ts-node/milestone/11">https://github.com/TypeStrong/ts-node/milestone/11</a></p>
<h2>v10.6.0</h2>
<p>Questions about this release? Ask in the official discussion thread: <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1666">#1666</a></p>
<p><strong>Added</strong></p>
<ul>
<li>Adds workaround for extensionless entrypoints with ESM loader (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1649">#1649</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1654">#1654</a>)
<ul>
<li>You can now combine tools such as <code>mocha</code> with <code>--loader ts-node/esm</code>, where previously node would throw <code>[ERR_UNKNOWN_FILE_EXTENSION]</code></li>
<li>node has a bug where combining <code>--loader</code> with an extensionless entrypoint causes this error <a href="https://github-redirect.dependabot.com/nodejs/node/issues/33226">nodejs/node#33226</a></li>
<li>Some tools, for example <code>mocha</code>, have an extensionless entrypoint. (<a href="https://github.com/mochajs/mocha/blob/547ffd73535088322579d3d2026432112eae3d4b/package.json#L37">source</a>, <a href="https://github.com/mochajs/mocha/blob/547ffd73535088322579d3d2026432112eae3d4b/bin/mocha">source</a>)</li>
<li>Combining <code>NODE_OPTIONS=--loader ts-node/esm</code> with these tools causes this error.  <a href="https://github-redirect.dependabot.com/mochajs/mocha/issues/4645">mochajs/mocha#4645</a></li>
<li>node intends to fix this bug in a future release: <a href="https://github-redirect.dependabot.com/nodejs/node/issues/41711">nodejs/node#41711</a></li>
<li>In the interim, we have implemented a workaround in ts-node.</li>
</ul>
</li>
<li>Adds support for target &quot;ES2022&quot; in <code>moduleTypes</code> overrides (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1650">#1650</a>)</li>
</ul>
<p><strong>Fixed</strong></p>
<ul>
<li>Fixed bug where <code>--swc</code> and other third-party transpilers did not respect <code>moduleTypes</code> overrides (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1651">#1651</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1652">#1652</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1660">#1660</a>)</li>
<li>Fixed bug where node flags were not preserved correctly in <code>process.execArgv</code> (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1657">#1657</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1658">#1658</a>)
<ul>
<li>This affected <code>child_process.fork()</code>, since it uses <code>process.execArgv</code> to create a similar child runtime.</li>
<li>With this fix, <code>child_process.fork()</code> will preserve both node flags and <code>ts-node</code> hooks.</li>
</ul>
</li>
<li>Fixed compatibility TypeScript 4.7's API changes (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1647">#1647</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1648">#1648</a>)</li>
</ul>
<p><a href="https://github.com/TypeStrong/ts-node/compare/v10.5.0...v10.6.0">https://github.com/TypeStrong/ts-node/compare/v10.5.0...v10.6.0</a>
<a href="https://github.com/TypeStrong/ts-node/milestone/9">https://github.com/TypeStrong/ts-node/milestone/9</a></p>
<h2>v10.5.0</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/TypeStrong/ts-node/commit/f5b6e2d141f9871a276039e8dc19ee96982d814a"><code>f5b6e2d</code></a> 10.7.0</li>
<li><a href="https://github.com/TypeStrong/ts-node/commit/29a15bca71bf831ae75caf64da773af4ad8c875d"><code>29a15bc</code></a> update api-extractor report</li>
<li><a href="https://github.com/TypeStrong/ts-node/commit/e842c118a37ca81b82ab01e4c7e229570608a303"><code>e842c11</code></a> Rebuild readme for 10.7.0</li>
<li><a href="https://github.com/TypeStrong/ts-node/commit/216339845e9b1d19a45cf0823e3913a4ae4be5e5"><code>2163398</code></a> Merge docs into main for 10.7.0</li>
<li><a href="https://github.com/TypeStrong/ts-node/commit/079206730fd75e6ff18f6998b15d08b9503cc000"><code>0792067</code></a> <code>ts-node-esm</code> / <code>--esm</code> to spawn a child process; decouple config loading fro...</li>
<li><a href="https://github.com/TypeStrong/ts-node/commit/f35a1201445b004723bff6c1445e012861bde2a3"><code>f35a120</code></a> lazy-load dependencies to improve responsiveness when they aren't used (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1676">#1676</a>)</li>
<li><a href="https://github.com/TypeStrong/ts-node/commit/20cbbf58565b028bfb123fade6114c7f67824d7d"><code>20cbbf5</code></a> Allow json modules to be resolved in Node &gt;=17.5.0 without flag (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1665">#1665</a>)</li>
<li><a href="https://github.com/TypeStrong/ts-node/commit/30f03e1439685c732e6323cb4dc2e6321fb18a7b"><code>30f03e1</code></a> 10.6.0</li>
<li><a href="https://github.com/TypeStrong/ts-node/commit/4e1af52cea2ca80c148f7392eb8d4a294f1dc94f"><code>4e1af52</code></a> update apiextractor report prior to the release of 10.6.0</li>
<li><a href="https://github.com/TypeStrong/ts-node/commit/89bde5169aefcf1012ae19a5d5f8710bf1916828"><code>89bde51</code></a> Issue <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1651">#1651</a> followup (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1660">#1660</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/TypeStrong/ts-node/compare/v10.4.0...v10.7.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.7.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 Apr 23, 2022
1 parent 55967bd commit 0ee55c5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 8 deletions.
29 changes: 22 additions & 7 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 @@ -42,7 +42,7 @@
"split2": "^4.1.0",
"trash-cli": "^1.4.0",
"ts-jest": "^24.3.0",
"ts-node": "^10.4.0",
"ts-node": "^10.7.0",
"ts-node-dev": "^1.1.8",
"tslint": "^6.1.3",
"typescript": "^3.9.10"
Expand Down

0 comments on commit 0ee55c5

Please sign in to comment.