fix(deps): update dependency ts-morph to v24
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| ts-morph | 14.0.0 -> 24.0.0 |
Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.
Release Notes
dsherret/ts-morph (ts-morph)
v24.0.0
What's Changed
- perf: remove mkdirp dependency by @benmccann in https://github.com/dsherret/ts-morph/pull/1549
- perf: switch to tinyglobby to drop 15 dependencies by @benmccann in https://github.com/dsherret/ts-morph/pull/1558
- fix: getDerivedClasses() isn't correct in some cases by @jmyrick02 in https://github.com/dsherret/ts-morph/pull/1557
- fix: getBodyText() doesn't work as would be expected by @jmyrick02 in https://github.com/dsherret/ts-morph/pull/1560
- feat: TypeScript 5.6 by @dsherret in https://github.com/dsherret/ts-morph/pull/1576
New Contributors
- @benmccann made their first contribution in https://github.com/dsherret/ts-morph/pull/1549
- @jmyrick02 made their first contribution in https://github.com/dsherret/ts-morph/pull/1557
Full Changelog: https://github.com/dsherret/ts-morph/compare/23.0.0...24.0.0
v23.0.0
What's Changed
- feat: ts 5.5 by @dsherret in https://github.com/dsherret/ts-morph/pull/1545
- feat: Type.prototype.isBigInt and isBigIntLiteral by @dsherret in https://github.com/dsherret/ts-morph/pull/1546
- fix: handle removeDefaultImport with type only import by @dsherret in https://github.com/dsherret/ts-morph/pull/1547
Now available on JSR for use in Deno: https://jsr.io/@ts-morph/ts-morph
Full Changelog: https://github.com/dsherret/ts-morph/compare/22.0.0...23.0.0
v22.0.0
What's Changed
- feat(BREAKING): upgrade to TypeScript 5.4 by @dsherret in https://github.com/dsherret/ts-morph/pull/1516
- fix(BREAKING):
Node.prototype.forgetDescendants()no longer returns self by @dsherret in https://github.com/dsherret/ts-morph/pull/1515 - feat:
Type.prototype.isAssignableToby @dsherret in https://github.com/dsherret/ts-morph/pull/1517 - feat:
TypeChecker.prototype.resolveNameby @dsherret in https://github.com/dsherret/ts-morph/pull/1518 - fix: MethodDeclarationStructure should write an asterisk isGenerator = true by @ajvincent in https://github.com/dsherret/ts-morph/pull/1502
- docs: fix typo in adding-source-files.md by @ilirbeqirii in https://github.com/dsherret/ts-morph/pull/1490
- feat: ClassDeclarationStructure - support static blocks by @dsherret in https://github.com/dsherret/ts-morph/pull/1520
CodeBlockWriter 13.0.1
People may have been working around these bugs in the past:
-
.quote()- should include newline on newline (https://github.com/dsherret/code-block-writer/pull/47) -
.quote()- escape characters were not always being escaped (https://github.com/dsherret/code-block-writer/pull/46)
New Contributors
- @ilirbeqirii made their first contribution in https://github.com/dsherret/ts-morph/pull/1490
Full Changelog: https://github.com/dsherret/ts-morph/compare/21.0.1...22.0.0
v21.0.1
I forgot to run a code generation script to update some code for the 21.0.0 release and only realized after. This release fixes that and also reduces the chance of that happening in the future.
For 21.0.0 release notes, see https://github.com/dsherret/ts-morph/releases/tag/21.0.0
Full Changelog: https://github.com/dsherret/ts-morph/compare/21.0.0...21.0.1
v21.0.0
What's Changed
- feat:
ProjectOptions::defaultCompilerOptionsby @wojpawlik in https://github.com/dsherret/ts-morph/pull/1460 - feat: TypeScript 5.3 https://github.com/dsherret/ts-morph/pull/1476
- feat: add interface and type literal getters & setters by @ajvincent in https://github.com/dsherret/ts-morph/pull/1473
- feat: add wrapped method for
getShorthandAssignmentValueSymboltoTypeChecker. add convenience method for getting the value symbol onShorthandPropertyAssignment. by @kronodeus in https://github.com/dsherret/ts-morph/pull/1456 - perf: use path.exists functions that don't throw internally when not exists https://github.com/dsherret/ts-morph/pull/1478
Breaking Changes
- Upgraded to TS 5.3
- Underlying
@ts-morph/commonfile system methods return undefined instead of throwing when not exists (for perf). - Private fields are actually private (default build requires private fields).
New Contributors
- @ajvincent made their first contribution in https://github.com/dsherret/ts-morph/pull/1473
Full Changelog: https://github.com/dsherret/ts-morph/compare/20.0.0...21.0.0
v20.0.0
What's Changed
- feat: upgrade to TypeScript 5.2 by @dsherret in https://github.com/dsherret/ts-morph/pull/1450
- fix: support dynamic type imports in getReferencedSourceFiles() by @lo1tuma in https://github.com/dsherret/ts-morph/pull/1436
New Contributors
- @lo1tuma made their first contribution in https://github.com/dsherret/ts-morph/pull/1436
- @kronodeus made their first contribution in https://github.com/dsherret/ts-morph/pull/1455
Full Changelog: https://github.com/dsherret/ts-morph/compare/19.0.0...20.0.0
v19.0.0
What's Changed
- docs: add deno installation method by @scarf005 in https://github.com/dsherret/ts-morph/pull/1411
- feat: improve typing of
Typeby @odiak in https://github.com/dsherret/ts-morph/pull/1408 - feat: add IsVoid method to
Typeby @giuseppelt in https://github.com/dsherret/ts-morph/pull/1398 - feat: add JSDocable to ExportAssignment by @giuseppelt in https://github.com/dsherret/ts-morph/pull/1397
- feat: upgrade to TS 5.1 by @dsherret in https://github.com/dsherret/ts-morph/pull/1415
- fix: allow
.tranformto work with Nodes from another parsed source file by @ivanhofer in https://github.com/dsherret/ts-morph/pull/1417
New Contributors
- @scarf005 made their first contribution in https://github.com/dsherret/ts-morph/pull/1411
- @odiak made their first contribution in https://github.com/dsherret/ts-morph/pull/1408
- @giuseppelt made their first contribution in https://github.com/dsherret/ts-morph/pull/1398
- @ivanhofer made their first contribution in https://github.com/dsherret/ts-morph/pull/1417
Full Changelog: https://github.com/dsherret/ts-morph/compare/18.0.0...19.0.0
v18.0.0
What's Changed
- docs: update transforms example to use factory by @tobyhede in https://github.com/dsherret/ts-morph/pull/1386
- fix: allow setType on binding patterns by @jquense in https://github.com/dsherret/ts-morph/pull/1380
- feat: upgrade to TypeScript 5.0.2 by @dsherret in https://github.com/dsherret/ts-morph/pull/1390
BREAKING CHANGE: Upgraded to TypeScript 5.0.2
New Contributors
- @tobyhede made their first contribution in https://github.com/dsherret/ts-morph/pull/1386
- @jquense made their first contribution in https://github.com/dsherret/ts-morph/pull/1380
Full Changelog: https://github.com/dsherret/ts-morph/compare/17.0.1...18.0.0
v17.0.1
- fix: revert rollup from v3 to v2 to fix build (
esModuleInterop: truehad no effect) #1358
v17.0.0
Bug Fixes
- getOverloads for a class method should take into account if static (#1337) (f927d01), closes #1298
- ImportEqualsDeclaration should be exportable (#1336) (7680bae)
- named import/export specifier structures were missing isTypeOnly (#1347) (6b88a0b)
Features
- allow providing custom error messages to
OrThrowmethods (#1327) (05916d3) - Thanks @jantimon! - upgrade to TS 4.9 (#1354) (e334437)
BREAKING CHANGES
- Upgraded to TS 4.9
v16.0.0
Features
- add
Type#isNever()(ac0db0d), closes #1303 - add
Type#isReadonlyArray()andType#isArray()also includes readonly arrays (f1d5c43), closes #1306 #1305 - upgrade to TS 4.8 (#1316) (8a87a1b)
BREAKING CHANGES
- Upgraded to TS 4.8
- Decorators are now modifiers due to TS 4.8
-
ts.createXfunctions seem almost completely deprecated in TS 4.8, so make sure to update your code to use thetraversal.context.createXfunctions instead -
Type#isArray()returns true for readonly arrays
v15.1.0
Bug Fixes
-
DocumentSpanshould 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#isOptionalmethod (#1285) (c7f3512) - Add
Type#isTemplateLiteralmethod (#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
-
transformnow returns aNodeinstead ofthisbecause the returned node could be the replaced node. - Upgraded to TS 4.7. Please review changes to typescript.d.ts in #1281.
Configuration
📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, 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, check this box
This PR was generated by Mend Renovate. View the repository job log.