Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

[Snyk] Upgrade ts-node from 8.8.2 to 9.1.1 #157

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bangbang93
Copy link
Owner

Snyk has created this PR to upgrade ts-node from 8.8.2 to 9.1.1.

ℹ️ 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.


Warning: This is a major version upgrade, and may be a breaking change.

  • The recommended version is 8 versions ahead of your current version.
  • The recommended version was released 2 months ago, on 2020-12-07.
Release notes
Package name: ts-node
  • 9.1.1 - 2020-12-07

    No code changes. We re-packed and republished v9.1.1, because the v9.1.0 package was broken due to an npm v7 bug.

    Fixes

    • Published tarball had extra slashes in the paths of dist files. #1172
  • 9.1.0 - 2020-12-03

    Added

    • Expose ts-node REPL via the API (#1121) (MarcManiez)
    • Allow --typeCheck flag to override --transpileOnly flag specified in tsconfig.json (#1142)

    Changed

    • Rename interface Register to Service. It is still aliased as Register for backwards compatibility (#1158)
    • Update code copied from node's ESM resolver to be the latest from node 15, to keep our ESM resolver's behavior as close as possible to vanilla node (#1167)

    Fixed

    • ESM resolver will preserve search portion of URL, used for cache busting (#1165) @ frandiox
    • Fix ESM resolution of builtin modules on node >=14.13.1 (#1136)
    • Recognize --es-module-specifier-resolution as an alias of --experimental-specifier-resolution for node 12 compatibility (#1122) @ nguyensomniac

    Docs

    • Fix description of ts-node-dev in README (#1131) @ iamandrewluca
    • Update transformers description to clarify incompatibility with transpileOnly (#1123)

    Misc

    • Changes to test matrix: Test against node 15; drop node 13 tests; remove 12.16 in favor of latest 12.x.x (#1138, #1148)
    • Improve codecov rules to remove misleading test failures (#1159)

    v9.0.0...v9.1.0

  • 9.0.0 - 2020-08-21

    Breaking changes are labelled [BREAKING] below.

    Added

    • Throw ERR_REQUIRE_ESM when a file is require()d which should be loaded as ESM (#1031)
    • Re-add "exports" declaration to package.json in backwards-compatible way, enabling node --loader ts-node/esm without file extension (#1028)
    • Allow specifying "require" option via tsconfig (#925)
    • REPL respects node's NODE_NO_READLINE environment variable (#1090)
    • Add a transpile-only entrypoint for ESM loader: node --loader ts-node/esm/transpile-only (#1102) @ concision

    Changed

    • [BREAKING] Drops support for node versions < 10 (#1036)

    Fixed

    • [BREAKING] Re-add realpath, which should fix workflows that use symlinks, such as pnpm, Lerna workspaces, or other mono-repo configurations (#970)
    • Compile files within node_modules when --skip-ignore or --ignore options are configured to allow it (#970)
    • Fix #884 by not adding all referenced files to getSourceFileNames/rootNames (#999)
    • Fix #996: bump projectVersion every time getSourceFileNames changes, avoiding accidentally outdated typechecking (#998)
    • Fix #1051: pass transformers object to ts.transpileModule (#1054) @ thetutlage
    • Fix #1060: use source maps for stack traces in ESM modules (#1087)
    • Fix #1072: Respect --experimental-specifier-resolution coming from NODE_OPTIONS in ESM loader (#1085) @ evg656e
    • Fix #1098: ESM loader should skip .cjs, .mjs, and any unexpected file extensions (#1103) @ concision

    Docs

    • Better explain how to compile imports, either CommonJS or using experimental ESM loader. Resolves #1075 (#1086)

    Misc

    v8.10.2...v9.0.0

  • 8.10.2 - 2020-05-28

    Fixed

    Fixes #1037: source maps broken on Windows. (#1038)

    Misc

    Fix failing tests on node 6 (#1035)
    Push coverage from Github Actions; remove TravisCI (#1034)
    Run tests e2e against an npm pack && npm installed ts-node (#1032)
    Run CI tests on Windows (#1041)
    Run CI only once per commit on pull requests and master (#1042)

  • 8.10.1 - 2020-05-03

    Fix

    Fixes #1026: revert the addition of package.json "exports" because it blocked require()s that used to work, for example require('ts-node/register') (#1027)

  • 8.10.0 - 2020-05-03
    Read more
  • 8.9.1 - 2020-04-26
    Read more
  • 8.9.0 - 2020-04-20
    Read more
  • 8.8.2 - 2020-04-05

    Fixed

    • Avoid pushing to rootFileNames with version
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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants