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

Bump ts-node from 9.1.1 to 10.1.0 #317

Merged
merged 1 commit into from
Aug 3, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 3, 2021

Bumps ts-node from 9.1.1 to 10.1.0.

Release notes

Sourced from ts-node's releases.

v10.1.0

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)

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

v10.0.0

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

Breaking changes are prefixed with [BREAKING]

Added

  • Adds --show-config to log the resolved configuration (docs) (#1100, #1243)
  • Bundle and re-export @​tsconfig/node* configurations for convenience (docs) (#1202, #1236, #1313)
  • Default to appropriate @​tsconfig/node* configuration based on node and typescript versions (docs) (#1202, #1236, #1313)
  • Automatically reference @​types/node; use globally-installed @​types/node if not locally installed (#1240, #1257)
  • Add swc integration and new --transpiler option to use third-party transpilers for a massive speed boost on large codebases (docs) (#779, #1160)
  • Add scopeDir API option (docs) (#1155)

... (truncated)

Commits
  • 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)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 9.1.1 to 10.1.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](TypeStrong/ts-node@v9.1.1...v10.1.0)

---
updated-dependencies:
- dependency-name: ts-node
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the type:dependencies Pull requests that update a dependency file label Aug 3, 2021
@dependabot dependabot bot requested a review from baev August 3, 2021 10:25
@dependabot dependabot bot assigned baev Aug 3, 2021
@baev baev merged commit 47fa6e3 into master Aug 3, 2021
@baev baev deleted the dependabot/npm_and_yarn/ts-node-10.1.0 branch August 3, 2021 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant