├── .github ├── FUNDING.yml ├── dependabot.yml └── workflows │ ├── codeql-analysis.yml │ ├── dependabot-automerge.yml │ └── nodejs-test.yml ├── .gitignore ├── LICENSE ├── README.md ├── _config.yml ├── biome.json ├── package.json ├── src ├── attributes.ts ├── compile.ts ├── general.ts ├── helpers │ ├── cache.spec.ts │ ├── cache.ts │ ├── querying.ts │ ├── selectors.spec.ts │ └── selectors.ts ├── index.ts ├── pseudo-selectors │ ├── aliases.ts │ ├── filters.ts │ ├── index.ts │ ├── pseudos.ts │ └── subselects.ts └── types.ts ├── test ├── .eslintrc.json ├── LICENSE ├── api.ts ├── attributes.ts ├── fixtures │ ├── fries.xml │ ├── nwmatcher.html │ ├── qwery.html │ └── sizzle.html ├── nwmatcher.ts ├── pseudo-classes.ts ├── qwery.ts ├── sizzle.ts └── tools │ ├── helper.ts │ └── sizzle-testinit.ts ├── tsconfig.eslint.json ├── tsconfig.json └── vitest.config.ts /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [fb55] 2 | tidelift: npm/css-select 3 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/dependabot-automerge.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/.github/workflows/dependabot-automerge.yml -------------------------------------------------------------------------------- /.github/workflows/nodejs-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/.github/workflows/nodejs-test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/README.md -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/_config.yml -------------------------------------------------------------------------------- /biome.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/biome.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/package.json -------------------------------------------------------------------------------- /src/attributes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/src/attributes.ts -------------------------------------------------------------------------------- /src/compile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/src/compile.ts -------------------------------------------------------------------------------- /src/general.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/src/general.ts -------------------------------------------------------------------------------- /src/helpers/cache.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/src/helpers/cache.spec.ts -------------------------------------------------------------------------------- /src/helpers/cache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/src/helpers/cache.ts -------------------------------------------------------------------------------- /src/helpers/querying.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/src/helpers/querying.ts -------------------------------------------------------------------------------- /src/helpers/selectors.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/src/helpers/selectors.spec.ts -------------------------------------------------------------------------------- /src/helpers/selectors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/src/helpers/selectors.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/pseudo-selectors/aliases.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/src/pseudo-selectors/aliases.ts -------------------------------------------------------------------------------- /src/pseudo-selectors/filters.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/src/pseudo-selectors/filters.ts -------------------------------------------------------------------------------- /src/pseudo-selectors/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/src/pseudo-selectors/index.ts -------------------------------------------------------------------------------- /src/pseudo-selectors/pseudos.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/src/pseudo-selectors/pseudos.ts -------------------------------------------------------------------------------- /src/pseudo-selectors/subselects.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/src/pseudo-selectors/subselects.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/src/types.ts -------------------------------------------------------------------------------- /test/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/test/.eslintrc.json -------------------------------------------------------------------------------- /test/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/test/LICENSE -------------------------------------------------------------------------------- /test/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/test/api.ts -------------------------------------------------------------------------------- /test/attributes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/test/attributes.ts -------------------------------------------------------------------------------- /test/fixtures/fries.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/test/fixtures/fries.xml -------------------------------------------------------------------------------- /test/fixtures/nwmatcher.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/test/fixtures/nwmatcher.html -------------------------------------------------------------------------------- /test/fixtures/qwery.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/test/fixtures/qwery.html -------------------------------------------------------------------------------- /test/fixtures/sizzle.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/test/fixtures/sizzle.html -------------------------------------------------------------------------------- /test/nwmatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/test/nwmatcher.ts -------------------------------------------------------------------------------- /test/pseudo-classes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/test/pseudo-classes.ts -------------------------------------------------------------------------------- /test/qwery.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/test/qwery.ts -------------------------------------------------------------------------------- /test/sizzle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/test/sizzle.ts -------------------------------------------------------------------------------- /test/tools/helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/test/tools/helper.ts -------------------------------------------------------------------------------- /test/tools/sizzle-testinit.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/test/tools/sizzle-testinit.ts -------------------------------------------------------------------------------- /tsconfig.eslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/tsconfig.eslint.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fb55/css-select/HEAD/vitest.config.ts --------------------------------------------------------------------------------