@lazy-cjk/zh-table-greedy
Advanced tools
Comparing version 1.0.65 to 1.0.68
@@ -6,2 +6,40 @@ # Change Log | ||
## [1.0.68](https://github.com/bluelovers/ws-regexp/compare/@lazy-cjk/zh-table-greedy@1.0.67...@lazy-cjk/zh-table-greedy@1.0.68) (2021-07-09) | ||
### 🔖 Miscellaneous | ||
* . ([8e85c04](https://github.com/bluelovers/ws-regexp/commit/8e85c04a9cb7622ef865a383107dbc9ec2f512b4)) | ||
## [1.0.67](https://github.com/bluelovers/ws-regexp/compare/@lazy-cjk/zh-table-greedy@1.0.65...@lazy-cjk/zh-table-greedy@1.0.67) (2021-07-09) | ||
### ✨ Features | ||
* **zh-table-greedy:** zh-table-greedy 䁩|䐳|䲆|渔|漁|魚|鱼|𤉯|𤋳|𩥭|𩵋|𩺰 ([7e96155](https://github.com/bluelovers/ws-regexp/commit/7e96155f6a078d63b43a8b0a1b6de8a90c50a0af)) | ||
### 🔖 Miscellaneous | ||
* . ([27bb17d](https://github.com/bluelovers/ws-regexp/commit/27bb17d92d4e39c46f04ab7de9b357fce9667642)) | ||
## [1.0.66](https://github.com/bluelovers/ws-regexp/compare/@lazy-cjk/zh-table-greedy@1.0.65...@lazy-cjk/zh-table-greedy@1.0.66) (2021-07-09) | ||
### ✨ Features | ||
* **zh-table-greedy:** zh-table-greedy 䁩|䐳|䲆|渔|漁|魚|鱼|𤉯|𤋳|𩥭|𩵋|𩺰 ([7e96155](https://github.com/bluelovers/ws-regexp/commit/7e96155f6a078d63b43a8b0a1b6de8a90c50a0af)) | ||
## [1.0.65](https://github.com/bluelovers/ws-regexp/compare/@lazy-cjk/zh-table-greedy@1.0.64...@lazy-cjk/zh-table-greedy@1.0.65) (2021-06-21) | ||
@@ -8,0 +46,0 @@ |
@@ -17,3 +17,3 @@ "use strict"; | ||
.reduce(function (arr, r) { | ||
const a = util_1.reToStringList(r[0], r[1]); | ||
const a = (0, util_1.reToStringList)(r[0], r[1]); | ||
a.forEach(c => { | ||
@@ -25,3 +25,3 @@ _greedyTableCacheMap.set(c, a); | ||
}, []); | ||
_greedyTableCacheTest = new RegExp(`[${array_hyper_unique_1.array_unique(arr).join('')}]`, 'u'); | ||
_greedyTableCacheTest = new RegExp(`[${(0, array_hyper_unique_1.array_unique)(arr).join('')}]`, 'u'); | ||
return { | ||
@@ -28,0 +28,0 @@ _greedyTableCacheRegexp, |
@@ -318,3 +318,4 @@ "use strict"; | ||
[/[洽]/ug, '恰'], | ||
[/[鱼渔漁䁩䐳䲆𩵋𤉯𤋳𩥭𩺰]/ug, '魚'], | ||
]; | ||
//# sourceMappingURL=re.js.map |
@@ -5,3 +5,3 @@ "use strict"; | ||
const tslib_1 = require("tslib"); | ||
const uni_string_1 = tslib_1.__importDefault(require("uni-string")); | ||
const uni_string_1 = (0, tslib_1.__importDefault)(require("uni-string")); | ||
const array_hyper_unique_1 = require("array-hyper-unique"); | ||
@@ -12,5 +12,5 @@ function reToStringList(re, char) { | ||
const a = uni_string_1.default.split(s, '').concat(char).sort(); | ||
return array_hyper_unique_1.array_unique_overwrite(a); | ||
return (0, array_hyper_unique_1.array_unique_overwrite)(a); | ||
} | ||
exports.reToStringList = reToStringList; | ||
//# sourceMappingURL=util.js.map |
{ | ||
"name": "@lazy-cjk/zh-table-greedy", | ||
"version": "1.0.65", | ||
"version": "1.0.68", | ||
"description": "搜尋字串用的漢字貪婪轉換表", | ||
@@ -90,3 +90,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "4e9255801ca9ca02906f733a200d4dff9c8b1ed1" | ||
"gitHead": "d4ccd0aff0bccb9666c3c771822048644d37c177" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
302604
1657