Comparing version 1.0.0-alpha.2 to 1.0.0-alpha.3
@@ -6,2 +6,5 @@ const { makeExecutableSchema } = require('graphql-tools') | ||
let log = () => null; | ||
if (process.env.NODE_DEBUG === 'aeros') { log = console.log; } | ||
/** | ||
@@ -99,3 +102,3 @@ * Aeros constructs a fully valid GraphQL schema, along with type definitions and resolvers | ||
for (const typeKey of Object.keys(types)) { | ||
console.log(typeKey) | ||
log(typeKey) | ||
const type = types[typeKey] | ||
@@ -156,3 +159,4 @@ this.typeSchema += `type ${typeKey} { | ||
const schemaConfig = { typeDefs, resolvers } | ||
log(typeDefs[0]) | ||
log(typeDefs[1]) | ||
// build valid schema | ||
@@ -159,0 +163,0 @@ const schema = makeExecutableSchema(schemaConfig) |
{ | ||
"name": "aeros", | ||
"version": "1.0.0-alpha.2", | ||
"version": "1.0.0-alpha.3", | ||
"description": "Low-friction GraphQL schemas", | ||
@@ -5,0 +5,0 @@ "main": "aeros.js", |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
45963
195
1