Skip to content

Commit c6525e4

Browse files
authored
fix: update [email protected] (#39)
* fix: update [email protected] * chore: add comment
1 parent 695ace3 commit c6525e4

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
"dependencies": {
3636
"@textlint/regexp-string-matcher": "^1.1.0",
37-
"sentence-splitter": "^3.2.1",
37+
"sentence-splitter": "^3.2.3",
3838
"textlint-rule-helper": "^2.1.1",
3939
"textlint-util-to-string": "^3.1.1"
4040
},

test/sentence-length-test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ tester.run("textlint-rule-sentence-length", rule, {
102102
"ではみなさんは、そういうふうに川だと云いわれたり、乳の流れたあとだと云われたりしていたこのぼんやりと白いものがほんとうは何かご承知ですか。\n" +
103103
"\n" +
104104
'ではみなさんは、そういうふうに川だと云いわれたり、乳の流れたあとだと云われたりしていたこの<a href="https://www.aozora.gr.jp/cards/000081/files/456_15050.html" target="_blank" rel="noopener noreferrer">ぼんやりと白いもの</a>がほんとうは何かご承知ですか。\n'
105+
},
106+
{
107+
// Issue: https://github.com/textlint-rule/textlint-rule-sentence-length/issues/38
108+
text: `JavaScriptをWasmにして実行する仕組みについて。
109+
QuickJSを使いJavaScriptをByteCodeにしたxxxxを作成し、\`QuickJS.wasm\`と動的にリンクして大部分を共有している。
110+
Shopify Functionで利用されるが、非同期処理の制限や5ms未満での実行制限がある。`
105111
}
106112
],
107113
invalid: [

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4010,10 +4010,10 @@ sentence-case@^1.1.2:
40104010
dependencies:
40114011
lower-case "^1.1.1"
40124012

4013-
sentence-splitter@^3.2.1:
4014-
version "3.2.1"
4015-
resolved "https://registry.yarnpkg.com/sentence-splitter/-/sentence-splitter-3.2.1.tgz#d6f5b66f4ab130f511d50e41e6f42070e2936ffb"
4016-
integrity sha512-aG+Tf8M1wVUd2uPSUtdMXdJlKZLcdh+oVE8iEn8KwfxYZ87qDpe7+o0nGZdr+96g2H76Qz/8TrG9dIxyp7c70w==
4013+
sentence-splitter@^3.2.3:
4014+
version "3.2.3"
4015+
resolved "https://registry.yarnpkg.com/sentence-splitter/-/sentence-splitter-3.2.3.tgz#7f92e3fe5500fb71196b97505f9a6d869659e583"
4016+
integrity sha512-eDqaz4MasTn6Mp3dagKzIbiNsJpgpueMEQqCJeN9F9XQRFLDGFJ0kX8R3uMp+mU7J58dWjr4q6eks/nUX/vnJQ==
40174017
dependencies:
40184018
"@textlint/ast-node-types" "^4.4.2"
40194019
concat-stream "^2.0.0"

0 commit comments

Comments
 (0)