Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
estools
/
esquery
Public
Notifications
You must be signed in to change notification settings
Fork
94
Star
892
Code
Issues
26
Pull requests
18
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Breadcrumbs
History for
esquery
esquery.js
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Jul 8, 2024
allow naked binaryOp at the start of a selector within :has() (#145)
Show description for 00448e0
3 people
authored
00448e0
View commit details
Copy full SHA for 00448e0
View code at this point
Browse repository at this point
Commits on Mar 7, 2023
pull lowercasing out of class matcher (#141)
nzakas
authored
909bea6
View commit details
Copy full SHA for 909bea6
View code at this point
Browse repository at this point
Commits on Mar 2, 2023
External class resolve (#140)
nzakas
authored
80f1332
View commit details
Copy full SHA for 80f1332
View code at this point
Browse repository at this point
Commits on Feb 27, 2023
Allow for custom node type keys (#139)
nzakas
authored
a195660
View commit details
Copy full SHA for a195660
View code at this point
Browse repository at this point
Commits on Feb 16, 2023
Check that the node has a parent before matching a 'child' selector (#138)
Show description for 66df002
jviide
and
michaelficarra
authored
66df002
View commit details
Copy full SHA for 66df002
View code at this point
Browse repository at this point
combine the from-start and from-end paths in nthChild
michaelficarra
committed
ac59a70
View commit details
Copy full SHA for ac59a70
View code at this point
Browse repository at this point
separate the caching wrapper from the matcher generator
michaelficarra
committed
806c085
View commit details
Copy full SHA for 806c085
View code at this point
Browse repository at this point
Style fix: ++k instead of k++
jviide
authored and
michaelficarra
committed
d054bcb
View commit details
Copy full SHA for d054bcb
View code at this point
Browse repository at this point
Cache selector matcher functions in a WeakMap
jviide
authored and
michaelficarra
committed
44e1ff5
View commit details
Copy full SHA for 44e1ff5
View code at this point
Browse repository at this point
Allow negative `nth` parameter in nthChild
jviide
authored and
michaelficarra
committed
4ed01b7
View commit details
Copy full SHA for 4ed01b7
View code at this point
Browse repository at this point
Fix code style issues
jviide
authored and
michaelficarra
committed
5394396
View commit details
Copy full SHA for 5394396
View code at this point
Browse repository at this point
Create fewer intermediate objects in inPath
jviide
authored and
michaelficarra
committed
3a1eedb
View commit details
Copy full SHA for 3a1eedb
View code at this point
Browse repository at this point
Traverse only once & break early in "has" selector
jviide
authored and
michaelficarra
committed
d48605a
View commit details
Copy full SHA for d48605a
View code at this point
Browse repository at this point
Replace 'has' rule collector array with a boolean flag
jviide
authored and
michaelficarra
committed
73ce628
View commit details
Copy full SHA for 73ce628
View code at this point
Browse repository at this point
Avoid .indexOf in nthChild
jviide
authored and
michaelficarra
committed
b030861
View commit details
Copy full SHA for b030861
View code at this point
Browse repository at this point
Use basic for loops instead of for-of
Show description for b77abf7
jviide
authored and
michaelficarra
committed
b77abf7
View commit details
Copy full SHA for b77abf7
View code at this point
Browse repository at this point
Create even more specific attribute matchers
jviide
authored and
michaelficarra
committed
5ec0655
View commit details
Copy full SHA for 5ec0655
View code at this point
Browse repository at this point
Hoist repeatedly recreated constants
jviide
authored and
michaelficarra
committed
fa5a3f5
View commit details
Copy full SHA for fa5a3f5
View code at this point
Browse repository at this point
Create cached matcher functions for selectors
jviide
authored and
michaelficarra
committed
befa5c8
View commit details
Copy full SHA for befa5c8
View code at this point
Browse repository at this point
Commits on Feb 2, 2021
Add support for custom visitor keys. (#112)
ota-meshi
authored
365ed15
View commit details
Copy full SHA for 365ed15
View code at this point
Browse repository at this point
Commits on May 2, 2020
prefer for-of (#106)
brettz9
authored
b48c76b
View commit details
Copy full SHA for b48c76b
View code at this point
Browse repository at this point
Commits on Apr 15, 2020
add esquery.traverse method (#100)
Show description for 3863ea0
brettz9
and
kumavis
authored
3863ea0
View commit details
Copy full SHA for 3863ea0
View code at this point
Browse repository at this point
Commits on Mar 20, 2020
jsdocs and minor refactoring (#90)
Show description for bd870d6
brettz9
authored
bd870d6
View commit details
Copy full SHA for bd870d6
View code at this point
Browse repository at this point
Commits on Mar 9, 2020
Eslint enforcement (#87)
Show description for 1752faa
brettz9
authored
1752faa
View commit details
Copy full SHA for 1752faa
View code at this point
Browse repository at this point
switch from jstestr to mocha; track coverage; drop node <8 (#84)
Show description for 176a6b1
brettz9
and
michaelficarra
authored
176a6b1
View commit details
Copy full SHA for 176a6b1
View code at this point
Browse repository at this point
Commits on Mar 4, 2020
ESM (drops node 4/6 support) (#83)
Show description for 8a5b594
brettz9
and
michaelficarra
authored
8a5b594
View commit details
Copy full SHA for 8a5b594
View code at this point
Browse repository at this point
Commits on Mar 3, 2020
linting tweaks and updates (drops ancient node support) (#81)
Show description for d678dd2
brettz9
authored
d678dd2
View commit details
Copy full SHA for d678dd2
View code at this point
Browse repository at this point
Commits on Feb 27, 2020
Add eslint setup (#80)
Show description for bf0ab45
papandreou
authored
bf0ab45
View commit details
Copy full SHA for bf0ab45
View code at this point
Browse repository at this point
Commits on Feb 20, 2020
Make :function matching more precise (#53)
Show description for 1bf9280
not-an-aardvark
authored
1bf9280
View commit details
Copy full SHA for 1bf9280
View code at this point
Browse repository at this point
Fix global leak due to missing var declaration of l (#74)
papandreou
authored
aabd78c
View commit details
Copy full SHA for aabd78c
View code at this point
Browse repository at this point
Commits on Feb 12, 2020
prevent exception when encountering a node of unknown type (#78)
nico
authored and
michaelficarra
committed
d48682f
View commit details
Copy full SHA for d48682f
View code at this point
Browse repository at this point
Commits on Oct 1, 2019
fix typos
cherryblossom000
committed
318891a
View commit details
Copy full SHA for 318891a
View code at this point
Browse repository at this point
Commits on Apr 2, 2018
Fixes #58: check attribute type before matching against a regexp (#62)
jupenur
authored and
michaelficarra
committed
66d325d
View commit details
Copy full SHA for 66d325d
View code at this point
Browse repository at this point
Commits on Oct 29, 2017
Fix: add MetaProperty and TemplateLiteral to :expression class (#59)
Show description for 5b52892
mysticatea
authored and
michaelficarra
committed
5b52892
View commit details
Copy full SHA for 5b52892
View code at this point
Browse repository at this point
Commits on Apr 13, 2017
Added :has() pseudo-selector to grammar.
nwronski
authored and
michaelficarra
committed
3345254
View commit details
Copy full SHA for 3345254
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.