node-red-contrib-agilite-utils
Advanced tools
Comparing version 7.3.1 to 7.3.2
@@ -9,3 +9,3 @@ module.exports = function (RED) { | ||
const jde = require('jde-date-time') | ||
const Mustache = require('mustache') | ||
const { executeHandlebars } = require('agilite-utils') | ||
@@ -33,3 +33,3 @@ this.on('input', function (msg) { | ||
dateTimeValue = Mustache.render(dateTimeValue, msg) | ||
dateTimeValue = executeHandlebars(dateTimeValue, msg) | ||
@@ -36,0 +36,0 @@ // Process logic based on actionType |
@@ -9,3 +9,3 @@ module.exports = function (RED) { | ||
const _ = require('lodash') | ||
const Mustache = require('mustache') | ||
const { executeHandlebars } = require('agilite-utils') | ||
@@ -34,3 +34,3 @@ this.on('input', function (msg) { | ||
inputValue = Mustache.render(inputValue, msg) | ||
inputValue = executeHandlebars(inputValue, msg) | ||
@@ -37,0 +37,0 @@ try { |
{ | ||
"name": "node-red-contrib-agilite-utils", | ||
"license": "MIT", | ||
"version": "7.3.1", | ||
"version": "7.3.2", | ||
"description": "A set of Agilit-e Node-RED Nodes to perform various adhoc tasks without calling 3rd party web services", | ||
@@ -45,6 +45,7 @@ "homepage": "https://agilite.io", | ||
"scripts": { | ||
"test": "mocha" | ||
"test": "mocha", | ||
"deploy": "npm publish" | ||
}, | ||
"dependencies": { | ||
"agilite-utils": "7.3.1", | ||
"agilite-utils": "7.3.3", | ||
"bson-objectid": "2.0.1", | ||
@@ -54,8 +55,7 @@ "entities": "2.2.0", | ||
"lodash": "4.17.21", | ||
"md5": "2.3.0", | ||
"mustache": "4.1.0" | ||
"md5": "2.3.0" | ||
}, | ||
"devDependencies": { | ||
"chai": "4.3.1", | ||
"mocha": "8.3.0" | ||
"chai": "4.3.4", | ||
"mocha": "8.4.0" | ||
}, | ||
@@ -62,0 +62,0 @@ "node-red": { |
@@ -14,3 +14,3 @@ module.exports = function (RED) { | ||
const ObjectID = require('bson-objectid') | ||
const Mustache = require('mustache') | ||
const { executeHandlebars } = require('agilite-utils') | ||
const Crypto = require('crypto') | ||
@@ -37,5 +37,5 @@ const Entities = require('entities') | ||
case '4': // Create HMAC Object | ||
value = Mustache.render(config.algorithm, msg) | ||
value2 = Mustache.render(config.key, msg) | ||
value3 = Mustache.render(config.digest, msg) | ||
value = executeHandlebars(config.algorithm, msg) | ||
value2 = executeHandlebars(config.key, msg) | ||
value3 = executeHandlebars(config.digest, msg) | ||
@@ -54,4 +54,4 @@ if (!value || (TypeDetect(value) !== EnumsTypeDetect.STRING)) { | ||
case '5': // Generate Nonce | ||
value = Mustache.render(config.byteSize, msg) | ||
value2 = Mustache.render(config.outputType, msg) | ||
value = executeHandlebars(config.byteSize, msg) | ||
value2 = executeHandlebars(config.outputType, msg) | ||
@@ -58,0 +58,0 @@ if (!value || !Utils.isNumber(value)) { |
Sorry, the diff of this file is not supported yet
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
36554
6
+ Addedagilite-utils@7.3.3(transitive)
+ Addedhandlebars@4.7.7(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedneo-async@2.6.2(transitive)
+ Addedsource-map@0.6.1(transitive)
+ Addeduglify-js@3.19.3(transitive)
+ Addedwordwrap@1.0.0(transitive)
- Removedmustache@4.1.0
- Removedagilite-utils@7.3.1(transitive)
- Removedmustache@4.1.0(transitive)
Updatedagilite-utils@7.3.3