jensrossbach / node-red-contrib-chronos

Time-based Node-RED scheduling, repeating, queueing, routing, filtering and manipulating nodes
https://jensrossbach.github.io/node-red-contrib-chronos
MIT License
28 stars 1 forks source link

Fix deprecated usage of synchronous variant of evaluateJSONataExpression #120

Closed jensrossbach closed 9 months ago

jensrossbach commented 9 months ago

Synchronous variant of RED.util.evaluateJSONataExpression has been deprecated and will not work anymore starting with Node-RED 4.0. This pull request introduces a change that replaces all synchronous calls to evaluateJSONataExpression with a function that wraps an asynchronous call to evaluateJSONataExpression with a Promise.