apollo-client-ws
Advanced tools
Comparing version 2.3.0 to 2.4.0
@@ -50,3 +50,3 @@ /* | ||
"targets": { | ||
"browsers": "last 2 versions, not dead" | ||
"browsers": "last 2 versions, > 1%, ie 11" | ||
} | ||
@@ -80,3 +80,3 @@ } ] | ||
"targets": { | ||
"node": "6.0" | ||
"node": "8.0.0" | ||
} | ||
@@ -83,0 +83,0 @@ } ] |
@@ -258,6 +258,7 @@ /* | ||
ev = this.hook("receive:message", "pass", ev); | ||
let _ev$frame = ev.frame, | ||
rid = _ev$frame.rid, | ||
type = _ev$frame.type, | ||
data = _ev$frame.data; | ||
let { | ||
rid, | ||
type, | ||
data | ||
} = ev.frame; | ||
@@ -398,7 +399,8 @@ if (type === "GRAPHQL-RESPONSE" && typeof data === "object") { | ||
/* send the message */ | ||
let _this$_wsf$send = this._wsf.send({ | ||
let { | ||
frame | ||
} = this._wsf.send({ | ||
type, | ||
data | ||
}), | ||
frame = _this$_wsf$send.frame; | ||
}); | ||
@@ -450,7 +452,8 @@ this.log(2, `message sent: ${JSON.stringify(frame)}`); | ||
let _this$_wsf$send2 = this._wsf.send({ | ||
let { | ||
frame | ||
} = this._wsf.send({ | ||
type: "GRAPHQL-REQUEST", | ||
data: request | ||
}), | ||
frame = _this$_wsf$send2.frame; | ||
}); | ||
@@ -457,0 +460,0 @@ this.log(3, `request: request (framed): ${JSON.stringify(frame)}`); |
{ | ||
"name": "apollo-client-ws", | ||
"version": "2.3.0", | ||
"version": "2.4.0", | ||
"description": "GraphQL WebSocket Network Interface for Apollo Client", | ||
@@ -29,13 +29,13 @@ "keywords": [ "graphql", "websocket", "network", "interface", "transport", "apollo", "client" ], | ||
"graphql": "0.13.2", | ||
"graphql-query-compress": "1.1.0", | ||
"websocket-framed": "1.1.0", | ||
"graphql-query-compress": "1.2.0", | ||
"websocket-framed": "1.2.0", | ||
"eventemitter3": "3.1.0", | ||
"latching": "1.0.3", | ||
"es6-promise": "4.2.4", | ||
"ducky": "2.6.12", | ||
"ws": "6.0.0" | ||
"latching": "1.0.4", | ||
"es6-promise": "4.2.5", | ||
"ducky": "2.7.0", | ||
"ws": "6.1.2" | ||
}, | ||
"optionalDependencies": { | ||
"utf-8-validate": "5.0.1", | ||
"bufferutil": "4.0.0" | ||
"utf-8-validate": "5.0.2", | ||
"bufferutil": "4.0.1" | ||
}, | ||
@@ -46,23 +46,26 @@ "devDependencies": { | ||
"grunt": "1.0.3", | ||
"grunt-cli": "1.3.1", | ||
"grunt-contrib-clean": "1.1.0", | ||
"grunt-cli": "1.3.2", | ||
"grunt-contrib-clean": "2.0.0", | ||
"grunt-eslint": "21.0.0", | ||
"grunt-browserify": "5.3.0", | ||
"browserify": "16.2.2", | ||
"browserify": "16.2.3", | ||
"envify": "4.1.0", | ||
"babelify": "9.0.0", | ||
"@babel/core": "7.0.0", | ||
"@babel/preset-env": "7.0.0", | ||
"babelify": "10.0.0", | ||
"@babel/core": "7.2.2", | ||
"@babel/preset-env": "7.2.3", | ||
"uglifyify": "5.0.1", | ||
"browserify-header": "0.9.4", | ||
"browserify-derequire": "0.9.6", | ||
"browserify-header": "1.0.0", | ||
"browserify-derequire": "1.0.0", | ||
"browserify-shim": "3.8.14", | ||
"babel-eslint": "9.0.0", | ||
"eslint": "5.5.0", | ||
"babel-eslint": "10.0.1", | ||
"eslint": "5.11.0", | ||
"eslint-config-standard": "12.0.0", | ||
"eslint-plugin-standard": "4.0.0", | ||
"eslint-plugin-promise": "4.0.0", | ||
"eslint-plugin-promise": "4.0.1", | ||
"eslint-plugin-import": "2.14.0", | ||
"eslint-plugin-node": "7.0.1" | ||
"eslint-plugin-node": "8.0.0" | ||
}, | ||
"engines": { | ||
"node": ">=8.0.0" | ||
}, | ||
"scripts": { | ||
@@ -69,0 +72,0 @@ "prepublishOnly": "grunt default", |
@@ -17,3 +17,3 @@ | ||
"targets": { | ||
"browsers": "last 2 versions, not dead" | ||
"browsers": "last 2 versions, > 1%, ie 11" | ||
} | ||
@@ -20,0 +20,0 @@ } ] |
@@ -7,21 +7,21 @@ { | ||
"graphql": "0.13.2", | ||
"graphql-tag": "2.9.2", | ||
"graphql-tools": "3.1.1", | ||
"hapi": "17.5.4", | ||
"hapi-plugin-websocket": "2.0.13", | ||
"boom": "7.2.0", | ||
"apollo-client": "2.4.1", | ||
"graphql-tag": "2.10.0", | ||
"graphql-tools": "4.0.3", | ||
"hapi": "17.8.1", | ||
"hapi-plugin-websocket": "2.0.16", | ||
"boom": "7.3.0", | ||
"apollo-client": "2.4.8", | ||
"apollo-client-ws": "file:../", | ||
"apollo-cache-inmemory": "1.2.9" | ||
"apollo-cache-inmemory": "1.3.12" | ||
}, | ||
"devDependencies": { | ||
"grunt": "1.0.3", | ||
"grunt-cli": "1.3.1", | ||
"grunt-contrib-clean": "1.1.0", | ||
"grunt-cli": "1.3.2", | ||
"grunt-contrib-clean": "2.0.0", | ||
"grunt-eslint": "21.0.0", | ||
"grunt-browserify": "5.3.0", | ||
"browserify": "16.2.2", | ||
"babelify": "9.0.0", | ||
"@babel/core": "7.0.0", | ||
"@babel/preset-env": "7.0.0", | ||
"browserify": "16.2.3", | ||
"babelify": "10.0.0", | ||
"@babel/core": "7.2.2", | ||
"@babel/preset-env": "7.2.3", | ||
"rimraf": "2.6.2" | ||
@@ -28,0 +28,0 @@ }, |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1989
236099
+ Addedbignumber.js@8.1.1(transitive)
+ Addedbufferutil@4.0.1(transitive)
+ Addedcbor@4.1.4(transitive)
+ Addedducky@2.7.0(transitive)
+ Addedencodr@1.2.0(transitive)
+ Addedes6-promise@4.2.5(transitive)
+ Addedgraphql-query-compress@1.2.0(transitive)
+ Addedlatching@1.0.4(transitive)
+ Addednode-gyp-build@3.7.0(transitive)
+ Addednofilter@1.0.4(transitive)
+ Addedtokenizr@1.4.0(transitive)
+ Addedutf-8-validate@5.0.2(transitive)
+ Addedwebsocket-framed@1.2.0(transitive)
+ Addedws@6.1.2(transitive)
- Removed@babel/runtime@7.0.0(transitive)
- Removedbignumber.js@7.2.1(transitive)
- Removedbufferutil@4.0.0(transitive)
- Removedcbor@4.1.1(transitive)
- Removedducky@2.6.12(transitive)
- Removedencodr@1.1.0(transitive)
- Removedes6-promise@4.2.4(transitive)
- Removedgraphql-query-compress@1.1.0(transitive)
- Removedlatching@1.0.3(transitive)
- Removednode-gyp-build@3.4.0(transitive)
- Removednofilter@0.0.3(transitive)
- Removedregenerator-runtime@0.12.1(transitive)
- Removedtokenizr@1.3.10(transitive)
- Removedutf-8-validate@5.0.1(transitive)
- Removedwebsocket-framed@1.1.0(transitive)
- Removedws@6.0.0(transitive)
Updatedducky@2.7.0
Updatedes6-promise@4.2.5
Updatedgraphql-query-compress@1.2.0
Updatedlatching@1.0.4
Updatedwebsocket-framed@1.2.0
Updatedws@6.1.2