New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

graphql-compose-modules

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-compose-modules - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

lib/astToSchema.js

@@ -127,3 +127,3 @@ "use strict";

if (typeof fc.type === 'string') {
if (!graphql_compose_1.isOutputTypeDefinitionString(fc.type) && !graphql_compose_1.isTypeNameString(fc.type)) {
if (!graphql_compose_1.isOutputTypeDefinitionString(fc.type) && !graphql_compose_1.isWrappedTypeNameString(fc.type)) {
throw new Error(dedent_1.default(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n You provide incorrect output type definition:\n ", "\n It must be valid TypeName or output type SDL definition:\n \n Eg.\n type Payload { me: String }\n OR\n Payload\n "], ["\n You provide incorrect output type definition:\n ", "\n It must be valid TypeName or output type SDL definition:\n \n Eg.\n type Payload { me: String }\n OR\n Payload\n "])), fc.type));

@@ -156,3 +156,3 @@ }

// type: 'String'
return graphql_compose_1.isSomeOutputTypeDefinitionString(type) || graphql_compose_1.isTypeNameString(type);
return graphql_compose_1.isSomeOutputTypeDefinitionString(type) || graphql_compose_1.isWrappedTypeNameString(type);
}

@@ -159,0 +159,0 @@ else if (Array.isArray(type)) {

{
"name": "graphql-compose-modules",
"license": "MIT",
"version": "1.1.0",
"version": "1.1.1",
"description": "A toolset for construction GraphQL Schema via file structure",

@@ -17,24 +17,24 @@ "repository": "https://github.com/graphql-compose/graphql-compose-modules",

"peerDependencies": {
"graphql-compose": "^7.6.1"
"graphql-compose": "^7.7.0"
},
"devDependencies": {
"@types/dedent": "^0.7.0",
"@types/dedent": "0.7.0",
"@types/glob": "7.1.1",
"@types/jest": "24.0.23",
"@types/node": "12.12.12",
"@typescript-eslint/eslint-plugin": "2.8.0",
"@typescript-eslint/parser": "2.8.0",
"apollo-server": "^2.9.12",
"eslint": "6.7.1",
"eslint-config-prettier": "6.7.0",
"eslint-plugin-prettier": "3.1.1",
"graphql": "^14.0.0",
"graphql-compose": "^7.6.1",
"@types/jest": "24.0.25",
"@types/node": "13.1.1",
"@typescript-eslint/eslint-plugin": "2.13.0",
"@typescript-eslint/parser": "2.13.0",
"apollo-server": "2.9.15",
"eslint": "6.8.0",
"eslint-config-prettier": "6.9.0",
"eslint-plugin-prettier": "3.1.2",
"graphql": "14.5.8",
"graphql-compose": "7.7.0",
"jest": "24.9.0",
"prettier": "1.19.1",
"rimraf": "3.0.0",
"semantic-release": "^15.13.31",
"semantic-release": "15.14.0",
"ts-jest": "24.2.0",
"ts-node": "^8.5.2",
"typescript": "3.7.2"
"ts-node": "8.5.4",
"typescript": "3.7.4"
},

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

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