Skip to content

[Snyk] Upgrade ts-node from 10.4.0 to 10.7.0 #451

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

snyk-bot
Copy link
Contributor

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

ℹ️ 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 3 versions ahead of your current version.
  • The recommended version was released a month 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

  • 10.5.0 - 2022-02-07
    Read more
  • 10.4.0 - 2021-10-22

    Added

    • Adds support for targets "es2020" and "es2021" to swc transpiler (#1521)
    • Adds automatic target downgrade when using older versions of swc (#1521)
      • If tsconfig specifies es2020, but your version of swc only supports up to es2019, ts-node will automatically switch to es2019 instead of throwing an error

    Changed

    Fixed

    v10.3.1...v10.4.0
    https://github.com/TypeStrong/ts-node/milestone/8

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

@vercel
Copy link

vercel bot commented Apr 11, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/github56/react-jsonschema-form-material-ui/HcdFXM83idWmcVp9kj4DBfF3WYYP
✅ Preview: https://react-jsonschema-form-material-ui-git-snyk-upgr-aefbdc-github56.vercel.app

@vercel
Copy link

vercel bot commented Sep 20, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-jsonschema-form-material-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 20, 2023 2:29pm

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.

2 participants