Skip to content

Commit b83a245

Browse files
committed
fix
1 parent b16ad42 commit b83a245

File tree

5 files changed

+194
-14
lines changed

5 files changed

+194
-14
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
tmp
12
### https://raw.github.com/github/gitignore/d2c1bb2b9c72ead618c9f6a48280ebc7a8e0dff6/Node.gitignore
23

34
# Logs

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
"access": "public"
5959
},
6060
"dependencies": {
61-
"kuromojin": "^3.0.0"
61+
"kuromojin": "^3.0.0",
62+
"textlint-util-to-string": "^3.1.1"
6263
}
6364
}

src/textlint-rule-no-filler.ts

Lines changed: 43 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,55 @@
1-
import { TextlintRuleReporter } from "@textlint/types";
1+
import type { TxtParentNode, TxtTextNode } from "@textlint/ast-node-types";
2+
import type { TextlintRuleReporter } from "@textlint/types";
3+
import { StringSource } from "textlint-util-to-string";
24
import { tokenize } from "kuromojin";
35

46
export type Options = {};
7+
/**
8+
* アルゴリズム
9+
*
10+
* - Paragraphから文を抽出する
11+
* - Str nodeだけを見ると`A`と`B` のようなCodeに囲まれたものが、「と」となりフィラーと誤検知される
12+
* - そのため、Paragraphから装飾を取り除き、Codeはマスクした文章を作成する
13+
*/
14+
const maskCodeNode = (codeNode: TxtTextNode) => {
15+
return {
16+
...codeNode,
17+
value: codeNode.value.replace(/./g, "X")
18+
};
19+
};
20+
const sourceWithoutStyle = (node: TxtParentNode) => {
21+
const nodeMaskedCode = {
22+
...node,
23+
children: node.children.map((childNode) => {
24+
if (childNode.type === "Code") {
25+
return maskCodeNode(childNode as TxtTextNode);
26+
}
27+
return childNode;
28+
})
29+
};
30+
return new StringSource(nodeMaskedCode);
31+
};
32+
533
const report: TextlintRuleReporter<Options> = (context) => {
6-
const { Syntax, getSource, RuleError, report } = context;
34+
const { Syntax, RuleError, report } = context;
735
return {
8-
async [Syntax.Str](node) {
9-
const text = getSource(node);
10-
const tokens = await tokenize(text);
36+
async [Syntax.Paragraph](node) {
37+
const source = sourceWithoutStyle(node);
38+
const tokens = await tokenize(source.toString());
1139
tokens.forEach((token) => {
1240
if (token.pos === "フィラー") {
41+
const index = token.word_position - 1;
42+
const originalIndex = source.originalIndexFromIndex(index);
1343
report(
1444
node,
15-
new RuleError(`フィラーである「${token.surface_form}」を検知しました`, {
16-
index: token.word_position - 1
17-
})
45+
new RuleError(
46+
`フィラー(繋ぎ表現)である「${token.surface_form}」を検知しました。
47+
48+
「えーと」「あの」「まあ」などの繋ぎ表現は話し言葉(口語)であるため、文章を読みにくくします。`,
49+
{
50+
index: originalIndex
51+
}
52+
)
1853
);
1954
}
2055
});

test/textlint-rule-no-filler.test.ts

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,19 @@ import TextLintTester from "textlint-tester";
22
import rule from "../src/textlint-rule-no-filler";
33

44
const tester = new TextLintTester();
5+
const errorMessage = (word: string) => {
6+
return `フィラー(繋ぎ表現)である「${word}」を検知しました。
7+
8+
「えーと」「あの」「まあ」などの繋ぎ表現は話し言葉(口語)であるため、文章を読みにくくします。`;
9+
};
510
tester.run("textlint-rule-no-filler", rule, {
611
valid: ["これは問題ない文章です。"],
712
invalid: [
813
{
914
text: "えーと、フィラーについてですね。",
1015
errors: [
1116
{
12-
message: "フィラーである「えーと」を検知しました",
17+
message: errorMessage("えーと"),
1318
index: 0
1419
}
1520
]
@@ -18,7 +23,7 @@ tester.run("textlint-rule-no-filler", rule, {
1823
text: "あのー、この問題について教えれくれますか?",
1924
errors: [
2025
{
21-
message: "フィラーである「あのー」を検知しました",
26+
message: errorMessage("あのー"),
2227
index: 0
2328
}
2429
]
@@ -27,10 +32,19 @@ tester.run("textlint-rule-no-filler", rule, {
2732
text: "Vueのステート管理ライブラリでああるVuexについての文章。",
2833
errors: [
2934
{
30-
message: "フィラーである「あ」を検知しました",
35+
message: errorMessage("あ"),
3136
index: 16
3237
}
3338
]
39+
},
40+
{
41+
text: "なんか出た…。",
42+
errors: [
43+
{
44+
message: errorMessage("なんか"),
45+
index: 0
46+
}
47+
]
3448
}
3549
]
3650
});

yarn.lock

Lines changed: 131 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@
948948
readdirp "^2.2.1"
949949
upath "^1.1.1"
950950

951-
"@textlint/ast-node-types@^4.4.3":
951+
"@textlint/ast-node-types@^4.2.4", "@textlint/ast-node-types@^4.4.3":
952952
version "4.4.3"
953953
resolved "https://registry.yarnpkg.com/@textlint/ast-node-types/-/ast-node-types-4.4.3.tgz#fdba16e8126cddc50f45433ce7f6c55e7829566c"
954954
integrity sha512-qi2jjgO6Tn3KNPGnm6B7p6QTEPvY95NFsIAaJuwbulur8iJUEenp1OnoUfiDaC/g2WPPEFkcfXpmnu8XEMFo2A==
@@ -1099,6 +1099,16 @@
10991099
resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0"
11001100
integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==
11011101

1102+
"@types/structured-source@^3.0.0":
1103+
version "3.0.0"
1104+
resolved "https://registry.yarnpkg.com/@types/structured-source/-/structured-source-3.0.0.tgz#e95d76037d400c1957f3b709f023b308e92f3829"
1105+
integrity sha512-8u+Wo5+GEXe4jZyQ8TplLp+1A7g32ZcVoE7VZu8VcxnlaEm5I/+T579R7q3qKN76jmK0lRshpo4hl4bj/kEPKA==
1106+
1107+
"@types/unist@^2.0.0", "@types/unist@^2.0.2":
1108+
version "2.0.3"
1109+
resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.3.tgz#9c088679876f374eb5983f150d4787aa6fb32d7e"
1110+
integrity sha512-FvUupuM3rlRsRtCN+fDudtmytGO6iHJuuRKS1Ss0pG5z8oX0diNEw94UEL7hgDbpN94rgaK5R7sWm6RrSkZuAQ==
1111+
11021112
aggregate-error@^3.0.0:
11031113
version "3.1.0"
11041114
resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a"
@@ -1446,6 +1456,11 @@ caniuse-lite@^1.0.30001219:
14461456
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001228.tgz#bfdc5942cd3326fa51ee0b42fbef4da9d492a7fa"
14471457
integrity sha512-QQmLOGJ3DEgokHbMSA8cj2a+geXqmnpyOFT0lhQV6P3/YOJvGDEwoedcwxEQ30gJIwIIunHIicunJ2rzK5gB2A==
14481458

1459+
ccount@^1.0.3:
1460+
version "1.1.0"
1461+
resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.1.0.tgz#246687debb6014735131be8abab2d93898f8d043"
1462+
integrity sha512-vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg==
1463+
14491464
chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3:
14501465
version "1.1.3"
14511466
resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98"
@@ -1609,6 +1624,11 @@ colorette@^1.2.2:
16091624
resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.2.tgz#cbcc79d5e99caea2dbf10eb3a26fd8b3e6acfa94"
16101625
integrity sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==
16111626

1627+
comma-separated-tokens@^1.0.0:
1628+
version "1.0.8"
1629+
resolved "https://registry.yarnpkg.com/comma-separated-tokens/-/comma-separated-tokens-1.0.8.tgz#632b80b6117867a158f1080ad498b2fbe7e3f5ea"
1630+
integrity sha512-GHuDRO12Sypu2cV70d1dkA2EUmXHgntrzbpvOB+Qy+49ypNfGgFQIC2fhhXbnyrJRynDCAARsT7Ou0M6hirpfw==
1631+
16121632
commander@^4.0.1:
16131633
version "4.1.1"
16141634
resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068"
@@ -2255,6 +2275,32 @@ has@^1.0.3:
22552275
dependencies:
22562276
function-bind "^1.1.1"
22572277

2278+
hast-util-from-parse5@^5.0.0:
2279+
version "5.0.3"
2280+
resolved "https://registry.yarnpkg.com/hast-util-from-parse5/-/hast-util-from-parse5-5.0.3.tgz#3089dc0ee2ccf6ec8bc416919b51a54a589e097c"
2281+
integrity sha512-gOc8UB99F6eWVWFtM9jUikjN7QkWxB3nY0df5Z0Zq1/Nkwl5V4hAAsl0tmwlgWl/1shlTF8DnNYLO8X6wRV9pA==
2282+
dependencies:
2283+
ccount "^1.0.3"
2284+
hastscript "^5.0.0"
2285+
property-information "^5.0.0"
2286+
web-namespaces "^1.1.2"
2287+
xtend "^4.0.1"
2288+
2289+
hast-util-parse-selector@^2.0.0:
2290+
version "2.2.5"
2291+
resolved "https://registry.yarnpkg.com/hast-util-parse-selector/-/hast-util-parse-selector-2.2.5.tgz#d57c23f4da16ae3c63b3b6ca4616683313499c3a"
2292+
integrity sha512-7j6mrk/qqkSehsM92wQjdIgWM2/BW61u/53G6xmC8i1OmEdKLHbk419QKQUjz6LglWsfqoiHmyMRkP1BGjecNQ==
2293+
2294+
hastscript@^5.0.0:
2295+
version "5.1.2"
2296+
resolved "https://registry.yarnpkg.com/hastscript/-/hastscript-5.1.2.tgz#bde2c2e56d04c62dd24e8c5df288d050a355fb8a"
2297+
integrity sha512-WlztFuK+Lrvi3EggsqOkQ52rKbxkXL3RwB6t5lwoa8QLMemoWfBuL43eDrwOamJyR7uKQKdmKYaBH1NZBiIRrQ==
2298+
dependencies:
2299+
comma-separated-tokens "^1.0.0"
2300+
hast-util-parse-selector "^2.0.0"
2301+
property-information "^5.0.0"
2302+
space-separated-tokens "^1.0.0"
2303+
22582304
22592305
version "1.2.0"
22602306
resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f"
@@ -2373,7 +2419,7 @@ is-buffer@^1.1.4, is-buffer@^1.1.5, is-buffer@~1.1.6:
23732419
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be"
23742420
integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==
23752421

2376-
is-buffer@~2.0.3:
2422+
is-buffer@^2.0.0, is-buffer@~2.0.3:
23772423
version "2.0.5"
23782424
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.5.tgz#ebc252e400d22ff8d77fa09888821a24a658c191"
23792425
integrity sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==
@@ -2527,6 +2573,11 @@ is-plain-obj@^1.1.0:
25272573
resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e"
25282574
integrity sha1-caUMhCnfync8kqOQpKA7OfzVHT4=
25292575

2576+
is-plain-obj@^2.0.0:
2577+
version "2.1.0"
2578+
resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287"
2579+
integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==
2580+
25302581
is-plain-object@^2.0.3, is-plain-object@^2.0.4:
25312582
version "2.0.4"
25322583
resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677"
@@ -3302,6 +3353,11 @@ parse-json@^5.0.0:
33023353
json-parse-even-better-errors "^2.3.0"
33033354
lines-and-columns "^1.1.6"
33043355

3356+
parse5@^5.0.0:
3357+
version "5.1.1"
3358+
resolved "https://registry.yarnpkg.com/parse5/-/parse5-5.1.1.tgz#f68e4e5ba1852ac2cadc00f4555fff6c2abb6178"
3359+
integrity sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==
3360+
33053361
pascalcase@^0.1.1:
33063362
version "0.1.1"
33073363
resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14"
@@ -3455,6 +3511,13 @@ process-nextick-args@~2.0.0:
34553511
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2"
34563512
integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==
34573513

3514+
property-information@^5.0.0:
3515+
version "5.6.0"
3516+
resolved "https://registry.yarnpkg.com/property-information/-/property-information-5.6.0.tgz#61675545fb23002f245c6540ec46077d4da3ed69"
3517+
integrity sha512-YUHSPk+A30YPv+0Qf8i9Mbfe/C0hdPXk1s1jPVToV8pk8BQtpw10ct89Eo7OWkutrwqvT0eicAxlOg3dOAu8JA==
3518+
dependencies:
3519+
xtend "^4.0.0"
3520+
34583521
rc-config-loader@^3.0.0:
34593522
version "3.0.0"
34603523
resolved "https://registry.yarnpkg.com/rc-config-loader/-/rc-config-loader-3.0.0.tgz#1484ed55d6fb8b21057699c8426370f7529c52a7"
@@ -3600,6 +3663,15 @@ regjsparser@^0.6.4:
36003663
dependencies:
36013664
jsesc "~0.5.0"
36023665

3666+
rehype-parse@^6.0.1:
3667+
version "6.0.2"
3668+
resolved "https://registry.yarnpkg.com/rehype-parse/-/rehype-parse-6.0.2.tgz#aeb3fdd68085f9f796f1d3137ae2b85a98406964"
3669+
integrity sha512-0S3CpvpTAgGmnz8kiCyFLGuW5yA4OQhyNTm/nwPopZ7+PI11WnGl1TTWTGv/2hPEe/g2jRLlhVVSsoDH8waRug==
3670+
dependencies:
3671+
hast-util-from-parse5 "^5.0.0"
3672+
parse5 "^5.0.0"
3673+
xtend "^4.0.0"
3674+
36033675
remark-frontmatter@^1.3.3:
36043676
version "1.3.3"
36053677
resolved "https://registry.yarnpkg.com/remark-frontmatter/-/remark-frontmatter-1.3.3.tgz#67ec63c89da5a84bb793ecec166e11b4eb47af10"
@@ -3884,6 +3956,11 @@ source-map@^0.6.0:
38843956
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
38853957
integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
38863958

3959+
space-separated-tokens@^1.0.0:
3960+
version "1.1.5"
3961+
resolved "https://registry.yarnpkg.com/space-separated-tokens/-/space-separated-tokens-1.1.5.tgz#85f32c3d10d9682007e917414ddc5c26d1aa6899"
3962+
integrity sha512-q/JSVd1Lptzhf5bkYm4ob4iWPjx0KiRe3sRFBNrVqbJkFaBm5vbbowy1mymoPNLRa52+oadOhJ+K49wsSeSjTA==
3963+
38873964
spdx-correct@^3.0.0:
38883965
version "3.1.1"
38893966
resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.1.tgz#dece81ac9c1e6713e5f7d1b6f17d468fa53d89a9"
@@ -4140,6 +4217,17 @@ textlint-tester@^5.1.10, textlint-tester@^5.3.5:
41404217
"@textlint/kernel" "^3.4.5"
41414218
textlint "^11.9.1"
41424219

4220+
textlint-util-to-string@^3.1.1:
4221+
version "3.1.1"
4222+
resolved "https://registry.yarnpkg.com/textlint-util-to-string/-/textlint-util-to-string-3.1.1.tgz#666c8b0f2e00a92b29c8b168b453a9b8aeb48381"
4223+
integrity sha512-mHE7/pDw/Hk+Q6YdSMNRrZPl5bCuWnFLbF+bxW+MsWQ64dw+Ia9irkammYbH5I0hVMMcfwb0MQc5nbsjqgWeyQ==
4224+
dependencies:
4225+
"@textlint/ast-node-types" "^4.2.4"
4226+
"@types/structured-source" "^3.0.0"
4227+
rehype-parse "^6.0.1"
4228+
structured-source "^3.0.2"
4229+
unified "^8.4.0"
4230+
41434231
textlint@^11.9.1:
41444232
version "11.9.1"
41454233
resolved "https://registry.yarnpkg.com/textlint/-/textlint-11.9.1.tgz#13f31aa50a5121eb76adced69dcadc1e007d7c9a"
@@ -4339,6 +4427,17 @@ unified@^6.2.0:
43394427
vfile "^2.0.0"
43404428
x-is-string "^0.1.0"
43414429

4430+
unified@^8.4.0:
4431+
version "8.4.2"
4432+
resolved "https://registry.yarnpkg.com/unified/-/unified-8.4.2.tgz#13ad58b4a437faa2751a4a4c6a16f680c500fff1"
4433+
integrity sha512-JCrmN13jI4+h9UAyKEoGcDZV+i1E7BLFuG7OsaDvTXI5P0qhHX+vZO/kOhz9jn8HGENDKbwSeB0nVOg4gVStGA==
4434+
dependencies:
4435+
bail "^1.0.0"
4436+
extend "^3.0.0"
4437+
is-plain-obj "^2.0.0"
4438+
trough "^1.0.0"
4439+
vfile "^4.0.0"
4440+
43424441
union-value@^1.0.0:
43434442
version "1.0.1"
43444443
resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847"
@@ -4371,6 +4470,13 @@ unist-util-stringify-position@^1.0.0, unist-util-stringify-position@^1.1.1:
43714470
resolved "https://registry.yarnpkg.com/unist-util-stringify-position/-/unist-util-stringify-position-1.1.2.tgz#3f37fcf351279dcbca7480ab5889bb8a832ee1c6"
43724471
integrity sha512-pNCVrk64LZv1kElr0N1wPiHEUoXNVFERp+mlTg/s9R5Lwg87f9bM/3sQB99w+N9D/qnM9ar3+AKDBwo/gm/iQQ==
43734472

4473+
unist-util-stringify-position@^2.0.0:
4474+
version "2.0.3"
4475+
resolved "https://registry.yarnpkg.com/unist-util-stringify-position/-/unist-util-stringify-position-2.0.3.tgz#cce3bfa1cdf85ba7375d1d5b17bdc4cada9bd9da"
4476+
integrity sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==
4477+
dependencies:
4478+
"@types/unist" "^2.0.2"
4479+
43744480
unist-util-visit-parents@^2.0.0:
43754481
version "2.1.2"
43764482
resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-2.1.2.tgz#25e43e55312166f3348cae6743588781d112c1e9"
@@ -4433,6 +4539,14 @@ vfile-message@^1.0.0:
44334539
dependencies:
44344540
unist-util-stringify-position "^1.1.1"
44354541

4542+
vfile-message@^2.0.0:
4543+
version "2.0.4"
4544+
resolved "https://registry.yarnpkg.com/vfile-message/-/vfile-message-2.0.4.tgz#5b43b88171d409eae58477d13f23dd41d52c371a"
4545+
integrity sha512-DjssxRGkMvifUOJre00juHoP9DPWuzjxKuMDrhNbk2TdaYYBNMStsNhEOt3idrtI12VQYM/1+iM0KOzXi4pxwQ==
4546+
dependencies:
4547+
"@types/unist" "^2.0.0"
4548+
unist-util-stringify-position "^2.0.0"
4549+
44364550
vfile@^2.0.0:
44374551
version "2.3.0"
44384552
resolved "https://registry.yarnpkg.com/vfile/-/vfile-2.3.0.tgz#e62d8e72b20e83c324bc6c67278ee272488bf84a"
@@ -4443,6 +4557,21 @@ vfile@^2.0.0:
44434557
unist-util-stringify-position "^1.0.0"
44444558
vfile-message "^1.0.0"
44454559

4560+
vfile@^4.0.0:
4561+
version "4.2.1"
4562+
resolved "https://registry.yarnpkg.com/vfile/-/vfile-4.2.1.tgz#03f1dce28fc625c625bc6514350fbdb00fa9e624"
4563+
integrity sha512-O6AE4OskCG5S1emQ/4gl8zK586RqA3srz3nfK/Viy0UPToBc5Trp9BVFb1u0CjsKrAWwnpr4ifM/KBXPWwJbCA==
4564+
dependencies:
4565+
"@types/unist" "^2.0.0"
4566+
is-buffer "^2.0.0"
4567+
unist-util-stringify-position "^2.0.0"
4568+
vfile-message "^2.0.0"
4569+
4570+
web-namespaces@^1.1.2:
4571+
version "1.1.4"
4572+
resolved "https://registry.yarnpkg.com/web-namespaces/-/web-namespaces-1.1.4.tgz#bc98a3de60dadd7faefc403d1076d529f5e030ec"
4573+
integrity sha512-wYxSGajtmoP4WxfejAPIr4l0fVh+jeMXZb08wNc0tMg6xsfZXj3cECqIK0G7ZAqUq0PP8WlMDtaOGVBTAWztNw==
4574+
44464575
which-boxed-primitive@^1.0.2:
44474576
version "1.0.2"
44484577
resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6"

0 commit comments

Comments
 (0)