@web/test-runner-core
Advanced tools
Comparing version 0.13.2 to 0.13.3
@@ -8,6 +8,6 @@ "use strict"; | ||
const nanocolors_1 = require("nanocolors"); | ||
const ip_1 = __importDefault(require("ip")); | ||
const internal_ip_1 = __importDefault(require("internal-ip")); | ||
function getManualDebugMenu(config) { | ||
const localAddress = `${config.protocol}//${config.hostname}:${config.port}/`; | ||
const networkAddress = `${config.protocol}//${ip_1.default.address()}:${config.port}/`; | ||
const networkAddress = `${config.protocol}//${internal_ip_1.default.v4.sync()}:${config.port}/`; | ||
return [ | ||
@@ -14,0 +14,0 @@ 'Debug manually in a browser not controlled by the test runner.', |
{ | ||
"name": "@web/test-runner-core", | ||
"version": "0.13.2", | ||
"version": "0.13.3", | ||
"publishConfig": { | ||
@@ -71,3 +71,3 @@ "access": "public" | ||
"globby": "^11.0.1", | ||
"ip": "^2.0.1", | ||
"internal-ip": "^6.2.0", | ||
"istanbul-lib-coverage": "^3.0.0", | ||
@@ -74,0 +74,0 @@ "istanbul-lib-report": "^3.0.1", |
import { cyan, gray } from 'nanocolors'; | ||
import ip from 'ip'; | ||
import internalIp from 'internal-ip'; | ||
@@ -8,3 +8,3 @@ import { TestRunnerCoreConfig } from '../config/TestRunnerCoreConfig'; | ||
const localAddress = `${config.protocol}//${config.hostname}:${config.port}/`; | ||
const networkAddress = `${config.protocol}//${ip.address()}:${config.port}/`; | ||
const networkAddress = `${config.protocol}//${internalIp.v4.sync()}:${config.port}/`; | ||
@@ -11,0 +11,0 @@ return [ |
Sorry, the diff of this file is not supported yet
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
404639
+ Addedinternal-ip@^6.2.0
+ Addedcross-spawn@7.0.3(transitive)
+ Addeddefault-gateway@6.0.3(transitive)
+ Addedexeca@5.1.1(transitive)
+ Addedhuman-signals@2.1.0(transitive)
+ Addedinternal-ip@6.2.0(transitive)
+ Addedip-regex@4.3.0(transitive)
+ Addedipaddr.js@1.9.1(transitive)
+ Addedis-ip@3.1.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedmerge-stream@2.0.0(transitive)
+ Addednpm-run-path@4.0.1(transitive)
+ Addedp-event@4.2.0(transitive)
+ Addedp-finally@1.0.0(transitive)
+ Addedp-timeout@3.2.0(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedstrip-final-newline@2.0.0(transitive)
+ Addedwhich@2.0.2(transitive)
- Removedip@^2.0.1
- Removedip@2.0.1(transitive)