Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

morpheme-match-all

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

morpheme-match-all - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

11

CHANGELOG.md

@@ -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 @@

2

lib/morpheme-match-all.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc