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

graphql-parse-resolve-info

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

graphql-parse-resolve-info - npm Package Compare versions

Comparing version 0.0.1-alpha1.0 to 0.0.1-alpha2.0

28

index.js

@@ -112,17 +112,17 @@ "use strict";

};
if (val.selectionSet && options.deep) {
debug("%s[%d] Recursing into subfields", depth, instance);
fieldTreeFromAST(
val.selectionSet.selections,
resolveInfo,
tree[parentType.name][alias].fieldsByTypeName,
options,
fieldGqlType,
`${depth} `
);
} else {
// No fields to add
debug("%s[%d] Exiting (no fields to add)", depth, instance);
}
}
if (val.selectionSet && options.deep) {
debug("%s[%d] Recursing into subfields", depth, instance);
fieldTreeFromAST(
val.selectionSet.selections,
resolveInfo,
tree[parentType.name][alias].fieldsByTypeName,
options,
fieldGqlType,
`${depth} `
);
} else {
// No fields to add
debug("%s[%d] Exiting (no fields to add)", depth, instance);
}
} else if (kind === "FragmentSpread" && options.deep) {

@@ -129,0 +129,0 @@ debug("%s[%d] Fragment spread '%s'", depth, instance, name);

{
"name": "graphql-parse-resolve-info",
"version": "0.0.1-alpha1.0",
"version": "0.0.1-alpha2.0",
"description": "Parse GraphQLResolveInfo (the 4th argument of resolve) into a simple tree",

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

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