Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lookup fails when verbose option is true #80

Open
davidbodnar opened this issue Apr 29, 2019 · 0 comments
Open

Lookup fails when verbose option is true #80

davidbodnar opened this issue Apr 29, 2019 · 0 comments

Comments

@davidbodnar
Copy link
Contributor

require('whois').lookup('google.com', { verbose: true }, (err, data) => {
    console.log(data);
});

Output:

$ node ./index.js
/app/whois-test/node_modules/whois/index.js:117
                      server: server.trim(),
                                     ^

TypeError: server.trim is not a function
    at /app/whois-test/node_modules/whois/index.js:117:38
    at /app/whois-test/node_modules/underscore/underscore.js:957:21
    at Socket.<anonymous> (/app/whois-test/node_modules/whois/index.js:129:20)
    at Socket.emit (events.js:189:13)
    at TCP._handle.close (net.js:597:12)

whois version: 2.10.0
node version: 10.15.3 (LTS)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant