Skip to content

Commit

Permalink
chore: change to new parser packages and upgrade (fix builds)
Browse files Browse the repository at this point in the history
  • Loading branch information
reconbot committed May 6, 2018
1 parent 4ed5182 commit ddcba3a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 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')
};
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@
"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",
"prebuild-install": "^2.5.3",
"@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": "^4.0.0",
"promirepl": "^1.0.1",
"prompt-list": "^3.1.2",
"safe-buffer": "^5.0.1"
Expand All @@ -89,7 +89,7 @@
"mocha": "^5.1.0",
"prebuild": "^7.4.0",
"proxyquire": "^2.0.0",
"sinon": "^5.0.0"
"sinon": "^5.0.4"
},
"engines": {
"node": ">=4.0.0"
Expand Down

0 comments on commit ddcba3a

Please sign in to comment.