Socket
Socket
Sign inDemoInstall

@graphql-tools/mock

Package Overview
Dependencies
Maintainers
3
Versions
1135
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.2 to 9.0.3-rc-20240521182415-5ae8037f31cb43eaf6f8d0c007ec7b265d46a258

2

cjs/addMocksToSchema.js

@@ -206,2 +206,4 @@ "use strict";

resolvers: resolvers,
// This option ensures that schemas are not cloned multiple times, which can be very expensive
updateResolversInPlace: true,
})

@@ -208,0 +210,0 @@ : schemaWithMocks;

@@ -203,4 +203,6 @@ import { defaultFieldResolver, GraphQLInterfaceType, GraphQLUnionType, isSchema, isUnionType, } from 'graphql';

resolvers: resolvers,
// This option ensures that schemas are not cloned multiple times, which can be very expensive
updateResolversInPlace: true,
})
: schemaWithMocks;
}

4

package.json
{
"name": "@graphql-tools/mock",
"version": "9.0.2",
"version": "9.0.3-rc-20240521182415-5ae8037f31cb43eaf6f8d0c007ec7b265d46a258",
"description": "A set of utils for faster development of GraphQL tools",

@@ -11,3 +11,3 @@ "sideEffects": false,

"@graphql-tools/schema": "^10.0.3",
"@graphql-tools/utils": "^10.0.13",
"@graphql-tools/utils": "10.2.1-rc-20240521182415-5ae8037f31cb43eaf6f8d0c007ec7b265d46a258",
"fast-json-stable-stringify": "^2.1.0",

@@ -14,0 +14,0 @@ "tslib": "^2.4.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