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

@graphql-tools/merge

Package Overview
Dependencies
Maintainers
3
Versions
1145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-tools/merge - npm Package Compare versions

Comparing version 9.0.5 to 9.0.6-rc-20240816015555-3530bdbfa367cc50b2b7a76f9d7d783c0ecece8b

8

cjs/extensions.js

@@ -12,6 +12,10 @@ "use strict";

function applyExtensionObject(obj, extensions) {
if (!obj) {
if (!obj || !extensions || extensions === obj.extensions) {
return;
}
obj.extensions = (0, utils_1.mergeDeep)([obj.extensions || {}, extensions || {}], false, true);
if (!obj.extensions) {
obj.extensions = extensions;
return;
}
obj.extensions = (0, utils_1.mergeDeep)([obj.extensions, extensions], false, true);
}

@@ -18,0 +22,0 @@ function applyExtensions(schema, extensions) {

@@ -7,6 +7,10 @@ import { mergeDeep } from '@graphql-tools/utils';

function applyExtensionObject(obj, extensions) {
if (!obj) {
if (!obj || !extensions || extensions === obj.extensions) {
return;
}
obj.extensions = mergeDeep([obj.extensions || {}, extensions || {}], false, true);
if (!obj.extensions) {
obj.extensions = extensions;
return;
}
obj.extensions = mergeDeep([obj.extensions, extensions], false, true);
}

@@ -13,0 +17,0 @@ export function applyExtensions(schema, extensions) {

{
"name": "@graphql-tools/merge",
"version": "9.0.5",
"version": "9.0.6-rc-20240816015555-3530bdbfa367cc50b2b7a76f9d7d783c0ecece8b",
"description": "A set of utils for faster development of GraphQL tools",

@@ -10,3 +10,3 @@ "sideEffects": false,

"dependencies": {
"@graphql-tools/utils": "^10.4.0",
"@graphql-tools/utils": "10.5.4-rc-20240816015555-3530bdbfa367cc50b2b7a76f9d7d783c0ecece8b",
"tslib": "^2.4.0"

@@ -13,0 +13,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