Explicitly pull in the punycode.js userland module

Avoids DEP[0040] warnings regarding use of the deprecated node internal punycode module
This commit is contained in:
GCHQDeveloper581 2026-04-20 10:48:03 +00:00
parent d8cb1bb0d4
commit afde9bf6fd
No known key found for this signature in database
GPG Key ID: 6222E059A3DF595C
4 changed files with 4 additions and 2 deletions

1
package-lock.json generated
View File

@ -86,6 +86,7 @@
"popper.js": "^1.16.1",
"process": "^0.11.10",
"protobufjs": "^7.5.5",
"punycode.js": "^2.3.1",
"qr-image": "^3.2.0",
"reflect-metadata": "^0.2.2",
"rison": "^0.1.1",

View File

@ -169,6 +169,7 @@
"popper.js": "^1.16.1",
"process": "^0.11.10",
"protobufjs": "^7.5.5",
"punycode.js": "^2.3.1",
"qr-image": "^3.2.0",
"reflect-metadata": "^0.2.2",
"rison": "^0.1.1",

View File

@ -5,7 +5,7 @@
*/
import Operation from "../Operation.mjs";
import punycode from "punycode";
import punycode from "punycode.js";
/**
* From Punycode operation

View File

@ -5,7 +5,7 @@
*/
import Operation from "../Operation.mjs";
import punycode from "punycode";
import punycode from "punycode.js";
/**
* To Punycode operation