Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

graphql-to-postman

Package Overview
Dependencies
Maintainers
3
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.10 to 0.0.11

3

CHANGELOG.md
# Changelog for graphql-to-postman
### v0.0.11 (Sept 27, 2021)
* Fix for - [#24](https://github.com/postmanlabs/graphql-to-postman/issues/24) Fixed an issue where nesting was faulty.
### v0.0.10 (Sept 27, 2021)

@@ -4,0 +7,0 @@ * Fix for - [#9884](https://github.com/postmanlabs/postman-app-support/issues/9884) Fixed an issue with union types self referencing

5

lib/assets/gql-generator.js
// Forked from https://github.com/timqian/gql-generator.
var graphql = require('graphql'),
_ = require('lodash'),

@@ -188,3 +189,3 @@ /**

return generateQuery(cur, curType, curName, argumentsDict, duplicateArgCounts,
crossReferenceKeyList, curDepth + 1).queryStr;
_.cloneDeep(crossReferenceKeyList), curDepth + 1).queryStr;
})

@@ -232,3 +233,3 @@ .filter((cur) => {

return generateQuery(cur, valueType, curName, argumentsDict, duplicateArgCounts,
crossReferenceKeyList, curDepth + 2).queryStr;
_.cloneDeep(crossReferenceKeyList), curDepth + 2).queryStr;
})

@@ -235,0 +236,0 @@ .filter((cur) => { return cur; })

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

@@ -5,0 +5,0 @@ "main": "index.js",

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