diff --git a/README.md b/README.md index 4264008..a7a1769 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Some modules have mocks in the `mock` directory. These are replacements with min | domain | [bevry/domain-browser](https://github.com/bevry/domain-browser) | --- | | events | [Gozala/events](https://github.com/Gozala/events) | --- | | fs | --- | --- | -| http | [substack/http-browserify](https://github.com/substack/http-browserify) | --- | +| http | [jhiesey/stream-http](https://github.com/jhiesey/stream-http) | --- | | https | [substack/https-browserify](https://github.com/substack/https-browserify) | --- | | module | --- | --- | | net | --- | [net.js](https://github.com/webpack/node-libs-browser/blob/master/mock/net.js) | @@ -42,4 +42,4 @@ Some modules have mocks in the `mock` directory. These are replacements with min | url | [defunctzombie/node-url](https://github.com/defunctzombie/node-url) | --- | | util | [defunctzombie/node-util](https://github.com/defunctzombie/node-util) | --- | | vm | [substack/vm-browserify](https://github.com/substack/vm-browserify) | --- | -| zlib | [devongovett/browserify-zlib](https://github.com/devongovett/browserify-zlib) | --- | \ No newline at end of file +| zlib | [devongovett/browserify-zlib](https://github.com/devongovett/browserify-zlib) | --- | diff --git a/index.js b/index.js index 13408c0..23c3185 100644 --- a/index.js +++ b/index.js @@ -10,7 +10,7 @@ exports.dns = null; exports.domain = require.resolve('domain-browser'); exports.events = require.resolve('events/'); exports.fs = null; -exports.http = require.resolve('http-browserify'); +exports.http = require.resolve('stream-http'); exports.https = require.resolve('https-browserify'); exports.module = null; exports.net = null; diff --git a/package.json b/package.json index 9c47725..e1a2747 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,6 @@ "crypto-browserify": "^3.11.0", "domain-browser": "^1.1.1", "events": "^1.0.0", - "http-browserify": "^1.3.2", "https-browserify": "0.0.1", "os-browserify": "~0.2.0", "path-browserify": "0.0.0", @@ -25,6 +24,7 @@ "querystring-es3": "~0.2.0", "readable-stream": "^2.0.5", "stream-browserify": "^2.0.1", + "stream-http": "^2.3.1", "string_decoder": "~0.10.25", "timers-browserify": "^1.0.1", "tty-browserify": "0.0.0",