From 4e60422d5fe51fbf0900bbe2fe4ce2aeeff7a056 Mon Sep 17 00:00:00 2001 From: Francis Gulotta Date: Sat, 5 May 2018 18:35:01 -0400 Subject: [PATCH] chore: change to new parser packages --- lib/bindings/linux-list.js | 2 +- lib/parsers.js | 12 ++++++------ package.json | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/lib/bindings/linux-list.js b/lib/bindings/linux-list.js index cd7764d7c7..ce7751849f 100644 --- a/lib/bindings/linux-list.js +++ b/lib/bindings/linux-list.js @@ -1,7 +1,7 @@ 'use strict'; const childProcess = require('child_process'); -const Readline = require('parser-readline'); +const Readline = require('@serialport/parser-readline'); // get only serial port names function checkPathOfDevice(path) { diff --git a/lib/parsers.js b/lib/parsers.js index 941fad8e0e..78c7781a50 100644 --- a/lib/parsers.js +++ b/lib/parsers.js @@ -27,10 +27,10 @@ port.write('ROBOT PLEASE RESPOND\n'); */ module.exports = { - ByteLength: require('parser-byte-length'), - CCTalk: require('parser-cctalk'), - Delimiter: require('parser-delimiter'), - Readline: require('parser-readline'), - Ready: require('parser-ready'), - Regex: require('parser-regex') + ByteLength: require('@serialport/parser-byte-length'), + CCTalk: require('@serialport/parser-cctalk'), + Delimiter: require('@serialport/parser-delimiter'), + Readline: require('@serialport/parser-readline'), + Ready: require('@serialport/parser-ready'), + Regex: require('@serialport/parser-regex') }; diff --git a/package.json b/package.json index 53a51ab6c5..e1225bad14 100644 --- a/package.json +++ b/package.json @@ -60,12 +60,12 @@ "commander": "^2.13.0", "debug": "^3.1.0", "nan": "^2.9.2", - "parser-byte-length": "^1.0.2", - "parser-cctalk": "^1.0.2", - "parser-delimiter": "^1.0.2", - "parser-readline": "^1.0.2", - "parser-ready": "^1.0.2", - "parser-regex": "^1.0.2", + "@serialport/parser-byte-length": "^1.0.5", + "@serialport/parser-cctalk": "^1.0.5", + "@serialport/parser-delimiter": "^1.0.5", + "@serialport/parser-readline": "^1.0.5", + "@serialport/parser-ready": "^1.0.5", + "@serialport/parser-regex": "^1.0.5", "prebuild-install": "^2.5.3", "promirepl": "^1.0.1", "prompt-list": "^3.1.2",