Skip to content

[Snyk] Upgrade ts-node from 10.6.0 to 10.7.0#35

Open
snyk-bot wants to merge 1 commit intodevelopmentfrom
snyk-upgrade-edfa17ba9ecb00acc8412a23d385e48a
Open

[Snyk] Upgrade ts-node from 10.6.0 to 10.7.0#35
snyk-bot wants to merge 1 commit intodevelopmentfrom
snyk-upgrade-edfa17ba9ecb00acc8412a23d385e48a

Conversation

@snyk-bot
Copy link
Copy Markdown
Contributor

Snyk has created this PR to upgrade ts-node from 10.6.0 to 10.7.0.

merge advice
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 1 version ahead of your current version.
  • The recommended version was released 22 days ago, on 2022-03-06.
Release notes
Package name: ts-node
  • 10.7.0 - 2022-03-06

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

    Added

    • Adds --esm flag, option, and ts-node-esm binary (#1258, #1655)
      • Enables full esm support; no need for --loader nor NODE_OPTIONS
      • Use shebang #!/usr/bin/env ts-node-esm, run ts-node --esm, or add to your tsconfig.json: "ts-node": {"esm": true}

    Changed

    • Unflag ESM json modules on node >=17.5.0 (#1661, #1665) @ Jamesernator
      • no longer requires --experimental-json-modules
    • Lazy-load dependencies to improve startup responsiveness. (#1676)

    Fixed

    • Fixed bug where "compiler", "transpiler", and swc backend would not resolve relative to the tsconfig.json that declared them (#1662, #1655)
      • Enables reusable tsconfig.json shared via node module to include necessary dependencies

    v10.6.0...v10.7.0
    https://github.com/TypeStrong/ts-node/milestone/11

  • 10.6.0 - 2022-03-01

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

    Added

    • Adds workaround for extensionless entrypoints with ESM loader (#1649, #1654)
      • You can now combine tools such as mocha with --loader ts-node/esm, where previously node would throw [ERR_UNKNOWN_FILE_EXTENSION]
      • node has a bug where combining --loader with an extensionless entrypoint causes this error nodejs/node#33226
      • Some tools, for example mocha, have an extensionless entrypoint. (source, source)
      • Combining NODE_OPTIONS=--loader ts-node/esm with these tools causes this error. mochajs/mocha#4645
      • node intends to fix this bug in a future release: nodejs/node#41711
      • In the interim, we have implemented a workaround in ts-node.
    • Adds support for target "ES2022" in moduleTypes overrides (#1650)

    Fixed

    • Fixed bug where --swc and other third-party transpilers did not respect moduleTypes overrides (#1651, #1652, #1660)
    • Fixed bug where node flags were not preserved correctly in process.execArgv (#1657, #1658)
      • This affected child_process.fork(), since it uses process.execArgv to create a similar child runtime.
      • With this fix, child_process.fork() will preserve both node flags and ts-node hooks.
    • Fixed compatibility TypeScript 4.7's API changes (#1647, #1648)

    v10.5.0...v10.6.0
    https://github.com/TypeStrong/ts-node/milestone/9

from ts-node GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant