You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@walmartlabs/json-to-simple-graphql-schema

Package Overview
Dependencies
Maintainers
10
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@walmartlabs/json-to-simple-graphql-schema - npm Package Compare versions

Comparing version

to
2.0.2

5

lib/stringify-schema.js

@@ -31,2 +31,7 @@ /**

//Array of arrays case
if (firstElement.length === 1) {
return `${pascalCase(key)}: [${firstElement}]`;
}
if (Array.isArray(firstElement) || isObject(firstElement)) {

@@ -33,0 +38,0 @@ const newTypeName = pascalCase(key);

29

package.json
{
"name": "@walmartlabs/json-to-simple-graphql-schema",
"description": "Converts a JSON object into a GraphQL schema",
"version": "2.0.1",
"version": "2.0.2",
"homepage": "https://github.com/walmartlabs/json-to-simple-graphql-schema",

@@ -39,26 +39,25 @@ "bugs": {

"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"autoprefixer": "^9.7.4",
"@babel/core": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"autoprefixer": "^9.8.5",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"clean-webpack-plugin": "^3.0.0",
"css-loader": "^3.4.2",
"css-loader": "^3.6.0",
"cssnano": "4.1.10",
"eslint": "^6.8.0",
"eslint": "^7.5.0",
"eslint-config-walmart": "^2.2.1",
"eslint-plugin-filenames": "1.3.2",
"html-webpack-inline-source-plugin": "0.0.10",
"html-webpack-plugin": "3.2.0",
"jest": "^25.1.0",
"html-webpack-plugin": "4.3.0",
"jest": "^26.1.0",
"mini-css-extract-plugin": "^0.9.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"postcss-loader": "3.0.0",
"prettier": "^2.0.1",
"style-loader": "^1.1.3",
"webpack": "^4.42.0",
"webpack-bundle-analyzer": "^3.6.1",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3"
"prettier": "^2.0.5",
"style-loader": "^1.2.1",
"webpack": "^4.43.0",
"webpack-bundle-analyzer": "^3.8.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
}
}