ts-expression-evaluator
Advanced tools
Comparing version 1.3.6 to 1.3.7
@@ -7,3 +7,3 @@ "use strict"; | ||
if (typeof code === 'string') { | ||
var ast = parser_1.parseExpression(code); | ||
var ast = parser_1.parseExpression(code, { tokens: true }); | ||
return Handlers_1.Handlers[ast.type](ast, context); | ||
@@ -10,0 +10,0 @@ } |
@@ -5,3 +5,3 @@ import { parseExpression } from '@babel/parser'; | ||
if (typeof code === 'string') { | ||
var ast = parseExpression(code); | ||
var ast = parseExpression(code, { tokens: true }); | ||
return Handlers[ast.type](ast, context); | ||
@@ -8,0 +8,0 @@ } |
{ | ||
"name": "ts-expression-evaluator", | ||
"version": "1.3.6", | ||
"version": "1.3.7", | ||
"description": "Context-based expression parse and evaluator.", | ||
@@ -5,0 +5,0 @@ "main": "build/main/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
192718