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

bs-graphql

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bs-graphql - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

yarn.lock

16

lib/js/src/__tests__/graphQLTest.js

@@ -42,2 +42,18 @@ // Generated by BUCKLESCRIPT VERSION 1.8.2, PLEASE EDIT WITH CARE

describe("Utilities#buildSchema", (function () {
return Jest.testPromise("creates a usable schema with nested types", (function () {
var schema = Graphql.buildSchema("type Query { me: User } type User { name: String }");
var rootValue = {
me: (function () {
return {
name: "reason"
};
})
};
return GraphQL.run(/* Some */[rootValue], /* None */0, /* None */0, /* None */0, /* None */0, schema, "{ me { name } }").then((function (execResult) {
return Promise.resolve(Jest.ExpectJs[/* toEqual */11]("reason")(Jest.ExpectJs[/* expect */0](execResult.data.me.name)));
}));
}));
}));
/* schema Not a pure module */

30

lib/js/src/graphQL.js

@@ -7,2 +7,14 @@ // Generated by BUCKLESCRIPT VERSION 1.8.2, PLEASE EDIT WITH CARE

var Language = /* module */[];
var $$Error = /* module */[];
var Type = /* module */[];
var Execution = /* module */[];
var Utilities = /* module */[];
var Validation = /* module */[];
function run(rootValue, contextValue, variableValue, operationName, fieldResolver, schema, source) {

@@ -20,21 +32,9 @@ return Graphql.graphql({

var Execution = 0;
var Type = 0;
var Utilities = 0;
var $$Error = 0;
var Language = 0;
var Validation = 0;
exports.Language = Language;
exports.$$Error = $$Error;
exports.Type = Type;
exports.Execution = Execution;
exports.Type = Type;
exports.Utilities = Utilities;
exports.$$Error = $$Error;
exports.Language = Language;
exports.Validation = Validation;
exports.run = run;
/* graphql Not a pure module */
{
"name": "bs-graphql",
"version": "0.3.0",
"version": "0.3.1",
"description": "BuckleScript binding for graphql-js",

@@ -19,3 +19,6 @@ "keywords": [

"graphql": "^0.10.5"
},
"devDependencies": {
"bs-jest": "^0.1.0"
}
}

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

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

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