@graphql-tools/load
Advanced tools
Comparing version 6.0.0-alpha-cb9efce.0 to 6.0.0-alpha-cc6edfd.0
import { DocumentNode } from 'graphql'; | ||
export declare const filterKind: (content: DocumentNode, filterKinds: string[]) => DocumentNode; | ||
export declare const filterKind: (content: DocumentNode, filterKinds: null | string[]) => DocumentNode; |
@@ -78,4 +78,4 @@ 'use strict'; | ||
function useCache({ pointer, options }) { | ||
if (pointer in options.cache) { | ||
return options.cache[pointer]; | ||
if (options['cache']) { | ||
return options['cache'][pointer]; | ||
} | ||
@@ -82,0 +82,0 @@ } |
@@ -71,4 +71,4 @@ import { asArray, debugLog, printSchemaWithDirectives, isDocumentString, parseGraphQLSDL, fixSchemaAst, compareStrings } from '@graphql-tools/utils'; | ||
function useCache({ pointer, options }) { | ||
if (pointer in options.cache) { | ||
return options.cache[pointer]; | ||
if (options['cache']) { | ||
return options['cache'][pointer]; | ||
} | ||
@@ -75,0 +75,0 @@ } |
{ | ||
"name": "@graphql-tools/load", | ||
"version": "6.0.0-alpha-cb9efce.0", | ||
"version": "6.0.0-alpha-cc6edfd.0", | ||
"description": "A set of utils for faster development of GraphQL tools", | ||
@@ -9,4 +9,4 @@ "peerDependencies": { | ||
"dependencies": { | ||
"@graphql-tools/utils": "6.0.0-alpha-cb9efce.0", | ||
"@graphql-tools/merge": "6.0.0-alpha-cb9efce.0", | ||
"@graphql-tools/utils": "6.0.0-alpha-cc6edfd.0", | ||
"@graphql-tools/merge": "6.0.0-alpha-cc6edfd.0", | ||
"globby": "11.0.0", | ||
@@ -13,0 +13,0 @@ "import-from": "3.0.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
134670
+ Added@graphql-tools/merge@6.0.0-alpha-cc6edfd.0(transitive)
+ Added@graphql-tools/schema@6.0.0-alpha-cc6edfd.0(transitive)
+ Added@graphql-tools/utils@6.0.0-alpha-cc6edfd.0(transitive)
- Removed@graphql-tools/merge@6.0.0-alpha-cb9efce.0(transitive)
- Removed@graphql-tools/schema@6.0.0-alpha-cb9efce.0(transitive)
- Removed@graphql-tools/utils@6.0.0-alpha-cb9efce.0(transitive)