eslint-plugin-vue-scoped-css 3.1.0 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -0
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -5451,6 +5451,8 @@ const rules$1 = [
5451
5451
  function verifySelector(queryContext, scopedSelector) {
5452
5452
  let targetsQueryContext = queryContext;
5453
5453
  const selectorNodes = scopedSelector.filter((s) => isSelectorCombinator(s) || isTypeSelector(s) || isIDSelector(s) || isClassSelector(s) || isUniversalSelector(s) || isVueSpecialPseudo(s));
5454
+ while (selectorNodes.length > 0 && isSelectorCombinator(selectorNodes[0])) selectorNodes.shift();
5455
+ while (selectorNodes.length > 0 && isSelectorCombinator(selectorNodes[selectorNodes.length - 1])) selectorNodes.pop();
5454
5456
  for (let index = 0; index < selectorNodes.length; index++) {
5455
5457
  const selectorNode = selectorNodes[index];
5456
5458
  targetsQueryContext = targetsQueryContext.queryStep(selectorNode);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-vue-scoped-css",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "ESLint plugin for Scoped CSS in Vue.js",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",
@@ -82,7 +82,7 @@
82
82
  "eslint": "^10.0.0",
83
83
  "eslint-config-prettier": "^10.0.0",
84
84
  "eslint-plugin-eslint-plugin": "^6.1.0",
85
- "eslint-plugin-jsdoc": "^62.7.1",
85
+ "eslint-plugin-jsdoc": "^63.0.0",
86
86
  "eslint-plugin-json-schema-validator": "^6.0.0",
87
87
  "eslint-plugin-jsonc": "^3.0.0",
88
88
  "eslint-plugin-n": "^18.0.0",