Socket
Socket
Sign inDemoInstall

@graphql-tools/delegate

Package Overview
Dependencies
Maintainers
3
Versions
1495
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-tools/delegate - npm Package Compare versions

Comparing version 10.0.20 to 10.0.21-alpha-20240826091035-7153ab38380f18449e47bf2c052366505a0e7544

3

cjs/defaultMergedResolver.js

@@ -145,3 +145,4 @@ "use strict";

const nestedSelectionSet = selectionNode.selectionSet;
if (nestedParent != null) {
if (info.operation.selectionSet.selections.some(selection => selection.kind === graphql_1.Kind.FIELD && selection.name.value !== responseKey) &&
nestedParent != null) {
if (!parentSatisfiedSelectionSet(nestedParent, nestedSelectionSet)) {

@@ -148,0 +149,0 @@ async function handleNestedParentItem(nestedParentItem, fieldNode) {

@@ -141,3 +141,4 @@ import { defaultFieldResolver, Kind, responsePathAsArray, } from 'graphql';

const nestedSelectionSet = selectionNode.selectionSet;
if (nestedParent != null) {
if (info.operation.selectionSet.selections.some(selection => selection.kind === Kind.FIELD && selection.name.value !== responseKey) &&
nestedParent != null) {
if (!parentSatisfiedSelectionSet(nestedParent, nestedSelectionSet)) {

@@ -144,0 +145,0 @@ async function handleNestedParentItem(nestedParentItem, fieldNode) {

{
"name": "@graphql-tools/delegate",
"version": "10.0.20",
"version": "10.0.21-alpha-20240826091035-7153ab38380f18449e47bf2c052366505a0e7544",
"description": "A set of utils for faster development of GraphQL tools",

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

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