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

@graphql-tools/mock

Package Overview
Dependencies
Maintainers
3
Versions
1148
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-alpha-20240522034805-83c44bb549dbe408a378051a1c61bf0b4b48c5f0

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-alpha-20240522034805-83c44bb549dbe408a378051a1c61bf0b4b48c5f0",
"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-alpha-20240522034805-83c44bb549dbe408a378051a1c61bf0b4b48c5f0",
"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