[Snyk] Upgrade ts-node from 10.1.0 to 10.4.0#3
Open
snyk-bot wants to merge 1 commit into
Open
Conversation
Snyk has created this PR to upgrade ts-node from 10.1.0 to 10.4.0. See this package in npm: https://www.npmjs.com/package/ts-node See this project in Snyk: https://app.snyk.io/org/cimok2000/project/2a4ebe1e-7c0c-4952-8fc6-088ba924d446?utm_source=github&utm_medium=referral&page=upgrade-pr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade ts-node from 10.1.0 to 10.4.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.
Release notes
Package name: ts-node
-
10.4.0 - 2021-10-22
- 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
- Improves types and API docs for
- Fix #1526: data URL handling in new ESM loader hooks API (#1526, #1529)
-
10.3.1 - 2021-10-21
- Add version check to use new loader hooks API for node >=16.12.0 (#1522) @ shrujalshah28
-
10.3.0 - 2021-10-11
- 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:
- Add
- Can be used to compose our loader hooks with another loader or additional logic
- 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
- When ts-node is registered and other libraries
- See complete description in Fixed section below
- Fix #1440, #1441, #1438, #1495: Incorrect stack traces when third-party libraries use
- When ts-node is registered and other libraries
- ts-node uses
- 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
- REPL now ensures both lines are separate statements, both when typechecking and when evaluating
- Fix #1488: Node may log "circular dependency" warning when using
- Fix #1301: Filter empty strings from
- 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
-
10.2.1 - 2021-08-18
- Fixes #1426: Do not import typescript outside of configuration/project loading (#1433, #1426) @ Songkeys
- We take care to load your project's version of typescript, falling back to a globally-installed version if necessary.
- 10.2.0 introduced a bug where we did not do this consistently, causing global or npx installations of ts-node to attempt loading typescript relative to themselves, not your project.
- This failed if typescript was not globally installed or npx did not install peer dependencies.
-
10.2.0 - 2021-08-08
-
10.1.0 - 2021-07-09
from ts-node GitHub release notesAdded
Changed
creatEsmHooks(API docs) (#1506, #1529)Fixed
v10.3.1...v10.4.0
https://github.com/TypeStrong/ts-node/milestone/8
Fixed
v10.3.0...v10.3.1
https://github.com/TypeStrong/ts-node/milestone/7
Questions about this release? Ask in the official discussion thread: #1507
Added
util.promisify(setTimeout)(1000)orfs.readFileSync('example.txt')createEsmHooks()function to create ESM loader hooks (API docs) (#1439) @ nonararegister()accepts a ts-nodeService(API docs) (#1474)register(options)is still supported; no breaking changes--emitto--helpoutput (#1400, #1484) @ markbradley27Changed
require('source-map-support'), they will be redirected to@ cspotcode/source-map-supportFixed
source-map-supportinstead of@ cspotcode/source-map-support(#1440, #1441, #1438, #1495, cspotcode/node-source-map-support#23, #1496, #1497) @ ejose19require('source-map-support'), they will be redirected to@ cspotcode/source-map-support@ cspotcode/source-map-supportfor the fixes and enhancements listed here:@ cspotcode/source-map-supportchangelog100on first line and* 2on second line would erronously be interpreted as100 * 2allowJs(#1488, #1489)TS_NODE_IGNOREandTS_NODE_IGNORE_DIAGNOSTICS; treat empty environment variable as empty array (#1301, #1483) @ ValeriaVGTS_NODE_IGNORE= ts-node ./example.tswill disable default ignore rules; will compile files in./node_modulesDocs
v10.2.1...v10.3.0
https://github.com/TypeStrong/ts-node/milestone/5
Fixed
v10.2.0...v10.2.1
https://github.com/TypeStrong/ts-node/milestone/6
Read more
Read more
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