si-funciona 2.3.2 → 2.3.4

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 (181) hide show
  1. package/README.md +1337 -1244
  2. package/browser/siFunciona.js +24205 -24282
  3. package/browser/siFunciona.min.js +1 -1
  4. package/dist/helpers/arrays/BasicQueue.d.ts +66 -61
  5. package/dist/helpers/arrays/BasicQueue.js +62 -60
  6. package/dist/helpers/arrays/BasicQueue.min.js +1 -1
  7. package/dist/helpers/arrays/addUniqueToArray.d.ts +1 -0
  8. package/dist/helpers/arrays/buildArray.d.ts +1 -0
  9. package/dist/helpers/arrays/buildArrayOfReferences.d.ts +1 -0
  10. package/dist/helpers/arrays/compareArrays.d.ts +1 -0
  11. package/dist/helpers/arrays/compareArrays.js +24 -30
  12. package/dist/helpers/arrays/compareArrays.min.js +1 -1
  13. package/dist/helpers/arrays/mergeArrays.d.ts +1 -0
  14. package/dist/helpers/arrays/mergeArrays.js +2 -7
  15. package/dist/helpers/arrays/mergeArrays.min.js +1 -1
  16. package/dist/helpers/arrays/uniqueArray.d.ts +1 -0
  17. package/dist/helpers/arrays.d.ts +22 -20
  18. package/dist/helpers/arrays.js +33 -32
  19. package/dist/helpers/descriptors/assignDescriptor.d.ts +15 -11
  20. package/dist/helpers/descriptors/assignDescriptor.js +58 -60
  21. package/dist/helpers/descriptors/assignDescriptor.min.js +1 -1
  22. package/dist/helpers/descriptors/assignDescriptorDetail.d.ts +15 -11
  23. package/dist/helpers/descriptors/assignDescriptorDetail.js +37 -38
  24. package/dist/helpers/descriptors/assignDescriptorDetail.min.js +1 -1
  25. package/dist/helpers/descriptors/checkClearValues.d.ts +13 -11
  26. package/dist/helpers/descriptors/checkClearValues.js +21 -23
  27. package/dist/helpers/descriptors/checkClearValues.min.js +1 -1
  28. package/dist/helpers/descriptors/checkDescriptorComplete.d.ts +12 -10
  29. package/dist/helpers/descriptors/checkDescriptorComplete.js +20 -19
  30. package/dist/helpers/descriptors/cloneDescriptor.d.ts +11 -10
  31. package/dist/helpers/descriptors/cloneDescriptor.js +36 -37
  32. package/dist/helpers/descriptors/cloneDescriptor.min.js +1 -1
  33. package/dist/helpers/descriptors/cloneDescriptorDetail.d.ts +11 -10
  34. package/dist/helpers/descriptors/cloneDescriptorDetail.js +27 -27
  35. package/dist/helpers/descriptors/compareDescriptor.d.ts +14 -11
  36. package/dist/helpers/descriptors/compareDescriptor.js +33 -32
  37. package/dist/helpers/descriptors/compareDescriptor.min.js +1 -1
  38. package/dist/helpers/descriptors/describeObject.d.ts +16 -13
  39. package/dist/helpers/descriptors/describeObject.js +53 -51
  40. package/dist/helpers/descriptors/describeObjectDetail.d.ts +15 -12
  41. package/dist/helpers/descriptors/describeObjectDetail.js +38 -38
  42. package/dist/helpers/descriptors/describeObjectDetail.min.js +1 -1
  43. package/dist/helpers/descriptors/describeObjectMap.d.ts +37 -20
  44. package/dist/helpers/descriptors/describeObjectMap.js +108 -97
  45. package/dist/helpers/descriptors/describeObjectMap.min.js +1 -1
  46. package/dist/helpers/descriptors/nextReference.d.ts +14 -11
  47. package/dist/helpers/descriptors/nextReference.js +31 -29
  48. package/dist/helpers/descriptors/sameDescriptor.d.ts +14 -11
  49. package/dist/helpers/descriptors/sameDescriptor.js +22 -20
  50. package/dist/helpers/descriptors/samples/descriptor.d.ts +35 -27
  51. package/dist/helpers/descriptors/samples/descriptorDetail.d.ts +43 -34
  52. package/dist/helpers/descriptors/samples/descriptorMap.d.ts +17 -12
  53. package/dist/helpers/descriptors/samples/mappedDescriptorMap.d.ts +11 -7
  54. package/dist/helpers/descriptors/samples/mappedDescriptorMap.js +287 -284
  55. package/dist/helpers/descriptors.d.ts +45 -28
  56. package/dist/helpers/descriptors.js +58 -42
  57. package/dist/helpers/functions/callWithParams.d.ts +1 -0
  58. package/dist/helpers/functions/callWithParams.js +1 -6
  59. package/dist/helpers/functions/callWithParams.min.js +1 -1
  60. package/dist/helpers/functions/curry.d.ts +1 -0
  61. package/dist/helpers/functions/curry.js +1 -12
  62. package/dist/helpers/functions/curry.min.js +1 -1
  63. package/dist/helpers/functions/delay.d.ts +1 -0
  64. package/dist/helpers/functions/delay.js +4 -5
  65. package/dist/helpers/functions/delay.min.js +1 -1
  66. package/dist/helpers/functions/makeBasicQueue.d.ts +11 -10
  67. package/dist/helpers/functions/makeBasicQueue.js +19 -20
  68. package/dist/helpers/functions/makeBasicQueue.min.js +1 -1
  69. package/dist/helpers/functions/onBodyLoad.d.ts +1 -0
  70. package/dist/helpers/functions/onBodyLoad.js +1 -2
  71. package/dist/helpers/functions/onBodyLoad.min.js +1 -1
  72. package/dist/helpers/functions/pipe.d.ts +1 -0
  73. package/dist/helpers/functions/pipe.js +3 -6
  74. package/dist/helpers/functions/pipe.min.js +1 -1
  75. package/dist/helpers/functions/preloadParams.d.ts +1 -0
  76. package/dist/helpers/functions/preloadParams.js +3 -8
  77. package/dist/helpers/functions/preloadParams.min.js +1 -1
  78. package/dist/helpers/functions/queueManager.d.ts +50 -47
  79. package/dist/helpers/functions/queueManager.js +124 -132
  80. package/dist/helpers/functions/queueManager.min.js +1 -1
  81. package/dist/helpers/functions/queueTimeout.d.ts +1 -0
  82. package/dist/helpers/functions/queueTimeout.js +2 -10
  83. package/dist/helpers/functions/queueTimeout.min.js +1 -1
  84. package/dist/helpers/functions/relevancyFilter.d.ts +36 -35
  85. package/dist/helpers/functions/relevancyFilter.js +34 -36
  86. package/dist/helpers/functions/relevancyFilter.min.js +1 -1
  87. package/dist/helpers/functions/trace.d.ts +15 -12
  88. package/dist/helpers/functions/trace.js +25 -26
  89. package/dist/helpers/functions/trace.min.js +1 -1
  90. package/dist/helpers/functions.d.ts +1 -0
  91. package/dist/helpers/numbers/absoluteMax.d.ts +1 -0
  92. package/dist/helpers/numbers/absoluteMin.d.ts +1 -0
  93. package/dist/helpers/numbers/compare.d.ts +1 -0
  94. package/dist/helpers/numbers/greatestCommonDivisor.d.ts +1 -0
  95. package/dist/helpers/numbers/leastCommonMultiple.d.ts +1 -0
  96. package/dist/helpers/numbers/lowestCommonDenominator.d.ts +11 -10
  97. package/dist/helpers/numbers/lowestCommonDenominator.js +20 -23
  98. package/dist/helpers/numbers/lowestCommonDenominator.min.js +1 -1
  99. package/dist/helpers/numbers/randomInteger.d.ts +1 -0
  100. package/dist/helpers/numbers/randomInteger.js +1 -5
  101. package/dist/helpers/numbers/randomInteger.min.js +1 -1
  102. package/dist/helpers/numbers/randomNumber.d.ts +1 -0
  103. package/dist/helpers/numbers/randomNumber.js +1 -5
  104. package/dist/helpers/numbers/randomNumber.min.js +1 -1
  105. package/dist/helpers/numbers/simplestRatio.d.ts +1 -0
  106. package/dist/helpers/numbers/simplestRatio.js +4 -4
  107. package/dist/helpers/numbers/simplestRatio.min.js +1 -1
  108. package/dist/helpers/numbers.d.ts +1 -0
  109. package/dist/helpers/objects/cloneObject.d.ts +1 -0
  110. package/dist/helpers/objects/cloneObject.js +10 -15
  111. package/dist/helpers/objects/cloneObject.min.js +1 -1
  112. package/dist/helpers/objects/dotGet.d.ts +1 -0
  113. package/dist/helpers/objects/dotGet.js +1 -2
  114. package/dist/helpers/objects/dotGet.min.js +1 -1
  115. package/dist/helpers/objects/dotNotate.d.ts +1 -0
  116. package/dist/helpers/objects/dotNotate.js +6 -15
  117. package/dist/helpers/objects/dotNotate.min.js +1 -1
  118. package/dist/helpers/objects/dotSet.d.ts +1 -0
  119. package/dist/helpers/objects/dotSet.js +1 -2
  120. package/dist/helpers/objects/dotSet.min.js +1 -1
  121. package/dist/helpers/objects/dotUnset.d.ts +1 -0
  122. package/dist/helpers/objects/emptyObject.d.ts +1 -0
  123. package/dist/helpers/objects/filterObject.d.ts +1 -0
  124. package/dist/helpers/objects/filterObject.js +8 -11
  125. package/dist/helpers/objects/filterObject.min.js +1 -1
  126. package/dist/helpers/objects/isCloneable.d.ts +1 -0
  127. package/dist/helpers/objects/isInstanceObject.d.ts +1 -0
  128. package/dist/helpers/objects/isObject.d.ts +1 -0
  129. package/dist/helpers/objects/mapObject.d.ts +1 -0
  130. package/dist/helpers/objects/mapObject.js +1 -4
  131. package/dist/helpers/objects/mapObject.min.js +1 -1
  132. package/dist/helpers/objects/mergeObjects.d.ts +1 -0
  133. package/dist/helpers/objects/mergeObjectsBase.d.ts +1 -0
  134. package/dist/helpers/objects/mergeObjectsBase.js +58 -67
  135. package/dist/helpers/objects/mergeObjectsBase.min.js +1 -1
  136. package/dist/helpers/objects/mergeObjectsMutable.d.ts +1 -0
  137. package/dist/helpers/objects/objectKeys.d.ts +1 -0
  138. package/dist/helpers/objects/objectKeys.js +1 -2
  139. package/dist/helpers/objects/objectKeys.min.js +1 -1
  140. package/dist/helpers/objects/objectValues.d.ts +1 -0
  141. package/dist/helpers/objects/objectValues.js +1 -4
  142. package/dist/helpers/objects/objectValues.min.js +1 -1
  143. package/dist/helpers/objects/reduceObject.d.ts +1 -0
  144. package/dist/helpers/objects/reduceObject.js +1 -4
  145. package/dist/helpers/objects/reduceObject.min.js +1 -1
  146. package/dist/helpers/objects/setAndReturnValue.d.ts +1 -0
  147. package/dist/helpers/objects/setValue.d.ts +1 -0
  148. package/dist/helpers/objects.d.ts +5 -4
  149. package/dist/helpers/strings/camelCase.d.ts +10 -9
  150. package/dist/helpers/strings/camelCase.js +20 -20
  151. package/dist/helpers/strings/kabobCase.d.ts +10 -9
  152. package/dist/helpers/strings/kabobCase.js +19 -19
  153. package/dist/helpers/strings/makeFilepath.d.ts +10 -9
  154. package/dist/helpers/strings/makeFilepath.js +49 -50
  155. package/dist/helpers/strings/makeFilepath.min.js +1 -1
  156. package/dist/helpers/strings/makeRelativePath.d.ts +10 -9
  157. package/dist/helpers/strings/makeRelativePath.js +43 -43
  158. package/dist/helpers/strings/makeRelativePath.min.js +1 -1
  159. package/dist/helpers/strings/regexEscape.d.ts +9 -8
  160. package/dist/helpers/strings/regexEscape.js +15 -17
  161. package/dist/helpers/strings/regexEscape.min.js +1 -1
  162. package/dist/helpers/strings/snakeCase.d.ts +10 -9
  163. package/dist/helpers/strings/snakeCase.js +19 -19
  164. package/dist/helpers/strings/strAfter.d.ts +11 -10
  165. package/dist/helpers/strings/strAfter.js +19 -19
  166. package/dist/helpers/strings/strAfterLast.d.ts +11 -10
  167. package/dist/helpers/strings/strAfterLast.js +19 -19
  168. package/dist/helpers/strings/strBefore.d.ts +11 -10
  169. package/dist/helpers/strings/strBefore.js +19 -19
  170. package/dist/helpers/strings/strBeforeLast.d.ts +11 -10
  171. package/dist/helpers/strings/strBeforeLast.js +19 -19
  172. package/dist/helpers/strings/titleCase.d.ts +10 -9
  173. package/dist/helpers/strings/titleCase.js +20 -20
  174. package/dist/helpers/strings/ucFirst.d.ts +10 -9
  175. package/dist/helpers/strings/ucFirst.js +15 -15
  176. package/dist/helpers/strings/words.d.ts +11 -9
  177. package/dist/helpers/strings/words.js +16 -16
  178. package/dist/helpers/strings/words.min.js +1 -1
  179. package/dist/helpers/strings.d.ts +1 -0
  180. package/dist/main.d.ts +1 -0
  181. package/package.json +4 -4
@@ -1,19 +1,19 @@
1
- 'use strict'
2
-
3
- Object.defineProperty(exports, '__esModule', {
4
- value: true
5
- })
6
- exports.default = void 0
7
- require('core-js/stable')
8
- /**
9
- * Retrieve the string part after the search match.
10
- * @memberOf module:stringHelpers
11
- * @param {string} str
12
- * @param {string} search
13
- * @returns {string}
14
- */
15
- const strAfter = (str, search) => {
16
- const index = str.indexOf(search)
17
- return index === -1 ? '' : str.substring(index + search.length)
18
- }
19
- var _default = exports.default = strAfter
1
+ 'use strict'
2
+
3
+ Object.defineProperty(exports, '__esModule', {
4
+ value: true
5
+ })
6
+ exports.default = void 0
7
+ require('core-js/stable')
8
+ /**
9
+ * Retrieve the string part after the search match.
10
+ * @memberOf module:stringHelpers
11
+ * @param {string} str - The string to search within.
12
+ * @param {string} search - The substring to search for.
13
+ * @returns {string} The portion of `str` after the first occurrence of `search`, or `''` if not found.
14
+ */
15
+ const strAfter = (str, search) => {
16
+ const index = str.indexOf(search)
17
+ return index === -1 ? '' : str.substring(index + search.length)
18
+ }
19
+ var _default = exports.default = strAfter
@@ -1,10 +1,11 @@
1
- import 'core-js/stable';
2
- /**
3
- * Retrieve the string part after the last search match.
4
- * @memberOf module:stringHelpers
5
- * @param {string} str
6
- * @param {string} search
7
- * @returns {string}
8
- */
9
- declare const strAfterLast: (str: string, search: string) => string;
10
- export default strAfterLast;
1
+ import 'core-js/stable';
2
+ /**
3
+ * Retrieve the string part after the last search match.
4
+ * @memberOf module:stringHelpers
5
+ * @param {string} str - The string to search within.
6
+ * @param {string} search - The substring to search for.
7
+ * @returns {string} The portion of `str` after the last occurrence of `search`, or `''` if not found.
8
+ */
9
+ declare const strAfterLast: (str: string, search: string) => string;
10
+ export default strAfterLast;
11
+ //# sourceMappingURL=strAfterLast.d.ts.map
@@ -1,19 +1,19 @@
1
- 'use strict'
2
-
3
- Object.defineProperty(exports, '__esModule', {
4
- value: true
5
- })
6
- exports.default = void 0
7
- require('core-js/stable')
8
- /**
9
- * Retrieve the string part after the last search match.
10
- * @memberOf module:stringHelpers
11
- * @param {string} str
12
- * @param {string} search
13
- * @returns {string}
14
- */
15
- const strAfterLast = (str, search) => {
16
- const index = str.lastIndexOf(search)
17
- return index === -1 ? '' : str.substring(index + search.length)
18
- }
19
- var _default = exports.default = strAfterLast
1
+ 'use strict'
2
+
3
+ Object.defineProperty(exports, '__esModule', {
4
+ value: true
5
+ })
6
+ exports.default = void 0
7
+ require('core-js/stable')
8
+ /**
9
+ * Retrieve the string part after the last search match.
10
+ * @memberOf module:stringHelpers
11
+ * @param {string} str - The string to search within.
12
+ * @param {string} search - The substring to search for.
13
+ * @returns {string} The portion of `str` after the last occurrence of `search`, or `''` if not found.
14
+ */
15
+ const strAfterLast = (str, search) => {
16
+ const index = str.lastIndexOf(search)
17
+ return index === -1 ? '' : str.substring(index + search.length)
18
+ }
19
+ var _default = exports.default = strAfterLast
@@ -1,10 +1,11 @@
1
- import 'core-js/stable';
2
- /**
3
- * Retrieve the string part before the search match.
4
- * @memberOf module:stringHelpers
5
- * @param {string} str
6
- * @param {string} search
7
- * @returns {string}
8
- */
9
- declare const strBefore: (str: string, search: string) => string;
10
- export default strBefore;
1
+ import 'core-js/stable';
2
+ /**
3
+ * Retrieve the string part before the search match.
4
+ * @memberOf module:stringHelpers
5
+ * @param {string} str - The string to search within.
6
+ * @param {string} search - The substring to search for.
7
+ * @returns {string} The portion of `str` before the first occurrence of `search`, or `''` if not found.
8
+ */
9
+ declare const strBefore: (str: string, search: string) => string;
10
+ export default strBefore;
11
+ //# sourceMappingURL=strBefore.d.ts.map
@@ -1,19 +1,19 @@
1
- 'use strict'
2
-
3
- Object.defineProperty(exports, '__esModule', {
4
- value: true
5
- })
6
- exports.default = void 0
7
- require('core-js/stable')
8
- /**
9
- * Retrieve the string part before the search match.
10
- * @memberOf module:stringHelpers
11
- * @param {string} str
12
- * @param {string} search
13
- * @returns {string}
14
- */
15
- const strBefore = (str, search) => {
16
- const index = str.indexOf(search)
17
- return index === -1 ? '' : str.slice(0, index)
18
- }
19
- var _default = exports.default = strBefore
1
+ 'use strict'
2
+
3
+ Object.defineProperty(exports, '__esModule', {
4
+ value: true
5
+ })
6
+ exports.default = void 0
7
+ require('core-js/stable')
8
+ /**
9
+ * Retrieve the string part before the search match.
10
+ * @memberOf module:stringHelpers
11
+ * @param {string} str - The string to search within.
12
+ * @param {string} search - The substring to search for.
13
+ * @returns {string} The portion of `str` before the first occurrence of `search`, or `''` if not found.
14
+ */
15
+ const strBefore = (str, search) => {
16
+ const index = str.indexOf(search)
17
+ return index === -1 ? '' : str.slice(0, index)
18
+ }
19
+ var _default = exports.default = strBefore
@@ -1,10 +1,11 @@
1
- import 'core-js/stable';
2
- /**
3
- * Retrieve the string part after the last search match.
4
- * @memberOf module:stringHelpers
5
- * @param {string} str
6
- * @param {string} search
7
- * @returns {string}
8
- */
9
- declare const strBeforeLast: (str: string, search: string) => string;
10
- export default strBeforeLast;
1
+ import 'core-js/stable';
2
+ /**
3
+ * Retrieve the string part before the last search match.
4
+ * @memberOf module:stringHelpers
5
+ * @param {string} str - The string to search within.
6
+ * @param {string} search - The substring to search for.
7
+ * @returns {string} The portion of `str` before the last occurrence of `search`, or `''` if not found.
8
+ */
9
+ declare const strBeforeLast: (str: string, search: string) => string;
10
+ export default strBeforeLast;
11
+ //# sourceMappingURL=strBeforeLast.d.ts.map
@@ -1,19 +1,19 @@
1
- 'use strict'
2
-
3
- Object.defineProperty(exports, '__esModule', {
4
- value: true
5
- })
6
- exports.default = void 0
7
- require('core-js/stable')
8
- /**
9
- * Retrieve the string part after the last search match.
10
- * @memberOf module:stringHelpers
11
- * @param {string} str
12
- * @param {string} search
13
- * @returns {string}
14
- */
15
- const strBeforeLast = (str, search) => {
16
- const index = str.lastIndexOf(search)
17
- return index === -1 ? '' : str.substring(0, index)
18
- }
19
- var _default = exports.default = strBeforeLast
1
+ 'use strict'
2
+
3
+ Object.defineProperty(exports, '__esModule', {
4
+ value: true
5
+ })
6
+ exports.default = void 0
7
+ require('core-js/stable')
8
+ /**
9
+ * Retrieve the string part before the last search match.
10
+ * @memberOf module:stringHelpers
11
+ * @param {string} str - The string to search within.
12
+ * @param {string} search - The substring to search for.
13
+ * @returns {string} The portion of `str` before the last occurrence of `search`, or `''` if not found.
14
+ */
15
+ const strBeforeLast = (str, search) => {
16
+ const index = str.lastIndexOf(search)
17
+ return index === -1 ? '' : str.substring(0, index)
18
+ }
19
+ var _default = exports.default = strBeforeLast
@@ -1,9 +1,10 @@
1
- import 'core-js/stable';
2
- /**
3
- * Given a string in kebab-case, snake_case, camelCase or 'Sentence case', convert to 'Title Case'.
4
- * @memberOf module:stringHelpers
5
- * @param {string} str
6
- * @returns {string}
7
- */
8
- declare const titleCase: (str: string) => string;
9
- export default titleCase;
1
+ import 'core-js/stable';
2
+ /**
3
+ * Given a string in kebab-case, snake_case, camelCase or 'Sentence case', convert to 'Title Case'.
4
+ * @memberOf module:stringHelpers
5
+ * @param {string} str - The string to convert.
6
+ * @returns {string}
7
+ */
8
+ declare const titleCase: (str: string) => string;
9
+ export default titleCase;
10
+ //# sourceMappingURL=titleCase.d.ts.map
@@ -1,20 +1,20 @@
1
- 'use strict'
2
-
3
- Object.defineProperty(exports, '__esModule', {
4
- value: true
5
- })
6
- exports.default = void 0
7
- require('core-js/modules/esnext.iterator.constructor.js')
8
- require('core-js/modules/esnext.iterator.reduce.js')
9
- require('core-js/stable')
10
- var _ucFirst = _interopRequireDefault(require('./ucFirst'))
11
- var _words = _interopRequireDefault(require('./words'))
12
- function _interopRequireDefault (e) { return e && e.__esModule ? e : { default: e } }
13
- /**
14
- * Given a string in kebab-case, snake_case, camelCase or 'Sentence case', convert to 'Title Case'.
15
- * @memberOf module:stringHelpers
16
- * @param {string} str
17
- * @returns {string}
18
- */
19
- const titleCase = str => (0, _words.default)(str).reduce((title, part) => title ? title.concat(' ' + (0, _ucFirst.default)(part)) : (0, _ucFirst.default)(part), '')
20
- var _default = exports.default = titleCase
1
+ 'use strict'
2
+
3
+ Object.defineProperty(exports, '__esModule', {
4
+ value: true
5
+ })
6
+ exports.default = void 0
7
+ require('core-js/modules/esnext.iterator.constructor.js')
8
+ require('core-js/modules/esnext.iterator.reduce.js')
9
+ require('core-js/stable')
10
+ var _ucFirst = _interopRequireDefault(require('./ucFirst'))
11
+ var _words = _interopRequireDefault(require('./words'))
12
+ function _interopRequireDefault (e) { return e && e.__esModule ? e : { default: e } }
13
+ /**
14
+ * Given a string in kebab-case, snake_case, camelCase or 'Sentence case', convert to 'Title Case'.
15
+ * @memberOf module:stringHelpers
16
+ * @param {string} str - The string to convert.
17
+ * @returns {string}
18
+ */
19
+ const titleCase = str => (0, _words.default)(str).reduce((title, part) => title ? title.concat(' ' + (0, _ucFirst.default)(part)) : (0, _ucFirst.default)(part), '')
20
+ var _default = exports.default = titleCase
@@ -1,9 +1,10 @@
1
- import 'core-js/stable';
2
- /**
3
- * Given a string, make the first character uppercase and the rest lowercase.
4
- * @memberOf module:stringHelpers
5
- * @param {string} str
6
- * @returns {string}
7
- */
8
- declare const ucFirst: (str: string) => string;
9
- export default ucFirst;
1
+ import 'core-js/stable';
2
+ /**
3
+ * Given a string, make the first character uppercase and the rest lowercase.
4
+ * @memberOf module:stringHelpers
5
+ * @param {string} str - The string to convert.
6
+ * @returns {string}
7
+ */
8
+ declare const ucFirst: (str: string) => string;
9
+ export default ucFirst;
10
+ //# sourceMappingURL=ucFirst.d.ts.map
@@ -1,15 +1,15 @@
1
- 'use strict'
2
-
3
- Object.defineProperty(exports, '__esModule', {
4
- value: true
5
- })
6
- exports.default = void 0
7
- require('core-js/stable')
8
- /**
9
- * Given a string, make the first character uppercase and the rest lowercase.
10
- * @memberOf module:stringHelpers
11
- * @param {string} str
12
- * @returns {string}
13
- */
14
- const ucFirst = str => str.charAt(0).toUpperCase() + str.slice(1).toLowerCase()
15
- var _default = exports.default = ucFirst
1
+ 'use strict'
2
+
3
+ Object.defineProperty(exports, '__esModule', {
4
+ value: true
5
+ })
6
+ exports.default = void 0
7
+ require('core-js/stable')
8
+ /**
9
+ * Given a string, make the first character uppercase and the rest lowercase.
10
+ * @memberOf module:stringHelpers
11
+ * @param {string} str - The string to convert.
12
+ * @returns {string}
13
+ */
14
+ const ucFirst = str => str.charAt(0).toUpperCase() + str.slice(1).toLowerCase()
15
+ var _default = exports.default = ucFirst
@@ -1,9 +1,11 @@
1
- import 'core-js/stable';
2
- /**
3
- * Split a string into sets of numbers or letters.
4
- * @memberOf module:stringHelpers
5
- * @param {string} str
6
- * @returns {array}
7
- */
8
- declare const words: (str: string) => Array<string>;
9
- export default words;
1
+ import 'core-js/stable';
2
+ /**
3
+ * Split a string into sets of numbers or letters - the shared tokenizer behind camelCase/kabobCase/snakeCase/
4
+ * titleCase, so each can rebuild the string in its own casing style.
5
+ * @memberOf module:stringHelpers
6
+ * @param {string} str - The string to split.
7
+ * @returns {Array.<string>}
8
+ */
9
+ declare const words: (str: string) => Array<string>;
10
+ export default words;
11
+ //# sourceMappingURL=words.d.ts.map
@@ -1,16 +1,16 @@
1
- 'use strict'
2
-
3
- Object.defineProperty(exports, '__esModule', {
4
- value: true
5
- })
6
- exports.default = void 0
7
- require('core-js/modules/es.regexp.exec.js')
8
- require('core-js/stable')
9
- /**
10
- * Split a string into sets of numbers or letters.
11
- * @memberOf module:stringHelpers
12
- * @param {string} str
13
- * @returns {array}
14
- */
15
- const words = str => str.match(/\d+|[A-Z]?[a-z]+|[A-Za-z]+/g)
16
- var _default = exports.default = words
1
+ 'use strict'
2
+
3
+ Object.defineProperty(exports, '__esModule', {
4
+ value: true
5
+ })
6
+ exports.default = void 0
7
+ require('core-js/stable')
8
+ /**
9
+ * Split a string into sets of numbers or letters - the shared tokenizer behind camelCase/kabobCase/snakeCase/
10
+ * titleCase, so each can rebuild the string in its own casing style.
11
+ * @memberOf module:stringHelpers
12
+ * @param {string} str - The string to split.
13
+ * @returns {Array.<string>}
14
+ */
15
+ const words = str => str.match(/\d+|[A-Z]?[a-z]+|[A-Za-z]+/g)
16
+ var _default = exports.default = words
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0,require("core-js/modules/es.regexp.exec.js"),require("core-js/stable");const words=e=>e.match(/\d+|[A-Z]?[a-z]+|[A-Za-z]+/g);var _default=exports.default=words;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0,require("core-js/stable");const words=e=>e.match(/\d+|[A-Z]?[a-z]+|[A-Za-z]+/g);var _default=exports.default=words;
@@ -23,3 +23,4 @@ declare const _default: {
23
23
  words: (str: string) => Array<string>;
24
24
  };
25
25
  export default _default;
26
+ //# sourceMappingURL=strings.d.ts.map
package/dist/main.d.ts CHANGED
@@ -7,3 +7,4 @@
7
7
  */
8
8
  declare const siFunciona: any;
9
9
  export default siFunciona;
10
+ //# sourceMappingURL=main.d.ts.map
package/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "general",
14
14
  "typescript"
15
15
  ],
16
- "version": "2.3.2",
16
+ "version": "2.3.4",
17
17
  "license": "GPL-3.0-or-later",
18
18
  "bugs": {
19
19
  "url": "https://github.com/jheagle/si-funciona/issues"
@@ -33,12 +33,12 @@
33
33
  "npm": "^12.0.2"
34
34
  },
35
35
  "devDependencies": {
36
- "collect-your-stuff": "^1.2.6",
36
+ "collect-your-stuff": "^1.2.7",
37
37
  "gulp": "^5.0.1",
38
- "js-build-tools": "^4.0.12",
38
+ "js-build-tools": "^4.1.1",
39
39
  "jsdoc": "^4.0.5",
40
40
  "standard": "^17.1.2",
41
- "test-filesystem": "^1.3.14"
41
+ "test-filesystem": "^1.5.0"
42
42
  },
43
43
  "resolutions": {},
44
44
  "repository": {