node-zserial 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/zserial.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-zserial",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Node-RED nodes to talk to serial ports",
5
5
  "dependencies": {
6
6
  "serialport": "^12.0.0"
package/zserial.js CHANGED
@@ -521,7 +521,7 @@ module.exports = function (RED) {
521
521
  rts = serialConfig.rts || 'none',
522
522
  cts = serialConfig.cts || 'none',
523
523
  dsr = serialConfig.dsr || 'none',
524
- newline = "" + (serialConfig.newline || '\\n'),
524
+ newline = "" + serialConfig.newline,
525
525
  spliton = serialConfig.out || 'char',
526
526
  waitfor = serialConfig.waitfor || '',
527
527
  binoutput = serialConfig.bin || 'false',