Skip to content

Commit

Permalink
Remove string.prototype.repeat polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle authored and jgm committed Jan 29, 2024
1 parent 2df33d5 commit ba128a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion lib/inlines.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ba128a8

Please sign in to comment.