Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Commit 6f078f8

Browse files
committed
feat(libs): replace http-browserify with stream-http.
Fixes #38.
1 parent a6cef60 commit 6f078f8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Some modules have mocks in the `mock` directory. These are replacements with min
2222
| domain | [bevry/domain-browser](https://github.com/bevry/domain-browser) | --- |
2323
| events | [Gozala/events](https://github.com/Gozala/events) | --- |
2424
| fs | --- | --- |
25-
| http | [substack/http-browserify](https://github.com/substack/http-browserify) | --- |
25+
| http | [jhiesey/stream-http](https://github.com/jhiesey/stream-http) | --- |
2626
| https | [substack/https-browserify](https://github.com/substack/https-browserify) | --- |
2727
| module | --- | --- |
2828
| 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
4242
| url | [defunctzombie/node-url](https://github.com/defunctzombie/node-url) | --- |
4343
| util | [defunctzombie/node-util](https://github.com/defunctzombie/node-util) | --- |
4444
| vm | [substack/vm-browserify](https://github.com/substack/vm-browserify) | --- |
45-
| zlib | [devongovett/browserify-zlib](https://github.com/devongovett/browserify-zlib) | --- |
45+
| zlib | [devongovett/browserify-zlib](https://github.com/devongovett/browserify-zlib) | --- |

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ exports.dns = null;
1010
exports.domain = require.resolve('domain-browser');
1111
exports.events = require.resolve('events/');
1212
exports.fs = null;
13-
exports.http = require.resolve('http-browserify');
13+
exports.http = require.resolve('stream-http');
1414
exports.https = require.resolve('https-browserify');
1515
exports.module = null;
1616
exports.net = null;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"crypto-browserify": "^3.11.0",
1717
"domain-browser": "^1.1.1",
1818
"events": "^1.0.0",
19-
"http-browserify": "^1.3.2",
2019
"https-browserify": "0.0.1",
2120
"os-browserify": "~0.2.0",
2221
"path-browserify": "0.0.0",
@@ -25,6 +24,7 @@
2524
"querystring-es3": "~0.2.0",
2625
"readable-stream": "^2.0.5",
2726
"stream-browserify": "^2.0.1",
27+
"stream-http": "^2.3.1",
2828
"string_decoder": "~0.10.25",
2929
"timers-browserify": "^1.0.1",
3030
"tty-browserify": "0.0.0",

0 commit comments

Comments
 (0)