pinyin-pro
Advanced tools
Comparing version 3.10.0 to 3.10.1
@@ -0,1 +1,6 @@ | ||
## 3.10.1 | ||
当前版本: 3.10.0 -> 3.10.1 | ||
- 修正汉字拼音 | ||
- 哼:'hng' -> 'hēng hng' | ||
## 3.10.0 | ||
@@ -2,0 +7,0 @@ |
{ | ||
"name": "pinyin-pro", | ||
"version": "3.10.0", | ||
"version": "3.10.1", | ||
"description": "汉字转拼音库。获取中文拼音、韵母、声母、声调、首字母,支持拼音匹配", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.cjs.js", |
@@ -26,5 +26,6 @@ [![pinyin-pro Logo](https://i.ibb.co/26fJ5vF/pinyin-logo.png)](https://github.com/zh-lx/pinyin-pro) | ||
当前版本: 3.9.0 -> 3.10.0 | ||
当前版本: 3.10.0 -> 3.10.1 | ||
- 优化包体积(约 30%) | ||
- 修正汉字拼音 | ||
- 哼:'hng' -> 'hēng hng' | ||
@@ -208,3 +209,4 @@ 点击查看 [版本更新文档](./CHANGELOG.md) | ||
通过设置 `removeNonZh: true` ,可以过滤输入字符串中的非汉字字符</br> | ||
通过设置 `removeNonZh: true` ,可以过滤输入字符串中的非汉字字符 | ||
<b>此参数已不推荐使用,建议使用</b> `nonZh: removed` <b>代替</b> | ||
@@ -211,0 +213,0 @@ |
@@ -222,2 +222,7 @@ const { pinyin, customPinyin, match } = require('../dist/index.cjs.js'); | ||
it('specials', () => { | ||
expect(pinyin('嗯')).to.be.equal('ǹg'); | ||
expect(pinyin('哼')).to.be.equal('hēng', 'hng'); | ||
}); | ||
it('none-array', () => { | ||
@@ -224,0 +229,0 @@ const result = pinyin('汉语拼音', { toneType: 'none', type: 'array' }); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1569358
36822
289