Skip to content

Commit 3e6e441

Browse files
Explicitly pull in the punycode.js userland module
Avoids DEP[0040] warnings regarding use of the deprecated node internal punycode module
1 parent 05dd14e commit 3e6e441

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@
169169
"popper.js": "^1.16.1",
170170
"process": "^0.11.10",
171171
"protobufjs": "^7.5.5",
172+
"punycode.js": "^2.3.1",
172173
"qr-image": "^3.2.0",
173174
"reflect-metadata": "^0.2.2",
174175
"rison": "^0.1.1",

src/core/operations/FromPunycode.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
import Operation from "../Operation.mjs";
8-
import punycode from "punycode";
8+
import punycode from "punycode.js";
99

1010
/**
1111
* From Punycode operation

src/core/operations/ToPunycode.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
import Operation from "../Operation.mjs";
8-
import punycode from "punycode";
8+
import punycode from "punycode.js";
99

1010
/**
1111
* To Punycode operation

0 commit comments

Comments
 (0)