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

@graphql-inspector/validate-command

Package Overview
Dependencies
Maintainers
3
Versions
535
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-inspector/validate-command - npm Package Compare versions

Comparing version 0.0.0-canary.b784517 to 0.0.0-canary.c5a95ca

2

index.d.ts

@@ -29,2 +29,4 @@ import { GlobalArgs, CommandFactory } from '@graphql-inspector/commands';

maxDepth?: number | undefined;
maxAliasCount?: number | undefined;
maxDirectiveCount?: number | undefined;
filter?: string[] | undefined;

@@ -31,0 +33,0 @@ onlyErrors?: boolean | undefined;

@@ -175,3 +175,5 @@ 'use strict';

const method = ((_a = args.method) === null || _a === void 0 ? void 0 : _a.toUpperCase()) || 'POST';
const maxDepth = args.maxDepth || undefined;
const maxDepth = args.maxDepth != null ? args.maxDepth : undefined;
const maxAliasCount = args.maxAliasCount != null ? args.maxAliasCount : undefined;
const maxDirectiveCount = args.maxDirectiveCount != null ? args.maxDirectiveCount : undefined;
const strictFragments = !args.noStrictFragments;

@@ -198,2 +200,4 @@ const keepClientFields = args.keepClientFields || false;

maxDepth,
maxAliasCount,
maxDirectiveCount,
strictFragments,

@@ -200,0 +204,0 @@ keepClientFields,

8

package.json
{
"name": "@graphql-inspector/validate-command",
"version": "0.0.0-canary.b784517",
"version": "0.0.0-canary.c5a95ca",
"description": "Validate Documents in GraphQL Inspector",

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

"dependencies": {
"@graphql-inspector/commands": "0.0.0-canary.b784517",
"@graphql-inspector/core": "0.0.0-canary.b784517",
"@graphql-inspector/logger": "0.0.0-canary.b784517",
"@graphql-inspector/commands": "0.0.0-canary.c5a95ca",
"@graphql-inspector/core": "0.0.0-canary.c5a95ca",
"@graphql-inspector/logger": "0.0.0-canary.c5a95ca",
"tslib": "^2.0.0"

@@ -15,0 +15,0 @@ },

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