diff --git a/package.json b/package.json index 81b74c6..1932d3b 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "textlint-rule-ja-nakaguro-or-halfwidth-space-between-katakana": "^2.0.2", "textlint-rule-ja-no-abusage": "^2.0.1", "textlint-rule-ja-no-mixed-period": "^2.1.1", - "textlint-rule-ja-no-redundant-expression": "^3.0.2", + "textlint-rule-ja-no-redundant-expression": "^4.0.0", "textlint-rule-ja-no-space-around-parentheses": "^2.0.2", "textlint-rule-ja-no-space-between-full-width": "^2.0.2", "textlint-rule-ja-space-after-exclamation": "^2.0.2", diff --git a/yarn.lock b/yarn.lock index a9f25c8..e3790a6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3032,6 +3032,15 @@ kuromoji@0.1.1: doublearray "0.0.2" zlibjs "^0.2.0" +kuromoji@0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/kuromoji/-/kuromoji-0.1.2.tgz#293f0d6706df006112137980588d5daac26d0790" + integrity sha512-V0dUf+C2LpcPEXhoHLMAop/bOht16Dyr+mDiIE39yX3vqau7p80De/koFqpiTcL1zzdZlc3xuHZ8u5gjYRfFaQ== + dependencies: + async "^2.0.1" + doublearray "0.0.2" + zlibjs "^0.3.1" + kuromojin@^1.3.2: version "1.5.1" resolved "https://registry.yarnpkg.com/kuromojin/-/kuromojin-1.5.1.tgz#f5c4cc2d4a8b56343c7281f7def8d56309184078" @@ -3046,6 +3055,14 @@ kuromojin@^2.0.0, kuromojin@^2.1.1: dependencies: kuromoji "0.1.1" +kuromojin@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/kuromojin/-/kuromojin-3.0.0.tgz#54a1a6643110f49f741c4beb82fef400d1cd498b" + integrity sha512-3h3qnn/NVVhqoKFP4oc7e6apO2B01Atc056oiVlIY7Uoup4rhrnBe28g3y9lK1HTmLDQEejvXB+3I3qxAneF7A== + dependencies: + kuromoji "0.1.2" + lru_map "^0.4.1" + levn@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" @@ -3169,6 +3186,11 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" +lru_map@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/lru_map/-/lru_map-0.4.1.tgz#f7b4046283c79fb7370c36f8fca6aee4324b0a98" + integrity sha512-I+lBvqMMFfqaV8CJCISjI3wbjmwVu/VyOoU7+qtu9d7ioW5klMgsTTiUOUp+DJvfTTzKXoPbyC6YfgkNcyPSOg== + make-dir@^2.0.0, make-dir@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" @@ -4732,13 +4754,13 @@ textlint-rule-ja-no-mixed-period@^2.1.1: check-ends-with-period "^1.0.1" textlint-rule-helper "^2.0.0" -textlint-rule-ja-no-redundant-expression@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/textlint-rule-ja-no-redundant-expression/-/textlint-rule-ja-no-redundant-expression-3.0.2.tgz#2a280a3c3d617aa7a00f6fe4a01c7e88e7cb2fc7" - integrity sha512-fs5zqSY7qcCd/x7ow0Ymdq2PiQGfGI4sANIBmKbTFTPuHdmflaecFbBp2yYrVnDroj+PDq0trTHLr5iZr5xAWQ== +textlint-rule-ja-no-redundant-expression@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/textlint-rule-ja-no-redundant-expression/-/textlint-rule-ja-no-redundant-expression-4.0.0.tgz#5385a58424dc4b8ec48edc0f5eb0864c9f2bcf4d" + integrity sha512-Wb6g/uwd7fL3v+BCvOMuiQONdL1JSvrDVnM4k5X7guQQggmA8R0lWCFZZuMUO5Mb0VuDX9bYptJL5AblzR1YVg== dependencies: "@textlint/regexp-string-matcher" "^1.1.0" - kuromojin "^2.0.0" + kuromojin "^3.0.0" morpheme-match "^2.0.4" morpheme-match-all "^2.0.5" textlint-rule-helper "^2.1.1" @@ -5544,3 +5566,8 @@ zlibjs@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/zlibjs/-/zlibjs-0.2.0.tgz#ae20f06243293d85c255563189f9b12f5b3ba1a0" integrity sha1-riDwYkMpPYXCVVYxifmxL1s7oaA= + +zlibjs@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/zlibjs/-/zlibjs-0.3.1.tgz#50197edb28a1c42ca659cc8b4e6a9ddd6d444554" + integrity sha1-UBl+2yihxCymWcyLTmqd3W1ERVQ=