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

graphile-build

Package Overview
Dependencies
Maintainers
1
Versions
171
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphile-build - npm Package Compare versions

Comparing version 4.1.0-rc.0 to 4.1.0-rc.1

13

node8plus/makeNewBuild.js

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

var _semver = require("semver");
var _semver2 = _interopRequireDefault(_semver);
var _utils = require("./utils");

@@ -213,2 +217,11 @@

graphileBuildVersion: _package.version,
versions: {
graphql: require("graphql/package.json").version,
"graphile-build": _package.version
},
hasVersion(packageName, range) {
const packageVersion = this.versions[packageName];
if (!packageVersion) return false;
return _semver2.default.satisfies(packageVersion, range);
},
graphql,

@@ -215,0 +228,0 @@ parseResolveInfo: _graphqlParseResolveInfo.parseResolveInfo,

2

node8plus/plugins/NodePlugin.js

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

return {
Type: this.getTypeByName(nodeTypeNameByAlias[alias] || alias),
Type: this.getNodeType(alias),
identifiers

@@ -35,0 +35,0 @@ };

@@ -103,2 +103,3 @@ import {

): void;
hook(hookName: "finalize", fn: Hook<GraphQLSchema>): void;

@@ -105,0 +106,0 @@ /*

@@ -66,2 +66,7 @@ "use strict";

// 'finalize' phase is called once the schema is built; typically you
// shouldn't use this, but it's useful for interfacing with external
// libraries that mutate an already constructed schema.
finalize: [],
// Add 'query', 'mutation' or 'subscription' types in this hook:

@@ -201,6 +206,7 @@ GraphQLSchema: [],

const build = this.createBuild();
this._generatedSchema = build.newWithHooks(GraphQLSchema, {}, {
const schema = build.newWithHooks(GraphQLSchema, {}, {
__origin: `GraphQL built-in`,
isSchema: true
});
this._generatedSchema = this.applyHooks(build, "finalize", schema, {}, "Finalising GraphQL schema");
}

@@ -207,0 +213,0 @@ if (!this._generatedSchema) {

{
"name": "graphile-build",
"version": "4.1.0-rc.0",
"version": "4.1.0-rc.1",
"description": "Build a GraphQL schema from plugins",

@@ -36,6 +36,7 @@ "main": "node8plus/index.js",

"debug": ">=2 <3",
"graphql-parse-resolve-info": "4.1.0-rc.0",
"graphql-parse-resolve-info": "4.1.0-rc.1",
"lodash": ">=4 <5",
"lru-cache": ">=4 <5",
"pluralize": "^7.0.0"
"pluralize": "^7.0.0",
"semver": "^5.6.0"
},

@@ -61,3 +62,3 @@ "engines": {

],
"gitHead": "699debee312279fe204c374554ace43a18691214"
"gitHead": "9f4096b3553f2de709591b2bd4e49e91b3a3d4a4"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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