feat: initial commit

This commit is contained in:
Carlos
2024-08-12 23:06:35 -04:00
parent c581ce5ad2
commit de4ae5d068
776 changed files with 3868 additions and 15649 deletions

View File

@ -786,7 +786,7 @@ has a method `error(message, options)` that returns an
error object. This method should always be used to raise
errors relating to the syntax of selectors. The options
to this method are passed to postcss's error constructor
([documentation](http://api.postcss.org/Container.html#error)).
([documentation](http://postcss.org/api/#container-error)).
#### Async Error Example

View File

@ -1,3 +1,7 @@
# 6.1.2
- Fixed: erroneous trailing combinators in pseudos
# 6.1.1
- Fixed: improve typings of constructor helpers (#292)

View File

@ -485,7 +485,7 @@ var Parser = /*#__PURE__*/function () {
}
// We need to decide between a space that's a descendant combinator and meaningless whitespace at the end of a selector.
var nextSigTokenPos = this.locateNextMeaningfulToken(this.position);
if (nextSigTokenPos < 0 || this.tokens[nextSigTokenPos][_tokenize.FIELDS.TYPE] === tokens.comma) {
if (nextSigTokenPos < 0 || this.tokens[nextSigTokenPos][_tokenize.FIELDS.TYPE] === tokens.comma || this.tokens[nextSigTokenPos][_tokenize.FIELDS.TYPE] === tokens.closeParenthesis) {
var nodes = this.parseWhitespaceEquivalentTokens(nextSigTokenPos);
if (nodes.length > 0) {
var last = this.current.last;

View File

@ -1,6 +1,6 @@
{
"name": "postcss-selector-parser",
"version": "6.1.1",
"version": "6.1.2",
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",