Skip to content

Commit

Permalink
chore: change to new parser packages
Browse files Browse the repository at this point in the history
  • Loading branch information
reconbot committed May 6, 2018
1 parent 4ed5182 commit 4e60422
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion lib/bindings/linux-list.js
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down
12 changes: 6 additions & 6 deletions lib/parsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
};
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 4e60422

Please sign in to comment.