Socket
Socket
Sign inDemoInstall

graphql-to-postman

Package Overview
Dependencies
Maintainers
4
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-to-postman - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

6

CHANGELOG.md
# Changelog for graphql-to-postman
### v0.0.8 (March 15, 2021)
* Fixed issue where error shown was meaningless for incorrect GraphQL SDL.
### v0.0.7 (Oct 23, 2020)

@@ -23,2 +27,2 @@ * fix for - [#8863](https://github.com/postmanlabs/postman-app-support/issues/8863) Fixed an issue where custom name for type threw an error.

#### v0.0.1 (December 10, 2019)
* Base release
* Base release

4

lib/index.js

@@ -140,6 +140,6 @@ var schemaToQuery = require('./assets/gql-generator').schemaToQuery,

if (!gqlSchemaObj._mutationType && !gqlSchemaObj._queryType && !gqlSchemaObj._subscriptionType) {
if (gqlSchemaObj && !gqlSchemaObj._mutationType && !gqlSchemaObj._queryType && !gqlSchemaObj._subscriptionType) {
return {
result: false,
reason: 'Empty GraphQL schema'
reason: 'Specification doesn\'t contain valid mutation, query or subscription type'
};

@@ -146,0 +146,0 @@ }

{
"name": "graphql-to-postman",
"version": "0.0.7",
"version": "0.0.8",
"description": "Generates a Postman Collection from a GraphQL schema.",

@@ -30,3 +30,3 @@ "main": "index.js",

"graphql": "14.5.8",
"lodash": "4.17.15",
"lodash": "4.17.19",
"postman-collection": "3.5.5"

@@ -33,0 +33,0 @@ },

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