Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@graphql-tools/import

Package Overview
Dependencies
Maintainers
4
Versions
879
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-tools/import - npm Package Compare versions

Comparing version 7.0.6 to 7.0.7

11

cjs/index.js
"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"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc