json-logic-engine
Advanced tools
Comparing version
@@ -25,4 +25,4 @@ // @ts-check | ||
constructor (methods = defaultMethods, options = { yieldSupported: false, disableInline: false }) { | ||
this.methods = methods | ||
this.options = options | ||
this.methods = { ...methods } | ||
this.options = { ...options } | ||
this.disableInline = options.disableInline | ||
@@ -29,0 +29,0 @@ this.async = true |
@@ -24,4 +24,4 @@ // @ts-check | ||
this.disableInline = options.disableInline | ||
this.methods = methods | ||
this.options = options | ||
this.methods = { ...methods } | ||
this.options = { ...options } | ||
} | ||
@@ -28,0 +28,0 @@ |
{ | ||
"name": "json-logic-engine", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "Construct complex rules with JSON & process them.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
257964
0.01%