Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@graphql-tools/mock

Package Overview
Dependencies
Maintainers
4
Versions
1177
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-tools/mock - npm Package Compare versions

Comparing version 9.0.14 to 9.0.15

2

cjs/mockServer.js

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

/**
* A convenience wrapper on top of addMocksToSchema. It adds your mock resolvers
* A convenience wrapper on top of `addMocksToSchema`. It adds your mock resolvers
* to your schema and returns a client that will correctly execute your query with

@@ -11,0 +11,0 @@ * variables. Note: when executing queries from the returned server, context and

@@ -481,5 +481,5 @@ "use strict";

*
* A `MockStore` will generate mock values for the given schem when queried.
* A `MockStore` will generate mock values for the given schema when queried.
*
* It will stores generated mocks, so that, provided with same arguments
* It will store generated mocks, so that, provided with same arguments
* the returned values will be the same.

@@ -486,0 +486,0 @@ *

@@ -5,3 +5,3 @@ import { graphql, isSchema } from 'graphql';

/**
* A convenience wrapper on top of addMocksToSchema. It adds your mock resolvers
* A convenience wrapper on top of `addMocksToSchema`. It adds your mock resolvers
* to your schema and returns a client that will correctly execute your query with

@@ -8,0 +8,0 @@ * variables. Note: when executing queries from the returned server, context and

@@ -475,5 +475,5 @@ import stringify from 'fast-json-stable-stringify';

*
* A `MockStore` will generate mock values for the given schem when queried.
* A `MockStore` will generate mock values for the given schema when queried.
*
* It will stores generated mocks, so that, provided with same arguments
* It will store generated mocks, so that, provided with same arguments
* the returned values will be the same.

@@ -480,0 +480,0 @@ *

{
"name": "@graphql-tools/mock",
"version": "9.0.14",
"version": "9.0.15",
"description": "A set of utils for faster development of GraphQL tools",

@@ -5,0 +5,0 @@ "sideEffects": false,

import { TypeSource } from '@graphql-tools/utils';
import { IMocks, IMockServer } from './types.js';
/**
* A convenience wrapper on top of addMocksToSchema. It adds your mock resolvers
* A convenience wrapper on top of `addMocksToSchema`. It adds your mock resolvers
* to your schema and returns a client that will correctly execute your query with

@@ -6,0 +6,0 @@ * variables. Note: when executing queries from the returned server, context and

@@ -59,5 +59,5 @@ import { GraphQLSchema } from 'graphql';

*
* A `MockStore` will generate mock values for the given schem when queried.
* A `MockStore` will generate mock values for the given schema when queried.
*
* It will stores generated mocks, so that, provided with same arguments
* It will store generated mocks, so that, provided with same arguments
* the returned values will be the same.

@@ -64,0 +64,0 @@ *

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