GraphQL-Portal / graphql-portal-dashboard

Dashboard to manage GraphQL API Gateway
https://www.graphql-portal.com/
MIT License
32 stars 4 forks source link

fix(deps): update dependency ts-morph to v22 - autoclosed #2404

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 6 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ts-morph 12.2.0 -> 22.0.0 age adoption passing confidence

Release Notes

dsherret/ts-morph (ts-morph) ### [`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 ### [`v15.1.0`](https://togithub.com/dsherret/ts-morph/releases/tag/15.1.0) [Compare Source](https://togithub.com/dsherret/ts-morph/compare/15.0.0...15.1.0) ##### Bug Fixes - `DocumentSpan` should attempt to load the source file if it's not loaded yet ([#​1291](https://togithub.com/dsherret/ts-morph/issues/1291)) ([1eda69c](https://togithub.com/dsherret/ts-morph/commit/1eda69c)) - Included symlinked directories when reading a directory ([#​1290](https://togithub.com/dsherret/ts-morph/issues/1290)) ([f1b4ea2](https://togithub.com/dsherret/ts-morph/commit/f1b4ea2)) ##### Features - Add `Symbol#isOptional` method ([#​1285](https://togithub.com/dsherret/ts-morph/issues/1285)) ([c7f3512](https://togithub.com/dsherret/ts-morph/commit/c7f3512)) - Add `Type#isTemplateLiteral` method ([#​1288](https://togithub.com/dsherret/ts-morph/issues/1288)) ([284a7fd](https://togithub.com/dsherret/ts-morph/commit/284a7fd)) ### [`v15.0.0`](https://togithub.com/dsherret/ts-morph/releases/tag/15.0.0) [Compare Source](https://togithub.com/dsherret/ts-morph/compare/14.0.0...15.0.0) ##### Bug Fixes - `transform()` - ensure comments on nodes with only added synthetic leading comments show up in output ([abc840d](https://togithub.com/dsherret/ts-morph/commit/abc840d)), closes [#​1273](https://togithub.com/dsherret/ts-morph/issues/1273) - ensure leading and trailing trivia for overloads ends up in output ([0d043b5](https://togithub.com/dsherret/ts-morph/commit/0d043b5)), closes [#​1244](https://togithub.com/dsherret/ts-morph/issues/1244) - **common:** deleting directories didn't work on Node ([163de40](https://togithub.com/dsherret/ts-morph/commit/163de40)), closes [#​1249](https://togithub.com/dsherret/ts-morph/issues/1249) - handle undefined in comment node type guards ([#​1275](https://togithub.com/dsherret/ts-morph/issues/1275)) ([452cff3](https://togithub.com/dsherret/ts-morph/commit/452cff3)) - transform should take into account the node changing kinds ([75c4a75](https://togithub.com/dsherret/ts-morph/commit/75c4a75)), closes [#​1248](https://togithub.com/dsherret/ts-morph/issues/1248) ##### Features - add `Node#isKind(kind)` type guard ([#​1271](https://togithub.com/dsherret/ts-morph/issues/1271)) ([79ab80f](https://togithub.com/dsherret/ts-morph/commit/79ab80f)) - add factory property to traversal control ([d4c5a35](https://togithub.com/dsherret/ts-morph/commit/d4c5a35)) - add helper properties on TemplateLiteralTypeNode. ([1a8de49](https://togithub.com/dsherret/ts-morph/commit/1a8de49)), closes [#​1266](https://togithub.com/dsherret/ts-morph/issues/1266) - upgrade to TypeScript 4.7 ([#​1281](https://togithub.com/dsherret/ts-morph/issues/1281)) ([ae797d8](https://togithub.com/dsherret/ts-morph/commit/ae797d8)) ##### BREAKING CHANGES - `transform` now returns a `Node` instead of `this` because the returned node could be the replaced node. - Upgraded to TS 4.7. Please review changes to typescript.d.ts in [#​1281](https://togithub.com/dsherret/ts-morph/pull/1281/files#diff-1689901fc8d46451616bd34e0e34bf5c359401decc33ecd5fa7065f30525af6a). ### [`v14.0.0`](https://togithub.com/dsherret/ts-morph/releases/tag/14.0.0) [Compare Source](https://togithub.com/dsherret/ts-morph/compare/13.0.3...14.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`](https://togithub.com/dsherret/ts-morph/compare/13.0.2...13.0.3) [Compare Source](https://togithub.com/dsherret/ts-morph/compare/13.0.2...13.0.3) ### [`v13.0.2`](https://togithub.com/dsherret/ts-morph/compare/13.0.1...13.0.2) [Compare Source](https://togithub.com/dsherret/ts-morph/compare/13.0.1...13.0.2) ### [`v13.0.1`](https://togithub.com/dsherret/ts-morph/releases/tag/13.0.1) [Compare Source](https://togithub.com/dsherret/ts-morph/compare/13.0.0...13.0.1) ##### Bug Fixes - Regression in `getReferencingNodesInOtherSourceFiles` with source files not marked as in the project ([`7504aed`](https://togithub.com/dsherret/ts-morph/commit/7504aed)) - Surface read file errors instead of ignoring them ([760fe8c](https://togithub.com/dsherret/ts-morph/commit/760fe8c)) - Align `getScriptSnapshot` compiler host libFileMap behaviour with `readFile` ([9e84d72](https://togithub.com/dsherret/ts-morph/commit/9e84d72)) ### [`v13.0.0`](https://togithub.com/dsherret/ts-morph/releases/tag/13.0.0) [Compare Source](https://togithub.com/dsherret/ts-morph/compare/12.2.0...13.0.0) ##### Bug Fixes - Do not throw an error if decorator expr is wrapped in a paren expr ([c77db30](https://togithub.com/dsherret/ts-morph/commit/c77db30)), closes [#​1214](https://togithub.com/dsherret/ts-morph/issues/1214) ##### Code Refactoring - `Node.isXNode(node)` static type guard methods are now `Node.isX(node)` ([e5bcba9](https://togithub.com/dsherret/ts-morph/commit/e5bcba9)), closes [#​1166](https://togithub.com/dsherret/ts-morph/issues/1166) - Remove already deprecated `WriterFunctions` and `TypeGuards` exports. ([be87373](https://togithub.com/dsherret/ts-morph/commit/be87373)) ##### Features - Add `AssertClause` and `AssertEntry` ([#​1224](https://togithub.com/dsherret/ts-morph/issues/1224)) ([bcf694f](https://togithub.com/dsherret/ts-morph/commit/bcf694f)) - Add `Node.hasStructure` type guard. ([0f7d9be](https://togithub.com/dsherret/ts-morph/commit/0f7d9be)) - Change `readDirSync` to return directory entries instead of file paths ([f22a50d](https://togithub.com/dsherret/ts-morph/commit/f22a50d)) - Make `Structure.isX` function more flexible ([a54dd69](https://togithub.com/dsherret/ts-morph/commit/a54dd69)), closes [#​1219](https://togithub.com/dsherret/ts-morph/issues/1219) - Type only methods for `ImportSpecifier` and `ExportSpecifier` ([e93c96e](https://togithub.com/dsherret/ts-morph/commit/e93c96e)) - TypeScript 4.5 support ([#​1220](https://togithub.com/dsherret/ts-morph/issues/1220)) ([526e0dd](https://togithub.com/dsherret/ts-morph/commit/526e0dd)) - Wrap more JS doc nodes ([5107999](https://togithub.com/dsherret/ts-morph/commit/5107999)) ##### BREAKING CHANGES - `Node.isXNode(node)`-like static type guard methods are now `Node.isX(node)` to reduce verbosity. - Targeting ES2018 instead of ES2015 - Upgraded to TS 4.5 - Removed already deprecated `WriterFunctions` and `TypeGuards` exports. Use `Writers` and `Node` instead. - `readDirSync` now returns directory entries.

Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), 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 6 months ago

⚠️ No Changeset found

Latest commit: 5a602236439a099e8a5d43f50d17c8c752c043eb

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