Skip to content

Commit

Permalink
Replace punycode (gamedig#359)
Browse files Browse the repository at this point in the history
* Replace by package

* Update CHANGELOG
  • Loading branch information
CosminPerRam authored Sep 14, 2023
1 parent ad9adff commit 544610f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 477 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Replaced usage of deprecated `substr` with `substring`.
* Moved the library a `module`.
* CLI: Resolved incorrect error message when querying with a non-existent protocol name.
* Replaced deprecated internal `punycode` with the [punycode](https://www.npmjs.com/package/punycode) package.

### 4.1.0
* Replace `compressjs` dependency by `seek-bzip` to solve some possible import issues.
Expand Down
2 changes: 1 addition & 1 deletion lib/DnsResolver.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as dns from 'dns';
import * as punycode from "punycode";
import punycode from "punycode/";
import { promisify } from "util";

const dnsLookupAsync = promisify(dns.lookup);
Expand Down
Loading

0 comments on commit 544610f

Please sign in to comment.