expression-eval
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -34,3 +34,3 @@ const jsep = require('jsep'); | ||
'-' : function (a) { return -a; }, | ||
'+' : function (a) { return a; }, | ||
'+' : function (a) { return +a; }, | ||
'~' : function (a) { return ~a; }, | ||
@@ -152,3 +152,3 @@ '!' : function (a) { return !a; }, | ||
caller, | ||
await evaluateArrayAsync( node.arguments, context ), | ||
await evaluateArrayAsync( node.arguments, context ) | ||
); | ||
@@ -155,0 +155,0 @@ |
{ | ||
"name": "expression-eval", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "JavaScript expression parsing and evaluation.", | ||
@@ -34,4 +34,4 @@ "main": "index.js", | ||
"devDependencies": { | ||
"budo": "^10.0.4" | ||
"budo": "^11.6.3" | ||
} | ||
} |
@@ -83,2 +83,3 @@ const expr = require('./'); | ||
{expr: '~15', expected: -16 }, | ||
{expr: '+[]', expected: 0 }, | ||
@@ -85,0 +86,0 @@ // 'this' context |
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
15644
316