caseparser 4.0.0 → 4.2.0
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 +75 -142
- package/dist/index.cjs +909 -1
- package/dist/index.d.cts +682 -8
- package/dist/index.d.ts +682 -8
- package/dist/index.js +850 -2
- package/package.json +19 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "caseparser",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "Convert Strings/Arrays/Objects from a type of case to another one.",
|
|
5
5
|
"author": "Fernando Machado Bernardino <fernandombernardino@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/NandoMB/caseparser#readme",
|
|
@@ -39,19 +39,23 @@
|
|
|
39
39
|
"dist"
|
|
40
40
|
],
|
|
41
41
|
"scripts": {
|
|
42
|
-
"dev": "vitest",
|
|
43
|
-
"test": "vitest run",
|
|
44
|
-
"coverage": "vitest run --coverage",
|
|
42
|
+
"dev": "vitest --project node",
|
|
43
|
+
"test": "vitest run --project node",
|
|
44
|
+
"coverage": "vitest run --project node --coverage",
|
|
45
45
|
"build": "tsdown",
|
|
46
46
|
"lint": "tsc",
|
|
47
47
|
"ci": "pnpm run lint && pnpm run test && pnpm run build",
|
|
48
48
|
"release": "node scripts/release.js",
|
|
49
|
-
"changeset:version": "changeset version && node scripts/sync-jsr-version.js"
|
|
49
|
+
"changeset:version": "changeset version && node scripts/sync-jsr-version.js",
|
|
50
|
+
"test:browser": "vitest run --project browser",
|
|
51
|
+
"test:examples": "node scripts/test-examples.js"
|
|
50
52
|
},
|
|
51
53
|
"devDependencies": {
|
|
52
54
|
"@changesets/cli": "^3.0.3",
|
|
53
|
-
"@types/node": "^
|
|
55
|
+
"@types/node": "^26.6.2",
|
|
56
|
+
"@vitest/browser-playwright": "^5.0.1",
|
|
54
57
|
"@vitest/coverage-istanbul": "^5.0.1",
|
|
58
|
+
"playwright": "^1.63.0",
|
|
55
59
|
"tsdown": "^0.23.0",
|
|
56
60
|
"typescript": "^7.0.2",
|
|
57
61
|
"vitest": "^5.0.1"
|
|
@@ -67,11 +71,19 @@
|
|
|
67
71
|
"pascal case",
|
|
68
72
|
"upper snake case",
|
|
69
73
|
"upper dash case",
|
|
74
|
+
"train case",
|
|
75
|
+
"dot case",
|
|
76
|
+
"title case",
|
|
77
|
+
"sentence case",
|
|
70
78
|
"camelCase",
|
|
71
79
|
"snake_case",
|
|
72
80
|
"dash-case",
|
|
73
81
|
"PascalCase",
|
|
74
82
|
"UPPER_SNAKE_CASE",
|
|
75
|
-
"UPPER-DASH-CASE"
|
|
83
|
+
"UPPER-DASH-CASE",
|
|
84
|
+
"Train-Case",
|
|
85
|
+
"dot.case",
|
|
86
|
+
"Title Case",
|
|
87
|
+
"Sentence case"
|
|
76
88
|
]
|
|
77
89
|
}
|