@visulima/string 1.4.0 → 1.5.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 (160) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/LICENSE.md +62 -0
  3. package/dist/{packem_shared/alignText-CLZJuPP6.cjs → align-text.cjs} +1 -1
  4. package/dist/align-text.d.cts +13 -0
  5. package/dist/align-text.d.mts +13 -0
  6. package/dist/align-text.d.ts +13 -0
  7. package/dist/{packem_shared/alignText-BCKbnqhC.mjs → align-text.mjs} +1 -1
  8. package/dist/case/camel-case.cjs +1 -1
  9. package/dist/case/camel-case.d.cts +2 -2
  10. package/dist/case/camel-case.d.mts +2 -2
  11. package/dist/case/camel-case.d.ts +2 -2
  12. package/dist/case/camel-case.mjs +1 -1
  13. package/dist/case/capital-case.cjs +1 -1
  14. package/dist/case/capital-case.d.cts +2 -2
  15. package/dist/case/capital-case.d.mts +2 -2
  16. package/dist/case/capital-case.d.ts +2 -2
  17. package/dist/case/capital-case.mjs +1 -1
  18. package/dist/case/constant-case.d.cts +2 -2
  19. package/dist/case/constant-case.d.mts +2 -2
  20. package/dist/case/constant-case.d.ts +2 -2
  21. package/dist/case/dot-case.d.cts +2 -2
  22. package/dist/case/dot-case.d.mts +2 -2
  23. package/dist/case/dot-case.d.ts +2 -2
  24. package/dist/case/flat-case.d.cts +2 -2
  25. package/dist/case/flat-case.d.mts +2 -2
  26. package/dist/case/flat-case.d.ts +2 -2
  27. package/dist/case/flip-case.cjs +1 -1
  28. package/dist/case/flip-case.d.cts +2 -2
  29. package/dist/case/flip-case.d.mts +2 -2
  30. package/dist/case/flip-case.d.ts +2 -2
  31. package/dist/case/flip-case.mjs +1 -1
  32. package/dist/case/identify-case.d.cts +2 -2
  33. package/dist/case/identify-case.d.mts +2 -2
  34. package/dist/case/identify-case.d.ts +2 -2
  35. package/dist/case/index.cjs +1 -1
  36. package/dist/case/index.d.cts +2 -2
  37. package/dist/case/index.d.mts +2 -2
  38. package/dist/case/index.d.ts +2 -2
  39. package/dist/case/index.mjs +1 -1
  40. package/dist/case/kebab-case.cjs +1 -1
  41. package/dist/case/kebab-case.d.cts +2 -2
  42. package/dist/case/kebab-case.d.mts +2 -2
  43. package/dist/case/kebab-case.d.ts +2 -2
  44. package/dist/case/kebab-case.mjs +1 -1
  45. package/dist/case/lower-first.d.cts +2 -2
  46. package/dist/case/lower-first.d.mts +2 -2
  47. package/dist/case/lower-first.d.ts +2 -2
  48. package/dist/case/no-case.d.cts +2 -2
  49. package/dist/case/no-case.d.mts +2 -2
  50. package/dist/case/no-case.d.ts +2 -2
  51. package/dist/case/pascal-case.cjs +1 -1
  52. package/dist/case/pascal-case.d.cts +2 -2
  53. package/dist/case/pascal-case.d.mts +2 -2
  54. package/dist/case/pascal-case.d.ts +2 -2
  55. package/dist/case/pascal-case.mjs +1 -1
  56. package/dist/case/pascal-snake-case.d.cts +2 -2
  57. package/dist/case/pascal-snake-case.d.mts +2 -2
  58. package/dist/case/pascal-snake-case.d.ts +2 -2
  59. package/dist/case/path-case.d.cts +2 -2
  60. package/dist/case/path-case.d.mts +2 -2
  61. package/dist/case/path-case.d.ts +2 -2
  62. package/dist/case/sentence-case.cjs +1 -1
  63. package/dist/case/sentence-case.d.cts +2 -2
  64. package/dist/case/sentence-case.d.mts +2 -2
  65. package/dist/case/sentence-case.d.ts +2 -2
  66. package/dist/case/sentence-case.mjs +1 -1
  67. package/dist/case/snake-case.d.cts +2 -2
  68. package/dist/case/snake-case.d.mts +2 -2
  69. package/dist/case/snake-case.d.ts +2 -2
  70. package/dist/case/split-by-case.cjs +1 -1
  71. package/dist/case/split-by-case.d.cts +2 -2
  72. package/dist/case/split-by-case.d.mts +2 -2
  73. package/dist/case/split-by-case.d.ts +2 -2
  74. package/dist/case/split-by-case.mjs +1 -1
  75. package/dist/case/title-case.d.cts +2 -2
  76. package/dist/case/title-case.d.mts +2 -2
  77. package/dist/case/title-case.d.ts +2 -2
  78. package/dist/case/train-case.cjs +1 -1
  79. package/dist/case/train-case.d.cts +2 -2
  80. package/dist/case/train-case.d.mts +2 -2
  81. package/dist/case/train-case.d.ts +2 -2
  82. package/dist/case/train-case.mjs +1 -1
  83. package/dist/case/upper-first.d.cts +2 -2
  84. package/dist/case/upper-first.d.mts +2 -2
  85. package/dist/case/upper-first.d.ts +2 -2
  86. package/dist/closest-string.cjs +1 -0
  87. package/dist/closest-string.d.cts +8 -0
  88. package/dist/closest-string.d.mts +8 -0
  89. package/dist/closest-string.d.ts +8 -0
  90. package/dist/closest-string.mjs +1 -0
  91. package/dist/compare-similarity.cjs +1 -0
  92. package/dist/compare-similarity.d.cts +8 -0
  93. package/dist/compare-similarity.d.mts +8 -0
  94. package/dist/compare-similarity.d.ts +8 -0
  95. package/dist/compare-similarity.mjs +1 -0
  96. package/dist/get-string-truncated-width.cjs +1 -1
  97. package/dist/get-string-truncated-width.mjs +1 -1
  98. package/dist/index.cjs +1 -1
  99. package/dist/index.d.cts +16 -30
  100. package/dist/index.d.mts +16 -30
  101. package/dist/index.d.ts +16 -30
  102. package/dist/index.mjs +1 -1
  103. package/dist/native-string-types.d.cts +1 -1
  104. package/dist/native-string-types.d.mts +1 -1
  105. package/dist/native-string-types.d.ts +1 -1
  106. package/dist/outdent.cjs +1 -1
  107. package/dist/outdent.mjs +1 -1
  108. package/dist/packem_shared/closest-DGumBGH9.cjs +1 -0
  109. package/dist/packem_shared/closest-uarbVSbs.mjs +1 -0
  110. package/dist/packem_shared/closestN-D4wF4I-I.mjs +1 -0
  111. package/dist/packem_shared/closestN-DqYIV5u3.cjs +1 -0
  112. package/dist/packem_shared/{constants-Cd17VNEv.mjs → constants-CDcaCZKC.mjs} +1 -1
  113. package/dist/packem_shared/{constants-D3K8u3G8.cjs → constants-DEcMFLn8.cjs} +1 -1
  114. package/dist/packem_shared/{joinSegments-H7QJ7rwJ.mjs → joinSegments-BNRq9dVI.mjs} +1 -1
  115. package/dist/packem_shared/{joinSegments-CDHNMXsF.cjs → joinSegments-Cs5mfgdt.cjs} +1 -1
  116. package/dist/packem_shared/replaceString-9jUkfJB5.cjs +1 -0
  117. package/dist/packem_shared/replaceString-DwIZyvoL.mjs +1 -0
  118. package/dist/packem_shared/{transliterate-BXaP38Sh.mjs → transliterate-DNh-jM0e.mjs} +2 -2
  119. package/dist/packem_shared/{transliterate-CToQ-aeM.cjs → transliterate-wQMEsr3l.cjs} +2 -2
  120. package/dist/packem_shared/{types-mlwFVBiS.d.mts → types-CNJfNczL.d.mts} +1 -1
  121. package/dist/packem_shared/{types-BfGNLD2K.d.ts → types-CfPsw9ix.d.ts} +1 -1
  122. package/dist/packem_shared/{types-DrtiqNkK.d.cts → types-Cnu8OB9S.d.cts} +1 -1
  123. package/dist/packem_shared/{types-BSdIWVzn.d.cts → types-Daae0hGf.d.cts} +1 -1
  124. package/dist/packem_shared/{types-BSdIWVzn.d.mts → types-Daae0hGf.d.mts} +1 -1
  125. package/dist/packem_shared/{types-BSdIWVzn.d.ts → types-Daae0hGf.d.ts} +1 -1
  126. package/dist/slice.cjs +1 -1
  127. package/dist/slice.mjs +1 -1
  128. package/dist/slugify.cjs +1 -0
  129. package/dist/slugify.d.cts +5 -0
  130. package/dist/slugify.d.mts +5 -0
  131. package/dist/slugify.d.ts +5 -0
  132. package/dist/slugify.mjs +1 -0
  133. package/dist/test/utils.cjs +2 -2
  134. package/dist/test/utils.mjs +1 -1
  135. package/dist/truncate.cjs +1 -1
  136. package/dist/truncate.mjs +1 -1
  137. package/dist/utilities.cjs +1 -0
  138. package/dist/{utils.d.cts → utilities.d.cts} +1 -1
  139. package/dist/{utils.d.mts → utilities.d.mts} +1 -1
  140. package/dist/{utils.d.ts → utilities.d.ts} +1 -1
  141. package/dist/utilities.mjs +1 -0
  142. package/dist/word-similarity-sort.cjs +1 -0
  143. package/dist/word-similarity-sort.d.cts +8 -0
  144. package/dist/word-similarity-sort.d.mts +8 -0
  145. package/dist/word-similarity-sort.d.ts +8 -0
  146. package/dist/word-similarity-sort.mjs +1 -0
  147. package/dist/word-wrap.cjs +8 -0
  148. package/dist/word-wrap.d.cts +16 -0
  149. package/dist/word-wrap.d.mts +16 -0
  150. package/dist/word-wrap.d.ts +16 -0
  151. package/dist/word-wrap.mjs +8 -0
  152. package/package.json +84 -6
  153. package/dist/packem_shared/WrapMode-BZ3jkEf1.mjs +0 -8
  154. package/dist/packem_shared/WrapMode-DR7vv3px.cjs +0 -8
  155. package/dist/packem_shared/replaceString-Ce8TI_-L.cjs +0 -1
  156. package/dist/packem_shared/replaceString-D7R-5VFX.mjs +0 -1
  157. package/dist/packem_shared/slugify-B1vlQQO1.mjs +0 -1
  158. package/dist/packem_shared/slugify-CH3GI7E5.cjs +0 -1
  159. package/dist/utils.cjs +0 -1
  160. package/dist/utils.mjs +0 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## @visulima/string [1.5.0](https://github.com/visulima/visulima/compare/@visulima/string@1.4.1...@visulima/string@1.5.0) (2025-06-03)
2
+
3
+ ### Features
4
+
5
+ * **string:** added new functions closestString, compareSimilarity and wordSimilaritySort, added new exports to the package.json ([4f01ec4](https://github.com/visulima/visulima/commit/4f01ec4b0cc8863c6bbb591ac14c895c143e65d2))
6
+
7
+ ## @visulima/string [1.4.1](https://github.com/visulima/visulima/compare/@visulima/string@1.4.0...@visulima/string@1.4.1) (2025-05-31)
8
+
9
+ ### Bug Fixes
10
+
11
+ * **string:** add align-text and word-wrap modules to package.json ([6c9db17](https://github.com/visulima/visulima/commit/6c9db174387e9da6bd5f99b6e4e48c12aa19b313))
12
+
1
13
  ## @visulima/string [1.4.0](https://github.com/visulima/visulima/compare/@visulima/string@1.3.0...@visulima/string@1.4.0) (2025-05-31)
2
14
 
3
15
  ### Features
package/LICENSE.md CHANGED
@@ -56,6 +56,35 @@ Repository: git+https://github.com/slevithan/emoji-regex-xs.git
56
56
 
57
57
  ---------------------------------------
58
58
 
59
+ ## fastest-levenshtein
60
+ License: MIT
61
+ By: Kasper U. Weihe
62
+ Repository: git+https://github.com/ka-weihe/fastest-levenshtein.git
63
+
64
+ > MIT License
65
+ >
66
+ > Copyright (c) 2020 Kasper Unn Weihe
67
+ >
68
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
69
+ > of this software and associated documentation files (the "Software"), to deal
70
+ > in the Software without restriction, including without limitation the rights
71
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
72
+ > copies of the Software, and to permit persons to whom the Software is
73
+ > furnished to do so, subject to the following conditions:
74
+ >
75
+ > The above copyright notice and this permission notice shall be included in all
76
+ > copies or substantial portions of the Software.
77
+ >
78
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
79
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
80
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
81
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
82
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
83
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
84
+ > SOFTWARE.
85
+
86
+ ---------------------------------------
87
+
59
88
  ## get-east-asian-width
60
89
  License: MIT
61
90
  By: Sindre Sorhus
@@ -74,4 +103,37 @@ Repository: sindresorhus/get-east-asian-width
74
103
  <!-- /DEPENDENCIES -->
75
104
 
76
105
  <!-- TYPE_DEPENDENCIES -->
106
+
107
+ # Licenses of bundled types
108
+ The published @visulima/string artifact additionally contains code with the following licenses:
109
+ MIT
110
+
111
+ # Bundled types:
112
+ ## fastest-levenshtein
113
+ License: MIT
114
+ By: Kasper U. Weihe
115
+ Repository: git+https://github.com/ka-weihe/fastest-levenshtein.git
116
+
117
+ > MIT License
118
+ >
119
+ > Copyright (c) 2020 Kasper Unn Weihe
120
+ >
121
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
122
+ > of this software and associated documentation files (the "Software"), to deal
123
+ > in the Software without restriction, including without limitation the rights
124
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
125
+ > copies of the Software, and to permit persons to whom the Software is
126
+ > furnished to do so, subject to the following conditions:
127
+ >
128
+ > The above copyright notice and this permission notice shall be included in all
129
+ > copies or substantial portions of the Software.
130
+ >
131
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
132
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
133
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
134
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
135
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
136
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
137
+ > SOFTWARE.
138
+
77
139
  <!-- /TYPE_DEPENDENCIES -->
@@ -1,2 +1,2 @@
1
- "use strict";var d=Object.defineProperty;var g=(t,e)=>d(t,"name",{value:e,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const h=require("../get-string-width.cjs");var c=Object.defineProperty,a=g((t,e)=>c(t,"name",{value:e,configurable:!0}),"n");const p=a((t,e)=>Math.floor((t-e)/2),"halfDiff"),m=a((t,e)=>t-e,"fullDiff"),S=a((t,e={})=>{const l=e.align??"center";if(l==="left")return t;const o=e.split??`
1
+ "use strict";var d=Object.defineProperty;var g=(t,e)=>d(t,"name",{value:e,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const h=require("./get-string-width.cjs");var c=Object.defineProperty,a=g((t,e)=>c(t,"name",{value:e,configurable:!0}),"n");const p=a((t,e)=>Math.floor((t-e)/2),"halfDiff"),m=a((t,e)=>t-e,"fullDiff"),S=a((t,e={})=>{const l=e.align??"center";if(l==="left")return t;const o=e.split??`
2
2
  `,f=e.pad??" ",u=l==="right"?m:p;let s=!1;Array.isArray(t)||(s=!0,t=String(t).split(o));let i,n=0;return t=t.map(r=>(r=String(r),i=h.getStringWidth(r,e.stringWidthOptions),n=Math.max(i,n),{str:r,width:i})).map(r=>Array.from({length:u(n,r.width)+1}).join(f)+r.str),s?t.join(o):t},"alignText");exports.alignText=S;
@@ -0,0 +1,13 @@
1
+ import { StringWidthOptions } from './get-string-width.cjs';
2
+ import './get-string-truncated-width.cjs';
3
+
4
+ type AlignTextOptions = {
5
+ align?: "center" | "left" | "right";
6
+ pad?: string;
7
+ split?: string;
8
+ stringWidthOptions?: StringWidthOptions;
9
+ };
10
+ declare const alignText: (text: string[] | string, options?: AlignTextOptions) => string[] | string;
11
+
12
+ export { alignText };
13
+ export type { AlignTextOptions };
@@ -0,0 +1,13 @@
1
+ import { StringWidthOptions } from './get-string-width.mjs';
2
+ import './get-string-truncated-width.mjs';
3
+
4
+ type AlignTextOptions = {
5
+ align?: "center" | "left" | "right";
6
+ pad?: string;
7
+ split?: string;
8
+ stringWidthOptions?: StringWidthOptions;
9
+ };
10
+ declare const alignText: (text: string[] | string, options?: AlignTextOptions) => string[] | string;
11
+
12
+ export { alignText };
13
+ export type { AlignTextOptions };
@@ -0,0 +1,13 @@
1
+ import { StringWidthOptions } from './get-string-width.js';
2
+ import './get-string-truncated-width.js';
3
+
4
+ type AlignTextOptions = {
5
+ align?: "center" | "left" | "right";
6
+ pad?: string;
7
+ split?: string;
8
+ stringWidthOptions?: StringWidthOptions;
9
+ };
10
+ declare const alignText: (text: string[] | string, options?: AlignTextOptions) => string[] | string;
11
+
12
+ export { alignText };
13
+ export type { AlignTextOptions };
@@ -1,2 +1,2 @@
1
- var p=Object.defineProperty;var s=(t,r)=>p(t,"name",{value:r,configurable:!0});import{getStringWidth as c}from"../get-string-width.mjs";var d=Object.defineProperty,i=s((t,r)=>d(t,"name",{value:r,configurable:!0}),"n");const m=i((t,r)=>Math.floor((t-r)/2),"halfDiff"),u=i((t,r)=>t-r,"fullDiff"),j=i((t,r={})=>{const l=r.align??"center";if(l==="left")return t;const o=r.split??`
1
+ var p=Object.defineProperty;var s=(t,r)=>p(t,"name",{value:r,configurable:!0});import{getStringWidth as c}from"./get-string-width.mjs";var d=Object.defineProperty,i=s((t,r)=>d(t,"name",{value:r,configurable:!0}),"n");const m=i((t,r)=>Math.floor((t-r)/2),"halfDiff"),u=i((t,r)=>t-r,"fullDiff"),j=i((t,r={})=>{const l=r.align??"center";if(l==="left")return t;const o=r.split??`
2
2
  `,g=r.pad??" ",h=l==="right"?u:m;let f=!1;Array.isArray(t)||(f=!0,t=String(t).split(o));let n,a=0;return t=t.map(e=>(e=String(e),n=c(e,r.stringWidthOptions),a=Math.max(n,a),{str:e,width:n})).map(e=>Array.from({length:h(a,e.width)+1}).join(g)+e.str),f?t.join(o):t},"alignText");export{j as alignText};
@@ -1 +1 @@
1
- "use strict";var c=Object.defineProperty;var l=(a,e)=>c(a,"name",{value:e,configurable:!0});const u=require("../packem_shared/constants-D3K8u3G8.cjs"),m=require("../packem_shared/LRUCache-TYqfUYE5.cjs"),p=require("./lower-first.cjs"),h=require("./split-by-case.cjs"),d=require("./upper-first.cjs"),q=require("../packem_shared/generate-cache-key-BZf0GiMs.cjs"),y=require("../packem_shared/joinSegments-CDHNMXsF.cjs"),f=require("../packem_shared/normalize-german-eszett-Bop4wOp9.cjs");var A=Object.defineProperty,C=l((a,e)=>A(a,"name",{value:e,configurable:!0}),"l");const j=new m(1e3),w=C((a,e)=>{if(typeof a!="string"||!a)return"";const t=e?.cache??!1,i=e?.cacheStore??j;let r;if(t&&(r=q.a(a,e)),t&&r&&i.has(r))return i.get(r);let n=!0;const o=y(h.splitByCase(a,{handleAnsi:e?.handleAnsi,handleEmoji:e?.handleEmoji,knownAcronyms:e?.knownAcronyms,locale:e?.locale,normalize:e?.normalize,separators:void 0,stripAnsi:e?.stripAnsi,stripEmoji:e?.stripEmoji}).map(s=>e?.handleAnsi&&u.R.test(s)?s:(s=e?.locale?.startsWith("de")?f.l(s):s,s=e?.locale?s.toLocaleLowerCase(e.locale):s.toLowerCase(),n?(n=!1,p(s,e)):d(s,e))),"");return t&&r&&i.set(r,o),o},"camelCase");module.exports=w;
1
+ "use strict";var c=Object.defineProperty;var l=(a,e)=>c(a,"name",{value:e,configurable:!0});const u=require("../packem_shared/constants-DEcMFLn8.cjs"),m=require("../packem_shared/LRUCache-TYqfUYE5.cjs"),p=require("./lower-first.cjs"),h=require("./split-by-case.cjs"),d=require("./upper-first.cjs"),q=require("../packem_shared/generate-cache-key-BZf0GiMs.cjs"),y=require("../packem_shared/joinSegments-Cs5mfgdt.cjs"),f=require("../packem_shared/normalize-german-eszett-Bop4wOp9.cjs");var A=Object.defineProperty,C=l((a,e)=>A(a,"name",{value:e,configurable:!0}),"l");const j=new m(1e3),w=C((a,e)=>{if(typeof a!="string"||!a)return"";const t=e?.cache??!1,i=e?.cacheStore??j;let r;if(t&&(r=q.a(a,e)),t&&r&&i.has(r))return i.get(r);let n=!0;const o=y(h.splitByCase(a,{handleAnsi:e?.handleAnsi,handleEmoji:e?.handleEmoji,knownAcronyms:e?.knownAcronyms,locale:e?.locale,normalize:e?.normalize,separators:void 0,stripAnsi:e?.stripAnsi,stripEmoji:e?.stripEmoji}).map(s=>e?.handleAnsi&&u.R.test(s)?s:(s=e?.locale?.startsWith("de")?f.l(s):s,s=e?.locale?s.toLocaleLowerCase(e.locale):s.toLowerCase(),n?(n=!1,p(s,e)):d(s,e))),"");return t&&r&&i.set(r,o),o},"camelCase");module.exports=w;
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, a as CamelCase } from '../packem_shared/types-DrtiqNkK.cjs';
2
- import '../packem_shared/types-BSdIWVzn.cjs';
1
+ import { C as CaseOptions, a as CamelCase } from '../packem_shared/types-Cnu8OB9S.cjs';
2
+ import '../packem_shared/types-Daae0hGf.cjs';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.cjs';
4
4
 
5
5
  declare const camelCase: <T extends string = string>(value?: T, options?: CaseOptions) => CamelCase<T>;
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, a as CamelCase } from '../packem_shared/types-mlwFVBiS.mjs';
2
- import '../packem_shared/types-BSdIWVzn.mjs';
1
+ import { C as CaseOptions, a as CamelCase } from '../packem_shared/types-CNJfNczL.mjs';
2
+ import '../packem_shared/types-Daae0hGf.mjs';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.mjs';
4
4
 
5
5
  declare const camelCase: <T extends string = string>(value?: T, options?: CaseOptions) => CamelCase<T>;
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, a as CamelCase } from '../packem_shared/types-BfGNLD2K.js';
2
- import '../packem_shared/types-BSdIWVzn.js';
1
+ import { C as CaseOptions, a as CamelCase } from '../packem_shared/types-CfPsw9ix.js';
2
+ import '../packem_shared/types-Daae0hGf.js';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.js';
4
4
 
5
5
  declare const camelCase: <T extends string = string>(value?: T, options?: CaseOptions) => CamelCase<T>;
@@ -1 +1 @@
1
- var m=Object.defineProperty;var n=(t,o)=>m(t,"name",{value:o,configurable:!0});import{R as c}from"../packem_shared/constants-Cd17VNEv.mjs";import p from"../packem_shared/LRUCache-Bjo6gsbC.mjs";import f from"./lower-first.mjs";import{splitByCase as d}from"./split-by-case.mjs";import h from"./upper-first.mjs";import{a as A}from"../packem_shared/generate-cache-key-DPByFaMH.mjs";import u from"../packem_shared/joinSegments-H7QJ7rwJ.mjs";import{l as y}from"../packem_shared/normalize-german-eszett-4k1qRtEP.mjs";var j=Object.defineProperty,w=n((t,o)=>j(t,"name",{value:o,configurable:!0}),"l");const E=new p(1e3),R=w((t,o)=>{if(typeof t!="string"||!t)return"";const e=o?.cache??!1,s=o?.cacheStore??E;let r;if(e&&(r=A(t,o)),e&&r&&s.has(r))return s.get(r);let i=!0;const l=u(d(t,{handleAnsi:o?.handleAnsi,handleEmoji:o?.handleEmoji,knownAcronyms:o?.knownAcronyms,locale:o?.locale,normalize:o?.normalize,separators:void 0,stripAnsi:o?.stripAnsi,stripEmoji:o?.stripEmoji}).map(a=>o?.handleAnsi&&c.test(a)?a:(a=o?.locale?.startsWith("de")?y(a):a,a=o?.locale?a.toLocaleLowerCase(o.locale):a.toLowerCase(),i?(i=!1,f(a,o)):h(a,o))),"");return e&&r&&s.set(r,l),l},"camelCase");export{R as default};
1
+ var m=Object.defineProperty;var n=(t,o)=>m(t,"name",{value:o,configurable:!0});import{R as c}from"../packem_shared/constants-CDcaCZKC.mjs";import p from"../packem_shared/LRUCache-Bjo6gsbC.mjs";import f from"./lower-first.mjs";import{splitByCase as d}from"./split-by-case.mjs";import h from"./upper-first.mjs";import{a as A}from"../packem_shared/generate-cache-key-DPByFaMH.mjs";import u from"../packem_shared/joinSegments-BNRq9dVI.mjs";import{l as y}from"../packem_shared/normalize-german-eszett-4k1qRtEP.mjs";var j=Object.defineProperty,w=n((t,o)=>j(t,"name",{value:o,configurable:!0}),"l");const E=new p(1e3),R=w((t,o)=>{if(typeof t!="string"||!t)return"";const e=o?.cache??!1,s=o?.cacheStore??E;let r;if(e&&(r=A(t,o)),e&&r&&s.has(r))return s.get(r);let i=!0;const l=u(d(t,{handleAnsi:o?.handleAnsi,handleEmoji:o?.handleEmoji,knownAcronyms:o?.knownAcronyms,locale:o?.locale,normalize:o?.normalize,separators:void 0,stripAnsi:o?.stripAnsi,stripEmoji:o?.stripEmoji}).map(a=>o?.handleAnsi&&c.test(a)?a:(a=o?.locale?.startsWith("de")?y(a):a,a=o?.locale?a.toLocaleLowerCase(o.locale):a.toLowerCase(),i?(i=!1,f(a,o)):h(a,o))),"");return e&&r&&s.set(r,l),l},"camelCase");export{R as default};
@@ -1 +1 @@
1
- "use strict";var u=Object.defineProperty;var c=(r,e)=>u(r,"name",{value:e,configurable:!0});const m=require("../packem_shared/constants-D3K8u3G8.cjs"),p=require("../packem_shared/LRUCache-TYqfUYE5.cjs"),h=require("./split-by-case.cjs"),y=require("./upper-first.cjs"),d=require("../packem_shared/generate-cache-key-BZf0GiMs.cjs"),f=require("../packem_shared/joinSegments-CDHNMXsF.cjs"),q=require("../packem_shared/normalize-german-eszett-Bop4wOp9.cjs");var A=Object.defineProperty,C=c((r,e)=>A(r,"name",{value:e,configurable:!0}),"l");const j=new p(1e3),g=C((r,e)=>{if(typeof r!="string")return"";const t=e?.cache??!1,n=e?.cacheStore??j;let a;if(t&&(a=d.a(r,e)),t&&a&&n.has(a))return n.get(a);const l=h.splitByCase(r,{handleAnsi:e?.handleAnsi,handleEmoji:e?.handleEmoji,knownAcronyms:e?.knownAcronyms,locale:e?.locale,normalize:e?.normalize,separators:void 0,stripAnsi:e?.stripAnsi,stripEmoji:e?.stripEmoji}).map(s=>{if(m.R.test(s))return s;const o=e?.locale?.startsWith("de")?q.l(s):s;return y(e?.locale?o.toLocaleLowerCase(e.locale):o.toLocaleLowerCase(),e)}),i=f(l," ");return t&&a&&n.set(a,i),i},"capitalCase");module.exports=g;
1
+ "use strict";var u=Object.defineProperty;var c=(r,e)=>u(r,"name",{value:e,configurable:!0});const m=require("../packem_shared/constants-DEcMFLn8.cjs"),p=require("../packem_shared/LRUCache-TYqfUYE5.cjs"),h=require("./split-by-case.cjs"),y=require("./upper-first.cjs"),d=require("../packem_shared/generate-cache-key-BZf0GiMs.cjs"),f=require("../packem_shared/joinSegments-Cs5mfgdt.cjs"),q=require("../packem_shared/normalize-german-eszett-Bop4wOp9.cjs");var A=Object.defineProperty,C=c((r,e)=>A(r,"name",{value:e,configurable:!0}),"l");const j=new p(1e3),g=C((r,e)=>{if(typeof r!="string")return"";const t=e?.cache??!1,n=e?.cacheStore??j;let a;if(t&&(a=d.a(r,e)),t&&a&&n.has(a))return n.get(a);const l=h.splitByCase(r,{handleAnsi:e?.handleAnsi,handleEmoji:e?.handleEmoji,knownAcronyms:e?.knownAcronyms,locale:e?.locale,normalize:e?.normalize,separators:void 0,stripAnsi:e?.stripAnsi,stripEmoji:e?.stripEmoji}).map(s=>{if(m.R.test(s))return s;const o=e?.locale?.startsWith("de")?q.l(s):s;return y(e?.locale?o.toLocaleLowerCase(e.locale):o.toLocaleLowerCase(),e)}),i=f(l," ");return t&&a&&n.set(a,i),i},"capitalCase");module.exports=g;
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, b as CapitalCase } from '../packem_shared/types-DrtiqNkK.cjs';
2
- import '../packem_shared/types-BSdIWVzn.cjs';
1
+ import { C as CaseOptions, b as CapitalCase } from '../packem_shared/types-Cnu8OB9S.cjs';
2
+ import '../packem_shared/types-Daae0hGf.cjs';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.cjs';
4
4
 
5
5
  declare const capitalCase: <T extends string = string>(value?: T, options?: CaseOptions) => CapitalCase<T>;
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, b as CapitalCase } from '../packem_shared/types-mlwFVBiS.mjs';
2
- import '../packem_shared/types-BSdIWVzn.mjs';
1
+ import { C as CaseOptions, b as CapitalCase } from '../packem_shared/types-CNJfNczL.mjs';
2
+ import '../packem_shared/types-Daae0hGf.mjs';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.mjs';
4
4
 
5
5
  declare const capitalCase: <T extends string = string>(value?: T, options?: CaseOptions) => CapitalCase<T>;
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, b as CapitalCase } from '../packem_shared/types-BfGNLD2K.js';
2
- import '../packem_shared/types-BSdIWVzn.js';
1
+ import { C as CaseOptions, b as CapitalCase } from '../packem_shared/types-CfPsw9ix.js';
2
+ import '../packem_shared/types-Daae0hGf.js';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.js';
4
4
 
5
5
  declare const capitalCase: <T extends string = string>(value?: T, options?: CaseOptions) => CapitalCase<T>;
@@ -1 +1 @@
1
- var c=Object.defineProperty;var l=(r,o)=>c(r,"name",{value:o,configurable:!0});import{R as p}from"../packem_shared/constants-Cd17VNEv.mjs";import f from"../packem_shared/LRUCache-Bjo6gsbC.mjs";import{splitByCase as u}from"./split-by-case.mjs";import A from"./upper-first.mjs";import{a as d}from"../packem_shared/generate-cache-key-DPByFaMH.mjs";import h from"../packem_shared/joinSegments-H7QJ7rwJ.mjs";import{l as y}from"../packem_shared/normalize-german-eszett-4k1qRtEP.mjs";var j=Object.defineProperty,w=l((r,o)=>j(r,"name",{value:o,configurable:!0}),"l");const E=new f(1e3),z=w((r,o)=>{if(typeof r!="string")return"";const e=o?.cache??!1,s=o?.cacheStore??E;let a;if(e&&(a=d(r,o)),e&&a&&s.has(a))return s.get(a);const m=u(r,{handleAnsi:o?.handleAnsi,handleEmoji:o?.handleEmoji,knownAcronyms:o?.knownAcronyms,locale:o?.locale,normalize:o?.normalize,separators:void 0,stripAnsi:o?.stripAnsi,stripEmoji:o?.stripEmoji}).map(t=>{if(p.test(t))return t;const n=o?.locale?.startsWith("de")?y(t):t;return A(o?.locale?n.toLocaleLowerCase(o.locale):n.toLocaleLowerCase(),o)}),i=h(m," ");return e&&a&&s.set(a,i),i},"capitalCase");export{z as default};
1
+ var c=Object.defineProperty;var l=(r,o)=>c(r,"name",{value:o,configurable:!0});import{R as p}from"../packem_shared/constants-CDcaCZKC.mjs";import f from"../packem_shared/LRUCache-Bjo6gsbC.mjs";import{splitByCase as u}from"./split-by-case.mjs";import A from"./upper-first.mjs";import{a as d}from"../packem_shared/generate-cache-key-DPByFaMH.mjs";import h from"../packem_shared/joinSegments-BNRq9dVI.mjs";import{l as y}from"../packem_shared/normalize-german-eszett-4k1qRtEP.mjs";var j=Object.defineProperty,w=l((r,o)=>j(r,"name",{value:o,configurable:!0}),"l");const E=new f(1e3),z=w((r,o)=>{if(typeof r!="string")return"";const e=o?.cache??!1,s=o?.cacheStore??E;let a;if(e&&(a=d(r,o)),e&&a&&s.has(a))return s.get(a);const m=u(r,{handleAnsi:o?.handleAnsi,handleEmoji:o?.handleEmoji,knownAcronyms:o?.knownAcronyms,locale:o?.locale,normalize:o?.normalize,separators:void 0,stripAnsi:o?.stripAnsi,stripEmoji:o?.stripEmoji}).map(t=>{if(p.test(t))return t;const n=o?.locale?.startsWith("de")?y(t):t;return A(o?.locale?n.toLocaleLowerCase(o.locale):n.toLocaleLowerCase(),o)}),i=h(m," ");return e&&a&&s.set(a,i),i},"capitalCase");export{z as default};
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, c as ConstantCase } from '../packem_shared/types-DrtiqNkK.cjs';
2
- import '../packem_shared/types-BSdIWVzn.cjs';
1
+ import { C as CaseOptions, c as ConstantCase } from '../packem_shared/types-Cnu8OB9S.cjs';
2
+ import '../packem_shared/types-Daae0hGf.cjs';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.cjs';
4
4
 
5
5
  declare const constantCase: <T extends string = string>(value?: T, options?: CaseOptions) => ConstantCase<T>;
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, c as ConstantCase } from '../packem_shared/types-mlwFVBiS.mjs';
2
- import '../packem_shared/types-BSdIWVzn.mjs';
1
+ import { C as CaseOptions, c as ConstantCase } from '../packem_shared/types-CNJfNczL.mjs';
2
+ import '../packem_shared/types-Daae0hGf.mjs';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.mjs';
4
4
 
5
5
  declare const constantCase: <T extends string = string>(value?: T, options?: CaseOptions) => ConstantCase<T>;
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, c as ConstantCase } from '../packem_shared/types-BfGNLD2K.js';
2
- import '../packem_shared/types-BSdIWVzn.js';
1
+ import { C as CaseOptions, c as ConstantCase } from '../packem_shared/types-CfPsw9ix.js';
2
+ import '../packem_shared/types-Daae0hGf.js';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.js';
4
4
 
5
5
  declare const constantCase: <T extends string = string>(value?: T, options?: CaseOptions) => ConstantCase<T>;
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, D as DotCase } from '../packem_shared/types-DrtiqNkK.cjs';
2
- import '../packem_shared/types-BSdIWVzn.cjs';
1
+ import { C as CaseOptions, D as DotCase } from '../packem_shared/types-Cnu8OB9S.cjs';
2
+ import '../packem_shared/types-Daae0hGf.cjs';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.cjs';
4
4
 
5
5
  declare const dotCase: <T extends string = string>(value?: T, options?: CaseOptions) => DotCase<T>;
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, D as DotCase } from '../packem_shared/types-mlwFVBiS.mjs';
2
- import '../packem_shared/types-BSdIWVzn.mjs';
1
+ import { C as CaseOptions, D as DotCase } from '../packem_shared/types-CNJfNczL.mjs';
2
+ import '../packem_shared/types-Daae0hGf.mjs';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.mjs';
4
4
 
5
5
  declare const dotCase: <T extends string = string>(value?: T, options?: CaseOptions) => DotCase<T>;
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, D as DotCase } from '../packem_shared/types-BfGNLD2K.js';
2
- import '../packem_shared/types-BSdIWVzn.js';
1
+ import { C as CaseOptions, D as DotCase } from '../packem_shared/types-CfPsw9ix.js';
2
+ import '../packem_shared/types-Daae0hGf.js';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.js';
4
4
 
5
5
  declare const dotCase: <T extends string = string>(value?: T, options?: CaseOptions) => DotCase<T>;
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, F as FlatCase } from '../packem_shared/types-DrtiqNkK.cjs';
2
- import '../packem_shared/types-BSdIWVzn.cjs';
1
+ import { C as CaseOptions, F as FlatCase } from '../packem_shared/types-Cnu8OB9S.cjs';
2
+ import '../packem_shared/types-Daae0hGf.cjs';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.cjs';
4
4
 
5
5
  declare const flatCase: <T extends string = string>(value?: T, options?: CaseOptions) => FlatCase<T>;
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, F as FlatCase } from '../packem_shared/types-mlwFVBiS.mjs';
2
- import '../packem_shared/types-BSdIWVzn.mjs';
1
+ import { C as CaseOptions, F as FlatCase } from '../packem_shared/types-CNJfNczL.mjs';
2
+ import '../packem_shared/types-Daae0hGf.mjs';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.mjs';
4
4
 
5
5
  declare const flatCase: <T extends string = string>(value?: T, options?: CaseOptions) => FlatCase<T>;
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, F as FlatCase } from '../packem_shared/types-BfGNLD2K.js';
2
- import '../packem_shared/types-BSdIWVzn.js';
1
+ import { C as CaseOptions, F as FlatCase } from '../packem_shared/types-CfPsw9ix.js';
2
+ import '../packem_shared/types-Daae0hGf.js';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.js';
4
4
 
5
5
  declare const flatCase: <T extends string = string>(value?: T, options?: CaseOptions) => FlatCase<T>;
@@ -1 +1 @@
1
- "use strict";var p=Object.defineProperty;var f=(a,e)=>p(a,"name",{value:e,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const h=require("node:util"),C=require("../packem_shared/constants-D3K8u3G8.cjs"),g=require("../packem_shared/LRUCache-TYqfUYE5.cjs"),d=require("../packem_shared/generate-cache-key-BZf0GiMs.cjs");var v=Object.defineProperty,L=f((a,e)=>v(a,"name",{value:e,configurable:!0}),"p");const b=new g(1e3),m=L((a,e)=>{if(typeof a!="string"||a.length===0)return"";const i=e?.cache??!1,s=e?.cacheStore??b;let l;if(i&&(l=d.a(a,e)),i&&l&&s.has(l))return s.get(l);let t=a;e?.stripEmoji&&(t=C.s(t)),e?.stripAnsi&&(t=h.stripVTControlCharacters(t));let n="",o=0;for(;o<t.length;){if(e?.handleAnsi&&t[o]==="\x1B"){let c=t[o];for(o++;o<t.length&&t[o]!=="m";)c+=t[o],o++;o<t.length&&(c+=t[o],n+=c),o++;continue}const r=t[o],u=e?.locale?r.toLocaleLowerCase(e.locale):r.toLowerCase();n+=r===u?e?.locale?r.toLocaleUpperCase(e.locale):r.toUpperCase():u,o++}return i&&l&&s.set(l,n),n},"flipCase");exports.flipCase=m;
1
+ "use strict";var p=Object.defineProperty;var f=(a,e)=>p(a,"name",{value:e,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const h=require("node:util"),C=require("../packem_shared/constants-DEcMFLn8.cjs"),g=require("../packem_shared/LRUCache-TYqfUYE5.cjs"),d=require("../packem_shared/generate-cache-key-BZf0GiMs.cjs");var v=Object.defineProperty,L=f((a,e)=>v(a,"name",{value:e,configurable:!0}),"p");const b=new g(1e3),m=L((a,e)=>{if(typeof a!="string"||a.length===0)return"";const i=e?.cache??!1,s=e?.cacheStore??b;let l;if(i&&(l=d.a(a,e)),i&&l&&s.has(l))return s.get(l);let t=a;e?.stripEmoji&&(t=C.s(t)),e?.stripAnsi&&(t=h.stripVTControlCharacters(t));let n="",o=0;for(;o<t.length;){if(e?.handleAnsi&&t[o]==="\x1B"){let c=t[o];for(o+=1;o<t.length&&t[o]!=="m";)c+=t[o],o+=1;o<t.length&&(c+=t[o],n+=c),o+=1;continue}const r=t[o],u=e?.locale?r.toLocaleLowerCase(e.locale):r.toLowerCase();n+=r===u?e?.locale?r.toLocaleUpperCase(e.locale):r.toUpperCase():u,o+=1}return i&&l&&s.set(l,n),n},"flipCase");exports.flipCase=m;
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, d as FlipCase } from '../packem_shared/types-DrtiqNkK.cjs';
2
- import '../packem_shared/types-BSdIWVzn.cjs';
1
+ import { C as CaseOptions, d as FlipCase } from '../packem_shared/types-Cnu8OB9S.cjs';
2
+ import '../packem_shared/types-Daae0hGf.cjs';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.cjs';
4
4
 
5
5
  type FlipOptions = Omit<CaseOptions, "handleEmoji">;
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, d as FlipCase } from '../packem_shared/types-mlwFVBiS.mjs';
2
- import '../packem_shared/types-BSdIWVzn.mjs';
1
+ import { C as CaseOptions, d as FlipCase } from '../packem_shared/types-CNJfNczL.mjs';
2
+ import '../packem_shared/types-Daae0hGf.mjs';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.mjs';
4
4
 
5
5
  type FlipOptions = Omit<CaseOptions, "handleEmoji">;
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, d as FlipCase } from '../packem_shared/types-BfGNLD2K.js';
2
- import '../packem_shared/types-BSdIWVzn.js';
1
+ import { C as CaseOptions, d as FlipCase } from '../packem_shared/types-CfPsw9ix.js';
2
+ import '../packem_shared/types-Daae0hGf.js';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.js';
4
4
 
5
5
  type FlipOptions = Omit<CaseOptions, "handleEmoji">;
@@ -1 +1 @@
1
- var m=Object.defineProperty;var f=(a,e)=>m(a,"name",{value:e,configurable:!0});import{stripVTControlCharacters as h}from"node:util";import{s as u}from"../packem_shared/constants-Cd17VNEv.mjs";import C from"../packem_shared/LRUCache-Bjo6gsbC.mjs";import{a as g}from"../packem_shared/generate-cache-key-DPByFaMH.mjs";var L=Object.defineProperty,j=f((a,e)=>L(a,"name",{value:e,configurable:!0}),"p");const v=new C(1e3),A=j((a,e)=>{if(typeof a!="string"||a.length===0)return"";const i=e?.cache??!1,s=e?.cacheStore??v;let r;if(i&&(r=g(a,e)),i&&r&&s.has(r))return s.get(r);let t=a;e?.stripEmoji&&(t=u(t)),e?.stripAnsi&&(t=h(t));let n="",o=0;for(;o<t.length;){if(e?.handleAnsi&&t[o]==="\x1B"){let c=t[o];for(o++;o<t.length&&t[o]!=="m";)c+=t[o],o++;o<t.length&&(c+=t[o],n+=c),o++;continue}const l=t[o],p=e?.locale?l.toLocaleLowerCase(e.locale):l.toLowerCase();n+=l===p?e?.locale?l.toLocaleUpperCase(e.locale):l.toUpperCase():p,o++}return i&&r&&s.set(r,n),n},"flipCase");export{A as flipCase};
1
+ var m=Object.defineProperty;var f=(a,e)=>m(a,"name",{value:e,configurable:!0});import{stripVTControlCharacters as h}from"node:util";import{s as u}from"../packem_shared/constants-CDcaCZKC.mjs";import C from"../packem_shared/LRUCache-Bjo6gsbC.mjs";import{a as g}from"../packem_shared/generate-cache-key-DPByFaMH.mjs";var L=Object.defineProperty,j=f((a,e)=>L(a,"name",{value:e,configurable:!0}),"p");const v=new C(1e3),A=j((a,e)=>{if(typeof a!="string"||a.length===0)return"";const i=e?.cache??!1,s=e?.cacheStore??v;let r;if(i&&(r=g(a,e)),i&&r&&s.has(r))return s.get(r);let t=a;e?.stripEmoji&&(t=u(t)),e?.stripAnsi&&(t=h(t));let n="",o=0;for(;o<t.length;){if(e?.handleAnsi&&t[o]==="\x1B"){let c=t[o];for(o+=1;o<t.length&&t[o]!=="m";)c+=t[o],o+=1;o<t.length&&(c+=t[o],n+=c),o+=1;continue}const l=t[o],p=e?.locale?l.toLocaleLowerCase(e.locale):l.toLowerCase();n+=l===p?e?.locale?l.toLocaleUpperCase(e.locale):l.toUpperCase():p,o+=1}return i&&r&&s.set(r,n),n},"flipCase");export{A as flipCase};
@@ -1,5 +1,5 @@
1
- import { I as IdentifyCase } from '../packem_shared/types-DrtiqNkK.cjs';
2
- import '../packem_shared/types-BSdIWVzn.cjs';
1
+ import { I as IdentifyCase } from '../packem_shared/types-Cnu8OB9S.cjs';
2
+ import '../packem_shared/types-Daae0hGf.cjs';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.cjs';
4
4
 
5
5
  declare const identifyCase: <T extends string = string>(value?: T) => IdentifyCase<T>;
@@ -1,5 +1,5 @@
1
- import { I as IdentifyCase } from '../packem_shared/types-mlwFVBiS.mjs';
2
- import '../packem_shared/types-BSdIWVzn.mjs';
1
+ import { I as IdentifyCase } from '../packem_shared/types-CNJfNczL.mjs';
2
+ import '../packem_shared/types-Daae0hGf.mjs';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.mjs';
4
4
 
5
5
  declare const identifyCase: <T extends string = string>(value?: T) => IdentifyCase<T>;
@@ -1,5 +1,5 @@
1
- import { I as IdentifyCase } from '../packem_shared/types-BfGNLD2K.js';
2
- import '../packem_shared/types-BSdIWVzn.js';
1
+ import { I as IdentifyCase } from '../packem_shared/types-CfPsw9ix.js';
2
+ import '../packem_shared/types-Daae0hGf.js';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.js';
4
4
 
5
5
  declare const identifyCase: <T extends string = string>(value?: T) => IdentifyCase<T>;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./camel-case.cjs"),a=require("./capital-case.cjs"),s=require("./constant-case.cjs"),r=require("./dot-case.cjs"),i=require("./flat-case.cjs"),t=require("./flip-case.cjs"),C=require("./identify-case.cjs"),c=require("./kebab-case.cjs"),u=require("./lower-first.cjs"),l=require("./no-case.cjs"),n=require("./pascal-case.cjs"),_=require("./pascal-snake-case.cjs"),q=require("./path-case.cjs"),p=require("./sentence-case.cjs"),o=require("./snake-case.cjs"),b=require("./split-by-case.cjs"),f=require("./title-case.cjs"),d=require("./train-case.cjs"),k=require("./upper-first.cjs"),y=require("../packem_shared/joinSegments-CDHNMXsF.cjs");exports.camelCase=e;exports.capitalCase=a;exports.constantCase=s;exports.dotCase=r;exports.flatCase=i;exports.flipCase=t.flipCase;exports.identifyCase=C;exports.kebabCase=c.kebabCase;exports.lowerFirst=u;exports.noCase=l;exports.pascalCase=n;exports.pascalSnakeCase=_;exports.pathCase=q;exports.sentenceCase=p;exports.snakeCase=o;exports.splitByCase=b.splitByCase;exports.titleCase=f;exports.trainCase=d;exports.upperFirst=k;exports.joinSegments=y;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./camel-case.cjs"),a=require("./capital-case.cjs"),s=require("./constant-case.cjs"),r=require("./dot-case.cjs"),i=require("./flat-case.cjs"),t=require("./flip-case.cjs"),C=require("./identify-case.cjs"),c=require("./kebab-case.cjs"),u=require("./lower-first.cjs"),l=require("./no-case.cjs"),n=require("./pascal-case.cjs"),_=require("./pascal-snake-case.cjs"),q=require("./path-case.cjs"),p=require("./sentence-case.cjs"),o=require("./snake-case.cjs"),b=require("./split-by-case.cjs"),f=require("./title-case.cjs"),d=require("./train-case.cjs"),k=require("./upper-first.cjs"),y=require("../packem_shared/joinSegments-Cs5mfgdt.cjs");exports.camelCase=e;exports.capitalCase=a;exports.constantCase=s;exports.dotCase=r;exports.flatCase=i;exports.flipCase=t.flipCase;exports.identifyCase=C;exports.kebabCase=c.kebabCase;exports.lowerFirst=u;exports.noCase=l;exports.pascalCase=n;exports.pascalSnakeCase=_;exports.pathCase=q;exports.sentenceCase=p;exports.snakeCase=o;exports.splitByCase=b.splitByCase;exports.titleCase=f;exports.trainCase=d;exports.upperFirst=k;exports.joinSegments=y;
@@ -1,4 +1,4 @@
1
- export { N as NodeLocale } from '../packem_shared/types-BSdIWVzn.cjs';
1
+ export { N as NodeLocale } from '../packem_shared/types-Daae0hGf.cjs';
2
2
  export { default as camelCase } from './camel-case.cjs';
3
3
  export { default as capitalCase } from './capital-case.cjs';
4
4
  export { default as constantCase } from './constant-case.cjs';
@@ -17,7 +17,7 @@ export { default as snakeCase } from './snake-case.cjs';
17
17
  export { SplitOptions, splitByCase } from './split-by-case.cjs';
18
18
  export { default as titleCase } from './title-case.cjs';
19
19
  export { default as trainCase } from './train-case.cjs';
20
- export { a as CamelCase, b as CapitalCase, C as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from '../packem_shared/types-DrtiqNkK.cjs';
20
+ export { a as CamelCase, b as CapitalCase, C as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from '../packem_shared/types-Cnu8OB9S.cjs';
21
21
  export { default as upperFirst } from './upper-first.cjs';
22
22
  import '../packem_shared/lru-cache-B_t27XwI.cjs';
23
23
 
@@ -1,4 +1,4 @@
1
- export { N as NodeLocale } from '../packem_shared/types-BSdIWVzn.mjs';
1
+ export { N as NodeLocale } from '../packem_shared/types-Daae0hGf.mjs';
2
2
  export { default as camelCase } from './camel-case.mjs';
3
3
  export { default as capitalCase } from './capital-case.mjs';
4
4
  export { default as constantCase } from './constant-case.mjs';
@@ -17,7 +17,7 @@ export { default as snakeCase } from './snake-case.mjs';
17
17
  export { SplitOptions, splitByCase } from './split-by-case.mjs';
18
18
  export { default as titleCase } from './title-case.mjs';
19
19
  export { default as trainCase } from './train-case.mjs';
20
- export { a as CamelCase, b as CapitalCase, C as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from '../packem_shared/types-mlwFVBiS.mjs';
20
+ export { a as CamelCase, b as CapitalCase, C as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from '../packem_shared/types-CNJfNczL.mjs';
21
21
  export { default as upperFirst } from './upper-first.mjs';
22
22
  import '../packem_shared/lru-cache-B_t27XwI.mjs';
23
23
 
@@ -1,4 +1,4 @@
1
- export { N as NodeLocale } from '../packem_shared/types-BSdIWVzn.js';
1
+ export { N as NodeLocale } from '../packem_shared/types-Daae0hGf.js';
2
2
  export { default as camelCase } from './camel-case.js';
3
3
  export { default as capitalCase } from './capital-case.js';
4
4
  export { default as constantCase } from './constant-case.js';
@@ -17,7 +17,7 @@ export { default as snakeCase } from './snake-case.js';
17
17
  export { SplitOptions, splitByCase } from './split-by-case.js';
18
18
  export { default as titleCase } from './title-case.js';
19
19
  export { default as trainCase } from './train-case.js';
20
- export { a as CamelCase, b as CapitalCase, C as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from '../packem_shared/types-BfGNLD2K.js';
20
+ export { a as CamelCase, b as CapitalCase, C as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from '../packem_shared/types-CfPsw9ix.js';
21
21
  export { default as upperFirst } from './upper-first.js';
22
22
  import '../packem_shared/lru-cache-B_t27XwI.js';
23
23
 
@@ -1 +1 @@
1
- import{default as t}from"./camel-case.mjs";import{default as r}from"./capital-case.mjs";import{default as f}from"./constant-case.mjs";import{default as l}from"./dot-case.mjs";import{default as x}from"./flat-case.mjs";import{flipCase as u}from"./flip-case.mjs";import{default as n}from"./identify-case.mjs";import{kebabCase as c}from"./kebab-case.mjs";import{default as b}from"./lower-first.mjs";import{default as F}from"./no-case.mjs";import{default as g}from"./pascal-case.mjs";import{default as j}from"./pascal-snake-case.mjs";import{default as B}from"./path-case.mjs";import{default as v}from"./sentence-case.mjs";import{default as A}from"./snake-case.mjs";import{splitByCase as E}from"./split-by-case.mjs";import{default as H}from"./title-case.mjs";import{default as J}from"./train-case.mjs";import{default as L}from"./upper-first.mjs";import{default as N}from"../packem_shared/joinSegments-H7QJ7rwJ.mjs";export{t as camelCase,r as capitalCase,f as constantCase,l as dotCase,x as flatCase,u as flipCase,n as identifyCase,N as joinSegments,c as kebabCase,b as lowerFirst,F as noCase,g as pascalCase,j as pascalSnakeCase,B as pathCase,v as sentenceCase,A as snakeCase,E as splitByCase,H as titleCase,J as trainCase,L as upperFirst};
1
+ import{default as t}from"./camel-case.mjs";import{default as r}from"./capital-case.mjs";import{default as f}from"./constant-case.mjs";import{default as l}from"./dot-case.mjs";import{default as x}from"./flat-case.mjs";import{flipCase as u}from"./flip-case.mjs";import{default as n}from"./identify-case.mjs";import{kebabCase as c}from"./kebab-case.mjs";import{default as b}from"./lower-first.mjs";import{default as F}from"./no-case.mjs";import{default as g}from"./pascal-case.mjs";import{default as j}from"./pascal-snake-case.mjs";import{default as B}from"./path-case.mjs";import{default as v}from"./sentence-case.mjs";import{default as A}from"./snake-case.mjs";import{splitByCase as E}from"./split-by-case.mjs";import{default as H}from"./title-case.mjs";import{default as J}from"./train-case.mjs";import{default as L}from"./upper-first.mjs";import{default as N}from"../packem_shared/joinSegments-BNRq9dVI.mjs";export{t as camelCase,r as capitalCase,f as constantCase,l as dotCase,x as flatCase,u as flipCase,n as identifyCase,N as joinSegments,c as kebabCase,b as lowerFirst,F as noCase,g as pascalCase,j as pascalSnakeCase,B as pathCase,v as sentenceCase,A as snakeCase,E as splitByCase,H as titleCase,J as trainCase,L as upperFirst};
@@ -1 +1 @@
1
- "use strict";var u=Object.defineProperty;var l=(r,e)=>u(r,"name",{value:e,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const p=require("../packem_shared/constants-D3K8u3G8.cjs"),m=require("../packem_shared/LRUCache-TYqfUYE5.cjs"),C=require("./split-by-case.cjs"),d=require("../packem_shared/generate-cache-key-BZf0GiMs.cjs"),h=require("../packem_shared/joinSegments-CDHNMXsF.cjs"),b=require("../packem_shared/normalize-german-eszett-Bop4wOp9.cjs");var f=Object.defineProperty,j=l((r,e)=>f(r,"name",{value:e,configurable:!0}),"o");const y=new m(1e3),g=j((r,e)=>{if(typeof r!="string")return"";const o=e?.cache??!1,s=e?.cacheStore??y;let t;if(o&&(t=d.a(r,e)),o&&t&&s.has(t))return s.get(t);const c=C.splitByCase(r,{handleAnsi:e?.handleAnsi,handleEmoji:e?.handleEmoji,knownAcronyms:e?.knownAcronyms,locale:e?.locale,normalize:e?.normalize,separators:void 0,stripAnsi:e?.stripAnsi,stripEmoji:e?.stripEmoji}).map(a=>{if(e?.handleAnsi&&p.R.test(a))return a;if(e?.toUpperCase)return e.locale?a.toLocaleUpperCase(e.locale):a.toUpperCase();const i=e?.locale?.startsWith("de")?b.l(a):a;return e?.locale?i.toLocaleLowerCase(e.locale):i.toLowerCase()}),n=h(c,e?.joiner??"-");return o&&t&&s.set(t,n),n},"kebabCase");exports.kebabCase=g;
1
+ "use strict";var u=Object.defineProperty;var l=(r,e)=>u(r,"name",{value:e,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const p=require("../packem_shared/constants-DEcMFLn8.cjs"),m=require("../packem_shared/LRUCache-TYqfUYE5.cjs"),C=require("./split-by-case.cjs"),d=require("../packem_shared/generate-cache-key-BZf0GiMs.cjs"),h=require("../packem_shared/joinSegments-Cs5mfgdt.cjs"),b=require("../packem_shared/normalize-german-eszett-Bop4wOp9.cjs");var f=Object.defineProperty,j=l((r,e)=>f(r,"name",{value:e,configurable:!0}),"o");const y=new m(1e3),g=j((r,e)=>{if(typeof r!="string")return"";const o=e?.cache??!1,s=e?.cacheStore??y;let t;if(o&&(t=d.a(r,e)),o&&t&&s.has(t))return s.get(t);const c=C.splitByCase(r,{handleAnsi:e?.handleAnsi,handleEmoji:e?.handleEmoji,knownAcronyms:e?.knownAcronyms,locale:e?.locale,normalize:e?.normalize,separators:void 0,stripAnsi:e?.stripAnsi,stripEmoji:e?.stripEmoji}).map(a=>{if(e?.handleAnsi&&p.R.test(a))return a;if(e?.toUpperCase)return e.locale?a.toLocaleUpperCase(e.locale):a.toUpperCase();const i=e?.locale?.startsWith("de")?b.l(a):a;return e?.locale?i.toLocaleLowerCase(e.locale):i.toLowerCase()}),n=h(c,e?.joiner??"-");return o&&t&&s.set(t,n),n},"kebabCase");exports.kebabCase=g;
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, K as KebabCase } from '../packem_shared/types-DrtiqNkK.cjs';
2
- import '../packem_shared/types-BSdIWVzn.cjs';
1
+ import { C as CaseOptions, K as KebabCase } from '../packem_shared/types-Cnu8OB9S.cjs';
2
+ import '../packem_shared/types-Daae0hGf.cjs';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.cjs';
4
4
 
5
5
  interface KebabCaseOptions extends CaseOptions {
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, K as KebabCase } from '../packem_shared/types-mlwFVBiS.mjs';
2
- import '../packem_shared/types-BSdIWVzn.mjs';
1
+ import { C as CaseOptions, K as KebabCase } from '../packem_shared/types-CNJfNczL.mjs';
2
+ import '../packem_shared/types-Daae0hGf.mjs';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.mjs';
4
4
 
5
5
  interface KebabCaseOptions extends CaseOptions {
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, K as KebabCase } from '../packem_shared/types-BfGNLD2K.js';
2
- import '../packem_shared/types-BSdIWVzn.js';
1
+ import { C as CaseOptions, K as KebabCase } from '../packem_shared/types-CfPsw9ix.js';
2
+ import '../packem_shared/types-Daae0hGf.js';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.js';
4
4
 
5
5
  interface KebabCaseOptions extends CaseOptions {
@@ -1 +1 @@
1
- var m=Object.defineProperty;var l=(r,o)=>m(r,"name",{value:o,configurable:!0});import{R as p}from"../packem_shared/constants-Cd17VNEv.mjs";import f from"../packem_shared/LRUCache-Bjo6gsbC.mjs";import{splitByCase as u}from"./split-by-case.mjs";import{a as h}from"../packem_shared/generate-cache-key-DPByFaMH.mjs";import A from"../packem_shared/joinSegments-H7QJ7rwJ.mjs";import{l as d}from"../packem_shared/normalize-german-eszett-4k1qRtEP.mjs";var C=Object.defineProperty,b=l((r,o)=>C(r,"name",{value:o,configurable:!0}),"o");const j=new f(1e3),S=b((r,o)=>{if(typeof r!="string")return"";const a=o?.cache??!1,s=o?.cacheStore??j;let e;if(a&&(e=h(r,o)),a&&e&&s.has(e))return s.get(e);const c=u(r,{handleAnsi:o?.handleAnsi,handleEmoji:o?.handleEmoji,knownAcronyms:o?.knownAcronyms,locale:o?.locale,normalize:o?.normalize,separators:void 0,stripAnsi:o?.stripAnsi,stripEmoji:o?.stripEmoji}).map(t=>{if(o?.handleAnsi&&p.test(t))return t;if(o?.toUpperCase)return o.locale?t.toLocaleUpperCase(o.locale):t.toUpperCase();const i=o?.locale?.startsWith("de")?d(t):t;return o?.locale?i.toLocaleLowerCase(o.locale):i.toLowerCase()}),n=A(c,o?.joiner??"-");return a&&e&&s.set(e,n),n},"kebabCase");export{S as kebabCase};
1
+ var m=Object.defineProperty;var l=(r,o)=>m(r,"name",{value:o,configurable:!0});import{R as p}from"../packem_shared/constants-CDcaCZKC.mjs";import f from"../packem_shared/LRUCache-Bjo6gsbC.mjs";import{splitByCase as u}from"./split-by-case.mjs";import{a as h}from"../packem_shared/generate-cache-key-DPByFaMH.mjs";import A from"../packem_shared/joinSegments-BNRq9dVI.mjs";import{l as d}from"../packem_shared/normalize-german-eszett-4k1qRtEP.mjs";var C=Object.defineProperty,b=l((r,o)=>C(r,"name",{value:o,configurable:!0}),"o");const j=new f(1e3),S=b((r,o)=>{if(typeof r!="string")return"";const a=o?.cache??!1,s=o?.cacheStore??j;let e;if(a&&(e=h(r,o)),a&&e&&s.has(e))return s.get(e);const c=u(r,{handleAnsi:o?.handleAnsi,handleEmoji:o?.handleEmoji,knownAcronyms:o?.knownAcronyms,locale:o?.locale,normalize:o?.normalize,separators:void 0,stripAnsi:o?.stripAnsi,stripEmoji:o?.stripEmoji}).map(t=>{if(o?.handleAnsi&&p.test(t))return t;if(o?.toUpperCase)return o.locale?t.toLocaleUpperCase(o.locale):t.toUpperCase();const i=o?.locale?.startsWith("de")?d(t):t;return o?.locale?i.toLocaleLowerCase(o.locale):i.toLowerCase()}),n=A(c,o?.joiner??"-");return a&&e&&s.set(e,n),n},"kebabCase");export{S as kebabCase};
@@ -1,5 +1,5 @@
1
- import { L as LocaleOptions, e as LowerFirst } from '../packem_shared/types-DrtiqNkK.cjs';
2
- import '../packem_shared/types-BSdIWVzn.cjs';
1
+ import { L as LocaleOptions, e as LowerFirst } from '../packem_shared/types-Cnu8OB9S.cjs';
2
+ import '../packem_shared/types-Daae0hGf.cjs';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.cjs';
4
4
 
5
5
  declare const lowerFirst: <T extends string = string>(value?: T, options?: LocaleOptions) => LowerFirst<T>;
@@ -1,5 +1,5 @@
1
- import { L as LocaleOptions, e as LowerFirst } from '../packem_shared/types-mlwFVBiS.mjs';
2
- import '../packem_shared/types-BSdIWVzn.mjs';
1
+ import { L as LocaleOptions, e as LowerFirst } from '../packem_shared/types-CNJfNczL.mjs';
2
+ import '../packem_shared/types-Daae0hGf.mjs';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.mjs';
4
4
 
5
5
  declare const lowerFirst: <T extends string = string>(value?: T, options?: LocaleOptions) => LowerFirst<T>;
@@ -1,5 +1,5 @@
1
- import { L as LocaleOptions, e as LowerFirst } from '../packem_shared/types-BfGNLD2K.js';
2
- import '../packem_shared/types-BSdIWVzn.js';
1
+ import { L as LocaleOptions, e as LowerFirst } from '../packem_shared/types-CfPsw9ix.js';
2
+ import '../packem_shared/types-Daae0hGf.js';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.js';
4
4
 
5
5
  declare const lowerFirst: <T extends string = string>(value?: T, options?: LocaleOptions) => LowerFirst<T>;
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, N as NoCase } from '../packem_shared/types-DrtiqNkK.cjs';
2
- import '../packem_shared/types-BSdIWVzn.cjs';
1
+ import { C as CaseOptions, N as NoCase } from '../packem_shared/types-Cnu8OB9S.cjs';
2
+ import '../packem_shared/types-Daae0hGf.cjs';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.cjs';
4
4
 
5
5
  declare const noCase: <T extends string = string>(value?: T, options?: CaseOptions) => NoCase<T>;
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, N as NoCase } from '../packem_shared/types-mlwFVBiS.mjs';
2
- import '../packem_shared/types-BSdIWVzn.mjs';
1
+ import { C as CaseOptions, N as NoCase } from '../packem_shared/types-CNJfNczL.mjs';
2
+ import '../packem_shared/types-Daae0hGf.mjs';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.mjs';
4
4
 
5
5
  declare const noCase: <T extends string = string>(value?: T, options?: CaseOptions) => NoCase<T>;
@@ -1,5 +1,5 @@
1
- import { C as CaseOptions, N as NoCase } from '../packem_shared/types-BfGNLD2K.js';
2
- import '../packem_shared/types-BSdIWVzn.js';
1
+ import { C as CaseOptions, N as NoCase } from '../packem_shared/types-CfPsw9ix.js';
2
+ import '../packem_shared/types-Daae0hGf.js';
3
3
  import '../packem_shared/lru-cache-B_t27XwI.js';
4
4
 
5
5
  declare const noCase: <T extends string = string>(value?: T, options?: CaseOptions) => NoCase<T>;
@@ -1 +1 @@
1
- "use strict";var c=Object.defineProperty;var l=(r,e)=>c(r,"name",{value:e,configurable:!0});const u=require("../packem_shared/constants-D3K8u3G8.cjs"),m=require("../packem_shared/LRUCache-TYqfUYE5.cjs"),p=require("./split-by-case.cjs"),h=require("./upper-first.cjs"),d=require("../packem_shared/generate-cache-key-BZf0GiMs.cjs"),A=require("../packem_shared/joinSegments-CDHNMXsF.cjs"),f=require("../packem_shared/normalize-german-eszett-Bop4wOp9.cjs");var q=Object.defineProperty,y=l((r,e)=>q(r,"name",{value:e,configurable:!0}),"i");const C=new m(1e3),j=y((r,e)=>{if(typeof r!="string"||!r)return"";const n=e?.cache??!1,s=e?.cacheStore??C;let t;if(n&&(t=d.a(r,e)),n&&t&&s.has(t))return s.get(t);const i=A(p.splitByCase(r,{handleAnsi:e?.handleAnsi,handleEmoji:e?.handleEmoji,knownAcronyms:e?.knownAcronyms,locale:e?.locale,normalize:e?.normalize,separators:void 0,stripAnsi:e?.stripAnsi,stripEmoji:e?.stripEmoji}).map(a=>{if(e?.handleAnsi&&u.R.test(a))return a;const o=e?.locale?.startsWith("de")?f.l(a):a;return h(e?.locale?o.toLocaleLowerCase(e.locale):o.toLowerCase(),{locale:e?.locale})}),"");return n&&t&&s.set(t,i),i},"pascalCase");module.exports=j;
1
+ "use strict";var c=Object.defineProperty;var l=(r,e)=>c(r,"name",{value:e,configurable:!0});const u=require("../packem_shared/constants-DEcMFLn8.cjs"),m=require("../packem_shared/LRUCache-TYqfUYE5.cjs"),p=require("./split-by-case.cjs"),h=require("./upper-first.cjs"),d=require("../packem_shared/generate-cache-key-BZf0GiMs.cjs"),A=require("../packem_shared/joinSegments-Cs5mfgdt.cjs"),f=require("../packem_shared/normalize-german-eszett-Bop4wOp9.cjs");var q=Object.defineProperty,y=l((r,e)=>q(r,"name",{value:e,configurable:!0}),"i");const C=new m(1e3),j=y((r,e)=>{if(typeof r!="string"||!r)return"";const n=e?.cache??!1,s=e?.cacheStore??C;let t;if(n&&(t=d.a(r,e)),n&&t&&s.has(t))return s.get(t);const i=A(p.splitByCase(r,{handleAnsi:e?.handleAnsi,handleEmoji:e?.handleEmoji,knownAcronyms:e?.knownAcronyms,locale:e?.locale,normalize:e?.normalize,separators:void 0,stripAnsi:e?.stripAnsi,stripEmoji:e?.stripEmoji}).map(a=>{if(e?.handleAnsi&&u.R.test(a))return a;const o=e?.locale?.startsWith("de")?f.l(a):a;return h(e?.locale?o.toLocaleLowerCase(e.locale):o.toLowerCase(),{locale:e?.locale})}),"");return n&&t&&s.set(t,i),i},"pascalCase");module.exports=j;