Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

expression-eval

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expression-eval - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

4

index.js

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

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