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"