Skip to content
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

chore(deps): update dependency @phenomnomnominal/tsquery to v6 #490

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 10, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@phenomnomnominal/tsquery 5.0.1 -> 6.1.3 age adoption passing confidence

Release Notes

phenomnomnominal/tsquery (@​phenomnomnominal/tsquery)

v6.1.3

Compare Source

v6.1.2

Compare Source

Fixed
  • Restored working implementation of :nth-child() and :nth-last-child().

v6.1.1

Compare Source

Fixed
  • Fixed the API signature of map, so it only works on a SourceFile.

v6.1.0

Compare Source

Added
  • Made the print function public, it's useful when doing map operations.

v6.0.2

Compare Source

v6.0.1

Compare Source

Fixed
  • Add @types/esquery to dependencies.

v6.0.0

Compare Source

I had to use TSQuery recently and found a few bugs, and wanted to add a few ergonomic things, so here's a major release.

The big breaking change here is that visitAllChildren is now the default behaviour. Less-specific queries that may have worked in
previous versions may no longer work exactly the same. This is a pretty annoying change for a very early mistake, but I figured it
was time to pull off the band-aid.

Added
  • scriptKind parameter to query so the caller can control how TypeScript parses the input code.
  • includes to simply check if there are any selector matches within some code.
  • Direct exports of public functions, e.g. import { ast } from '@​phenomnomnominal/tquery';
  • Type exports for types used in the public API. This includes types from typescript and esquery.
  • This CHANGELOG file to hopefully list all API changes going forward.
Fixed
  • replace now uses the TypeScript Printer to format the output code. This means that it will handle AST Node removal better, but also means that you may need to run any formatters (e.g. Prettier) on the result to have it match your codebase.
  • :function selector will now match a MethodDeclaration.
Changed
  • TSQuery will now query all children by default. This means that less-specific queries that may have worked in previous versions may no longer work exactly the same.
  • Deprecated the old API, will remove in v7. Prefer importing the specific functions.
  • Deprecated the syntaxKindName function. This shouldn't have been in the public API.
  • Upgrade many dependencies.
Removed
  • visitAllChildren option. This is now the default behaviour.

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 is behind base branch, 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.

@renovate renovate bot force-pushed the renovate/phenomnomnominal-tsquery-6.x branch 8 times, most recently from cc3da5b to a5e6f4a Compare July 16, 2023 16:47
@renovate renovate bot force-pushed the renovate/phenomnomnominal-tsquery-6.x branch 6 times, most recently from 8c35a3f to 37270d7 Compare July 24, 2023 09:59
@renovate renovate bot force-pushed the renovate/phenomnomnominal-tsquery-6.x branch 8 times, most recently from f61be85 to c1d27e1 Compare July 29, 2023 16:01
@renovate renovate bot force-pushed the renovate/phenomnomnominal-tsquery-6.x branch 6 times, most recently from 68f51bd to 121f85f Compare August 5, 2023 16:51
@renovate renovate bot force-pushed the renovate/phenomnomnominal-tsquery-6.x branch 2 times, most recently from 65969d9 to 30ae6b0 Compare August 10, 2023 01:38
@renovate renovate bot force-pushed the renovate/phenomnomnominal-tsquery-6.x branch from e31b1aa to 82d439d Compare August 5, 2024 21:27
@renovate renovate bot force-pushed the renovate/phenomnomnominal-tsquery-6.x branch 4 times, most recently from 3c3e295 to 737e2be Compare August 16, 2024 06:10
@renovate renovate bot force-pushed the renovate/phenomnomnominal-tsquery-6.x branch 3 times, most recently from d9a13a0 to 9c35cde Compare September 5, 2024 16:01
@renovate renovate bot force-pushed the renovate/phenomnomnominal-tsquery-6.x branch 2 times, most recently from b012f44 to a33b145 Compare September 12, 2024 03:30
@renovate renovate bot force-pushed the renovate/phenomnomnominal-tsquery-6.x branch 2 times, most recently from e878d64 to bfb39db Compare September 30, 2024 20:20
@renovate renovate bot force-pushed the renovate/phenomnomnominal-tsquery-6.x branch 13 times, most recently from c51e23f to ee4bbf6 Compare October 29, 2024 17:04
@renovate renovate bot force-pushed the renovate/phenomnomnominal-tsquery-6.x branch 3 times, most recently from 5b028d2 to 2537f9a Compare November 12, 2024 03:12
@renovate renovate bot force-pushed the renovate/phenomnomnominal-tsquery-6.x branch from 2537f9a to bcb78e2 Compare November 13, 2024 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants