Skip to content
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

[Snyk] Upgrade ts-node from 10.0.0 to 10.1.0 #66

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

Conversation

snyk-bot
Copy link
Contributor

@snyk-bot snyk-bot commented Aug 2, 2021

Snyk has created this PR to upgrade ts-node from 10.0.0 to 10.1.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 23 days ago, on 2021-07-09.
Release notes
Package name: ts-node
  • 10.1.0 - 2021-07-09

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

    Added

    • Add "moduleType" option to override module type -- CommonJS or ECMAScript -- on select files. (docs) (#1342, #1371, #1376)
      • Useful when a configuration file, for example webpack.config.ts, must execute as CommonJS but the rest of the project is ESM
      • selectively overrides package.json "type" and tsconfig.json "module"
      • akin to .cjs and .mjs extensions, but for .ts and .tsx files
      • thanks to @ jayaddison for help on test coverage
    • Implement "extends" support for "ts-node" options in tsconfig.json (#1328, #1356)
      • "ts-node": {} options will be parsed from extended tsconfigs
      • allows sharing and deduplicating ts-node configuration
    • Un-deprecate scope and scopeDir; add both to CLI and tsconfig.json options; un-deprecate TS_NODE_SCOPE env var; add TS_NODE_SCOPE_DIR env var (docs) (#1346, #1367)

    Changed

    • Improve error messages thrown by native ESM loader hooks (#1357, #1373) @ tars0x9752
      • messages more closely match node; are more descriptive
    • Emit "ts-node" object at the top of --showConfig output instead of the bottom (#1355)

    Fixed

    • Fix #1282: Set correct globals in [stdin], [eval], and <repl> contexts (#1333)
      • More closely align ts-node's behavior with vanilla node
      • Affects the interactive REPL, piping to stdin, and ts-node -e
      • Matches node's behavior for globals __filename, __dirname, module and sub-fields of module, exports, and builtin module aliases fs, etc
    • Fix #1343: Set swc option keepClassNames to true (#1344)
    • Fix: #1387: REPL outputs 'use strict' after first empty line of input (#1388) @ ejose19

    Docs

    • Update ESM docs to say that env vars are supported with node --loader ts-node/esm (docs) (#1379)

    v10.0.0...v10.1.0
    https://github.com/TypeStrong/ts-node/milestone/3

  • 10.0.0 - 2021-05-23
    Read more
from ts-node GitHub release notes
Commit messages
Package name: ts-node
  • 9faa340 10.1.0
  • 85dd6de rebuild the readme
  • 1bc470d Add moduleType option to override module type on certain files. (#1371)
  • 4e7fcb7 fix: prevent implicit 'use strict' output (#1388)
  • 5643ad6 Improve error messages used by esm-resolver (#1373)
  • 6266ae2 Fix #1282: correct globals in [stdin], [eval], and <repl> contexts (#1333)
  • 4f16d1b Implement "extends" support for "ts-node" options in tsconfigs (#1356)
  • 518c250 Put "ts-node" object at the top of `--showConfig` output (#1355)
  • 17b3a55 Un-deprecate scope and scopedir; add to CLI, tsconfig.json, and env vars (#1367)
  • 7cac7df Fix broken link in jsdoc (#1365)
  • 9afe3c3 Update node-esm-resolve-implementation.js
  • aba4ae6 Set swc option keepClassNames whenever possible (#1344)

Compare


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

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Aug 2, 2021

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: a9dcd80
Status: ✅  Deploy successful!
Preview URL: https://ec982981.daoos.pages.dev

View logs

@Zk2u Zk2u added 🧹 Chore Those pesky little things that don't fit any other tags ⚠️ High Priority High priority issue dependencies Pull requests that update a dependency file labels Aug 3, 2021
@Zk2u Zk2u requested review from Zk2u, a team, madrepublic, JMKJR and cryptopanter and removed request for a team and madrepublic August 3, 2021 08:57
@Zk2u Zk2u self-assigned this Aug 3, 2021
@Zk2u Zk2u enabled auto-merge (squash) August 3, 2021 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧹 Chore Those pesky little things that don't fit any other tags dependencies Pull requests that update a dependency file ⚠️ High Priority High priority issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants