si-funciona 2.3.3 → 2.4.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 (167) hide show
  1. package/README.md +1337 -1244
  2. package/browser/siFunciona.js +24205 -24146
  3. package/dist/helpers/arrays/BasicQueue.d.ts +65 -61
  4. package/dist/helpers/arrays/BasicQueue.js +62 -59
  5. package/dist/helpers/arrays/addUniqueToArray.d.ts +10 -10
  6. package/dist/helpers/arrays/addUniqueToArray.js +17 -17
  7. package/dist/helpers/arrays/buildArray.d.ts +11 -11
  8. package/dist/helpers/arrays/buildArray.js +26 -26
  9. package/dist/helpers/arrays/buildArrayOfReferences.d.ts +11 -11
  10. package/dist/helpers/arrays/buildArrayOfReferences.js +23 -23
  11. package/dist/helpers/arrays/compareArrays.d.ts +97 -97
  12. package/dist/helpers/arrays/compareArrays.js +97 -97
  13. package/dist/helpers/arrays/mergeArrays.d.ts +9 -9
  14. package/dist/helpers/arrays/mergeArrays.js +22 -22
  15. package/dist/helpers/arrays/uniqueArray.d.ts +9 -9
  16. package/dist/helpers/arrays/uniqueArray.js +17 -17
  17. package/dist/helpers/arrays.d.ts +21 -20
  18. package/dist/helpers/arrays.js +33 -32
  19. package/dist/helpers/descriptors/assignDescriptor.d.ts +14 -11
  20. package/dist/helpers/descriptors/assignDescriptor.js +58 -55
  21. package/dist/helpers/descriptors/assignDescriptorDetail.d.ts +14 -11
  22. package/dist/helpers/descriptors/assignDescriptorDetail.js +37 -34
  23. package/dist/helpers/descriptors/checkClearValues.d.ts +12 -11
  24. package/dist/helpers/descriptors/checkClearValues.js +21 -20
  25. package/dist/helpers/descriptors/checkDescriptorComplete.d.ts +11 -10
  26. package/dist/helpers/descriptors/checkDescriptorComplete.js +20 -19
  27. package/dist/helpers/descriptors/cloneDescriptor.d.ts +10 -10
  28. package/dist/helpers/descriptors/cloneDescriptor.js +36 -36
  29. package/dist/helpers/descriptors/cloneDescriptorDetail.d.ts +10 -10
  30. package/dist/helpers/descriptors/cloneDescriptorDetail.js +27 -27
  31. package/dist/helpers/descriptors/compareDescriptor.d.ts +13 -11
  32. package/dist/helpers/descriptors/compareDescriptor.js +33 -31
  33. package/dist/helpers/descriptors/describeObject.d.ts +15 -13
  34. package/dist/helpers/descriptors/describeObject.js +53 -51
  35. package/dist/helpers/descriptors/describeObjectDetail.d.ts +14 -12
  36. package/dist/helpers/descriptors/describeObjectDetail.js +38 -36
  37. package/dist/helpers/descriptors/describeObjectMap.d.ts +36 -20
  38. package/dist/helpers/descriptors/describeObjectMap.js +108 -92
  39. package/dist/helpers/descriptors/nextReference.d.ts +13 -11
  40. package/dist/helpers/descriptors/nextReference.js +31 -29
  41. package/dist/helpers/descriptors/sameDescriptor.d.ts +13 -11
  42. package/dist/helpers/descriptors/sameDescriptor.js +22 -20
  43. package/dist/helpers/descriptors/samples/descriptor.d.ts +34 -27
  44. package/dist/helpers/descriptors/samples/descriptor.js +22 -22
  45. package/dist/helpers/descriptors/samples/descriptorDetail.d.ts +42 -34
  46. package/dist/helpers/descriptors/samples/descriptorDetail.js +24 -24
  47. package/dist/helpers/descriptors/samples/descriptorMap.d.ts +16 -12
  48. package/dist/helpers/descriptors/samples/descriptorMap.js +14 -14
  49. package/dist/helpers/descriptors/samples/mappedDescriptorMap.d.ts +10 -7
  50. package/dist/helpers/descriptors/samples/mappedDescriptorMap.js +287 -284
  51. package/dist/helpers/descriptors.d.ts +44 -28
  52. package/dist/helpers/descriptors.js +58 -42
  53. package/dist/helpers/functions/callWithParams.d.ts +11 -11
  54. package/dist/helpers/functions/callWithParams.js +17 -17
  55. package/dist/helpers/functions/curry.d.ts +11 -11
  56. package/dist/helpers/functions/curry.js +17 -17
  57. package/dist/helpers/functions/delay.d.ts +21 -21
  58. package/dist/helpers/functions/delay.js +32 -32
  59. package/dist/helpers/functions/makeBasicQueue.d.ts +10 -10
  60. package/dist/helpers/functions/makeBasicQueue.js +19 -19
  61. package/dist/helpers/functions/onBodyLoad.d.ts +10 -10
  62. package/dist/helpers/functions/onBodyLoad.js +74 -74
  63. package/dist/helpers/functions/pipe.d.ts +10 -10
  64. package/dist/helpers/functions/pipe.js +18 -18
  65. package/dist/helpers/functions/preloadParams.d.ts +20 -20
  66. package/dist/helpers/functions/preloadParams.js +21 -21
  67. package/dist/helpers/functions/queueManager.d.ts +49 -47
  68. package/dist/helpers/functions/queueManager.js +124 -122
  69. package/dist/helpers/functions/queueTimeout.d.ts +21 -21
  70. package/dist/helpers/functions/queueTimeout.js +23 -23
  71. package/dist/helpers/functions/relevancyFilter.d.ts +35 -35
  72. package/dist/helpers/functions/relevancyFilter.js +34 -34
  73. package/dist/helpers/functions/trace.d.ts +14 -12
  74. package/dist/helpers/functions/trace.js +25 -23
  75. package/dist/helpers/functions.d.ts +29 -29
  76. package/dist/helpers/functions.js +40 -40
  77. package/dist/helpers/numbers/absoluteMax.d.ts +10 -10
  78. package/dist/helpers/numbers/absoluteMax.js +16 -16
  79. package/dist/helpers/numbers/absoluteMin.d.ts +10 -10
  80. package/dist/helpers/numbers/absoluteMin.js +16 -16
  81. package/dist/helpers/numbers/compare.d.ts +13 -13
  82. package/dist/helpers/numbers/compare.js +19 -19
  83. package/dist/helpers/numbers/greatestCommonDivisor.d.ts +10 -10
  84. package/dist/helpers/numbers/greatestCommonDivisor.js +16 -16
  85. package/dist/helpers/numbers/leastCommonMultiple.d.ts +10 -10
  86. package/dist/helpers/numbers/leastCommonMultiple.js +18 -18
  87. package/dist/helpers/numbers/lowestCommonDenominator.d.ts +10 -10
  88. package/dist/helpers/numbers/lowestCommonDenominator.js +20 -20
  89. package/dist/helpers/numbers/randomInteger.d.ts +13 -13
  90. package/dist/helpers/numbers/randomInteger.js +19 -19
  91. package/dist/helpers/numbers/randomNumber.d.ts +13 -13
  92. package/dist/helpers/numbers/randomNumber.js +19 -19
  93. package/dist/helpers/numbers/simplestRatio.d.ts +9 -9
  94. package/dist/helpers/numbers/simplestRatio.js +29 -29
  95. package/dist/helpers/numbers.d.ts +21 -21
  96. package/dist/helpers/numbers.js +36 -36
  97. package/dist/helpers/objects/cloneObject.d.ts +20 -20
  98. package/dist/helpers/objects/cloneObject.js +32 -32
  99. package/dist/helpers/objects/dotGet.d.ts +12 -12
  100. package/dist/helpers/objects/dotGet.js +60 -60
  101. package/dist/helpers/objects/dotNotate.d.ts +28 -28
  102. package/dist/helpers/objects/dotNotate.js +80 -80
  103. package/dist/helpers/objects/dotSet.d.ts +12 -12
  104. package/dist/helpers/objects/dotSet.js +54 -54
  105. package/dist/helpers/objects/dotUnset.d.ts +11 -11
  106. package/dist/helpers/objects/dotUnset.js +53 -53
  107. package/dist/helpers/objects/emptyObject.d.ts +9 -9
  108. package/dist/helpers/objects/emptyObject.js +18 -18
  109. package/dist/helpers/objects/filterObject.d.ts +27 -27
  110. package/dist/helpers/objects/filterObject.js +32 -32
  111. package/dist/helpers/objects/isCloneable.d.ts +9 -9
  112. package/dist/helpers/objects/isCloneable.js +17 -17
  113. package/dist/helpers/objects/isInstanceObject.d.ts +9 -9
  114. package/dist/helpers/objects/isInstanceObject.js +27 -27
  115. package/dist/helpers/objects/isObject.d.ts +9 -9
  116. package/dist/helpers/objects/isObject.js +15 -15
  117. package/dist/helpers/objects/mapObject.d.ts +26 -26
  118. package/dist/helpers/objects/mapObject.js +26 -26
  119. package/dist/helpers/objects/mergeObjects.d.ts +13 -13
  120. package/dist/helpers/objects/mergeObjects.js +20 -20
  121. package/dist/helpers/objects/mergeObjectsBase.d.ts +36 -36
  122. package/dist/helpers/objects/mergeObjectsBase.js +92 -92
  123. package/dist/helpers/objects/mergeObjectsMutable.d.ts +13 -13
  124. package/dist/helpers/objects/mergeObjectsMutable.js +18 -18
  125. package/dist/helpers/objects/objectKeys.d.ts +14 -14
  126. package/dist/helpers/objects/objectKeys.js +40 -40
  127. package/dist/helpers/objects/objectValues.d.ts +14 -14
  128. package/dist/helpers/objects/objectValues.js +21 -21
  129. package/dist/helpers/objects/reduceObject.d.ts +31 -31
  130. package/dist/helpers/objects/reduceObject.js +26 -26
  131. package/dist/helpers/objects/setAndReturnValue.d.ts +14 -14
  132. package/dist/helpers/objects/setAndReturnValue.js +20 -20
  133. package/dist/helpers/objects/setValue.d.ts +15 -15
  134. package/dist/helpers/objects/setValue.js +22 -22
  135. package/dist/helpers/objects.d.ts +100 -100
  136. package/dist/helpers/objects.js +56 -56
  137. package/dist/helpers/strings/camelCase.d.ts +9 -9
  138. package/dist/helpers/strings/camelCase.js +20 -20
  139. package/dist/helpers/strings/kabobCase.d.ts +9 -9
  140. package/dist/helpers/strings/kabobCase.js +19 -19
  141. package/dist/helpers/strings/makeFilepath.d.ts +9 -9
  142. package/dist/helpers/strings/makeFilepath.js +49 -49
  143. package/dist/helpers/strings/makeRelativePath.d.ts +9 -9
  144. package/dist/helpers/strings/makeRelativePath.js +43 -43
  145. package/dist/helpers/strings/regexEscape.d.ts +8 -8
  146. package/dist/helpers/strings/regexEscape.js +15 -15
  147. package/dist/helpers/strings/snakeCase.d.ts +9 -9
  148. package/dist/helpers/strings/snakeCase.js +19 -19
  149. package/dist/helpers/strings/strAfter.d.ts +10 -10
  150. package/dist/helpers/strings/strAfter.js +19 -19
  151. package/dist/helpers/strings/strAfterLast.d.ts +10 -10
  152. package/dist/helpers/strings/strAfterLast.js +19 -19
  153. package/dist/helpers/strings/strBefore.d.ts +10 -10
  154. package/dist/helpers/strings/strBefore.js +19 -19
  155. package/dist/helpers/strings/strBeforeLast.d.ts +10 -10
  156. package/dist/helpers/strings/strBeforeLast.js +19 -19
  157. package/dist/helpers/strings/titleCase.d.ts +9 -9
  158. package/dist/helpers/strings/titleCase.js +20 -20
  159. package/dist/helpers/strings/ucFirst.d.ts +9 -9
  160. package/dist/helpers/strings/ucFirst.js +15 -15
  161. package/dist/helpers/strings/words.d.ts +10 -9
  162. package/dist/helpers/strings/words.js +16 -15
  163. package/dist/helpers/strings.d.ts +25 -25
  164. package/dist/helpers/strings.js +44 -44
  165. package/dist/main.d.ts +9 -9
  166. package/dist/main.js +30 -30
  167. package/package.json +2 -5
@@ -1,26 +1,26 @@
1
- /**
2
- * Manage how strings are manipulated with these utilities.
3
- * @file
4
- * @author Joshua Heagle <joshuaheagle@gmail.com>
5
- * @version 1.0.0
6
- * @module stringHelpers
7
- * @memberOf module:siFunciona
8
- */
9
- import 'core-js/stable';
10
- declare const _default: {
11
- camelCase: (str: string) => string;
12
- kabobCase: (str: string) => string;
13
- makeFilepath: (root: string, append?: string) => string;
14
- makeRelativePath: (fromFile: string, toFile: string) => string;
15
- regexEscape: (str: string) => string;
16
- snakeCase: (str: string) => string;
17
- strAfter: (str: string, search: string) => string;
18
- strAfterLast: (str: string, search: string) => string;
19
- strBefore: (str: string, search: string) => string;
20
- strBeforeLast: (str: string, search: string) => string;
21
- titleCase: (str: string) => string;
22
- ucFirst: (str: string) => string;
23
- words: (str: string) => Array<string>;
24
- };
25
- export default _default;
1
+ /**
2
+ * Manage how strings are manipulated with these utilities.
3
+ * @file
4
+ * @author Joshua Heagle <joshuaheagle@gmail.com>
5
+ * @version 1.0.0
6
+ * @module stringHelpers
7
+ * @memberOf module:siFunciona
8
+ */
9
+ import 'core-js/stable';
10
+ declare const _default: {
11
+ camelCase: (str: string) => string;
12
+ kabobCase: (str: string) => string;
13
+ makeFilepath: (root: string, append?: string) => string;
14
+ makeRelativePath: (fromFile: string, toFile: string) => string;
15
+ regexEscape: (str: string) => string;
16
+ snakeCase: (str: string) => string;
17
+ strAfter: (str: string, search: string) => string;
18
+ strAfterLast: (str: string, search: string) => string;
19
+ strBefore: (str: string, search: string) => string;
20
+ strBeforeLast: (str: string, search: string) => string;
21
+ titleCase: (str: string) => string;
22
+ ucFirst: (str: string) => string;
23
+ words: (str: string) => Array<string>;
24
+ };
25
+ export default _default;
26
26
  //# sourceMappingURL=strings.d.ts.map
@@ -1,44 +1,44 @@
1
- 'use strict'
2
-
3
- Object.defineProperty(exports, '__esModule', {
4
- value: true
5
- })
6
- exports.default = void 0
7
- require('core-js/stable')
8
- var _camelCase = _interopRequireDefault(require('./strings/camelCase'))
9
- var _kabobCase = _interopRequireDefault(require('./strings/kabobCase'))
10
- var _makeFilepath = _interopRequireDefault(require('./strings/makeFilepath'))
11
- var _makeRelativePath = _interopRequireDefault(require('./strings/makeRelativePath'))
12
- var _regexEscape = _interopRequireDefault(require('./strings/regexEscape'))
13
- var _snakeCase = _interopRequireDefault(require('./strings/snakeCase'))
14
- var _strAfter = _interopRequireDefault(require('./strings/strAfter'))
15
- var _strAfterLast = _interopRequireDefault(require('./strings/strAfterLast'))
16
- var _strBefore = _interopRequireDefault(require('./strings/strBefore'))
17
- var _strBeforeLast = _interopRequireDefault(require('./strings/strBeforeLast'))
18
- var _titleCase = _interopRequireDefault(require('./strings/titleCase'))
19
- var _ucFirst = _interopRequireDefault(require('./strings/ucFirst'))
20
- var _words = _interopRequireDefault(require('./strings/words'))
21
- function _interopRequireDefault (e) { return e && e.__esModule ? e : { default: e } }
22
- /**
23
- * Manage how strings are manipulated with these utilities.
24
- * @file
25
- * @author Joshua Heagle <joshuaheagle@gmail.com>
26
- * @version 1.0.0
27
- * @module stringHelpers
28
- * @memberOf module:siFunciona
29
- */
30
- var _default = exports.default = {
31
- camelCase: _camelCase.default,
32
- kabobCase: _kabobCase.default,
33
- makeFilepath: _makeFilepath.default,
34
- makeRelativePath: _makeRelativePath.default,
35
- regexEscape: _regexEscape.default,
36
- snakeCase: _snakeCase.default,
37
- strAfter: _strAfter.default,
38
- strAfterLast: _strAfterLast.default,
39
- strBefore: _strBefore.default,
40
- strBeforeLast: _strBeforeLast.default,
41
- titleCase: _titleCase.default,
42
- ucFirst: _ucFirst.default,
43
- words: _words.default
44
- }
1
+ 'use strict'
2
+
3
+ Object.defineProperty(exports, '__esModule', {
4
+ value: true
5
+ })
6
+ exports.default = void 0
7
+ require('core-js/stable')
8
+ var _camelCase = _interopRequireDefault(require('./strings/camelCase'))
9
+ var _kabobCase = _interopRequireDefault(require('./strings/kabobCase'))
10
+ var _makeFilepath = _interopRequireDefault(require('./strings/makeFilepath'))
11
+ var _makeRelativePath = _interopRequireDefault(require('./strings/makeRelativePath'))
12
+ var _regexEscape = _interopRequireDefault(require('./strings/regexEscape'))
13
+ var _snakeCase = _interopRequireDefault(require('./strings/snakeCase'))
14
+ var _strAfter = _interopRequireDefault(require('./strings/strAfter'))
15
+ var _strAfterLast = _interopRequireDefault(require('./strings/strAfterLast'))
16
+ var _strBefore = _interopRequireDefault(require('./strings/strBefore'))
17
+ var _strBeforeLast = _interopRequireDefault(require('./strings/strBeforeLast'))
18
+ var _titleCase = _interopRequireDefault(require('./strings/titleCase'))
19
+ var _ucFirst = _interopRequireDefault(require('./strings/ucFirst'))
20
+ var _words = _interopRequireDefault(require('./strings/words'))
21
+ function _interopRequireDefault (e) { return e && e.__esModule ? e : { default: e } }
22
+ /**
23
+ * Manage how strings are manipulated with these utilities.
24
+ * @file
25
+ * @author Joshua Heagle <joshuaheagle@gmail.com>
26
+ * @version 1.0.0
27
+ * @module stringHelpers
28
+ * @memberOf module:siFunciona
29
+ */
30
+ var _default = exports.default = {
31
+ camelCase: _camelCase.default,
32
+ kabobCase: _kabobCase.default,
33
+ makeFilepath: _makeFilepath.default,
34
+ makeRelativePath: _makeRelativePath.default,
35
+ regexEscape: _regexEscape.default,
36
+ snakeCase: _snakeCase.default,
37
+ strAfter: _strAfter.default,
38
+ strAfterLast: _strAfterLast.default,
39
+ strBefore: _strBefore.default,
40
+ strBeforeLast: _strBeforeLast.default,
41
+ titleCase: _titleCase.default,
42
+ ucFirst: _ucFirst.default,
43
+ words: _words.default
44
+ }
package/dist/main.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- /**
2
- * All the siFunciona system functions for stringing together functions and simplifying logic.
3
- * @file
4
- * @author Joshua Heagle <joshuaheagle@gmail.com>
5
- * @version 1.0.0
6
- * @module siFunciona
7
- */
8
- declare const siFunciona: any;
9
- export default siFunciona;
1
+ /**
2
+ * All the siFunciona system functions for stringing together functions and simplifying logic.
3
+ * @file
4
+ * @author Joshua Heagle <joshuaheagle@gmail.com>
5
+ * @version 1.0.0
6
+ * @module siFunciona
7
+ */
8
+ declare const siFunciona: any;
9
+ export default siFunciona;
10
10
  //# sourceMappingURL=main.d.ts.map
package/dist/main.js CHANGED
@@ -1,30 +1,30 @@
1
- 'use strict'
2
-
3
- Object.defineProperty(exports, '__esModule', {
4
- value: true
5
- })
6
- exports.default = void 0
7
- var _arrays = _interopRequireDefault(require('./helpers/arrays'))
8
- var _descriptors = _interopRequireDefault(require('./helpers/descriptors'))
9
- var _functions = _interopRequireDefault(require('./helpers/functions'))
10
- var _numbers = _interopRequireDefault(require('./helpers/numbers'))
11
- var _objects = _interopRequireDefault(require('./helpers/objects'))
12
- var _strings = _interopRequireDefault(require('./helpers/strings'))
13
- function _interopRequireDefault (e) { return e && e.__esModule ? e : { default: e } }
14
- /**
15
- * All the siFunciona system functions for stringing together functions and simplifying logic.
16
- * @file
17
- * @author Joshua Heagle <joshuaheagle@gmail.com>
18
- * @version 1.0.0
19
- * @module siFunciona
20
- */
21
-
22
- const siFunciona = Object.assign({}, _arrays.default, _descriptors.default, _functions.default, _numbers.default, _objects.default, _strings.default)
23
- var _default = exports.default = siFunciona
24
- if (void 0) {
25
- // @ts-ignore
26
- (void 0).siFunciona = siFunciona
27
- } else if (typeof window !== 'undefined') {
28
- // @ts-ignore
29
- window.siFunciona = siFunciona
30
- }
1
+ 'use strict'
2
+
3
+ Object.defineProperty(exports, '__esModule', {
4
+ value: true
5
+ })
6
+ exports.default = void 0
7
+ var _arrays = _interopRequireDefault(require('./helpers/arrays'))
8
+ var _descriptors = _interopRequireDefault(require('./helpers/descriptors'))
9
+ var _functions = _interopRequireDefault(require('./helpers/functions'))
10
+ var _numbers = _interopRequireDefault(require('./helpers/numbers'))
11
+ var _objects = _interopRequireDefault(require('./helpers/objects'))
12
+ var _strings = _interopRequireDefault(require('./helpers/strings'))
13
+ function _interopRequireDefault (e) { return e && e.__esModule ? e : { default: e } }
14
+ /**
15
+ * All the siFunciona system functions for stringing together functions and simplifying logic.
16
+ * @file
17
+ * @author Joshua Heagle <joshuaheagle@gmail.com>
18
+ * @version 1.0.0
19
+ * @module siFunciona
20
+ */
21
+
22
+ const siFunciona = Object.assign({}, _arrays.default, _descriptors.default, _functions.default, _numbers.default, _objects.default, _strings.default)
23
+ var _default = exports.default = siFunciona
24
+ if (void 0) {
25
+ // @ts-ignore
26
+ (void 0).siFunciona = siFunciona
27
+ } else if (typeof window !== 'undefined') {
28
+ // @ts-ignore
29
+ window.siFunciona = siFunciona
30
+ }
package/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "general",
14
14
  "typescript"
15
15
  ],
16
- "version": "2.3.3",
16
+ "version": "2.4.0",
17
17
  "license": "GPL-3.0-or-later",
18
18
  "bugs": {
19
19
  "url": "https://github.com/jheagle/si-funciona/issues"
@@ -29,13 +29,10 @@
29
29
  "watch": "gulp watchFull",
30
30
  "watch:test": "gulp watchTest"
31
31
  },
32
- "dependencies": {
33
- "npm": "^12.0.2"
34
- },
35
32
  "devDependencies": {
36
33
  "collect-your-stuff": "^1.2.7",
37
34
  "gulp": "^5.0.1",
38
- "js-build-tools": "^4.1.1",
35
+ "js-build-tools": "^5.0.0",
39
36
  "jsdoc": "^4.0.5",
40
37
  "standard": "^17.1.2",
41
38
  "test-filesystem": "^1.5.0"