@graphql-tools/optimize
Advanced tools
Comparing version 1.3.0 to 1.3.1-alpha-33fb2950.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.removeDescriptions = void 0; | ||
const graphql_1 = require("graphql"); | ||
const graphql_1 = require("@graphql-tools/graphql"); | ||
/** | ||
@@ -6,0 +6,0 @@ * This optimizer removes "description" field from schema AST definitions. |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.removeEmptyNodes = void 0; | ||
const graphql_1 = require("graphql"); | ||
const graphql_1 = require("@graphql-tools/graphql"); | ||
/** | ||
@@ -6,0 +6,0 @@ * This optimizer removes empty nodes/arrays (directives/argument/variableDefinitions) from a given DocumentNode of operation/fragment. |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.removeLoc = void 0; | ||
const graphql_1 = require("graphql"); | ||
const graphql_1 = require("@graphql-tools/graphql"); | ||
/** | ||
@@ -6,0 +6,0 @@ * This optimizer removes "loc" fields |
@@ -1,2 +0,2 @@ | ||
import { visit } from 'graphql'; | ||
import { visit } from '@graphql-tools/graphql'; | ||
/** | ||
@@ -3,0 +3,0 @@ * This optimizer removes "description" field from schema AST definitions. |
@@ -1,2 +0,2 @@ | ||
import { visit } from 'graphql'; | ||
import { visit } from '@graphql-tools/graphql'; | ||
/** | ||
@@ -3,0 +3,0 @@ * This optimizer removes empty nodes/arrays (directives/argument/variableDefinitions) from a given DocumentNode of operation/fragment. |
@@ -1,2 +0,2 @@ | ||
import { visit } from 'graphql'; | ||
import { visit } from '@graphql-tools/graphql'; | ||
/** | ||
@@ -3,0 +3,0 @@ * This optimizer removes "loc" fields |
{ | ||
"name": "@graphql-tools/optimize", | ||
"version": "1.3.0", | ||
"version": "1.3.1-alpha-33fb2950.0", | ||
"description": "A set of utils for faster development of GraphQL tools", | ||
"sideEffects": false, | ||
"peerDependencies": { | ||
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" | ||
}, | ||
"dependencies": { | ||
"@graphql-tools/graphql": "0.1.0-alpha-33fb2950.0", | ||
"tslib": "^2.4.0" | ||
@@ -11,0 +9,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
import { DocumentNode } from 'graphql'; | ||
import { DocumentNode } from '@graphql-tools/graphql'; | ||
import { DocumentOptimizer } from './types.js'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { DocumentNode } from 'graphql'; | ||
import { DocumentNode } from '@graphql-tools/graphql'; | ||
export declare type DocumentOptimizer = (input: DocumentNode) => DocumentNode; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14800
2
+ Added@graphql-tools/graphql@0.1.0-alpha-33fb2950.0(transitive)
- Removedgraphql@16.10.0(transitive)