@jdsalasc/solvejs-string 1.5.1 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,9 +14,14 @@ Zero-dependency string utilities for JavaScript and TypeScript.
|
|
|
14
14
|
- `mask`
|
|
15
15
|
- `truncate`
|
|
16
16
|
|
|
17
|
-
## When to use this package
|
|
18
|
-
|
|
19
|
-
Use it when you need clean, reusable string formatting for UI labels, slugs, payload normalization, and safe preview text.
|
|
17
|
+
## When to use this package
|
|
18
|
+
|
|
19
|
+
Use it when you need clean, reusable string formatting for UI labels, slugs, payload normalization, and safe preview text.
|
|
20
|
+
|
|
21
|
+
## Limitations and Constraints
|
|
22
|
+
|
|
23
|
+
- Casing/slugging aims for practical normalization, not full linguistic transliteration.
|
|
24
|
+
- HTML stripping uses regex and is intended for lightweight cleanup, not HTML sanitization security guarantees.
|
|
20
25
|
|
|
21
26
|
## Install
|
|
22
27
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jdsalasc/solvejs-string",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"description": "Zero-dependency JavaScript/TypeScript string utilities for production: slugify, case transforms, HTML stripping, masking, and safe truncation.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|