From 9a12cb0cb67637d1f44cf51f8438b0378f8557c3 Mon Sep 17 00:00:00 2001 From: Gijs Boer Date: Mon, 2 May 2022 16:02:20 +0200 Subject: [PATCH] Stop using the internal NodeJS punycode module, and instead use the punycode package (also because the internal punycode NodeJS module is deprecated) --- lib/cookie.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cookie.js b/lib/cookie.js index 37d70ded..1136313d 100644 --- a/lib/cookie.js +++ b/lib/cookie.js @@ -29,7 +29,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ "use strict"; -const punycode = require("punycode"); +const punycode = require("punycode/"); const urlParse = require("url-parse"); const pubsuffix = require("./pubsuffix-psl"); const Store = require("./store").Store;