chore(deps): update dependency @phenomnomnominal/tsquery to v6 #490
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.0.1
->6.1.3
Release Notes
phenomnomnominal/tsquery (@phenomnomnominal/tsquery)
v6.1.3
Compare Source
v6.1.2
Compare Source
Fixed
:nth-child()
and:nth-last-child()
.v6.1.1
Compare Source
Fixed
map
, so it only works on aSourceFile
.v6.1.0
Compare Source
Added
print
function public, it's useful when doingmap
operations.v6.0.2
Compare Source
v6.0.1
Compare Source
Fixed
@types/esquery
todependencies
.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 inprevious 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 toquery
so the caller can control how TypeScript parses the input code.includes
to simply check if there are any selector matches within some code.import { ast } from '@​phenomnomnominal/tquery';
typescript
andesquery
.Fixed
replace
now uses the TypeScriptPrinter
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 aMethodDeclaration
.Changed
syntaxKindName
function. This shouldn't have been in the public API.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.
This PR was generated by Mend Renovate. View the repository job log.