From fef6e95243caaa0e46a1aa42fa21af6caef11e51 Mon Sep 17 00:00:00 2001 From: Cotton Hou Date: Mon, 23 Jan 2023 11:14:29 +0800 Subject: [PATCH] Require punycode with trailing slash This ensures we're using the dependency version, instead of the built-in Node.js version. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 7ce0532..f6ca73f 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,6 @@ "use strict"; -const punycode = require("punycode"); +const punycode = require("punycode/"); const regexes = require("./lib/regexes.js"); const mappingTable = require("./lib/mappingTable.json"); const { STATUS_MAPPING } = require("./lib/statusMapping.js");