Browse Source

lib: remove unused modules

Some files in `lib` were using `require` to load modules that were
subsequently not used in the file. This removes those `require`
statements.

PR-URL: https://github.com/nodejs/node/pull/4683
Reviewed-By: Myles Borins <mborins@us.ibm.com>
v4.x
Rich Trott 9 years ago
committed by Myles Borins
parent
commit
7a1a0a0055
  1. 1
      lib/_http_client.js
  2. 1
      lib/os.js

1
lib/_http_client.js

@ -3,7 +3,6 @@
const util = require('util');
const net = require('net');
const url = require('url');
const EventEmitter = require('events');
const HTTPParser = process.binding('http_parser').HTTPParser;
const assert = require('assert').ok;
const common = require('_http_common');

1
lib/os.js

@ -1,7 +1,6 @@
'use strict';
const binding = process.binding('os');
const util = require('util');
const internalUtil = require('internal/util');
const isWindows = process.platform === 'win32';

Loading…
Cancel
Save