@nlpjs/evaluator
Advanced tools
Comparing version 4.17.1 to 4.19.8
{ | ||
"name": "@nlpjs/evaluator", | ||
"version": "4.17.1", | ||
"version": "4.19.8", | ||
"description": "Evaluator", | ||
@@ -31,3 +31,3 @@ "author": { | ||
}, | ||
"gitHead": "c80705f477c2209f8436a845ca1f54093e45e04b" | ||
"gitHead": "49e973312ce0d74e38c6a7bec8610a7e50b4ec65" | ||
} |
@@ -83,2 +83,8 @@ /* | ||
} | ||
if (node.operator === '&&' && !left) { | ||
return false; | ||
} | ||
if (node.operator === '||' && left) { | ||
return true; | ||
} | ||
const right = this.walk(node.right, context); | ||
@@ -85,0 +91,0 @@ if (right === this.failResult) { |
@@ -96,2 +96,8 @@ /* | ||
} | ||
if (node.operator === '&&' && !left) { | ||
return false; | ||
} | ||
if (node.operator === '||' && left) { | ||
return true; | ||
} | ||
const right = await this.walk(node.right, context); | ||
@@ -98,0 +104,0 @@ if (right === this.failResult) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39635
1087