Update dependency ts-node to v10.5.0 #1156

Merged
crapStone merged 1 commit from renovate/ts-node-10.x into develop 2022-02-16 01:32:35 +01:00
Image
Member

This PR contains the following updates:

Package Type Update Change
ts-node (source) devDependencies minor 10.4.0 -> 10.5.0

Release Notes

TypeStrong/ts-node

v10.5.0

Compare Source

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

Added

  • Eliminate "Emit Skipped" errors (#​693, #​1345, #​1629)
    • Avoids all "Emit Skipped" errors by performing a fallback transpileOnly-style transformation.
    • Does not affect typechecking. Type errors are still detected and thrown.
    • Fallback has the same limitations as isolatedModules. This will only affect rare cases such as using const enums with preserveConstEnums disabled.
    • Fixes #​693
  • Graduate swc transpiler out of experimental; add swc: true convenience option (docs) (#​1487, #​1536, #​1613, #​1627)
    • "swc": true or --swc will use swc for faster execution
    • This feature is no longer marked "experimental." Thank you to everyone who filed bugs!
  • swc transpiler attempts to load @swc/core or @swc/wasm dependencies from your project before falling-back to global installations (#​1613, #​1627)
    • global fallback only occurs when using a global installation of ts-node
  • Add support for TypeScript's traceResolution output (docs) (#​1128, #​1491) @​TheUnlocked
  • Support import assertions in ESM loader (docs) (#​1557, #​1558, #​1559, #​1573) @​Pokute, @​geigerzaehler
    • Allows importing JSON files from ESM with the requisite flag (docs)
  • ts-node -vvv also logs absolute paths to ts-node and typescript, to make it more obvious when you're accidentally using globally-installed versions (#​1323, #​1620)
  • Add swc target "es2022" (#​1535, #​1540)
    • When you have target es2022 in tsconfig, will use swc's es2022 target

Changed

  • Initialize TypeScript compiler before starting REPL prompt (#​1498) @​TheUnlocked
    • Improves responsiveness for first line of REPL input
  • Use v8-compile-cache-lib to load typescript
  • Support both --camelCase and --hyphen-case for all CLI flags; update documentation to use --camelCase (#​1598, #​1599)
    • Not a breaking change; CLI continues to accept both forms
  • Make TSError diagnosticText property non-enumerable to prevent it from being logged below the stack (#​1632)

Fixed

Docs

Misc

  • Adds experimental experimentalResolverFeatures option, but it does not do anything yet (#​1514, #​1614)

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


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.4.0` -> `10.5.0`](https://renovatebot.com/diffs/npm/ts-node/10.4.0/10.5.0) | --- ### Release Notes <details> <summary>TypeStrong/ts-node</summary> ### [`v10.5.0`](https://github.com/TypeStrong/ts-node/releases/v10.5.0) [Compare Source](https://github.com/TypeStrong/ts-node/compare/v10.4.0...v10.5.0) <!-- I don't make a discussion thread for every release. Github has a button to make a discussion thread for a release. Then I update the discussion thread to remove the release notes and instead link to the release. --> Questions about this release? Ask in the official discussion thread: [#&#8203;1634](https://github.com/TypeStrong/ts-node/issues/1634) **Added** - Eliminate "Emit Skipped" errors ([#&#8203;693](https://github.com/TypeStrong/ts-node/issues/693), [#&#8203;1345](https://github.com/TypeStrong/ts-node/issues/1345), [#&#8203;1629](https://github.com/TypeStrong/ts-node/issues/1629)) - Avoids all "Emit Skipped" errors by performing a fallback `transpileOnly`-style transformation. - Does not affect typechecking. Type errors are still detected and thrown. - Fallback has the same limitations as `isolatedModules`. This will only affect rare cases such as using `const enums` with `preserveConstEnums` disabled. - Fixes [#&#8203;693](https://github.com/TypeStrong/ts-node/issues/693) - Graduate swc transpiler out of experimental; add `swc: true` convenience option ([docs](https://typestrong.org/ts-node/docs/transpilers)) ([#&#8203;1487](https://github.com/TypeStrong/ts-node/issues/1487), [#&#8203;1536](https://github.com/TypeStrong/ts-node/issues/1536), [#&#8203;1613](https://github.com/TypeStrong/ts-node/issues/1613), [#&#8203;1627](https://github.com/TypeStrong/ts-node/issues/1627)) - `"swc": true` or `--swc` will use swc for faster execution - This feature is no longer marked "experimental." Thank you to everyone who filed bugs! - swc transpiler attempts to load `@swc/core` or `@swc/wasm` dependencies from your project before falling-back to global installations ([#&#8203;1613](https://github.com/TypeStrong/ts-node/issues/1613), [#&#8203;1627](https://github.com/TypeStrong/ts-node/issues/1627)) - global fallback only occurs when using a global installation of ts-node - Add support for TypeScript's `traceResolution` output ([docs](https://www.typescriptlang.org/tsconfig/#traceResolution)) ([#&#8203;1128](https://github.com/TypeStrong/ts-node/issues/1128), [#&#8203;1491](https://github.com/TypeStrong/ts-node/issues/1491)) [@&#8203;TheUnlocked](https://github.com/TheUnlocked) - Support import assertions in ESM loader ([docs](https://nodejs.org/dist/latest-v17.x/docs/api/esm.html#import-assertions)) ([#&#8203;1557](https://github.com/TypeStrong/ts-node/issues/1557), [#&#8203;1558](https://github.com/TypeStrong/ts-node/issues/1558), [#&#8203;1559](https://github.com/TypeStrong/ts-node/issues/1559), [#&#8203;1573](https://github.com/TypeStrong/ts-node/issues/1573)) [@&#8203;Pokute](https://github.com/Pokute), [@&#8203;geigerzaehler](https://github.com/geigerzaehler) - Allows importing JSON files from ESM with the requisite flag ([docs](https://nodejs.org/dist/latest-v17.x/docs/api/esm.html#json-modules)) - `ts-node -vvv` also logs absolute paths to `ts-node` and `typescript`, to make it more obvious when you're accidentally using globally-installed versions ([#&#8203;1323](https://github.com/TypeStrong/ts-node/issues/1323), [#&#8203;1620](https://github.com/TypeStrong/ts-node/issues/1620)) - Add swc target "es2022" ([#&#8203;1535](https://github.com/TypeStrong/ts-node/issues/1535), [#&#8203;1540](https://github.com/TypeStrong/ts-node/issues/1540)) - When you have target es2022 in tsconfig, will use swc's es2022 target **Changed** - Initialize TypeScript compiler before starting REPL prompt ([#&#8203;1498](https://github.com/TypeStrong/ts-node/issues/1498)) [@&#8203;TheUnlocked](https://github.com/TheUnlocked) - Improves responsiveness for first line of REPL input - Use `v8-compile-cache-lib` to load typescript - improves startup time ([#&#8203;1339](https://github.com/TypeStrong/ts-node/issues/1339), [#&#8203;1603](https://github.com/TypeStrong/ts-node/issues/1603)) - Support both `--camelCase` and `--hyphen-case` for all CLI flags; update documentation to use `--camelCase` ([#&#8203;1598](https://github.com/TypeStrong/ts-node/issues/1598), [#&#8203;1599](https://github.com/TypeStrong/ts-node/issues/1599)) - Not a breaking change; CLI continues to accept both forms - Make `TSError` `diagnosticText` property non-enumerable to prevent it from being logged below the stack ([#&#8203;1632](https://github.com/TypeStrong/ts-node/issues/1632)) **Fixed** - Fix [#&#8203;1538](https://github.com/TypeStrong/ts-node/issues/1538): REPL inputs fail to transpile via swc ([#&#8203;1538](https://github.com/TypeStrong/ts-node/issues/1538), [#&#8203;1541](https://github.com/TypeStrong/ts-node/issues/1541), [#&#8203;1602](https://github.com/TypeStrong/ts-node/issues/1602)) - Fix [#&#8203;1478](https://github.com/TypeStrong/ts-node/issues/1478): REPL erroneously logged `undefined` for all inputs after the first when using swc transpiler ([#&#8203;1478](https://github.com/TypeStrong/ts-node/issues/1478), [#&#8203;1580](https://github.com/TypeStrong/ts-node/issues/1580), [#&#8203;1602](https://github.com/TypeStrong/ts-node/issues/1602)) - Fix [#&#8203;1389](https://github.com/TypeStrong/ts-node/issues/1389): In `--showConfig` output, emit accurate `moduleTypes` paths resolved relative to the `tsconfig.json` which declared them ([#&#8203;1389](https://github.com/TypeStrong/ts-node/issues/1389), [#&#8203;1619](https://github.com/TypeStrong/ts-node/issues/1619)) - Fix: Remove indentation from `ts-node --help` output ([#&#8203;1597](https://github.com/TypeStrong/ts-node/issues/1597), [#&#8203;1600](https://github.com/TypeStrong/ts-node/issues/1600)) - Fix [#&#8203;1425](https://github.com/TypeStrong/ts-node/issues/1425): Merged definitions correctly into `tsconfig.schemastore-schema.json` ([#&#8203;1425](https://github.com/TypeStrong/ts-node/issues/1425), [#&#8203;1618](https://github.com/TypeStrong/ts-node/issues/1618)) - Fix: Allow disabling `"use strict"` emit in SWC transpiler ([#&#8203;1531](https://github.com/TypeStrong/ts-node/issues/1531), [#&#8203;1537](https://github.com/TypeStrong/ts-node/issues/1537)) - Fix: Add missing `ERR_UNKNOWN_FILE_EXTENSION` constructor; was throwing `ERR_UNKNOWN_FILE_EXTENSION is not a constructor` ([#&#8203;1562](https://github.com/TypeStrong/ts-node/issues/1562)) [@&#8203;bluelovers](https://github.com/bluelovers) - Fix [#&#8203;1565](https://github.com/TypeStrong/ts-node/issues/1565): entrypoint resolution failed on node v12.0.x and v12.1.x ([#&#8203;1565](https://github.com/TypeStrong/ts-node/issues/1565), [#&#8203;1566](https://github.com/TypeStrong/ts-node/issues/1566)) [@&#8203;davidmurdoch](https://github.com/davidmurdoch) #### Docs - Explain `env -S` flag for shebangs ([docs](https://typestrong.org/ts-node/docs/usage#shebang)) ([#&#8203;1448](https://github.com/TypeStrong/ts-node/issues/1448), [#&#8203;1545](https://github.com/TypeStrong/ts-node/issues/1545)) [@&#8203;sheeit](https://github.com/sheeit), [@&#8203;chee](https://github.com/chee) - Suggest `skipIgnore` when you want to compile files in node_modules ([docs](https://typestrong.org/ts-node/docs/how-it-works)) ([#&#8203;1553](https://github.com/TypeStrong/ts-node/issues/1553)) [@&#8203;webstrand](https://github.com/webstrand) - Fix typo in `moduleTypes` on options page ([docs](https://typestrong.org/ts-node/docs/options)) ([#&#8203;1630](https://github.com/TypeStrong/ts-node/issues/1630), [#&#8203;1633](https://github.com/TypeStrong/ts-node/issues/1633)) #### Misc - Adds experimental `experimentalResolverFeatures` option, but it does not do anything yet ([#&#8203;1514](https://github.com/TypeStrong/ts-node/issues/1514), [#&#8203;1614](https://github.com/TypeStrong/ts-node/issues/1614)) https://github.com/TypeStrong/ts-node/milestone/4 </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).
CaBr2_Bot force-pushed renovate/ts-node-10.x from 5ce3e2d184
All checks were successful
ci/woodpecker/pr/crates Pipeline was successful
ci/woodpecker/pr/wasm-lib Pipeline was successful
ci/woodpecker/pr/frontend Pipeline was successful
ci/woodpecker/pr/tauri-app Pipeline was successful
ci/woodpecker/pr/webserver Pipeline was successful
to dd929d24e7
All checks were successful
ci/woodpecker/pr/crates Pipeline was successful
ci/woodpecker/pr/wasm-lib Pipeline was successful
ci/woodpecker/pr/frontend Pipeline was successful
ci/woodpecker/pr/tauri-app Pipeline was successful
ci/woodpecker/pr/webserver Pipeline was successful
2022-02-15 16:04:01 +01:00
Compare
Image crapStone approved these changes 2022-02-16 01:32:32 +01:00
Image crapStone merged commit 065d90fddd into develop 2022-02-16 01:32:35 +01:00
Image crapStone deleted branch renovate/ts-node-10.x 2022-02-16 01:32:36 +01: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!1156
No description provided.