@graphql-tools/load
Advanced tools
Comparing version 6.0.0-alpha-8d6f40e.0 to 6.0.0-alpha-a145fb9.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-8d6f40e.0", | ||
"version": "6.0.0-alpha-a145fb9.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-8d6f40e.0", | ||
"@graphql-tools/merge": "6.0.0-alpha-8d6f40e.0", | ||
"@graphql-tools/utils": "6.0.0-alpha-a145fb9.0", | ||
"@graphql-tools/merge": "6.0.0-alpha-a145fb9.0", | ||
"globby": "11.0.0", | ||
@@ -16,3 +16,3 @@ "import-from": "3.0.0", | ||
"p-limit": "2.3.0", | ||
"tslib": "1.11.1", | ||
"tslib": "~2.0.0", | ||
"unixify": "1.0.0", | ||
@@ -19,0 +19,0 @@ "valid-url": "1.0.9" |
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-a145fb9.0(transitive)
+ Added@graphql-tools/schema@6.0.0-alpha-a145fb9.0(transitive)
+ Added@graphql-tools/utils@6.0.0-alpha-a145fb9.0(transitive)
+ Addedtslib@1.14.12.0.3(transitive)
- Removed@graphql-tools/merge@6.0.0-alpha-8d6f40e.0(transitive)
- Removed@graphql-tools/schema@6.0.0-alpha-8d6f40e.0(transitive)
- Removed@graphql-tools/utils@6.0.0-alpha-8d6f40e.0(transitive)
- Removedtslib@1.11.12.8.1(transitive)
Updatedtslib@~2.0.0