Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 234ad7a

Browse files
authoredJun 30, 2024··
Merge pull request #255 from zh-lx/release-3.23.0
feat: 支持外部调用 `getInitialAndFinal`、`getFinalParts`、`getNumOfTone` 等 API
2 parents cfeaddd + 673610f commit 234ad7a

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed
 

‎CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# 更新日志
22

3+
# 3.23.0
4+
5+
- 【feat】支持外部调用 `getInitialAndFinal``getFinalParts``getNumOfTone` 等 API
6+
37
# 3.22.2
48

59
- 【fix】修复 alias 导致的 `.d.ts` 文件报错 [#253](https://github.com/zh-lx/pinyin-pro/pull/253)

‎lib/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
export { getInitialAndFinal, getFinalParts, getNumOfTone } from './core/pinyin/handle';
12
export { pinyin } from './core/pinyin';
23
export { customPinyin, clearCustomDict } from './core/custom';
34
export { addDict, removeDict } from './core/dict';

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pinyin-pro",
3-
"version": "3.22.2",
3+
"version": "3.23.0",
44
"description": "准确率和性能最优异的汉字转拼音库。获取中文拼音、韵母、声母、声调、首字母,支持拼音匹配",
55
"main": "./dist/index.js",
66
"module": "./dist/index.mjs",

‎types/index.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
export { getInitialAndFinal, getFinalParts, getNumOfTone } from './core/pinyin/handle';
12
export { pinyin } from './core/pinyin';
23
export { customPinyin, clearCustomDict } from './core/custom';
34
export { addDict, removeDict } from './core/dict';

0 commit comments

Comments
 (0)
Please sign in to comment.