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

@shopify/graphql-testing

Package Overview
Dependencies
Maintainers
24
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/graphql-testing - npm Package Compare versions

Comparing version 7.0.1 to 7.1.0

7

build/cjs/graphql-controller.js

@@ -14,3 +14,4 @@ 'use strict';

cacheOptions = {},
links = []
links = [],
defaultOptions = {}
} = {}) {

@@ -38,4 +39,6 @@ this.operations = new operations.Operations();

this.client = new client.ApolloClient({
connectToDevTools: false,
link,
cache
cache,
defaultOptions
});

@@ -42,0 +45,0 @@ }

@@ -1,2 +0,2 @@

import type { InMemoryCacheConfig } from '@apollo/client';
import type { DefaultOptions, InMemoryCacheConfig } from '@apollo/client';
import { ApolloClient, ApolloLink } from '@apollo/client';

@@ -8,2 +8,3 @@ import { Operations } from './operations';

links?: ApolloLink[];
defaultOptions?: DefaultOptions;
}

@@ -22,3 +23,3 @@ interface ResolveAllFindOptions extends FindOptions {

private readonly mockLink;
constructor(mock?: GraphQLMock, { cacheOptions, links }?: Options);
constructor(mock?: GraphQLMock, { cacheOptions, links, defaultOptions }?: Options);
update(mock: GraphQLMock): void;

@@ -25,0 +26,0 @@ resolveAll(options?: ResolveAllFindOptions): Promise<void>;

{
"name": "@shopify/graphql-testing",
"version": "7.0.1",
"version": "7.1.0",
"license": "MIT",

@@ -34,3 +34,2 @@ "description": "Utilities to create mock GraphQL factories",

"dependencies": {
"@apollo/client": "^3.5.8",
"graphql": ">=14.5.0 <16.0.0",

@@ -42,2 +41,5 @@ "jest-matcher-utils": "^26.6.2"

},
"peerDependencies": {
"@apollo/client": ">=3.5.8 || <4.0.0"
},
"files": [

@@ -44,0 +46,0 @@ "build/",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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