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

@graphql-markdown/printer-legacy

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-markdown/printer-legacy - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

4

package.json

@@ -8,3 +8,3 @@ {

},
"version": "1.2.2",
"version": "1.2.3",
"license": "MIT",

@@ -26,3 +26,3 @@ "main": "src/index.js",

"dependencies": {
"@graphql-markdown/utils": "^1.2.1"
"@graphql-markdown/utils": "^1.3.0"
},

@@ -29,0 +29,0 @@ "directories": {

@@ -7,3 +7,3 @@ const {

const getGroup = (type, groups) => {
const getGroup = (type, groups, typeCategory) => {
if (typeof groups !== "object" || groups === null) {

@@ -14,3 +14,6 @@ return "";

const typeName = graphLQLNamedType.name || graphLQLNamedType;
return hasProperty(groups, typeName) ? toSlug(groups[typeName]) : "";
return hasProperty(groups, typeCategory) &&
hasProperty(groups[typeCategory], typeName)
? toSlug(groups[typeCategory][typeName])
: "";
};

@@ -17,0 +20,0 @@

@@ -95,3 +95,3 @@ const {

const group = hasProperty(options, "groups")
? getGroup(type, options.groups)
? getGroup(type, options.groups, category.plural)
: "";

@@ -98,0 +98,0 @@ const url = pathUrl.join(

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