This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
admin-panel/graphql-types/node_modules/@graphql-tools/graphql-tag-pluck/index.esm.js.map

1 line
32 KiB
Plaintext

{"version":3,"file":"index.esm.js","sources":["../../../dist/graphql-tag-pluck/src/libs/extname.js","../../../dist/graphql-tag-pluck/src/config.js","../../../dist/graphql-tag-pluck/src/utils.js","../../../dist/graphql-tag-pluck/src/visitor.js","../../../dist/graphql-tag-pluck/src/index.js"],"sourcesContent":["export const getExtNameFromFilePath = (filePath) => {\n const partials = filePath.split('.');\n let ext = '.' + partials.pop();\n if (partials.length > 1 && partials[partials.length - 1] === 'flow') {\n ext = '.' + partials.pop() + ext;\n }\n return ext;\n};\n//# sourceMappingURL=extname.js.map","import { getExtNameFromFilePath } from './libs/extname';\nexport default function generateConfig(filePath, code, _options) {\n const plugins = [\n 'asyncGenerators',\n 'bigInt',\n 'classProperties',\n 'classPrivateProperties',\n 'classPrivateMethods',\n 'decorators-legacy',\n 'doExpressions',\n 'dynamicImport',\n 'exportDefaultFrom',\n 'exportNamespaceFrom',\n 'functionBind',\n 'functionSent',\n 'importMeta',\n 'logicalAssignment',\n 'nullishCoalescingOperator',\n 'numericSeparator',\n 'objectRestSpread',\n 'optionalCatchBinding',\n 'optionalChaining',\n ['pipelineOperator', { proposal: 'smart' }],\n 'throwExpressions',\n ];\n // { all: true } option is bullshit thus I do it manually, just in case\n // I still specify it\n const flowPlugins = [['flow', { all: true }], 'flowComments'];\n // If line has @flow header, include flow plug-ins\n const dynamicFlowPlugins = code.includes('@flow') ? flowPlugins : [];\n const fileExt = getExtNameFromFilePath(filePath);\n switch (fileExt) {\n case '.ts':\n plugins.push('typescript');\n break;\n case '.tsx':\n plugins.push('typescript', 'jsx');\n break;\n // Adding .jsx extension by default because it doesn't affect other syntax features\n // (unlike .tsx) and because people are seem to use it with regular file extensions\n // (e.g. .js) see https://github.com/dotansimha/graphql-code-generator/issues/1967\n case '.js':\n plugins.push('jsx', ...dynamicFlowPlugins);\n break;\n case '.jsx':\n plugins.push('jsx', ...dynamicFlowPlugins);\n break;\n case '.flow.js':\n plugins.push('jsx', ...flowPlugins);\n break;\n case '.flow.jsx':\n plugins.push('jsx', ...flowPlugins);\n break;\n case '.flow':\n plugins.push('jsx', ...flowPlugins);\n break;\n case '.vue':\n plugins.push('typescript', 'vue');\n break;\n default:\n plugins.push('jsx', ...dynamicFlowPlugins);\n break;\n }\n // The _options filed will be used to retrieve the original options.\n // Useful when we wanna get not config related options later on\n return {\n sourceType: 'module',\n plugins,\n allowUndeclaredExports: true,\n };\n}\n//# sourceMappingURL=config.js.map","// Will use the shortest indention as an axis\nexport const freeText = (text, skipIndentation = false) => {\n if (text instanceof Array) {\n text = text.join('');\n }\n // This will allow inline text generation with external functions, same as ctrl+shift+c\n // As long as we surround the inline text with ==>text<==\n text = text.replace(/( *)==>((?:.|\\n)*?)<==/g, (_match, baseIndent, content) => {\n return content\n .split('\\n')\n .map(line => `${baseIndent}${line}`)\n .join('\\n');\n });\n if (skipIndentation) {\n return text;\n }\n const lines = text.split('\\n');\n const minIndent = lines\n .filter(line => line.trim())\n .reduce((minIndent, line) => {\n const currIndent = line.match(/^ */)[0].length;\n return currIndent < minIndent ? currIndent : minIndent;\n }, Infinity);\n return lines\n .map(line => line.slice(minIndent))\n .join('\\n')\n .trim()\n .replace(/\\n +\\n/g, '\\n\\n');\n};\n// foo_barBaz -> ['foo', 'bar', 'Baz']\nexport const splitWords = (str) => {\n return str.replace(/[A-Z]/, ' $&').split(/[^a-zA-Z0-9]+/);\n};\n// upper -> Upper\nexport const toUpperFirst = (str) => {\n return str.substr(0, 1).toUpperCase() + str.substr(1).toLowerCase();\n};\n// foo-bar-baz -> fooBarBaz\nexport const toCamelCase = (str) => {\n const words = splitWords(str);\n const first = words.shift().toLowerCase();\n const rest = words.map(toUpperFirst);\n return [first, ...rest].join('');\n};\n//# sourceMappingURL=utils.js.map","import { freeText } from './utils';\nimport { isVariableDeclarator, isIdentifier, isTemplateLiteral, isImportDefaultSpecifier, isImportSpecifier, } from '@babel/types';\nimport { asArray } from '@graphql-tools/utils';\nconst defaults = {\n modules: [\n {\n name: 'graphql-tag',\n },\n {\n name: 'graphql-tag.macro',\n },\n {\n name: '@apollo/client',\n identifier: 'gql',\n },\n {\n name: '@apollo/client/core',\n identifier: 'gql',\n },\n {\n name: 'apollo-angular',\n identifier: 'gql',\n },\n {\n name: 'gatsby',\n identifier: 'graphql',\n },\n {\n name: 'apollo-server-express',\n identifier: 'gql',\n },\n {\n name: 'apollo-server',\n identifier: 'gql',\n },\n {\n name: 'react-relay',\n identifier: 'graphql',\n },\n {\n name: 'react-relay/hooks',\n identifier: 'graphql',\n },\n {\n name: 'relay-runtime',\n identifier: 'graphql',\n },\n {\n name: 'babel-plugin-relay/macro',\n identifier: 'graphql',\n },\n {\n name: 'apollo-boost',\n identifier: 'gql',\n },\n {\n name: 'apollo-server-koa',\n identifier: 'gql',\n },\n {\n name: 'apollo-server-hapi',\n identifier: 'gql',\n },\n {\n name: 'apollo-server-fastify',\n identifier: 'gql',\n },\n {\n name: ' apollo-server-lambda',\n identifier: 'gql',\n },\n {\n name: 'apollo-server-micro',\n identifier: 'gql',\n },\n {\n name: 'apollo-server-azure-functions',\n identifier: 'gql',\n },\n {\n name: 'apollo-server-cloud-functions',\n identifier: 'gql',\n },\n {\n name: 'apollo-server-cloudflare',\n identifier: 'gql',\n },\n {\n name: 'graphql.macro',\n identifier: 'gql',\n },\n {\n name: '@urql/core',\n identifier: 'gql',\n },\n {\n name: 'urql',\n identifier: 'gql',\n },\n {\n name: '@urql/preact',\n identifier: 'gql',\n },\n {\n name: '@urql/svelte',\n identifier: 'gql',\n },\n {\n name: '@urql/vue',\n identifier: 'gql',\n },\n ],\n gqlMagicComment: 'graphql',\n globalGqlIdentifierName: ['gql', 'graphql'],\n};\nexport default (code, out, options = {}) => {\n // Apply defaults to options\n let { modules, globalGqlIdentifierName, gqlMagicComment } = {\n ...defaults,\n ...options,\n };\n // Prevent case related potential errors\n gqlMagicComment = gqlMagicComment.toLowerCase();\n // normalize `name` and `identifier` values\n modules = modules.map(mod => {\n return {\n name: mod.name,\n identifier: mod.identifier && mod.identifier.toLowerCase(),\n };\n });\n globalGqlIdentifierName = asArray(globalGqlIdentifierName).map(s => s.toLowerCase());\n // Keep imported identifiers\n // import gql from 'graphql-tag' -> gql\n // import { graphql } from 'gatsby' -> graphql\n // Will result with ['gql', 'graphql']\n const definedIdentifierNames = [];\n // Will accumulate all template literals\n const gqlTemplateLiterals = [];\n // Check if package is registered\n function isValidPackage(name) {\n return modules.some(pkg => pkg.name && name && pkg.name.toLowerCase() === name.toLowerCase());\n }\n // Check if identifier is defined and imported from registered packages\n function isValidIdentifier(name) {\n return definedIdentifierNames.some(id => id === name) || globalGqlIdentifierName.includes(name);\n }\n const pluckStringFromFile = ({ start, end }) => {\n return freeText(code\n // Slice quotes\n .slice(start + 1, end - 1)\n // Erase string interpolations as we gonna export everything as a single\n // string anyway\n .replace(/\\$\\{[^}]*\\}/g, '')\n .split('\\\\`')\n .join('`'), options.skipIndent);\n };\n // Push all template literals leaded by graphql magic comment\n // e.g. /* GraphQL */ `query myQuery {}` -> query myQuery {}\n const pluckMagicTemplateLiteral = (node, takeExpression = false) => {\n const leadingComments = node.leadingComments;\n if (!leadingComments) {\n return;\n }\n if (!leadingComments.length) {\n return;\n }\n const leadingComment = leadingComments[leadingComments.length - 1];\n const leadingCommentValue = leadingComment.value.trim().toLowerCase();\n if (leadingCommentValue !== gqlMagicComment) {\n return;\n }\n const nodeToUse = takeExpression ? node.expression : node;\n const gqlTemplateLiteral = pluckStringFromFile(nodeToUse);\n if (gqlTemplateLiteral) {\n gqlTemplateLiterals.push({\n content: gqlTemplateLiteral,\n loc: node.loc,\n end: node.end,\n start: node.start,\n });\n }\n };\n return {\n CallExpression: {\n enter(path) {\n // Find the identifier name used from graphql-tag, commonJS\n // e.g. import gql from 'graphql-tag' -> gql\n if (path.node.callee.name === 'require' && isValidPackage(path.node.arguments[0].value)) {\n if (!isVariableDeclarator(path.parent)) {\n return;\n }\n if (!isIdentifier(path.parent.id)) {\n return;\n }\n definedIdentifierNames.push(path.parent.id.name);\n return;\n }\n const arg0 = path.node.arguments[0];\n // Push strings template literals to gql calls\n // e.g. gql(`query myQuery {}`) -> query myQuery {}\n if (isIdentifier(path.node.callee) && isValidIdentifier(path.node.callee.name) && isTemplateLiteral(arg0)) {\n const gqlTemplateLiteral = pluckStringFromFile(arg0);\n // If the entire template was made out of interpolations it should be an empty\n // string by now and thus should be ignored\n if (gqlTemplateLiteral) {\n gqlTemplateLiterals.push({\n content: gqlTemplateLiteral,\n loc: arg0.loc,\n end: arg0.end,\n start: arg0.start,\n });\n }\n }\n },\n },\n ImportDeclaration: {\n enter(path) {\n // Find the identifier name used from graphql-tag, es6\n // e.g. import gql from 'graphql-tag' -> gql\n if (!isValidPackage(path.node.source.value)) {\n return;\n }\n const moduleNode = modules.find(pkg => pkg.name.toLowerCase() === path.node.source.value.toLowerCase());\n const gqlImportSpecifier = path.node.specifiers.find((importSpecifier) => {\n // When it's a default import and registered package has no named identifier\n if (isImportDefaultSpecifier(importSpecifier) && !moduleNode.identifier) {\n return true;\n }\n // When it's a named import that matches registered package's identifier\n if (isImportSpecifier(importSpecifier) &&\n 'name' in importSpecifier.imported &&\n importSpecifier.imported.name === moduleNode.identifier) {\n return true;\n }\n return false;\n });\n if (!gqlImportSpecifier) {\n return;\n }\n definedIdentifierNames.push(gqlImportSpecifier.local.name);\n },\n },\n ExpressionStatement: {\n exit(path) {\n // Push all template literals leaded by graphql magic comment\n // e.g. /* GraphQL */ `query myQuery {}` -> query myQuery {}\n if (!isTemplateLiteral(path.node.expression)) {\n return;\n }\n pluckMagicTemplateLiteral(path.node, true);\n },\n },\n TemplateLiteral: {\n exit(path) {\n pluckMagicTemplateLiteral(path.node);\n },\n },\n TaggedTemplateExpression: {\n exit(path) {\n // Push all template literals provided to the found identifier name\n // e.g. gql `query myQuery {}` -> query myQuery {}\n if (!isIdentifier(path.node.tag) || !isValidIdentifier(path.node.tag.name)) {\n return;\n }\n const gqlTemplateLiteral = pluckStringFromFile(path.node.quasi);\n if (gqlTemplateLiteral) {\n gqlTemplateLiterals.push({\n content: gqlTemplateLiteral,\n end: path.node.quasi.end,\n start: path.node.quasi.start,\n loc: path.node.quasi.loc,\n });\n }\n },\n },\n exit() {\n out.returnValue = gqlTemplateLiterals;\n },\n };\n};\n//# sourceMappingURL=visitor.js.map","import generateConfig from './config';\nimport { parse } from '@babel/parser';\nimport { getExtNameFromFilePath } from './libs/extname';\nimport createVisitor from './visitor';\nimport traverse from '@babel/traverse';\nimport { freeText } from './utils';\nconst supportedExtensions = ['.js', '.jsx', '.ts', '.tsx', '.flow', '.flow.js', '.flow.jsx', '.vue'];\n// tslint:disable-next-line: no-implicit-dependencies\nfunction parseWithVue(vueTemplateCompiler, fileData) {\n const { descriptor } = vueTemplateCompiler.parse(fileData);\n return descriptor.script || descriptor.scriptSetup\n ? vueTemplateCompiler.compileScript(descriptor, { id: Date.now().toString() }).content\n : '';\n}\n/**\n * Asynchronously plucks GraphQL template literals from a single file.\n *\n * Supported file extensions include: `.js`, `.jsx`, `.ts`, `.tsx`, `.flow`, `.flow.js`, `.flow.jsx`, `.vue`\n *\n * @param filePath Path to the file containing the code. Required to detect the file type\n * @param code The contents of the file being parsed.\n * @param options Additional options for determining how a file is parsed.\n */\nexport const gqlPluckFromCodeString = async (filePath, code, options = {}) => {\n validate({ code, options });\n const fileExt = extractExtension(filePath);\n if (fileExt === '.vue') {\n code = await pluckVueFileScript(code);\n }\n return parseCode({ code, filePath, options })\n .map(t => t.content)\n .join('\\n\\n');\n};\n/**\n * Synchronously plucks GraphQL template literals from a single file\n *\n * Supported file extensions include: `.js`, `.jsx`, `.ts`, `.tsx`, `.flow`, `.flow.js`, `.flow.jsx`, `.vue`\n *\n * @param filePath Path to the file containing the code. Required to detect the file type\n * @param code The contents of the file being parsed.\n * @param options Additional options for determining how a file is parsed.\n */\nexport const gqlPluckFromCodeStringSync = (filePath, code, options = {}) => {\n validate({ code, options });\n const fileExt = extractExtension(filePath);\n if (fileExt === '.vue') {\n code = pluckVueFileScriptSync(code);\n }\n return parseCode({ code, filePath, options })\n .map(t => t.content)\n .join('\\n\\n');\n};\nexport function parseCode({ code, filePath, options, }) {\n const out = { returnValue: null };\n const ast = parse(code, generateConfig(filePath, code, options));\n const visitor = createVisitor(code, out, options);\n traverse(ast, visitor);\n return out.returnValue || [];\n}\nfunction validate({ code, options }) {\n if (typeof code !== 'string') {\n throw TypeError('Provided code must be a string');\n }\n if (!(options instanceof Object)) {\n throw TypeError(`Options arg must be an object`);\n }\n}\nfunction extractExtension(filePath) {\n const fileExt = getExtNameFromFilePath(filePath);\n if (fileExt) {\n if (!supportedExtensions.includes(fileExt)) {\n throw TypeError(`Provided file type must be one of ${supportedExtensions.join(', ')} `);\n }\n }\n return fileExt;\n}\nconst MissingVueTemplateCompilerError = new Error(freeText(`\n GraphQL template literals cannot be plucked from a Vue template code without having the \"@vue/compiler-sfc\" package installed.\n Please install it and try again.\n\n Via NPM:\n\n $ npm install @vue/compiler-sfc\n\n Via Yarn:\n\n $ yarn add @vue/compiler-sfc\n `));\nasync function pluckVueFileScript(fileData) {\n // tslint:disable-next-line: no-implicit-dependencies\n let vueTemplateCompiler;\n try {\n // tslint:disable-next-line: no-implicit-dependencies\n vueTemplateCompiler = await import('@vue/compiler-sfc');\n }\n catch (e) {\n throw MissingVueTemplateCompilerError;\n }\n return parseWithVue(vueTemplateCompiler, fileData);\n}\nfunction pluckVueFileScriptSync(fileData) {\n // tslint:disable-next-line: no-implicit-dependencies\n let vueTemplateCompiler;\n try {\n // tslint:disable-next-line: no-implicit-dependencies\n vueTemplateCompiler = require('@vue/compiler-sfc');\n }\n catch (e) {\n throw MissingVueTemplateCompilerError;\n }\n return parseWithVue(vueTemplateCompiler, fileData);\n}\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;AAAO,MAAM,sBAAsB,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