@graphql-tools/import
Advanced tools
Comparing version 7.0.6 to 7.0.7
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.parseImportLine = exports.extractImportLines = exports.processImports = exports.extractDependencies = exports.processImport = void 0; | ||
exports.processImport = processImport; | ||
exports.extractDependencies = extractDependencies; | ||
exports.processImports = processImports; | ||
exports.extractImportLines = extractImportLines; | ||
exports.parseImportLine = parseImportLine; | ||
const tslib_1 = require("tslib"); | ||
@@ -52,3 +56,2 @@ const fs_1 = require("fs"); | ||
} | ||
exports.processImport = processImport; | ||
function visitFile(filePath, cwd, visitedFiles, predefinedImports) { | ||
@@ -169,3 +172,2 @@ if (!(0, path_1.isAbsolute)(filePath) && !(filePath in predefinedImports)) { | ||
} | ||
exports.extractDependencies = extractDependencies; | ||
function visitDefinition(definition, definitionsByName, dependenciesByDefinitionName) { | ||
@@ -336,3 +338,2 @@ // TODO: handle queries without names | ||
} | ||
exports.processImports = processImports; | ||
/** | ||
@@ -356,3 +357,2 @@ * Splits the contents of a GraphQL file into lines that are imports | ||
} | ||
exports.extractImportLines = extractImportLines; | ||
/** | ||
@@ -392,3 +392,2 @@ * Parses an import line, returning a list of entities imported and the file | ||
} | ||
exports.parseImportLine = parseImportLine; | ||
function resolveFilePath(filePath, importFrom) { | ||
@@ -395,0 +394,0 @@ const dirName = (0, path_1.dirname)(filePath); |
{ | ||
"name": "@graphql-tools/import", | ||
"version": "7.0.6", | ||
"version": "7.0.7", | ||
"description": "A set of utils for faster development of GraphQL tools", | ||
@@ -10,3 +10,3 @@ "sideEffects": false, | ||
"dependencies": { | ||
"@graphql-tools/utils": "^10.6.2", | ||
"@graphql-tools/utils": "^10.6.3", | ||
"resolve-from": "5.0.0", | ||
@@ -13,0 +13,0 @@ "tslib": "^2.4.0" |
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
20
24
13
33
62260
1170
Updated@graphql-tools/utils@^10.6.3