@graphql-tools/import 6.5.2 → 6.5.3

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.
Files changed (3) hide show
  1. package/index.js +0 -6
  2. package/index.mjs +0 -6
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -106,12 +106,6 @@ function visitFile(filePath, cwd, visitedFiles, predefinedImports) {
106
106
  };
107
107
  if (!otherLines) {
108
108
  visitedFiles.set(filePath, allImportedDefinitionsMap);
109
- const definitionSet = new Set();
110
- allImportedDefinitionsMap === null || allImportedDefinitionsMap === void 0 ? void 0 : allImportedDefinitionsMap.forEach((importedDefinitions, importedDefinitionName) => {
111
- importedDefinitions === null || importedDefinitions === void 0 ? void 0 : importedDefinitions.forEach(importedDefinition => {
112
- addDefinition(importedDefinition, importedDefinitionName, definitionSet);
113
- });
114
- });
115
109
  }
116
110
  else {
117
111
  const fileDefinitionMap = visitedFiles.get(filePath);
package/index.mjs CHANGED
@@ -100,12 +100,6 @@ function visitFile(filePath, cwd, visitedFiles, predefinedImports) {
100
100
  };
101
101
  if (!otherLines) {
102
102
  visitedFiles.set(filePath, allImportedDefinitionsMap);
103
- const definitionSet = new Set();
104
- allImportedDefinitionsMap === null || allImportedDefinitionsMap === void 0 ? void 0 : allImportedDefinitionsMap.forEach((importedDefinitions, importedDefinitionName) => {
105
- importedDefinitions === null || importedDefinitions === void 0 ? void 0 : importedDefinitions.forEach(importedDefinition => {
106
- addDefinition(importedDefinition, importedDefinitionName, definitionSet);
107
- });
108
- });
109
103
  }
110
104
  else {
111
105
  const fileDefinitionMap = visitedFiles.get(filePath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-tools/import",
3
- "version": "6.5.2",
3
+ "version": "6.5.3",
4
4
  "description": "A set of utils for faster development of GraphQL tools",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {