graphql-js-tree
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -24,3 +24,5 @@ "use strict"; | ||
tree1.nodes.forEach((t1n) => { | ||
const matchingNode = tree2.nodes.find((t2n) => t2n.name === t1n.name && t1n.data.type === t2n.data.type); | ||
const matchingNode = tree2.nodes | ||
.filter((t) => t.data.type !== Models_1.TypeSystemDefinition.SchemaDefinition) | ||
.find((t2n) => t2n.name === t1n.name && t1n.data.type === t2n.data.type); | ||
if (matchingNode) { | ||
@@ -27,0 +29,0 @@ if ((0, shared_1.isExtensionNode)(matchingNode.data.type)) { |
{ | ||
"name": "graphql-js-tree", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
126188
2606