@graphql-eslint/eslint-plugin 2.5.0-alpha-f60e6aa.0 → 2.5.0-alpha-b1fd519.0
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/index.js +1 -6
- package/index.mjs +1 -6
- package/package.json +7 -7
package/index.js
CHANGED
@@ -3634,12 +3634,7 @@ function getReachableTypes(schema) {
|
|
3634
3634
|
Directive: collect,
|
3635
3635
|
NamedType: collect,
|
3636
3636
|
};
|
3637
|
-
for (const type of [
|
3638
|
-
schema,
|
3639
|
-
schema.getQueryType(),
|
3640
|
-
schema.getMutationType(),
|
3641
|
-
schema.getSubscriptionType(),
|
3642
|
-
]) {
|
3637
|
+
for (const type of [schema.getQueryType(), schema.getMutationType(), schema.getSubscriptionType()]) {
|
3643
3638
|
if (type) {
|
3644
3639
|
graphql.visit(type.astNode, visitor);
|
3645
3640
|
}
|
package/index.mjs
CHANGED
@@ -3628,12 +3628,7 @@ function getReachableTypes(schema) {
|
|
3628
3628
|
Directive: collect,
|
3629
3629
|
NamedType: collect,
|
3630
3630
|
};
|
3631
|
-
for (const type of [
|
3632
|
-
schema,
|
3633
|
-
schema.getQueryType(),
|
3634
|
-
schema.getMutationType(),
|
3635
|
-
schema.getSubscriptionType(),
|
3636
|
-
]) {
|
3631
|
+
for (const type of [schema.getQueryType(), schema.getMutationType(), schema.getSubscriptionType()]) {
|
3637
3632
|
if (type) {
|
3638
3633
|
visit(type.astNode, visitor);
|
3639
3634
|
}
|
package/package.json
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
{
|
2
2
|
"name": "@graphql-eslint/eslint-plugin",
|
3
|
-
"version": "2.5.0-alpha-
|
3
|
+
"version": "2.5.0-alpha-b1fd519.0",
|
4
4
|
"sideEffects": false,
|
5
5
|
"peerDependencies": {
|
6
6
|
"graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
|
7
7
|
},
|
8
8
|
"dependencies": {
|
9
|
-
"@graphql-tools/code-file-loader": "
|
10
|
-
"@graphql-tools/graphql-tag-pluck": "
|
11
|
-
"@graphql-tools/import": "
|
12
|
-
"@graphql-tools/utils": "
|
13
|
-
"graphql-config": "
|
9
|
+
"@graphql-tools/code-file-loader": "7.2.2",
|
10
|
+
"@graphql-tools/graphql-tag-pluck": "7.1.3",
|
11
|
+
"@graphql-tools/import": "6.6.1",
|
12
|
+
"@graphql-tools/utils": "8.5.3",
|
13
|
+
"graphql-config": "4.1.0",
|
14
14
|
"graphql-depth-limit": "1.1.0",
|
15
|
-
"lodash.lowercase": "
|
15
|
+
"lodash.lowercase": "4.3.0"
|
16
16
|
},
|
17
17
|
"repository": "https://github.com/dotansimha/graphql-eslint",
|
18
18
|
"author": "Dotan Simha <dotansimha@gmail.com>",
|