Imported the library in a code which enforce use strict. Without this PR I get the following error:
ReferenceError: key is not defined
at /usr/app/dist/index.js:127446:16
at Array.forEach (<anonymous>)
at parseSimpleWhois (/usr/app/dist/index.js:127427:61)
at whoisTld (/usr/app/dist/index.js:127876:20)
at async whoisDomain (/usr/app/dist/index.js:127900:21)
You can ignore the line numbers since it was bundled with esbuild.
Imported the library in a code which enforce
use strict
. Without this PR I get the following error:You can ignore the line numbers since it was bundled with esbuild.