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

chore: bump ts-node from 10.2.1 to 10.3.0 in /web3.js #20616

Merged
merged 1 commit into from
Oct 12, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 12, 2021

Bumps ts-node from 10.2.1 to 10.3.0.

Release notes

Sourced from ts-node's releases.

v10.3.0

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

Added

  • Declare types for node builtin modules within REPL so you do not need to import them (#1424, #1500)
    • Node REPL exposes builtin modules as globals; typechecker now understands this
    • Typechecking should no longer raise errors when using builtins without first importing
    • For example: util.promisify(setTimeout)(1000) or fs.readFileSync('example.txt')
  • Add createEsmHooks() function to create ESM loader hooks (API docs) (#1439) @​nonara
    • Can be used to compose our loader hooks with another loader or additional logic
  • register() accepts a ts-node Service (API docs) (#1474)
    • register(options) is still supported; no breaking changes
  • Add support for Node.js's new loader hooks API (#1372, #1457, #1007) @​jonaskello
    • Node.js has changed their loader hooks API
    • ts-node is compatible with all node versions, detects your node version and exposes the correct hooks API
    • Node's new API currently only available in node v17 nightly builds
    • Node will eventually backport the changes to node 16, and may also be backport to 14 and 12
  • Add --emit to --help output (#1400, #1484) @​markbradley27

Changed

  • When ts-node is registered and other libraries require('source-map-support'), they will be redirected to @cspotcode/source-map-support
    • See complete description in Fixed section below

Fixed

  • Fix #1440, #1441, #1438, #1495: Incorrect stack traces when third-party libraries use source-map-support instead of @cspotcode/source-map-support (#1440, #1441, #1438, #1495, cspotcode/node-source-map-support#23, #1496, #1497) @​ejose19
    • When ts-node is registered and other libraries require('source-map-support'), they will be redirected to @cspotcode/source-map-support
    • ts-node uses @cspotcode/source-map-support for the fixes and enhancements listed here: @cspotcode/source-map-support changelog
    • To ensure correct stack traces, all libraries must share a compatible sourcemap support implementation
  • Fix #1363: REPL may erroneously combine previous input with next input, eval both as a single statement (#1363, #1480) @​TheUnlocked
    • For example, entering 100 on first line and * 2 on second line would erronously be interpreted as 100 * 2
    • REPL now ensures both lines are separate statements, both when typechecking and when evaluating
  • Fix #1488: Node may log "circular dependency" warning when using allowJs (#1488, #1489)
  • Fix #1301: Filter empty strings from TS_NODE_IGNORE and TS_NODE_IGNORE_DIAGNOSTICS; treat empty environment variable as empty array (#1301, #1483) @​ValeriaVG
    • TS_NODE_IGNORE= ts-node ./example.ts will disable default ignore rules; will compile files in ./node_modules

Docs

  • Update VSCode debug configuration (Docs) (#1466)
  • Update ESM-related messaging to clarify that experimental status is due to Node.js, not ts-node (#1455)
  • Refer to ts-node consistently (#1481) @​animafps

TypeStrong/ts-node@v10.2.1...v10.3.0 https://github.com/TypeStrong/ts-node/milestone/5

Commits
  • 1cc91d9 10.3.0
  • c671a32 add template for release notes
  • aa19440 update api-extractor report for 10.3.0
  • 3ca5df8 update the readme
  • 45524ae Docs -> main for 10.3.0 release (#1502)
  • d6fefb7 Amending #1496: Redirect source-map-support to @​cspotcode/source-map-support ...
  • 86c5d6e Declare types for node builtin modules in REPL so you do not need to import t...
  • a979dd6 Update esm loader hooks API (#1457)
  • 4a0db31 Feature: Expose esm hooks factory to public API (#1439)
  • b52ca45 Allow composing register(create()); refactor tests (#1474)
  • 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 10.2.1 to 10.3.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](TypeStrong/ts-node@v10.2.1...v10.3.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the automerge Merge this Pull Request automatically once CI passes label Oct 12, 2021
@codecov
Copy link

codecov bot commented Oct 12, 2021

Codecov Report

Merging #20616 (c3cfa85) into master (bdf8b1d) will decrease coverage by 11.8%.
The diff coverage is n/a.

❗ Current head c3cfa85 differs from pull request most recent head 50ae5f7. Consider uploading reports for the commit 50ae5f7 to get more accurate results

@@             Coverage Diff             @@
##           master   #20616       +/-   ##
===========================================
- Coverage    82.0%    70.2%    -11.9%     
===========================================
  Files         494       35      -459     
  Lines      137478     2064   -135414     
  Branches        0      293      +293     
===========================================
- Hits       112804     1449   -111355     
+ Misses      24674      515    -24159     
- Partials        0      100      +100     

@mergify mergify bot merged commit a723de0 into master Oct 12, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/web3.js/ts-node-10.3.0 branch October 12, 2021 08:12
dankelleher pushed a commit to identity-com/solana that referenced this pull request Nov 24, 2021
)

Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.2.1 to 10.3.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](TypeStrong/ts-node@v10.2.1...v10.3.0)

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

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
frits-metalogix added a commit to identity-com/solana that referenced this pull request Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Merge this Pull Request automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants