From ba128a806dfa5376379e845152bcbb210c80fab4 Mon Sep 17 00:00:00 2001 From: Steven Date: Mon, 29 Jan 2024 11:00:27 -0500 Subject: [PATCH] Remove string.prototype.repeat polyfill --- lib/inlines.js | 1 - package.json | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/inlines.js b/lib/inlines.js index 948eb41b..dd30bd4f 100644 --- a/lib/inlines.js +++ b/lib/inlines.js @@ -4,7 +4,6 @@ import Node from "./node.js"; import * as common from "./common.js"; import fromCodePoint from "./from-code-point.js"; import { decodeHTMLStrict } from "entities"; -import "string.prototype.repeat"; // Polyfill for String.prototype.repeat var normalizeURI = common.normalizeURI; var unescapeString = common.unescapeString; diff --git a/package.json b/package.json index c4849fcb..8f09b17f 100644 --- a/package.json +++ b/package.json @@ -37,8 +37,7 @@ "dependencies": { "entities": "~3.0.1", "mdurl": "~1.0.1", - "minimist": "~1.2.5", - "string.prototype.repeat": "^1.0.0" + "minimist": "~1.2.5" }, "directories": { "lib": "./lib"