From d77c0efbb5e37497839196b5c7b16cfc3a4e429f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20R=C3=BCger?= Date: Sun, 27 Aug 2023 12:22:59 +0200 Subject: [PATCH] fix #256 by importing `.js` file and therefore removing the trailing slash --- lib/cookie.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cookie.js b/lib/cookie.js index f90d6a71..a3f8841c 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/punycode.js"); const urlParse = require("url-parse"); const pubsuffix = require("./pubsuffix-psl"); const Store = require("./store").Store;