graphql-parse-resolve-info
Advanced tools
Comparing version 0.0.1-alpha3.0 to 0.0.1-alpha3.1
@@ -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; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
28316
0