localtunnel
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -0,1 +1,5 @@ | ||
# 2.0.1 (2021-01-09) | ||
- Upgrade dependencies | ||
# 2.0.0 (2019-09-16) | ||
@@ -2,0 +6,0 @@ |
@@ -26,3 +26,3 @@ /* eslint-disable no-console */ | ||
test('query localtunnel server w/ ident', async done => { | ||
it('query localtunnel server w/ ident', async done => { | ||
const tunnel = await localtunnel({ port: fakePort }); | ||
@@ -57,3 +57,3 @@ assert.ok(new RegExp('^https://.*localtunnel.me$').test(tunnel.url)); | ||
test('request specific domain', async () => { | ||
it('request specific domain', async () => { | ||
const subdomain = Math.random() | ||
@@ -68,3 +68,3 @@ .toString(36) | ||
describe('--local-host localhost', () => { | ||
test('override Host header with local-host', async done => { | ||
it('override Host header with local-host', async done => { | ||
const tunnel = await localtunnel({ port: fakePort, local_host: 'localhost' }); | ||
@@ -90,3 +90,3 @@ assert.ok(new RegExp('^https://.*localtunnel.me$').test(tunnel.url)); | ||
res.on('end', () => { | ||
assert.equal(body, 'localhost'); | ||
assert.strictEqual(body, 'localhost'); | ||
tunnel.close(); | ||
@@ -102,3 +102,3 @@ done(); | ||
describe('--local-host 127.0.0.1', () => { | ||
test('override Host header with local-host', async done => { | ||
it('override Host header with local-host', async done => { | ||
const tunnel = await localtunnel({ port: fakePort, local_host: '127.0.0.1' }); | ||
@@ -126,3 +126,3 @@ assert.ok(new RegExp('^https://.*localtunnel.me$').test(tunnel.url)); | ||
res.on('end', () => { | ||
assert.equal(body, '127.0.0.1'); | ||
assert.strictEqual(body, '127.0.0.1'); | ||
tunnel.close(); | ||
@@ -136,3 +136,3 @@ done(); | ||
test('send chunked request', async done => { | ||
it('send chunked request', async done => { | ||
const tunnel = await localtunnel({ port: fakePort, local_host: '127.0.0.1' }); | ||
@@ -161,3 +161,3 @@ assert.ok(new RegExp('^https://.*localtunnel.me$').test(tunnel.url)); | ||
res.on('end', () => { | ||
assert.equal(body, '127.0.0.1'); | ||
assert.strictEqual(body, '127.0.0.1'); | ||
tunnel.close(); | ||
@@ -164,0 +164,0 @@ done(); |
{ | ||
"name": "localtunnel", | ||
"description": "Expose localhost to the world", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"license": "MIT", | ||
@@ -18,15 +18,15 @@ "repository": { | ||
"bin": { | ||
"lt": "./bin/lt.js" | ||
"lt": "bin/lt.js" | ||
}, | ||
"scripts": { | ||
"test": "mocha --ui qunit --reporter list --timeout 60000 -- *.spec.js" | ||
"test": "mocha --reporter list --timeout 60000 -- *.spec.js" | ||
}, | ||
"dependencies": { | ||
"axios": "0.19.0", | ||
"debug": "4.1.1", | ||
"axios": "0.21.1", | ||
"debug": "4.3.1", | ||
"openurl": "1.1.1", | ||
"yargs": "13.3.0" | ||
"yargs": "16.2.0" | ||
}, | ||
"devDependencies": { | ||
"mocha": "~1.17.0" | ||
"mocha": "~8.2.1" | ||
}, | ||
@@ -36,2 +36,2 @@ "engines": { | ||
} | ||
} | ||
} |
@@ -114,2 +114,4 @@ # localtunnel | ||
_C#/.NET_ [localtunnel-client](https://github.com/angelobreuer/localtunnel-client) | ||
## server | ||
@@ -116,0 +118,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
24485
123
4
+ Addedansi-regex@5.0.1(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedaxios@0.21.1(transitive)
+ Addedcliui@7.0.4(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addeddebug@4.3.1(transitive)
+ Addedemoji-regex@8.0.0(transitive)
+ Addedescalade@3.2.0(transitive)
+ Addedfollow-redirects@1.15.9(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedms@2.1.2(transitive)
+ Addedstring-width@4.2.3(transitive)
+ Addedstrip-ansi@6.0.1(transitive)
+ Addedwrap-ansi@7.0.0(transitive)
+ Addedy18n@5.0.8(transitive)
+ Addedyargs@16.2.0(transitive)
+ Addedyargs-parser@20.2.9(transitive)
- Removedansi-regex@4.1.1(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedaxios@0.19.0(transitive)
- Removedcamelcase@5.3.1(transitive)
- Removedcliui@5.0.0(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removeddebug@4.1.1(transitive)
- Removeddecamelize@1.2.0(transitive)
- Removedemoji-regex@7.0.3(transitive)
- Removedfind-up@3.0.0(transitive)
- Removedfollow-redirects@1.5.10(transitive)
- Removedis-buffer@2.0.5(transitive)
- Removedis-fullwidth-code-point@2.0.0(transitive)
- Removedlocate-path@3.0.0(transitive)
- Removedms@2.1.3(transitive)
- Removedp-limit@2.3.0(transitive)
- Removedp-locate@3.0.0(transitive)
- Removedp-try@2.2.0(transitive)
- Removedpath-exists@3.0.0(transitive)
- Removedrequire-main-filename@2.0.0(transitive)
- Removedset-blocking@2.0.0(transitive)
- Removedstring-width@3.1.0(transitive)
- Removedstrip-ansi@5.2.0(transitive)
- Removedwhich-module@2.0.1(transitive)
- Removedwrap-ansi@5.1.0(transitive)
- Removedy18n@4.0.3(transitive)
- Removedyargs@13.3.0(transitive)
- Removedyargs-parser@13.1.2(transitive)
Updatedaxios@0.21.1
Updateddebug@4.3.1
Updatedyargs@16.2.0