Skip to content

Commit 7d90f9e

Browse files
committed
chore(Package): Update dependencies
1 parent 74a71d0 commit 7d90f9e

File tree

7 files changed

+709
-454
lines changed

7 files changed

+709
-454
lines changed

.flowconfig

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,37 @@
55
.*/resources/.*
66
<PROJECT_ROOT>/lib/.*
77
<PROJECT_ROOT>/dist/.*
8+
.*/node_modules/ajv.*
9+
.*/node_modules/acorn.*
10+
.*/node_modules/async.*
11+
.*/node_modules/babel.*
12+
.*/node_modules/bluebird.*
13+
.*/node_modules/caniuse-db.*
14+
.*/node_modules/config-chain.*
15+
.*/node_modules/conventional-changelog.*
16+
.*/node_modules/core-js.*
17+
.*/node_modules/cssstyle.*
18+
.*/node_modules/diff.*
19+
.*/node_modules/es5-ext.*
20+
.*/node_modules/escope.*
21+
.*/node_modules/escodegen.*
22+
.*/node_modules/eslint.*
23+
.*/node_modules/github.*
24+
.*/node_modules/fsevents.*
25+
.*/node_modules/jsdoctypeparser.*
26+
.*/node_modules/jsdom.*
27+
.*/node_modules/iconv.*
28+
.*/node_modules/istanbul.*
29+
.*/node_modules/handlebars.*
30+
.*/node_modules/markdown.*
31+
.*/node_modules/node-notifier.*
32+
.*/node_modules/npmconf.*
33+
.*/node_modules/prettier.*
34+
.*/node_modules/source-map.*
35+
.*/node_modules/travis.*
36+
.*/node_modules/uglify.*
37+
.*/node_modules/yargs.*
38+
839

940
[include]
1041

@@ -13,6 +44,4 @@
1344
[options]
1445
esproposal.class_instance_fields=enable
1546
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
16-
17-
[version]
18-
0.38.0
47+
unsafe.enable_getters_and_setters=true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![travis build](https://img.shields.io/travis/nodkz/graphql-compose-relay.svg)](https://travis-ci.org/nodkz/graphql-compose-relay)
44
[![codecov coverage](https://img.shields.io/codecov/c/github/nodkz/graphql-compose-relay.svg)](https://codecov.io/github/nodkz/graphql-compose-relay)
55
[![](https://img.shields.io/npm/v/graphql-compose-relay.svg)](https://www.npmjs.com/package/graphql-compose-relay)
6-
[![npm](https://img.shields.io/npm/dt/graphql-compose-relay.svg)](https://www.npmjs.com/package/graphql-compose-relay)
6+
[![npm](https://img.shields.io/npm/dt/graphql-compose-relay.svg)](http://www.npmtrends.com/graphql-compose-relay)
77
[![Join the chat at https://gitter.im/graphql-compose/Lobby](https://badges.gitter.im/nodkz/graphql-compose.svg)](https://gitter.im/graphql-compose/Lobby)
88
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
99

package.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -25,38 +25,38 @@
2525
"homepage": "https://github.com/nodkz/graphql-compose-relay",
2626
"peerDependencies": {
2727
"graphql": ">=0.7.1 || >=0.8.0 || >=0.9.0",
28-
"graphql-compose": ">=1.4.0"
28+
"graphql-compose": ">=1.19.3"
2929
},
3030
"devDependencies": {
31-
"babel-cli": "^6.22.2",
32-
"babel-core": "^6.22.1",
33-
"babel-eslint": "^7.1.1",
31+
"babel-cli": "^6.24.1",
32+
"babel-core": "^6.24.1",
33+
"babel-eslint": "^7.2.3",
3434
"babel-plugin-syntax-async-functions": "6.13.0",
35-
"babel-plugin-transform-class-properties": "^6.22.0",
35+
"babel-plugin-transform-class-properties": "^6.24.1",
3636
"babel-plugin-transform-flow-strip-types": "^6.22.0",
37-
"babel-plugin-transform-object-rest-spread": "^6.22.0",
38-
"babel-plugin-transform-regenerator": "^6.22.0",
39-
"babel-plugin-transform-runtime": "^6.22.0",
40-
"babel-preset-es2015": "^6.22.0",
41-
"chai": "3.5.0",
37+
"babel-plugin-transform-object-rest-spread": "^6.23.0",
38+
"babel-plugin-transform-regenerator": "^6.24.1",
39+
"babel-plugin-transform-runtime": "^6.23.0",
40+
"babel-preset-es2015": "^6.24.1",
41+
"chai": "^4.0.1",
4242
"chai-as-promised": "^6.0.0",
4343
"chai-spies": "0.7.1",
44-
"cz-conventional-changelog": "1.2.0",
45-
"eslint": "^3.14.0",
46-
"eslint-config-airbnb-base": "^11.0.1",
47-
"eslint-plugin-flowtype": "^2.30.0",
48-
"eslint-plugin-import": "^2.2.0",
49-
"flow-bin": "^0.38.0",
50-
"graphql": "^0.9.0",
51-
"graphql-compose": "^1.10.0",
52-
"mocha": "^3.2.0",
53-
"nyc": "^10.1.2",
54-
"rimraf": "2.5.4",
55-
"sane": "^1.5.0",
56-
"semantic-release": "^6.3.2"
44+
"cz-conventional-changelog": "^2.0.0",
45+
"eslint": "^3.19.0",
46+
"eslint-config-airbnb-base": "^11.2.0",
47+
"eslint-plugin-flowtype": "^2.34.0",
48+
"eslint-plugin-import": "^2.3.0",
49+
"flow-bin": "^0.47.0",
50+
"graphql": "^0.10.1",
51+
"graphql-compose": "^1.19.3",
52+
"mocha": "^3.4.2",
53+
"nyc": "^11.0.2",
54+
"rimraf": "^2.6.1",
55+
"sane": "^1.7.0",
56+
"semantic-release": "^6.3.6"
5757
},
5858
"dependencies": {
59-
"babel-runtime": "^6.22.0"
59+
"babel-runtime": "^6.23.0"
6060
},
6161
"config": {
6262
"commitizen": {
@@ -84,7 +84,7 @@
8484
"lint": "eslint src test *.js",
8585
"test": "babel-node ./node_modules/.bin/_mocha --compilers js:babel-core/register --reporter dot --require ./resources/mocha-bootload src/**/__tests__/**/*-test.js",
8686
"watch": "babel-node ./resources/watch.js",
87-
"link": "yarn link graphql && yarn link graphql-compose && yarn link",
87+
"link": "yarn build && yarn link graphql && yarn link graphql-compose && yarn link",
8888
"unlink": "yarn unlink graphql && yarn unlink graphql-compose && yarn add graphql graphql-compose",
8989
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
9090
}

src/__tests__/composeWithRelay-test.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ describe('composeWithRelay', () => {
3636
it('should thow error if typeComposer does not have findById resolver', () => {
3737
const tc = userTypeComposer.clone('AnotherUserType');
3838
tc.removeResolver('findById');
39-
expect(() => composeWithRelay(tc)).to.throw('should have findById resolver');
39+
expect(() => composeWithRelay(tc)).to.throw('does not have resolver with name \'findById\'');
4040
});
4141
});
4242

@@ -45,7 +45,7 @@ describe('composeWithRelay', () => {
4545
const nodeField = rootQueryComposer.getField('node');
4646
expect(nodeField).to.be.ok;
4747
expect(nodeField).property('type').instanceof(GraphQLInterfaceType);
48-
expect(nodeField).deep.property('type.name').to.equal('Node');
48+
expect(nodeField).nested.property('type.name').to.equal('Node');
4949
});
5050
});
5151

@@ -74,8 +74,8 @@ describe('composeWithRelay', () => {
7474
}
7575
}`;
7676
const result = await graphql(schema, query);
77-
expect(result).deep.property('data.user.id').equal(toGlobalId('User', 1));
78-
expect(result).deep.property('data.user.name').equal('Pavel');
77+
expect(result).nested.property('data.user.id').equal(toGlobalId('User', 1));
78+
expect(result).nested.property('data.user.name').equal('Pavel');
7979
});
8080

8181
it('should resolve globalId in `node.id` field', async () => {
@@ -95,8 +95,8 @@ describe('composeWithRelay', () => {
9595
name
9696
}`;
9797
const result = await graphql(schema, query);
98-
expect(result).deep.property('data.node.id').equal(toGlobalId('User', 1));
99-
expect(result).deep.property('data.node.name').equal('Pavel');
98+
expect(result).nested.property('data.node.id').equal(toGlobalId('User', 1));
99+
expect(result).nested.property('data.node.name').equal('Pavel');
100100
});
101101

102102
it('should passthru clientMutationId in mutations', async () => {
@@ -116,9 +116,9 @@ describe('composeWithRelay', () => {
116116
}
117117
}`;
118118
const result = await graphql(schema, query);
119-
expect(result).deep.property('data.createUser.record.name')
119+
expect(result).nested.property('data.createUser.record.name')
120120
.equal('Ok');
121-
expect(result).deep.property('data.createUser.clientMutationId')
121+
expect(result).nested.property('data.createUser.clientMutationId')
122122
.equal('123');
123123
});
124124
});

src/__tests__/nodeFieldConfig-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ describe('nodeFieldConfig', () => {
2020
it('should have type GraphQLInterfaceType', () => {
2121
expect(config).to.be.ok;
2222
expect(config).property('type').instanceof(GraphQLInterfaceType);
23-
expect(config).deep.property('type.name').to.equal('Node');
23+
expect(config).nested.property('type.name').to.equal('Node');
2424
});
2525

2626
it('should have args with id', () => {
27-
expect(config).deep.property('args.id.type').instanceof(GraphQLNonNull);
27+
expect(config).nested.property('args.id.type').instanceof(GraphQLNonNull);
2828
});
2929

3030
it('should have resolve function', () => {

src/__tests__/wrapMutationResolver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ describe('wrapMutationResolver', () => {
3131
expect(fieldConfigManyArgsWithoutInput.args).property('input').to.be.ok;
3232

3333
expect(fieldConfigManyArgsWithoutInput.args)
34-
.deep.property('input.type').instanceof(GraphQLNonNull);
34+
.nested.property('input.type').instanceof(GraphQLNonNull);
3535
});
3636

3737
it('should create args.input if not exists and move all args into it', () => {

0 commit comments

Comments
 (0)