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/4396
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
v5.x
Rich Trott 9 years ago
committed by Jeremiah Senkpiel
parent
commit
b5aaccc6af
  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