@stacksjs/strings 0.61.24 → 0.62.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.
Files changed (2) hide show
  1. package/dist/index.js +35 -175
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -12,181 +12,41 @@ var __export = (target, all) => {
12
12
  // src/string.ts
13
13
  var exports_string = {};
14
14
  __export(exports_string, {
15
- truncate: () => {
16
- {
17
- return truncate;
18
- }
19
- },
20
- toString: () => {
21
- {
22
- return toString;
23
- }
24
- },
25
- titleCase: () => {
26
- {
27
- return titleCase;
28
- }
29
- },
30
- template: () => {
31
- {
32
- return template;
33
- }
34
- },
35
- str: () => {
36
- {
37
- return str;
38
- }
39
- },
40
- split: () => {
41
- {
42
- return split;
43
- }
44
- },
45
- snakeCase: () => {
46
- {
47
- return snakeCase;
48
- }
49
- },
50
- slug: () => {
51
- {
52
- return slug;
53
- }
54
- },
55
- slash: () => {
56
- {
57
- return slash;
58
- }
59
- },
60
- singular: () => {
61
- {
62
- return singular2;
63
- }
64
- },
65
- sentenceCase: () => {
66
- {
67
- return sentenceCase;
68
- }
69
- },
70
- random: () => {
71
- {
72
- return random;
73
- }
74
- },
75
- plural: () => {
76
- {
77
- return plural2;
78
- }
79
- },
80
- pathCase: () => {
81
- {
82
- return pathCase;
83
- }
84
- },
85
- pascalCase: () => {
86
- {
87
- return pascalCase;
88
- }
89
- },
90
- paramCase: () => {
91
- {
92
- return kebabCase2;
93
- }
94
- },
95
- noCase: () => {
96
- {
97
- return noCase;
98
- }
99
- },
100
- lowercase: () => {
101
- {
102
- return lowercase;
103
- }
104
- },
105
- kebabCase: () => {
106
- {
107
- return kebabCase;
108
- }
109
- },
110
- isSingular: () => {
111
- {
112
- return isSingular2;
113
- }
114
- },
115
- isPlural: () => {
116
- {
117
- return isPlural2;
118
- }
119
- },
120
- ensureSuffix: () => {
121
- {
122
- return ensureSuffix;
123
- }
124
- },
125
- ensurePrefix: () => {
126
- {
127
- return ensurePrefix;
128
- }
129
- },
130
- dotCase: () => {
131
- {
132
- return dotCase;
133
- }
134
- },
135
- detectNewline: () => {
136
- {
137
- return detectNewline;
138
- }
139
- },
140
- detectIndent: () => {
141
- {
142
- return default2;
143
- }
144
- },
145
- constantCase: () => {
146
- {
147
- return constantCase;
148
- }
149
- },
150
- capitalize: () => {
151
- {
152
- return capitalize;
153
- }
154
- },
155
- capitalCase: () => {
156
- {
157
- return capitalCase;
158
- }
159
- },
160
- camelCase: () => {
161
- {
162
- return camelCase;
163
- }
164
- },
165
- addUncountableRule: () => {
166
- {
167
- return addUncountableRule2;
168
- }
169
- },
170
- addSingularRule: () => {
171
- {
172
- return addSingularRule2;
173
- }
174
- },
175
- addPluralRule: () => {
176
- {
177
- return addPluralRule2;
178
- }
179
- },
180
- addIrregularRule: () => {
181
- {
182
- return addIrregularRule2;
183
- }
184
- },
185
- Str: () => {
186
- {
187
- return Str;
188
- }
189
- }
15
+ truncate: () => truncate,
16
+ toString: () => toString,
17
+ titleCase: () => titleCase,
18
+ template: () => template,
19
+ str: () => str,
20
+ split: () => split,
21
+ snakeCase: () => snakeCase,
22
+ slug: () => slug,
23
+ slash: () => slash,
24
+ singular: () => singular2,
25
+ sentenceCase: () => sentenceCase,
26
+ random: () => random,
27
+ plural: () => plural2,
28
+ pathCase: () => pathCase,
29
+ pascalCase: () => pascalCase,
30
+ paramCase: () => kebabCase2,
31
+ noCase: () => noCase,
32
+ lowercase: () => lowercase,
33
+ kebabCase: () => kebabCase,
34
+ isSingular: () => isSingular2,
35
+ isPlural: () => isPlural2,
36
+ ensureSuffix: () => ensureSuffix,
37
+ ensurePrefix: () => ensurePrefix,
38
+ dotCase: () => dotCase,
39
+ detectNewline: () => detectNewline,
40
+ detectIndent: () => default2,
41
+ constantCase: () => constantCase,
42
+ capitalize: () => capitalize,
43
+ capitalCase: () => capitalCase,
44
+ camelCase: () => camelCase,
45
+ addUncountableRule: () => addUncountableRule2,
46
+ addSingularRule: () => addSingularRule2,
47
+ addPluralRule: () => addPluralRule2,
48
+ addIrregularRule: () => addIrregularRule2,
49
+ Str: () => Str
190
50
  });
191
51
 
192
52
  // src/utils.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/strings",
3
3
  "type": "module",
4
- "version": "0.61.24",
4
+ "version": "0.62.0",
5
5
  "description": "The Stacks string utilities.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -71,13 +71,13 @@
71
71
  "macroable": "^7.0.2",
72
72
  "pluralize": "^8.0.0",
73
73
  "slugify": "^1.6.6",
74
- "string-ts": "^2.1.1",
74
+ "string-ts": "^2.2.0",
75
75
  "title-case": "^4.3.1",
76
76
  "validator": "^13.12.0"
77
77
  },
78
78
  "devDependencies": {
79
79
  "@stacksjs/development": "latest",
80
80
  "@types/pluralize": "^0.0.33",
81
- "@types/validator": "^13.11.10"
81
+ "@types/validator": "^13.12.0"
82
82
  }
83
83
  }