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

graphql-codegen-core

Package Overview
Dependencies
Maintainers
1
Versions
1651
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-codegen-core - npm Package Compare versions

Comparing version 0.8.2 to 0.8.3

6

dist/operations/build-selection-set.js

@@ -37,2 +37,6 @@ "use strict";

var field = get_field_def_1.getFieldDef(rootObject, fieldNode);
if (!field) {
debugging_1.debugLog("[buildSelectionSet] Ignoring field because of null result from getFieldDef...");
return null;
}
var resolvedType = resolve_type_1.resolveType(field.type);

@@ -63,5 +67,5 @@ var childSelectionSet = buildSelectionSet(schema, graphql_1.getNamedType(field.type), fieldNode.selectionSet);

}
});
}).filter(function (item) { return item; }); // filter to remove null types
}
exports.buildSelectionSet = buildSelectionSet;
//# sourceMappingURL=build-selection-set.js.map

@@ -6,2 +6,5 @@ "use strict";

var name = fieldAST.name.value;
if (name === '__typename') {
return null;
}
if (parentType instanceof graphql_1.GraphQLObjectType ||

@@ -8,0 +11,0 @@ parentType instanceof graphql_1.GraphQLInterfaceType) {

2

package.json
{
"name": "graphql-codegen-core",
"version": "0.8.2",
"version": "0.8.3",
"description": "GraphQL types and code generator based on schema",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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