Socket
Socket
Sign inDemoInstall

graphql-hooks

Package Overview
Dependencies
22
Maintainers
7
Versions
85
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.3.1 to 6.3.2

7

dist/graphql-hooks.js

@@ -742,3 +742,8 @@ (function (global, factory) {

if (errors.length > 0) {
return { data, error: new LocalGraphQLError({ graphQLErrors: errors }) };
return {
data,
error: new LocalGraphQLError({
graphQLErrors: errors
})
};
} else {

@@ -745,0 +750,0 @@ return { data };

@@ -516,3 +516,8 @@ import React, { useContext, useRef } from 'react';

if (errors.length > 0) {
return { data, error: new LocalGraphQLError({ graphQLErrors: errors }) };
return {
data,
error: new LocalGraphQLError({
graphQLErrors: errors
})
};
} else {

@@ -519,0 +524,0 @@ return { data };

@@ -526,3 +526,8 @@ 'use strict';

if (errors.length > 0) {
return { data, error: new LocalGraphQLError({ graphQLErrors: errors }) };
return {
data,
error: new LocalGraphQLError({
graphQLErrors: errors
})
};
} else {

@@ -529,0 +534,0 @@ return { data };

4

package.json
{
"name": "graphql-hooks",
"version": "6.3.1",
"version": "6.3.2",
"description": "Graphql Hooks",

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

"homepage": "https://github.com/nearform/graphql-hooks#readme",
"gitHead": "7c4958d3fa8dae1f547bd99d76d55c19cbd23411"
"gitHead": "8dc19236ca4038e6db4286256b199ad8f01b8d1a"
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc