jpmorganchase / salt-ds

React UI components built with a focus on accessibility, customisation and ease-of-use
https://www.saltdesignsystem.com
Apache License 2.0
109 stars 78 forks source link

Update dependency ts-morph to v23 #3621

Closed renovate[bot] closed 1 week ago

renovate[bot] commented 1 week ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ts-morph ^15.1.0 -> ^23.0.0 age adoption passing confidence

Release Notes

dsherret/ts-morph (ts-morph) ### [`v23.0.0`](https://togithub.com/dsherret/ts-morph/releases/tag/23.0.0) [Compare Source](https://togithub.com/dsherret/ts-morph/compare/22.0.0...23.0.0) #### What's Changed - feat: ts 5.5 by [@​dsherret](https://togithub.com/dsherret) in [https://github.com/dsherret/ts-morph/pull/1545](https://togithub.com/dsherret/ts-morph/pull/1545) - feat: Type.prototype.isBigInt and isBigIntLiteral by [@​dsherret](https://togithub.com/dsherret) in [https://github.com/dsherret/ts-morph/pull/1546](https://togithub.com/dsherret/ts-morph/pull/1546) - fix: handle removeDefaultImport with type only import by [@​dsherret](https://togithub.com/dsherret) in [https://github.com/dsherret/ts-morph/pull/1547](https://togithub.com/dsherret/ts-morph/pull/1547) Now available on JSR for use in Deno: https://jsr.io/[@​ts-morph/ts-morph](https://togithub.com/ts-morph/ts-morph) **Full Changelog**: https://github.com/dsherret/ts-morph/compare/22.0.0...23.0.0 ### [`v22.0.0`](https://togithub.com/dsherret/ts-morph/releases/tag/22.0.0) [Compare Source](https://togithub.com/dsherret/ts-morph/compare/21.0.1...22.0.0) #### What's Changed - feat(BREAKING): upgrade to TypeScript 5.4 by [@​dsherret](https://togithub.com/dsherret) in [https://github.com/dsherret/ts-morph/pull/1516](https://togithub.com/dsherret/ts-morph/pull/1516) - fix(BREAKING): `Node.prototype.forgetDescendants()` no longer returns self by [@​dsherret](https://togithub.com/dsherret) in [https://github.com/dsherret/ts-morph/pull/1515](https://togithub.com/dsherret/ts-morph/pull/1515) - feat: `Type.prototype.isAssignableTo` by [@​dsherret](https://togithub.com/dsherret) in [https://github.com/dsherret/ts-morph/pull/1517](https://togithub.com/dsherret/ts-morph/pull/1517) - feat: `TypeChecker.prototype.resolveName` by [@​dsherret](https://togithub.com/dsherret) in [https://github.com/dsherret/ts-morph/pull/1518](https://togithub.com/dsherret/ts-morph/pull/1518) - fix: MethodDeclarationStructure should write an asterisk isGenerator = true by [@​ajvincent](https://togithub.com/ajvincent) in [https://github.com/dsherret/ts-morph/pull/1502](https://togithub.com/dsherret/ts-morph/pull/1502) - docs: fix typo in adding-source-files.md by [@​ilirbeqirii](https://togithub.com/ilirbeqirii) in [https://github.com/dsherret/ts-morph/pull/1490](https://togithub.com/dsherret/ts-morph/pull/1490) - feat: ClassDeclarationStructure - support static blocks by [@​dsherret](https://togithub.com/dsherret) in [https://github.com/dsherret/ts-morph/pull/1520](https://togithub.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](https://togithub.com/dsherret/code-block-writer/pull/47)) - `.quote()` - escape characters were not always being escaped ([https://github.com/dsherret/code-block-writer/pull/46](https://togithub.com/dsherret/code-block-writer/pull/46)) #### New Contributors - [@​ilirbeqirii](https://togithub.com/ilirbeqirii) made their first contribution in [https://github.com/dsherret/ts-morph/pull/1490](https://togithub.com/dsherret/ts-morph/pull/1490) **Full Changelog**: https://github.com/dsherret/ts-morph/compare/21.0.1...22.0.0 ### [`v21.0.1`](https://togithub.com/dsherret/ts-morph/releases/tag/21.0.1) [Compare Source](https://togithub.com/dsherret/ts-morph/compare/21.0.0...21.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`](https://togithub.com/dsherret/ts-morph/releases/tag/21.0.0) [Compare Source](https://togithub.com/dsherret/ts-morph/compare/20.0.0...21.0.0) #### What's Changed - feat: `ProjectOptions::defaultCompilerOptions` by [@​wojpawlik](https://togithub.com/wojpawlik) in [https://github.com/dsherret/ts-morph/pull/1460](https://togithub.com/dsherret/ts-morph/pull/1460) - feat: TypeScript 5.3 [https://github.com/dsherret/ts-morph/pull/1476](https://togithub.com/dsherret/ts-morph/pull/1476) - feat: add interface and type literal getters & setters by [@​ajvincent](https://togithub.com/ajvincent) in [https://github.com/dsherret/ts-morph/pull/1473](https://togithub.com/dsherret/ts-morph/pull/1473) - feat: add wrapped method for `getShorthandAssignmentValueSymbol` to `TypeChecker`. add convenience method for getting the value symbol on `ShorthandPropertyAssignment`. by [@​kronodeus](https://togithub.com/kronodeus) in [https://github.com/dsherret/ts-morph/pull/1456](https://togithub.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](https://togithub.com/dsherret/ts-morph/pull/1478) ##### Breaking Changes - Upgraded to TS 5.3 - Underlying `@ts-morph/common` file 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](https://togithub.com/ajvincent) made their first contribution in [https://github.com/dsherret/ts-morph/pull/1473](https://togithub.com/dsherret/ts-morph/pull/1473) **Full Changelog**: https://github.com/dsherret/ts-morph/compare/20.0.0...21.0.0 ### [`v20.0.0`](https://togithub.com/dsherret/ts-morph/releases/tag/20.0.0) [Compare Source](https://togithub.com/dsherret/ts-morph/compare/19.0.0...20.0.0) #### What's Changed - feat: upgrade to TypeScript 5.2 by [@​dsherret](https://togithub.com/dsherret) in [https://github.com/dsherret/ts-morph/pull/1450](https://togithub.com/dsherret/ts-morph/pull/1450) - fix: support dynamic type imports in getReferencedSourceFiles() by [@​lo1tuma](https://togithub.com/lo1tuma) in [https://github.com/dsherret/ts-morph/pull/1436](https://togithub.com/dsherret/ts-morph/pull/1436) #### New Contributors - [@​lo1tuma](https://togithub.com/lo1tuma) made their first contribution in [https://github.com/dsherret/ts-morph/pull/1436](https://togithub.com/dsherret/ts-morph/pull/1436) - [@​kronodeus](https://togithub.com/kronodeus) made their first contribution in [https://github.com/dsherret/ts-morph/pull/1455](https://togithub.com/dsherret/ts-morph/pull/1455) **Full Changelog**: https://github.com/dsherret/ts-morph/compare/19.0.0...20.0.0 ### [`v19.0.0`](https://togithub.com/dsherret/ts-morph/releases/tag/19.0.0) [Compare Source](https://togithub.com/dsherret/ts-morph/compare/18.0.0...19.0.0) ##### What's Changed - docs: add deno installation method by [@​scarf005](https://togithub.com/scarf005) in [https://github.com/dsherret/ts-morph/pull/1411](https://togithub.com/dsherret/ts-morph/pull/1411) - feat: improve typing of `Type` by [@​odiak](https://togithub.com/odiak) in [https://github.com/dsherret/ts-morph/pull/1408](https://togithub.com/dsherret/ts-morph/pull/1408) - feat: add IsVoid method to `Type` by [@​giuseppelt](https://togithub.com/giuseppelt) in [https://github.com/dsherret/ts-morph/pull/1398](https://togithub.com/dsherret/ts-morph/pull/1398) - feat: add JSDocable to ExportAssignment by [@​giuseppelt](https://togithub.com/giuseppelt) in [https://github.com/dsherret/ts-morph/pull/1397](https://togithub.com/dsherret/ts-morph/pull/1397) - feat: upgrade to TS 5.1 by [@​dsherret](https://togithub.com/dsherret) in [https://github.com/dsherret/ts-morph/pull/1415](https://togithub.com/dsherret/ts-morph/pull/1415) - fix: allow `.tranform` to work with Nodes from another parsed source file by [@​ivanhofer](https://togithub.com/ivanhofer) in [https://github.com/dsherret/ts-morph/pull/1417](https://togithub.com/dsherret/ts-morph/pull/1417) ##### New Contributors - [@​scarf005](https://togithub.com/scarf005) made their first contribution in [https://github.com/dsherret/ts-morph/pull/1411](https://togithub.com/dsherret/ts-morph/pull/1411) - [@​odiak](https://togithub.com/odiak) made their first contribution in [https://github.com/dsherret/ts-morph/pull/1408](https://togithub.com/dsherret/ts-morph/pull/1408) - [@​giuseppelt](https://togithub.com/giuseppelt) made their first contribution in [https://github.com/dsherret/ts-morph/pull/1398](https://togithub.com/dsherret/ts-morph/pull/1398) - [@​ivanhofer](https://togithub.com/ivanhofer) made their first contribution in [https://github.com/dsherret/ts-morph/pull/1417](https://togithub.com/dsherret/ts-morph/pull/1417) **Full Changelog**: https://github.com/dsherret/ts-morph/compare/18.0.0...19.0.0 ### [`v18.0.0`](https://togithub.com/dsherret/ts-morph/releases/tag/18.0.0) [Compare Source](https://togithub.com/dsherret/ts-morph/compare/17.0.1...18.0.0) #### What's Changed - docs: update transforms example to use factory by [@​tobyhede](https://togithub.com/tobyhede) in [https://github.com/dsherret/ts-morph/pull/1386](https://togithub.com/dsherret/ts-morph/pull/1386) - fix: allow setType on binding patterns by [@​jquense](https://togithub.com/jquense) in [https://github.com/dsherret/ts-morph/pull/1380](https://togithub.com/dsherret/ts-morph/pull/1380) - feat: upgrade to TypeScript 5.0.2 by [@​dsherret](https://togithub.com/dsherret) in [https://github.com/dsherret/ts-morph/pull/1390](https://togithub.com/dsherret/ts-morph/pull/1390) BREAKING CHANGE: Upgraded to TypeScript 5.0.2 #### New Contributors - [@​tobyhede](https://togithub.com/tobyhede) made their first contribution in [https://github.com/dsherret/ts-morph/pull/1386](https://togithub.com/dsherret/ts-morph/pull/1386) - [@​jquense](https://togithub.com/jquense) made their first contribution in [https://github.com/dsherret/ts-morph/pull/1380](https://togithub.com/dsherret/ts-morph/pull/1380) **Full Changelog**: https://github.com/dsherret/ts-morph/compare/17.0.1...18.0.0 ### [`v17.0.1`](https://togithub.com/dsherret/ts-morph/releases/tag/17.0.1) [Compare Source](https://togithub.com/dsherret/ts-morph/compare/17.0.0...17.0.1) - fix: revert rollup from v3 to v2 to fix build (`esModuleInterop: true` had no effect) [#​1358](https://togithub.com/dsherret/ts-morph/issues/1358) ### [`v17.0.0`](https://togithub.com/dsherret/ts-morph/releases/tag/17.0.0) [Compare Source](https://togithub.com/dsherret/ts-morph/compare/16.0.0...17.0.0) ##### Bug Fixes - getOverloads for a class method should take into account if static ([#​1337](https://togithub.com/dsherret/ts-morph/issues/1337)) ([f927d01](https://togithub.com/dsherret/ts-morph/commit/f927d01)), closes [#​1298](https://togithub.com/dsherret/ts-morph/issues/1298) - ImportEqualsDeclaration should be exportable ([#​1336](https://togithub.com/dsherret/ts-morph/issues/1336)) ([7680bae](https://togithub.com/dsherret/ts-morph/commit/7680bae)) - named import/export specifier structures were missing isTypeOnly ([#​1347](https://togithub.com/dsherret/ts-morph/issues/1347)) ([6b88a0b](https://togithub.com/dsherret/ts-morph/commit/6b88a0b)) ##### Features - allow providing custom error messages to `OrThrow` methods ([#​1327](https://togithub.com/dsherret/ts-morph/issues/1327)) ([05916d3](https://togithub.com/dsherret/ts-morph/commit/05916d3)) - Thanks [@​jantimon](https://togithub.com/jantimon)! - upgrade to TS 4.9 ([#​1354](https://togithub.com/dsherret/ts-morph/issues/1354)) ([e334437](https://togithub.com/dsherret/ts-morph/commit/e334437)) ##### BREAKING CHANGES - Upgraded to TS 4.9 ### [`v16.0.0`](https://togithub.com/dsherret/ts-morph/releases/tag/16.0.0) [Compare Source](https://togithub.com/dsherret/ts-morph/compare/15.1.0...16.0.0) ##### Features - add `Type#isNever()` ([ac0db0d](https://togithub.com/dsherret/ts-morph/commit/ac0db0d)), closes [#​1303](https://togithub.com/dsherret/ts-morph/issues/1303) - add `Type#isReadonlyArray()` and `Type#isArray()` also includes readonly arrays ([f1d5c43](https://togithub.com/dsherret/ts-morph/commit/f1d5c43)), closes [#​1306](https://togithub.com/dsherret/ts-morph/issues/1306) [#​1305](https://togithub.com/dsherret/ts-morph/issues/1305) - upgrade to TS 4.8 ([#​1316](https://togithub.com/dsherret/ts-morph/issues/1316)) ([8a87a1b](https://togithub.com/dsherret/ts-morph/commit/8a87a1b)) ##### BREAKING CHANGES - Upgraded to TS 4.8 - Decorators are now modifiers due to TS 4.8 - `ts.createX` functions seem almost completely deprecated in TS 4.8, so make sure to update your code to use the `traversal.context.createX` functions instead - `Type#isArray()` returns true for readonly arrays

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.



This PR has been generated by Mend Renovate. View repository job log here.

changeset-bot[bot] commented 1 week ago

⚠️ No Changeset found

Latest commit: fd8ab89b013322942a88f029407842b00148c37e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
saltdesignsystem ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 23, 2024 7:53pm
renovate[bot] commented 1 week ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 23.x releases. But if you manually upgrade to 23.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.