Skip to content

chore(deps)(deps): bump chinese-conv from 1.1.0 to 4.0.0#908

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/chinese-conv-4.0.0
Open

chore(deps)(deps): bump chinese-conv from 1.1.0 to 4.0.0#908
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/chinese-conv-4.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 4, 2025

Copy link
Copy Markdown
Contributor

Bumps chinese-conv from 1.1.0 to 4.0.0.

Release notes

Sourced from chinese-conv's releases.

v4.0.0

[4.0.0] - 2025-10-30

🐛 Bug Fixes

  • Build Configuration: Fixed preinstall script hang issue on Deno environments by removing the preinstall script that enforced pnpm usage (#2)
  • Package Configuration: Improved package.json structure with proper CommonJS and ESM dual module support
  • Build Output: Added proper type declarations for both ESM (index.d.ts) and CJS (index.d.cts) formats

⚡ Performance Improvements

  • Pre-compiled Regex Patterns: Moved regex compilation outside the replacement function to eliminate repeated compilation overhead
  • Optimized Character Lookup: Replaced char in map checks with direct property access using nullish coalescing (map[char] ?? char)
  • Streamlined Logic: Removed unnecessary variable assignments and simplified control flow
  • Consistent Performance: Achieved stable performance across all text sizes:
    • Small text (< 50 chars): ~3.18M calls/second
    • Medium text (100-500 chars): ~1.05M calls/second
    • Large text (1000+ chars): ~43K calls/second
    • Peak throughput: ~3.2M conversions/second

📦 BREAKING CHANGES

  • Dependencies: Updated all devDependencies to latest versions
  • Node.js Engines: Added engine requirements (^20.19.0 || >=22.12.0)

🔗 Related Issues


thank you @​lst97 for your help on #2, #3

v3.2.2

  • docs: add example link to README c89d8f8
  • build: bump pnpm-lock 3c28c15
  • chore: update turbo 41beeff
  • chore: add preinstall script to enforce pnpm usage ff2a865
  • chore: upgrade nodejs and pnpm 18ed71b
  • docs: add dictionary source to README 3c1ec3e
  • chore: update LICENSE 995a636
  • build: add "publint" for package linting and update package.json exports 06f2b86
  • chore: add @​types/node 20.17.6 bf0f8b0
  • build: add Lefthook configuration for pre-commit hooks 86a92ce
  • build: add dist/index.umd.js. use Vite as package bundler. remove Bun b0a7b16
  • chore: change the package manager to pnpm, lock the development dependency versions in "devDeps" 1442ba6

aqzhyi/chinese-conv@v3.2.1...v3.2.2

v3.2.1

... (truncated)

Commits
  • 6168397 4.0.0
  • 8861920 chore: add .history path to gitignore
  • e4f39e2 Merge pull request #3 from lst97/refactor/preinstall-script-hang
  • 6eb89de fix: Code review, update Node.js engine requirement and simplify test inputs
  • 281aab9 perf: Optimize conversion performance with pre-compiled regex
  • 3e6ec4d refactor: Fix preinstall script hang
  • 7962353 docs: README
  • 95697c8 build: yeeeeeeee, deno v2 😌
  • 5e73b15 3.2.2
  • c89d8f8 docs: add example link to README
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 4, 2025
@dependabot @github

dependabot Bot commented on behalf of github Nov 4, 2025

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependabot. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/chinese-conv-4.0.0 branch from 9c3c944 to 68e617d Compare November 27, 2025 08:11
Bumps [chinese-conv](https://github.com/aqzhyi/chinese-conv) from 1.1.0 to 4.0.0.
- [Release notes](https://github.com/aqzhyi/chinese-conv/releases)
- [Commits](aqzhyi/chinese-conv@v1.1.0...v4.0.0)

---
updated-dependencies:
- dependency-name: chinese-conv
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/chinese-conv-4.0.0 branch from 68e617d to 69ef700 Compare November 27, 2025 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants