File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " GraphQL"
3
- version = " 15.5.3 "
3
+ version = " 15.5.4 "
4
4
authors = [
5
5
" Chris Trześniewski <k.trzesniewski@gmail.com>" ,
6
6
" Ignacio Falk <flakolefluk@gmail.com>" ,
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ local getDirectiveLocationForOperation
32
32
-- * A GraphQL document is only valid if all `@directives` are known by the
33
33
-- * schema and legally positioned.
34
34
-- */
35
- exports . KnownDirectivesRule = function (context )
35
+ local function KnownDirectivesRule (context )
36
36
local locationsMap = {}
37
37
38
38
local schema = context :getSchema ()
@@ -78,6 +78,7 @@ exports.KnownDirectivesRule = function(context)
78
78
end ,
79
79
}
80
80
end
81
+ exports .KnownDirectivesRule = KnownDirectivesRule
81
82
82
83
function getDirectiveLocationForASTPath (ancestors )
83
84
local appliedTo = ancestors [# ancestors ]
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ local exports = {}
17
17
-- * A GraphQL document is only valid if all fragment definitions are spread
18
18
-- * within operations, or spread within other fragments spread within operations.
19
19
-- */
20
- exports . NoUnusedFragmentsRule = function (context )
20
+ local function NoUnusedFragmentsRule (context )
21
21
local operationDefs = {}
22
22
local fragmentDefs = {}
23
23
@@ -54,5 +54,6 @@ exports.NoUnusedFragmentsRule = function(context)
54
54
},
55
55
}
56
56
end
57
+ exports .NoUnusedFragmentsRule = NoUnusedFragmentsRule
57
58
58
59
return exports
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ local exports = {}
17
17
-- * A GraphQL operation is only valid if all variables defined by an operation
18
18
-- * are used, either directly or within a spread fragment.
19
19
-- */
20
- exports . NoUnusedVariablesRule = function (context )
20
+ local function NoUnusedVariablesRule (context )
21
21
local variableDefs = {}
22
22
23
23
return {
@@ -57,5 +57,6 @@ exports.NoUnusedVariablesRule = function(context)
57
57
end ,
58
58
}
59
59
end
60
+ exports .NoUnusedVariablesRule = NoUnusedVariablesRule
60
61
61
62
return exports
You can’t perform that action at this time.
0 commit comments