Socket
Socket
Sign inDemoInstall

graphql-type-json

Package Overview
Dependencies
1
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.0 to 0.3.1

4

lib/index.js

@@ -80,4 +80,6 @@ "use strict";

parseValue: ensureObject,
parseLiteral: parseObject
parseLiteral: function parseLiteral(ast, variables) {
return ast.kind === _language.Kind.OBJECT ? parseObject(ast, variables) : undefined;
}
});
exports.GraphQLJSONObject = GraphQLJSONObject;
{
"name": "graphql-type-json",
"version": "0.3.0",
"version": "0.3.1",
"description": "JSON scalar types for GraphQL.js",

@@ -56,21 +56,20 @@ "files": [

"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.5.0",
"codecov": "^3.2.0",
"eslint": "^5.15.3",
"eslint-config-4catalyzer": "^0.8.0",
"eslint-config-4catalyzer-jest": "^1.1.2",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jest": "^22.4.1",
"eslint-plugin-prettier": "^3.0.1",
"graphql": "^14.1.1",
"husky": "^1.3.1",
"jest": "^24.5.0",
"lint-staged": "^8.1.5",
"prettier": "^1.16.4"
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"babel-jest": "^24.8.0",
"codecov": "^3.5.0",
"eslint": "^6.1.0",
"eslint-config-4catalyzer": "^1.0.0",
"eslint-config-4catalyzer-jest": "^2.0.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^22.15.1",
"eslint-plugin-prettier": "^3.1.0",
"graphql": "^14.4.2",
"husky": "^3.0.3",
"jest": "^24.8.0",
"lint-staged": "^9.2.1",
"prettier": "^1.18.2"
}
}

@@ -27,2 +27,4 @@ # graphql-type-json [![Travis][build-badge]][build] [![npm][npm-badge]][npm]

`GraphQLJSON` can represent any JSON-serializable value, including scalars, arrays, and objects. `GraphQLJSONObject` represents specifically JSON objects, which covers many practical use cases for JSON scalars.
### Programmatically-constructed schemas

@@ -29,0 +31,0 @@

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