Skip to content

Commit 74ad410

Browse files
committed
bump version and some fixes to resolvesComposition
1 parent 88303f1 commit 74ad410

File tree

3 files changed

+101
-40
lines changed

3 files changed

+101
-40
lines changed

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"dependencies": {
1414
"@graphql-modules/di": "0.7.1",
1515
"apollo-server-caching": "0.4.0",
16-
"graphql-toolkit": "0.2.9",
16+
"graphql-toolkit": "0.2.11",
1717
"graphql-tools": "4.0.4",
1818
"tslib": "1.9.3"
1919
},

packages/core/src/graphql-module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,7 @@ export class GraphQLModule<Config = any, Session extends object = any, Context =
983983
return resolver.call(typeResolvers, root, moduleContext, info);
984984
};
985985
}
986-
} else if (resolver && typeof resolver === 'object' && 'subscribe' in resolver) {
986+
} else if (resolver && typeof resolver === 'object' && resolver['subscribe']) {
987987
const subscriber = resolver['subscribe'];
988988
typeResolvers[prop]['subscribe'] = async (root: any, args: any, appContext: any, info: any) => {
989989
if (appContext instanceof Promise) {

yarn.lock

Lines changed: 99 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,17 @@
4848
source-map "^0.5.0"
4949
trim-right "^1.0.1"
5050

51+
"@babel/generator@^7.4.4":
52+
version "7.4.4"
53+
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.4.4.tgz#174a215eb843fc392c7edcaabeaa873de6e8f041"
54+
integrity sha512-53UOLK6TVNqKxf7RUh8NE851EHRxOOeVXKbK2bivdb+iziMyk03Sr4eaE9OELCbyZAAafAKPDwF2TPUES5QbxQ==
55+
dependencies:
56+
"@babel/types" "^7.4.4"
57+
jsesc "^2.5.1"
58+
lodash "^4.17.11"
59+
source-map "^0.5.0"
60+
trim-right "^1.0.1"
61+
5162
"@babel/helper-function-name@^7.1.0":
5263
version "7.1.0"
5364
resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.1.0.tgz#a0ceb01685f73355d4360c1247f582bfafc8ff53"
@@ -76,6 +87,13 @@
7687
dependencies:
7788
"@babel/types" "^7.0.0"
7889

90+
"@babel/helper-split-export-declaration@^7.4.4":
91+
version "7.4.4"
92+
resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.4.4.tgz#ff94894a340be78f53f06af038b205c49d993677"
93+
integrity sha512-Ro/XkzLf3JFITkW6b+hNxzZ1n5OQ80NvIUdmHspih1XAhtN3vPTuUFT4eQnela+2MaZ5ulH+iyP513KJrxbN7Q==
94+
dependencies:
95+
"@babel/types" "^7.4.4"
96+
7997
"@babel/helpers@^7.2.0":
8098
version "7.3.1"
8199
resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.3.1.tgz#949eec9ea4b45d3210feb7dc1c22db664c9e44b9"
@@ -94,7 +112,7 @@
94112
esutils "^2.0.2"
95113
js-tokens "^4.0.0"
96114

97-
"@babel/parser@^7.0.0", "@babel/parser@^7.2.0", "@babel/parser@^7.2.2", "@babel/parser@^7.2.3":
115+
"@babel/parser@^7.0.0", "@babel/parser@^7.2.2", "@babel/parser@^7.2.3":
98116
version "7.3.1"
99117
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.3.1.tgz#8f4ffd45f779e6132780835ffa7a215fa0b2d181"
100118
integrity sha512-ATz6yX/L8LEnC3dtLQnIx4ydcPxhLcoy9Vl6re00zb2w5lG6itY6Vhnr1KFRPq/FHNsgl/gh2mjNN20f9iJTTA==
@@ -104,6 +122,11 @@
104122
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.3.4.tgz#a43357e4bbf4b92a437fb9e465c192848287f27c"
105123
integrity sha512-tXZCqWtlOOP4wgCp6RjRvLmfuhnqTLy9VHwRochJBCP2nDm27JnnuFEnXFASVyQNHk36jD1tAammsCEEqgscIQ==
106124

125+
"@babel/parser@^7.4.4":
126+
version "7.4.4"
127+
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.4.4.tgz#5977129431b8fe33471730d255ce8654ae1250b6"
128+
integrity sha512-5pCS4mOsL+ANsFZGdvNLybx4wtqAZJ0MJjMHxvzI3bvIsz6sQvzW8XX92EYIkiPtIvcfG3Aj+Ir5VNyjnZhP7w==
129+
107130
"@babel/plugin-syntax-object-rest-spread@^7.0.0":
108131
version "7.2.0"
109132
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.2.0.tgz#3b7a3e733510c57e820b9142a6579ac8b0dfad2e"
@@ -127,7 +150,7 @@
127150
"@babel/parser" "^7.2.2"
128151
"@babel/types" "^7.2.2"
129152

130-
"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.1.5", "@babel/traverse@^7.1.6", "@babel/traverse@^7.2.2":
153+
"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.1.5", "@babel/traverse@^7.2.2":
131154
version "7.2.3"
132155
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.2.3.tgz#7ff50cefa9c7c0bd2d81231fdac122f3957748d8"
133156
integrity sha512-Z31oUD/fJvEWVR0lNZtfgvVt512ForCTNKYcJBGbPb1QZfve4WGH8Wsy7+Mev33/45fhP/hwQtvgusNdcCMgSw==
@@ -142,7 +165,22 @@
142165
globals "^11.1.0"
143166
lodash "^4.17.10"
144167

145-
"@babel/types@^7.0.0", "@babel/types@^7.2.0", "@babel/types@^7.2.2", "@babel/types@^7.3.0":
168+
"@babel/traverse@^7.4.4":
169+
version "7.4.4"
170+
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.4.4.tgz#0776f038f6d78361860b6823887d4f3937133fe8"
171+
integrity sha512-Gw6qqkw/e6AGzlyj9KnkabJX7VcubqPtkUQVAwkc0wUMldr3A/hezNB3Rc5eIvId95iSGkGIOe5hh1kMKf951A==
172+
dependencies:
173+
"@babel/code-frame" "^7.0.0"
174+
"@babel/generator" "^7.4.4"
175+
"@babel/helper-function-name" "^7.1.0"
176+
"@babel/helper-split-export-declaration" "^7.4.4"
177+
"@babel/parser" "^7.4.4"
178+
"@babel/types" "^7.4.4"
179+
debug "^4.1.0"
180+
globals "^11.1.0"
181+
lodash "^4.17.11"
182+
183+
"@babel/types@^7.0.0", "@babel/types@^7.2.2", "@babel/types@^7.3.0":
146184
version "7.3.0"
147185
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.3.0.tgz#61dc0b336a93badc02bf5f69c4cd8e1353f2ffc0"
148186
integrity sha512-QkFPw68QqWU1/RVPyBe8SO7lXbPfjtqAxRYQKpFpaB8yMq7X2qAqfwK5LKoQufEkSmO5NQ70O6Kc3Afk03RwXw==
@@ -151,6 +189,15 @@
151189
lodash "^4.17.10"
152190
to-fast-properties "^2.0.0"
153191

192+
"@babel/types@^7.4.4":
193+
version "7.4.4"
194+
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.4.4.tgz#8db9e9a629bb7c29370009b4b779ed93fe57d5f0"
195+
integrity sha512-dOllgYdnEFOebhkKCjzSVFqw/PmmB8pH6RGOWkY4GsboQNd47b1fBThBSwlHAq9alF9vc1M3+6oqR47R50L0tQ==
196+
dependencies:
197+
esutils "^2.0.2"
198+
lodash "^4.17.11"
199+
to-fast-properties "^2.0.0"
200+
154201
"@cnakazawa/watch@^1.0.3":
155202
version "1.0.3"
156203
resolved "https://registry.yarnpkg.com/@cnakazawa/watch/-/watch-1.0.3.tgz#099139eaec7ebf07a27c1786a3ff64f39464d2ef"
@@ -2262,7 +2309,19 @@ glob-parent@^3.1.0:
22622309
is-glob "^3.1.0"
22632310
path-dirname "^1.0.0"
22642311

2265-
[email protected], glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3:
2312+
2313+
version "7.1.4"
2314+
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255"
2315+
integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==
2316+
dependencies:
2317+
fs.realpath "^1.0.0"
2318+
inflight "^1.0.4"
2319+
inherits "2"
2320+
minimatch "^3.0.4"
2321+
once "^1.3.0"
2322+
path-is-absolute "^1.0.0"
2323+
2324+
glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3:
22662325
version "7.1.3"
22672326
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.3.tgz#3960832d3f1574108342dafd3a67b332c0969df1"
22682327
integrity sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==
@@ -2320,35 +2379,35 @@ [email protected]:
23202379
lodash "^4.17.4"
23212380
resolve-from "^4.0.0"
23222381

2323-
2324-
version "0.8.0"
2325-
resolved "https://registry.yarnpkg.com/graphql-tag-pluck/-/graphql-tag-pluck-0.8.0.tgz#604405f46dfd87f002d47c1f452f277bfc0ba92c"
2326-
integrity sha512-VxLa8OKNkRmSGmYupB+jhBynchSnkiDcGKs6ilxpAn07qMQmihI9CacCmwggIyRkkLeKsW8G7ZShS68KxUedEg==
2382+
2383+
version "0.8.1"
2384+
resolved "https://registry.yarnpkg.com/graphql-tag-pluck/-/graphql-tag-pluck-0.8.1.tgz#1740e491acf148ccb3fe31a56e58bff000dfe7ed"
2385+
integrity sha512-325c//mVY02YpgEstW/9l/Bx4MI3Cyb8mJ8xVJbfptEFEk2Ezk3aKJs9/SxL4W0/q6Cbli7QRL7JgPaFMFFQvg==
23272386
dependencies:
2328-
"@babel/parser" "^7.2.0"
2329-
"@babel/traverse" "^7.1.6"
2330-
"@babel/types" "^7.2.0"
2331-
source-map-support "^0.5.9"
2332-
typescript "^3.2.2"
2387+
"@babel/parser" "^7.4.4"
2388+
"@babel/traverse" "^7.4.4"
2389+
"@babel/types" "^7.4.4"
2390+
source-map-support "^0.5.12"
2391+
typescript "^3.4.5"
23332392

23342393
23352394
version "2.10.1"
23362395
resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.10.1.tgz#10aa41f1cd8fae5373eaf11f1f67260a3cad5e02"
23372396
integrity sha512-jApXqWBzNXQ8jYa/HLkZJaVw9jgwNqZkywa2zfFn16Iv1Zb7ELNHkJaXHR7Quvd5SIGsy6Ny7SUKATgnu05uEg==
23382397

2339-
2340-
version "0.2.9"
2341-
resolved "https://registry.yarnpkg.com/graphql-toolkit/-/graphql-toolkit-0.2.9.tgz#d8b2c3a37feee4fc6424139d1ca97366ff23bdad"
2342-
integrity sha512-ALojfCMRYb+o/kbHmnhf8Fa6QMS9I223us5jb1jxQc5n4/StYpPQDhVqb8WeAp8OA68D6k1Zxtz2uLyutR9KAw==
2398+
2399+
version "0.2.11"
2400+
resolved "https://registry.yarnpkg.com/graphql-toolkit/-/graphql-toolkit-0.2.11.tgz#4849349d9a0c6689b7c8d635f553793940fa6149"
2401+
integrity sha512-8iR9XFKe9fcZ0Q4rakrVIgM+vXbe3HnkeppdHn9CxwT/0rRXZE6CFFRm4UD0cocrA5ibkrxsajlDta8M6cRbpw==
23432402
dependencies:
23442403
aggregate-error "2.2.0"
23452404
asyncro "^3.0.0"
23462405
deepmerge "3.2.0"
2347-
glob "7.1.3"
2406+
glob "7.1.4"
23482407
graphql-import "0.7.1"
2349-
graphql-tag-pluck "0.8.0"
2408+
graphql-tag-pluck "0.8.1"
23502409
graphql-tools "4.0.4"
2351-
is-glob "4.0.0"
2410+
is-glob "4.0.1"
23522411
is-valid-path "0.1.1"
23532412
lodash "4.17.11"
23542413
request "2.88.0"
@@ -2765,10 +2824,10 @@ is-generator-fn@^2.0.0:
27652824
resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.0.0.tgz#038c31b774709641bda678b1f06a4e3227c10b3e"
27662825
integrity sha512-elzyIdM7iKoFHzcrndIqjYomImhxrFRnGP3galODoII4TB9gI7mZ+FnlLQmmjf27SxHS2gKEeyhX5/+YRS6H9g==
27672826

2768-
[email protected].0, is-glob@^4.0.0:
2769-
version "4.0.0"
2770-
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.0.tgz#9521c76845cc2610a85203ddf080a958c2ffabc0"
2771-
integrity sha1-lSHHaEXMJhCoUgPd8ICpWML/q8A=
2827+
2828+
version "4.0.1"
2829+
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc"
2830+
integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==
27722831
dependencies:
27732832
is-extglob "^2.1.1"
27742833

@@ -2786,6 +2845,13 @@ is-glob@^3.1.0:
27862845
dependencies:
27872846
is-extglob "^2.1.0"
27882847

2848+
is-glob@^4.0.0:
2849+
version "4.0.0"
2850+
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.0.tgz#9521c76845cc2610a85203ddf080a958c2ffabc0"
2851+
integrity sha1-lSHHaEXMJhCoUgPd8ICpWML/q8A=
2852+
dependencies:
2853+
is-extglob "^2.1.1"
2854+
27892855
is-invalid-path@^0.1.0:
27902856
version "0.1.0"
27912857
resolved "https://registry.yarnpkg.com/is-invalid-path/-/is-invalid-path-0.1.0.tgz#307a855b3cf1a938b44ea70d2c61106053714f34"
@@ -5267,18 +5333,18 @@ source-map-resolve@^0.5.0:
52675333
source-map-url "^0.4.0"
52685334
urix "^0.1.0"
52695335

5270-
source-map-support@^0.5.6:
5271-
version "0.5.9"
5272-
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.9.tgz#41bc953b2534267ea2d605bccfa7bfa3111ced5f"
5273-
integrity sha512-gR6Rw4MvUlYy83vP0vxoVNzM6t8MUXqNuRsuBmBHQDu1Fh6X015FrLdgoDKcNdkwGubozq0P4N0Q37UyFVr1EA==
5336+
source-map-support@^0.5.12:
5337+
version "0.5.12"
5338+
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.12.tgz#b4f3b10d51857a5af0138d3ce8003b201613d599"
5339+
integrity sha512-4h2Pbvyy15EE02G+JOZpUCmqWJuqrs+sEkzewTm++BPi7Hvn/HwcqLAcNxYAyI0x13CpPPn+kMjl+hplXMHITQ==
52745340
dependencies:
52755341
buffer-from "^1.0.0"
52765342
source-map "^0.6.0"
52775343

5278-
source-map-support@^0.5.9:
5279-
version "0.5.10"
5280-
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.10.tgz#2214080bc9d51832511ee2bab96e3c2f9353120c"
5281-
integrity sha512-YfQ3tQFTK/yzlGJuX8pTwa4tifQj4QS2Mj7UegOu8jAz59MqIiMGPXxQhVQiIMNzayuUSF/jEuVnfFF5JqybmQ==
5344+
source-map-support@^0.5.6:
5345+
version "0.5.9"
5346+
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.9.tgz#41bc953b2534267ea2d605bccfa7bfa3111ced5f"
5347+
integrity sha512-gR6Rw4MvUlYy83vP0vxoVNzM6t8MUXqNuRsuBmBHQDu1Fh6X015FrLdgoDKcNdkwGubozq0P4N0Q37UyFVr1EA==
52825348
dependencies:
52835349
buffer-from "^1.0.0"
52845350
source-map "^0.6.0"
@@ -5843,16 +5909,11 @@ [email protected]:
58435909
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.1.6.tgz#b6543a83cfc8c2befb3f4c8fba6896f5b0c9be68"
58445910
integrity sha512-tDMYfVtvpb96msS1lDX9MEdHrW4yOuZ4Kdc4Him9oU796XldPYF/t2+uKoX0BBa0hXXwDlqYQbXY5Rzjzc5hBA==
58455911

5846-
5912+
[email protected], typescript@^3.4.5:
58475913
version "3.4.5"
58485914
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.4.5.tgz#2d2618d10bb566572b8d7aad5180d84257d70a99"
58495915
integrity sha512-YycBxUb49UUhdNMU5aJ7z5Ej2XGmaIBL0x34vZ82fn3hGvD+bgrMrVDpatgz2f7YxUMJxMkbWxJZeAvDxVe7Vw==
58505916

5851-
typescript@^3.2.2:
5852-
version "3.3.1"
5853-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.3.1.tgz#6de14e1db4b8a006ac535e482c8ba018c55f750b"
5854-
integrity sha512-cTmIDFW7O0IHbn1DPYjkiebHxwtCMU+eTy30ZtJNBPF9j2O1ITu5XH2YnBeVRKWHqF+3JQwWJv0Q0aUgX8W7IA==
5855-
58565917
uglify-js@^3.1.4:
58575918
version "3.4.9"
58585919
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.4.9.tgz#af02f180c1207d76432e473ed24a28f4a782bae3"

0 commit comments

Comments
 (0)