Socket
Socket
Sign inDemoInstall

ts-expression-evaluator

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-expression-evaluator - npm Package Compare versions

Comparing version 1.3.6 to 1.3.7

2

build/main/lib/Evaluator.js

@@ -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",

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