Bump ts-node from 10.7.0 to 10.8.0 #379

Closed
dependabot[bot] wants to merge 1 commits from dependabot/npm_and_yarn/ts-node-10.8.0 into main
dependabot[bot] commented 2022-05-23 07:07:47 +00:00 (Migrated from github.com)

Bumps ts-node from 10.7.0 to 10.8.0.

Release notes

Sourced from ts-node's releases.

v10.8.0

Questions about this release? Ask in the official discussion thread: #1767

Added

  • Added support for module=NodeNext, module=Node16, .mts, .cts, .mjs, and .cjs file extensions (#1414, #1694, #1744, #1745, #1727, #1717, #1753, #1757) @​cspotcode
  • Added ability to include file extensions in CommonJS imports (#1727, #1753) @​cspotcode
    • Enables consistency with ESM, where file extensions are often mandatory
  • Resolves from emitted to source file extensions (#1727, #1753) @​cspotcode
    • Must enable experimentalResolver, will be enabled by default in a future version (docs)
    • Typechecker requires importing the emitted file extension; ts-node resolves correctly to the source file. E.g. import "./foo.js" will execute foo.ts See also: [TypeScript issue #37582](microsoft/TypeScript#37582)
    • If typechecking is disabled, you can also use source file extensions. E.g. import "./foo.ts"
  • Added experimentalSpecifierResolution (#1727, #1753) @​cspotcode
    • the same as Node's --experimental-specifier-resolution (Node docs)
    • can also be specified in tsconfig.json for convenience, to avoid the CLI flag
    • allows omitting file extensions in ESM imports, plus a few other CommonJS-style conveniences
  • Adds diagnostics property to TSError, with array of TypeScript diagnostic objects from the compiler (API docs) (#1705, #1706) @​paulbrimicombe

Changed

  • Renames option experimentalResolverFeatures to experimentalResolver (docs) (#1727) @​cspotcode
  • Internal change to ESM loader for compatibility with forthcoming node versions: returns shortCircuit: true (#1714, #1715) @​cspotcode
  • Performance: Optimize filesystem stat calls in ESM loader and new CommonJS resolver (#1758, #1759) @​cspotcode
  • Performance, maintenance: Upgrade source-mapper dependency "@​cspotcode/source-map-support"

Fixed

  • Fixed bug where REPL .type command was not showing any type information when using TypeScript nightly builds (#1761, #1762) @​cspotcode
  • Correctly suppress "Custom ESM Loaders" warning on newer node versions where the warning's prose changed (#1701) @​cspotcode
  • Fixed REPL bug where function signatures could not be entered across multiple lines (#1667, #1677) @​d9k
  • REPL treats unparenthesized object literals as objects, instead of as block scopes (#1697, #1699) @​jhmaster2000
  • Fixed bug where preferTsExts combined with third-party transpiler hooks could disrupt nyc code coverage (#1755) @​cspotcode
  • Fixed bug where file:// URLs in stack traces did not always use percent-encoding (#1738, #1726, #1729) @​cspotcode
  • Fixed bug where v8-compile-cache-lib did not correctly unhook itself (#1717, #1718, #1719) @​cspotcode
    • This internal dependency is used to speed up loading the TypeScript compiler

Docs

... (truncated)

Commits

Dependabot compatibility score

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 commands and options

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)
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.7.0 to 10.8.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.8.0</h2> <p>Questions about this release? Ask in the official discussion thread: <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1767">#1767</a></p> <p><strong>Added</strong></p> <ul> <li>Added support for <code>module=NodeNext</code>, <code>module=Node16</code>, <code>.mts</code>, <code>.cts</code>, <code>.mjs</code>, and <code>.cjs</code> file extensions (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1414">#1414</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1694">#1694</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1744">#1744</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1745">#1745</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1727">#1727</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1717">#1717</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1753">#1753</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1757">#1757</a>) <a href="https://github.com/cspotcode"><code>@​cspotcode</code></a> <ul> <li>For best results, enable <code>experimentalResolver</code> (<a href="https://typestrong.org/ts-node/docs/options#experimentalresolver">docs</a>)</li> <li>See TypeScript's official documentation: <a href="https://www.typescriptlang.org/docs/handbook/esm-node.html">https://www.typescriptlang.org/docs/handbook/esm-node.html</a></li> <li>enables mixed-mode projects with both ESM and CommonJS</li> <li>enables all supported file extensions in TypeScript 4.7</li> <li>Obeys package.json &quot;type&quot;</li> </ul> </li> <li>Added ability to include file extensions in CommonJS imports (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1727">#1727</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1753">#1753</a>) <a href="https://github.com/cspotcode"><code>@​cspotcode</code></a> <ul> <li>Enables consistency with ESM, where file extensions are often mandatory</li> </ul> </li> <li>Resolves from emitted to source file extensions (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1727">#1727</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1753">#1753</a>) <a href="https://github.com/cspotcode"><code>@​cspotcode</code></a> <ul> <li>Must enable <code>experimentalResolver</code>, will be enabled by default in a future version (<a href="https://typestrong.org/ts-node/docs/options#experimentalresolver">docs</a>)</li> <li>Typechecker requires importing the <em>emitted</em> file extension; ts-node resolves correctly to the <em>source</em> file. E.g. <code>import &quot;./foo.js&quot;</code> will execute <code>foo.ts</code> See also: [TypeScript issue <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/37582">#37582</a>](<a href="https://github-redirect.dependabot.com/microsoft/TypeScript/issues/37582">microsoft/TypeScript#37582</a>)</li> <li>If typechecking is disabled, you can also use <em>source</em> file extensions. E.g. <code>import &quot;./foo.ts&quot;</code></li> </ul> </li> <li>Added <code>experimentalSpecifierResolution</code> (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1727">#1727</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1753">#1753</a>) <a href="https://github.com/cspotcode"><code>@​cspotcode</code></a> <ul> <li>the same as Node's <code>--experimental-specifier-resolution</code> (<a href="https://nodejs.org/dist/latest-v18.x/docs/api/esm.html#customizing-esm-specifier-resolution-algorithm">Node docs</a>)</li> <li>can also be specified in <code>tsconfig.json</code> for convenience, to avoid the CLI flag</li> <li>allows omitting file extensions in ESM imports, plus a few other CommonJS-style conveniences</li> </ul> </li> <li>Adds <code>diagnostics</code> property to <code>TSError</code>, with array of TypeScript diagnostic objects from the compiler (<a href="https://typestrong.org/ts-node/api/classes/TSError.html">API docs</a>) (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1705">#1705</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1706">#1706</a>) <a href="https://github.com/paulbrimicombe"><code>@​paulbrimicombe</code></a></li> </ul> <p><strong>Changed</strong></p> <ul> <li>Renames option <code>experimentalResolverFeatures</code> to <code>experimentalResolver</code> (<a href="https://typestrong.org/ts-node/docs/options#experimentalresolver">docs</a>) (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1727">#1727</a>) <a href="https://github.com/cspotcode"><code>@​cspotcode</code></a></li> <li>Internal change to ESM loader for compatibility with forthcoming node versions: returns <code>shortCircuit: true</code> (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1714">#1714</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1715">#1715</a>) <a href="https://github.com/cspotcode"><code>@​cspotcode</code></a></li> <li>Performance: Optimize filesystem stat calls in ESM loader and new CommonJS resolver (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1758">#1758</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1759">#1759</a>) <a href="https://github.com/cspotcode"><code>@​cspotcode</code></a></li> <li>Performance, maintenance: Upgrade source-mapper dependency &quot;<code>@​cspotcode/source-map-support</code>&quot; <ul> <li>Switches to &quot;trace-mapping&quot; for underlying source-map parsing (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1729">#1729</a>) <a href="https://github.com/cspotcode"><code>@​cspotcode</code></a></li> </ul> </li> </ul> <p><strong>Fixed</strong></p> <ul> <li>Fixed bug where REPL <code>.type</code> command was not showing any type information when using TypeScript nightly builds (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1761">#1761</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1762">#1762</a>) <a href="https://github.com/cspotcode"><code>@​cspotcode</code></a></li> <li>Correctly suppress &quot;Custom ESM Loaders&quot; warning on newer node versions where the warning's prose changed (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1701">#1701</a>) <a href="https://github.com/cspotcode"><code>@​cspotcode</code></a></li> <li>Fixed REPL bug where function signatures could not be entered across multiple lines (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1667">#1667</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1677">#1677</a>) <a href="https://github.com/d9k"><code>@​d9k</code></a></li> <li>REPL treats unparenthesized object literals as objects, instead of as block scopes (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1697">#1697</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1699">#1699</a>) <a href="https://github.com/jhmaster2000"><code>@​jhmaster2000</code></a></li> <li>Fixed bug where <code>preferTsExts</code> combined with third-party transpiler hooks could disrupt <code>nyc</code> code coverage (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1755">#1755</a>) <a href="https://github.com/cspotcode"><code>@​cspotcode</code></a></li> <li>Fixed bug where <code>file://</code> URLs in stack traces did not always use percent-encoding (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1738">#1738</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1726">#1726</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1729">#1729</a>) <a href="https://github.com/cspotcode"><code>@​cspotcode</code></a></li> <li>Fixed bug where v8-compile-cache-lib did not correctly unhook itself (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1717">#1717</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1718">#1718</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1719">#1719</a>) <a href="https://github.com/cspotcode"><code>@​cspotcode</code></a> <ul> <li>This internal dependency is used to speed up loading the TypeScript compiler</li> </ul> </li> </ul> <p><strong>Docs</strong></p> <ul> <li>Many docs improvements (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1682">#1682</a>) <a href="https://github.com/cspotcode"><code>@​cspotcode</code></a></li> <li>Options page: each option its own linkable header w/usage example (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1606">#1606</a>) <a href="https://github.com/cspotcode"><code>@​cspotcode</code></a></li> <li>Categorize APIs in typedoc, make entrypoints more prominent (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1456">#1456</a>) <a href="https://github.com/cspotcode"><code>@​cspotcode</code></a></li> <li>Clarify that the shorthand for <code>--project</code> is <code>-P</code>, not <code>-p</code> (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1731">#1731</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1734">#1734</a>) <a href="https://github.com/lobsterkatie"><code>@​lobsterkatie</code></a></li> <li>Add common ESM errors to Troubleshooting page (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1607">#1607</a>) <a href="https://github.com/cspotcode"><code>@​cspotcode</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/78d103ffe7e899471081f5a88ac4bd61e9a42184"><code>78d103f</code></a> 10.8.0</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/b6ccce9565b5d3ced75b7b6fa8e69d040de4c37e"><code>b6ccce9</code></a> add <a href="https://github.com/category"><code>@​category</code></a> tag to allowlist in apiextractor config</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/682fd6cd5f15b941a3a245a1e0fc05fa371b62cf"><code>682fd6c</code></a> update api-extractor report for v10.8.0</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/03a3ee7145eb731ec0754695a0c6a45b1bc34785"><code>03a3ee7</code></a> render readme for v10.8.0 release</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/499b2567c5ccb170800eb03dd862d6970b49dc7f"><code>499b256</code></a> Merge docs for v10.8.0 release (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1763">#1763</a>)</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/6f66541461b7c70336a8a3f1e21a88e56fb23e64"><code>6f66541</code></a> Nodenext polish (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1757">#1757</a>)</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/c6010aa9af553ec71280c55a998e5d4cd86b5dc5"><code>c6010aa</code></a> optimize stat calls in resolvers (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1759">#1759</a>)</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/5521f807094d337485f0f5218bb78e82b50a88e2"><code>5521f80</code></a> <code>getTypeInfo</code> should normalize slashes in path before querying our internal A...</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/a4493737cb827fbfc725f59f8aa0374e859a1bd6"><code>a449373</code></a> Update config.yml</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/434e8ef23c5b1ad7d9fc4cb5963bf0bf0839f00a"><code>434e8ef</code></a> Update config.yml</li> <li>Additional commits viewable in <a href="https://github.com/TypeStrong/ts-node/compare/v10.7.0...v10.8.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.7.0&new-version=10.8.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>
dependabot[bot] commented 2022-05-23 09:54:18 +00:00 (Migrated from github.com)

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`. You can also ignore all major, minor, or patch releases for a dependency by adding an [`ignore` condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore) with the desired `update_types` to your config file. If you change your mind, just re-open this PR and I'll resolve any conflicts on it.
This repo is archived. You cannot comment on pull requests.
No Reviewers
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: go-bds/Maneger#379
No description provided.