Bump ts-node from 10.7.0 to 10.8.1 #385

Merged
dependabot[bot] merged 1 commits from dependabot/npm_and_yarn/ts-node-10.8.1 into main 2022-06-06 21:44:30 +00:00
dependabot[bot] commented 2022-06-06 07:05:44 +00:00 (Migrated from github.com)

Bumps ts-node from 10.7.0 to 10.8.1.

Release notes

Sourced from ts-node's releases.

v10.8.1

Fixed

https://github.com/TypeStrong/ts-node/compare/v10.8.0...v10.8.1 https://github.com/TypeStrong/ts-node/milestone/14

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

... (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.1. <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.1</h2> <p><strong>Fixed</strong></p> <ul> <li>Fixed <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1769">#1769</a>: source URLs in source map cache were malformed on Windows, affecting code coverage reports (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1769">#1769</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1771">#1771</a>) <a href="https://github.com/cspotcode"><code>@​cspotcode</code></a></li> <li>Fixed <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1778">#1778</a>: typechecker was erronously resolving imports from ESM files as if they were from CJS files (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1778">#1778</a>, <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1782">#1782</a>) <a href="https://github.com/cspotcode"><code>@​cspotcode</code></a></li> </ul> <p><a href="https://github.com/TypeStrong/ts-node/compare/v10.8.0...v10.8.1">https://github.com/TypeStrong/ts-node/compare/v10.8.0...v10.8.1</a> <a href="https://github.com/TypeStrong/ts-node/milestone/14">https://github.com/TypeStrong/ts-node/milestone/14</a></p> <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> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/TypeStrong/ts-node/commit/14323f9d00d5c7051ac09b944c7f423e442145ea"><code>14323f9</code></a> 10.8.1</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/e28cbecfbb58308c3b03d17a6c6bb1530d30ff6d"><code>e28cbec</code></a> fix missing tag declaration in api-extractor config; update api-extractor report</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/30eef20ac16cba65fba07df235d1482a593cc8b3"><code>30eef20</code></a> rebuild readme</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/167a7fe17dbff3a948a6d2561be6329fd9b46b36"><code>167a7fe</code></a> Docs merge for 10.8.1 (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1788">#1788</a>)</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/599f28bbed574003aea08cffab098a3348475649"><code>599f28b</code></a> Use file URL for source map paths (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1771">#1771</a>)</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/04f4c28cc58a40c42685dc740601350c78dea084"><code>04f4c28</code></a> Fix <a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1778">#1778</a>: typechecker resolver should take importer's module type -- cjs or ...</li> <li><a href="https://github.com/TypeStrong/ts-node/commit/b3dd3f2516f40117624d69268df18b9fd80bc310"><code>b3dd3f2</code></a> Fix tests (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-node/issues/1775">#1775</a>)</li> <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>Additional commits viewable in <a href="https://github.com/TypeStrong/ts-node/compare/v10.7.0...v10.8.1">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.1)](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>
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#385
No description provided.