mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 18:25:13 +08:00
tools: update lint-md-dependencies
Update to @rollup/plugin-node-resolve@13.1.3, rollup@2.64.0, and to-vfile@7.2.3. PR-URL: https://github.com/nodejs/node/pull/41440 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
eceb2e75d8
commit
cc97ea5df6
3 files changed
+430
-137
No files matched your search
+317
-26
@@ -20706,35 +20706,317 @@ function stripAnsi(string) {
|
||||
return string.replace(ansiRegex(), '');
|
||||
}
|
||||
|
||||
function isFullwidthCodePoint(codePoint) {
|
||||
if (!Number.isInteger(codePoint)) {
|
||||
return false;
|
||||
}
|
||||
return codePoint >= 0x1100 && (
|
||||
codePoint <= 0x115F ||
|
||||
codePoint === 0x2329 ||
|
||||
codePoint === 0x232A ||
|
||||
(0x2E80 <= codePoint && codePoint <= 0x3247 && codePoint !== 0x303F) ||
|
||||
(0x3250 <= codePoint && codePoint <= 0x4DBF) ||
|
||||
(0x4E00 <= codePoint && codePoint <= 0xA4C6) ||
|
||||
(0xA960 <= codePoint && codePoint <= 0xA97C) ||
|
||||
(0xAC00 <= codePoint && codePoint <= 0xD7A3) ||
|
||||
(0xF900 <= codePoint && codePoint <= 0xFAFF) ||
|
||||
(0xFE10 <= codePoint && codePoint <= 0xFE19) ||
|
||||
(0xFE30 <= codePoint && codePoint <= 0xFE6B) ||
|
||||
(0xFF01 <= codePoint && codePoint <= 0xFF60) ||
|
||||
(0xFFE0 <= codePoint && codePoint <= 0xFFE6) ||
|
||||
(0x1B000 <= codePoint && codePoint <= 0x1B001) ||
|
||||
(0x1F200 <= codePoint && codePoint <= 0x1F251) ||
|
||||
(0x20000 <= codePoint && codePoint <= 0x3FFFD)
|
||||
);
|
||||
var eastasianwidth = {exports: {}};
|
||||
|
||||
(function (module) {
|
||||
var eaw = {};
|
||||
{
|
||||
module.exports = eaw;
|
||||
}
|
||||
eaw.eastAsianWidth = function(character) {
|
||||
var x = character.charCodeAt(0);
|
||||
var y = (character.length == 2) ? character.charCodeAt(1) : 0;
|
||||
var codePoint = x;
|
||||
if ((0xD800 <= x && x <= 0xDBFF) && (0xDC00 <= y && y <= 0xDFFF)) {
|
||||
x &= 0x3FF;
|
||||
y &= 0x3FF;
|
||||
codePoint = (x << 10) | y;
|
||||
codePoint += 0x10000;
|
||||
}
|
||||
if ((0x3000 == codePoint) ||
|
||||
(0xFF01 <= codePoint && codePoint <= 0xFF60) ||
|
||||
(0xFFE0 <= codePoint && codePoint <= 0xFFE6)) {
|
||||
return 'F';
|
||||
}
|
||||
if ((0x20A9 == codePoint) ||
|
||||
(0xFF61 <= codePoint && codePoint <= 0xFFBE) ||
|
||||
(0xFFC2 <= codePoint && codePoint <= 0xFFC7) ||
|
||||
(0xFFCA <= codePoint && codePoint <= 0xFFCF) ||
|
||||
(0xFFD2 <= codePoint && codePoint <= 0xFFD7) ||
|
||||
(0xFFDA <= codePoint && codePoint <= 0xFFDC) ||
|
||||
(0xFFE8 <= codePoint && codePoint <= 0xFFEE)) {
|
||||
return 'H';
|
||||
}
|
||||
if ((0x1100 <= codePoint && codePoint <= 0x115F) ||
|
||||
(0x11A3 <= codePoint && codePoint <= 0x11A7) ||
|
||||
(0x11FA <= codePoint && codePoint <= 0x11FF) ||
|
||||
(0x2329 <= codePoint && codePoint <= 0x232A) ||
|
||||
(0x2E80 <= codePoint && codePoint <= 0x2E99) ||
|
||||
(0x2E9B <= codePoint && codePoint <= 0x2EF3) ||
|
||||
(0x2F00 <= codePoint && codePoint <= 0x2FD5) ||
|
||||
(0x2FF0 <= codePoint && codePoint <= 0x2FFB) ||
|
||||
(0x3001 <= codePoint && codePoint <= 0x303E) ||
|
||||
(0x3041 <= codePoint && codePoint <= 0x3096) ||
|
||||
(0x3099 <= codePoint && codePoint <= 0x30FF) ||
|
||||
(0x3105 <= codePoint && codePoint <= 0x312D) ||
|
||||
(0x3131 <= codePoint && codePoint <= 0x318E) ||
|
||||
(0x3190 <= codePoint && codePoint <= 0x31BA) ||
|
||||
(0x31C0 <= codePoint && codePoint <= 0x31E3) ||
|
||||
(0x31F0 <= codePoint && codePoint <= 0x321E) ||
|
||||
(0x3220 <= codePoint && codePoint <= 0x3247) ||
|
||||
(0x3250 <= codePoint && codePoint <= 0x32FE) ||
|
||||
(0x3300 <= codePoint && codePoint <= 0x4DBF) ||
|
||||
(0x4E00 <= codePoint && codePoint <= 0xA48C) ||
|
||||
(0xA490 <= codePoint && codePoint <= 0xA4C6) ||
|
||||
(0xA960 <= codePoint && codePoint <= 0xA97C) ||
|
||||
(0xAC00 <= codePoint && codePoint <= 0xD7A3) ||
|
||||
(0xD7B0 <= codePoint && codePoint <= 0xD7C6) ||
|
||||
(0xD7CB <= codePoint && codePoint <= 0xD7FB) ||
|
||||
(0xF900 <= codePoint && codePoint <= 0xFAFF) ||
|
||||
(0xFE10 <= codePoint && codePoint <= 0xFE19) ||
|
||||
(0xFE30 <= codePoint && codePoint <= 0xFE52) ||
|
||||
(0xFE54 <= codePoint && codePoint <= 0xFE66) ||
|
||||
(0xFE68 <= codePoint && codePoint <= 0xFE6B) ||
|
||||
(0x1B000 <= codePoint && codePoint <= 0x1B001) ||
|
||||
(0x1F200 <= codePoint && codePoint <= 0x1F202) ||
|
||||
(0x1F210 <= codePoint && codePoint <= 0x1F23A) ||
|
||||
(0x1F240 <= codePoint && codePoint <= 0x1F248) ||
|
||||
(0x1F250 <= codePoint && codePoint <= 0x1F251) ||
|
||||
(0x20000 <= codePoint && codePoint <= 0x2F73F) ||
|
||||
(0x2B740 <= codePoint && codePoint <= 0x2FFFD) ||
|
||||
(0x30000 <= codePoint && codePoint <= 0x3FFFD)) {
|
||||
return 'W';
|
||||
}
|
||||
if ((0x0020 <= codePoint && codePoint <= 0x007E) ||
|
||||
(0x00A2 <= codePoint && codePoint <= 0x00A3) ||
|
||||
(0x00A5 <= codePoint && codePoint <= 0x00A6) ||
|
||||
(0x00AC == codePoint) ||
|
||||
(0x00AF == codePoint) ||
|
||||
(0x27E6 <= codePoint && codePoint <= 0x27ED) ||
|
||||
(0x2985 <= codePoint && codePoint <= 0x2986)) {
|
||||
return 'Na';
|
||||
}
|
||||
if ((0x00A1 == codePoint) ||
|
||||
(0x00A4 == codePoint) ||
|
||||
(0x00A7 <= codePoint && codePoint <= 0x00A8) ||
|
||||
(0x00AA == codePoint) ||
|
||||
(0x00AD <= codePoint && codePoint <= 0x00AE) ||
|
||||
(0x00B0 <= codePoint && codePoint <= 0x00B4) ||
|
||||
(0x00B6 <= codePoint && codePoint <= 0x00BA) ||
|
||||
(0x00BC <= codePoint && codePoint <= 0x00BF) ||
|
||||
(0x00C6 == codePoint) ||
|
||||
(0x00D0 == codePoint) ||
|
||||
(0x00D7 <= codePoint && codePoint <= 0x00D8) ||
|
||||
(0x00DE <= codePoint && codePoint <= 0x00E1) ||
|
||||
(0x00E6 == codePoint) ||
|
||||
(0x00E8 <= codePoint && codePoint <= 0x00EA) ||
|
||||
(0x00EC <= codePoint && codePoint <= 0x00ED) ||
|
||||
(0x00F0 == codePoint) ||
|
||||
(0x00F2 <= codePoint && codePoint <= 0x00F3) ||
|
||||
(0x00F7 <= codePoint && codePoint <= 0x00FA) ||
|
||||
(0x00FC == codePoint) ||
|
||||
(0x00FE == codePoint) ||
|
||||
(0x0101 == codePoint) ||
|
||||
(0x0111 == codePoint) ||
|
||||
(0x0113 == codePoint) ||
|
||||
(0x011B == codePoint) ||
|
||||
(0x0126 <= codePoint && codePoint <= 0x0127) ||
|
||||
(0x012B == codePoint) ||
|
||||
(0x0131 <= codePoint && codePoint <= 0x0133) ||
|
||||
(0x0138 == codePoint) ||
|
||||
(0x013F <= codePoint && codePoint <= 0x0142) ||
|
||||
(0x0144 == codePoint) ||
|
||||
(0x0148 <= codePoint && codePoint <= 0x014B) ||
|
||||
(0x014D == codePoint) ||
|
||||
(0x0152 <= codePoint && codePoint <= 0x0153) ||
|
||||
(0x0166 <= codePoint && codePoint <= 0x0167) ||
|
||||
(0x016B == codePoint) ||
|
||||
(0x01CE == codePoint) ||
|
||||
(0x01D0 == codePoint) ||
|
||||
(0x01D2 == codePoint) ||
|
||||
(0x01D4 == codePoint) ||
|
||||
(0x01D6 == codePoint) ||
|
||||
(0x01D8 == codePoint) ||
|
||||
(0x01DA == codePoint) ||
|
||||
(0x01DC == codePoint) ||
|
||||
(0x0251 == codePoint) ||
|
||||
(0x0261 == codePoint) ||
|
||||
(0x02C4 == codePoint) ||
|
||||
(0x02C7 == codePoint) ||
|
||||
(0x02C9 <= codePoint && codePoint <= 0x02CB) ||
|
||||
(0x02CD == codePoint) ||
|
||||
(0x02D0 == codePoint) ||
|
||||
(0x02D8 <= codePoint && codePoint <= 0x02DB) ||
|
||||
(0x02DD == codePoint) ||
|
||||
(0x02DF == codePoint) ||
|
||||
(0x0300 <= codePoint && codePoint <= 0x036F) ||
|
||||
(0x0391 <= codePoint && codePoint <= 0x03A1) ||
|
||||
(0x03A3 <= codePoint && codePoint <= 0x03A9) ||
|
||||
(0x03B1 <= codePoint && codePoint <= 0x03C1) ||
|
||||
(0x03C3 <= codePoint && codePoint <= 0x03C9) ||
|
||||
(0x0401 == codePoint) ||
|
||||
(0x0410 <= codePoint && codePoint <= 0x044F) ||
|
||||
(0x0451 == codePoint) ||
|
||||
(0x2010 == codePoint) ||
|
||||
(0x2013 <= codePoint && codePoint <= 0x2016) ||
|
||||
(0x2018 <= codePoint && codePoint <= 0x2019) ||
|
||||
(0x201C <= codePoint && codePoint <= 0x201D) ||
|
||||
(0x2020 <= codePoint && codePoint <= 0x2022) ||
|
||||
(0x2024 <= codePoint && codePoint <= 0x2027) ||
|
||||
(0x2030 == codePoint) ||
|
||||
(0x2032 <= codePoint && codePoint <= 0x2033) ||
|
||||
(0x2035 == codePoint) ||
|
||||
(0x203B == codePoint) ||
|
||||
(0x203E == codePoint) ||
|
||||
(0x2074 == codePoint) ||
|
||||
(0x207F == codePoint) ||
|
||||
(0x2081 <= codePoint && codePoint <= 0x2084) ||
|
||||
(0x20AC == codePoint) ||
|
||||
(0x2103 == codePoint) ||
|
||||
(0x2105 == codePoint) ||
|
||||
(0x2109 == codePoint) ||
|
||||
(0x2113 == codePoint) ||
|
||||
(0x2116 == codePoint) ||
|
||||
(0x2121 <= codePoint && codePoint <= 0x2122) ||
|
||||
(0x2126 == codePoint) ||
|
||||
(0x212B == codePoint) ||
|
||||
(0x2153 <= codePoint && codePoint <= 0x2154) ||
|
||||
(0x215B <= codePoint && codePoint <= 0x215E) ||
|
||||
(0x2160 <= codePoint && codePoint <= 0x216B) ||
|
||||
(0x2170 <= codePoint && codePoint <= 0x2179) ||
|
||||
(0x2189 == codePoint) ||
|
||||
(0x2190 <= codePoint && codePoint <= 0x2199) ||
|
||||
(0x21B8 <= codePoint && codePoint <= 0x21B9) ||
|
||||
(0x21D2 == codePoint) ||
|
||||
(0x21D4 == codePoint) ||
|
||||
(0x21E7 == codePoint) ||
|
||||
(0x2200 == codePoint) ||
|
||||
(0x2202 <= codePoint && codePoint <= 0x2203) ||
|
||||
(0x2207 <= codePoint && codePoint <= 0x2208) ||
|
||||
(0x220B == codePoint) ||
|
||||
(0x220F == codePoint) ||
|
||||
(0x2211 == codePoint) ||
|
||||
(0x2215 == codePoint) ||
|
||||
(0x221A == codePoint) ||
|
||||
(0x221D <= codePoint && codePoint <= 0x2220) ||
|
||||
(0x2223 == codePoint) ||
|
||||
(0x2225 == codePoint) ||
|
||||
(0x2227 <= codePoint && codePoint <= 0x222C) ||
|
||||
(0x222E == codePoint) ||
|
||||
(0x2234 <= codePoint && codePoint <= 0x2237) ||
|
||||
(0x223C <= codePoint && codePoint <= 0x223D) ||
|
||||
(0x2248 == codePoint) ||
|
||||
(0x224C == codePoint) ||
|
||||
(0x2252 == codePoint) ||
|
||||
(0x2260 <= codePoint && codePoint <= 0x2261) ||
|
||||
(0x2264 <= codePoint && codePoint <= 0x2267) ||
|
||||
(0x226A <= codePoint && codePoint <= 0x226B) ||
|
||||
(0x226E <= codePoint && codePoint <= 0x226F) ||
|
||||
(0x2282 <= codePoint && codePoint <= 0x2283) ||
|
||||
(0x2286 <= codePoint && codePoint <= 0x2287) ||
|
||||
(0x2295 == codePoint) ||
|
||||
(0x2299 == codePoint) ||
|
||||
(0x22A5 == codePoint) ||
|
||||
(0x22BF == codePoint) ||
|
||||
(0x2312 == codePoint) ||
|
||||
(0x2460 <= codePoint && codePoint <= 0x24E9) ||
|
||||
(0x24EB <= codePoint && codePoint <= 0x254B) ||
|
||||
(0x2550 <= codePoint && codePoint <= 0x2573) ||
|
||||
(0x2580 <= codePoint && codePoint <= 0x258F) ||
|
||||
(0x2592 <= codePoint && codePoint <= 0x2595) ||
|
||||
(0x25A0 <= codePoint && codePoint <= 0x25A1) ||
|
||||
(0x25A3 <= codePoint && codePoint <= 0x25A9) ||
|
||||
(0x25B2 <= codePoint && codePoint <= 0x25B3) ||
|
||||
(0x25B6 <= codePoint && codePoint <= 0x25B7) ||
|
||||
(0x25BC <= codePoint && codePoint <= 0x25BD) ||
|
||||
(0x25C0 <= codePoint && codePoint <= 0x25C1) ||
|
||||
(0x25C6 <= codePoint && codePoint <= 0x25C8) ||
|
||||
(0x25CB == codePoint) ||
|
||||
(0x25CE <= codePoint && codePoint <= 0x25D1) ||
|
||||
(0x25E2 <= codePoint && codePoint <= 0x25E5) ||
|
||||
(0x25EF == codePoint) ||
|
||||
(0x2605 <= codePoint && codePoint <= 0x2606) ||
|
||||
(0x2609 == codePoint) ||
|
||||
(0x260E <= codePoint && codePoint <= 0x260F) ||
|
||||
(0x2614 <= codePoint && codePoint <= 0x2615) ||
|
||||
(0x261C == codePoint) ||
|
||||
(0x261E == codePoint) ||
|
||||
(0x2640 == codePoint) ||
|
||||
(0x2642 == codePoint) ||
|
||||
(0x2660 <= codePoint && codePoint <= 0x2661) ||
|
||||
(0x2663 <= codePoint && codePoint <= 0x2665) ||
|
||||
(0x2667 <= codePoint && codePoint <= 0x266A) ||
|
||||
(0x266C <= codePoint && codePoint <= 0x266D) ||
|
||||
(0x266F == codePoint) ||
|
||||
(0x269E <= codePoint && codePoint <= 0x269F) ||
|
||||
(0x26BE <= codePoint && codePoint <= 0x26BF) ||
|
||||
(0x26C4 <= codePoint && codePoint <= 0x26CD) ||
|
||||
(0x26CF <= codePoint && codePoint <= 0x26E1) ||
|
||||
(0x26E3 == codePoint) ||
|
||||
(0x26E8 <= codePoint && codePoint <= 0x26FF) ||
|
||||
(0x273D == codePoint) ||
|
||||
(0x2757 == codePoint) ||
|
||||
(0x2776 <= codePoint && codePoint <= 0x277F) ||
|
||||
(0x2B55 <= codePoint && codePoint <= 0x2B59) ||
|
||||
(0x3248 <= codePoint && codePoint <= 0x324F) ||
|
||||
(0xE000 <= codePoint && codePoint <= 0xF8FF) ||
|
||||
(0xFE00 <= codePoint && codePoint <= 0xFE0F) ||
|
||||
(0xFFFD == codePoint) ||
|
||||
(0x1F100 <= codePoint && codePoint <= 0x1F10A) ||
|
||||
(0x1F110 <= codePoint && codePoint <= 0x1F12D) ||
|
||||
(0x1F130 <= codePoint && codePoint <= 0x1F169) ||
|
||||
(0x1F170 <= codePoint && codePoint <= 0x1F19A) ||
|
||||
(0xE0100 <= codePoint && codePoint <= 0xE01EF) ||
|
||||
(0xF0000 <= codePoint && codePoint <= 0xFFFFD) ||
|
||||
(0x100000 <= codePoint && codePoint <= 0x10FFFD)) {
|
||||
return 'A';
|
||||
}
|
||||
return 'N';
|
||||
};
|
||||
eaw.characterLength = function(character) {
|
||||
var code = this.eastAsianWidth(character);
|
||||
if (code == 'F' || code == 'W' || code == 'A') {
|
||||
return 2;
|
||||
} else {
|
||||
return 1;
|
||||
}
|
||||
};
|
||||
function stringToArray(string) {
|
||||
return string.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g) || [];
|
||||
}
|
||||
eaw.length = function(string) {
|
||||
var characters = stringToArray(string);
|
||||
var len = 0;
|
||||
for (var i = 0; i < characters.length; i++) {
|
||||
len = len + this.characterLength(characters[i]);
|
||||
}
|
||||
return len;
|
||||
};
|
||||
eaw.slice = function(text, start, end) {
|
||||
textLen = eaw.length(text);
|
||||
start = start ? start : 0;
|
||||
end = end ? end : 1;
|
||||
if (start < 0) {
|
||||
start = textLen + start;
|
||||
}
|
||||
if (end < 0) {
|
||||
end = textLen + end;
|
||||
}
|
||||
var result = '';
|
||||
var eawLen = 0;
|
||||
var chars = stringToArray(text);
|
||||
for (var i = 0; i < chars.length; i++) {
|
||||
var char = chars[i];
|
||||
var charLen = eaw.length(char);
|
||||
if (eawLen >= start - (charLen == 2 ? 1 : 0)) {
|
||||
if (eawLen + charLen <= end) {
|
||||
result += char;
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
}
|
||||
eawLen += charLen;
|
||||
}
|
||||
return result;
|
||||
};
|
||||
}(eastasianwidth));
|
||||
var eastAsianWidth = eastasianwidth.exports;
|
||||
|
||||
var emojiRegex = function () {
|
||||
return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\Line truncated
|
||||
};
|
||||
|
||||
function stringWidth(string) {
|
||||
function stringWidth(string, options = {}) {
|
||||
if (typeof string !== 'string' || string.length === 0) {
|
||||
return 0;
|
||||
}
|
||||
@@ -20743,6 +21025,7 @@ function stringWidth(string) {
|
||||
return 0;
|
||||
}
|
||||
string = string.replace(emojiRegex(), ' ');
|
||||
const ambiguousCharWidth = options.ambiguousIsNarrow ? 1 : 2;
|
||||
let width = 0;
|
||||
for (let index = 0; index < string.length; index++) {
|
||||
const codePoint = string.codePointAt(index);
|
||||
@@ -20752,10 +21035,18 @@ function stringWidth(string) {
|
||||
if (codePoint >= 0x300 && codePoint <= 0x36F) {
|
||||
continue;
|
||||
}
|
||||
if (codePoint > 0xFFFF) {
|
||||
index++;
|
||||
const code = eastAsianWidth.eastAsianWidth(string.charAt(index));
|
||||
switch (code) {
|
||||
case 'F':
|
||||
case 'W':
|
||||
width += 2;
|
||||
break;
|
||||
case 'A':
|
||||
width += ambiguousCharWidth;
|
||||
break;
|
||||
default:
|
||||
width += 1;
|
||||
}
|
||||
width += isFullwidthCodePoint(codePoint) ? 2 : 1;
|
||||
}
|
||||
return width;
|
||||
}
|
||||
|
||||
Generated
+110
-108
@@ -11,14 +11,14 @@
|
||||
"remark-parse": "^10.0.1",
|
||||
"remark-preset-lint-node": "^3.3.0",
|
||||
"remark-stringify": "^10.0.2",
|
||||
"to-vfile": "^7.2.2",
|
||||
"to-vfile": "^7.2.3",
|
||||
"unified": "^10.1.1",
|
||||
"vfile-reporter": "^7.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-commonjs": "^21.0.1",
|
||||
"@rollup/plugin-node-resolve": "^13.1.2",
|
||||
"rollup": "^2.62.0",
|
||||
"@rollup/plugin-node-resolve": "^13.1.3",
|
||||
"rollup": "^2.64.0",
|
||||
"rollup-plugin-cleanup": "^3.2.1"
|
||||
}
|
||||
},
|
||||
@@ -44,9 +44,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@rollup/plugin-node-resolve": {
|
||||
"version": "13.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-13.1.2.tgz",
|
||||
"integrity": "sha512-xyqbuf1vyOPC60jEKhx3DBHunymnCJswzjNTKfX4Jz7zCPar1UqbRZCNY1u5QaXh97beaFTWdoUUWiV4qX8o/g==",
|
||||
"version": "13.1.3",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-13.1.3.tgz",
|
||||
"integrity": "sha512-BdxNk+LtmElRo5d06MGY4zoepyrXX1tkzX2hrnPEZ53k78GuOMWLqmJDGIIOPwVRIFZrLQOo+Yr6KtCuLIA0AQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@rollup/pluginutils": "^3.1.0",
|
||||
@@ -121,9 +121,9 @@
|
||||
"integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA=="
|
||||
},
|
||||
"node_modules/@types/node": {
|
||||
"version": "17.0.5",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.5.tgz",
|
||||
"integrity": "sha512-w3mrvNXLeDYV1GKTZorGJQivK6XLCoGwpnyJFbJVK/aTBQUxOCaa/GlFAAN3OTDFcb7h5tiFG+YXCO2By+riZw==",
|
||||
"version": "17.0.8",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.8.tgz",
|
||||
"integrity": "sha512-YofkM6fGv4gDJq78g4j0mMuGMkZVxZDgtU0JRdx6FgiJDG+0fY0GKVolOV8WqVmEhLCXkQRjwDdKyPxJp/uucg==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@types/resolve": {
|
||||
@@ -286,6 +286,11 @@
|
||||
"node": ">=0.3.1"
|
||||
}
|
||||
},
|
||||
"node_modules/eastasianwidth": {
|
||||
"version": "0.2.0",
|
||||
"resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
|
||||
"integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA=="
|
||||
},
|
||||
"node_modules/emoji-regex": {
|
||||
"version": "9.2.2",
|
||||
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
|
||||
@@ -410,9 +415,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/is-core-module": {
|
||||
"version": "2.8.0",
|
||||
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.0.tgz",
|
||||
"integrity": "sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==",
|
||||
"version": "2.8.1",
|
||||
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.1.tgz",
|
||||
"integrity": "sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"has": "^1.0.3"
|
||||
@@ -421,17 +426,6 @@
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/is-fullwidth-code-point": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz",
|
||||
"integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==",
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
}
|
||||
},
|
||||
"node_modules/is-module": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz",
|
||||
@@ -1309,9 +1303,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/picomatch": {
|
||||
"version": "2.3.0",
|
||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz",
|
||||
"integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==",
|
||||
"version": "2.3.1",
|
||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
|
||||
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">=8.6"
|
||||
@@ -2171,22 +2165,26 @@
|
||||
}
|
||||
},
|
||||
"node_modules/resolve": {
|
||||
"version": "1.20.0",
|
||||
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz",
|
||||
"integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==",
|
||||
"version": "1.21.0",
|
||||
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.21.0.tgz",
|
||||
"integrity": "sha512-3wCbTpk5WJlyE4mSOtDLhqQmGFi0/TD9VPwmiolnk8U0wRgMEktqCXd3vy5buTO3tljvalNvKrjHEfrd2WpEKA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"is-core-module": "^2.2.0",
|
||||
"path-parse": "^1.0.6"
|
||||
"is-core-module": "^2.8.0",
|
||||
"path-parse": "^1.0.7",
|
||||
"supports-preserve-symlinks-flag": "^1.0.0"
|
||||
},
|
||||
"bin": {
|
||||
"resolve": "bin/resolve"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/rollup": {
|
||||
"version": "2.62.0",
|
||||
"resolved": "https://registry.npmjs.org/rollup/-/rollup-2.62.0.tgz",
|
||||
"integrity": "sha512-cJEQq2gwB0GWMD3rYImefQTSjrPYaC6s4J9pYqnstVLJ1CHa/aZNVkD4Epuvg4iLeMA4KRiq7UM7awKK6j7jcw==",
|
||||
"version": "2.64.0",
|
||||
"resolved": "https://registry.npmjs.org/rollup/-/rollup-2.64.0.tgz",
|
||||
"integrity": "sha512-+c+lbw1lexBKSMb1yxGDVfJ+vchJH3qLbmavR+awDinTDA2C5Ug9u7lkOzj62SCu0PKUExsW36tpgW7Fmpn3yQ==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"rollup": "dist/bin/rollup"
|
||||
@@ -2230,9 +2228,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/sade": {
|
||||
"version": "1.8.0",
|
||||
"resolved": "https://registry.npmjs.org/sade/-/sade-1.8.0.tgz",
|
||||
"integrity": "sha512-NRfCA8AVYuAA7Hu8bs18od6J4BdcXXwOv6OJuNgwbw8LcLK8JKwaM3WckLZ+MGyPJUS/ivVgK3twltrOIJJnug==",
|
||||
"version": "1.8.1",
|
||||
"resolved": "https://registry.npmjs.org/sade/-/sade-1.8.1.tgz",
|
||||
"integrity": "sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==",
|
||||
"dependencies": {
|
||||
"mri": "^1.1.0"
|
||||
},
|
||||
@@ -2275,12 +2273,12 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/string-width": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-5.0.1.tgz",
|
||||
"integrity": "sha512-5ohWO/M4//8lErlUUtrFy3b11GtNOuMOU0ysKCDXFcfXuuvUXu95akgj/i8ofmaGdN0hCqyl6uu9i8dS/mQp5g==",
|
||||
"version": "5.1.0",
|
||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.0.tgz",
|
||||
"integrity": "sha512-7x54QnN21P+XL/v8SuNKvfgsUre6PXpN7mc77N3HlZv+f1SBRGmjxtOud2Z6FZ8DmdkD/IdjCaf9XXbnqmTZGQ==",
|
||||
"dependencies": {
|
||||
"eastasianwidth": "^0.2.0",
|
||||
"emoji-regex": "^9.2.2",
|
||||
"is-fullwidth-code-point": "^4.0.0",
|
||||
"strip-ansi": "^7.0.1"
|
||||
},
|
||||
"engines": {
|
||||
@@ -2315,10 +2313,22 @@
|
||||
"url": "https://github.com/chalk/supports-color?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/supports-preserve-symlinks-flag": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
|
||||
"integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/to-vfile": {
|
||||
"version": "7.2.2",
|
||||
"resolved": "https://registry.npmjs.org/to-vfile/-/to-vfile-7.2.2.tgz",
|
||||
"integrity": "sha512-7WL+coet3qyaYb5vrVrfLtOUHgNv9E1D5SIsyVKmHKcgZefy77WMQRk7FByqGKNInoHOlY6xkTGymo29AwjUKg==",
|
||||
"version": "7.2.3",
|
||||
"resolved": "https://registry.npmjs.org/to-vfile/-/to-vfile-7.2.3.tgz",
|
||||
"integrity": "sha512-QO0A9aE6Z/YkmQadJ0syxpmNXtcQiu0qAtCKYKD5cS3EfgfFTAXfgLX6AOaBrSfWSek5nfsMf3gBZ9KGVFcLuw==",
|
||||
"dependencies": {
|
||||
"is-buffer": "^2.0.0",
|
||||
"vfile": "^5.1.0"
|
||||
@@ -2328,14 +2338,6 @@
|
||||
"url": "https://opencollective.com/unified"
|
||||
}
|
||||
},
|
||||
"node_modules/totalist": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/totalist/-/totalist-2.0.0.tgz",
|
||||
"integrity": "sha512-+Y17F0YzxfACxTyjfhnJQEe7afPA0GSpYlFkl2VFMxYP7jshQf9gXV7cH47EfToBumFThfKBvfAcoUn6fdNeRQ==",
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
}
|
||||
},
|
||||
"node_modules/trough": {
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/trough/-/trough-2.0.2.tgz",
|
||||
@@ -2489,15 +2491,14 @@
|
||||
}
|
||||
},
|
||||
"node_modules/uvu": {
|
||||
"version": "0.5.2",
|
||||
"resolved": "https://registry.npmjs.org/uvu/-/uvu-0.5.2.tgz",
|
||||
"integrity": "sha512-m2hLe7I2eROhh+tm3WE5cTo/Cv3WQA7Oc9f7JB6uWv+/zVKvfAm53bMyOoGOSZeQ7Ov2Fu9pLhFr7p07bnT20w==",
|
||||
"version": "0.5.3",
|
||||
"resolved": "https://registry.npmjs.org/uvu/-/uvu-0.5.3.tgz",
|
||||
"integrity": "sha512-brFwqA3FXzilmtnIyJ+CxdkInkY/i4ErvP7uV0DnUVxQcQ55reuHphorpF+tZoVHK2MniZ/VJzI7zJQoc9T9Yw==",
|
||||
"dependencies": {
|
||||
"dequal": "^2.0.0",
|
||||
"diff": "^5.0.0",
|
||||
"kleur": "^4.0.3",
|
||||
"sade": "^1.7.3",
|
||||
"totalist": "^2.0.0"
|
||||
"sade": "^1.7.3"
|
||||
},
|
||||
"bin": {
|
||||
"uvu": "bin.js"
|
||||
@@ -2507,9 +2508,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/vfile": {
|
||||
"version": "5.2.1",
|
||||
"resolved": "https://registry.npmjs.org/vfile/-/vfile-5.2.1.tgz",
|
||||
"integrity": "sha512-vXW5XKbELM6mLj88kmkJ+gjFGZ/2gTmpdqPDjs3y+qbvI5i7md7rba/+pbYEawa7t22W7ynywPV6lUUAS1WiYg==",
|
||||
"version": "5.3.0",
|
||||
"resolved": "https://registry.npmjs.org/vfile/-/vfile-5.3.0.tgz",
|
||||
"integrity": "sha512-Tj44nY/48OQvarrE4FAjUfrv7GZOYzPbl5OD65HxVKwLJKMPU7zmfV8cCgCnzKWnSfYG2f3pxu+ALqs7j22xQQ==",
|
||||
"dependencies": {
|
||||
"@types/unist": "^2.0.0",
|
||||
"is-buffer": "^2.0.0",
|
||||
@@ -2635,9 +2636,9 @@
|
||||
}
|
||||
},
|
||||
"@rollup/plugin-node-resolve": {
|
||||
"version": "13.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-13.1.2.tgz",
|
||||
"integrity": "sha512-xyqbuf1vyOPC60jEKhx3DBHunymnCJswzjNTKfX4Jz7zCPar1UqbRZCNY1u5QaXh97beaFTWdoUUWiV4qX8o/g==",
|
||||
"version": "13.1.3",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-13.1.3.tgz",
|
||||
"integrity": "sha512-BdxNk+LtmElRo5d06MGY4zoepyrXX1tkzX2hrnPEZ53k78GuOMWLqmJDGIIOPwVRIFZrLQOo+Yr6KtCuLIA0AQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@rollup/pluginutils": "^3.1.0",
|
||||
@@ -2702,9 +2703,9 @@
|
||||
"integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA=="
|
||||
},
|
||||
"@types/node": {
|
||||
"version": "17.0.5",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.5.tgz",
|
||||
"integrity": "sha512-w3mrvNXLeDYV1GKTZorGJQivK6XLCoGwpnyJFbJVK/aTBQUxOCaa/GlFAAN3OTDFcb7h5tiFG+YXCO2By+riZw==",
|
||||
"version": "17.0.8",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.8.tgz",
|
||||
"integrity": "sha512-YofkM6fGv4gDJq78g4j0mMuGMkZVxZDgtU0JRdx6FgiJDG+0fY0GKVolOV8WqVmEhLCXkQRjwDdKyPxJp/uucg==",
|
||||
"dev": true
|
||||
},
|
||||
"@types/resolve": {
|
||||
@@ -2822,6 +2823,11 @@
|
||||
"resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz",
|
||||
"integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w=="
|
||||
},
|
||||
"eastasianwidth": {
|
||||
"version": "0.2.0",
|
||||
"resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
|
||||
"integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA=="
|
||||
},
|
||||
"emoji-regex": {
|
||||
"version": "9.2.2",
|
||||
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
|
||||
@@ -2907,19 +2913,14 @@
|
||||
"integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ=="
|
||||
},
|
||||
"is-core-module": {
|
||||
"version": "2.8.0",
|
||||
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.0.tgz",
|
||||
"integrity": "sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==",
|
||||
"version": "2.8.1",
|
||||
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.1.tgz",
|
||||
"integrity": "sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"has": "^1.0.3"
|
||||
}
|
||||
},
|
||||
"is-fullwidth-code-point": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz",
|
||||
"integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ=="
|
||||
},
|
||||
"is-module": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz",
|
||||
@@ -3469,9 +3470,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"picomatch": {
|
||||
"version": "2.3.0",
|
||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz",
|
||||
"integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==",
|
||||
"version": "2.3.1",
|
||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
|
||||
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
|
||||
"dev": true
|
||||
},
|
||||
"pluralize": {
|
||||
@@ -4133,19 +4134,20 @@
|
||||
}
|
||||
},
|
||||
"resolve": {
|
||||
"version": "1.20.0",
|
||||
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz",
|
||||
"integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==",
|
||||
"version": "1.21.0",
|
||||
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.21.0.tgz",
|
||||
"integrity": "sha512-3wCbTpk5WJlyE4mSOtDLhqQmGFi0/TD9VPwmiolnk8U0wRgMEktqCXd3vy5buTO3tljvalNvKrjHEfrd2WpEKA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"is-core-module": "^2.2.0",
|
||||
"path-parse": "^1.0.6"
|
||||
"is-core-module": "^2.8.0",
|
||||
"path-parse": "^1.0.7",
|
||||
"supports-preserve-symlinks-flag": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"rollup": {
|
||||
"version": "2.62.0",
|
||||
"resolved": "https://registry.npmjs.org/rollup/-/rollup-2.62.0.tgz",
|
||||
"integrity": "sha512-cJEQq2gwB0GWMD3rYImefQTSjrPYaC6s4J9pYqnstVLJ1CHa/aZNVkD4Epuvg4iLeMA4KRiq7UM7awKK6j7jcw==",
|
||||
"version": "2.64.0",
|
||||
"resolved": "https://registry.npmjs.org/rollup/-/rollup-2.64.0.tgz",
|
||||
"integrity": "sha512-+c+lbw1lexBKSMb1yxGDVfJ+vchJH3qLbmavR+awDinTDA2C5Ug9u7lkOzj62SCu0PKUExsW36tpgW7Fmpn3yQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"fsevents": "~2.3.2"
|
||||
@@ -4179,9 +4181,9 @@
|
||||
}
|
||||
},
|
||||
"sade": {
|
||||
"version": "1.8.0",
|
||||
"resolved": "https://registry.npmjs.org/sade/-/sade-1.8.0.tgz",
|
||||
"integrity": "sha512-NRfCA8AVYuAA7Hu8bs18od6J4BdcXXwOv6OJuNgwbw8LcLK8JKwaM3WckLZ+MGyPJUS/ivVgK3twltrOIJJnug==",
|
||||
"version": "1.8.1",
|
||||
"resolved": "https://registry.npmjs.org/sade/-/sade-1.8.1.tgz",
|
||||
"integrity": "sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==",
|
||||
"requires": {
|
||||
"mri": "^1.1.0"
|
||||
}
|
||||
@@ -4212,12 +4214,12 @@
|
||||
"dev": true
|
||||
},
|
||||
"string-width": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-5.0.1.tgz",
|
||||
"integrity": "sha512-5ohWO/M4//8lErlUUtrFy3b11GtNOuMOU0ysKCDXFcfXuuvUXu95akgj/i8ofmaGdN0hCqyl6uu9i8dS/mQp5g==",
|
||||
"version": "5.1.0",
|
||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.0.tgz",
|
||||
"integrity": "sha512-7x54QnN21P+XL/v8SuNKvfgsUre6PXpN7mc77N3HlZv+f1SBRGmjxtOud2Z6FZ8DmdkD/IdjCaf9XXbnqmTZGQ==",
|
||||
"requires": {
|
||||
"eastasianwidth": "^0.2.0",
|
||||
"emoji-regex": "^9.2.2",
|
||||
"is-fullwidth-code-point": "^4.0.0",
|
||||
"strip-ansi": "^7.0.1"
|
||||
}
|
||||
},
|
||||
@@ -4234,20 +4236,21 @@
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-9.2.1.tgz",
|
||||
"integrity": "sha512-Obv7ycoCTG51N7y175StI9BlAXrmgZrFhZOb0/PyjHBher/NmsdBgbbQ1Inhq+gIhz6+7Gb+jWF2Vqi7Mf1xnQ=="
|
||||
},
|
||||
"supports-preserve-symlinks-flag": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
|
||||
"integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
|
||||
"dev": true
|
||||
},
|
||||
"to-vfile": {
|
||||
"version": "7.2.2",
|
||||
"resolved": "https://registry.npmjs.org/to-vfile/-/to-vfile-7.2.2.tgz",
|
||||
"integrity": "sha512-7WL+coet3qyaYb5vrVrfLtOUHgNv9E1D5SIsyVKmHKcgZefy77WMQRk7FByqGKNInoHOlY6xkTGymo29AwjUKg==",
|
||||
"version": "7.2.3",
|
||||
"resolved": "https://registry.npmjs.org/to-vfile/-/to-vfile-7.2.3.tgz",
|
||||
"integrity": "sha512-QO0A9aE6Z/YkmQadJ0syxpmNXtcQiu0qAtCKYKD5cS3EfgfFTAXfgLX6AOaBrSfWSek5nfsMf3gBZ9KGVFcLuw==",
|
||||
"requires": {
|
||||
"is-buffer": "^2.0.0",
|
||||
"vfile": "^5.1.0"
|
||||
}
|
||||
},
|
||||
"totalist": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/totalist/-/totalist-2.0.0.tgz",
|
||||
"integrity": "sha512-+Y17F0YzxfACxTyjfhnJQEe7afPA0GSpYlFkl2VFMxYP7jshQf9gXV7cH47EfToBumFThfKBvfAcoUn6fdNeRQ=="
|
||||
},
|
||||
"trough": {
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/trough/-/trough-2.0.2.tgz",
|
||||
@@ -4357,21 +4360,20 @@
|
||||
}
|
||||
},
|
||||
"uvu": {
|
||||
"version": "0.5.2",
|
||||
"resolved": "https://registry.npmjs.org/uvu/-/uvu-0.5.2.tgz",
|
||||
"integrity": "sha512-m2hLe7I2eROhh+tm3WE5cTo/Cv3WQA7Oc9f7JB6uWv+/zVKvfAm53bMyOoGOSZeQ7Ov2Fu9pLhFr7p07bnT20w==",
|
||||
"version": "0.5.3",
|
||||
"resolved": "https://registry.npmjs.org/uvu/-/uvu-0.5.3.tgz",
|
||||
"integrity": "sha512-brFwqA3FXzilmtnIyJ+CxdkInkY/i4ErvP7uV0DnUVxQcQ55reuHphorpF+tZoVHK2MniZ/VJzI7zJQoc9T9Yw==",
|
||||
"requires": {
|
||||
"dequal": "^2.0.0",
|
||||
"diff": "^5.0.0",
|
||||
"kleur": "^4.0.3",
|
||||
"sade": "^1.7.3",
|
||||
"totalist": "^2.0.0"
|
||||
"sade": "^1.7.3"
|
||||
}
|
||||
},
|
||||
"vfile": {
|
||||
"version": "5.2.1",
|
||||
"resolved": "https://registry.npmjs.org/vfile/-/vfile-5.2.1.tgz",
|
||||
"integrity": "sha512-vXW5XKbELM6mLj88kmkJ+gjFGZ/2gTmpdqPDjs3y+qbvI5i7md7rba/+pbYEawa7t22W7ynywPV6lUUAS1WiYg==",
|
||||
"version": "5.3.0",
|
||||
"resolved": "https://registry.npmjs.org/vfile/-/vfile-5.3.0.tgz",
|
||||
"integrity": "sha512-Tj44nY/48OQvarrE4FAjUfrv7GZOYzPbl5OD65HxVKwLJKMPU7zmfV8cCgCnzKWnSfYG2f3pxu+ALqs7j22xQQ==",
|
||||
"requires": {
|
||||
"@types/unist": "^2.0.0",
|
||||
"is-buffer": "^2.0.0",
|
||||
|
||||
@@ -9,14 +9,14 @@
|
||||
"remark-parse": "^10.0.1",
|
||||
"remark-preset-lint-node": "^3.3.0",
|
||||
"remark-stringify": "^10.0.2",
|
||||
"to-vfile": "^7.2.2",
|
||||
"to-vfile": "^7.2.3",
|
||||
"unified": "^10.1.1",
|
||||
"vfile-reporter": "^7.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-commonjs": "^21.0.1",
|
||||
"@rollup/plugin-node-resolve": "^13.1.2",
|
||||
"rollup": "^2.62.0",
|
||||
"@rollup/plugin-node-resolve": "^13.1.3",
|
||||
"rollup": "^2.64.0",
|
||||
"rollup-plugin-cleanup": "^3.2.1"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user