New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gqutils

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gqutils - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

9

dist/Schema.js

@@ -413,3 +413,10 @@ 'use strict';

const typeFields = schema.types[typeName].fields;
let typeFields = schema.types[typeName].fields;
// if the type is a connection
// then also consider the fields of the connection type in $default
const matches = /(.+)Connection$/.match(typeName);
if (matches) {
const connectionTypeName = matches[1];
typeFields = _lodash2.default.assign({}, typeFields, schema.types[connectionTypeName].fields);
}

@@ -416,0 +423,0 @@ _lodash2.default.forEach(args.$default, argName => {

2

package.json
{
"name": "gqutils",
"version": "1.0.1",
"version": "1.0.2",
"description": "Utilities For GraphQL",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -431,3 +431,10 @@ import _ from 'lodash';

const typeFields = schema.types[typeName].fields;
let typeFields = schema.types[typeName].fields;
// if the type is a connection
// then also consider the fields of the connection type in $default
const matches = /(.+)Connection$/.match(typeName);
if (matches) {
const connectionTypeName = matches[1];
typeFields = _.assign({}, typeFields, schema.types[connectionTypeName].fields);
}

@@ -434,0 +441,0 @@ _.forEach(args.$default, (argName) => {

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