node-red-contrib-omron-fins
Advanced tools
Comparing version 0.4.0-beta.1 to 0.4.0
/* | ||
MIT License | ||
Copyright (c) 2019, 2020 Steve-Mcl | ||
Copyright (c) 2019, 2020, 2021 Steve-Mcl | ||
@@ -46,3 +46,3 @@ Permission is hereby granted, free of charge, to any person obtaining a copy | ||
} else { | ||
array = str.split(/\s*,\s*/).map(Number); | ||
array = str.split(/\s*,\s*/); | ||
} | ||
@@ -49,0 +49,0 @@ return array; |
/* | ||
MIT License | ||
Copyright (c) 2019, 2020 Steve-Mcl | ||
Copyright (c) 2019, 2020, 2021 Steve-Mcl | ||
@@ -6,0 +6,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
/* | ||
MIT License | ||
Copyright (c) 2019, 2020 Steve-Mcl | ||
Copyright (c) 2019, 2020, 2021 Steve-Mcl | ||
@@ -134,6 +134,7 @@ Permission is hereby granted, free of charge, to any person obtaining a copy | ||
var outputFormat = "buffer"; | ||
if(node.outputFormatType == "list") { | ||
if(['buffer', 'signed', 'unsigned', 'signedkv', 'unsignedkv'].indexOf(node.outputFormat+'') >= 0) { | ||
const builtInReturnTypes = ['buffer', 'signed', 'unsigned', 'signedkv', 'unsignedkv']; | ||
if(node.outputFormatType == "list" && builtInReturnTypes.indexOf(node.outputFormat+'') >= 0) { | ||
outputFormat = node.outputFormat; | ||
} | ||
} else if(builtInReturnTypes.indexOf(node.outputFormatType+'') > 0) { | ||
outputFormat = node.outputFormatType; | ||
} else { | ||
@@ -140,0 +141,0 @@ outputFormat = RED.util.evaluateNodeProperty(node.outputFormat, node.outputFormatType, node, origInputMsg); |
/* | ||
MIT License | ||
Copyright (c) 2019, 2020 Steve-Mcl | ||
Copyright (c) 2019, 2020, 2021 Steve-Mcl | ||
@@ -6,0 +6,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
{ | ||
"name": "node-red-contrib-omron-fins", | ||
"version": "0.4.0-beta.1", | ||
"version": "0.4.0", | ||
"author": { | ||
@@ -24,4 +24,4 @@ "name": "Steve-Mcl", | ||
"dependencies": { | ||
"omron-fins": "0.3.0-beta.1" | ||
"omron-fins": "0.4.0-beta.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
199122
674
+ Addedomron-fins@0.4.0-beta.0(transitive)
- Removedomron-fins@0.3.0-beta.1(transitive)
Updatedomron-fins@0.4.0-beta.0