From beed9aee2c1b44819afc25d485e86a6c699b6ef0 Mon Sep 17 00:00:00 2001 From: Vitaly Puzrin Date: Mon, 20 Nov 2023 06:10:11 +0200 Subject: [PATCH] punycode: switch to userland package - Closes #967, #969, #513 --- lib/index.js | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 6c482b4..5b722c2 100644 --- a/lib/index.js +++ b/lib/index.js @@ -11,7 +11,7 @@ var ParserBlock = require('./parser_block'); var ParserInline = require('./parser_inline'); var LinkifyIt = require('linkify-it'); var mdurl = require('mdurl'); -var punycode = require('punycode'); +var punycode = require('punycode/'); var config = { diff --git a/package.json b/package.json index 95d96f5..3b27a22 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,7 @@ "entities": "^4.4.0", "linkify-it": "^4.0.1", "mdurl": "^1.0.1", + "punycode": "^2.3.1", "uc.micro": "^1.0.5" }, "devDependencies": {