graphql-syntax-highlighter-react
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -60,4 +60,4 @@ 'use strict'; | ||
'div', | ||
{ className: className }, | ||
'Could not parse graphQL query' | ||
null, | ||
queryBody | ||
); | ||
@@ -64,0 +64,0 @@ } |
{ | ||
"name": "graphql-syntax-highlighter-react", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "A React component for highlighting GraphQL syntax.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -22,5 +22,5 @@ import { LexRules, ParseRules, isIgnored } from './utils/Rules.js'; | ||
} catch (e) { | ||
return (<div className={className}>Could not parse graphQL query</div>); | ||
return <div>{queryBody}</div>; | ||
} | ||
const highlighted = []; | ||
@@ -27,0 +27,0 @@ const rowKeys = []; |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
59390