Comparing version 34.2.2 to 34.3.0
@@ -18,2 +18,8 @@ "use strict"; | ||
} | ||
else if (url.searchParams.has('host')) { | ||
const host = url.searchParams.get('host'); | ||
if (typeof host === 'string' && host) { | ||
connectionOptions.host = host; | ||
} | ||
} | ||
if (url.port) { | ||
@@ -20,0 +26,0 @@ connectionOptions.port = Number(url.port); |
@@ -30,2 +30,3 @@ { | ||
"ava": "^5.3.0", | ||
"cspell": "^7.3.6", | ||
"delay": "^5.0.0", | ||
@@ -93,10 +94,11 @@ "eslint": "^8.41.0", | ||
"create-readme": "gitdown ./.README/README.md --output-file ./README.md", | ||
"lint:cspell": "cspell . --no-progress --gitignore", | ||
"lint:eslint": "eslint --cache ./src ./test", | ||
"lint:knip": "knip", | ||
"lint:tsc": "tsc --noEmit", | ||
"lint": "npm run lint:eslint && npm run lint:knip && npm run lint:tsc", | ||
"lint": "npm run lint:cspell && npm run lint:eslint && npm run lint:knip && npm run lint:tsc", | ||
"test": "nyc ava --verbose --serial" | ||
}, | ||
"types": "./dist/index.d.ts", | ||
"version": "34.2.2" | ||
"version": "34.3.0" | ||
} |
@@ -20,2 +20,8 @@ import { Logger } from '../Logger'; | ||
connectionOptions.host = decodeURIComponent(url.hostname); | ||
} else if (url.searchParams.has('host')) { | ||
const host = url.searchParams.get('host'); | ||
if (typeof host === 'string' && host) { | ||
connectionOptions.host = host; | ||
} | ||
} | ||
@@ -22,0 +28,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
513766
7540
3025
23