File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " json-logic-engine" ,
3- "version" : " 1.2.4 " ,
3+ "version" : " 1.2.5 " ,
44 "description" : " Construct complex rules with JSON & process them." ,
55 "main" : " ./dist/cjs/index.js" ,
66 "module" : " ./dist/esm/index.js" ,
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const getIsOptionalChainingSupported = () => {
99 // eslint-disable-next-line no-unused-vars
1010 const test = { }
1111 // eslint-disable-next-line no-eval
12- const isUndefined = eval ( 'test?.foo?.bar' )
12+ const isUndefined = eval ( '( test) => test ?.foo?.bar' ) ( test )
1313 return isUndefined === undefined
1414 } catch {
1515 return false
Original file line number Diff line number Diff line change 22'use strict'
33
44import { Sync } from '../constants.js'
5- export default ( function declareSync ( obj , sync = true ) {
5+ export default function declareSync ( obj , sync = true ) {
66 obj [ Sync ] = sync
77 return obj
8- } )
8+ }
You can’t perform that action at this time.
0 commit comments