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.da4bdcc to 0.0.0-canary.e5ed377

index.js

35

index.d.ts

@@ -1,11 +0,36 @@

import { GlobalArgs } from '@graphql-inspector/commands';
declare const _default: import("../../commands/src").CommandFactory<{}, {
import { GlobalArgs, CommandFactory } from '@graphql-inspector/commands';
import { Source as DocumentSource } from '@graphql-tools/utils';
import { GraphQLSchema } from 'graphql';
export { CommandFactory };
export declare function handler({ schema, documents, strictFragments, maxDepth, maxDirectiveCount, maxAliasCount, apollo, keepClientFields, failOnDeprecated, filter, onlyErrors, relativePaths, output, silent, }: {
schema: GraphQLSchema;
documents: DocumentSource[];
failOnDeprecated: boolean;
strictFragments: boolean;
apollo: boolean;
keepClientFields: boolean;
maxDepth?: number;
maxDirectiveCount?: number;
maxAliasCount?: number;
filter?: string[];
onlyErrors?: boolean;
relativePaths?: boolean;
output?: string;
silent?: boolean;
}): void;
declare const _default: CommandFactory<{}, {
schema: string;
documents: string;
deprecated?: boolean | undefined;
deprecated: boolean;
noStrictFragments: boolean;
apollo?: boolean | undefined;
keepClientFields?: boolean | undefined;
apollo: boolean;
keepClientFields: boolean;
maxDepth?: number | undefined;
filter?: string[] | undefined;
onlyErrors?: boolean | undefined;
relativePaths?: boolean | undefined;
output?: string | undefined;
silent?: boolean | undefined;
ignore?: string[] | undefined;
} & GlobalArgs>;
export default _default;

24

package.json
{
"name": "@graphql-inspector/validate-command",
"version": "0.0.0-canary.da4bdcc",
"version": "0.0.0-canary.e5ed377",
"description": "Validate Documents in GraphQL Inspector",
"sideEffects": false,
"peerDependencies": {
"graphql": "^0.13.0 || ^14.0.0 || ^15.0.0"
"graphql": "^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
},
"dependencies": {
"@graphql-inspector/commands": "0.0.0-canary.da4bdcc",
"@graphql-inspector/core": "0.0.0-canary.da4bdcc",
"@graphql-inspector/logger": "0.0.0-canary.da4bdcc",
"@graphql-inspector/commands": "0.0.0-canary.e5ed377",
"@graphql-inspector/core": "0.0.0-canary.e5ed377",
"@graphql-inspector/logger": "0.0.0-canary.e5ed377",
"tslib": "^2.0.0"

@@ -32,8 +32,18 @@ },

"license": "MIT",
"main": "index.cjs.js",
"module": "index.esm.js",
"main": "index.js",
"module": "index.mjs",
"typings": "index.d.ts",
"typescript": {
"definition": "index.d.ts"
},
"exports": {
".": {
"require": "./index.js",
"import": "./index.mjs"
},
"./*": {
"require": "./*.js",
"import": "./*.mjs"
}
}
}
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