Socket
Socket
Sign inDemoInstall

@graphql-tools/utils

Package Overview
Dependencies
5
Maintainers
3
Versions
1113
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.1.0 to 10.1.1-rc-20240311101155-037ddf6a945f2386ccfc14fec99cb07bce97e43f

2

cjs/filterSchema.js

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

for (const argName in field.args) {
if (!argumentFilter(operation, fieldName, argName, field.args[argName])) {
if (!argumentFilter(type.name, fieldName, argName, field.args[argName])) {
delete field.args[argName];

@@ -41,0 +41,0 @@ }

@@ -34,3 +34,3 @@ import { GraphQLInputObjectType, GraphQLInterfaceType, GraphQLObjectType, } from 'graphql';

for (const argName in field.args) {
if (!argumentFilter(operation, fieldName, argName, field.args[argName])) {
if (!argumentFilter(type.name, fieldName, argName, field.args[argName])) {
delete field.args[argName];

@@ -37,0 +37,0 @@ }

{
"name": "@graphql-tools/utils",
"version": "10.1.0",
"version": "10.1.1-rc-20240311101155-037ddf6a945f2386ccfc14fec99cb07bce97e43f",
"description": "Common package containing utils and types for GraphQL tools",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc