textlint-rule / textlint-rule-no-unmatched-pair

textlint rule that check unmatched pairs like "(" and "]"
MIT License
7 stars 3 forks source link

Update textlint-scripts and textlint-tester #5

Closed massongit closed 3 years ago

massongit commented 3 years ago

Update textlint-scripts and textlint-tester to fix CVE-2020-7753. Following https://github.com/textlint-ja/textlint-rule-no-insert-dropping-sa/pull/8, textlint-tester is moved to devDependencies.

Related issues: textlint/textlint#717, textlint/textlint#790

azu commented 3 years ago

TypeError: TextLintTester is not a constructor

Need to change require to import in test code.

https://github.com/textlint-rule/textlint-rule-no-unmatched-pair/blob/1a030f2eae0941dea534b77fe0ecb8a9dde9e098/test/textlint-rule-no-unmatched-pair-test.js#L3 https://textlint.github.io/blog/2021/05/24/textlint-12.html

azu commented 3 years ago

Release https://github.com/textlint-rule/textlint-rule-no-unmatched-pair/releases/tag/v1.0.8