morpheme-match-all
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [2.0.1](https://github.com/azu/morpheme-match-all/compare/v2.0.0...v2.0.1) (2019-07-07) | ||
### Bug Fixes | ||
* **textlint:** fix typing ([ef7c371](https://github.com/azu/morpheme-match-all/commit/ef7c371)) | ||
# 2.0.0 (2019-06-14) | ||
@@ -8,0 +19,0 @@ |
@@ -14,2 +14,2 @@ import { ExpectedDictionary } from "./Expector"; | ||
*/ | ||
export declare function createMatcher<T extends ExpectedToken>(dictionaries: ExpectedDictionaries<T>): (actualTokens: Token[]) => MatchResult<T>[]; | ||
export declare function createMatcher<T extends ExpectedToken>(dictionaries: ExpectedDictionaries<T & ExpectedToken>): (actualTokens: Token[]) => MatchResult<T>[]; |
{ | ||
"name": "morpheme-match-all", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "A wrapper of morpheme-match API. Match all kuromoji's tokens.", | ||
@@ -52,3 +52,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "3c3aa522a214e319eac7bfd7817dbd23b7a56cb0" | ||
"gitHead": "3db2244de74b77cdfdd14dded7b2822a2cd6d141" | ||
} |
@@ -18,3 +18,3 @@ // MIT © 2016 azu | ||
*/ | ||
export function createMatcher<T extends ExpectedToken>(dictionaries: ExpectedDictionaries<T>) { | ||
export function createMatcher<T extends ExpectedToken>(dictionaries: ExpectedDictionaries<T & ExpectedToken>) { | ||
const expectors = dictionaries.map(dict => { | ||
@@ -21,0 +21,0 @@ return new Expector(dict); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
17311
0