Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-agilite-utils

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-agilite-utils - npm Package Compare versions

Comparing version 7.3.1 to 7.3.2

4

jde-date-time/jde-date-time.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc