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

graphql-js-tree

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-js-tree - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

4

lib/TreeOperations/merge.js

@@ -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",

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