Socket
Socket
Sign inDemoInstall

graphql-js-tree

Package Overview
Dependencies
1
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

5

lib/TreeOperations/merge.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.mergeSDLs = exports.mergeTrees = void 0;
const Models_1 = require("../Models");
const Parser_1 = require("../Parser");

@@ -77,3 +78,5 @@ const shared_1 = require("./shared");

const t2 = Parser_1.Parser.parse(sdl2);
const mergeResult = (0, exports.mergeTrees)(t1, t2);
const mergeResult = (0, exports.mergeTrees)(t1, {
nodes: t2.nodes.filter((n) => n.data.type !== Models_1.TypeSystemDefinition.SchemaDefinition),
});
if (mergeResult.__typename === 'success') {

@@ -80,0 +83,0 @@ const sdl = TreeToGraphQL_1.TreeToGraphQL.parse(mergeResult);

2

package.json
{
"name": "graphql-js-tree",
"version": "1.0.2",
"version": "1.0.3",
"private": false,

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc