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

graphql-syntax-highlighter-react

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-syntax-highlighter-react - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

4

dist/GraphqlCodeBlock.js

@@ -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 = [];

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