From 79a8697b22e528cc2a9fdd77ab65f6c826eee3b0 Mon Sep 17 00:00:00 2001 From: Klaus Landsdorf Date: Tue, 26 Sep 2017 00:41:54 +0200 Subject: [PATCH] update to new serialport with better listing of ports - supports just LTS versions like 4 and 6 later 8 and so on --- .gitignore | 2 ++ package.json | 9 ++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 02d92de..11b6507 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,5 @@ build/Release node_modules modbus-serial docs + +package-lock\.json diff --git a/package.json b/package.json index 9cfbfbe..5db3639 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "modbus-serial", - "version": "5.4.1", + "version": "6.0.0", "description": "A pure JavaScript implemetation of MODBUS-RTU (Serial and TCP) for NodeJS.", "main": "index.js", "scripts": { @@ -36,8 +36,11 @@ "pump": "^1.0.2", "sinon": "^1.17.7" }, + "engines": { + "node": "4.x || 6.x" + }, "dependencies": { - "debug": "^2.6.1", - "serialport": "^4.0.7" + "debug": "^3.0.1", + "serialport": "^5.0.0" } }