aho-corasick2
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -6,2 +6,12 @@ # Change Log | ||
## [1.0.4](https://github.com/bluelovers/ws-trie/compare/aho-corasick2@1.0.3...aho-corasick2@1.0.4) (2022-11-12) | ||
### 🛠 Build System | ||
* update build ([e15ea13](https://github.com/bluelovers/ws-trie/commit/e15ea13308387969d0f4755af5c9273596a1d123)) | ||
## 1.0.3 (2020-06-16) | ||
@@ -8,0 +18,0 @@ |
{ | ||
"name": "aho-corasick2", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Aho–Corasick string matching algorithm", | ||
@@ -38,3 +38,4 @@ "keywords": [ | ||
"type": "git", | ||
"url": "git+https://github.com/bluelovers/ws-trie.git" | ||
"url": "git+https://github.com/bluelovers/ws-trie.git", | ||
"directory": "packages/aho-corasick2" | ||
}, | ||
@@ -48,10 +49,13 @@ "license": "ISC", | ||
"scripts": { | ||
"test": "jest", | ||
"prepublishOnly": "yarn run test", | ||
"prepublishOnly:check-bin": "ynpx --quiet @yarn-tool/check-pkg-bin", | ||
"prepublishOnly:update": "yarn run ncu && yarn run sort-package-json", | ||
"ncu": "ynpx --quiet yarn-tool -- ncu -u", | ||
"sort-package-json": "yarn-tool sort" | ||
"coverage": "yarn run test -- --coverage", | ||
"test": "yarn run test:jest", | ||
"test:jest": "jest --passWithNoTests", | ||
"test:jest:coverage": "yarn run test:jest -- --coverage", | ||
"test:jest:snapshot": "yarn run test:jest -- -u", | ||
"test:snapshot": "yarn run test -- -u", | ||
"test:tsd": "ynpx tsd", | ||
"preversion": "yarn run test", | ||
"tsc:showConfig": "ynpx get-current-tsconfig -p" | ||
}, | ||
"gitHead": "3495d50c60b6867431c17226eade89d052fa423d" | ||
"gitHead": "3f062678d9e49827c4ccd88288b214bd4e6a9d89" | ||
} |
@@ -5,4 +5,4 @@ /** | ||
import Trie from './trie'; | ||
export declare type IAhoCorasickCallback<T> = (value: string, data: T[], offset: number, node: Trie<T>) => void; | ||
export declare type IAhoCorasickResult<T = any> = { | ||
export type IAhoCorasickCallback<T> = (value: string, data: T[], offset: number, node: Trie<T>) => void; | ||
export type IAhoCorasickResult<T = any> = { | ||
/** | ||
@@ -9,0 +9,0 @@ * keyword: position[] |
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
29691