Socket
Socket
Sign inDemoInstall

@types/react-syntax-highlighter

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-syntax-highlighter - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

5

react-syntax-highlighter/index.d.ts

@@ -8,2 +8,4 @@ // Type definitions for react-syntax-highlighter

type lineTagPropsFunction = (lineNumber: number) => React.DOMAttributes<HTMLElement>
interface SyntaxHighlighterProps {

@@ -13,3 +15,4 @@ language?: string;

customStyle?: any;
codeTagProps?: HTMLElement;
lineProps?: lineTagPropsFunction | React.DOMAttributes<HTMLElement>
codeTagProps?: React.DOMAttributes<HTMLElement>;
useInlineStyles?: boolean;

@@ -16,0 +19,0 @@ showLineNumbers?: boolean;

4

react-syntax-highlighter/package.json
{
"name": "@types/react-syntax-highlighter",
"version": "0.0.7",
"version": "0.0.8",
"description": "TypeScript definitions for react-syntax-highlighter",

@@ -28,4 +28,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "852a91df3828ada49bdf1b51cff0cd99891a4234227a83fa5ce6ab7aded51a38",
"typesPublisherContentHash": "0ecc301901cd5f8eeca7d4280624421c85b8a5f4c730a6f75386e456b2ae9561",
"typeScriptVersion": "2.8"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Fri, 19 Oct 2018 15:48:21 GMT
* Last updated: Thu, 01 Nov 2018 22:07:15 GMT
* Dependencies: react

@@ -14,0 +14,0 @@ * Global values: none

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