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

react-latex

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-latex - npm Package Compare versions

Comparing version 0.0.8 to 0.1.1

CHANGELOG.md

10

dist/latex.npm.js

@@ -5,3 +5,3 @@ 'use strict';

var latexString = function latexString(string) {
var latexString = function latexString(string, options) {

@@ -25,3 +25,3 @@ string = string.replace(/(<([^>]+)>)/ig, '');

try {
renderedString = katex.renderToString(s);
renderedString = katex.renderToString(s, options);
} catch (err) {

@@ -81,7 +81,9 @@ console.error('couldn`t convert string', s);

propTypes: {
children: React.PropTypes.string
children: React.PropTypes.string,
displayMode: React.PropTypes.bool
},
getDefaultProps: function getDefaultProps() {
return {
children: ''
children: '',
displayMode: false
};

@@ -88,0 +90,0 @@ },

4

package.json
{
"name": "react-latex",
"version": "0.0.8",
"version": "0.1.1",
"description": "React component to render latex strings",

@@ -36,3 +36,3 @@ "homepage": "",

"gulp-mocha": "^2.0.0",
"gulp-nsp": "^0.4.5",
"gulp-nsp": "2.4.2",
"gulp-plumber": "^1.0.0",

@@ -39,0 +39,0 @@ "gulp-rename": "^1.2.2",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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