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.7 to 1.3.8

3

build/main/lib/Handlers.js

@@ -96,2 +96,5 @@ "use strict";

}
if (t.isMemberExpression(ast.property)) {
return obj[Evaluator_1.evaluate(ast.property, context)];
}
if (t.isNumericLiteral(ast.property) || t.isStringLiteral(ast.property)) {

@@ -98,0 +101,0 @@ return obj[ast.property.value];

@@ -87,2 +87,5 @@ import * as t from './t';

}
if (t.isMemberExpression(ast.property)) {
return obj[evaluate(ast.property, context)];
}
if (t.isNumericLiteral(ast.property) || t.isStringLiteral(ast.property)) {

@@ -89,0 +92,0 @@ return obj[ast.property.value];

4

package.json
{
"name": "ts-expression-evaluator",
"version": "1.3.7",
"version": "1.3.8",
"description": "Context-based expression parse and evaluator.",

@@ -102,2 +102,2 @@ "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