mirror of
https://github.com/bitinflow/localtunnel.git
synced 2026-03-15 14:35:54 +00:00
Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
627cfe4783 | ||
|
|
dbe0c16024 | ||
|
|
c87bbe82e7 | ||
|
|
c71ba81972 | ||
|
|
8efcb3a294 | ||
|
|
b9c1901d60 | ||
|
|
edc182125f | ||
|
|
81c28d4d68 | ||
|
|
9a1d48764a | ||
|
|
371db2870a |
@@ -1,4 +1,4 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
sudo: false
|
|
||||||
node_js:
|
node_js:
|
||||||
- "4"
|
- "4"
|
||||||
|
- "6"
|
||||||
|
|||||||
11
History.md
11
History.md
@@ -1,3 +1,14 @@
|
|||||||
|
# 1.8.3 (2017-06-11)
|
||||||
|
|
||||||
|
* update request dependency
|
||||||
|
* update debug dependency
|
||||||
|
* update openurl dependency
|
||||||
|
|
||||||
|
# 1.8.2 (2016-11-17)
|
||||||
|
|
||||||
|
* fix host header transform
|
||||||
|
* update request dependency
|
||||||
|
|
||||||
# 1.8.1 (2016-01-20)
|
# 1.8.1 (2016-01-20)
|
||||||
|
|
||||||
* fix bug w/ HostHeaderTransformer and binary data
|
* fix bug w/ HostHeaderTransformer and binary data
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ Clients in other languages
|
|||||||
|
|
||||||
## server ##
|
## server ##
|
||||||
|
|
||||||
See defunctzombie/localtunnel-server for details on the server that powers localtunnel.
|
See [localtunnel/server](//github.com/localtunnel/server) for details on the server that powers localtunnel.
|
||||||
|
|
||||||
## License ##
|
## License ##
|
||||||
MIT
|
MIT
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ HeaderHostTransformer.prototype._transform = function (chunk, enc, cb) {
|
|||||||
// we just become a regular passthrough
|
// we just become a regular passthrough
|
||||||
if (!self.replaced) {
|
if (!self.replaced) {
|
||||||
chunk = chunk.toString();
|
chunk = chunk.toString();
|
||||||
self.push(chunk.replace(/(\r\nHost: )\S+/, function(match, $1) {
|
self.push(chunk.replace(/(\r\n[Hh]ost: )\S+/, function(match, $1) {
|
||||||
self.replaced = true;
|
self.replaced = true;
|
||||||
return $1 + self.host;
|
return $1 + self.host;
|
||||||
}));
|
}));
|
||||||
|
|||||||
12
package.json
12
package.json
@@ -2,17 +2,17 @@
|
|||||||
"author": "Roman Shtylman <shtylman@gmail.com>",
|
"author": "Roman Shtylman <shtylman@gmail.com>",
|
||||||
"name": "localtunnel",
|
"name": "localtunnel",
|
||||||
"description": "expose localhost to the world",
|
"description": "expose localhost to the world",
|
||||||
"version": "1.8.1",
|
"version": "1.8.3",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git://github.com/shtylman/localtunnel.git"
|
"url": "git://github.com/localtunnel/localtunnel.git"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"request": "2.65.0",
|
"request": "2.81.0",
|
||||||
"yargs": "3.29.0",
|
"yargs": "3.29.0",
|
||||||
"debug": "2.2.0",
|
"debug": "2.6.8",
|
||||||
"openurl": "1.1.0"
|
"openurl": "1.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"mocha": "~1.17.0"
|
"mocha": "~1.17.0"
|
||||||
@@ -24,4 +24,4 @@
|
|||||||
"lt": "./bin/client"
|
"lt": "./bin/client"
|
||||||
},
|
},
|
||||||
"main": "./client.js"
|
"main": "./client.js"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user