10 Commits

Author SHA1 Message Date
Roman Shtylman
627cfe4783 1.8.3 2017-06-11 17:20:10 -07:00
Roman Shtylman
dbe0c16024 Update history for 1.8.3 2017-06-11 17:20:00 -07:00
Roman Shtylman
c87bbe82e7 Update History.md 2017-06-11 17:18:23 -07:00
Roman Shtylman
c71ba81972 update request, debug, and openurl dependencies 2017-06-11 17:16:30 -07:00
Roman Shtylman
8efcb3a294 v1.8.2 2016-11-17 22:31:06 -08:00
Roman Shtylman
b9c1901d60 fix host header transform to support Host and host header 2016-11-17 22:28:34 -08:00
Roman Shtylman
edc182125f update request dep to 2.78 2016-11-17 22:27:57 -08:00
Sigve Sebastian Farstad
81c28d4d68 Fix typo in README.md (#143) 2016-09-06 06:58:25 -07:00
Roman Shtylman
9a1d48764a Merge pull request #113 from CircleCode/patch-1
[README] update the link to localtunnel server
2016-03-11 07:51:05 -08:00
Matthieu Codron
371db2870a [README] update the link to localtunnel server 2016-03-11 13:08:31 +01:00
5 changed files with 20 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
language: node_js
sudo: false
node_js:
- "4"
- "6"

View File

@@ -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)
* fix bug w/ HostHeaderTransformer and binary data

View File

@@ -85,7 +85,7 @@ Clients in other languages
## 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 ##
MIT

View File

@@ -24,7 +24,7 @@ HeaderHostTransformer.prototype._transform = function (chunk, enc, cb) {
// we just become a regular passthrough
if (!self.replaced) {
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;
return $1 + self.host;
}));

View File

@@ -2,17 +2,17 @@
"author": "Roman Shtylman <shtylman@gmail.com>",
"name": "localtunnel",
"description": "expose localhost to the world",
"version": "1.8.1",
"version": "1.8.3",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/shtylman/localtunnel.git"
"url": "git://github.com/localtunnel/localtunnel.git"
},
"dependencies": {
"request": "2.65.0",
"request": "2.81.0",
"yargs": "3.29.0",
"debug": "2.2.0",
"openurl": "1.1.0"
"debug": "2.6.8",
"openurl": "1.1.1"
},
"devDependencies": {
"mocha": "~1.17.0"
@@ -24,4 +24,4 @@
"lt": "./bin/client"
},
"main": "./client.js"
}
}