@dereekb/util 10.0.5 → 10.0.6

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 (502) hide show
  1. package/fetch/CHANGELOG.md +4 -0
  2. package/fetch/package.json +3 -3
  3. package/index.cjs.d.ts +1 -0
  4. package/index.cjs.default.js +1 -0
  5. package/index.cjs.js +14375 -0
  6. package/index.cjs.mjs +2 -0
  7. package/index.esm.js +15743 -0
  8. package/package.json +17 -18
  9. package/src/lib/array/array.boolean.d.ts +2 -2
  10. package/src/lib/array/array.d.ts +1 -1
  11. package/src/lib/array/array.factory.d.ts +2 -2
  12. package/src/lib/array/array.filter.d.ts +2 -2
  13. package/src/lib/array/array.find.d.ts +1 -1
  14. package/src/lib/array/array.index.d.ts +2 -2
  15. package/src/lib/array/array.indexed.d.ts +3 -3
  16. package/src/lib/array/array.limit.d.ts +1 -1
  17. package/src/lib/array/array.make.d.ts +2 -2
  18. package/src/lib/array/array.map.d.ts +2 -2
  19. package/src/lib/array/array.number.d.ts +1 -1
  20. package/src/lib/array/array.random.d.ts +1 -1
  21. package/src/lib/array/array.string.d.ts +3 -3
  22. package/src/lib/array/array.unique.d.ts +2 -2
  23. package/src/lib/array/array.value.d.ts +1 -1
  24. package/src/lib/assertion/assert.error.d.ts +2 -2
  25. package/src/lib/assertion/assertion.d.ts +1 -1
  26. package/src/lib/assertion/assertion.generic.d.ts +2 -2
  27. package/src/lib/assertion/assertion.number.d.ts +1 -1
  28. package/src/lib/auth/auth.role.claims.d.ts +3 -3
  29. package/src/lib/auth/auth.role.d.ts +1 -1
  30. package/src/lib/boolean.d.ts +1 -1
  31. package/src/lib/contact/domain.d.ts +1 -1
  32. package/src/lib/contact/phone.d.ts +1 -1
  33. package/src/lib/contact/random.d.ts +6 -6
  34. package/src/lib/date/date.d.ts +8 -1
  35. package/src/lib/date/date.time.d.ts +1 -1
  36. package/src/lib/date/hour.d.ts +2 -2
  37. package/src/lib/date/week.d.ts +2 -2
  38. package/src/lib/error/error.d.ts +1 -1
  39. package/src/lib/error/error.server.d.ts +2 -2
  40. package/src/lib/filter/filter.d.ts +1 -1
  41. package/src/lib/function/function.forward.d.ts +2 -2
  42. package/src/lib/getter/getter.cache.d.ts +1 -1
  43. package/src/lib/getter/getter.d.ts +5 -5
  44. package/src/lib/getter/getter.map.d.ts +2 -2
  45. package/src/lib/getter/getter.util.d.ts +1 -1
  46. package/src/lib/getter/type.d.ts +1 -1
  47. package/src/lib/grouping.d.ts +5 -5
  48. package/src/lib/iterable/iterable.d.ts +3 -3
  49. package/src/lib/key.d.ts +3 -18
  50. package/src/lib/lifecycle.d.ts +1 -1
  51. package/src/lib/map/map.d.ts +2 -2
  52. package/src/lib/map/map.intersection.d.ts +1 -1
  53. package/src/lib/map/map.key.d.ts +3 -3
  54. package/src/lib/misc/host.d.ts +1 -1
  55. package/src/lib/model/id.batch.d.ts +4 -4
  56. package/src/lib/model/model.conversion.d.ts +5 -5
  57. package/src/lib/model/model.conversion.field.d.ts +1 -1
  58. package/src/lib/model/model.copy.d.ts +1 -1
  59. package/src/lib/model/model.d.ts +3 -3
  60. package/src/lib/model/model.modify.d.ts +4 -4
  61. package/src/lib/number/bitwise.dencoder.d.ts +1 -1
  62. package/src/lib/number/bound.d.ts +1 -1
  63. package/src/lib/number/dollar.d.ts +1 -1
  64. package/src/lib/number/factory.d.ts +1 -1
  65. package/src/lib/number/number.d.ts +3 -3
  66. package/src/lib/number/random.d.ts +2 -2
  67. package/src/lib/number/round.d.ts +3 -3
  68. package/src/lib/number/sort.d.ts +2 -2
  69. package/src/lib/number/transform.d.ts +3 -3
  70. package/src/lib/object/index.d.ts +1 -0
  71. package/src/lib/object/object.array.d.ts +1 -1
  72. package/src/lib/object/object.array.delta.d.ts +3 -3
  73. package/src/lib/object/object.d.ts +3 -3
  74. package/src/lib/object/object.empty.d.ts +1 -1
  75. package/src/lib/object/object.equal.d.ts +2 -2
  76. package/src/lib/object/object.filter.pojo.d.ts +3 -3
  77. package/src/lib/object/object.filter.tuple.d.ts +2 -2
  78. package/src/lib/object/object.key.d.ts +17 -0
  79. package/src/lib/object/object.map.d.ts +1 -1
  80. package/src/lib/page/page.calculator.d.ts +1 -1
  81. package/src/lib/page/page.d.ts +1 -1
  82. package/src/lib/page/page.filter.d.ts +3 -3
  83. package/src/lib/path/path.d.ts +4 -4
  84. package/src/lib/promise/callback.d.ts +1 -1
  85. package/src/lib/promise/map.d.ts +1 -1
  86. package/src/lib/promise/promise.d.ts +3 -3
  87. package/src/lib/promise/promise.loop.d.ts +2 -2
  88. package/src/lib/promise/use.d.ts +2 -2
  89. package/src/lib/relation/relation.d.ts +1 -1
  90. package/src/lib/service/handler.config.d.ts +4 -4
  91. package/src/lib/service/handler.d.ts +3 -3
  92. package/src/lib/service/typed.service.d.ts +1 -1
  93. package/src/lib/set/set.allowed.d.ts +2 -2
  94. package/src/lib/set/set.d.ts +6 -6
  95. package/src/lib/set/set.decision.d.ts +1 -1
  96. package/src/lib/set/set.delta.d.ts +1 -1
  97. package/src/lib/set/set.hashset.d.ts +2 -2
  98. package/src/lib/set/set.maybe.d.ts +2 -2
  99. package/src/lib/set/set.selection.d.ts +2 -2
  100. package/src/lib/sort.d.ts +2 -2
  101. package/src/lib/storage/storage.d.ts +1 -1
  102. package/src/lib/storage/storage.error.d.ts +1 -1
  103. package/src/lib/storage/storage.memory.d.ts +2 -2
  104. package/src/lib/storage/storage.object.d.ts +2 -2
  105. package/src/lib/string/char.d.ts +2 -2
  106. package/src/lib/string/dencoder.d.ts +2 -1
  107. package/src/lib/string/html.d.ts +2 -2
  108. package/src/lib/string/replace.d.ts +3 -3
  109. package/src/lib/string/search.d.ts +2 -2
  110. package/src/lib/string/sort.d.ts +2 -2
  111. package/src/lib/string/string.d.ts +2 -2
  112. package/src/lib/string/transform.d.ts +1 -1
  113. package/src/lib/string/url.d.ts +6 -6
  114. package/src/lib/tree/tree.array.d.ts +3 -3
  115. package/src/lib/tree/tree.expand.d.ts +2 -2
  116. package/src/lib/tree/tree.flatten.d.ts +1 -1
  117. package/src/lib/type.d.ts +2 -2
  118. package/src/lib/value/address.d.ts +1 -1
  119. package/src/lib/value/bound.d.ts +5 -5
  120. package/src/lib/value/build.d.ts +1 -1
  121. package/src/lib/value/comparator.d.ts +2 -2
  122. package/src/lib/value/cron.d.ts +1 -1
  123. package/src/lib/value/decision.d.ts +3 -3
  124. package/src/lib/value/equal.d.ts +2 -2
  125. package/src/lib/value/indexed.d.ts +6 -6
  126. package/src/lib/value/map.d.ts +3 -3
  127. package/src/lib/value/maybe.d.ts +1 -1
  128. package/src/lib/value/maybe.type.d.ts +1 -1
  129. package/src/lib/value/modifier.d.ts +2 -2
  130. package/src/lib/value/point.d.ts +3 -3
  131. package/src/lib/value/use.d.ts +4 -4
  132. package/src/lib/value/vector.d.ts +1 -1
  133. package/test/index.cjs.d.ts +1 -0
  134. package/test/index.cjs.default.js +1 -0
  135. package/test/index.cjs.js +555 -0
  136. package/test/index.cjs.mjs +2 -0
  137. package/test/index.esm.js +2796 -0
  138. package/test/package.json +11 -2
  139. package/CHANGELOG.md +0 -1797
  140. package/src/index.js +0 -5
  141. package/src/index.js.map +0 -1
  142. package/src/lib/array/array.boolean.js +0 -69
  143. package/src/lib/array/array.boolean.js.map +0 -1
  144. package/src/lib/array/array.factory.js +0 -25
  145. package/src/lib/array/array.factory.js.map +0 -1
  146. package/src/lib/array/array.filter.js +0 -107
  147. package/src/lib/array/array.filter.js.map +0 -1
  148. package/src/lib/array/array.find.js +0 -24
  149. package/src/lib/array/array.find.js.map +0 -1
  150. package/src/lib/array/array.index.js +0 -71
  151. package/src/lib/array/array.index.js.map +0 -1
  152. package/src/lib/array/array.indexed.js +0 -142
  153. package/src/lib/array/array.indexed.js.map +0 -1
  154. package/src/lib/array/array.js +0 -237
  155. package/src/lib/array/array.js.map +0 -1
  156. package/src/lib/array/array.limit.js +0 -19
  157. package/src/lib/array/array.limit.js.map +0 -1
  158. package/src/lib/array/array.make.js +0 -19
  159. package/src/lib/array/array.make.js.map +0 -1
  160. package/src/lib/array/array.map.js +0 -38
  161. package/src/lib/array/array.map.js.map +0 -1
  162. package/src/lib/array/array.number.js +0 -82
  163. package/src/lib/array/array.number.js.map +0 -1
  164. package/src/lib/array/array.random.js +0 -48
  165. package/src/lib/array/array.random.js.map +0 -1
  166. package/src/lib/array/array.set.js +0 -34
  167. package/src/lib/array/array.set.js.map +0 -1
  168. package/src/lib/array/array.string.js +0 -74
  169. package/src/lib/array/array.string.js.map +0 -1
  170. package/src/lib/array/array.unique.js +0 -75
  171. package/src/lib/array/array.unique.js.map +0 -1
  172. package/src/lib/array/array.value.js +0 -55
  173. package/src/lib/array/array.value.js.map +0 -1
  174. package/src/lib/array/index.js +0 -20
  175. package/src/lib/array/index.js.map +0 -1
  176. package/src/lib/assertion/assert.error.js +0 -43
  177. package/src/lib/assertion/assert.error.js.map +0 -1
  178. package/src/lib/assertion/assert.js +0 -3
  179. package/src/lib/assertion/assert.js.map +0 -1
  180. package/src/lib/assertion/assertion.generic.js +0 -10
  181. package/src/lib/assertion/assertion.generic.js.map +0 -1
  182. package/src/lib/assertion/assertion.js +0 -40
  183. package/src/lib/assertion/assertion.js.map +0 -1
  184. package/src/lib/assertion/assertion.number.js +0 -20
  185. package/src/lib/assertion/assertion.number.js.map +0 -1
  186. package/src/lib/assertion/index.js +0 -9
  187. package/src/lib/assertion/index.js.map +0 -1
  188. package/src/lib/auth/auth.role.claims.js +0 -111
  189. package/src/lib/auth/auth.role.claims.js.map +0 -1
  190. package/src/lib/auth/auth.role.js +0 -25
  191. package/src/lib/auth/auth.role.js.map +0 -1
  192. package/src/lib/auth/index.js +0 -6
  193. package/src/lib/auth/index.js.map +0 -1
  194. package/src/lib/boolean.js +0 -57
  195. package/src/lib/boolean.js.map +0 -1
  196. package/src/lib/contact/domain.js +0 -45
  197. package/src/lib/contact/domain.js.map +0 -1
  198. package/src/lib/contact/email.js +0 -32
  199. package/src/lib/contact/email.js.map +0 -1
  200. package/src/lib/contact/index.js +0 -8
  201. package/src/lib/contact/index.js.map +0 -1
  202. package/src/lib/contact/phone.js +0 -71
  203. package/src/lib/contact/phone.js.map +0 -1
  204. package/src/lib/contact/random.js +0 -50
  205. package/src/lib/contact/random.js.map +0 -1
  206. package/src/lib/date/date.js +0 -132
  207. package/src/lib/date/date.js.map +0 -1
  208. package/src/lib/date/date.time.js +0 -39
  209. package/src/lib/date/date.time.js.map +0 -1
  210. package/src/lib/date/hour.js +0 -44
  211. package/src/lib/date/hour.js.map +0 -1
  212. package/src/lib/date/index.js +0 -8
  213. package/src/lib/date/index.js.map +0 -1
  214. package/src/lib/date/week.js +0 -175
  215. package/src/lib/date/week.js.map +0 -1
  216. package/src/lib/error/error.js +0 -68
  217. package/src/lib/error/error.js.map +0 -1
  218. package/src/lib/error/error.server.js +0 -42
  219. package/src/lib/error/error.server.js.map +0 -1
  220. package/src/lib/error/index.js +0 -6
  221. package/src/lib/error/index.js.map +0 -1
  222. package/src/lib/file/index.js +0 -5
  223. package/src/lib/file/index.js.map +0 -1
  224. package/src/lib/file/xml.js +0 -3
  225. package/src/lib/file/xml.js.map +0 -1
  226. package/src/lib/filter/filter.js +0 -37
  227. package/src/lib/filter/filter.js.map +0 -1
  228. package/src/lib/filter/index.js +0 -5
  229. package/src/lib/filter/index.js.map +0 -1
  230. package/src/lib/function/function.boolean.js +0 -23
  231. package/src/lib/function/function.boolean.js.map +0 -1
  232. package/src/lib/function/function.forward.js +0 -24
  233. package/src/lib/function/function.forward.js.map +0 -1
  234. package/src/lib/function/function.js +0 -14
  235. package/src/lib/function/function.js.map +0 -1
  236. package/src/lib/function/index.js +0 -7
  237. package/src/lib/function/index.js.map +0 -1
  238. package/src/lib/getter/getter.cache.js +0 -23
  239. package/src/lib/getter/getter.cache.js.map +0 -1
  240. package/src/lib/getter/getter.js +0 -99
  241. package/src/lib/getter/getter.js.map +0 -1
  242. package/src/lib/getter/getter.map.js +0 -24
  243. package/src/lib/getter/getter.map.js.map +0 -1
  244. package/src/lib/getter/getter.util.js +0 -16
  245. package/src/lib/getter/getter.util.js.map +0 -1
  246. package/src/lib/getter/index.js +0 -9
  247. package/src/lib/getter/index.js.map +0 -1
  248. package/src/lib/getter/type.js +0 -3
  249. package/src/lib/getter/type.js.map +0 -1
  250. package/src/lib/grouping.js +0 -198
  251. package/src/lib/grouping.js.map +0 -1
  252. package/src/lib/hash.js +0 -21
  253. package/src/lib/hash.js.map +0 -1
  254. package/src/lib/index.js +0 -39
  255. package/src/lib/index.js.map +0 -1
  256. package/src/lib/iterable/index.js +0 -6
  257. package/src/lib/iterable/index.js.map +0 -1
  258. package/src/lib/iterable/iterable.js +0 -177
  259. package/src/lib/iterable/iterable.js.map +0 -1
  260. package/src/lib/iterable/iterable.map.js +0 -18
  261. package/src/lib/iterable/iterable.map.js.map +0 -1
  262. package/src/lib/iterate.js +0 -16
  263. package/src/lib/iterate.js.map +0 -1
  264. package/src/lib/key.js +0 -107
  265. package/src/lib/key.js.map +0 -1
  266. package/src/lib/lifecycle.js +0 -34
  267. package/src/lib/lifecycle.js.map +0 -1
  268. package/src/lib/map/index.js +0 -7
  269. package/src/lib/map/index.js.map +0 -1
  270. package/src/lib/map/map.intersection.js +0 -24
  271. package/src/lib/map/map.intersection.js.map +0 -1
  272. package/src/lib/map/map.js +0 -68
  273. package/src/lib/map/map.js.map +0 -1
  274. package/src/lib/map/map.key.js +0 -110
  275. package/src/lib/map/map.key.js.map +0 -1
  276. package/src/lib/misc/host.js +0 -13
  277. package/src/lib/misc/host.js.map +0 -1
  278. package/src/lib/misc/index.js +0 -5
  279. package/src/lib/misc/index.js.map +0 -1
  280. package/src/lib/model/id.batch.js +0 -58
  281. package/src/lib/model/id.batch.js.map +0 -1
  282. package/src/lib/model/index.js +0 -10
  283. package/src/lib/model/index.js.map +0 -1
  284. package/src/lib/model/model.conversion.field.js +0 -23
  285. package/src/lib/model/model.conversion.field.js.map +0 -1
  286. package/src/lib/model/model.conversion.js +0 -112
  287. package/src/lib/model/model.conversion.js.map +0 -1
  288. package/src/lib/model/model.copy.js +0 -20
  289. package/src/lib/model/model.copy.js.map +0 -1
  290. package/src/lib/model/model.js +0 -150
  291. package/src/lib/model/model.js.map +0 -1
  292. package/src/lib/model/model.modify.js +0 -51
  293. package/src/lib/model/model.modify.js.map +0 -1
  294. package/src/lib/nodejs/index.js +0 -5
  295. package/src/lib/nodejs/index.js.map +0 -1
  296. package/src/lib/nodejs/stream.js +0 -34
  297. package/src/lib/nodejs/stream.js.map +0 -1
  298. package/src/lib/number/bitwise.dencoder.js +0 -84
  299. package/src/lib/number/bitwise.dencoder.js.map +0 -1
  300. package/src/lib/number/bound.js +0 -60
  301. package/src/lib/number/bound.js.map +0 -1
  302. package/src/lib/number/dollar.js +0 -36
  303. package/src/lib/number/dollar.js.map +0 -1
  304. package/src/lib/number/factory.js +0 -22
  305. package/src/lib/number/factory.js.map +0 -1
  306. package/src/lib/number/index.js +0 -13
  307. package/src/lib/number/index.js.map +0 -1
  308. package/src/lib/number/number.js +0 -118
  309. package/src/lib/number/number.js.map +0 -1
  310. package/src/lib/number/pay.js +0 -3
  311. package/src/lib/number/pay.js.map +0 -1
  312. package/src/lib/number/random.js +0 -35
  313. package/src/lib/number/random.js.map +0 -1
  314. package/src/lib/number/round.js +0 -140
  315. package/src/lib/number/round.js.map +0 -1
  316. package/src/lib/number/sort.js +0 -16
  317. package/src/lib/number/sort.js.map +0 -1
  318. package/src/lib/number/transform.js +0 -21
  319. package/src/lib/number/transform.js.map +0 -1
  320. package/src/lib/object/index.js +0 -12
  321. package/src/lib/object/index.js.map +0 -1
  322. package/src/lib/object/object.array.delta.js +0 -87
  323. package/src/lib/object/object.array.delta.js.map +0 -1
  324. package/src/lib/object/object.array.js +0 -35
  325. package/src/lib/object/object.array.js.map +0 -1
  326. package/src/lib/object/object.empty.js +0 -27
  327. package/src/lib/object/object.empty.js.map +0 -1
  328. package/src/lib/object/object.equal.js +0 -47
  329. package/src/lib/object/object.equal.js.map +0 -1
  330. package/src/lib/object/object.filter.pojo.js +0 -260
  331. package/src/lib/object/object.filter.pojo.js.map +0 -1
  332. package/src/lib/object/object.filter.tuple.js +0 -124
  333. package/src/lib/object/object.filter.tuple.js.map +0 -1
  334. package/src/lib/object/object.js +0 -43
  335. package/src/lib/object/object.js.map +0 -1
  336. package/src/lib/object/object.map.js +0 -62
  337. package/src/lib/object/object.map.js.map +0 -1
  338. package/src/lib/page/index.js +0 -7
  339. package/src/lib/page/index.js.map +0 -1
  340. package/src/lib/page/page.calculator.js +0 -37
  341. package/src/lib/page/page.calculator.js.map +0 -1
  342. package/src/lib/page/page.filter.js +0 -50
  343. package/src/lib/page/page.filter.js.map +0 -1
  344. package/src/lib/page/page.js +0 -30
  345. package/src/lib/page/page.js.map +0 -1
  346. package/src/lib/path/index.js +0 -5
  347. package/src/lib/path/index.js.map +0 -1
  348. package/src/lib/path/path.js +0 -272
  349. package/src/lib/path/path.js.map +0 -1
  350. package/src/lib/promise/callback.js +0 -21
  351. package/src/lib/promise/callback.js.map +0 -1
  352. package/src/lib/promise/index.js +0 -14
  353. package/src/lib/promise/index.js.map +0 -1
  354. package/src/lib/promise/is.js +0 -20
  355. package/src/lib/promise/is.js.map +0 -1
  356. package/src/lib/promise/map.js +0 -14
  357. package/src/lib/promise/map.js.map +0 -1
  358. package/src/lib/promise/poll.js +0 -16
  359. package/src/lib/promise/poll.js.map +0 -1
  360. package/src/lib/promise/promise.js +0 -197
  361. package/src/lib/promise/promise.js.map +0 -1
  362. package/src/lib/promise/promise.loop.js +0 -59
  363. package/src/lib/promise/promise.loop.js.map +0 -1
  364. package/src/lib/promise/promise.ref.js +0 -19
  365. package/src/lib/promise/promise.ref.js.map +0 -1
  366. package/src/lib/promise/promise.type.js +0 -14
  367. package/src/lib/promise/promise.type.js.map +0 -1
  368. package/src/lib/promise/use.js +0 -16
  369. package/src/lib/promise/use.js.map +0 -1
  370. package/src/lib/promise/wait.js +0 -11
  371. package/src/lib/promise/wait.js.map +0 -1
  372. package/src/lib/relation/index.js +0 -5
  373. package/src/lib/relation/index.js.map +0 -1
  374. package/src/lib/relation/relation.js +0 -209
  375. package/src/lib/relation/relation.js.map +0 -1
  376. package/src/lib/service/handler.config.js +0 -61
  377. package/src/lib/service/handler.config.js.map +0 -1
  378. package/src/lib/service/handler.js +0 -55
  379. package/src/lib/service/handler.js.map +0 -1
  380. package/src/lib/service/index.js +0 -7
  381. package/src/lib/service/index.js.map +0 -1
  382. package/src/lib/service/typed.service.js +0 -41
  383. package/src/lib/service/typed.service.js.map +0 -1
  384. package/src/lib/set/index.js +0 -12
  385. package/src/lib/set/index.js.map +0 -1
  386. package/src/lib/set/set.allowed.js +0 -29
  387. package/src/lib/set/set.allowed.js.map +0 -1
  388. package/src/lib/set/set.decision.js +0 -15
  389. package/src/lib/set/set.decision.js.map +0 -1
  390. package/src/lib/set/set.delta.js +0 -91
  391. package/src/lib/set/set.delta.js.map +0 -1
  392. package/src/lib/set/set.hashset.js +0 -90
  393. package/src/lib/set/set.hashset.js.map +0 -1
  394. package/src/lib/set/set.js +0 -387
  395. package/src/lib/set/set.js.map +0 -1
  396. package/src/lib/set/set.maybe.js +0 -22
  397. package/src/lib/set/set.maybe.js.map +0 -1
  398. package/src/lib/set/set.mode.js +0 -3
  399. package/src/lib/set/set.mode.js.map +0 -1
  400. package/src/lib/set/set.selection.js +0 -21
  401. package/src/lib/set/set.selection.js.map +0 -1
  402. package/src/lib/sort.js +0 -92
  403. package/src/lib/sort.js.map +0 -1
  404. package/src/lib/storage/index.js +0 -8
  405. package/src/lib/storage/index.js.map +0 -1
  406. package/src/lib/storage/storage.error.js +0 -24
  407. package/src/lib/storage/storage.error.js.map +0 -1
  408. package/src/lib/storage/storage.js +0 -3
  409. package/src/lib/storage/storage.js.map +0 -1
  410. package/src/lib/storage/storage.memory.js +0 -48
  411. package/src/lib/storage/storage.memory.js.map +0 -1
  412. package/src/lib/storage/storage.object.js +0 -42
  413. package/src/lib/storage/storage.object.js.map +0 -1
  414. package/src/lib/string/char.js +0 -124
  415. package/src/lib/string/char.js.map +0 -1
  416. package/src/lib/string/dencoder.js +0 -106
  417. package/src/lib/string/dencoder.js.map +0 -1
  418. package/src/lib/string/html.js +0 -44
  419. package/src/lib/string/html.js.map +0 -1
  420. package/src/lib/string/index.js +0 -14
  421. package/src/lib/string/index.js.map +0 -1
  422. package/src/lib/string/password.js +0 -3
  423. package/src/lib/string/password.js.map +0 -1
  424. package/src/lib/string/replace.js +0 -181
  425. package/src/lib/string/replace.js.map +0 -1
  426. package/src/lib/string/search.js +0 -39
  427. package/src/lib/string/search.js.map +0 -1
  428. package/src/lib/string/sort.js +0 -16
  429. package/src/lib/string/sort.js.map +0 -1
  430. package/src/lib/string/string.js +0 -113
  431. package/src/lib/string/string.js.map +0 -1
  432. package/src/lib/string/transform.js +0 -79
  433. package/src/lib/string/transform.js.map +0 -1
  434. package/src/lib/string/url.js +0 -279
  435. package/src/lib/string/url.js.map +0 -1
  436. package/src/lib/tree/index.js +0 -8
  437. package/src/lib/tree/index.js.map +0 -1
  438. package/src/lib/tree/tree.array.js +0 -21
  439. package/src/lib/tree/tree.array.js.map +0 -1
  440. package/src/lib/tree/tree.expand.js +0 -35
  441. package/src/lib/tree/tree.expand.js.map +0 -1
  442. package/src/lib/tree/tree.flatten.js +0 -47
  443. package/src/lib/tree/tree.flatten.js.map +0 -1
  444. package/src/lib/tree/tree.js +0 -5
  445. package/src/lib/tree/tree.js.map +0 -1
  446. package/src/lib/type.js +0 -48
  447. package/src/lib/type.js.map +0 -1
  448. package/src/lib/value/address.js +0 -65
  449. package/src/lib/value/address.js.map +0 -1
  450. package/src/lib/value/bound.js +0 -280
  451. package/src/lib/value/bound.js.map +0 -1
  452. package/src/lib/value/build.js +0 -16
  453. package/src/lib/value/build.js.map +0 -1
  454. package/src/lib/value/comparator.js +0 -60
  455. package/src/lib/value/comparator.js.map +0 -1
  456. package/src/lib/value/cron.js +0 -29
  457. package/src/lib/value/cron.js.map +0 -1
  458. package/src/lib/value/decision.js +0 -34
  459. package/src/lib/value/decision.js.map +0 -1
  460. package/src/lib/value/equal.js +0 -56
  461. package/src/lib/value/equal.js.map +0 -1
  462. package/src/lib/value/index.js +0 -24
  463. package/src/lib/value/index.js.map +0 -1
  464. package/src/lib/value/indexed.js +0 -420
  465. package/src/lib/value/indexed.js.map +0 -1
  466. package/src/lib/value/label.js +0 -3
  467. package/src/lib/value/label.js.map +0 -1
  468. package/src/lib/value/map.js +0 -107
  469. package/src/lib/value/map.js.map +0 -1
  470. package/src/lib/value/maybe.js +0 -140
  471. package/src/lib/value/maybe.js.map +0 -1
  472. package/src/lib/value/maybe.type.js +0 -3
  473. package/src/lib/value/maybe.type.js.map +0 -1
  474. package/src/lib/value/modifier.js +0 -109
  475. package/src/lib/value/modifier.js.map +0 -1
  476. package/src/lib/value/pixel.js +0 -3
  477. package/src/lib/value/pixel.js.map +0 -1
  478. package/src/lib/value/point.js +0 -336
  479. package/src/lib/value/point.js.map +0 -1
  480. package/src/lib/value/sync.js +0 -18
  481. package/src/lib/value/sync.js.map +0 -1
  482. package/src/lib/value/url.js +0 -22
  483. package/src/lib/value/url.js.map +0 -1
  484. package/src/lib/value/use.js +0 -78
  485. package/src/lib/value/use.js.map +0 -1
  486. package/src/lib/value/vector.js +0 -70
  487. package/src/lib/value/vector.js.map +0 -1
  488. package/src/lib/value/zoom.js +0 -3
  489. package/src/lib/value/zoom.js.map +0 -1
  490. package/test/CHANGELOG.md +0 -1314
  491. package/test/src/index.js +0 -5
  492. package/test/src/index.js.map +0 -1
  493. package/test/src/lib/index.js +0 -8
  494. package/test/src/lib/index.js.map +0 -1
  495. package/test/src/lib/jest.fail.js +0 -191
  496. package/test/src/lib/jest.fail.js.map +0 -1
  497. package/test/src/lib/jest.function.js +0 -22
  498. package/test/src/lib/jest.function.js.map +0 -1
  499. package/test/src/lib/jest.js +0 -112
  500. package/test/src/lib/jest.js.map +0 -1
  501. package/test/src/lib/jest.wrap.js +0 -69
  502. package/test/src/lib/jest.wrap.js.map +0 -1
@@ -1,6 +1,6 @@
1
- import { MapFunction } from '../value/map';
2
- import { Maybe } from '../value/maybe.type';
3
- import { AsNumberInput } from './number';
1
+ import { type MapFunction } from '../value/map';
2
+ import { type Maybe } from '../value/maybe.type';
3
+ import { type AsNumberInput } from './number';
4
4
  export type NumberRounding = 'none' | 'floor' | 'ceil' | 'round';
5
5
  export type RoundingFunction = MapFunction<number, number>;
6
6
  export declare function roundingFunction(type: NumberRounding): RoundingFunction;
@@ -1,5 +1,5 @@
1
- import { SortCompareFunction } from '../sort';
2
- import { ReadNumberFunction } from './number';
1
+ import { type SortCompareFunction } from '../sort';
2
+ import { type ReadNumberFunction } from './number';
3
3
  /**
4
4
  * SortCompareFunction by string.
5
5
  */
@@ -1,6 +1,6 @@
1
- import { MapFunction } from '../value/map';
2
- import { BoundNumberFunctionConfig } from './bound';
3
- import { NumberPrecision, RoundNumberToStepFunctionInput } from './round';
1
+ import { type MapFunction } from '../value/map';
2
+ import { type BoundNumberFunctionConfig } from './bound';
3
+ import { type NumberPrecision, type RoundNumberToStepFunctionInput } from './round';
4
4
  export type TransformNumberFunctionConfig<N extends number = number> = {
5
5
  /**
6
6
  * (Optional) transform function for the input. It is processed first.
@@ -2,6 +2,7 @@ export * from './object.array.delta';
2
2
  export * from './object.array';
3
3
  export * from './object.empty';
4
4
  export * from './object.equal';
5
+ export * from './object.key';
5
6
  export * from './object.map';
6
7
  export * from './object';
7
8
  export * from './object.filter.tuple';
@@ -1,4 +1,4 @@
1
- import { ArrayOrValue } from '../array';
1
+ import { type ArrayOrValue } from '../array';
2
2
  /**
3
3
  * Convenience function for objectMergeMatrix that returns a flat array.
4
4
  */
@@ -1,6 +1,6 @@
1
- import { MaybeMap } from '../value/maybe.type';
2
- import { ObjectFieldEqualityChecker } from './object.equal';
3
- import { EmptyArray } from '../array/array';
1
+ import { type MaybeMap } from '../value/maybe.type';
2
+ import { type ObjectFieldEqualityChecker } from './object.equal';
3
+ import { type EmptyArray } from '../array/array';
4
4
  /**
5
5
  * A partial "delta" of the given entry. It only contains values that changed from the last entry.
6
6
  *
@@ -1,6 +1,6 @@
1
- import { FieldOfType } from '../key';
2
- import { SetIncludesMode } from '../set/set.mode';
3
- import { KeyAsString } from '../type';
1
+ import { type FieldOfType } from '../key';
2
+ import { type SetIncludesMode } from '../set/set.mode';
3
+ import { type KeyAsString } from '../type';
4
4
  export type EmptyObject = Record<string, never>;
5
5
  export declare function objectHasNoKeys(obj: object): obj is EmptyObject;
6
6
  export declare function objectHasKey<T>(obj: T, key: KeyAsString<keyof T>): boolean;
@@ -1,4 +1,4 @@
1
- import { Maybe } from '../value/maybe.type';
1
+ import { type Maybe } from '../value/maybe.type';
2
2
  /**
3
3
  * Recursively function that returns true if the input is not an object or if every key on the object is empty.
4
4
  *
@@ -1,5 +1,5 @@
1
- import { FieldOfType } from '../key';
2
- import { EqualityComparatorFunction } from '../value/comparator';
1
+ import { type FieldOfType } from '../key';
2
+ import { type EqualityComparatorFunction } from '../value/comparator';
3
3
  /**
4
4
  * Performs a deep comparison to check if all values on the input filters are equal.
5
5
  */
@@ -1,6 +1,6 @@
1
- import { ArrayOrValue } from './../array/array';
2
- import { Maybe } from '../value/maybe.type';
3
- import { FilterKeyValueTuplesInput, KeyValueTuple, KeyValueTupleFilter, KeyValueTypleValueFilter } from './object.filter.tuple';
1
+ import { type ArrayOrValue } from './../array/array';
2
+ import { type Maybe } from '../value/maybe.type';
3
+ import { type FilterKeyValueTuplesInput, type KeyValueTuple, type KeyValueTupleFilter, KeyValueTypleValueFilter } from './object.filter.tuple';
4
4
  /**
5
5
  * Assigns all undefined values from one or more objects into the target object.
6
6
  *
@@ -1,5 +1,5 @@
1
- import { FilterFunction } from '../filter/filter';
2
- import { KeyAsString } from '../type';
1
+ import { type FilterFunction } from '../filter/filter';
2
+ import { type KeyAsString } from '../type';
3
3
  export type ForEachKeyValueTupleFunction<T extends object = object, K extends keyof T = keyof T> = (tuple: KeyValueTuple<T, K>, index: number) => void;
4
4
  export interface ForEachKeyValue<T extends object = object, K extends keyof T = keyof T> {
5
5
  filter?: FilterKeyValueTuplesInput<T, K>;
@@ -0,0 +1,17 @@
1
+ import { type PrimativeKey, type ReadKeyFunction, type ReadMultipleKeysFunction } from '../key';
2
+ import { type Maybe } from '../value/maybe.type';
3
+ import { type EqualityComparatorFunction } from '../value/comparator';
4
+ /**
5
+ * Creates a EqualityComparatorFunction that compares the two input values
6
+ *
7
+ * @param readKey
8
+ * @returns
9
+ */
10
+ export declare function objectKeysEqualityComparatorFunction<T, K extends PrimativeKey = PrimativeKey>(readKey: ReadKeyFunction<T, K> | ReadMultipleKeysFunction<T, K>): EqualityComparatorFunction<Maybe<T[]>>;
11
+ /**
12
+ * Creates a EqualityComparatorFunction that compares the two input values
13
+ *
14
+ * @param readKey
15
+ * @returns
16
+ */
17
+ export declare function objectKeyEqualityComparatorFunction<T, K extends PrimativeKey = PrimativeKey>(readKey: ReadKeyFunction<T, K>): EqualityComparatorFunction<Maybe<T>>;
@@ -1,4 +1,4 @@
1
- import { MapFunction } from '../value/map';
1
+ import { type MapFunction } from '../value/map';
2
2
  /**
3
3
  * An object with values of a specific type keyed by either string or number or symbols.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Page } from './page';
1
+ import { type Page } from './page';
2
2
  export interface PageCalculatorConfig {
3
3
  pageSize: number;
4
4
  limitKey?: string;
@@ -1,4 +1,4 @@
1
- import { Maybe } from '../value/maybe.type';
1
+ import { type Maybe } from '../value/maybe.type';
2
2
  /**
3
3
  * Page value used when no list items have been loaded.
4
4
  */
@@ -1,6 +1,6 @@
1
- import { Filter, OptionalFilter } from '../filter';
2
- import { Page } from '../page';
3
- import { IterateFn, IteratePageFn } from '../iterate';
1
+ import { type Filter, type OptionalFilter } from '../filter';
2
+ import { type Page } from '../page';
3
+ import { type IterateFn, type IteratePageFn } from '../iterate';
4
4
  /**
5
5
  * Represents a page number with a filter.
6
6
  */
@@ -1,7 +1,7 @@
1
- import { MapSameFunction } from '../value/map';
2
- import { ArrayOrValue } from '../array/array';
3
- import { IndexRangeInput, Maybe } from '../value';
4
- import { FactoryWithRequiredInput } from '../getter/getter';
1
+ import { type MapSameFunction } from '../value/map';
2
+ import { type ArrayOrValue } from '../array/array';
3
+ import { type IndexRangeInput, type Maybe } from '../value';
4
+ import { type FactoryWithRequiredInput } from '../getter/getter';
5
5
  export declare const SLASH_PATH_SEPARATOR = "/";
6
6
  export declare const SLASH_PATH_FILE_TYPE_SEPARATOR = ".";
7
7
  export type SlashPathSeparatorString = typeof SLASH_PATH_SEPARATOR;
@@ -1,4 +1,4 @@
1
- import { Maybe } from '../value/maybe.type';
1
+ import { type Maybe } from '../value/maybe.type';
2
2
  export type PromiseCallback = (err?: Maybe<Error>) => void;
3
3
  export type UsePromiseCallback = (cb: PromiseCallback) => void;
4
4
  export declare function useCallback(use: UsePromiseCallback): Promise<void>;
@@ -1,4 +1,4 @@
1
- import { PromiseOrValue } from './promise.type';
1
+ import { type PromiseOrValue } from './promise.type';
2
2
  /**
3
3
  * Performs a mapping function on the input PromiseOrValue value.
4
4
  *
@@ -1,6 +1,6 @@
1
- import { Milliseconds } from '../date/date';
2
- import { IndexNumber } from '../value';
3
- import { Maybe } from '../value/maybe.type';
1
+ import { type Milliseconds } from '../date/date';
2
+ import { type IndexNumber } from '../value';
3
+ import { type Maybe } from '../value/maybe.type';
4
4
  export type RunAsyncTaskForValueConfig<T = unknown> = Omit<PerformAsyncTaskConfig<T>, 'throwError'>;
5
5
  export type RunAsyncTasksForValuesConfig<T = unknown> = Omit<PerformAsyncTasksConfig<T>, 'throwError'>;
6
6
  /**
@@ -1,5 +1,5 @@
1
- import { BatchCount } from '../grouping';
2
- import { Maybe } from '../value/maybe.type';
1
+ import { type BatchCount } from '../grouping';
2
+ import { type Maybe } from '../value/maybe.type';
3
3
  export interface PerformTaskLoopConfig<O> {
4
4
  next: (i: number, prev: Maybe<O>) => Promise<O>;
5
5
  checkContinue: (prev: Maybe<O>, i: number) => boolean;
@@ -1,5 +1,5 @@
1
- import { GetterOrValue } from '../getter';
2
- import { UseAsync } from '../value';
1
+ import { type GetterOrValue } from '../getter';
2
+ import { type UseAsync } from '../value';
3
3
  /**
4
4
  * Uses a cached promise value.
5
5
  */
@@ -1,4 +1,4 @@
1
- import { Maybe } from '../value/maybe.type';
1
+ import { type Maybe } from '../value/maybe.type';
2
2
  export declare enum RelationChange {
3
3
  /**
4
4
  * Adds a model to the relation. If the model already exists in
@@ -1,7 +1,7 @@
1
- import { MapFunction } from '../value/map';
2
- import { ArrayOrValue } from '../array/array';
3
- import { PrimativeKey } from '../key';
4
- import { Handler, HandlerAccessor, HandlerFunction, HandlerSetAccessor } from './handler';
1
+ import { type MapFunction } from '../value/map';
2
+ import { type ArrayOrValue } from '../array/array';
3
+ import { type PrimativeKey } from '../key';
4
+ import { type Handler, type HandlerAccessor, type HandlerFunction, type HandlerSetAccessor } from './handler';
5
5
  /**
6
6
  * Wraps a HandlerAccessor and the item it is bound to in order to be a HandlerSetAccessor.
7
7
  */
@@ -1,6 +1,6 @@
1
- import { PrimativeKey, ReadKeyFunction } from '../key';
2
- import { ArrayOrValue } from '../array/array';
3
- import { PromiseOrValue } from '../promise/promise.type';
1
+ import { type PrimativeKey, type ReadKeyFunction } from '../key';
2
+ import { type ArrayOrValue } from '../array/array';
3
+ import { type PromiseOrValue } from '../promise/promise.type';
4
4
  /**
5
5
  * Key used to signify
6
6
  */
@@ -1,4 +1,4 @@
1
- import { GetterOrValue } from '../getter/getter';
1
+ import { type GetterOrValue } from '../getter/getter';
2
2
  /**
3
3
  * Registry used to load model services when requested.
4
4
  */
@@ -1,5 +1,5 @@
1
- import { ArrayOrValue } from './../array/array';
2
- import { Maybe } from '../value/maybe.type';
1
+ import { type ArrayOrValue } from './../array/array';
2
+ import { type Maybe } from '../value/maybe.type';
3
3
  /**
4
4
  * Pair of allowed/disallowed values.
5
5
  */
@@ -1,9 +1,9 @@
1
- import { Maybe } from '../value/maybe.type';
2
- import { IterableOrValue } from '../iterable/iterable';
3
- import { PrimativeKey, ReadKeyFunction } from '../key';
4
- import { SetIncludesMode } from './set.mode';
5
- import { DecisionFunction } from '../value/decision';
6
- import { MapFunction } from '../value/map';
1
+ import { type Maybe } from '../value/maybe.type';
2
+ import { type IterableOrValue } from '../iterable/iterable';
3
+ import { type PrimativeKey, type ReadKeyFunction } from '../key';
4
+ import { type SetIncludesMode } from './set.mode';
5
+ import { type DecisionFunction } from '../value/decision';
6
+ import { type MapFunction } from '../value/map';
7
7
  export type AllOrNoneSelection = 'all' | 'none';
8
8
  export declare function asSet<T>(values: IterableOrValue<T>): Set<T>;
9
9
  export declare function copySetAndDo<T>(set: Set<T>, fn: (set: Set<T>) => void): Set<T>;
@@ -1,4 +1,4 @@
1
- import { DecisionFunction } from './../value/decision';
1
+ import { type DecisionFunction } from './../value/decision';
2
2
  /**
3
3
  * DecisionFunction that checks whether or not the input is in the set, or the input's value is in the set.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { PrimativeKey, ReadKeyFunction } from '../key';
1
+ import { type PrimativeKey, type ReadKeyFunction } from '../key';
2
2
  /**
3
3
  * How the value's presence changed from one set to the next.
4
4
  */
@@ -1,5 +1,5 @@
1
- import { PrimativeKey, ReadKeyFunction } from '../key';
2
- import { Maybe } from '../value/maybe.type';
1
+ import { type PrimativeKey, type ReadKeyFunction } from '../key';
2
+ import { type Maybe } from '../value/maybe.type';
3
3
  export interface HashSetConfig<K extends PrimativeKey, T> {
4
4
  readKey: ReadKeyFunction<T, K>;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { ArrayOrValue } from './../array/array';
2
- import { Maybe } from '../value/maybe.type';
1
+ import { type ArrayOrValue } from './../array/array';
2
+ import { type Maybe } from '../value/maybe.type';
3
3
  /**
4
4
  * Creates a Maybe Set with the input.
5
5
  *
@@ -1,5 +1,5 @@
1
- import { PrimativeKey, ReadKeyFunction } from '../key';
2
- import { DecisionFunction } from '../value';
1
+ import { type PrimativeKey, type ReadKeyFunction } from '../key';
2
+ import { type DecisionFunction } from '../value';
3
3
  /**
4
4
  * Factory that creates a DecisionFunction using the input "selected" values. That function returns true if the value's key is considered to be included in the selected values.
5
5
  */
package/src/lib/sort.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { MapSameFunction } from './value/map';
2
- import { Maybe, MaybeMap } from './value/maybe.type';
1
+ import { type MapSameFunction } from './value/map';
2
+ import { type Maybe, type MaybeMap } from './value/maybe.type';
3
3
  export type SortingOrder = 'asc' | 'desc';
4
4
  export declare const SORT_VALUE_LESS_THAN: SortComparisonNumber;
5
5
  export declare const SORT_VALUE_GREATER_THAN: SortComparisonNumber;
@@ -1,4 +1,4 @@
1
- import { UnixDateTimeNumber } from '../date/date';
1
+ import { type UnixDateTimeNumber } from '../date/date';
2
2
  export type StoredDataString = string;
3
3
  export type StoredDataStorageKey = string;
4
4
  export interface StoredData {
@@ -1,5 +1,5 @@
1
1
  import { BaseError } from 'make-error';
2
- import { ReadStoredData } from './storage';
2
+ import { type ReadStoredData } from './storage';
3
3
  export declare class StoredDataError extends BaseError {
4
4
  constructor(message?: string);
5
5
  }
@@ -1,5 +1,5 @@
1
- import { Maybe } from '../value/maybe.type';
2
- import { StorageObject } from './storage.object';
1
+ import { type Maybe } from '../value/maybe.type';
2
+ import { type StorageObject } from './storage.object';
3
3
  export declare class MemoryStorageInstance implements StorageObject {
4
4
  private _length;
5
5
  private _storage;
@@ -1,5 +1,5 @@
1
- import { Maybe } from '../value/maybe.type';
2
- import { StoredDataStorageKey } from './storage';
1
+ import { type Maybe } from '../value/maybe.type';
2
+ import { type StoredDataStorageKey } from './storage';
3
3
  /**
4
4
  * Limited Class/Interface for storing string values synchronously.
5
5
  */
@@ -1,5 +1,5 @@
1
- import { ArrayOrValue } from '../array/array';
2
- import { DecisionFunction } from '../value/decision';
1
+ import { type ArrayOrValue } from '../array/array';
2
+ import { type DecisionFunction } from '../value/decision';
3
3
  export interface FirstAndLastCharacterOccurrence {
4
4
  readonly first: number | -1;
5
5
  readonly last: number | -1;
@@ -1,4 +1,5 @@
1
- import { FactoryWithRequiredInput, PrimativeKey } from '@dereekb/util';
1
+ import { type PrimativeKey } from '../key';
2
+ import { type FactoryWithRequiredInput } from '../getter/getter';
2
3
  /**
3
4
  * Map object of PrimativeKey dencoder values, keyed by the encoded value.
4
5
  */
@@ -1,5 +1,5 @@
1
- import { ArrayOrValue } from './../array/array';
2
- import { Maybe } from '../value/maybe.type';
1
+ import { type ArrayOrValue } from './../array/array';
2
+ import { type Maybe } from '../value/maybe.type';
3
3
  /**
4
4
  * Represents a single CSS class
5
5
  */
@@ -1,6 +1,6 @@
1
- import { ArrayOrValue } from '../array/array';
2
- import { Maybe } from '../value/maybe.type';
3
- import { MapSameFunction } from '../value/map';
1
+ import { type ArrayOrValue } from '../array/array';
2
+ import { type Maybe } from '../value/maybe.type';
3
+ import { type MapSameFunction } from '../value/map';
4
4
  export type ReplaceStringsFunction = MapSameFunction<string>;
5
5
  export interface ReplaceStringsConfig {
6
6
  /**
@@ -1,5 +1,5 @@
1
- import { ReadKeyFunction, ReadMultipleKeysFunction } from '../key';
2
- import { DecisionFunctionFactory } from '../value/decision';
1
+ import { type ReadKeyFunction, type ReadMultipleKeysFunction } from '../key';
2
+ import { type DecisionFunctionFactory } from '../value/decision';
3
3
  /**
4
4
  * Decision function factory that is configured with search string values.
5
5
  */
@@ -1,5 +1,5 @@
1
- import { SortCompareFunction } from '../sort';
2
- import { ReadStringFunction } from './string';
1
+ import { type SortCompareFunction } from '../sort';
2
+ import { type ReadStringFunction } from './string';
3
3
  /**
4
4
  * SortCompareFunction by string.
5
5
  */
@@ -1,5 +1,5 @@
1
- import { MapFunction } from '../value/map';
2
- import { Maybe } from '../value/maybe.type';
1
+ import { type MapFunction } from '../value/map';
2
+ import { type Maybe } from '../value/maybe.type';
3
3
  /**
4
4
  * Converts a string to a value.
5
5
  */
@@ -1,4 +1,4 @@
1
- import { MapFunction } from '../value/map';
1
+ import { type MapFunction } from '../value/map';
2
2
  export declare function stringTrimFunction(input: string): string;
3
3
  export declare function stringToUppercaseFunction(input: string): string;
4
4
  export declare function stringToLowercaseFunction(input: string): string;
@@ -1,9 +1,9 @@
1
- import { ArrayOrValue } from '../array/array';
2
- import { EmailAddress } from '../contact/email';
3
- import { E164PhoneNumberExtensionPair, E164PhoneNumberWithOptionalExtension, PhoneNumber } from '../contact/phone';
4
- import { IndexRangeInput } from './../value/indexed';
5
- import { MapFunction } from '../value/map';
6
- import { Maybe } from '../value/maybe.type';
1
+ import { type ArrayOrValue } from '../array/array';
2
+ import { type EmailAddress } from '../contact/email';
3
+ import { type E164PhoneNumberExtensionPair, type E164PhoneNumberWithOptionalExtension, type PhoneNumber } from '../contact/phone';
4
+ import { type IndexRangeInput } from './../value/indexed';
5
+ import { type MapFunction } from '../value/map';
6
+ import { type Maybe } from '../value/maybe.type';
7
7
  /**
8
8
  * Connection protocol
9
9
  *
@@ -1,6 +1,6 @@
1
- import { TreeNode } from './tree';
2
- import { ExpandTreeFunction } from './tree.expand';
3
- import { FlattenTreeFunction } from './tree.flatten';
1
+ import { type TreeNode } from './tree';
2
+ import { type ExpandTreeFunction } from './tree.expand';
3
+ import { type FlattenTreeFunction } from './tree.flatten';
4
4
  /**
5
5
  * Function that expands the input values into a tree, and then flattens the tree to produce a single array of values of another type.
6
6
  */
@@ -1,5 +1,5 @@
1
- import { TreeNode, TreeNodeWithoutChildren } from './tree';
2
- import { Maybe } from '../value/maybe.type';
1
+ import { type TreeNode, type TreeNodeWithoutChildren } from './tree';
2
+ import { type Maybe } from '../value/maybe.type';
3
3
  /**
4
4
  * ExpandTreeFunction configuration.
5
5
  */
@@ -1,4 +1,4 @@
1
- import { TreeNode } from './tree';
1
+ import { type TreeNode } from './tree';
2
2
  /**
3
3
  * Flattens the tree by pushing the values into the input array, or a new array and returns the value.
4
4
  */
package/src/lib/type.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { Merge, NonNever, PickProperties, StrictOmit, UnionToIntersection, Writable } from 'ts-essentials';
2
- import { Maybe } from './value/maybe.type';
1
+ import { type Merge, type NonNever, type PickProperties, type StrictOmit, type UnionToIntersection, type Writable } from 'ts-essentials';
2
+ import { type Maybe } from './value/maybe.type';
3
3
  /**
4
4
  * Boolean, string or number value.
5
5
  */
@@ -1,4 +1,4 @@
1
- import { Maybe } from './maybe.type';
1
+ import { type Maybe } from './maybe.type';
2
2
  /**
3
3
  * City name
4
4
  */
@@ -1,8 +1,8 @@
1
- import { Maybe } from '@dereekb/util';
2
- import { Rectangle } from './vector';
3
- import { LatLngPoint, LatLngPointInput, LatLngPrecision, LatLngPointFunction } from './point';
4
- import { DecisionFunction } from './decision';
5
- import { ArrayOrValue } from '../array';
1
+ import { type Maybe } from '../value/maybe.type';
2
+ import { type Rectangle } from './vector';
3
+ import { type LatLngPoint, type LatLngPointInput, type LatLngPrecision, type LatLngPointFunction } from './point';
4
+ import { type DecisionFunction } from './decision';
5
+ import { type ArrayOrValue } from '../array';
6
6
  export type LatLngBoundSouthWestPoint = LatLngPoint;
7
7
  export type LatLngBoundNothEastPoint = LatLngPoint;
8
8
  export interface LatLngBound {
@@ -1,4 +1,4 @@
1
- import { Configurable } from '../type';
1
+ import { type Configurable } from '../type';
2
2
  /**
3
3
  * Denotes a typically read-only like model is being built/configured.
4
4
  */
@@ -1,5 +1,5 @@
1
- import { ReadValueFunction } from './map';
2
- import { Maybe } from './maybe.type';
1
+ import { type ReadValueFunction } from './map';
2
+ import { type Maybe } from './maybe.type';
3
3
  /**
4
4
  * A comparator that returns true if the two input values are considered equivalent.
5
5
  */
@@ -1,4 +1,4 @@
1
- import { Minutes } from '../date/date';
1
+ import { type Minutes } from '../date/date';
2
2
  /**
3
3
  * A cron schedule expression string
4
4
  */
@@ -1,6 +1,6 @@
1
- import { FactoryWithRequiredInput } from '../getter/getter';
2
- import { MapFunction, AsyncMapFunction } from './map';
3
- import { Maybe } from './maybe.type';
1
+ import { type FactoryWithRequiredInput } from '../getter/getter';
2
+ import { type MapFunction, type AsyncMapFunction } from './map';
3
+ import { type Maybe } from './maybe.type';
4
4
  /**
5
5
  * A map function that derives a boolean from the input.
6
6
  */
@@ -1,5 +1,5 @@
1
- import { IterableOrValue } from './../iterable/iterable';
2
- import { EqualityComparatorFunction } from './comparator';
1
+ import { type IterableOrValue } from './../iterable/iterable';
2
+ import { type EqualityComparatorFunction } from './comparator';
3
3
  /**
4
4
  * Used to check if the input object is considered equal to the current context.
5
5
  */
@@ -1,10 +1,10 @@
1
- import { FindValuesFromInput } from '../set/set';
2
- import { ArrayOrValue } from '../array/array';
1
+ import { type FindValuesFromInput } from '../set/set';
2
+ import { type ArrayOrValue } from '../array/array';
3
3
  import { HashSet } from '../set/set.hashset';
4
- import { MinAndMaxFunction, MinAndMaxFunctionResult, SortCompareFunction } from '../sort';
5
- import { FactoryWithRequiredInput } from '../getter/getter';
6
- import { Maybe } from './maybe.type';
7
- import { WrapNumberFunction } from '../number';
4
+ import { type MinAndMaxFunction, type MinAndMaxFunctionResult, type SortCompareFunction } from '../sort';
5
+ import { type FactoryWithRequiredInput } from '../getter/getter';
6
+ import { type Maybe } from './maybe.type';
7
+ import { type WrapNumberFunction } from '../number';
8
8
  /**
9
9
  * A number that denotes which index an item is at.
10
10
  */
@@ -1,6 +1,6 @@
1
- import { ArrayOrValue } from '../array/array';
2
- import { PromiseOrValue } from '../promise/promise.type';
3
- import { Maybe, MaybeNot } from './maybe.type';
1
+ import { type ArrayOrValue } from '../array/array';
2
+ import { type PromiseOrValue } from '../promise/promise.type';
3
+ import { type Maybe, type MaybeNot } from './maybe.type';
4
4
  /**
5
5
  * Converts one value to another.
6
6
  */
@@ -1,4 +1,4 @@
1
- import { Maybe, MaybeNot, MaybeSo } from './maybe.type';
1
+ import { type Maybe, type MaybeNot, type MaybeSo } from './maybe.type';
2
2
  /**
3
3
  * Returns true if the value is not null or undefined.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { NonNever } from 'ts-essentials';
1
+ import { type NonNever } from 'ts-essentials';
2
2
  /**
3
3
  * A null/undefined value.
4
4
  */