@vue-vine/eslint-parser 0.1.30 → 0.1.31

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -3160,6 +3160,10 @@ function collectVariablesForVCF(tsFileScopeManager, templateRoot) {
3160
3160
  foundVCF = foundVCF.parent;
3161
3161
  } while (foundVCF && foundVCF.type !== "FunctionDeclaration" && foundVCF.type !== "FunctionExpression" && foundVCF.type !== "ArrowFunctionExpression");
3162
3162
  if (foundVCF) {
3163
+ Object.assign(
3164
+ foundVCF,
3165
+ { __isVine__: true }
3166
+ );
3163
3167
  const tryGetVCFScope = tsFileScopeManager.nodeToScope.get(foundVCF);
3164
3168
  if (_optionalChain([tryGetVCFScope, 'optionalAccess', _7 => _7[0]])) {
3165
3169
  foundVCFScope = tryGetVCFScope[0];
package/dist/index.mjs CHANGED
@@ -3160,6 +3160,10 @@ function collectVariablesForVCF(tsFileScopeManager, templateRoot) {
3160
3160
  foundVCF = foundVCF.parent;
3161
3161
  } while (foundVCF && foundVCF.type !== "FunctionDeclaration" && foundVCF.type !== "FunctionExpression" && foundVCF.type !== "ArrowFunctionExpression");
3162
3162
  if (foundVCF) {
3163
+ Object.assign(
3164
+ foundVCF,
3165
+ { __isVine__: true }
3166
+ );
3163
3167
  const tryGetVCFScope = tsFileScopeManager.nodeToScope.get(foundVCF);
3164
3168
  if (tryGetVCFScope?.[0]) {
3165
3169
  foundVCFScope = tryGetVCFScope[0];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue-vine/eslint-parser",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "description": "ESLint parser for Vue Vine",
5
5
  "author": "ShenQingchuan",
6
6
  "license": "MIT",
@@ -23,9 +23,9 @@
23
23
  "dist"
24
24
  ],
25
25
  "dependencies": {
26
- "@typescript-eslint/parser": "^6.21.0",
27
- "@typescript-eslint/scope-manager": "^6.21.0",
28
- "@typescript-eslint/typescript-estree": "^6.21.0",
26
+ "@typescript-eslint/parser": "^8.11.0",
27
+ "@typescript-eslint/scope-manager": "^8.11.0",
28
+ "@typescript-eslint/typescript-estree": "^8.11.0",
29
29
  "debug": "^4.3.4",
30
30
  "eslint-scope": "^7.2.2",
31
31
  "espree": "^9.6.1",