caseparser 5.0.0 → 6.0.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 +258 -138
- package/dist/index.cjs +235 -1964
- package/dist/index.d.cts +230 -1328
- package/dist/index.d.ts +230 -1328
- package/dist/index.js +236 -1875
- package/package.json +16 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "caseparser",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.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",
|
|
@@ -19,6 +19,9 @@
|
|
|
19
19
|
"provenance": true
|
|
20
20
|
},
|
|
21
21
|
"sideEffects": false,
|
|
22
|
+
"engines": {
|
|
23
|
+
"node": ">=22"
|
|
24
|
+
},
|
|
22
25
|
"main": "./dist/index.cjs",
|
|
23
26
|
"module": "./dist/index.js",
|
|
24
27
|
"types": "./dist/index.d.ts",
|
|
@@ -44,20 +47,30 @@
|
|
|
44
47
|
"coverage": "vitest run --project node --coverage",
|
|
45
48
|
"build": "tsdown",
|
|
46
49
|
"lint": "tsc",
|
|
47
|
-
"ci": "pnpm run lint && pnpm run test && pnpm run build",
|
|
50
|
+
"ci": "pnpm run lint && pnpm run test && pnpm run build && pnpm run lint:package",
|
|
48
51
|
"release": "node scripts/release.js",
|
|
49
52
|
"changeset:version": "changeset version && node scripts/sync-jsr-version.js",
|
|
53
|
+
"lint:package": "publint && attw --pack .",
|
|
50
54
|
"test:browser": "vitest run --project browser",
|
|
51
|
-
"test:
|
|
55
|
+
"test:bun": "bunx --bun vitest run --project node",
|
|
56
|
+
"test:deno": "deno run -A node_modules/vitest/vitest.mjs run --project node",
|
|
57
|
+
"test:ts-legacy": "node node_modules/typescript-4.7/bin/tsc -p test/typescript-4.7",
|
|
58
|
+
"test:worker": "node scripts/test-worker.js",
|
|
59
|
+
"lint:jsr": "deno publish --dry-run --allow-dirty",
|
|
60
|
+
"test:ci": "pnpm run ci && pnpm run test:ts-legacy && pnpm run test:browser && pnpm run test:bun && pnpm run test:deno && pnpm run test:worker && pnpm run lint:jsr",
|
|
61
|
+
"benchmark": "pnpm run build && pnpm --dir bench install --frozen-lockfile && pnpm --dir bench run all"
|
|
52
62
|
},
|
|
53
63
|
"devDependencies": {
|
|
64
|
+
"@arethetypeswrong/cli": "^0.18.5",
|
|
54
65
|
"@changesets/cli": "^3.0.3",
|
|
55
66
|
"@types/node": "^26.6.2",
|
|
56
67
|
"@vitest/browser-playwright": "^5.0.1",
|
|
57
68
|
"@vitest/coverage-istanbul": "^5.0.1",
|
|
58
69
|
"playwright": "^1.63.0",
|
|
70
|
+
"publint": "^0.3.24",
|
|
59
71
|
"tsdown": "^0.23.0",
|
|
60
72
|
"typescript": "^7.0.2",
|
|
73
|
+
"typescript-4.7": "npm:typescript@4.7.4",
|
|
61
74
|
"vitest": "^5.0.1"
|
|
62
75
|
},
|
|
63
76
|
"keywords": [
|