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

graphql-hooks

Package Overview
Dependencies
Maintainers
8
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-hooks - npm Package Compare versions

Comparing version 6.2.1 to 6.2.2

10

dist/graphql-hooks.js

@@ -504,3 +504,6 @@ (function (global, factory) {

if (this.url) {
return this.requestViaHttp(updatedOperation, options).then(transformResponse).then(resolve).catch(reject);
return this.requestViaHttp(
updatedOperation,
options
).then(transformResponse).then(resolve).catch(reject);
}

@@ -982,3 +985,6 @@ reject(new Error("GraphQLClient: config.url is required"));

);
mutationsEmitter.removeListener(Events.DATA_UPDATED, dataUpdatedCallback);
mutationsEmitter.removeListener(
Events.DATA_UPDATED,
dataUpdatedCallback
);
}

@@ -985,0 +991,0 @@ };

@@ -297,3 +297,6 @@ import React, { useContext, useRef, useEffect } from 'react';

if (this.url) {
return this.requestViaHttp(updatedOperation, options).then(transformResponse).then(resolve).catch(reject);
return this.requestViaHttp(
updatedOperation,
options
).then(transformResponse).then(resolve).catch(reject);
}

@@ -700,3 +703,6 @@ reject(new Error("GraphQLClient: config.url is required"));

);
mutationsEmitter.removeListener(Events.DATA_UPDATED, dataUpdatedCallback);
mutationsEmitter.removeListener(
Events.DATA_UPDATED,
dataUpdatedCallback
);
}

@@ -703,0 +709,0 @@ };

@@ -306,3 +306,6 @@ 'use strict';

if (this.url) {
return this.requestViaHttp(updatedOperation, options).then(transformResponse).then(resolve).catch(reject);
return this.requestViaHttp(
updatedOperation,
options
).then(transformResponse).then(resolve).catch(reject);
}

@@ -709,3 +712,6 @@ reject(new Error("GraphQLClient: config.url is required"));

);
mutationsEmitter.removeListener(Events.DATA_UPDATED, dataUpdatedCallback);
mutationsEmitter.removeListener(
Events.DATA_UPDATED,
dataUpdatedCallback
);
}

@@ -712,0 +718,0 @@ };

11

package.json
{
"name": "graphql-hooks",
"version": "6.2.1",
"version": "6.2.2",
"description": "Graphql Hooks",

@@ -39,3 +39,3 @@ "main": "lib/graphql-hooks.js",

"dependencies": {
"@aws-crypto/sha256-browser": "^3.0.0",
"@aws-crypto/sha256-browser": "^4.0.0",
"buffer": "^6.0.3",

@@ -47,7 +47,7 @@ "dequal": "^2.0.0",

"devDependencies": {
"@testing-library/react": "^13.0.0",
"@testing-library/react": "^14.0.0",
"@types/extract-files": "^8.1.1",
"cross-env": "^7.0.3",
"formdata-node": "^4.3.2",
"graphql-hooks-memcache": "^3.1.0",
"graphql-hooks-memcache": "^3.1.1",
"graphql-hooks-ssr": "^3.0.0",

@@ -68,4 +68,3 @@ "graphql-ws": "^5.5.5",

},
"homepage": "https://github.com/nearform/graphql-hooks#readme",
"gitHead": "8a0e5066e58e628b746bb7854ffc51a53288d263"
"homepage": "https://github.com/nearform/graphql-hooks#readme"
}
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