@vue-vine/eslint-parser 0.1.9 → 0.1.10

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.
package/dist/index.js CHANGED
@@ -8224,8 +8224,8 @@ function analyzeUsedInTemplateVariables(scopeManager, templateRoot) {
8224
8224
  var ALIAS_ITERATOR = /^([\s\S]*?(?:\s|\)))(\bin\b|\bof\b)([\s\S]*)$/u;
8225
8225
  var PARENS = /^(\s*\()([\s\S]*?)(\)\s*)$/u;
8226
8226
  var DUMMY_PARENT2 = {};
8227
- var IS_FUNCTION_EXPRESSION = /^\s*([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/u;
8228
- var IS_SIMPLE_PATH = /^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?'\]|\["[^"]*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/u;
8227
+ var IS_FUNCTION_EXPRESSION = /^\s*(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/u;
8228
+ var IS_SIMPLE_PATH = /^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*'\]|\["[^"]*"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/u;
8229
8229
  function processVForAliasAndIterator(code) {
8230
8230
  const match = ALIAS_ITERATOR.exec(code);
8231
8231
  if (match != null) {
@@ -8311,7 +8311,7 @@ function parseScriptFragment(code, locationCalculator, vineFixLocationContext, p
8311
8311
  throw err;
8312
8312
  }
8313
8313
  }
8314
- var validDivisionCharRE = /[\w).+\-_$\]]/u;
8314
+ var validDivisionCharRE = /[\w).+\-$\]]/u;
8315
8315
  function splitFilters(exp) {
8316
8316
  const result = [];
8317
8317
  let inSingle = false;
@@ -8993,7 +8993,7 @@ function parseSlotScopeExpression(code, locationCalculator, vineFixLocationConte
8993
8993
  // src/template/utils/index.ts
8994
8994
  var shorthandSign = /^[.:@#]/u;
8995
8995
  var shorthandNameMap = { ":": "bind", ".": "bind", "@": "on", "#": "slot" };
8996
- var invalidDynamicArgumentNextChar = /^[\s\r\n=/>]$/u;
8996
+ var invalidDynamicArgumentNextChar = /^[\s=/>]$/u;
8997
8997
  function isPropModifier(node) {
8998
8998
  return node.name === "prop";
8999
8999
  }
package/dist/index.mjs CHANGED
@@ -8224,8 +8224,8 @@ function analyzeUsedInTemplateVariables(scopeManager, templateRoot) {
8224
8224
  var ALIAS_ITERATOR = /^([\s\S]*?(?:\s|\)))(\bin\b|\bof\b)([\s\S]*)$/u;
8225
8225
  var PARENS = /^(\s*\()([\s\S]*?)(\)\s*)$/u;
8226
8226
  var DUMMY_PARENT2 = {};
8227
- var IS_FUNCTION_EXPRESSION = /^\s*([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/u;
8228
- var IS_SIMPLE_PATH = /^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?'\]|\["[^"]*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/u;
8227
+ var IS_FUNCTION_EXPRESSION = /^\s*(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/u;
8228
+ var IS_SIMPLE_PATH = /^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*'\]|\["[^"]*"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/u;
8229
8229
  function processVForAliasAndIterator(code) {
8230
8230
  const match = ALIAS_ITERATOR.exec(code);
8231
8231
  if (match != null) {
@@ -8311,7 +8311,7 @@ function parseScriptFragment(code, locationCalculator, vineFixLocationContext, p
8311
8311
  throw err;
8312
8312
  }
8313
8313
  }
8314
- var validDivisionCharRE = /[\w).+\-_$\]]/u;
8314
+ var validDivisionCharRE = /[\w).+\-$\]]/u;
8315
8315
  function splitFilters(exp) {
8316
8316
  const result = [];
8317
8317
  let inSingle = false;
@@ -8993,7 +8993,7 @@ function parseSlotScopeExpression(code, locationCalculator, vineFixLocationConte
8993
8993
  // src/template/utils/index.ts
8994
8994
  var shorthandSign = /^[.:@#]/u;
8995
8995
  var shorthandNameMap = { ":": "bind", ".": "bind", "@": "on", "#": "slot" };
8996
- var invalidDynamicArgumentNextChar = /^[\s\r\n=/>]$/u;
8996
+ var invalidDynamicArgumentNextChar = /^[\s=/>]$/u;
8997
8997
  function isPropModifier(node) {
8998
8998
  return node.name === "prop";
8999
8999
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue-vine/eslint-parser",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "ESLint parser for Vue Vine",
5
5
  "author": "ShenQingchuan",
6
6
  "license": "MIT",