New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

graphql-ruby-client

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-ruby-client - npm Package Compare versions

Comparing version 1.11.8 to 1.11.9

4

CHANGELOG.md
# graphql-ruby-client
# 1.11.9 (1 Sept 2023)
- `createRelaySubscriptionHandler`: fix error handling in handler functions #4603
# 1.11.8 (9 May 2023)

@@ -4,0 +8,0 @@

4

package.json
{
"name": "graphql-ruby-client",
"version": "1.11.8",
"version": "1.11.9",
"description": "JavaScript client for graphql-ruby",

@@ -32,3 +32,3 @@ "main": "index.js",

"ts-jest": "^29.0.0",
"typescript": ">=3.7.5",
"typescript": "5.1.6",
"urql": "^2.2.2"

@@ -35,0 +35,0 @@ },

@@ -109,2 +109,7 @@ "use strict";

var payload = message.data;
var result = payload.result;
if (result) {
// Send the new response to listeners
observer.next(result);
}
if (!payload.more) {

@@ -121,7 +126,2 @@ // This is the end, the server says to unsubscribe

}
var result = payload.result;
if (result) {
// Send the new response to listeners
observer.next(result);
}
});

@@ -128,0 +128,0 @@ };

@@ -55,5 +55,2 @@ "use strict";

received: function (payload) {
if (!payload.more) {
registry_1.default.unsubscribe(id);
}
var result = payload.result;

@@ -63,2 +60,5 @@ if (result) {

}
if (!payload.more) {
registry_1.default.unsubscribe(id);
}
},

@@ -65,0 +65,0 @@ });

@@ -58,3 +58,3 @@ "use strict";

},
onComplete: observer.complete,
onCompleted: observer.complete,
});

@@ -61,0 +61,0 @@ return {

@@ -62,5 +62,2 @@ "use strict";

pusherChannel.bind("update", function (payload) {
if (!payload.more) {
registry_1.default.unsubscribe(id);
}
var result = payload.compressed_result ? decompress(payload.compressed_result) : payload.result;

@@ -70,2 +67,5 @@ if (result) {

}
if (!payload.more) {
registry_1.default.unsubscribe(id);
}
});

@@ -72,0 +72,0 @@ });

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc