New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: allow .tranform
to work with Nodes from another parsed source file
#1417
Conversation
A test fails. Somehow the changed code breaks something with JSDoc comments. Not sure how to fix this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems pretty reasonable to do actually. Just needs to fallback to using the initial source file I think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
StringLiteral
s.tranform
to work with Nodes from another parsed source file
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [ts-morph](https://togithub.com/dsherret/ts-morph) | [`18.0.0` -> `19.0.0`](https://renovatebot.com/diffs/npm/ts-morph/18.0.0/19.0.0) | [![age](https://badges.renovateapi.com/packages/npm/ts-morph/19.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/ts-morph/19.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/ts-morph/19.0.0/compatibility-slim/18.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/ts-morph/19.0.0/confidence-slim/18.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>dsherret/ts-morph (ts-morph)</summary> ### [`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 [dsherret/ts-morph#1411 - feat: improve typing of `Type` by [@​odiak](https://togithub.com/odiak) in [dsherret/ts-morph#1408 - feat: add IsVoid method to `Type` by [@​giuseppelt](https://togithub.com/giuseppelt) in [dsherret/ts-morph#1398 - feat: add JSDocable to ExportAssignment by [@​giuseppelt](https://togithub.com/giuseppelt) in [dsherret/ts-morph#1397 - feat: upgrade to TS 5.1 by [@​dsherret](https://togithub.com/dsherret) in [dsherret/ts-morph#1415 - fix: allow `.tranform` to work with Nodes from another parsed source file by [@​ivanhofer](https://togithub.com/ivanhofer) in [dsherret/ts-morph#1417 #### New Contributors - [@​scarf005](https://togithub.com/scarf005) made their first contribution in [dsherret/ts-morph#1411 - [@​odiak](https://togithub.com/odiak) made their first contribution in [dsherret/ts-morph#1408 - [@​giuseppelt](https://togithub.com/giuseppelt) made their first contribution in [dsherret/ts-morph#1398 - [@​ivanhofer](https://togithub.com/ivanhofer) made their first contribution in [dsherret/ts-morph#1417 **Full Changelog**: dsherret/ts-morph@18.0.0...19.0.0 </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/ariakit/ariakit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDQuMiIsInVwZGF0ZWRJblZlciI6IjM1LjE0NC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
closes #1416