Skip to content

Commit c4e3071

Browse files
committed
chore: update deps and fix lint error
1 parent d3aedce commit c4e3071

File tree

4 files changed

+1236
-640
lines changed

4 files changed

+1236
-640
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## [0.5.2](https://github.com/remanufacturing/react-truncate/compare/v0.5.1...v0.5.2) (2025-08-19)
2+
3+
4+
### Bug Fixes
5+
6+
* **MiddleTruncate:** optimize middle truncation algorithm and fix infinite loop ([4041789](https://github.com/remanufacturing/react-truncate/commit/4041789f60f91528fd9082cd78642506cd1d110e))
7+
8+
9+
110
## [0.5.1](https://github.com/remanufacturing/react-truncate/compare/v0.5.0...v0.5.1) (2025-03-31)
211

312

docs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
"@astrojs/starlight": "^0.24.5",
1616
"@astrojs/tailwind": "^5.1.5",
1717
"@bassist/utils": "^0.16.0",
18-
"@radix-ui/react-dialog": "^1.1.14",
18+
"@radix-ui/react-dialog": "^1.1.15",
1919
"@radix-ui/react-slot": "^1.2.3",
20-
"@radix-ui/react-tooltip": "^1.2.7",
20+
"@radix-ui/react-tooltip": "^1.2.8",
2121
"@re-dev/about": "^0.1.3",
2222
"@re-dev/react-truncate": "workspace:*",
2323
"astro": "^4.16.18",
@@ -33,6 +33,6 @@
3333
"@astrojs/check": "^0.5.10",
3434
"@astrojs/starlight-tailwind": "^2.0.3",
3535
"clsx": "^2.1.1",
36-
"typescript": "^5.8.3"
36+
"typescript": "^5.9.2"
3737
}
3838
}

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@re-dev/react-truncate",
3-
"version": "0.5.1",
3+
"version": "0.5.2",
44
"description": "Provides `Truncate`, `MiddleTruncate` and `ShowMore` React components for truncating multi-line spans and adding an ellipsis.",
55
"author": "chengpeiquan <chengpeiquan@chengpeiquan.com>",
66
"license": "MIT",
@@ -61,37 +61,37 @@
6161
"devDependencies": {
6262
"@bassist/build-config": "^0.1.0",
6363
"@bassist/changelog": "^0.3.0",
64-
"@bassist/eslint-config": "^0.2.0",
64+
"@bassist/eslint-config": "^0.3.0",
6565
"@bassist/node-utils": "^0.5.0",
66-
"@bassist/release": "^0.2.0",
66+
"@bassist/release": "^0.3.1",
6767
"@bassist/tsconfig": "^0.1.1",
6868
"@commitlint/cli": "^19.8.1",
6969
"@commitlint/config-conventional": "^19.8.1",
70-
"@testing-library/dom": "^10.4.0",
71-
"@testing-library/jest-dom": "^6.6.3",
70+
"@testing-library/dom": "^10.4.1",
71+
"@testing-library/jest-dom": "^6.7.0",
7272
"@testing-library/react": "^16.3.0",
7373
"@testing-library/user-event": "^14.6.1",
74-
"@types/node": "^24.0.13",
75-
"@types/react": "^19.1.8",
76-
"@types/react-dom": "^19.1.6",
74+
"@types/node": "^24.3.0",
75+
"@types/react": "^19.1.10",
76+
"@types/react-dom": "^19.1.7",
7777
"@types/react-is": "^19.0.0",
7878
"@types/sinon": "^17.0.4",
7979
"@vitest/coverage-v8": "^3.2.4",
8080
"conventional-changelog-cli": "^4.1.0",
8181
"cross-env": "^7.0.3",
82-
"eslint": "^9.30.1",
82+
"eslint": "^9.33.0",
8383
"happy-dom": "^18.0.1",
8484
"husky": "^9.1.7",
85-
"lint-staged": "^16.1.2",
85+
"lint-staged": "^16.1.5",
8686
"npm-run-all2": "^7.0.2",
8787
"prettier": "^3.6.2",
88-
"react": "^19.1.0",
89-
"react-dom": "^19.1.0",
90-
"react-is": "^19.1.0",
88+
"react": "^19.1.1",
89+
"react-dom": "^19.1.1",
90+
"react-is": "^19.1.1",
9191
"sinon": "^21.0.0",
9292
"tsup": "^8.5.0",
93-
"tsx": "^4.20.3",
94-
"typescript": "^5.8.3",
93+
"tsx": "^4.20.4",
94+
"typescript": "^5.9.2",
9595
"vitest": "^3.2.4"
9696
},
9797
"lint-staged": {

0 commit comments

Comments
 (0)