loopback-next
loopback-next copied to clipboard
chore: update dependency ts-morph to v15
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
ts-morph | ^12.2.0 -> ^15.1.0 |
Release Notes
dsherret/ts-morph
v15.1.0
Bug Fixes
-
DocumentSpan
should attempt to load the source file if it's not loaded yet (#1291) (1eda69c) - Included symlinked directories when reading a directory (#1290) (f1b4ea2)
Features
- Add
Symbol#isOptional
method (#1285) (c7f3512) - Add
Type#isTemplateLiteral
method (#1288) (284a7fd)
v15.0.0
Bug Fixes
-
transform()
- ensure comments on nodes with only added synthetic leading comments show up in output (abc840d), closes #1273 - ensure leading and trailing trivia for overloads ends up in output (0d043b5), closes #1244
- common: deleting directories didn't work on Node (163de40), closes #1249
- handle undefined in comment node type guards (#1275) (452cff3)
- transform should take into account the node changing kinds (75c4a75), closes #1248
Features
- add
Node#isKind(kind)
type guard (#1271) (79ab80f) - add factory property to traversal control (d4c5a35)
- add helper properties on TemplateLiteralTypeNode. (1a8de49), closes #1266
- upgrade to TypeScript 4.7 (#1281) (ae797d8)
BREAKING CHANGES
-
transform
now returns aNode
instead ofthis
because the returned node could be the replaced node. - Upgraded to TS 4.7. Please review changes to typescript.d.ts in #1281.
v14.0.0
- Upgraded to TS 4.6
- To align with the ts compiler:
-
AssertEntry#getValue
now returns an expression instead of a string literal. -
AssertEntryStructure#value
now represents an expression instead of a string literal.
-
v13.0.3
v13.0.2
v13.0.1
Bug Fixes
- Regression in
getReferencingNodesInOtherSourceFiles
with source files not marked as in the project (7504aed
) - Surface read file errors instead of ignoring them (760fe8c)
- Align
getScriptSnapshot
compiler host libFileMap behaviour withreadFile
(9e84d72)
v13.0.0
Bug Fixes
Code Refactoring
-
Node.isXNode(node)
static type guard methods are nowNode.isX(node)
(e5bcba9), closes #1166 - Remove already deprecated
WriterFunctions
andTypeGuards
exports. (be87373)
Features
- Add
AssertClause
andAssertEntry
(#1224) (bcf694f) - Add
Node.hasStructure
type guard. (0f7d9be) - Change
readDirSync
to return directory entries instead of file paths (f22a50d) - Make
Structure.isX
function more flexible (a54dd69), closes #1219 - Type only methods for
ImportSpecifier
andExportSpecifier
(e93c96e) - TypeScript 4.5 support (#1220) (526e0dd)
- Wrap more JS doc nodes (5107999)
BREAKING CHANGES
-
Node.isXNode(node)
-like static type guard methods are nowNode.isX(node)
to reduce verbosity. - Targeting ES2018 instead of ES2015
- Upgraded to TS 4.5
- Removed already deprecated
WriterFunctions
andTypeGuards
exports. UseWriters
andNode
instead. -
readDirSync
now returns directory entries.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
Pull Request Test Coverage Report for Build 2846075398
- 0 of 0 changed or added relevant lines in 0 files are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage remained the same at 55.335%
Totals | |
---|---|
Change from base Build 2845208455: | 0.0% |
Covered Lines: | 9558 |
Relevant Lines: | 12429 |