Skip to content

Commit

Permalink
chore: remove circular ref (#732)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmywarting authored Nov 28, 2023
1 parent c296d63 commit f2db0c2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/callback_model.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'use strict';

var defs = require('./defs');
var EventEmitter = require('events').EventEmitter;
var EventEmitter = require('events');
var BaseChannel = require('./channel').BaseChannel;
var acceptMessage = require('./channel').acceptMessage;
var Args = require('./api_args');
Expand Down
2 changes: 1 addition & 1 deletion lib/channel.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var closeMsg = require('./format').closeMessage;
var inspect = require('./format').inspect;
var methodName = require('./format').methodName;
var assert = require('assert');
var EventEmitter = require('events').EventEmitter;
var EventEmitter = require('events');
var fmt = require('util').format;
var IllegalOperationError = require('./error').IllegalOperationError;
var stackCapture = require('./error').stackCapture;
Expand Down
2 changes: 1 addition & 1 deletion lib/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var Mux = require('./mux').Mux;
var Duplex =
require('stream').Duplex ||
require('readable-stream/duplex');
var EventEmitter = require('events').EventEmitter;
var EventEmitter = require('events');
var Heart = require('./heartbeat').Heart;

var methodName = require('./format').methodName;
Expand Down
2 changes: 1 addition & 1 deletion lib/heartbeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

'use strict';

var EventEmitter = require('events').EventEmitter;
var EventEmitter = require('events');

// Exported so that we can mess with it in tests
module.exports.UNITS_TO_MS = 1000;
Expand Down

0 comments on commit f2db0c2

Please sign in to comment.