css-selector-parser icon indicating copy to clipboard operation
css-selector-parser copied to clipboard

Just a CSS selector parser.

Results 15 css-selector-parser issues
Sort by recently updated
recently updated
newest added
trafficstars

Hello, I'm trying to match a div which contains direct children of an input and a label `div:has(>input+label)`. This throws the following exception: `Expected ")" but ">" found.`. I've tested...

Added case sensitivity checks per issue #15. Added tests similar to existing attribute selector tests using case insensitivity.

Per [css docs](https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors), an attribute selector with an 'i' at the end should be valid, but is not.

Hi, while there seems to be an identifier for the `/` character, the lib and its tests fail when using `/` character in a classname, i.e. `.u-1/2`. If you wonder...

https://github.com/mdevils/node-css-selector-parser/blob/451a1fc5487a745c5dc32023986b63fe4bf0a7e4/src/css-selector-parser.coffee#L425

If I have a selector `a - b` (using a hyphen character as the combinator), the library's parser will successfully parse this into the following AST: ```json { "type": "Selector",...

Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.5 to 7.23.2. Release notes Sourced from @​babel/traverse's releases. v7.23.2 (2023-10-11) NOTE: This release also re-publishes @babel/core, even if it does not appear in the linked release...

dependencies

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. Commits 74b2db2 3.0.3 88f1429 update eslint. lint, fix unit tests. 415d660 Snyk js braces 6838727 (#40) 190510f fix tests, skip 1 test in test/braces.expand...

dependencies