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

pinyin-pro

Package Overview
Dependencies
Maintainers
1
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pinyin-pro - npm Package Versions

1
15

3.4.1

Diff

Changelog

Source

3.4.1

  • 【fix】<b>pinyin</b>:修复 options.pattern = 'first' 或者 options.pattern = 'initial' 时,指定 options.toneType = 'num' 获取音调失效的问题
zh-lx
published 3.4.0 •

Changelog

Source

3.4.0

  • 【feat】<b>pinyin</b>options 参数新增 mode 可选属性,options.mode = 'surname' 模式支持姓氏模式拼音识别。去看看
  • 【feat】新增 customPinyin api,支持用户自定义拼音功能。去看看
  • 【fix】修复文本过长时堆栈溢出问题
  • 【patch】修正部分读音:
    • 褚: zhǔ -> chǔ zhǔ
    • 俞: -> yú yù
    • 臧: zàng -> zāng
    • 贲: -> bēn bì
    • 莘: xīn -> shēn xīn
    • 郦: zhí -> lì zhí
zh-lx
published 3.3.1 •

Changelog

Source

3.3.1

  • 【fix】修复文本过长时堆栈溢出问题
zh-lx
published 3.3.0 •

Changelog

Source

3.3.0

  • 【perf】优化拼音转换速度,提升近 30 倍!
zh-lx
published 3.2.4-alpha.0 •

zh-lx
published 3.2.3 •

Changelog

Source

3.2.3

  • 【perf】优化 typescript 提示
  • 【perf】优化拼音转换算法,提高转换速度
zh-lx
published 3.2.3-alpha.0 •

zh-lx
published 3.2.2 •

Changelog

Source

3.2.2

  • 【fix】<b>pinyin</b>:修复 options 为 { multiple: true, type: 'array' } 时若未找到多音字结果的报错问题
zh-lx
published 3.2.1 •

Changelog

Source

3.2.1

  • 【patch】修复部分读音
    • 艾: -> ài yì
    • 吽: ōu -> hōng hǒu ōu
zh-lx
published 3.2.0 •

Changelog

Source

3.2.0

  • 【perf】根据单字的使用频率调整字典顺序以提升性能,长句的转换时间只需之前版本 50% 左右的时间
  • 【patch】修复部分读音:
    • 啊: ā -> a
    • 阿: ē -> ā
  • 【perf】支持 <script /> 链接使用
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