@vue-vine/eslint-parser 1.1.3 → 1.1.4
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 +5 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
import Module, { createRequire } from "node:module";
|
2
2
|
import { parseForESLint as parseForESLint$1 } from "@typescript-eslint/parser";
|
3
|
-
import * as tsEscopeTypes$1 from "@typescript-eslint/scope-manager";
|
4
3
|
import * as tsEscopeTypes from "@typescript-eslint/scope-manager";
|
5
4
|
import * as escope from "eslint-scope";
|
6
5
|
import { lt, lte } from "semver";
|
@@ -40,7 +39,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
40
39
|
//#endregion
|
41
40
|
//#region package.json
|
42
41
|
var name = "@vue-vine/eslint-parser";
|
43
|
-
var version = "1.1.
|
42
|
+
var version = "1.1.4";
|
44
43
|
|
45
44
|
//#endregion
|
46
45
|
//#region src/ast/errors.ts
|
@@ -129,7 +128,7 @@ const NS = Object.freeze({
|
|
129
128
|
});
|
130
129
|
|
131
130
|
//#endregion
|
132
|
-
//#region ../../node_modules/.pnpm/eslint-visitor-keys@4.2.
|
131
|
+
//#region ../../node_modules/.pnpm/eslint-visitor-keys@4.2.1/node_modules/eslint-visitor-keys/lib/visitor-keys.js
|
133
132
|
/**
|
134
133
|
* @typedef {{ readonly [type: string]: ReadonlyArray<string> }} VisitorKeys
|
135
134
|
*/
|
@@ -183,7 +182,7 @@ const KEYS$1 = {
|
|
183
182
|
"source",
|
184
183
|
"attributes"
|
185
184
|
],
|
186
|
-
ExportSpecifier: ["
|
185
|
+
ExportSpecifier: ["local", "exported"],
|
187
186
|
ExpressionStatement: ["expression"],
|
188
187
|
ForInStatement: [
|
189
188
|
"left",
|
@@ -295,7 +294,7 @@ Object.freeze(KEYS$1);
|
|
295
294
|
var visitor_keys_default = KEYS$1;
|
296
295
|
|
297
296
|
//#endregion
|
298
|
-
//#region ../../node_modules/.pnpm/eslint-visitor-keys@4.2.
|
297
|
+
//#region ../../node_modules/.pnpm/eslint-visitor-keys@4.2.1/node_modules/eslint-visitor-keys/lib/index.js
|
299
298
|
/**
|
300
299
|
* Make the union set with `KEYS` and given keys.
|
301
300
|
* @param {VisitorKeys} additionalKeys The additional keys.
|
@@ -531,7 +530,7 @@ let ReferenceTypeFlag = /* @__PURE__ */ function(ReferenceTypeFlag$1) {
|
|
531
530
|
//#endregion
|
532
531
|
//#region src/common/vine-specific.ts
|
533
532
|
function createVirtualVineFnPropsReference({ compFnPropsIdentifier, foundVCFScope }) {
|
534
|
-
const virtualReference = new tsEscopeTypes
|
533
|
+
const virtualReference = new tsEscopeTypes.Reference(compFnPropsIdentifier, foundVCFScope, ReferenceFlag.Read, void 0, void 0, void 0, ReferenceTypeFlag.Value);
|
535
534
|
virtualReference.isWrite = () => false;
|
536
535
|
virtualReference.isWriteOnly = () => false;
|
537
536
|
virtualReference.isRead = () => true;
|