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

graphql

Package Overview
Dependencies
Maintainers
3
Versions
260
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

utilities/findBreakingChanges.js

2

error/GraphQLError.js

@@ -45,3 +45,3 @@ 'use strict';

_positions = nodes.filter(function (node) {
return node.loc !== null;
return Boolean(node.loc);
}).map(function (node) {

@@ -48,0 +48,0 @@ return node.loc.start;

@@ -632,2 +632,7 @@ 'use strict';

// If resolveType returns a string, we assume it's a GraphQLObjectType name.
if (typeof runtimeType === 'string') {
runtimeType = exeContext.schema.getType(runtimeType);
}
if (!(runtimeType instanceof _definition.GraphQLObjectType)) {

@@ -634,0 +639,0 @@ throw new _error.GraphQLError('Abstract type ' + returnType.name + ' must resolve to an Object type at ' + ('runtime for field ' + info.parentType.name + '.' + info.fieldName + ' with ') + ('value "' + String(result) + '", received "' + String(runtimeType) + '".'), fieldASTs);

@@ -494,2 +494,8 @@ 'use strict';

}
});
Object.defineProperty(exports, 'findBreakingChanges', {
enumerable: true,
get: function get() {
return _utilities.findBreakingChanges;
}
});

@@ -1,1 +0,1 @@

{"name":"graphql","version":"0.7.1","description":"A Query Language and Runtime which can target any service.","contributors":["Lee Byron <lee@leebyron.com> (http://leebyron.com/)","Nicholas Schrock <schrockn@fb.com>","Daniel Schafer <dschafer@fb.com>"],"license":"BSD-3-Clause","main":"index.js","homepage":"https://github.com/graphql/graphql-js","bugs":{"url":"https://github.com/graphql/graphql-js/issues"},"repository":{"type":"git","url":"http://github.com/graphql/graphql-js.git"},"dependencies":{"iterall":"1.0.2"}}
{"name":"graphql","version":"0.7.2","description":"A Query Language and Runtime which can target any service.","contributors":["Lee Byron <lee@leebyron.com> (http://leebyron.com/)","Nicholas Schrock <schrockn@fb.com>","Daniel Schafer <dschafer@fb.com>"],"license":"BSD-3-Clause","main":"index.js","homepage":"https://github.com/graphql/graphql-js","bugs":{"url":"https://github.com/graphql/graphql-js/issues"},"repository":{"type":"git","url":"http://github.com/graphql/graphql-js.git"},"dependencies":{"iterall":"1.0.2"}}

@@ -334,8 +334,3 @@ 'use strict';

type: { type: new _definition.GraphQLNonNull(__Type) },
isDeprecated: {
type: new _definition.GraphQLNonNull(_scalars.GraphQLBoolean),
resolve: function resolve(field) {
return field.isDeprecated;
}
},
isDeprecated: { type: new _definition.GraphQLNonNull(_scalars.GraphQLBoolean) },
deprecationReason: {

@@ -374,8 +369,3 @@ type: _scalars.GraphQLString

description: { type: _scalars.GraphQLString },
isDeprecated: {
type: new _definition.GraphQLNonNull(_scalars.GraphQLBoolean),
resolve: function resolve(enumValue) {
return enumValue.isDeprecated;
}
},
isDeprecated: { type: new _definition.GraphQLNonNull(_scalars.GraphQLBoolean) },
deprecationReason: {

@@ -382,0 +372,0 @@ type: _scalars.GraphQLString

@@ -173,2 +173,11 @@ 'use strict';

}
});
var _findBreakingChanges = require('./findBreakingChanges');
Object.defineProperty(exports, 'findBreakingChanges', {
enumerable: true,
get: function get() {
return _findBreakingChanges.findBreakingChanges;
}
});
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