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

3xpr

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

3xpr - npm Package Compare versions

Comparing version 1.7.8 to 1.7.9

2

expression/contract/managers.d.ts

@@ -82,3 +82,3 @@ import { Type } from './type';

type(expression: string, useCache?: boolean): string;
eval(expression: string, data?: any): any;
eval(expression: string, data?: any, useCache?: boolean): any;
run(expression: string, data?: any, useCache?: boolean): any;

@@ -85,0 +85,0 @@ subscribe(observer: ActionObserver): void;

@@ -55,3 +55,3 @@ import { Operand, IExpressions, IParameterManager, IBuilder, Parameter, Format, IOperandBuilder, OperatorMetadata, ITypeManager, IModelManager, ActionObserver, FunctionAdditionalInfo, OperatorAdditionalInfo } from './contract';

*/
eval(expression: string, data?: any): any;
eval(expression: string, data?: any, useCache?: boolean): any;
run(expression: string, data?: any, useCache?: boolean): any;

@@ -58,0 +58,0 @@ subscribe(observer: ActionObserver): void;

@@ -140,7 +140,7 @@ "use strict";

*/
eval(expression, data) {
eval(expression, data, useCache = true) {
const context = new contract_1.Context(new contract_1.Data(data));
try {
this.beforeExecutionNotify(expression, context);
const operand = this.build(expression);
const operand = this.build(expression, useCache);
const result = operand.eval(context);

@@ -147,0 +147,0 @@ this.afterExecutionNotify(expression, context, result);

{
"name": "3xpr",
"version": "1.7.8",
"version": "1.7.9",
"description": "expressions",

@@ -5,0 +5,0 @@ "author": "Flavio Lionel Rita <flaviolrita@hotmail.com>",

Sorry, the diff of this file is not supported yet

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