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

@graphql-tools/optimize

Package Overview
Dependencies
Maintainers
3
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-tools/optimize - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0-alpha-219c84f8.0

es5/index.js

2

es5/optimize.d.ts

@@ -5,3 +5,3 @@ import { DocumentNode } from 'graphql';

* This method accept a DocumentNode and applies the optimizations you wish to use.
* You can override the defualt ones or provide you own optimizers if you wish.
* You can override the default ones or provide you own optimizers if you wish.
*

@@ -8,0 +8,0 @@ * @param node document to optimize

import { DocumentOptimizer } from '../types';
/**
* This optimizer removes "desciption" field from schema AST definitions.
* This optimizer removes "description" field from schema AST definitions.
* @param input
*/
export declare const removeDescriptions: DocumentOptimizer;
{
"name": "@graphql-tools/optimize/es5",
"version": "1.0.1",
"version": "1.1.0-alpha-219c84f8.0",
"description": "A set of utils for faster development of GraphQL tools",
"sideEffects": false,
"peerDependencies": {
"graphql": "^14.0.0 || ^15.0.0"
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
},
"dependencies": {
"tslib": "~2.0.1"
"tslib": "~2.3.0"
},
"repository": "git@github.com:ardatan/graphql-tools.git",
"repository": {
"type": "git",
"url": "ardatan/graphql-tools",
"directory": "packages/optimize"
},
"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"
}
}
}

@@ -5,3 +5,3 @@ import { DocumentNode } from 'graphql';

* This method accept a DocumentNode and applies the optimizations you wish to use.
* You can override the defualt ones or provide you own optimizers if you wish.
* You can override the default ones or provide you own optimizers if you wish.
*

@@ -8,0 +8,0 @@ * @param node document to optimize

import { DocumentOptimizer } from '../types';
/**
* This optimizer removes "desciption" field from schema AST definitions.
* This optimizer removes "description" field from schema AST definitions.
* @param input
*/
export declare const removeDescriptions: DocumentOptimizer;
{
"name": "@graphql-tools/optimize",
"version": "1.0.1",
"version": "1.1.0-alpha-219c84f8.0",
"description": "A set of utils for faster development of GraphQL tools",
"sideEffects": false,
"peerDependencies": {
"graphql": "^14.0.0 || ^15.0.0"
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
},
"dependencies": {
"tslib": "~2.0.1"
"tslib": "~2.3.0"
},
"repository": "git@github.com:ardatan/graphql-tools.git",
"repository": {
"type": "git",
"url": "ardatan/graphql-tools",
"directory": "packages/optimize"
},
"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