Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 857cf32

Browse files
author
Thomas Grainger
committed
update graphql peerdep
This is a fixed version of #407 also update tests with the new graphql error messages.
1 parent 6fc7baf commit 857cf32

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"express": "^4.15.4",
8282
"express3": "*",
8383
"flow-bin": "0.52.0",
84-
"graphql": "0.11.2",
84+
"graphql": "^0.12.3",
8585
"isparta": "4.0.0",
8686
"mocha": "3.5.0",
8787
"multer": "1.3.0",
@@ -92,6 +92,6 @@
9292
"supertest": "3.0.0"
9393
},
9494
"peerDependencies": {
95-
"graphql": "^0.10.0 || ^0.11.0"
95+
"graphql": "^0.10.0 || ^0.11.0 || ^0.12.0"
9696
}
9797
}

src/__tests__/http-test.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,9 +1255,7 @@ describe('test harness', () => {
12551255
expect(JSON.parse(response.text)).to.deep.equal({
12561256
errors: [
12571257
{
1258-
message:
1259-
'Syntax Error GraphQL request (1:1) ' +
1260-
'Unexpected Name "syntaxerror"\n\n1: syntaxerror\n ^\n',
1258+
message: 'Syntax Error: Unexpected Name "syntaxerror"',
12611259
locations: [{ line: 1, column: 1 }],
12621260
},
12631261
],

yarn.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,11 +1846,11 @@ graceful-fs@^4.1.2, graceful-fs@^4.1.4:
18461846
version "1.0.1"
18471847
resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725"
18481848

1849-
graphql@0.11.2:
1850-
version "0.11.2"
1851-
resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.11.2.tgz#13edb9f982f3571dd68ec4e9f3d6aca7e1ba57ef"
1849+
graphql@^0.12.3:
1850+
version "0.12.3"
1851+
resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.12.3.tgz#11668458bbe28261c0dcb6e265f515ba79f6ce07"
18521852
dependencies:
1853-
iterall "^1.1.0"
1853+
iterall "1.1.3"
18541854

18551855
18561856
version "1.9.2"
@@ -2226,9 +2226,9 @@ istanbul@^0.4.0:
22262226
which "^1.1.1"
22272227
wordwrap "^1.0.0"
22282228

2229-
iterall@^1.1.0:
2230-
version "1.1.1"
2231-
resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.1.1.tgz#f7f0af11e9a04ec6426260f5019d9fcca4d50214"
2229+
2230+
version "1.1.3"
2231+
resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.1.3.tgz#1cbbff96204056dde6656e2ed2e2226d0e6d72c9"
22322232

22332233
js-tokens@^3.0.0, js-tokens@^3.0.2:
22342234
version "3.0.2"

0 commit comments

Comments
 (0)