mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-25 18:37:19 +00:00
Remove unnecessary 'inherits' dependency
This commit is contained in:
parent
4c9b9be436
commit
d4b4d2f210
4 changed files with 3 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
var Transform = require('readable-stream').Transform;
|
||||
var inherits = require('inherits');
|
||||
var inherits = require('util').inherits;
|
||||
|
||||
function ByteLengthParser(options) {
|
||||
if (!(this instanceof ByteLengthParser)) {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
var Transform = require('readable-stream').Transform;
|
||||
var inherits = require('inherits');
|
||||
var inherits = require('util').inherits;
|
||||
var bindexOf;
|
||||
|
||||
if (typeof Buffer.prototype.indexOf === 'function') {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
var DelimiterParser = require('./parser-delimiter');
|
||||
var inherits = require('inherits');
|
||||
var inherits = require('util').inherits;
|
||||
|
||||
function ReadlineParser(options) {
|
||||
if (!(this instanceof ReadlineParser)) {
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@
|
|||
"buffer-indexof": "^1.1.0",
|
||||
"commander": "^2.9.0",
|
||||
"debug": "^2.1.1",
|
||||
"inherits": "^2.0.1",
|
||||
"lie": "^3.1.0",
|
||||
"nan": "^2.4.0",
|
||||
"node-pre-gyp": "^0.6.31",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue