Closed massongit closed 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
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