Socket
Socket
Sign inDemoInstall

graphql-compose-json

Package Overview
Dependencies
4
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.2.0 to 5.3.0

1

lib/__fixtures__/Film.js

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.FilmTC = void 0;
var node_fetch_1 = __importDefault(require("node-fetch"));

@@ -8,0 +9,0 @@ var index_1 = require("../index");

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.PeopleTC = void 0;
var node_fetch_1 = __importDefault(require("node-fetch"));

@@ -8,0 +9,0 @@ var index_1 = require("../index");

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.composeInputWithJson = exports.composeWithJson = void 0;
var ObjectParser_1 = __importDefault(require("./ObjectParser"));

@@ -8,0 +9,0 @@ var InputObjectParser_1 = __importDefault(require("./InputObjectParser"));

@@ -35,2 +35,5 @@ "use strict";

return 'Boolean';
if (graphql_compose_1.isComposeInputType(value)) {
return value;
}
if (typeOf === 'object') {

@@ -37,0 +40,0 @@ if (value === null)

@@ -35,2 +35,5 @@ "use strict";

return 'Boolean';
if (graphql_compose_1.isComposeOutputType(value)) {
return value;
}
if (typeOf === 'object') {

@@ -37,0 +40,0 @@ if (value === null)

18

package.json
{
"name": "graphql-compose-json",
"version": "5.2.0",
"version": "5.3.0",
"description": "This is a plugin for `graphql-compose`, which generates GraphQLTypes from any JSON.",

@@ -31,7 +31,7 @@ "files": [

"@types/graphql": "^14.5.0",
"@types/jest": "25.2.1",
"@types/node": "13.13.5",
"@types/jest": "25.2.2",
"@types/node": "14.0.1",
"@types/node-fetch": "2.5.7",
"@typescript-eslint/eslint-plugin": "2.31.0",
"@typescript-eslint/parser": "2.31.0",
"@typescript-eslint/eslint-plugin": "2.34.0",
"@typescript-eslint/parser": "2.34.0",
"cross-env": "7.0.2",

@@ -41,3 +41,3 @@ "eslint": "7.0.0",

"eslint-config-prettier": "6.11.0",
"eslint-plugin-flowtype": "4.7.0",
"eslint-plugin-flowtype": "5.1.0",
"eslint-plugin-import": "2.20.2",

@@ -48,3 +48,3 @@ "eslint-plugin-prettier": "3.1.3",

"graphql": "15.0.0",
"graphql-compose": "7.14.4",
"graphql-compose": "7.15.0",
"jest": "26.0.1",

@@ -55,5 +55,5 @@ "node-fetch": "^2.6.0",

"semantic-release": "17.0.7",
"ts-jest": "25.5.1",
"ts-jest": "26.0.0",
"ts-node": "8.10.1",
"typescript": "^3.8.3"
"typescript": "3.9.2"
},

@@ -60,0 +60,0 @@ "scripts": {

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc