@vue-vine/eslint-parser 0.1.28 → 0.1.30
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +16 -10
- package/dist/index.mjs +16 -10
- package/package.json +2 -2
package/dist/index.js
CHANGED
@@ -2473,7 +2473,7 @@ var NS = Object.freeze({
|
|
2473
2473
|
XMLNS: "http://www.w3.org/2000/xmlns/"
|
2474
2474
|
});
|
2475
2475
|
|
2476
|
-
// ../../node_modules/.pnpm/eslint-visitor-keys@4.
|
2476
|
+
// ../../node_modules/.pnpm/eslint-visitor-keys@4.2.0/node_modules/eslint-visitor-keys/lib/visitor-keys.js
|
2477
2477
|
var KEYS = {
|
2478
2478
|
ArrayExpression: [
|
2479
2479
|
"elements"
|
@@ -2552,7 +2552,8 @@ var KEYS = {
|
|
2552
2552
|
],
|
2553
2553
|
ExportAllDeclaration: [
|
2554
2554
|
"exported",
|
2555
|
-
"source"
|
2555
|
+
"source",
|
2556
|
+
"attributes"
|
2556
2557
|
],
|
2557
2558
|
ExportDefaultDeclaration: [
|
2558
2559
|
"declaration"
|
@@ -2560,7 +2561,8 @@ var KEYS = {
|
|
2560
2561
|
ExportNamedDeclaration: [
|
2561
2562
|
"declaration",
|
2562
2563
|
"specifiers",
|
2563
|
-
"source"
|
2564
|
+
"source",
|
2565
|
+
"attributes"
|
2564
2566
|
],
|
2565
2567
|
ExportSpecifier: [
|
2566
2568
|
"exported",
|
@@ -2601,15 +2603,21 @@ var KEYS = {
|
|
2601
2603
|
"consequent",
|
2602
2604
|
"alternate"
|
2603
2605
|
],
|
2606
|
+
ImportAttribute: [
|
2607
|
+
"key",
|
2608
|
+
"value"
|
2609
|
+
],
|
2604
2610
|
ImportDeclaration: [
|
2605
2611
|
"specifiers",
|
2606
|
-
"source"
|
2612
|
+
"source",
|
2613
|
+
"attributes"
|
2607
2614
|
],
|
2608
2615
|
ImportDefaultSpecifier: [
|
2609
2616
|
"local"
|
2610
2617
|
],
|
2611
2618
|
ImportExpression: [
|
2612
|
-
"source"
|
2619
|
+
"source",
|
2620
|
+
"options"
|
2613
2621
|
],
|
2614
2622
|
ImportNamespaceSpecifier: [
|
2615
2623
|
"local"
|
@@ -2778,16 +2786,14 @@ for (const type of NODE_TYPES) {
|
|
2778
2786
|
Object.freeze(KEYS);
|
2779
2787
|
var visitor_keys_default = KEYS;
|
2780
2788
|
|
2781
|
-
// ../../node_modules/.pnpm/eslint-visitor-keys@4.
|
2789
|
+
// ../../node_modules/.pnpm/eslint-visitor-keys@4.2.0/node_modules/eslint-visitor-keys/lib/index.js
|
2782
2790
|
function unionWith(additionalKeys) {
|
2783
2791
|
const retv = (
|
2784
|
-
/** @type {{
|
2785
|
-
[type: string]: ReadonlyArray<string>
|
2786
|
-
}} */
|
2792
|
+
/** @type {{ [type: string]: ReadonlyArray<string> }} */
|
2787
2793
|
Object.assign({}, visitor_keys_default)
|
2788
2794
|
);
|
2789
2795
|
for (const type of Object.keys(additionalKeys)) {
|
2790
|
-
if (Object.
|
2796
|
+
if (Object.hasOwn(retv, type)) {
|
2791
2797
|
const keys = new Set(additionalKeys[type]);
|
2792
2798
|
for (const key of retv[type]) {
|
2793
2799
|
keys.add(key);
|
package/dist/index.mjs
CHANGED
@@ -2473,7 +2473,7 @@ var NS = Object.freeze({
|
|
2473
2473
|
XMLNS: "http://www.w3.org/2000/xmlns/"
|
2474
2474
|
});
|
2475
2475
|
|
2476
|
-
// ../../node_modules/.pnpm/eslint-visitor-keys@4.
|
2476
|
+
// ../../node_modules/.pnpm/eslint-visitor-keys@4.2.0/node_modules/eslint-visitor-keys/lib/visitor-keys.js
|
2477
2477
|
var KEYS = {
|
2478
2478
|
ArrayExpression: [
|
2479
2479
|
"elements"
|
@@ -2552,7 +2552,8 @@ var KEYS = {
|
|
2552
2552
|
],
|
2553
2553
|
ExportAllDeclaration: [
|
2554
2554
|
"exported",
|
2555
|
-
"source"
|
2555
|
+
"source",
|
2556
|
+
"attributes"
|
2556
2557
|
],
|
2557
2558
|
ExportDefaultDeclaration: [
|
2558
2559
|
"declaration"
|
@@ -2560,7 +2561,8 @@ var KEYS = {
|
|
2560
2561
|
ExportNamedDeclaration: [
|
2561
2562
|
"declaration",
|
2562
2563
|
"specifiers",
|
2563
|
-
"source"
|
2564
|
+
"source",
|
2565
|
+
"attributes"
|
2564
2566
|
],
|
2565
2567
|
ExportSpecifier: [
|
2566
2568
|
"exported",
|
@@ -2601,15 +2603,21 @@ var KEYS = {
|
|
2601
2603
|
"consequent",
|
2602
2604
|
"alternate"
|
2603
2605
|
],
|
2606
|
+
ImportAttribute: [
|
2607
|
+
"key",
|
2608
|
+
"value"
|
2609
|
+
],
|
2604
2610
|
ImportDeclaration: [
|
2605
2611
|
"specifiers",
|
2606
|
-
"source"
|
2612
|
+
"source",
|
2613
|
+
"attributes"
|
2607
2614
|
],
|
2608
2615
|
ImportDefaultSpecifier: [
|
2609
2616
|
"local"
|
2610
2617
|
],
|
2611
2618
|
ImportExpression: [
|
2612
|
-
"source"
|
2619
|
+
"source",
|
2620
|
+
"options"
|
2613
2621
|
],
|
2614
2622
|
ImportNamespaceSpecifier: [
|
2615
2623
|
"local"
|
@@ -2778,16 +2786,14 @@ for (const type of NODE_TYPES) {
|
|
2778
2786
|
Object.freeze(KEYS);
|
2779
2787
|
var visitor_keys_default = KEYS;
|
2780
2788
|
|
2781
|
-
// ../../node_modules/.pnpm/eslint-visitor-keys@4.
|
2789
|
+
// ../../node_modules/.pnpm/eslint-visitor-keys@4.2.0/node_modules/eslint-visitor-keys/lib/index.js
|
2782
2790
|
function unionWith(additionalKeys) {
|
2783
2791
|
const retv = (
|
2784
|
-
/** @type {{
|
2785
|
-
[type: string]: ReadonlyArray<string>
|
2786
|
-
}} */
|
2792
|
+
/** @type {{ [type: string]: ReadonlyArray<string> }} */
|
2787
2793
|
Object.assign({}, visitor_keys_default)
|
2788
2794
|
);
|
2789
2795
|
for (const type of Object.keys(additionalKeys)) {
|
2790
|
-
if (Object.
|
2796
|
+
if (Object.hasOwn(retv, type)) {
|
2791
2797
|
const keys = new Set(additionalKeys[type]);
|
2792
2798
|
for (const key of retv[type]) {
|
2793
2799
|
keys.add(key);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vue-vine/eslint-parser",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.30",
|
4
4
|
"description": "ESLint parser for Vue Vine",
|
5
5
|
"author": "ShenQingchuan",
|
6
6
|
"license": "MIT",
|
@@ -39,7 +39,7 @@
|
|
39
39
|
"@types/lodash": "^4.14.201",
|
40
40
|
"@types/node": "^20.9.2",
|
41
41
|
"@types/semver": "^7.5.5",
|
42
|
-
"eslint": "
|
42
|
+
"eslint": "~9.6.0",
|
43
43
|
"lodash": "^4.17.21"
|
44
44
|
},
|
45
45
|
"scripts": {
|