Update dependency ts-node to v10.8.0 #1367

Merged
crapStone merged 1 commit from renovate/ts-node-10.x into develop 2022-05-25 12:24:12 +02:00
Member

This PR contains the following updates:

Package Type Update Change
ts-node (source) devDependencies minor 10.7.0 -> 10.8.0

Release Notes

TypeStrong/ts-node

v10.8.0

Compare Source

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
    • 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

Fixed

Docs

https://github.com/TypeStrong/ts-node/milestone/12


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [ts-node](https://typestrong.org/ts-node) ([source](https://github.com/TypeStrong/ts-node)) | devDependencies | minor | [`10.7.0` -> `10.8.0`](https://renovatebot.com/diffs/npm/ts-node/10.7.0/10.8.0) | --- ### Release Notes <details> <summary>TypeStrong/ts-node</summary> ### [`v10.8.0`](https://github.com/TypeStrong/ts-node/releases/tag/v10.8.0) [Compare Source](https://github.com/TypeStrong/ts-node/compare/v10.7.0...v10.8.0) Questions about this release? Ask in the official discussion thread: [#&#8203;1767](https://github.com/TypeStrong/ts-node/issues/1767) **Added** - Added support for `module=NodeNext`, `module=Node16`, `.mts`, `.cts`, `.mjs`, and `.cjs` file extensions ([#&#8203;1414](https://github.com/TypeStrong/ts-node/issues/1414), [#&#8203;1694](https://github.com/TypeStrong/ts-node/issues/1694), [#&#8203;1744](https://github.com/TypeStrong/ts-node/issues/1744), [#&#8203;1745](https://github.com/TypeStrong/ts-node/issues/1745), [#&#8203;1727](https://github.com/TypeStrong/ts-node/issues/1727), [#&#8203;1717](https://github.com/TypeStrong/ts-node/issues/1717), [#&#8203;1753](https://github.com/TypeStrong/ts-node/issues/1753), [#&#8203;1757](https://github.com/TypeStrong/ts-node/issues/1757)) [@&#8203;cspotcode](https://github.com/cspotcode) - For best results, enable `experimentalResolver` ([docs](https://typestrong.org/ts-node/docs/options#experimentalresolver)) - See TypeScript's official documentation: https://www.typescriptlang.org/docs/handbook/esm-node.html - enables mixed-mode projects with both ESM and CommonJS - enables all supported file extensions in TypeScript 4.7 - Obeys package.json "type" - Added ability to include file extensions in CommonJS imports ([#&#8203;1727](https://github.com/TypeStrong/ts-node/issues/1727), [#&#8203;1753](https://github.com/TypeStrong/ts-node/issues/1753)) [@&#8203;cspotcode](https://github.com/cspotcode) - Enables consistency with ESM, where file extensions are often mandatory - Resolves from emitted to source file extensions ([#&#8203;1727](https://github.com/TypeStrong/ts-node/issues/1727), [#&#8203;1753](https://github.com/TypeStrong/ts-node/issues/1753)) [@&#8203;cspotcode](https://github.com/cspotcode) - Must enable `experimentalResolver`, will be enabled by default in a future version ([docs](https://typestrong.org/ts-node/docs/options#experimentalresolver)) - 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 #&#8203;37582](https://github.com/microsoft/TypeScript/issues/37582) - If typechecking is disabled, you can also use *source* file extensions. E.g. `import "./foo.ts"` - Added `experimentalSpecifierResolution` ([#&#8203;1727](https://github.com/TypeStrong/ts-node/issues/1727), [#&#8203;1753](https://github.com/TypeStrong/ts-node/issues/1753)) [@&#8203;cspotcode](https://github.com/cspotcode) - the same as Node's `--experimental-specifier-resolution` ([Node docs](https://nodejs.org/dist/latest-v18.x/docs/api/esm.html#customizing-esm-specifier-resolution-algorithm)) - 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](https://typestrong.org/ts-node/api/classes/TSError.html)) ([#&#8203;1705](https://github.com/TypeStrong/ts-node/issues/1705), [#&#8203;1706](https://github.com/TypeStrong/ts-node/issues/1706)) [@&#8203;paulbrimicombe](https://github.com/paulbrimicombe) **Changed** - Renames option `experimentalResolverFeatures` to `experimentalResolver` ([docs](https://typestrong.org/ts-node/docs/options#experimentalresolver)) ([#&#8203;1727](https://github.com/TypeStrong/ts-node/issues/1727)) [@&#8203;cspotcode](https://github.com/cspotcode) - Internal change to ESM loader for compatibility with forthcoming node versions: returns `shortCircuit: true` ([#&#8203;1714](https://github.com/TypeStrong/ts-node/issues/1714), [#&#8203;1715](https://github.com/TypeStrong/ts-node/issues/1715)) [@&#8203;cspotcode](https://github.com/cspotcode) - Performance: Optimize filesystem stat calls in ESM loader and new CommonJS resolver ([#&#8203;1758](https://github.com/TypeStrong/ts-node/issues/1758), [#&#8203;1759](https://github.com/TypeStrong/ts-node/issues/1759)) [@&#8203;cspotcode](https://github.com/cspotcode) - Performance, maintenance: Upgrade source-mapper dependency "[@&#8203;cspotcode/source-map-support](https://github.com/cspotcode/source-map-support)" - Switches to "trace-mapping" for underlying source-map parsing ([#&#8203;1729](https://github.com/TypeStrong/ts-node/issues/1729)) [@&#8203;cspotcode](https://github.com/cspotcode) **Fixed** - Fixed bug where REPL `.type` command was not showing any type information when using TypeScript nightly builds ([#&#8203;1761](https://github.com/TypeStrong/ts-node/issues/1761), [#&#8203;1762](https://github.com/TypeStrong/ts-node/issues/1762)) [@&#8203;cspotcode](https://github.com/cspotcode) - Correctly suppress "Custom ESM Loaders" warning on newer node versions where the warning's prose changed ([#&#8203;1701](https://github.com/TypeStrong/ts-node/issues/1701)) [@&#8203;cspotcode](https://github.com/cspotcode) - Fixed REPL bug where function signatures could not be entered across multiple lines ([#&#8203;1667](https://github.com/TypeStrong/ts-node/issues/1667), [#&#8203;1677](https://github.com/TypeStrong/ts-node/issues/1677)) [@&#8203;d9k](https://github.com/d9k) - REPL treats unparenthesized object literals as objects, instead of as block scopes ([#&#8203;1697](https://github.com/TypeStrong/ts-node/issues/1697), [#&#8203;1699](https://github.com/TypeStrong/ts-node/issues/1699)) [@&#8203;jhmaster2000](https://github.com/jhmaster2000) - Fixed bug where `preferTsExts` combined with third-party transpiler hooks could disrupt `nyc` code coverage ([#&#8203;1755](https://github.com/TypeStrong/ts-node/issues/1755)) [@&#8203;cspotcode](https://github.com/cspotcode) - Fixed bug where `file://` URLs in stack traces did not always use percent-encoding ([#&#8203;1738](https://github.com/TypeStrong/ts-node/issues/1738), [#&#8203;1726](https://github.com/TypeStrong/ts-node/issues/1726), [#&#8203;1729](https://github.com/TypeStrong/ts-node/issues/1729)) [@&#8203;cspotcode](https://github.com/cspotcode) - Fixed bug where v8-compile-cache-lib did not correctly unhook itself ([#&#8203;1717](https://github.com/TypeStrong/ts-node/issues/1717), [#&#8203;1718](https://github.com/TypeStrong/ts-node/issues/1718), [#&#8203;1719](https://github.com/TypeStrong/ts-node/issues/1719)) [@&#8203;cspotcode](https://github.com/cspotcode) - This internal dependency is used to speed up loading the TypeScript compiler **Docs** - Many docs improvements ([#&#8203;1682](https://github.com/TypeStrong/ts-node/issues/1682)) [@&#8203;cspotcode](https://github.com/cspotcode) - Options page: each option its own linkable header w/usage example ([#&#8203;1606](https://github.com/TypeStrong/ts-node/issues/1606)) [@&#8203;cspotcode](https://github.com/cspotcode) - Categorize APIs in typedoc, make entrypoints more prominent ([#&#8203;1456](https://github.com/TypeStrong/ts-node/issues/1456)) [@&#8203;cspotcode](https://github.com/cspotcode) - Clarify that the shorthand for `--project` is `-P`, not `-p` ([#&#8203;1731](https://github.com/TypeStrong/ts-node/issues/1731), [#&#8203;1734](https://github.com/TypeStrong/ts-node/issues/1734)) [@&#8203;lobsterkatie](https://github.com/lobsterkatie) - Add common ESM errors to Troubleshooting page ([#&#8203;1607](https://github.com/TypeStrong/ts-node/issues/1607)) [@&#8203;cspotcode](https://github.com/cspotcode) https://github.com/TypeStrong/ts-node/milestone/12 </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
Update dependency ts-node to v10.8.0
All checks were successful
ci/woodpecker/pr/frontend Pipeline was successful
ci/woodpecker/pr/wasm-lib Pipeline was successful
ci/woodpecker/pr/crates Pipeline was successful
ci/woodpecker/pr/webserver Pipeline was successful
ci/woodpecker/pr/tauri-app Pipeline was successful
36c3bafa60
crapStone approved these changes 2022-05-25 12:23:16 +02:00
crapStone merged commit 012667fd6f into develop 2022-05-25 12:24:12 +02:00
crapStone deleted branch renovate/ts-node-10.x 2022-05-25 12:24:12 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Calciumdibromid/CaBr2!1367
No description provided.