@graphql-markdown/utils
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"license": "MIT", | ||
@@ -26,3 +26,3 @@ "main": "src/index.js", | ||
"dependencies": { | ||
"@graphql-tools/load": "^7.8.11" | ||
"@graphql-tools/load": "^7.8.13" | ||
}, | ||
@@ -29,0 +29,0 @@ "peerDependencies": { |
@@ -180,5 +180,5 @@ const { | ||
queryType == null || | ||
!hasMethod(queryType, "getFields") | ||
hasMethod(queryType, "getFields") === false | ||
) { | ||
return undefined; | ||
return {}; | ||
} | ||
@@ -185,0 +185,0 @@ |
@@ -43,6 +43,3 @@ /** | ||
function escapeMDX(str) { | ||
if (typeof str === "string") { | ||
return str.replace(/[<>{}]/g, toHTMLUnicode); | ||
} | ||
return str; | ||
return `${str}`.replace(/[<>{}]/g, toHTMLUnicode); | ||
} | ||
@@ -62,2 +59,5 @@ | ||
function replaceDiacritics(str) { | ||
if (typeof str !== "string") { | ||
return ""; | ||
} | ||
return str | ||
@@ -64,0 +64,0 @@ .toString() |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15971
Updated@graphql-tools/load@^7.8.13