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-alpha3.0 to 0.0.1-alpha3.1

2

lib/index.js

@@ -81,3 +81,3 @@ "use strict";

var name = val.name && val.name.value;
var isReserved = name && name.substr(0, 2) === "__";
var isReserved = name && name !== "__id" && name.substr(0, 2) === "__";
if (kind === "Field" && !isReserved) {

@@ -84,0 +84,0 @@ var alias = val.alias ? val.alias.value : name;

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

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

@@ -92,3 +92,3 @@ "use strict";

const name = val.name && val.name.value;
const isReserved = name && name.substr(0, 2) === "__";
const isReserved = name && name !== "__id" && name.substr(0, 2) === "__";
if (kind === "Field" && !isReserved) {

@@ -95,0 +95,0 @@ const alias = val.alias ? val.alias.value : name;

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