@node-red/util
Advanced tools
Comparing version 3.1.0-beta.1 to 3.1.0-beta.2
@@ -28,3 +28,3 @@ /** | ||
const { hasOwnProperty } = Object.prototype; | ||
const log = require("./log") | ||
/** | ||
@@ -675,4 +675,7 @@ * Safely returns the object construtor name. | ||
} else if (type === 'jsonata') { | ||
var expr = prepareJSONataExpression(value,node); | ||
result = evaluateJSONataExpression(expr,msg); | ||
var expr = prepareJSONataExpression(value, node); | ||
result = evaluateJSONataExpression(expr, msg, callback); | ||
if (callback) { | ||
return | ||
} | ||
} else if (type === 'env') { | ||
@@ -772,2 +775,7 @@ result = evaluateEnvProperty(value, node); | ||
} | ||
} else { | ||
log.warn('Deprecated API warning: Calls to RED.util.evaluateJSONataExpression must include a callback. '+ | ||
'This will not be optional in Node-RED 4.0. Please identify the node from the following stack '+ | ||
'and check for an update on npm. If none is available, please notify the node author.') | ||
log.warn(new Error().stack) | ||
} | ||
@@ -774,0 +782,0 @@ return expr.evaluate(context, bindings, callback); |
{ | ||
"name": "@node-red/util", | ||
"version": "3.1.0-beta.1", | ||
"version": "3.1.0-beta.2", | ||
"license": "Apache-2.0", | ||
@@ -24,4 +24,4 @@ "repository": { | ||
"moment": "2.29.4", | ||
"moment-timezone": "0.5.39" | ||
"moment-timezone": "0.5.41" | ||
} | ||
} |
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
76600
1886
+ Addedmoment-timezone@0.5.41(transitive)
- Removedmoment-timezone@0.5.39(transitive)
Updatedmoment-timezone@0.5.41