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

fix(deps): update dependency @phenomnomnominal/tsquery to v6 #1249

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 10, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@phenomnomnominal/tsquery ^5.0.0 -> ^6.0.0 age adoption passing confidence

Release Notes

phenomnomnominal/tsquery (@​phenomnomnominal/tsquery)

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: Enabled.

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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/phenomnomnominal-tsquery-6.x branch 3 times, most recently from a57469c to 0630d5c Compare July 13, 2023 22:38
@renovate renovate bot force-pushed the renovate/phenomnomnominal-tsquery-6.x branch 10 times, most recently from e8c8e14 to c57c20d Compare July 28, 2023 16:17
@renovate renovate bot force-pushed the renovate/phenomnomnominal-tsquery-6.x branch 7 times, most recently from 8fa50b7 to 73addf9 Compare August 7, 2023 22:04
@renovate renovate bot force-pushed the renovate/phenomnomnominal-tsquery-6.x branch 7 times, most recently from 13fb689 to eecc238 Compare August 14, 2023 01:27
@renovate renovate bot force-pushed the renovate/phenomnomnominal-tsquery-6.x branch 3 times, most recently from cea1f79 to f842e4a Compare August 18, 2023 05:34
@renovate renovate bot force-pushed the renovate/phenomnomnominal-tsquery-6.x branch 15 times, most recently from 588cefe to 61b32ef Compare August 25, 2023 06:08
@renovate renovate bot force-pushed the renovate/phenomnomnominal-tsquery-6.x branch 6 times, most recently from 46caa97 to 107bf48 Compare September 3, 2023 09:20
@renovate renovate bot force-pushed the renovate/phenomnomnominal-tsquery-6.x branch 5 times, most recently from 8de5426 to 3153b03 Compare September 8, 2023 07:47
@renovate renovate bot force-pushed the renovate/phenomnomnominal-tsquery-6.x branch from 3153b03 to ff7d845 Compare September 8, 2023 10:28
@renovate renovate bot merged commit 5022bed into main Sep 8, 2023
@renovate renovate bot deleted the renovate/phenomnomnominal-tsquery-6.x branch September 8, 2023 12:35
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