New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

algebra-latex

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

algebra-latex - npm Package Compare versions

Comparing version

to
1.1.4

@@ -101,2 +101,5 @@ 'use strict';

if (root.operator == 'exponent') {
if (root.rhs.type == 'number' && root.rhs.value < 0) {
rhsParen = true;
}
rhs = rhsParen ? '{' + rhs + '}' : rhs;

@@ -103,0 +106,0 @@ } else {

@@ -104,2 +104,8 @@ 'use strict';

if (root.operator == 'exponent') {
if (root.rhs.type == 'number' && root.rhs.value < 0) {
rhsParen = true;
}
}
lhs = lhsParen ? '(' + lhs + ')' : lhs;

@@ -106,0 +112,0 @@ rhs = rhsParen ? '(' + rhs + ')' : rhs;

@@ -415,3 +415,2 @@ 'use strict';

// number : NUMBER
// | UNI_OP
// | variable

@@ -418,0 +417,0 @@ // | keyword

{
"name": "algebra-latex",
"version": "1.1.3",
"version": "1.1.4",
"scripts": {

@@ -5,0 +5,0 @@ "build": "rm -rf ./lib && babel src -d lib",