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

@marterrez/eval-expression

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@marterrez/eval-expression - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

dist/index.js

@@ -29,3 +29,3 @@ "use strict";

eval(exp, params = {}) {
if (!exp) return null;
if (!exp || !exp.length || typeof exp !== 'string') return null;
const ctx = { ...this.context,

@@ -32,0 +32,0 @@ ...params

{
"name": "@marterrez/eval-expression",
"version": "0.0.1",
"version": "0.0.2",
"description": "Small lib that allows to eval a string containing javascript code. It allows you do inject helper functions when evaluating the expression",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -17,3 +17,3 @@ import * as lodash from 'lodash'

eval (exp, params = {}) {
if (!exp) return null
if (!exp || !exp.length || typeof exp !== 'string') return null

@@ -20,0 +20,0 @@ const ctx = {

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