graphql-relay-walker 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/graphql-relay-walker.gemspec +1 -1
- data/lib/graphql/relay/walker/query_builder.rb +5 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da23731da9c7227835bba494776aef1d9619873a
|
4
|
+
data.tar.gz: 86929b6a7eb0a392ad29effec1975f11e240786b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d78df32cc44c7496601ff4adcb1fc527a0d0337ac34fd13d1c47767462887e901e83a2d23559abd5331a5b413f2fed2733c73f3f777c82568136888a1e3442b7
|
7
|
+
data.tar.gz: 6587c0bae7a2ce6d2dc48dff94aeb75a54faded287faf041842f00de628f3306b19f12b0d04eba54f10d30e6685053b5a38b58c651e0497e1d49526382304877
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "graphql-relay-walker"
|
3
|
-
s.version = "0.0.
|
3
|
+
s.version = "0.0.8"
|
4
4
|
s.licenses = ["MIT"]
|
5
5
|
s.summary = "A tool for traversing your GraphQL schema to proactively detect potential data access vulnerabilities."
|
6
6
|
s.authors = ["Ben Toews"]
|
@@ -244,7 +244,11 @@ module GraphQL::Relay::Walker
|
|
244
244
|
12.times.map { (SecureRandom.random_number(26) + 97).chr }.join
|
245
245
|
end
|
246
246
|
|
247
|
-
if GraphQL::VERSION >= "1.
|
247
|
+
if GraphQL::VERSION >= "1.5.6"
|
248
|
+
def valid_input?(type, input)
|
249
|
+
type.valid_isolated_input?(input)
|
250
|
+
end
|
251
|
+
elsif GraphQL::VERSION >= "1.4.0"
|
248
252
|
def valid_input?(type, input)
|
249
253
|
allow_all = GraphQL::Schema::Warden.new(->(_) { false }, schema: schema, context: nil)
|
250
254
|
type.valid_input?(input, allow_all)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphql-relay-walker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Toews
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphql
|
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
102
|
version: '0'
|
103
103
|
requirements: []
|
104
104
|
rubyforge_project:
|
105
|
-
rubygems_version: 2.
|
105
|
+
rubygems_version: 2.5.1
|
106
106
|
signing_key:
|
107
107
|
specification_version: 4
|
108
108
|
summary: A tool for traversing your GraphQL schema to proactively detect potential
|