Socket
Socket
Sign inDemoInstall

prism-react-renderer

Package Overview
Dependencies
Maintainers
21
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prism-react-renderer - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

11

dist/index.d.ts
import * as react from 'react';
import { CSSProperties } from 'react';
import Prism__default from 'prismjs';
import Prism__default, { Grammar, Token as Token$1 } from 'prismjs';
import * as Prism from 'prismjs';

@@ -8,2 +8,3 @@ export { Prism };

type Language = string;
type PrismGrammar = Grammar;
type PrismLib = typeof Prism__default;

@@ -15,2 +16,8 @@ type Token = {

};
type EnvConfig = {
code: string;
grammar: PrismGrammar;
language: Language;
tokens: (string | Token$1)[];
};
type StyleObj = CSSProperties;

@@ -141,2 +148,2 @@ type LineInputProps = {

export { Highlight, index as themes };
export { EnvConfig, Highlight, HighlightProps, InternalHighlightProps, Language, LineInputProps, LineOutputProps, PrismGrammar, PrismLib, PrismTheme, PrismThemeEntry, RenderProps, StyleObj, Token, TokenInputProps, TokenOutputProps, index as themes };

2

package.json
{
"name": "prism-react-renderer",
"version": "2.0.5",
"version": "2.0.6",
"description": "Renders highlighted Prism output using React",

@@ -5,0 +5,0 @@ "sideEffects": true,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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