@graphql-tools/load 6.2.6-alpha-1cef0f11.0 → 6.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":["../../../dist/load/src/utils/pointers.js","../../../dist/load/src/load-typedefs/options.js","../../../dist/load/src/load-typedefs/load-file.js","../../../dist/load/src/utils/helpers.js","../../../dist/load/src/utils/custom-loader.js","../../../dist/load/src/utils/queue.js","../../../dist/load/src/load-typedefs/collect-sources.js","../../../dist/load/src/filter-document-kind.js","../../../dist/load/src/load-typedefs/parse.js","../../../dist/load/src/load-typedefs.js","../../../dist/load/src/documents.js","../../../dist/load/src/schema.js"],"sourcesContent":["import { asArray } from '@graphql-tools/utils';\nexport function normalizePointers(unnormalizedPointerOrPointers) {\n return asArray(unnormalizedPointerOrPointers).reduce((normalizedPointers, unnormalizedPointer) => {\n if (typeof unnormalizedPointer === 'string') {\n normalizedPointers[unnormalizedPointer] = {};\n }\n else if (typeof unnormalizedPointer === 'object') {\n Object.assign(normalizedPointers, unnormalizedPointer);\n }\n else {\n throw new Error(`Invalid pointer ${unnormalizedPointer}`);\n }\n return normalizedPointers;\n }, {});\n}\n//# sourceMappingURL=pointers.js.map","import { cwd } from 'process';\nexport function applyDefaultOptions(options) {\n options.cache = options.cache || {};\n options.cwd = options.cwd || cwd();\n options.sort = 'sort' in options ? options.sort : true;\n}\n//# sourceMappingURL=options.js.map","import { debugLog } from '@graphql-tools/utils';\nexport async function loadFile(pointer, options) {\n const cached = useCache({ pointer, options });\n if (cached) {\n return cached;\n }\n for await (const loader of options.loaders) {\n try {\n const canLoad = await loader.canLoad(pointer, options);\n if (canLoad) {\n const loadedValue = await loader.load(pointer, options);\n return loadedValue;\n }\n }\n catch (error) {\n debugLog(`Failed to find any GraphQL type definitions in: ${pointer} - ${error.message}`);\n throw error;\n }\n }\n return undefined;\n}\nexport function loadFileSync(pointer, options) {\n const cached = useCache({ pointer, options });\n if (cached) {\n return cached;\n }\n for (const loader of options.loaders) {\n try {\n const canLoad = loader.canLoadSync && loader.loadSync && loader.canLoadSync(pointer, options);\n if (canLoad) {\n return loader.loadSync(pointer, options);\n }\n }\n catch (error) {\n debugLog(`Failed to find any GraphQL type definitions in: ${pointer} - ${error.message}`);\n throw error;\n }\n }\n return undefined;\n}\nfunction useCache({ pointer, options }) {\n if (options['cache']) {\n return options['cache'][pointer];\n }\n}\n//# sourceMappingURL=load-file.js.map","import pLimit from 'p-limit';\n/**\n * Converts a string to 32bit integer\n */\nexport function stringToHash(str) {\n let hash = 0;\n if (str.length === 0) {\n return hash;\n }\n let char;\n for (let i = 0; i < str.length; i++) {\n char = str.charCodeAt(i);\n // tslint:disable-next-line: no-bitwise\n hash = (hash << 5) - hash + char;\n // tslint:disable-next-line: no-bitwise\n hash = hash & hash;\n }\n return hash;\n}\nexport function useStack(...fns) {\n return (input) => {\n function createNext(i) {\n if (i >= fns.length) {\n return () => { };\n }\n return function next() {\n fns[i](input, createNext(i + 1));\n };\n }\n fns[0](input, createNext(1));\n };\n}\nexport function useLimit(concurrency) {\n return pLimit(concurrency);\n}\n//# sourceMappingURL=helpers.js.map","import importFrom from 'import-from';\nexport function getCustomLoaderByPath(path, cwd) {\n try {\n const requiredModule = importFrom(cwd, path);\n if (requiredModule) {\n if (requiredModule.default && typeof requiredModule.default === 'function') {\n return requiredModule.default;\n }\n if (typeof requiredModule === 'function') {\n return requiredModule;\n }\n }\n }\n catch (e) { }\n return null;\n}\nexport async function useCustomLoader(loaderPointer, cwd) {\n let loader;\n if (typeof loaderPointer === 'string') {\n loader = await getCustomLoaderByPath(loaderPointer, cwd);\n }\n else if (typeof loaderPointer === 'function') {\n loader = loaderPointer;\n }\n if (typeof loader !== 'function') {\n throw new Error(`Failed to load custom loader: ${loaderPointer}`);\n }\n return loader;\n}\nexport function useCustomLoaderSync(loaderPointer, cwd) {\n let loader;\n if (typeof loaderPointer === 'string') {\n loader = getCustomLoaderByPath(loaderPointer, cwd);\n }\n else if (typeof loaderPointer === 'function') {\n loader = loaderPointer;\n }\n if (typeof loader !== 'function') {\n throw new Error(`Failed to load custom loader: ${loaderPointer}`);\n }\n return loader;\n}\n//# sourceMappingURL=custom-loader.js.map","import pLimit from 'p-limit';\nexport function useQueue(options) {\n const queue = [];\n const limit = (options === null || options === void 0 ? void 0 : options.concurrency) ? pLimit(options.concurrency) : async (fn) => fn();\n return {\n add(fn) {\n queue.push(() => limit(fn));\n },\n runAll() {\n return Promise.all(queue.map(fn => fn()));\n },\n };\n}\nexport function useSyncQueue() {\n const queue = [];\n return {\n add(fn) {\n queue.push(fn);\n },\n runAll() {\n queue.forEach(fn => fn());\n },\n };\n}\n//# sourceMappingURL=queue.js.map","import { isDocumentString, parseGraphQLSDL, asArray, printSchemaWithDirectives } from '@graphql-tools/utils';\nimport { isSchema, Kind, parse } from 'graphql';\nimport isGlob from 'is-glob';\nimport { loadFile, loadFileSync } from './load-file';\nimport { stringToHash, useStack } from '../utils/helpers';\nimport { useCustomLoader, useCustomLoaderSync } from '../utils/custom-loader';\nimport { useQueue, useSyncQueue } from '../utils/queue';\nimport unixify from 'unixify';\nimport globby, { sync as globbySync } from 'globby';\nconst CONCURRENCY_LIMIT = 50;\nexport async function collectSources({ pointerOptionMap, options, }) {\n var _a;\n const sources = [];\n const globs = [];\n const globOptions = {};\n const queue = useQueue({ concurrency: CONCURRENCY_LIMIT });\n const { addSource, addGlob, collect } = createHelpers({\n sources,\n globs,\n options,\n globOptions,\n stack: [collectDocumentString, collectGlob, collectCustomLoader, collectFallback],\n });\n for (const pointer in pointerOptionMap) {\n const pointerOptions = {\n ...((_a = pointerOptionMap[pointer]) !== null && _a !== void 0 ? _a : {}),\n unixify,\n };\n collect({\n pointer,\n pointerOptions,\n pointerOptionMap,\n options,\n addSource,\n addGlob,\n queue: queue.add,\n });\n }\n if (globs.length) {\n includeIgnored({\n options,\n globs,\n });\n const paths = await globby(globs, createGlobbyOptions(options));\n collectSourcesFromGlobals({\n filepaths: paths,\n options,\n globOptions,\n pointerOptionMap,\n addSource,\n queue: queue.add,\n });\n }\n await queue.runAll();\n return sources;\n}\nexport function collectSourcesSync({ pointerOptionMap, options, }) {\n var _a;\n const sources = [];\n const globs = [];\n const globOptions = {};\n const queue = useSyncQueue();\n const { addSource, addGlob, collect } = createHelpers({\n sources,\n globs,\n options,\n globOptions,\n stack: [collectDocumentString, collectGlob, collectCustomLoaderSync, collectFallbackSync],\n });\n for (const pointer in pointerOptionMap) {\n const pointerOptions = {\n ...((_a = pointerOptionMap[pointer]) !== null && _a !== void 0 ? _a : {}),\n unixify,\n };\n collect({\n pointer,\n pointerOptions,\n pointerOptionMap,\n options,\n addSource,\n addGlob,\n queue: queue.add,\n });\n }\n if (globs.length) {\n includeIgnored({\n options,\n globs,\n });\n const paths = globbySync(globs, createGlobbyOptions(options));\n collectSourcesFromGlobalsSync({\n filepaths: paths,\n options,\n globOptions,\n pointerOptionMap,\n addSource,\n queue: queue.add,\n });\n }\n queue.runAll();\n return sources;\n}\n//\nfunction createHelpers({ sources, globs, options, globOptions, stack, }) {\n const addSource = ({ pointer, source, noCache, }) => {\n sources.push(source);\n if (!noCache) {\n options.cache[pointer] = source;\n }\n };\n const collect = useStack(...stack);\n const addGlob = ({ pointerOptions, pointer }) => {\n globs.push(pointer);\n Object.assign(globOptions, pointerOptions);\n };\n return {\n addSource,\n collect,\n addGlob,\n };\n}\nfunction includeIgnored({ options, globs }) {\n if (options.ignore) {\n const ignoreList = asArray(options.ignore)\n .map(g => `!(${g})`)\n .map(unixify);\n if (ignoreList.length > 0) {\n globs.push(...ignoreList);\n }\n }\n}\nfunction createGlobbyOptions(options) {\n return { absolute: true, ...options, ignore: [] };\n}\nfunction collectSourcesFromGlobals({ filepaths, options, globOptions, pointerOptionMap, addSource, queue, }) {\n const collectFromGlobs = useStack(collectCustomLoader, collectFallback);\n for (let i = 0; i < filepaths.length; i++) {\n const pointer = filepaths[i];\n collectFromGlobs({\n pointer,\n pointerOptions: globOptions,\n pointerOptionMap,\n options,\n addSource,\n addGlob: () => {\n throw new Error(`I don't accept any new globs!`);\n },\n queue,\n });\n }\n}\nfunction collectSourcesFromGlobalsSync({ filepaths, options, globOptions, pointerOptionMap, addSource, queue, }) {\n const collectFromGlobs = useStack(collectCustomLoaderSync, collectFallbackSync);\n for (let i = 0; i < filepaths.length; i++) {\n const pointer = filepaths[i];\n collectFromGlobs({\n pointer,\n pointerOptions: globOptions,\n pointerOptionMap,\n options,\n addSource,\n addGlob: () => {\n throw new Error(`I don't accept any new globs!`);\n },\n queue,\n });\n }\n}\nfunction addResultOfCustomLoader({ pointer, result, addSource, }) {\n if (isSchema(result)) {\n addSource({\n source: {\n location: pointer,\n schema: result,\n document: parse(printSchemaWithDirectives(result)),\n },\n pointer,\n noCache: true,\n });\n }\n else if (result.kind && result.kind === Kind.DOCUMENT) {\n addSource({\n source: {\n document: result,\n location: pointer,\n },\n pointer,\n });\n }\n else if (result.document) {\n addSource({\n source: {\n location: pointer,\n ...result,\n },\n pointer,\n });\n }\n}\nfunction collectDocumentString({ pointer, pointerOptions, options, addSource, queue }, next) {\n if (isDocumentString(pointer)) {\n return queue(() => {\n const source = parseGraphQLSDL(`${stringToHash(pointer)}.graphql`, pointer, {\n ...options,\n ...pointerOptions,\n });\n addSource({\n source,\n pointer,\n });\n });\n }\n next();\n}\nfunction collectGlob({ pointer, pointerOptions, addGlob }, next) {\n if (isGlob(pointerOptions.unixify(pointer))) {\n return addGlob({\n pointer: pointerOptions.unixify(pointer),\n pointerOptions,\n });\n }\n next();\n}\nfunction collectCustomLoader({ pointer, pointerOptions, queue, addSource, options, pointerOptionMap }, next) {\n if (pointerOptions.loader) {\n return queue(async () => {\n const loader = await useCustomLoader(pointerOptions.loader, options.cwd);\n const result = await loader(pointer, { ...options, ...pointerOptions }, pointerOptionMap);\n if (!result) {\n return;\n }\n addResultOfCustomLoader({ pointer, result, addSource });\n });\n }\n next();\n}\nfunction collectCustomLoaderSync({ pointer, pointerOptions, queue, addSource, options, pointerOptionMap }, next) {\n if (pointerOptions.loader) {\n return queue(() => {\n const loader = useCustomLoaderSync(pointerOptions.loader, options.cwd);\n const result = loader(pointer, { ...options, ...pointerOptions }, pointerOptionMap);\n if (result) {\n addResultOfCustomLoader({ pointer, result, addSource });\n }\n });\n }\n next();\n}\nfunction collectFallback({ queue, pointer, options, pointerOptions, addSource }) {\n return queue(async () => {\n const source = await loadFile(pointer, {\n ...options,\n ...pointerOptions,\n });\n if (source) {\n addSource({ source, pointer });\n }\n });\n}\nfunction collectFallbackSync({ queue, pointer, options, pointerOptions, addSource }) {\n return queue(() => {\n const source = loadFileSync(pointer, {\n ...options,\n ...pointerOptions,\n });\n if (source) {\n addSource({ source, pointer });\n }\n });\n}\n//# sourceMappingURL=collect-sources.js.map","import { debugLog } from '@graphql-tools/utils';\nimport { Kind } from 'graphql';\n/**\n * @internal\n */\nexport const filterKind = (content, filterKinds) => {\n if (content && content.definitions && content.definitions.length && filterKinds && filterKinds.length > 0) {\n const invalidDefinitions = [];\n const validDefinitions = [];\n for (const definitionNode of content.definitions) {\n if (filterKinds.includes(definitionNode.kind)) {\n invalidDefinitions.push(definitionNode);\n }\n else {\n validDefinitions.push(definitionNode);\n }\n }\n if (invalidDefinitions.length > 0) {\n invalidDefinitions.forEach(d => {\n debugLog(`Filtered document of kind ${d.kind} due to filter policy (${filterKinds.join(', ')})`);\n });\n }\n return {\n kind: Kind.DOCUMENT,\n definitions: validDefinitions,\n };\n }\n return content;\n};\n//# sourceMappingURL=filter-document-kind.js.map","import { printSchemaWithDirectives, fixSchemaAst, parseGraphQLSDL } from '@graphql-tools/utils';\nimport { printWithComments, resetComments } from '@graphql-tools/merge';\nimport { filterKind } from '../filter-document-kind';\nexport function parseSource({ partialSource, options, globOptions, pointerOptionMap, addValidSource }) {\n if (partialSource) {\n const input = prepareInput({\n source: partialSource,\n options,\n globOptions,\n pointerOptionMap,\n });\n parseSchema(input);\n parseRawSDL(input);\n if (input.source.document) {\n useKindsFilter(input);\n useComments(input);\n collectValidSources(input, addValidSource);\n }\n }\n}\n//\nfunction prepareInput({ source, options, globOptions, pointerOptionMap, }) {\n const specificOptions = {\n ...options,\n ...(source.location in pointerOptionMap ? globOptions : pointerOptionMap[source.location]),\n };\n return { source: { ...source }, options: specificOptions };\n}\nfunction parseSchema(input) {\n if (input.source.schema) {\n input.source.schema = fixSchemaAst(input.source.schema, input.options);\n input.source.rawSDL = printSchemaWithDirectives(input.source.schema, input.options);\n }\n}\nfunction parseRawSDL(input) {\n if (input.source.rawSDL) {\n input.source.document = parseGraphQLSDL(input.source.location, input.source.rawSDL, input.options).document;\n }\n}\nfunction useKindsFilter(input) {\n if (input.options.filterKinds) {\n input.source.document = filterKind(input.source.document, input.options.filterKinds);\n }\n}\nfunction useComments(input) {\n if (!input.source.rawSDL) {\n input.source.rawSDL = printWithComments(input.source.document);\n resetComments();\n }\n}\nfunction collectValidSources(input, addValidSource) {\n if (input.source.document.definitions && input.source.document.definitions.length > 0) {\n addValidSource(input.source);\n }\n}\n//# sourceMappingURL=parse.js.map","import { compareStrings } from '@graphql-tools/utils';\nimport { normalizePointers } from './utils/pointers';\nimport { applyDefaultOptions } from './load-typedefs/options';\nimport { collectSources, collectSourcesSync } from './load-typedefs/collect-sources';\nimport { parseSource } from './load-typedefs/parse';\nimport { useLimit } from './utils/helpers';\nconst CONCURRENCY_LIMIT = 100;\n/**\n * Asynchronously loads any GraphQL documents (i.e. executable documents like\n * operations and fragments as well as type system definitions) from the\n * provided pointers.\n * @param pointerOrPointers Pointers to the sources to load the documents from\n * @param options Additional options\n */\nexport async function loadTypedefs(pointerOrPointers, options) {\n const pointerOptionMap = normalizePointers(pointerOrPointers);\n const globOptions = {};\n applyDefaultOptions(options);\n const sources = await collectSources({\n pointerOptionMap,\n options,\n });\n const validSources = [];\n // If we have few k of files it may be an issue\n const limit = useLimit(CONCURRENCY_LIMIT);\n await Promise.all(sources.map(partialSource => limit(() => parseSource({\n partialSource,\n options,\n globOptions,\n pointerOptionMap,\n addValidSource(source) {\n validSources.push(source);\n },\n }))));\n return prepareResult({ options, pointerOptionMap, validSources });\n}\n/**\n * Synchronously loads any GraphQL documents (i.e. executable documents like\n * operations and fragments as well as type system definitions) from the\n * provided pointers.\n * @param pointerOrPointers Pointers to the sources to load the documents from\n * @param options Additional options\n */\nexport function loadTypedefsSync(pointerOrPointers, options) {\n const pointerOptionMap = normalizePointers(pointerOrPointers);\n const globOptions = {};\n applyDefaultOptions(options);\n const sources = collectSourcesSync({\n pointerOptionMap,\n options,\n });\n const validSources = [];\n sources.forEach(partialSource => {\n parseSource({\n partialSource,\n options,\n globOptions,\n pointerOptionMap,\n addValidSource(source) {\n validSources.push(source);\n },\n });\n });\n return prepareResult({ options, pointerOptionMap, validSources });\n}\n//\nfunction prepareResult({ options, pointerOptionMap, validSources, }) {\n const pointerList = Object.keys(pointerOptionMap);\n if (pointerList.length > 0 && validSources.length === 0) {\n throw new Error(`\n Unable to find any GraphQL type definitions for the following pointers:\n ${pointerList.map(p => `\n - ${p}\n `)}`);\n }\n return options.sort\n ? validSources.sort((left, right) => compareStrings(left.location, right.location))\n : validSources;\n}\n//# sourceMappingURL=load-typedefs.js.map","import { Kind } from 'graphql';\nimport { loadTypedefs, loadTypedefsSync } from './load-typedefs';\n/**\n * Kinds of AST nodes that are included in executable documents\n */\nexport const OPERATION_KINDS = [Kind.OPERATION_DEFINITION, Kind.FRAGMENT_DEFINITION];\n/**\n * Kinds of AST nodes that are included in type system definition documents\n */\nexport const NON_OPERATION_KINDS = Object.keys(Kind)\n .reduce((prev, v) => [...prev, Kind[v]], [])\n .filter(v => !OPERATION_KINDS.includes(v));\n/**\n * Asynchronously loads executable documents (i.e. operations and fragments) from\n * the provided pointers. The pointers may be individual files or a glob pattern.\n * The files themselves may be `.graphql` files or `.js` and `.ts` (in which\n * case they will be parsed using graphql-tag-pluck).\n * @param pointerOrPointers Pointers to the files to load the documents from\n * @param options Additional options\n */\nexport function loadDocuments(pointerOrPointers, options) {\n return loadTypedefs(pointerOrPointers, { noRequire: true, filterKinds: NON_OPERATION_KINDS, ...options });\n}\n/**\n * Synchronously loads executable documents (i.e. operations and fragments) from\n * the provided pointers. The pointers may be individual files or a glob pattern.\n * The files themselves may be `.graphql` files or `.js` and `.ts` (in which\n * case they will be parsed using graphql-tag-pluck).\n * @param pointerOrPointers Pointers to the files to load the documents from\n * @param options Additional options\n */\nexport function loadDocumentsSync(pointerOrPointers, options) {\n return loadTypedefsSync(pointerOrPointers, { noRequire: true, filterKinds: NON_OPERATION_KINDS, ...options });\n}\n//# sourceMappingURL=documents.js.map","import { loadTypedefs, loadTypedefsSync } from './load-typedefs';\nimport { Source as GraphQLSource, print } from 'graphql';\nimport { OPERATION_KINDS } from './documents';\nimport { mergeSchemasAsync, mergeSchemas } from '@graphql-tools/merge';\n/**\n * Asynchronously loads a schema from the provided pointers.\n * @param schemaPointers Pointers to the sources to load the schema from\n * @param options Additional options\n */\nexport async function loadSchema(schemaPointers, options) {\n const sources = await loadTypedefs(schemaPointers, {\n filterKinds: OPERATION_KINDS,\n ...options,\n });\n const { schemas, typeDefs } = collectSchemasAndTypeDefs(sources);\n const mergeSchemasOptions = {\n schemas,\n typeDefs,\n ...options,\n };\n const schema = await mergeSchemasAsync(mergeSchemasOptions);\n if (options === null || options === void 0 ? void 0 : options.includeSources) {\n includeSources(schema, sources);\n }\n return schema;\n}\n/**\n * Synchronously loads a schema from the provided pointers.\n * @param schemaPointers Pointers to the sources to load the schema from\n * @param options Additional options\n */\nexport function loadSchemaSync(schemaPointers, options) {\n const sources = loadTypedefsSync(schemaPointers, {\n filterKinds: OPERATION_KINDS,\n ...options,\n });\n const { schemas, typeDefs } = collectSchemasAndTypeDefs(sources);\n const mergeSchemasOptions = {\n schemas,\n typeDefs,\n ...options,\n };\n const schema = mergeSchemas(mergeSchemasOptions);\n if (options === null || options === void 0 ? void 0 : options.includeSources) {\n includeSources(schema, sources);\n }\n return schema;\n}\nfunction includeSources(schema, sources) {\n schema.extensions = {\n ...schema.extensions,\n sources: sources\n .filter(source => source.rawSDL || source.document)\n .map(source => new GraphQLSource(source.rawSDL || print(source.document), source.location)),\n };\n}\nfunction collectSchemasAndTypeDefs(sources) {\n const schemas = [];\n const typeDefs = [];\n sources.forEach(source => {\n if (source.schema) {\n schemas.push(source.schema);\n }\n else {\n typeDefs.push(source.document);\n }\n });\n return {\n schemas,\n typeDefs,\n };\n}\n//# sourceMappingURL=schema.js.map"],"names":["globbySync","CONCURRENCY_LIMIT","GraphQLSource"],"mappings":";;;;;;;;;;AACO,SAAS,iBAAiB,CAAC,6BAA6B,EAAE;AACjE,IAAI,OAAO,OAAO,CAAC,6BAA6B,CAAC,CAAC,MAAM,CAAC,CAAC,kBAAkB,EAAE,mBAAmB,KAAK;AACtG,QAAQ,IAAI,OAAO,mBAAmB,KAAK,QAAQ,EAAE;AACrD,YAAY,kBAAkB,CAAC,mBAAmB,CAAC,GAAG,EAAE,CAAC;AACzD,SAAS;AACT,aAAa,IAAI,OAAO,mBAAmB,KAAK,QAAQ,EAAE;AAC1D,YAAY,MAAM,CAAC,MAAM,CAAC,kBAAkB,EAAE,mBAAmB,CAAC,CAAC;AACnE,SAAS;AACT,aAAa;AACb,YAAY,MAAM,IAAI,KAAK,CAAC,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC;AACtE,SAAS;AACT,QAAQ,OAAO,kBAAkB,CAAC;AAClC,KAAK,EAAE,EAAE,CAAC,CAAC;AACX;;ACbO,SAAS,mBAAmB,CAAC,OAAO,EAAE;AAC7C,IAAI,OAAO,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC;AACxC,IAAI,OAAO,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,IAAI,GAAG,EAAE,CAAC;AACvC,IAAI,OAAO,CAAC,IAAI,GAAG,MAAM,IAAI,OAAO,GAAG,OAAO,CAAC,IAAI,GAA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;AACxB,aAAa,MAAM,CAAC,MAAM,IAAI,MAAM,CAAC,MAAM,IAAI,MAAM,CAAC,QAAQ,CAAC;AAC/D,aAAa,GAAG,CAAC,MAAM,IAAI,IAAIC,MAAa,CAAC,MAAM,CAAC,MAAM,IAAI,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC;AACvG,KAAK,CAAC;AACN,CAAC;AACD,SAAS,yBAAyB,CAAC,OAAO,EAAE;AAC5C,IAAI,MAAM,OAAO,GAAG,EAAE,CAAC;AACvB,IAAI,MAAM,QAAQ,GAAG,EAAE,CAAC;AACxB,IAAI,OAAO,CAAC,OAAO,CAAC,MAAM,IAAI;AAC9B,QAAQ,IAAI,MAAM,CAAC,MAAM,EAAE;AAC3B,YAAY,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AACxC,SAAS;AACT,aAAa;AACb,YAAY,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AAC3C,SAAS;AACT,KAAK,CAAC,CAAC;AACP,IAAI,OAAO;AACX,QAAQ,OAAO;AACf,QAAQ,QAAQ;AAChB,KAAK,CAAC;AACN;;;;"}
1
+ {"version":3,"file":"index.esm.js","sources":["../../../dist/load/src/utils/pointers.js","../../../dist/load/src/load-typedefs/options.js","../../../dist/load/src/load-typedefs/load-file.js","../../../dist/load/src/utils/helpers.js","../../../dist/load/src/utils/custom-loader.js","../../../dist/load/src/utils/queue.js","../../../dist/load/src/load-typedefs/collect-sources.js","../../../dist/load/src/filter-document-kind.js","../../../dist/load/src/load-typedefs/parse.js","../../../dist/load/src/load-typedefs.js","../../../dist/load/src/documents.js","../../../dist/load/src/schema.js"],"sourcesContent":["import { asArray } from '@graphql-tools/utils';\nexport function normalizePointers(unnormalizedPointerOrPointers) {\n return asArray(unnormalizedPointerOrPointers).reduce((normalizedPointers, unnormalizedPointer) => {\n if (typeof unnormalizedPointer === 'string') {\n normalizedPointers[unnormalizedPointer] = {};\n }\n else if (typeof unnormalizedPointer === 'object') {\n Object.assign(normalizedPointers, unnormalizedPointer);\n }\n else {\n throw new Error(`Invalid pointer ${unnormalizedPointer}`);\n }\n return normalizedPointers;\n }, {});\n}\n//# sourceMappingURL=pointers.js.map","import { cwd } from 'process';\nexport function applyDefaultOptions(options) {\n options.cache = options.cache || {};\n options.cwd = options.cwd || cwd();\n options.sort = 'sort' in options ? options.sort : true;\n}\n//# sourceMappingURL=options.js.map","import { debugLog } from '@graphql-tools/utils';\nexport async function loadFile(pointer, options) {\n const cached = useCache({ pointer, options });\n if (cached) {\n return cached;\n }\n for await (const loader of options.loaders) {\n try {\n const canLoad = await loader.canLoad(pointer, options);\n if (canLoad) {\n const loadedValue = await loader.load(pointer, options);\n return loadedValue;\n }\n }\n catch (error) {\n debugLog(`Failed to find any GraphQL type definitions in: ${pointer} - ${error.message}`);\n throw error;\n }\n }\n return undefined;\n}\nexport function loadFileSync(pointer, options) {\n const cached = useCache({ pointer, options });\n if (cached) {\n return cached;\n }\n for (const loader of options.loaders) {\n try {\n const canLoad = loader.canLoadSync && loader.loadSync && loader.canLoadSync(pointer, options);\n if (canLoad) {\n return loader.loadSync(pointer, options);\n }\n }\n catch (error) {\n debugLog(`Failed to find any GraphQL type definitions in: ${pointer} - ${error.message}`);\n throw error;\n }\n }\n return undefined;\n}\nfunction useCache({ pointer, options }) {\n if (options['cache']) {\n return options['cache'][pointer];\n }\n}\n//# sourceMappingURL=load-file.js.map","import pLimit from 'p-limit';\n/**\n * Converts a string to 32bit integer\n */\nexport function stringToHash(str) {\n let hash = 0;\n if (str.length === 0) {\n return hash;\n }\n let char;\n for (let i = 0; i < str.length; i++) {\n char = str.charCodeAt(i);\n // tslint:disable-next-line: no-bitwise\n hash = (hash << 5) - hash + char;\n // tslint:disable-next-line: no-bitwise\n hash = hash & hash;\n }\n return hash;\n}\nexport function useStack(...fns) {\n return (input) => {\n function createNext(i) {\n if (i >= fns.length) {\n return () => { };\n }\n return function next() {\n fns[i](input, createNext(i + 1));\n };\n }\n fns[0](input, createNext(1));\n };\n}\nexport function useLimit(concurrency) {\n return pLimit(concurrency);\n}\n//# sourceMappingURL=helpers.js.map","import importFrom from 'import-from';\nexport function getCustomLoaderByPath(path, cwd) {\n try {\n const requiredModule = importFrom(cwd, path);\n if (requiredModule) {\n if (requiredModule.default && typeof requiredModule.default === 'function') {\n return requiredModule.default;\n }\n if (typeof requiredModule === 'function') {\n return requiredModule;\n }\n }\n }\n catch (e) { }\n return null;\n}\nexport async function useCustomLoader(loaderPointer, cwd) {\n let loader;\n if (typeof loaderPointer === 'string') {\n loader = await getCustomLoaderByPath(loaderPointer, cwd);\n }\n else if (typeof loaderPointer === 'function') {\n loader = loaderPointer;\n }\n if (typeof loader !== 'function') {\n throw new Error(`Failed to load custom loader: ${loaderPointer}`);\n }\n return loader;\n}\nexport function useCustomLoaderSync(loaderPointer, cwd) {\n let loader;\n if (typeof loaderPointer === 'string') {\n loader = getCustomLoaderByPath(loaderPointer, cwd);\n }\n else if (typeof loaderPointer === 'function') {\n loader = loaderPointer;\n }\n if (typeof loader !== 'function') {\n throw new Error(`Failed to load custom loader: ${loaderPointer}`);\n }\n return loader;\n}\n//# sourceMappingURL=custom-loader.js.map","import pLimit from 'p-limit';\nexport function useQueue(options) {\n const queue = [];\n const limit = (options === null || options === void 0 ? void 0 : options.concurrency) ? pLimit(options.concurrency) : async (fn) => fn();\n return {\n add(fn) {\n queue.push(() => limit(fn));\n },\n runAll() {\n return Promise.all(queue.map(fn => fn()));\n },\n };\n}\nexport function useSyncQueue() {\n const queue = [];\n return {\n add(fn) {\n queue.push(fn);\n },\n runAll() {\n queue.forEach(fn => fn());\n },\n };\n}\n//# sourceMappingURL=queue.js.map","import { isDocumentString, parseGraphQLSDL, asArray, getDocumentNodeFromSchema } from '@graphql-tools/utils';\nimport { isSchema, Kind } from 'graphql';\nimport isGlob from 'is-glob';\nimport { loadFile, loadFileSync } from './load-file';\nimport { stringToHash, useStack } from '../utils/helpers';\nimport { useCustomLoader, useCustomLoaderSync } from '../utils/custom-loader';\nimport { useQueue, useSyncQueue } from '../utils/queue';\nimport unixify from 'unixify';\nimport globby, { sync as globbySync } from 'globby';\nconst CONCURRENCY_LIMIT = 50;\nexport async function collectSources({ pointerOptionMap, options, }) {\n var _a;\n const sources = [];\n const globs = [];\n const globOptions = {};\n const queue = useQueue({ concurrency: CONCURRENCY_LIMIT });\n const { addSource, addGlob, collect } = createHelpers({\n sources,\n globs,\n options,\n globOptions,\n stack: [collectDocumentString, collectGlob, collectCustomLoader, collectFallback],\n });\n for (const pointer in pointerOptionMap) {\n const pointerOptions = {\n ...((_a = pointerOptionMap[pointer]) !== null && _a !== void 0 ? _a : {}),\n unixify,\n };\n collect({\n pointer,\n pointerOptions,\n pointerOptionMap,\n options,\n addSource,\n addGlob,\n queue: queue.add,\n });\n }\n if (globs.length) {\n includeIgnored({\n options,\n globs,\n });\n const paths = await globby(globs, createGlobbyOptions(options));\n collectSourcesFromGlobals({\n filepaths: paths,\n options,\n globOptions,\n pointerOptionMap,\n addSource,\n queue: queue.add,\n });\n }\n await queue.runAll();\n return sources;\n}\nexport function collectSourcesSync({ pointerOptionMap, options, }) {\n var _a;\n const sources = [];\n const globs = [];\n const globOptions = {};\n const queue = useSyncQueue();\n const { addSource, addGlob, collect } = createHelpers({\n sources,\n globs,\n options,\n globOptions,\n stack: [collectDocumentString, collectGlob, collectCustomLoaderSync, collectFallbackSync],\n });\n for (const pointer in pointerOptionMap) {\n const pointerOptions = {\n ...((_a = pointerOptionMap[pointer]) !== null && _a !== void 0 ? _a : {}),\n unixify,\n };\n collect({\n pointer,\n pointerOptions,\n pointerOptionMap,\n options,\n addSource,\n addGlob,\n queue: queue.add,\n });\n }\n if (globs.length) {\n includeIgnored({\n options,\n globs,\n });\n const paths = globbySync(globs, createGlobbyOptions(options));\n collectSourcesFromGlobalsSync({\n filepaths: paths,\n options,\n globOptions,\n pointerOptionMap,\n addSource,\n queue: queue.add,\n });\n }\n queue.runAll();\n return sources;\n}\n//\nfunction createHelpers({ sources, globs, options, globOptions, stack, }) {\n const addSource = ({ pointer, source, noCache, }) => {\n sources.push(source);\n if (!noCache) {\n options.cache[pointer] = source;\n }\n };\n const collect = useStack(...stack);\n const addGlob = ({ pointerOptions, pointer }) => {\n globs.push(pointer);\n Object.assign(globOptions, pointerOptions);\n };\n return {\n addSource,\n collect,\n addGlob,\n };\n}\nfunction includeIgnored({ options, globs }) {\n if (options.ignore) {\n const ignoreList = asArray(options.ignore)\n .map(g => `!(${g})`)\n .map(unixify);\n if (ignoreList.length > 0) {\n globs.push(...ignoreList);\n }\n }\n}\nfunction createGlobbyOptions(options) {\n return { absolute: true, ...options, ignore: [] };\n}\nfunction collectSourcesFromGlobals({ filepaths, options, globOptions, pointerOptionMap, addSource, queue, }) {\n const collectFromGlobs = useStack(collectCustomLoader, collectFallback);\n for (let i = 0; i < filepaths.length; i++) {\n const pointer = filepaths[i];\n collectFromGlobs({\n pointer,\n pointerOptions: globOptions,\n pointerOptionMap,\n options,\n addSource,\n addGlob: () => {\n throw new Error(`I don't accept any new globs!`);\n },\n queue,\n });\n }\n}\nfunction collectSourcesFromGlobalsSync({ filepaths, options, globOptions, pointerOptionMap, addSource, queue, }) {\n const collectFromGlobs = useStack(collectCustomLoaderSync, collectFallbackSync);\n for (let i = 0; i < filepaths.length; i++) {\n const pointer = filepaths[i];\n collectFromGlobs({\n pointer,\n pointerOptions: globOptions,\n pointerOptionMap,\n options,\n addSource,\n addGlob: () => {\n throw new Error(`I don't accept any new globs!`);\n },\n queue,\n });\n }\n}\nfunction addResultOfCustomLoader({ pointer, result, addSource, }) {\n if (isSchema(result)) {\n addSource({\n source: {\n location: pointer,\n schema: result,\n document: getDocumentNodeFromSchema(result),\n },\n pointer,\n noCache: true,\n });\n }\n else if (result.kind && result.kind === Kind.DOCUMENT) {\n addSource({\n source: {\n document: result,\n location: pointer,\n },\n pointer,\n });\n }\n else if (result.document) {\n addSource({\n source: {\n location: pointer,\n ...result,\n },\n pointer,\n });\n }\n}\nfunction collectDocumentString({ pointer, pointerOptions, options, addSource, queue }, next) {\n if (isDocumentString(pointer)) {\n return queue(() => {\n const source = parseGraphQLSDL(`${stringToHash(pointer)}.graphql`, pointer, {\n ...options,\n ...pointerOptions,\n });\n addSource({\n source,\n pointer,\n });\n });\n }\n next();\n}\nfunction collectGlob({ pointer, pointerOptions, addGlob }, next) {\n if (isGlob(pointerOptions.unixify(pointer))) {\n return addGlob({\n pointer: pointerOptions.unixify(pointer),\n pointerOptions,\n });\n }\n next();\n}\nfunction collectCustomLoader({ pointer, pointerOptions, queue, addSource, options, pointerOptionMap }, next) {\n if (pointerOptions.loader) {\n return queue(async () => {\n const loader = await useCustomLoader(pointerOptions.loader, options.cwd);\n const result = await loader(pointer, { ...options, ...pointerOptions }, pointerOptionMap);\n if (!result) {\n return;\n }\n addResultOfCustomLoader({ pointer, result, addSource });\n });\n }\n next();\n}\nfunction collectCustomLoaderSync({ pointer, pointerOptions, queue, addSource, options, pointerOptionMap }, next) {\n if (pointerOptions.loader) {\n return queue(() => {\n const loader = useCustomLoaderSync(pointerOptions.loader, options.cwd);\n const result = loader(pointer, { ...options, ...pointerOptions }, pointerOptionMap);\n if (result) {\n addResultOfCustomLoader({ pointer, result, addSource });\n }\n });\n }\n next();\n}\nfunction collectFallback({ queue, pointer, options, pointerOptions, addSource }) {\n return queue(async () => {\n const source = await loadFile(pointer, {\n ...options,\n ...pointerOptions,\n });\n if (source) {\n addSource({ source, pointer });\n }\n });\n}\nfunction collectFallbackSync({ queue, pointer, options, pointerOptions, addSource }) {\n return queue(() => {\n const source = loadFileSync(pointer, {\n ...options,\n ...pointerOptions,\n });\n if (source) {\n addSource({ source, pointer });\n }\n });\n}\n//# sourceMappingURL=collect-sources.js.map","import { debugLog } from '@graphql-tools/utils';\nimport { Kind } from 'graphql';\n/**\n * @internal\n */\nexport const filterKind = (content, filterKinds) => {\n if (content && content.definitions && content.definitions.length && filterKinds && filterKinds.length > 0) {\n const invalidDefinitions = [];\n const validDefinitions = [];\n for (const definitionNode of content.definitions) {\n if (filterKinds.includes(definitionNode.kind)) {\n invalidDefinitions.push(definitionNode);\n }\n else {\n validDefinitions.push(definitionNode);\n }\n }\n if (invalidDefinitions.length > 0) {\n invalidDefinitions.forEach(d => {\n debugLog(`Filtered document of kind ${d.kind} due to filter policy (${filterKinds.join(', ')})`);\n });\n }\n return {\n kind: Kind.DOCUMENT,\n definitions: validDefinitions,\n };\n }\n return content;\n};\n//# sourceMappingURL=filter-document-kind.js.map","import { printSchemaWithDirectives, fixSchemaAst, parseGraphQLSDL } from '@graphql-tools/utils';\nimport { printWithComments, resetComments } from '@graphql-tools/merge';\nimport { filterKind } from '../filter-document-kind';\nexport function parseSource({ partialSource, options, globOptions, pointerOptionMap, addValidSource }) {\n if (partialSource) {\n const input = prepareInput({\n source: partialSource,\n options,\n globOptions,\n pointerOptionMap,\n });\n parseSchema(input);\n parseRawSDL(input);\n if (input.source.document) {\n useKindsFilter(input);\n useComments(input);\n collectValidSources(input, addValidSource);\n }\n }\n}\n//\nfunction prepareInput({ source, options, globOptions, pointerOptionMap, }) {\n const specificOptions = {\n ...options,\n ...(source.location in pointerOptionMap ? globOptions : pointerOptionMap[source.location]),\n };\n return { source: { ...source }, options: specificOptions };\n}\nfunction parseSchema(input) {\n if (input.source.schema) {\n input.source.schema = fixSchemaAst(input.source.schema, input.options);\n input.source.rawSDL = printSchemaWithDirectives(input.source.schema, input.options);\n }\n}\nfunction parseRawSDL(input) {\n if (input.source.rawSDL) {\n input.source.document = parseGraphQLSDL(input.source.location, input.source.rawSDL, input.options).document;\n }\n}\nfunction useKindsFilter(input) {\n if (input.options.filterKinds) {\n input.source.document = filterKind(input.source.document, input.options.filterKinds);\n }\n}\nfunction useComments(input) {\n if (!input.source.rawSDL) {\n input.source.rawSDL = printWithComments(input.source.document);\n resetComments();\n }\n}\nfunction collectValidSources(input, addValidSource) {\n if (input.source.document.definitions && input.source.document.definitions.length > 0) {\n addValidSource(input.source);\n }\n}\n//# sourceMappingURL=parse.js.map","import { compareStrings } from '@graphql-tools/utils';\nimport { normalizePointers } from './utils/pointers';\nimport { applyDefaultOptions } from './load-typedefs/options';\nimport { collectSources, collectSourcesSync } from './load-typedefs/collect-sources';\nimport { parseSource } from './load-typedefs/parse';\nimport { useLimit } from './utils/helpers';\nconst CONCURRENCY_LIMIT = 100;\n/**\n * Asynchronously loads any GraphQL documents (i.e. executable documents like\n * operations and fragments as well as type system definitions) from the\n * provided pointers.\n * @param pointerOrPointers Pointers to the sources to load the documents from\n * @param options Additional options\n */\nexport async function loadTypedefs(pointerOrPointers, options) {\n const pointerOptionMap = normalizePointers(pointerOrPointers);\n const globOptions = {};\n applyDefaultOptions(options);\n const sources = await collectSources({\n pointerOptionMap,\n options,\n });\n const validSources = [];\n // If we have few k of files it may be an issue\n const limit = useLimit(CONCURRENCY_LIMIT);\n await Promise.all(sources.map(partialSource => limit(() => parseSource({\n partialSource,\n options,\n globOptions,\n pointerOptionMap,\n addValidSource(source) {\n validSources.push(source);\n },\n }))));\n return prepareResult({ options, pointerOptionMap, validSources });\n}\n/**\n * Synchronously loads any GraphQL documents (i.e. executable documents like\n * operations and fragments as well as type system definitions) from the\n * provided pointers.\n * @param pointerOrPointers Pointers to the sources to load the documents from\n * @param options Additional options\n */\nexport function loadTypedefsSync(pointerOrPointers, options) {\n const pointerOptionMap = normalizePointers(pointerOrPointers);\n const globOptions = {};\n applyDefaultOptions(options);\n const sources = collectSourcesSync({\n pointerOptionMap,\n options,\n });\n const validSources = [];\n sources.forEach(partialSource => {\n parseSource({\n partialSource,\n options,\n globOptions,\n pointerOptionMap,\n addValidSource(source) {\n validSources.push(source);\n },\n });\n });\n return prepareResult({ options, pointerOptionMap, validSources });\n}\n//\nfunction prepareResult({ options, pointerOptionMap, validSources, }) {\n const pointerList = Object.keys(pointerOptionMap);\n if (pointerList.length > 0 && validSources.length === 0) {\n throw new Error(`\n Unable to find any GraphQL type definitions for the following pointers:\n ${pointerList.map(p => `\n - ${p}\n `)}`);\n }\n return options.sort\n ? validSources.sort((left, right) => compareStrings(left.location, right.location))\n : validSources;\n}\n//# sourceMappingURL=load-typedefs.js.map","import { Kind } from 'graphql';\nimport { loadTypedefs, loadTypedefsSync } from './load-typedefs';\n/**\n * Kinds of AST nodes that are included in executable documents\n */\nexport const OPERATION_KINDS = [Kind.OPERATION_DEFINITION, Kind.FRAGMENT_DEFINITION];\n/**\n * Kinds of AST nodes that are included in type system definition documents\n */\nexport const NON_OPERATION_KINDS = Object.keys(Kind)\n .reduce((prev, v) => [...prev, Kind[v]], [])\n .filter(v => !OPERATION_KINDS.includes(v));\n/**\n * Asynchronously loads executable documents (i.e. operations and fragments) from\n * the provided pointers. The pointers may be individual files or a glob pattern.\n * The files themselves may be `.graphql` files or `.js` and `.ts` (in which\n * case they will be parsed using graphql-tag-pluck).\n * @param pointerOrPointers Pointers to the files to load the documents from\n * @param options Additional options\n */\nexport function loadDocuments(pointerOrPointers, options) {\n return loadTypedefs(pointerOrPointers, { noRequire: true, filterKinds: NON_OPERATION_KINDS, ...options });\n}\n/**\n * Synchronously loads executable documents (i.e. operations and fragments) from\n * the provided pointers. The pointers may be individual files or a glob pattern.\n * The files themselves may be `.graphql` files or `.js` and `.ts` (in which\n * case they will be parsed using graphql-tag-pluck).\n * @param pointerOrPointers Pointers to the files to load the documents from\n * @param options Additional options\n */\nexport function loadDocumentsSync(pointerOrPointers, options) {\n return loadTypedefsSync(pointerOrPointers, { noRequire: true, filterKinds: NON_OPERATION_KINDS, ...options });\n}\n//# sourceMappingURL=documents.js.map","import { loadTypedefs, loadTypedefsSync } from './load-typedefs';\nimport { Source as GraphQLSource, print } from 'graphql';\nimport { OPERATION_KINDS } from './documents';\nimport { mergeSchemasAsync, mergeSchemas } from '@graphql-tools/merge';\n/**\n * Asynchronously loads a schema from the provided pointers.\n * @param schemaPointers Pointers to the sources to load the schema from\n * @param options Additional options\n */\nexport async function loadSchema(schemaPointers, options) {\n const sources = await loadTypedefs(schemaPointers, {\n filterKinds: OPERATION_KINDS,\n ...options,\n });\n const { schemas, typeDefs } = collectSchemasAndTypeDefs(sources);\n const mergeSchemasOptions = {\n schemas,\n typeDefs,\n ...options,\n };\n const schema = await mergeSchemasAsync(mergeSchemasOptions);\n if (options === null || options === void 0 ? void 0 : options.includeSources) {\n includeSources(schema, sources);\n }\n return schema;\n}\n/**\n * Synchronously loads a schema from the provided pointers.\n * @param schemaPointers Pointers to the sources to load the schema from\n * @param options Additional options\n */\nexport function loadSchemaSync(schemaPointers, options) {\n const sources = loadTypedefsSync(schemaPointers, {\n filterKinds: OPERATION_KINDS,\n ...options,\n });\n const { schemas, typeDefs } = collectSchemasAndTypeDefs(sources);\n const mergeSchemasOptions = {\n schemas,\n typeDefs,\n ...options,\n };\n const schema = mergeSchemas(mergeSchemasOptions);\n if (options === null || options === void 0 ? void 0 : options.includeSources) {\n includeSources(schema, sources);\n }\n return schema;\n}\nfunction includeSources(schema, sources) {\n schema.extensions = {\n ...schema.extensions,\n sources: sources\n .filter(source => source.rawSDL || source.document)\n .map(source => new GraphQLSource(source.rawSDL || print(source.document), source.location)),\n };\n}\nfunction collectSchemasAndTypeDefs(sources) {\n const schemas = [];\n const typeDefs = [];\n sources.forEach(source => {\n if (source.schema) {\n schemas.push(source.schema);\n }\n else {\n typeDefs.push(source.document);\n }\n });\n return {\n schemas,\n typeDefs,\n };\n}\n//# sourceMappingURL=schema.js.map"],"names":["globbySync","CONCURRENCY_LIMIT","GraphQLSource"],"mappings":";;;;;;;;;;AACO,SAAS,iBAAiB,CAAC,6BAA6B,EAAE;AACjE,IAAI,OAAO,OAAO,CAAC,6BAA6B,CAAC,CAAC,MAAM,CAAC,CAAC,kBAAkB,EAAE,mBAAmB,KAAK;AACtG,QAAQ,IAAI,OAAO,mBAAmB,KAAK,QAAQ,EAAE;AACrD,YAAY,kBAAkB,CAAC,mBAAmB,CAAC,GAAG,EAAE,CAAC;AAC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C3C,SAAS;AACT,KAAK,CAAC,CAAC;AACP,IAAI,OAAO;AACX,QAAQ,OAAO;AACf,QAAQ,QAAQ;AAChB,KAAK,CAAC;AACN;;;;"}
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@graphql-tools/load",
3
- "version": "6.2.6-alpha-1cef0f11.0",
3
+ "version": "6.2.7",
4
4
  "description": "A set of utils for faster development of GraphQL tools",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
7
7
  "graphql": "^14.0.0 || ^15.0.0"
8
8
  },
9
9
  "dependencies": {
10
- "@graphql-tools/merge": "6.2.8-alpha-1cef0f11.0",
11
- "@graphql-tools/utils": "^7.0.0",
10
+ "@graphql-tools/merge": "^6.2.9",
11
+ "@graphql-tools/utils": "^7.5.0",
12
12
  "globby": "11.0.2",
13
13
  "import-from": "3.0.0",
14
14
  "is-glob": "4.0.1",