[Snyk] Upgrade ts-node from 10.7.0 to 10.9.2 #9
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.7.0 to 10.9.2.
ℹ️ 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 6 versions ahead of your current version.
The recommended version was released on a year ago.
Issues fixed by the recommended upgrade:
SNYK-JS-GETFUNCNAME-5923417
SNYK-JS-SERIALIZEJAVASCRIPT-6147607
Release notes
Package name: ts-node
Fixed
tsconfig.json
file not found on latest TypeScript version (#2091)Fixed
--esm
--esm
are unaffectedv10.9.0...v10.9.1
https://github.com/TypeStrong/ts-node/milestone/18?closed=1
Added
--project
accepts path to a directory containing atsconfig.json
(#1829, #1830) @ cspotcodeexperimentalTsImportSpecifiers
option which allows using voluntary.ts
file extensions in import specifiers (undocumented except for API docs) (#1815) @ cspotcodeFixed
child_process.fork()
would erroneously execute the parent's entrypoint script, not the intended child script (#1812, #1814) @ devversion"react-jsx"
and"react-jsxdev"
in swc transpiler (#1800, #1802) @ cspotcoderepl.evalCode()
with code not ending in a newline would not update the typechecker accordingly (#1764, #1824) @ cspotcodev10.8.2...v10.9.0
https://github.com/TypeStrong/ts-node/milestone/16?closed=1
Fixed
nyc
code coverage reports had incorrect pathsv10.8.1...v10.8.2
https://github.com/TypeStrong/ts-node/milestone/15?closed=1
Fixed
v10.8.0...v10.8.1
https://github.com/TypeStrong/ts-node/milestone/14
Questions about this release? Ask in the official discussion thread: #1767
Added
module=NodeNext
,module=Node16
,.mts
,.cts
,.mjs
, and.cjs
file extensions (#1414, #1694, #1744, #1745, #1727, #1717, #1753, #1757) @ cspotcodeexperimentalResolver
(docs)experimentalResolver
, will be enabled by default in a future version (docs)import "./foo.js"
will executefoo.ts
See also: TypeScript issue #37582import "./foo.ts"
experimentalSpecifierResolution
(#1727, #1753) @ cspotcode--experimental-specifier-resolution
(Node docs)tsconfig.json
for convenience, to avoid the CLI flagdiagnostics
property toTSError
, with array of TypeScript diagnostic objects from the compiler (API docs) (#1705, #1706) @ paulbrimicombeChanged
experimentalResolverFeatures
toexperimentalResolver
(docs) (#1727) @ cspotcodeshortCircuit: true
(#1714, #1715) @ cspotcodeFixed
.type
command was not showing any type information when using TypeScript nightly builds (#1761, #1762) @ cspotcodepreferTsExts
combined with third-party transpiler hooks could disruptnyc
code coverage (#1755) @ cspotcodefile://
URLs in stack traces did not always use percent-encoding (#1738, #1726, #1729) @ cspotcodeDocs
--project
is-P
, not-p
(#1731, #1734) @ lobsterkatiev10.7.0...v10.8.0
https://github.com/TypeStrong/ts-node/milestone/12
Questions about this release? Ask in the official discussion thread: #1680
Added
--esm
flag, option, andts-node-esm
binary (#1258, #1655)esm
support; no need for--loader
norNODE_OPTIONS
#!/usr/bin/env ts-node-esm
, runts-node --esm
, or add to your tsconfig.json:"ts-node": {"esm": true}
Changed
--experimental-json-modules
Fixed
v10.6.0...v10.7.0
https://github.com/TypeStrong/ts-node/milestone/11
Important
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: