Skip to content

Commit

Permalink
fixed: include punycode from userland lib
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiIgna committed Feb 6, 2023
1 parent a859a11 commit a2ee6f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const punycode = require('punycode')
const punycode = require('punycode/')
const https = require('https')
const splitStringBy = (string, by) => [string.slice(0, by), string.slice(by + 1)]

Expand Down
2 changes: 1 addition & 1 deletion src/whoiser.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const net = require('net')
const dns = require('dns/promises')
const punycode = require('punycode')
const punycode = require('punycode/')
const { parseSimpleWhois, parseDomainWhois } = require('./parsers.js')
const { splitStringBy, requestGetBody, isTld, isDomain } = require('./utils.js')

Expand Down

0 comments on commit a2ee6f9

Please sign in to comment.