@stacksjs/whois 0.58.27 → 0.58.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -452,7 +452,6 @@ async function whois(domain, parse = false, options = null) {
452
452
  let tld;
453
453
  let port = 43;
454
454
  let server = "";
455
- let queryOptions;
456
455
  let proxy;
457
456
  let encoding = "utf-8";
458
457
  if (!options) {
@@ -482,7 +481,7 @@ async function whois(domain, parse = false, options = null) {
482
481
  server = serverData;
483
482
  }
484
483
  const qOptions = getParameters(server);
485
- queryOptions = qOptions || "";
484
+ const queryOptions = qOptions || "";
486
485
  try {
487
486
  const rawData = await tcpWhois(domain, queryOptions, server, port, encoding, proxy);
488
487
  if (!parse) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/whois",
3
3
  "type": "module",
4
- "version": "0.58.27",
4
+ "version": "0.58.43",
5
5
  "description": "Easily get whois info.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",