Skip to content

Commit 34018fb

Browse files
committed
fix: add [email protected] as peerDependency
1 parent a964df8 commit 34018fb

File tree

3 files changed

+64
-53
lines changed

3 files changed

+64
-53
lines changed

package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626
"babel-runtime": "^6.26.0"
2727
},
2828
"peerDependencies": {
29-
"graphql-compose": ">=2.10.1 || >=3.0.0"
29+
"graphql-compose": ">=2.10.1 || >=3.0.0 || >=4.0.0"
3030
},
3131
"devDependencies": {
32-
"aws-sdk": "^2.219.1",
32+
"aws-sdk": "^2.224.1",
3333
"babel-cli": "^6.26.0",
34-
"babel-eslint": "^8.2.2",
34+
"babel-eslint": "^8.2.3",
3535
"babel-jest": "^22.4.3",
3636
"babel-plugin-transform-flow-strip-types": "^6.22.0",
3737
"babel-plugin-transform-object-rest-spread": "^6.26.0",
@@ -41,20 +41,20 @@
4141
"eslint": "^4.19.1",
4242
"eslint-config-airbnb-base": "^12.0.1",
4343
"eslint-config-prettier": "^2.9.0",
44-
"eslint-plugin-flowtype": "^2.46.1",
45-
"eslint-plugin-import": "^2.10.0",
44+
"eslint-plugin-flowtype": "^2.46.2",
45+
"eslint-plugin-import": "^2.11.0",
4646
"eslint-plugin-prettier": "^2.6.0",
4747
"express": "^4.16.3",
4848
"express-graphql": "^0.6.12",
49-
"flow-bin": "^0.69.0",
49+
"flow-bin": "^0.70.0",
5050
"graphql": "0.13.2",
51-
"graphql-compose": "^3.1.1",
51+
"graphql-compose": "^4.0.0",
5252
"jest": "^22.4.3",
5353
"nodemon": "^1.17.3",
5454
"npm-run-all": "^4.1.2",
55-
"prettier": "^1.11.1",
55+
"prettier": "^1.12.0",
5656
"rimraf": "^2.6.2",
57-
"semantic-release": "^15.1.4"
57+
"semantic-release": "^15.1.7"
5858
},
5959
"config": {
6060
"commitizen": {

src/__tests__/AwsParam-test.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ describe('AwsParam', () => {
8484
const itc = AwsParam.convertInputStructure(param, 'AwsS3Bucket');
8585
expect(itc).toBeInstanceOf(InputTypeComposer);
8686
expect(itc.getTypeName()).toBe('AwsS3BucketInput');
87-
expect(itc.getField('Bucket').type).toBeInstanceOf(GraphQLNonNull);
88-
expect(itc.getField('Bucket').type.ofType).toBe(GraphQLString);
89-
expect(itc.getField('Delimiter').type).toBe(GraphQLString);
87+
expect(itc.getFieldType('Bucket')).toBeInstanceOf(GraphQLNonNull);
88+
expect((itc.getFieldType('Bucket'): any).ofType).toBe(GraphQLString);
89+
expect(itc.getFieldType('Delimiter')).toBe(GraphQLString);
9090
});
9191

9292
it('static convertOutputStructure()', () => {
@@ -108,8 +108,8 @@ describe('AwsParam', () => {
108108
const tc = AwsParam.convertOutputStructure(param, 'AwsS3Bucket');
109109
expect(tc).toBeInstanceOf(TypeComposer);
110110
expect(tc.getTypeName()).toBe('AwsS3Bucket');
111-
expect(tc.getField('Bucket').type).toBeInstanceOf(GraphQLNonNull);
112-
expect(tc.getField('Bucket').type.ofType).toBe(GraphQLString);
113-
expect(tc.getField('Delimiter').type).toBe(GraphQLString);
111+
expect(tc.getFieldType('Bucket')).toBeInstanceOf(GraphQLNonNull);
112+
expect((tc.getFieldType('Bucket'): any).ofType).toBe(GraphQLString);
113+
expect(tc.getFieldType('Delimiter')).toBe(GraphQLString);
114114
});
115115
});

yarn.lock

+49-38
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# yarn lockfile v1
33

44

5-
"@babel/[email protected]", "@babel/code-frame@^7.0.0-beta.40":
5+
66
version "7.0.0-beta.44"
77
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0-beta.44.tgz#2a02643368de80916162be70865c97774f3adbd9"
88
dependencies:
@@ -63,7 +63,7 @@
6363
babylon "7.0.0-beta.44"
6464
lodash "^4.2.0"
6565

66-
"@babel/traverse@^7.0.0-beta.40":
66+
"@babel/[email protected].44":
6767
version "7.0.0-beta.44"
6868
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.0.0-beta.44.tgz#a970a2c45477ad18017e2e465a0606feee0d2966"
6969
dependencies:
@@ -78,7 +78,7 @@
7878
invariant "^2.2.0"
7979
lodash "^4.2.0"
8080

81-
"@babel/[email protected]", "@babel/types@^7.0.0-beta.40":
81+
8282
version "7.0.0-beta.44"
8383
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.0.0-beta.44.tgz#6b1b164591f77dec0a0342aca995f2d046b3a757"
8484
dependencies:
@@ -474,9 +474,9 @@ atob@^2.0.0:
474474
version "2.0.3"
475475
resolved "https://registry.yarnpkg.com/atob/-/atob-2.0.3.tgz#19c7a760473774468f20b2d2d03372ad7d4cbf5d"
476476

477-
aws-sdk@^2.219.1:
478-
version "2.219.1"
479-
resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.219.1.tgz#d2d9705726ffd32661632e781e90bfaafd3c1693"
477+
aws-sdk@^2.224.1:
478+
version "2.224.1"
479+
resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.224.1.tgz#82fe93e10b3e818f315c35ce8667cdc8db94a0b3"
480480
dependencies:
481481
buffer "4.9.1"
482482
events "1.1.1"
@@ -578,14 +578,14 @@ babel-core@^6.26.0:
578578
slash "^1.0.0"
579579
source-map "^0.5.6"
580580

581-
babel-eslint@^8.2.2:
582-
version "8.2.2"
583-
resolved "http://registry.npmjs.org/babel-eslint/-/babel-eslint-8.2.2.tgz#1102273354c6f0b29b4ea28a65f97d122296b68b"
581+
babel-eslint@^8.2.3:
582+
version "8.2.3"
583+
resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-8.2.3.tgz#1a2e6681cc9bc4473c32899e59915e19cd6733cf"
584584
dependencies:
585-
"@babel/code-frame" "^7.0.0-beta.40"
586-
"@babel/traverse" "^7.0.0-beta.40"
587-
"@babel/types" "^7.0.0-beta.40"
588-
babylon "^7.0.0-beta.40"
585+
"@babel/code-frame" "7.0.0-beta.44"
586+
"@babel/traverse" "7.0.0-beta.44"
587+
"@babel/types" "7.0.0-beta.44"
588+
babylon "7.0.0-beta.44"
589589
eslint-scope "~3.7.1"
590590
eslint-visitor-keys "^1.0.0"
591591

@@ -1131,7 +1131,7 @@ babel-types@^6.19.0, babel-types@^6.24.1, babel-types@^6.26.0:
11311131
lodash "^4.17.4"
11321132
to-fast-properties "^1.0.3"
11331133

1134-
[email protected], babylon@^7.0.0-beta.40:
1134+
11351135
version "7.0.0-beta.44"
11361136
resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.44.tgz#89159e15e6e30c5096e22d738d8c0af8a0e8ca1d"
11371137

@@ -1315,7 +1315,7 @@ [email protected]:
13151315
ieee754 "^1.1.4"
13161316
isarray "^1.0.0"
13171317

1318-
builtin-modules@^1.0.0, builtin-modules@^1.1.1:
1318+
builtin-modules@^1.0.0:
13191319
version "1.1.1"
13201320
resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f"
13211321

@@ -2061,17 +2061,16 @@ eslint-module-utils@^2.2.0:
20612061
debug "^2.6.8"
20622062
pkg-dir "^1.0.0"
20632063

2064-
eslint-plugin-flowtype@^2.46.1:
2065-
version "2.46.1"
2066-
resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-2.46.1.tgz#c4f81d580cd89c82bc3a85a1ccf4ae3a915143a4"
2064+
eslint-plugin-flowtype@^2.46.2:
2065+
version "2.46.2"
2066+
resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-2.46.2.tgz#8749fddda6f6c30d0672011151bea726765b5753"
20672067
dependencies:
20682068
lodash "^4.15.0"
20692069

2070-
eslint-plugin-import@^2.10.0:
2071-
version "2.10.0"
2072-
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.10.0.tgz#fa09083d5a75288df9c6c7d09fe12255985655e7"
2070+
eslint-plugin-import@^2.11.0:
2071+
version "2.11.0"
2072+
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.11.0.tgz#15aeea37a67499d848e8e981806d4627b5503816"
20732073
dependencies:
2074-
builtin-modules "^1.1.1"
20752074
contains-path "^0.1.0"
20762075
debug "^2.6.8"
20772076
doctrine "1.5.0"
@@ -2081,6 +2080,7 @@ eslint-plugin-import@^2.10.0:
20812080
lodash "^4.17.4"
20822081
minimatch "^3.0.3"
20832082
read-pkg-up "^2.0.0"
2083+
resolve "^1.6.0"
20842084

20852085
eslint-plugin-prettier@^2.6.0:
20862086
version "2.6.0"
@@ -2493,9 +2493,9 @@ flat-cache@^1.2.1:
24932493
graceful-fs "^4.1.2"
24942494
write "^0.2.1"
24952495

2496-
flow-bin@^0.69.0:
2497-
version "0.69.0"
2498-
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.69.0.tgz#053159a684a6051fcbf0b71a2eb19a9679082da6"
2496+
flow-bin@^0.70.0:
2497+
version "0.70.0"
2498+
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.70.0.tgz#080ae83a997f2b4ddb3dc2649bf13336825292b5"
24992499

25002500
for-in@^1.0.1, for-in@^1.0.2:
25012501
version "1.0.2"
@@ -2707,11 +2707,12 @@ git-url-parse@^8.0.0:
27072707
dependencies:
27082708
git-up "^2.0.0"
27092709

2710-
git-url-parse@^8.1.0:
2711-
version "8.2.0"
2712-
resolved "https://registry.yarnpkg.com/git-url-parse/-/git-url-parse-8.2.0.tgz#74969b0105f805df58873ee5b96bc1a4dc0573b1"
2710+
git-url-parse@^9.0.0:
2711+
version "9.0.0"
2712+
resolved "https://registry.yarnpkg.com/git-url-parse/-/git-url-parse-9.0.0.tgz#a82a36acc3544c77ed0984d6488b37fbcfbec24d"
27132713
dependencies:
27142714
git-up "^2.0.0"
2715+
parse-domain "^2.0.0"
27152716

27162717
glob-base@^0.3.0:
27172718
version "0.3.0"
@@ -2809,9 +2810,9 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.4, graceful-fs@^4.1.6:
28092810
version "4.1.11"
28102811
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
28112812

2812-
graphql-compose@^3.1.1:
2813-
version "3.1.1"
2814-
resolved "https://registry.yarnpkg.com/graphql-compose/-/graphql-compose-3.1.1.tgz#97fcf4f4a0aa5d58906eb9ec4166cbf426437c73"
2813+
graphql-compose@^4.0.0:
2814+
version "4.0.0"
2815+
resolved "https://registry.yarnpkg.com/graphql-compose/-/graphql-compose-4.0.0.tgz#6b260dc4e220c33feae46e50e34edd9072ef0244"
28152816
dependencies:
28162817
babel-runtime "^6.26.0"
28172818
object-path "^0.11.4"
@@ -4711,6 +4712,10 @@ package-json@^4.0.0:
47114712
registry-url "^3.0.3"
47124713
semver "^5.1.0"
47134714

4715+
parse-domain@^2.0.0:
4716+
version "2.0.0"
4717+
resolved "https://registry.yarnpkg.com/parse-domain/-/parse-domain-2.0.0.tgz#e9f42f697c30f7c2051dc5c55ff4d8a80da7943c"
4718+
47144719
parse-github-url@^1.0.1:
47154720
version "1.0.2"
47164721
resolved "https://registry.yarnpkg.com/parse-github-url/-/parse-github-url-1.0.2.tgz#242d3b65cbcdda14bb50439e3242acf6971db395"
@@ -4882,9 +4887,9 @@ preserve@^0.2.0:
48824887
version "0.2.0"
48834888
resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"
48844889

4885-
prettier@^1.11.1:
4886-
version "1.11.1"
4887-
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.11.1.tgz#61e43fc4cd44e68f2b0dfc2c38cd4bb0fccdcc75"
4890+
prettier@^1.12.0:
4891+
version "1.12.0"
4892+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.12.0.tgz#d26fc5894b9230de97629b39cae225b503724ce8"
48884893

48894894
pretty-format@^22.4.3:
48904895
version "22.4.3"
@@ -5377,6 +5382,12 @@ resolve@^1.2.0:
53775382
dependencies:
53785383
path-parse "^1.0.5"
53795384

5385+
resolve@^1.6.0:
5386+
version "1.7.1"
5387+
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.7.1.tgz#aadd656374fd298aee895bc026b8297418677fd3"
5388+
dependencies:
5389+
path-parse "^1.0.5"
5390+
53805391
restore-cursor@^2.0.0:
53815392
version "2.0.0"
53825393
resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf"
@@ -5468,9 +5479,9 @@ sax@>=0.6.0, sax@^1.2.4:
54685479
version "1.2.4"
54695480
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
54705481

5471-
semantic-release@^15.1.4:
5472-
version "15.1.4"
5473-
resolved "https://registry.yarnpkg.com/semantic-release/-/semantic-release-15.1.4.tgz#000ddbd8a8977dc1a68cacfbeef2fb551e4b9791"
5482+
semantic-release@^15.1.7:
5483+
version "15.1.7"
5484+
resolved "https://registry.yarnpkg.com/semantic-release/-/semantic-release-15.1.7.tgz#b29eef1b9443f75addab7c2e353338b72b9b628d"
54745485
dependencies:
54755486
"@semantic-release/commit-analyzer" "^5.0.0"
54765487
"@semantic-release/error" "^2.2.0"
@@ -5485,7 +5496,7 @@ semantic-release@^15.1.4:
54855496
execa "^0.10.0"
54865497
get-stream "^3.0.0"
54875498
git-log-parser "^1.2.0"
5488-
git-url-parse "^8.1.0"
5499+
git-url-parse "^9.0.0"
54895500
hook-std "^0.4.0"
54905501
hosted-git-info "^2.6.0"
54915502
lodash "^4.17.4"

0 commit comments

Comments
 (0)