6 Commits

Author SHA1 Message Date
Roman Shtylman
86cd2d3c58 v1.8.0 2015-11-04 08:04:54 -08:00
Roman Shtylman
d70c743014 update history 2015-11-04 08:04:29 -08:00
Roman Shtylman
4940043378 Merge pull request #102 from aronwoost/patch-01
Emit socket errors, so they can be handled
2015-11-04 07:54:45 -08:00
Aron Woost
b4a22bff64 Re-emit socket error 2015-11-04 12:04:07 +01:00
Roman Shtylman
176ec0479d Merge pull request #92 from cbas/master
Bumped deps to fix upstream SPDX license issues
2015-11-03 16:13:30 -08:00
Sebastiaan Deckers
fe316de3e0 Bumped deps to fix upstream SPDX license issues 2015-11-04 08:10:18 +08:00
3 changed files with 13 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
# 1.8.0 (2015-11-04)
* pass socket errors up to top level
# 1.7.0 (2015-07-22) # 1.7.0 (2015-07-22)
* add short arg options * add short arg options

View File

@@ -88,6 +88,11 @@ Tunnel.prototype._establish = function(info) {
self.emit('url', info.url); self.emit('url', info.url);
}); });
// re-emit socket error
tunnels.on('error', function(err) {
self.emit('error', err);
});
var tunnel_count = 0; var tunnel_count = 0;
// track open count // track open count

View File

@@ -2,16 +2,16 @@
"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.7.0", "version": "1.8.0",
"license": "MIT", "license": "MIT",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git://github.com/shtylman/localtunnel.git" "url": "git://github.com/shtylman/localtunnel.git"
}, },
"dependencies": { "dependencies": {
"request": "2.11.4", "request": "2.65.0",
"yargs": "3.15.0", "yargs": "3.29.0",
"debug": "0.7.4", "debug": "2.2.0",
"openurl": "1.1.0" "openurl": "1.1.0"
}, },
"devDependencies": { "devDependencies": {