@quantiya/codevibe-claude-plugin 2.0.27 → 2.0.29

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 (333) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/node_modules/@quantiya/codevibe-core/dist/appsync/appsync-client.d.ts +1 -0
  3. package/node_modules/@quantiya/codevibe-core/dist/appsync/queries.d.ts +1 -0
  4. package/node_modules/@quantiya/codevibe-core/dist/index.d.ts +5 -1
  5. package/node_modules/@quantiya/codevibe-core/dist/index.js +447 -415
  6. package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/local-executor-teams-summary.test.d.ts +1 -0
  7. package/node_modules/@quantiya/codevibe-core/dist/local-executor/hook-bridge.d.ts +2 -1
  8. package/node_modules/@quantiya/codevibe-core/dist/local-executor/index.d.ts +5 -0
  9. package/node_modules/@quantiya/codevibe-core/dist/local-executor/local-executor-impl.d.ts +16 -0
  10. package/node_modules/@quantiya/codevibe-core/dist/local-executor/team-summary.d.ts +151 -0
  11. package/node_modules/@quantiya/codevibe-core/dist/local-model/ollama.d.ts +3 -1
  12. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/audit-buffer-join.test.d.ts +1 -0
  13. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/audit-normalization.test.d.ts +1 -0
  14. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/audit-summary.test.d.ts +1 -0
  15. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/decision-map-lifecycle.test.d.ts +1 -0
  16. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/planner-confirmation-routing.test.d.ts +1 -0
  17. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/query_audit_tier_gate.test.d.ts +1 -0
  18. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/quorum-loop-fail-safe.test.d.ts +1 -0
  19. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/quorum-loop-summary.test.d.ts +1 -0
  20. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/audit-runner.d.ts +25 -0
  21. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/audit-summary.d.ts +240 -0
  22. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/cli.d.ts +11 -3
  23. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/cli.js +3693 -1315
  24. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/context-compaction.d.ts +2 -0
  25. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/gate-decision-submit.d.ts +1 -1
  26. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/index.d.ts +23 -17
  27. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/quorum-loop.d.ts +96 -1
  28. package/node_modules/@quantiya/codevibe-core/dist/planner/local-gemma.d.ts +35 -7
  29. package/node_modules/@quantiya/codevibe-core/package.json +2 -2
  30. package/node_modules/es-toolkit/CHANGELOG.md +3 -38
  31. package/node_modules/es-toolkit/dist/browser.global.js +4 -4
  32. package/node_modules/es-toolkit/dist/compat/array/differenceWith.js +1 -2
  33. package/node_modules/es-toolkit/dist/compat/array/differenceWith.mjs +1 -2
  34. package/node_modules/es-toolkit/dist/compat/array/findLastIndex.js +3 -5
  35. package/node_modules/es-toolkit/dist/compat/array/findLastIndex.mjs +3 -5
  36. package/node_modules/es-toolkit/dist/compat/array/sortedIndexBy.js +1 -1
  37. package/node_modules/es-toolkit/dist/compat/array/sortedIndexBy.mjs +1 -1
  38. package/node_modules/es-toolkit/dist/compat/array/without.js +2 -8
  39. package/node_modules/es-toolkit/dist/compat/array/without.mjs +2 -8
  40. package/node_modules/es-toolkit/dist/compat/array/xorWith.js +6 -4
  41. package/node_modules/es-toolkit/dist/compat/array/xorWith.mjs +6 -4
  42. package/node_modules/es-toolkit/dist/compat/compat.js +1 -1
  43. package/node_modules/es-toolkit/dist/compat/compat.mjs +1 -1
  44. package/node_modules/es-toolkit/dist/compat/function/debounce.js +1 -1
  45. package/node_modules/es-toolkit/dist/compat/function/debounce.mjs +1 -1
  46. package/node_modules/es-toolkit/dist/compat/index.js +1 -1
  47. package/node_modules/es-toolkit/dist/compat/index.mjs +1 -1
  48. package/node_modules/es-toolkit/dist/compat/object/has.js +2 -3
  49. package/node_modules/es-toolkit/dist/compat/object/has.mjs +2 -3
  50. package/node_modules/es-toolkit/dist/compat/object/hasIn.js +2 -3
  51. package/node_modules/es-toolkit/dist/compat/object/hasIn.mjs +2 -3
  52. package/node_modules/es-toolkit/dist/compat/object/mergeWith.js +1 -1
  53. package/node_modules/es-toolkit/dist/compat/object/mergeWith.mjs +1 -1
  54. package/node_modules/es-toolkit/dist/compat/object/omitBy.js +1 -1
  55. package/node_modules/es-toolkit/dist/compat/object/omitBy.mjs +1 -1
  56. package/node_modules/es-toolkit/dist/compat/object/pickBy.js +1 -1
  57. package/node_modules/es-toolkit/dist/compat/object/pickBy.mjs +1 -1
  58. package/node_modules/es-toolkit/dist/compat/util/toString.js +1 -3
  59. package/node_modules/es-toolkit/dist/compat/util/toString.mjs +1 -3
  60. package/node_modules/es-toolkit/dist/fp/index.d.mts +1 -2
  61. package/node_modules/es-toolkit/dist/fp/index.d.ts +1 -2
  62. package/node_modules/es-toolkit/dist/fp/index.js +0 -2
  63. package/node_modules/es-toolkit/dist/fp/index.mjs +1 -2
  64. package/node_modules/es-toolkit/dist/index.d.mts +1 -3
  65. package/node_modules/es-toolkit/dist/index.d.ts +1 -3
  66. package/node_modules/es-toolkit/dist/index.js +0 -4
  67. package/node_modules/es-toolkit/dist/index.mjs +1 -3
  68. package/node_modules/es-toolkit/dist/object/merge.d.mts +1 -3
  69. package/node_modules/es-toolkit/dist/object/merge.d.ts +1 -3
  70. package/node_modules/es-toolkit/dist/object/merge.js +40 -0
  71. package/node_modules/es-toolkit/dist/object/merge.mjs +40 -0
  72. package/node_modules/es-toolkit/dist/object/omitBy.d.mts +2 -4
  73. package/node_modules/es-toolkit/dist/object/omitBy.d.ts +2 -4
  74. package/node_modules/es-toolkit/dist/object/omitBy.js +3 -4
  75. package/node_modules/es-toolkit/dist/object/omitBy.mjs +3 -4
  76. package/node_modules/es-toolkit/dist/object/pickBy.d.mts +2 -4
  77. package/node_modules/es-toolkit/dist/object/pickBy.d.ts +2 -4
  78. package/node_modules/es-toolkit/dist/object/pickBy.js +3 -4
  79. package/node_modules/es-toolkit/dist/object/pickBy.mjs +3 -4
  80. package/node_modules/es-toolkit/dist/types/index.d.mts +2 -11
  81. package/node_modules/es-toolkit/dist/types/index.d.ts +2 -11
  82. package/node_modules/es-toolkit/dist/util/attempt.d.mts +1 -1
  83. package/node_modules/es-toolkit/dist/util/attempt.d.ts +1 -1
  84. package/node_modules/es-toolkit/dist/util/attemptAsync.d.mts +1 -1
  85. package/node_modules/es-toolkit/dist/util/attemptAsync.d.ts +1 -1
  86. package/node_modules/es-toolkit/dist/util/index.d.mts +1 -3
  87. package/node_modules/es-toolkit/dist/util/index.d.ts +1 -3
  88. package/node_modules/es-toolkit/dist/util/index.js +0 -4
  89. package/node_modules/es-toolkit/dist/util/index.mjs +1 -3
  90. package/node_modules/es-toolkit/package.json +1 -44
  91. package/node_modules/node-abi/abi_registry.json +0 -7
  92. package/node_modules/node-abi/package.json +1 -1
  93. package/node_modules/qs/.github/THREAT_MODEL.md +3 -3
  94. package/node_modules/qs/CHANGELOG.md +0 -15
  95. package/node_modules/qs/README.md +1 -19
  96. package/node_modules/qs/dist/qs.js +21 -21
  97. package/node_modules/qs/eslint.config.mjs +1 -1
  98. package/node_modules/qs/lib/parse.js +4 -3
  99. package/node_modules/qs/lib/stringify.js +8 -23
  100. package/node_modules/qs/lib/utils.js +3 -10
  101. package/node_modules/qs/package.json +4 -4
  102. package/node_modules/qs/test/parse.js +3 -192
  103. package/node_modules/qs/test/stringify.js +0 -317
  104. package/node_modules/qs/test/utils.js +0 -12
  105. package/node_modules/type-fest/index.d.ts +7 -6
  106. package/node_modules/type-fest/package.json +1 -1
  107. package/node_modules/type-fest/readme.md +5 -6
  108. package/node_modules/type-fest/source/delimiter-case.d.ts +1 -1
  109. package/node_modules/type-fest/source/get.d.ts +1 -1
  110. package/node_modules/type-fest/source/internal/object.d.ts +1 -30
  111. package/node_modules/type-fest/source/is-literal.d.ts +269 -43
  112. package/node_modules/type-fest/source/jsonify.d.ts +5 -1
  113. package/node_modules/type-fest/source/remove-prefix.d.ts +1 -1
  114. package/node_modules/type-fest/source/remove-suffix.d.ts +1 -1
  115. package/node_modules/type-fest/source/shared-union-fields-deep.d.ts +3 -4
  116. package/node_modules/type-fest/source/split.d.ts +1 -1
  117. package/node_modules/type-fest/source/string-repeat.d.ts +1 -1
  118. package/node_modules/type-fest/source/string-to-array.d.ts +1 -1
  119. package/node_modules/type-fest/source/tsconfig-json.d.ts +1 -1
  120. package/node_modules/type-fest/source/typed-array.d.ts +0 -1
  121. package/node_modules/type-fest/source/writable.d.ts +2 -2
  122. package/package.json +2 -2
  123. package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/direct-file-delete.d.ts +0 -22
  124. package/node_modules/es-toolkit/dist/fp/flowAsync.d.mts +0 -213
  125. package/node_modules/es-toolkit/dist/fp/flowAsync.d.ts +0 -213
  126. package/node_modules/es-toolkit/dist/fp/flowAsync.js +0 -37
  127. package/node_modules/es-toolkit/dist/fp/flowAsync.mjs +0 -37
  128. package/node_modules/es-toolkit/dist/fp/iterator/cartesianProduct.d.mts +0 -23
  129. package/node_modules/es-toolkit/dist/fp/iterator/cartesianProduct.d.ts +0 -23
  130. package/node_modules/es-toolkit/dist/fp/iterator/cartesianProduct.js +0 -28
  131. package/node_modules/es-toolkit/dist/fp/iterator/cartesianProduct.mjs +0 -28
  132. package/node_modules/es-toolkit/dist/fp/iterator/chunk.d.mts +0 -19
  133. package/node_modules/es-toolkit/dist/fp/iterator/chunk.d.ts +0 -19
  134. package/node_modules/es-toolkit/dist/fp/iterator/chunk.js +0 -24
  135. package/node_modules/es-toolkit/dist/fp/iterator/chunk.mjs +0 -24
  136. package/node_modules/es-toolkit/dist/fp/iterator/count.d.mts +0 -20
  137. package/node_modules/es-toolkit/dist/fp/iterator/count.d.ts +0 -20
  138. package/node_modules/es-toolkit/dist/fp/iterator/count.js +0 -25
  139. package/node_modules/es-toolkit/dist/fp/iterator/count.mjs +0 -25
  140. package/node_modules/es-toolkit/dist/fp/iterator/drop.d.mts +0 -20
  141. package/node_modules/es-toolkit/dist/fp/iterator/drop.d.ts +0 -20
  142. package/node_modules/es-toolkit/dist/fp/iterator/drop.js +0 -24
  143. package/node_modules/es-toolkit/dist/fp/iterator/drop.mjs +0 -24
  144. package/node_modules/es-toolkit/dist/fp/iterator/dropWhile.d.mts +0 -18
  145. package/node_modules/es-toolkit/dist/fp/iterator/dropWhile.d.ts +0 -18
  146. package/node_modules/es-toolkit/dist/fp/iterator/dropWhile.js +0 -23
  147. package/node_modules/es-toolkit/dist/fp/iterator/dropWhile.mjs +0 -23
  148. package/node_modules/es-toolkit/dist/fp/iterator/every.d.mts +0 -20
  149. package/node_modules/es-toolkit/dist/fp/iterator/every.d.ts +0 -20
  150. package/node_modules/es-toolkit/dist/fp/iterator/every.js +0 -24
  151. package/node_modules/es-toolkit/dist/fp/iterator/every.mjs +0 -24
  152. package/node_modules/es-toolkit/dist/fp/iterator/filter.d.mts +0 -37
  153. package/node_modules/es-toolkit/dist/fp/iterator/filter.d.ts +0 -37
  154. package/node_modules/es-toolkit/dist/fp/iterator/filter.js +0 -8
  155. package/node_modules/es-toolkit/dist/fp/iterator/filter.mjs +0 -8
  156. package/node_modules/es-toolkit/dist/fp/iterator/find.d.mts +0 -20
  157. package/node_modules/es-toolkit/dist/fp/iterator/find.d.ts +0 -20
  158. package/node_modules/es-toolkit/dist/fp/iterator/find.js +0 -24
  159. package/node_modules/es-toolkit/dist/fp/iterator/find.mjs +0 -24
  160. package/node_modules/es-toolkit/dist/fp/iterator/flatMap.d.mts +0 -20
  161. package/node_modules/es-toolkit/dist/fp/iterator/flatMap.d.ts +0 -20
  162. package/node_modules/es-toolkit/dist/fp/iterator/flatMap.js +0 -24
  163. package/node_modules/es-toolkit/dist/fp/iterator/flatMap.mjs +0 -24
  164. package/node_modules/es-toolkit/dist/fp/iterator/forEach.d.mts +0 -22
  165. package/node_modules/es-toolkit/dist/fp/iterator/forEach.d.ts +0 -22
  166. package/node_modules/es-toolkit/dist/fp/iterator/forEach.js +0 -26
  167. package/node_modules/es-toolkit/dist/fp/iterator/forEach.mjs +0 -26
  168. package/node_modules/es-toolkit/dist/fp/iterator/head.d.mts +0 -19
  169. package/node_modules/es-toolkit/dist/fp/iterator/head.d.ts +0 -19
  170. package/node_modules/es-toolkit/dist/fp/iterator/head.js +0 -24
  171. package/node_modules/es-toolkit/dist/fp/iterator/head.mjs +0 -24
  172. package/node_modules/es-toolkit/dist/fp/iterator/index.d.mts +0 -22
  173. package/node_modules/es-toolkit/dist/fp/iterator/index.d.ts +0 -22
  174. package/node_modules/es-toolkit/dist/fp/iterator/index.js +0 -43
  175. package/node_modules/es-toolkit/dist/fp/iterator/index.mjs +0 -22
  176. package/node_modules/es-toolkit/dist/fp/iterator/map.d.mts +0 -20
  177. package/node_modules/es-toolkit/dist/fp/iterator/map.d.ts +0 -20
  178. package/node_modules/es-toolkit/dist/fp/iterator/map.js +0 -24
  179. package/node_modules/es-toolkit/dist/fp/iterator/map.mjs +0 -24
  180. package/node_modules/es-toolkit/dist/fp/iterator/partition.d.mts +0 -22
  181. package/node_modules/es-toolkit/dist/fp/iterator/partition.d.ts +0 -22
  182. package/node_modules/es-toolkit/dist/fp/iterator/partition.js +0 -27
  183. package/node_modules/es-toolkit/dist/fp/iterator/partition.mjs +0 -27
  184. package/node_modules/es-toolkit/dist/fp/iterator/reduce.d.mts +0 -24
  185. package/node_modules/es-toolkit/dist/fp/iterator/reduce.d.ts +0 -24
  186. package/node_modules/es-toolkit/dist/fp/iterator/reduce.js +0 -28
  187. package/node_modules/es-toolkit/dist/fp/iterator/reduce.mjs +0 -28
  188. package/node_modules/es-toolkit/dist/fp/iterator/scan.d.mts +0 -21
  189. package/node_modules/es-toolkit/dist/fp/iterator/scan.d.ts +0 -21
  190. package/node_modules/es-toolkit/dist/fp/iterator/scan.js +0 -26
  191. package/node_modules/es-toolkit/dist/fp/iterator/scan.mjs +0 -26
  192. package/node_modules/es-toolkit/dist/fp/iterator/some.d.mts +0 -20
  193. package/node_modules/es-toolkit/dist/fp/iterator/some.d.ts +0 -20
  194. package/node_modules/es-toolkit/dist/fp/iterator/some.js +0 -24
  195. package/node_modules/es-toolkit/dist/fp/iterator/some.mjs +0 -24
  196. package/node_modules/es-toolkit/dist/fp/iterator/take.d.mts +0 -21
  197. package/node_modules/es-toolkit/dist/fp/iterator/take.d.ts +0 -21
  198. package/node_modules/es-toolkit/dist/fp/iterator/take.js +0 -25
  199. package/node_modules/es-toolkit/dist/fp/iterator/take.mjs +0 -25
  200. package/node_modules/es-toolkit/dist/fp/iterator/takeWhile.d.mts +0 -19
  201. package/node_modules/es-toolkit/dist/fp/iterator/takeWhile.d.ts +0 -19
  202. package/node_modules/es-toolkit/dist/fp/iterator/takeWhile.js +0 -24
  203. package/node_modules/es-toolkit/dist/fp/iterator/takeWhile.mjs +0 -24
  204. package/node_modules/es-toolkit/dist/fp/iterator/toArray.d.mts +0 -21
  205. package/node_modules/es-toolkit/dist/fp/iterator/toArray.d.ts +0 -21
  206. package/node_modules/es-toolkit/dist/fp/iterator/toArray.js +0 -25
  207. package/node_modules/es-toolkit/dist/fp/iterator/toArray.mjs +0 -25
  208. package/node_modules/es-toolkit/dist/fp/iterator/uniqBy.d.mts +0 -20
  209. package/node_modules/es-toolkit/dist/fp/iterator/uniqBy.d.ts +0 -20
  210. package/node_modules/es-toolkit/dist/fp/iterator/uniqBy.js +0 -25
  211. package/node_modules/es-toolkit/dist/fp/iterator/uniqBy.mjs +0 -25
  212. package/node_modules/es-toolkit/dist/fp/iterator/zip.d.mts +0 -20
  213. package/node_modules/es-toolkit/dist/fp/iterator/zip.d.ts +0 -20
  214. package/node_modules/es-toolkit/dist/fp/iterator/zip.js +0 -25
  215. package/node_modules/es-toolkit/dist/fp/iterator/zip.mjs +0 -25
  216. package/node_modules/es-toolkit/dist/iterator/_internal/iterator.js +0 -74
  217. package/node_modules/es-toolkit/dist/iterator/_internal/iterator.mjs +0 -74
  218. package/node_modules/es-toolkit/dist/iterator/cartesianProduct.d.mts +0 -33
  219. package/node_modules/es-toolkit/dist/iterator/cartesianProduct.d.ts +0 -33
  220. package/node_modules/es-toolkit/dist/iterator/cartesianProduct.js +0 -95
  221. package/node_modules/es-toolkit/dist/iterator/cartesianProduct.mjs +0 -95
  222. package/node_modules/es-toolkit/dist/iterator/chunk.d.mts +0 -21
  223. package/node_modules/es-toolkit/dist/iterator/chunk.d.ts +0 -21
  224. package/node_modules/es-toolkit/dist/iterator/chunk.js +0 -40
  225. package/node_modules/es-toolkit/dist/iterator/chunk.mjs +0 -40
  226. package/node_modules/es-toolkit/dist/iterator/count.d.mts +0 -18
  227. package/node_modules/es-toolkit/dist/iterator/count.d.ts +0 -18
  228. package/node_modules/es-toolkit/dist/iterator/count.js +0 -26
  229. package/node_modules/es-toolkit/dist/iterator/count.mjs +0 -26
  230. package/node_modules/es-toolkit/dist/iterator/dropWhile.d.mts +0 -20
  231. package/node_modules/es-toolkit/dist/iterator/dropWhile.d.ts +0 -20
  232. package/node_modules/es-toolkit/dist/iterator/dropWhile.js +0 -52
  233. package/node_modules/es-toolkit/dist/iterator/dropWhile.mjs +0 -52
  234. package/node_modules/es-toolkit/dist/iterator/head.d.mts +0 -21
  235. package/node_modules/es-toolkit/dist/iterator/head.d.ts +0 -21
  236. package/node_modules/es-toolkit/dist/iterator/head.js +0 -26
  237. package/node_modules/es-toolkit/dist/iterator/head.mjs +0 -26
  238. package/node_modules/es-toolkit/dist/iterator/index.d.mts +0 -13
  239. package/node_modules/es-toolkit/dist/iterator/index.d.ts +0 -13
  240. package/node_modules/es-toolkit/dist/iterator/index.js +0 -25
  241. package/node_modules/es-toolkit/dist/iterator/index.mjs +0 -13
  242. package/node_modules/es-toolkit/dist/iterator/iterate.d.mts +0 -20
  243. package/node_modules/es-toolkit/dist/iterator/iterate.d.ts +0 -20
  244. package/node_modules/es-toolkit/dist/iterator/iterate.js +0 -32
  245. package/node_modules/es-toolkit/dist/iterator/iterate.mjs +0 -32
  246. package/node_modules/es-toolkit/dist/iterator/partition.d.mts +0 -18
  247. package/node_modules/es-toolkit/dist/iterator/partition.d.ts +0 -18
  248. package/node_modules/es-toolkit/dist/iterator/partition.js +0 -36
  249. package/node_modules/es-toolkit/dist/iterator/partition.mjs +0 -36
  250. package/node_modules/es-toolkit/dist/iterator/range.d.mts +0 -42
  251. package/node_modules/es-toolkit/dist/iterator/range.d.ts +0 -42
  252. package/node_modules/es-toolkit/dist/iterator/range.js +0 -25
  253. package/node_modules/es-toolkit/dist/iterator/range.mjs +0 -25
  254. package/node_modules/es-toolkit/dist/iterator/scan.d.mts +0 -23
  255. package/node_modules/es-toolkit/dist/iterator/scan.d.ts +0 -23
  256. package/node_modules/es-toolkit/dist/iterator/scan.js +0 -47
  257. package/node_modules/es-toolkit/dist/iterator/scan.mjs +0 -47
  258. package/node_modules/es-toolkit/dist/iterator/takeWhile.d.mts +0 -20
  259. package/node_modules/es-toolkit/dist/iterator/takeWhile.d.ts +0 -20
  260. package/node_modules/es-toolkit/dist/iterator/takeWhile.js +0 -34
  261. package/node_modules/es-toolkit/dist/iterator/takeWhile.mjs +0 -34
  262. package/node_modules/es-toolkit/dist/iterator/uniqBy.d.mts +0 -22
  263. package/node_modules/es-toolkit/dist/iterator/uniqBy.d.ts +0 -22
  264. package/node_modules/es-toolkit/dist/iterator/uniqBy.js +0 -43
  265. package/node_modules/es-toolkit/dist/iterator/uniqBy.mjs +0 -43
  266. package/node_modules/es-toolkit/dist/iterator/zip.d.mts +0 -23
  267. package/node_modules/es-toolkit/dist/iterator/zip.d.ts +0 -23
  268. package/node_modules/es-toolkit/dist/iterator/zip.js +0 -45
  269. package/node_modules/es-toolkit/dist/iterator/zip.mjs +0 -45
  270. package/node_modules/es-toolkit/dist/types/EmptyObject.d.mts +0 -21
  271. package/node_modules/es-toolkit/dist/types/EmptyObject.d.ts +0 -21
  272. package/node_modules/es-toolkit/dist/types/IsEqual.d.mts +0 -18
  273. package/node_modules/es-toolkit/dist/types/IsEqual.d.ts +0 -18
  274. package/node_modules/es-toolkit/dist/types/JSONValue.d.mts +0 -24
  275. package/node_modules/es-toolkit/dist/types/JSONValue.d.ts +0 -24
  276. package/node_modules/es-toolkit/dist/types/Merge.d.mts +0 -37
  277. package/node_modules/es-toolkit/dist/types/Merge.d.ts +0 -37
  278. package/node_modules/es-toolkit/dist/types/ObjectKeys.d.mts +0 -19
  279. package/node_modules/es-toolkit/dist/types/ObjectKeys.d.ts +0 -19
  280. package/node_modules/es-toolkit/dist/types/Primitive.d.mts +0 -14
  281. package/node_modules/es-toolkit/dist/types/Primitive.d.ts +0 -14
  282. package/node_modules/es-toolkit/dist/types/SetOptional.d.mts +0 -20
  283. package/node_modules/es-toolkit/dist/types/SetOptional.d.ts +0 -20
  284. package/node_modules/es-toolkit/dist/types/SetRequired.d.mts +0 -20
  285. package/node_modules/es-toolkit/dist/types/SetRequired.d.ts +0 -20
  286. package/node_modules/es-toolkit/dist/types/UnknownRecord.d.mts +0 -24
  287. package/node_modules/es-toolkit/dist/types/UnknownRecord.d.ts +0 -24
  288. package/node_modules/es-toolkit/dist/util/defer.d.mts +0 -27
  289. package/node_modules/es-toolkit/dist/util/defer.d.ts +0 -27
  290. package/node_modules/es-toolkit/dist/util/defer.js +0 -31
  291. package/node_modules/es-toolkit/dist/util/defer.mjs +0 -31
  292. package/node_modules/es-toolkit/dist/util/deferAsync.d.mts +0 -30
  293. package/node_modules/es-toolkit/dist/util/deferAsync.d.ts +0 -30
  294. package/node_modules/es-toolkit/dist/util/deferAsync.js +0 -34
  295. package/node_modules/es-toolkit/dist/util/deferAsync.mjs +0 -34
  296. package/node_modules/es-toolkit/fp/iterator.d.ts +0 -1
  297. package/node_modules/es-toolkit/fp/iterator.js +0 -1
  298. package/node_modules/es-toolkit/iterator.d.ts +0 -1
  299. package/node_modules/es-toolkit/iterator.js +0 -1
  300. package/node_modules/fs-ext/build/Makefile +0 -347
  301. package/node_modules/fs-ext/build/Release/.deps/Release/fs_ext.node.d +0 -1
  302. package/node_modules/fs-ext/build/Release/.deps/Release/obj.target/fs_ext/fs-ext.o.d +0 -165
  303. package/node_modules/fs-ext/build/Release/fs_ext.node +0 -0
  304. package/node_modules/fs-ext/build/Release/obj.target/fs_ext/fs-ext.o +0 -0
  305. package/node_modules/fs-ext/build/binding.Makefile +0 -6
  306. package/node_modules/fs-ext/build/config.gypi +0 -503
  307. package/node_modules/fs-ext/build/fs_ext.target.mk +0 -183
  308. package/node_modules/fs-ext/build/gyp-mac-tool +0 -768
  309. package/node_modules/keytar/build/Release/keytar.node +0 -0
  310. package/node_modules/type-fest/source/is-boolean-literal.d.ts +0 -39
  311. package/node_modules/type-fest/source/is-numeric-literal.d.ts +0 -50
  312. package/node_modules/type-fest/source/is-string-literal.d.ts +0 -72
  313. package/node_modules/type-fest/source/is-symbol-literal.d.ts +0 -39
  314. package/node_modules/type-fest/source/rename-keys.d.ts +0 -163
  315. /package/node_modules/@quantiya/codevibe-core/dist/{orchestration-shell/__tests__/direct-file-delete.test.d.ts → appsync/__tests__/supervision-subscription.test.d.ts} +0 -0
  316. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/LICENSE.md +0 -0
  317. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/README.md +0 -0
  318. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/common.gypi +0 -0
  319. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/except.gypi +0 -0
  320. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/index.js +0 -0
  321. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/napi-inl.deprecated.h +0 -0
  322. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/napi-inl.h +0 -0
  323. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/napi.h +0 -0
  324. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/node_api.gyp +0 -0
  325. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/noexcept.gypi +0 -0
  326. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/nothing.c +0 -0
  327. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/package-support.json +0 -0
  328. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/package.json +0 -0
  329. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/README.md +0 -0
  330. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/check-napi.js +0 -0
  331. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/clang-format.js +0 -0
  332. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/conversion.js +0 -0
  333. /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/eslint-format.js +0 -0
@@ -8,7 +8,6 @@ const require_isArrayLike = require("./predicate/isArrayLike.js");
8
8
  const require_chunk = require("./array/chunk.js");
9
9
  const require_compact = require("./array/compact.js");
10
10
  const require_concat = require("./array/concat.js");
11
- const require_isSymbol = require("./predicate/isSymbol.js");
12
11
  const require_toString = require("./util/toString.js");
13
12
  const require_toPath = require("./util/toPath.js");
14
13
  const require_get = require("./object/get.js");
@@ -30,6 +29,7 @@ const require_difference = require("./array/difference.js");
30
29
  const require_last = require("./array/last.js");
31
30
  const require_differenceBy = require("./array/differenceBy.js");
32
31
  const require_differenceWith = require("./array/differenceWith.js");
32
+ const require_isSymbol = require("./predicate/isSymbol.js");
33
33
  const require_toNumber = require("./util/toNumber.js");
34
34
  const require_toFinite = require("./util/toFinite.js");
35
35
  const require_toInteger = require("./util/toInteger.js");
@@ -8,7 +8,6 @@ import { isArrayLike } from "./predicate/isArrayLike.mjs";
8
8
  import { chunk } from "./array/chunk.mjs";
9
9
  import { compact } from "./array/compact.mjs";
10
10
  import { concat } from "./array/concat.mjs";
11
- import { isSymbol } from "./predicate/isSymbol.mjs";
12
11
  import { toString } from "./util/toString.mjs";
13
12
  import { toPath } from "./util/toPath.mjs";
14
13
  import { get } from "./object/get.mjs";
@@ -30,6 +29,7 @@ import { difference } from "./array/difference.mjs";
30
29
  import { last } from "./array/last.mjs";
31
30
  import { differenceBy } from "./array/differenceBy.mjs";
32
31
  import { differenceWith } from "./array/differenceWith.mjs";
32
+ import { isSymbol } from "./predicate/isSymbol.mjs";
33
33
  import { toNumber } from "./util/toNumber.mjs";
34
34
  import { toFinite } from "./util/toFinite.mjs";
35
35
  import { toInteger } from "./util/toInteger.mjs";
@@ -16,7 +16,7 @@ function debounce(func, debounceMs = 0, options = {}) {
16
16
  if (maxWait != null) {
17
17
  if (pendingAt === null) pendingAt = Date.now();
18
18
  if (Date.now() - pendingAt >= maxWait) {
19
- if (leading || trailing) result = func.apply(this, args);
19
+ result = func.apply(this, args);
20
20
  pendingAt = Date.now();
21
21
  _debounced.cancel();
22
22
  _debounced.schedule();
@@ -16,7 +16,7 @@ function debounce(func, debounceMs = 0, options = {}) {
16
16
  if (maxWait != null) {
17
17
  if (pendingAt === null) pendingAt = Date.now();
18
18
  if (Date.now() - pendingAt >= maxWait) {
19
- if (leading || trailing) result = func.apply(this, args);
19
+ result = func.apply(this, args);
20
20
  pendingAt = Date.now();
21
21
  _debounced.cancel();
22
22
  _debounced.schedule();
@@ -11,7 +11,6 @@ const require_isArrayLike = require("./predicate/isArrayLike.js");
11
11
  const require_chunk = require("./array/chunk.js");
12
12
  const require_compact = require("./array/compact.js");
13
13
  const require_concat = require("./array/concat.js");
14
- const require_isSymbol = require("./predicate/isSymbol.js");
15
14
  const require_toString = require("./util/toString.js");
16
15
  const require_toPath = require("./util/toPath.js");
17
16
  const require_get = require("./object/get.js");
@@ -33,6 +32,7 @@ const require_difference = require("./array/difference.js");
33
32
  const require_last = require("./array/last.js");
34
33
  const require_differenceBy = require("./array/differenceBy.js");
35
34
  const require_differenceWith = require("./array/differenceWith.js");
35
+ const require_isSymbol = require("./predicate/isSymbol.js");
36
36
  const require_toNumber = require("./util/toNumber.js");
37
37
  const require_toFinite = require("./util/toFinite.js");
38
38
  const require_toInteger = require("./util/toInteger.js");
@@ -7,7 +7,6 @@ import { isArrayLike } from "./predicate/isArrayLike.mjs";
7
7
  import { chunk } from "./array/chunk.mjs";
8
8
  import { compact } from "./array/compact.mjs";
9
9
  import { concat } from "./array/concat.mjs";
10
- import { isSymbol } from "./predicate/isSymbol.mjs";
11
10
  import { toString } from "./util/toString.mjs";
12
11
  import { toPath } from "./util/toPath.mjs";
13
12
  import { get } from "./object/get.mjs";
@@ -29,6 +28,7 @@ import { difference } from "./array/difference.mjs";
29
28
  import { last } from "./array/last.mjs";
30
29
  import { differenceBy } from "./array/differenceBy.mjs";
31
30
  import { differenceWith } from "./array/differenceWith.mjs";
31
+ import { isSymbol } from "./predicate/isSymbol.mjs";
32
32
  import { toNumber } from "./util/toNumber.mjs";
33
33
  import { toFinite } from "./util/toFinite.mjs";
34
34
  import { toInteger } from "./util/toInteger.mjs";
@@ -1,5 +1,4 @@
1
1
  const require_isDeepKey = require("../_internal/isDeepKey.js");
2
- const require_toKey = require("../_internal/toKey.js");
3
2
  const require_toPath = require("../util/toPath.js");
4
3
  const require_isIndex = require("../_internal/isIndex.js");
5
4
  const require_isArguments = require("../predicate/isArguments.js");
@@ -41,9 +40,9 @@ function has(object, path) {
41
40
  if (resolvedPath.length === 0) return false;
42
41
  let current = object;
43
42
  for (let i = 0; i < resolvedPath.length; i++) {
44
- const key = require_toKey.toKey(resolvedPath[i]);
43
+ const key = resolvedPath[i];
45
44
  if (current == null || !Object.hasOwn(current, key)) {
46
- if (!((Array.isArray(current) || require_isArguments.isArguments(current)) && require_isIndex.isIndex(key) && Number(key) < current.length)) return false;
45
+ if (!((Array.isArray(current) || require_isArguments.isArguments(current)) && require_isIndex.isIndex(key) && key < current.length)) return false;
47
46
  }
48
47
  current = current[key];
49
48
  }
@@ -1,5 +1,4 @@
1
1
  import { isDeepKey } from "../_internal/isDeepKey.mjs";
2
- import { toKey } from "../_internal/toKey.mjs";
3
2
  import { toPath } from "../util/toPath.mjs";
4
3
  import { isIndex } from "../_internal/isIndex.mjs";
5
4
  import { isArguments } from "../predicate/isArguments.mjs";
@@ -41,9 +40,9 @@ function has(object, path) {
41
40
  if (resolvedPath.length === 0) return false;
42
41
  let current = object;
43
42
  for (let i = 0; i < resolvedPath.length; i++) {
44
- const key = toKey(resolvedPath[i]);
43
+ const key = resolvedPath[i];
45
44
  if (current == null || !Object.hasOwn(current, key)) {
46
- if (!((Array.isArray(current) || isArguments(current)) && isIndex(key) && Number(key) < current.length)) return false;
45
+ if (!((Array.isArray(current) || isArguments(current)) && isIndex(key) && key < current.length)) return false;
47
46
  }
48
47
  current = current[key];
49
48
  }
@@ -1,5 +1,4 @@
1
1
  const require_isDeepKey = require("../_internal/isDeepKey.js");
2
- const require_toKey = require("../_internal/toKey.js");
3
2
  const require_toPath = require("../util/toPath.js");
4
3
  const require_isIndex = require("../_internal/isIndex.js");
5
4
  const require_isArguments = require("../predicate/isArguments.js");
@@ -51,9 +50,9 @@ function hasIn(object, path) {
51
50
  if (resolvedPath.length === 0) return false;
52
51
  let current = object;
53
52
  for (let i = 0; i < resolvedPath.length; i++) {
54
- const key = require_toKey.toKey(resolvedPath[i]);
53
+ const key = resolvedPath[i];
55
54
  if (current == null || !(key in Object(current))) {
56
- if (!((Array.isArray(current) || require_isArguments.isArguments(current)) && require_isIndex.isIndex(key) && Number(key) < current.length)) return false;
55
+ if (!((Array.isArray(current) || require_isArguments.isArguments(current)) && require_isIndex.isIndex(key) && key < current.length)) return false;
57
56
  }
58
57
  current = current[key];
59
58
  }
@@ -1,5 +1,4 @@
1
1
  import { isDeepKey } from "../_internal/isDeepKey.mjs";
2
- import { toKey } from "../_internal/toKey.mjs";
3
2
  import { toPath } from "../util/toPath.mjs";
4
3
  import { isIndex } from "../_internal/isIndex.mjs";
5
4
  import { isArguments } from "../predicate/isArguments.mjs";
@@ -51,9 +50,9 @@ function hasIn(object, path) {
51
50
  if (resolvedPath.length === 0) return false;
52
51
  let current = object;
53
52
  for (let i = 0; i < resolvedPath.length; i++) {
54
- const key = toKey(resolvedPath[i]);
53
+ const key = resolvedPath[i];
55
54
  if (current == null || !(key in Object(current))) {
56
- if (!((Array.isArray(current) || isArguments(current)) && isIndex(key) && Number(key) < current.length)) return false;
55
+ if (!((Array.isArray(current) || isArguments(current)) && isIndex(key) && key < current.length)) return false;
57
56
  }
58
57
  current = current[key];
59
58
  }
@@ -73,7 +73,7 @@ function mergeWithDeep(target, source, merge, stack) {
73
73
  stack.set(source, target);
74
74
  if (Array.isArray(source)) {
75
75
  source = source.slice();
76
- for (let i = 0; i < source.length; i++) if (!(i in source)) source[i] = void 0;
76
+ for (let i = 0; i < source.length; i++) source[i] = source[i] ?? void 0;
77
77
  }
78
78
  const sourceKeys = [...Object.keys(source), ...require_getSymbols.getSymbols(source)];
79
79
  for (let i = 0; i < sourceKeys.length; i++) {
@@ -73,7 +73,7 @@ function mergeWithDeep(target, source, merge, stack) {
73
73
  stack.set(source, target);
74
74
  if (Array.isArray(source)) {
75
75
  source = source.slice();
76
- for (let i = 0; i < source.length; i++) if (!(i in source)) source[i] = void 0;
76
+ for (let i = 0; i < source.length; i++) source[i] = source[i] ?? void 0;
77
77
  }
78
78
  const sourceKeys = [...Object.keys(source), ...getSymbols(source)];
79
79
  for (let i = 0; i < sourceKeys.length; i++) {
@@ -1,5 +1,5 @@
1
- const require_isSymbol = require("../predicate/isSymbol.js");
2
1
  const require_iteratee = require("../util/iteratee.js");
2
+ const require_isSymbol = require("../predicate/isSymbol.js");
3
3
  const require_identity = require("../function/identity.js");
4
4
  const require_keysIn = require("./keysIn.js");
5
5
  const require_getSymbolsIn = require("../_internal/getSymbolsIn.js");
@@ -1,5 +1,5 @@
1
- import { isSymbol } from "../predicate/isSymbol.mjs";
2
1
  import { iteratee } from "../util/iteratee.mjs";
2
+ import { isSymbol } from "../predicate/isSymbol.mjs";
3
3
  import { identity } from "../function/identity.mjs";
4
4
  import { keysIn } from "./keysIn.mjs";
5
5
  import { getSymbolsIn } from "../_internal/getSymbolsIn.mjs";
@@ -1,7 +1,7 @@
1
1
  const require_range = require("../../math/range.js");
2
2
  const require_isArrayLike = require("../predicate/isArrayLike.js");
3
- const require_isSymbol = require("../predicate/isSymbol.js");
4
3
  const require_iteratee = require("../util/iteratee.js");
4
+ const require_isSymbol = require("../predicate/isSymbol.js");
5
5
  const require_identity = require("../function/identity.js");
6
6
  const require_keysIn = require("./keysIn.js");
7
7
  const require_getSymbolsIn = require("../_internal/getSymbolsIn.js");
@@ -1,7 +1,7 @@
1
1
  import { range } from "../../math/range.mjs";
2
2
  import { isArrayLike } from "../predicate/isArrayLike.mjs";
3
- import { isSymbol } from "../predicate/isSymbol.mjs";
4
3
  import { iteratee } from "../util/iteratee.mjs";
4
+ import { isSymbol } from "../predicate/isSymbol.mjs";
5
5
  import { identity } from "../function/identity.mjs";
6
6
  import { keysIn } from "./keysIn.mjs";
7
7
  import { getSymbolsIn } from "../_internal/getSymbolsIn.mjs";
@@ -1,4 +1,3 @@
1
- const require_isSymbol = require("../predicate/isSymbol.js");
2
1
  //#region src/compat/util/toString.ts
3
2
  /**
4
3
  * Converts `value` to a string.
@@ -23,8 +22,7 @@ function toString(value) {
23
22
  function baseToString(value) {
24
23
  if (typeof value === "string") return value;
25
24
  if (Array.isArray(value)) return value.map(baseToString).join(",");
26
- if (require_isSymbol.isSymbol(value)) return value.toString();
27
- const result = value + "";
25
+ const result = String(value);
28
26
  if (result === "0" && Object.is(Number(value), -0)) return "-0";
29
27
  return result;
30
28
  }
@@ -1,4 +1,3 @@
1
- import { isSymbol } from "../predicate/isSymbol.mjs";
2
1
  //#region src/compat/util/toString.ts
3
2
  /**
4
3
  * Converts `value` to a string.
@@ -23,8 +22,7 @@ function toString(value) {
23
22
  function baseToString(value) {
24
23
  if (typeof value === "string") return value;
25
24
  if (Array.isArray(value)) return value.map(baseToString).join(",");
26
- if (isSymbol(value)) return value.toString();
27
- const result = value + "";
25
+ const result = String(value);
28
26
  if (result === "0" && Object.is(Number(value), -0)) return "-0";
29
27
  return result;
30
28
  }
@@ -68,10 +68,9 @@ import { zip } from "./array/zip.mjs";
68
68
  import { zipObject } from "./array/zipObject.mjs";
69
69
  import { zipWith } from "./array/zipWith.mjs";
70
70
  import { flow } from "./flow.mjs";
71
- import { flowAsync } from "./flowAsync.mjs";
72
71
  import { add } from "./math/add.mjs";
73
72
  import { multiply } from "./math/multiply.mjs";
74
73
  import { omit } from "./object/omit.mjs";
75
74
  import { pick } from "./object/pick.mjs";
76
75
  import { pipe } from "./pipe.mjs";
77
- export { WindowedOptions, add, at, cartesianProduct, chunk, chunkBy, combinations, compact, countBy, difference, differenceBy, differenceWith, drop, dropRight, dropRightWhile, dropWhile, filter, find, findIndex, findLast, findLastIndex, flatMap, flatMapDeep, flatten, flattenDeep, flow, flowAsync, forEach, groupBy, head, initial, intersection, intersectionBy, intersectionWith, isSubset, isSubsetWith, join, keyBy, last, length, map, maxBy, minBy, multiply, omit, orderBy, partition, pick, pipe, reverse, sample, sampleSize, shuffle, sortBy, tail, take, takeRight, takeRightWhile, takeWhile, toFilled, union, unionBy, unionWith, uniq, uniqBy, uniqWith, unzip, unzipWith, windowed, without, xor, xorBy, xorWith, zip, zipObject, zipWith };
76
+ export { WindowedOptions, add, at, cartesianProduct, chunk, chunkBy, combinations, compact, countBy, difference, differenceBy, differenceWith, drop, dropRight, dropRightWhile, dropWhile, filter, find, findIndex, findLast, findLastIndex, flatMap, flatMapDeep, flatten, flattenDeep, flow, forEach, groupBy, head, initial, intersection, intersectionBy, intersectionWith, isSubset, isSubsetWith, join, keyBy, last, length, map, maxBy, minBy, multiply, omit, orderBy, partition, pick, pipe, reverse, sample, sampleSize, shuffle, sortBy, tail, take, takeRight, takeRightWhile, takeWhile, toFilled, union, unionBy, unionWith, uniq, uniqBy, uniqWith, unzip, unzipWith, windowed, without, xor, xorBy, xorWith, zip, zipObject, zipWith };
@@ -68,10 +68,9 @@ import { zip } from "./array/zip.js";
68
68
  import { zipObject } from "./array/zipObject.js";
69
69
  import { zipWith } from "./array/zipWith.js";
70
70
  import { flow } from "./flow.js";
71
- import { flowAsync } from "./flowAsync.js";
72
71
  import { add } from "./math/add.js";
73
72
  import { multiply } from "./math/multiply.js";
74
73
  import { omit } from "./object/omit.js";
75
74
  import { pick } from "./object/pick.js";
76
75
  import { pipe } from "./pipe.js";
77
- export { WindowedOptions, add, at, cartesianProduct, chunk, chunkBy, combinations, compact, countBy, difference, differenceBy, differenceWith, drop, dropRight, dropRightWhile, dropWhile, filter, find, findIndex, findLast, findLastIndex, flatMap, flatMapDeep, flatten, flattenDeep, flow, flowAsync, forEach, groupBy, head, initial, intersection, intersectionBy, intersectionWith, isSubset, isSubsetWith, join, keyBy, last, length, map, maxBy, minBy, multiply, omit, orderBy, partition, pick, pipe, reverse, sample, sampleSize, shuffle, sortBy, tail, take, takeRight, takeRightWhile, takeWhile, toFilled, union, unionBy, unionWith, uniq, uniqBy, uniqWith, unzip, unzipWith, windowed, without, xor, xorBy, xorWith, zip, zipObject, zipWith };
76
+ export { WindowedOptions, add, at, cartesianProduct, chunk, chunkBy, combinations, compact, countBy, difference, differenceBy, differenceWith, drop, dropRight, dropRightWhile, dropWhile, filter, find, findIndex, findLast, findLastIndex, flatMap, flatMapDeep, flatten, flattenDeep, flow, forEach, groupBy, head, initial, intersection, intersectionBy, intersectionWith, isSubset, isSubsetWith, join, keyBy, last, length, map, maxBy, minBy, multiply, omit, orderBy, partition, pick, pipe, reverse, sample, sampleSize, shuffle, sortBy, tail, take, takeRight, takeRightWhile, takeWhile, toFilled, union, unionBy, unionWith, uniq, uniqBy, uniqWith, unzip, unzipWith, windowed, without, xor, xorBy, xorWith, zip, zipObject, zipWith };
@@ -70,7 +70,6 @@ const require_zipWith = require("./array/zipWith.js");
70
70
  require("./array/index.js");
71
71
  const require_pipe = require("./pipe.js");
72
72
  const require_flow = require("./flow.js");
73
- const require_flowAsync = require("./flowAsync.js");
74
73
  const require_add = require("./math/add.js");
75
74
  const require_multiply = require("./math/multiply.js");
76
75
  require("./math/index.js");
@@ -102,7 +101,6 @@ exports.flatMapDeep = require_flatMapDeep.flatMapDeep;
102
101
  exports.flatten = require_flatten.flatten;
103
102
  exports.flattenDeep = require_flattenDeep.flattenDeep;
104
103
  exports.flow = require_flow.flow;
105
- exports.flowAsync = require_flowAsync.flowAsync;
106
104
  exports.forEach = require_forEach.forEach;
107
105
  exports.groupBy = require_groupBy.groupBy;
108
106
  exports.head = require_head.head;
@@ -69,11 +69,10 @@ import { zipWith } from "./array/zipWith.mjs";
69
69
  import "./array/index.mjs";
70
70
  import { pipe } from "./pipe.mjs";
71
71
  import { flow } from "./flow.mjs";
72
- import { flowAsync } from "./flowAsync.mjs";
73
72
  import { add } from "./math/add.mjs";
74
73
  import { multiply } from "./math/multiply.mjs";
75
74
  import "./math/index.mjs";
76
75
  import { omit } from "./object/omit.mjs";
77
76
  import { pick } from "./object/pick.mjs";
78
77
  import "./object/index.mjs";
79
- export { add, at, cartesianProduct, chunk, chunkBy, combinations, compact, countBy, difference, differenceBy, differenceWith, drop, dropRight, dropRightWhile, dropWhile, filter, find, findIndex, findLast, findLastIndex, flatMap, flatMapDeep, flatten, flattenDeep, flow, flowAsync, forEach, groupBy, head, initial, intersection, intersectionBy, intersectionWith, isSubset, isSubsetWith, join, keyBy, last, length, map, maxBy, minBy, multiply, omit, orderBy, partition, pick, pipe, reverse, sample, sampleSize, shuffle, sortBy, tail, take, takeRight, takeRightWhile, takeWhile, toFilled, union, unionBy, unionWith, uniq, uniqBy, uniqWith, unzip, unzipWith, windowed, without, xor, xorBy, xorWith, zip, zipObject, zipWith };
78
+ export { add, at, cartesianProduct, chunk, chunkBy, combinations, compact, countBy, difference, differenceBy, differenceWith, drop, dropRight, dropRightWhile, dropWhile, filter, find, findIndex, findLast, findLastIndex, flatMap, flatMapDeep, flatten, flattenDeep, flow, forEach, groupBy, head, initial, intersection, intersectionBy, intersectionWith, isSubset, isSubsetWith, join, keyBy, last, length, map, maxBy, minBy, multiply, omit, orderBy, partition, pick, pipe, reverse, sample, sampleSize, shuffle, sortBy, tail, take, takeRight, takeRightWhile, takeWhile, toFilled, union, unionBy, unionWith, uniq, uniqBy, uniqWith, unzip, unzipWith, windowed, without, xor, xorBy, xorWith, zip, zipObject, zipWith };
@@ -191,7 +191,5 @@ import { upperFirst } from "./string/upperFirst.mjs";
191
191
  import { words } from "./string/words.mjs";
192
192
  import { attempt } from "./util/attempt.mjs";
193
193
  import { attemptAsync } from "./util/attemptAsync.mjs";
194
- import { defer } from "./util/defer.mjs";
195
- import { deferAsync } from "./util/deferAsync.mjs";
196
194
  import { invariant } from "./util/invariant.mjs";
197
- export { AbortError, DebounceOptions, DebouncedFunction, MemoizeCache, Mutex, Semaphore, ThrottleOptions, ThrottledFunction, TimeoutError, after, allKeyed, ary, invariant as assert, asyncNoop, at, attempt, attemptAsync, before, camelCase, capitalize, cartesianProduct, chunk, chunkBy, clamp, clone, cloneDeep, cloneDeepWith, combinations, compact, constantCase, countBy, curry, curryRight, debounce, deburr, dedent, deepFreeze, defer, deferAsync, delay, difference, differenceBy, differenceWith, drop, dropRight, dropRightWhile, dropWhile, escape, escapeRegExp, fill, filterAsync, findKey, flatMap, flatMapAsync, flatMapDeep, flatten, flattenDeep, flattenObject, flow, flowRight, forEachAsync, forEachRight, groupBy, head, identity, inRange, initial, intersection, intersectionBy, intersectionWith, invariant, invert, isArrayBuffer, isBlob, isBoolean, isBrowser, isBuffer, isDate, isEmptyObject, isEqual, isEqualWith, isError, isFile, isFunction, isIterable, isJSON, isJSONArray, isJSONObject, isJSONValue, isLength, isMap, isNil, isNode, isNotNil, isNull, isNumber, isPlainObject, isPrimitive, isPromise, isRegExp, isSet, isString, isSubset, isSubsetWith, isSymbol, isTypedArray, isUndefined, isWeakMap, isWeakSet, kebabCase, keyBy, last, limitAsync, lowerCase, lowerFirst, mapAsync, mapKeys, mapKeysAsync, mapValues, mapValuesAsync, maxBy, mean, meanBy, median, medianBy, memoize, merge, mergeWith, minBy, negate, noop, omit, omitBy, once, orderBy, pad, partial, partialRight, partition, pascalCase, percentile, pick, pickBy, pull, pullAt, random, randomInt, range, rangeRight, reduceAsync, remove, rest, retry, reverseString, round, sample, sampleSize, shuffle, snakeCase, sortBy, sortKeys, spread, startCase, sum, sumBy, tail, take, takeRight, takeRightWhile, takeWhile, throttle, timeout, toCamelCaseKeys, toConstantCaseKeys, toFilled, toKebabCaseKeys, toMerged, toPascalCaseKeys, toSnakeCaseKeys, trim, trimEnd, trimStart, unary, unescape, union, unionBy, unionWith, uniq, uniqBy, uniqWith, unzip, unzipWith, upperCase, upperFirst, windowed, withTimeout, without, words, xor, xorBy, xorWith, zip, zipObject, zipWith };
195
+ export { AbortError, DebounceOptions, DebouncedFunction, MemoizeCache, Mutex, Semaphore, ThrottleOptions, ThrottledFunction, TimeoutError, after, allKeyed, ary, invariant as assert, asyncNoop, at, attempt, attemptAsync, before, camelCase, capitalize, cartesianProduct, chunk, chunkBy, clamp, clone, cloneDeep, cloneDeepWith, combinations, compact, constantCase, countBy, curry, curryRight, debounce, deburr, dedent, deepFreeze, delay, difference, differenceBy, differenceWith, drop, dropRight, dropRightWhile, dropWhile, escape, escapeRegExp, fill, filterAsync, findKey, flatMap, flatMapAsync, flatMapDeep, flatten, flattenDeep, flattenObject, flow, flowRight, forEachAsync, forEachRight, groupBy, head, identity, inRange, initial, intersection, intersectionBy, intersectionWith, invariant, invert, isArrayBuffer, isBlob, isBoolean, isBrowser, isBuffer, isDate, isEmptyObject, isEqual, isEqualWith, isError, isFile, isFunction, isIterable, isJSON, isJSONArray, isJSONObject, isJSONValue, isLength, isMap, isNil, isNode, isNotNil, isNull, isNumber, isPlainObject, isPrimitive, isPromise, isRegExp, isSet, isString, isSubset, isSubsetWith, isSymbol, isTypedArray, isUndefined, isWeakMap, isWeakSet, kebabCase, keyBy, last, limitAsync, lowerCase, lowerFirst, mapAsync, mapKeys, mapKeysAsync, mapValues, mapValuesAsync, maxBy, mean, meanBy, median, medianBy, memoize, merge, mergeWith, minBy, negate, noop, omit, omitBy, once, orderBy, pad, partial, partialRight, partition, pascalCase, percentile, pick, pickBy, pull, pullAt, random, randomInt, range, rangeRight, reduceAsync, remove, rest, retry, reverseString, round, sample, sampleSize, shuffle, snakeCase, sortBy, sortKeys, spread, startCase, sum, sumBy, tail, take, takeRight, takeRightWhile, takeWhile, throttle, timeout, toCamelCaseKeys, toConstantCaseKeys, toFilled, toKebabCaseKeys, toMerged, toPascalCaseKeys, toSnakeCaseKeys, trim, trimEnd, trimStart, unary, unescape, union, unionBy, unionWith, uniq, uniqBy, uniqWith, unzip, unzipWith, upperCase, upperFirst, windowed, withTimeout, without, words, xor, xorBy, xorWith, zip, zipObject, zipWith };
@@ -191,7 +191,5 @@ import { upperFirst } from "./string/upperFirst.js";
191
191
  import { words } from "./string/words.js";
192
192
  import { attempt } from "./util/attempt.js";
193
193
  import { attemptAsync } from "./util/attemptAsync.js";
194
- import { defer } from "./util/defer.js";
195
- import { deferAsync } from "./util/deferAsync.js";
196
194
  import { invariant } from "./util/invariant.js";
197
- export { AbortError, DebounceOptions, DebouncedFunction, MemoizeCache, Mutex, Semaphore, ThrottleOptions, ThrottledFunction, TimeoutError, after, allKeyed, ary, invariant as assert, asyncNoop, at, attempt, attemptAsync, before, camelCase, capitalize, cartesianProduct, chunk, chunkBy, clamp, clone, cloneDeep, cloneDeepWith, combinations, compact, constantCase, countBy, curry, curryRight, debounce, deburr, dedent, deepFreeze, defer, deferAsync, delay, difference, differenceBy, differenceWith, drop, dropRight, dropRightWhile, dropWhile, escape, escapeRegExp, fill, filterAsync, findKey, flatMap, flatMapAsync, flatMapDeep, flatten, flattenDeep, flattenObject, flow, flowRight, forEachAsync, forEachRight, groupBy, head, identity, inRange, initial, intersection, intersectionBy, intersectionWith, invariant, invert, isArrayBuffer, isBlob, isBoolean, isBrowser, isBuffer, isDate, isEmptyObject, isEqual, isEqualWith, isError, isFile, isFunction, isIterable, isJSON, isJSONArray, isJSONObject, isJSONValue, isLength, isMap, isNil, isNode, isNotNil, isNull, isNumber, isPlainObject, isPrimitive, isPromise, isRegExp, isSet, isString, isSubset, isSubsetWith, isSymbol, isTypedArray, isUndefined, isWeakMap, isWeakSet, kebabCase, keyBy, last, limitAsync, lowerCase, lowerFirst, mapAsync, mapKeys, mapKeysAsync, mapValues, mapValuesAsync, maxBy, mean, meanBy, median, medianBy, memoize, merge, mergeWith, minBy, negate, noop, omit, omitBy, once, orderBy, pad, partial, partialRight, partition, pascalCase, percentile, pick, pickBy, pull, pullAt, random, randomInt, range, rangeRight, reduceAsync, remove, rest, retry, reverseString, round, sample, sampleSize, shuffle, snakeCase, sortBy, sortKeys, spread, startCase, sum, sumBy, tail, take, takeRight, takeRightWhile, takeWhile, throttle, timeout, toCamelCaseKeys, toConstantCaseKeys, toFilled, toKebabCaseKeys, toMerged, toPascalCaseKeys, toSnakeCaseKeys, trim, trimEnd, trimStart, unary, unescape, union, unionBy, unionWith, uniq, uniqBy, uniqWith, unzip, unzipWith, upperCase, upperFirst, windowed, withTimeout, without, words, xor, xorBy, xorWith, zip, zipObject, zipWith };
195
+ export { AbortError, DebounceOptions, DebouncedFunction, MemoizeCache, Mutex, Semaphore, ThrottleOptions, ThrottledFunction, TimeoutError, after, allKeyed, ary, invariant as assert, asyncNoop, at, attempt, attemptAsync, before, camelCase, capitalize, cartesianProduct, chunk, chunkBy, clamp, clone, cloneDeep, cloneDeepWith, combinations, compact, constantCase, countBy, curry, curryRight, debounce, deburr, dedent, deepFreeze, delay, difference, differenceBy, differenceWith, drop, dropRight, dropRightWhile, dropWhile, escape, escapeRegExp, fill, filterAsync, findKey, flatMap, flatMapAsync, flatMapDeep, flatten, flattenDeep, flattenObject, flow, flowRight, forEachAsync, forEachRight, groupBy, head, identity, inRange, initial, intersection, intersectionBy, intersectionWith, invariant, invert, isArrayBuffer, isBlob, isBoolean, isBrowser, isBuffer, isDate, isEmptyObject, isEqual, isEqualWith, isError, isFile, isFunction, isIterable, isJSON, isJSONArray, isJSONObject, isJSONValue, isLength, isMap, isNil, isNode, isNotNil, isNull, isNumber, isPlainObject, isPrimitive, isPromise, isRegExp, isSet, isString, isSubset, isSubsetWith, isSymbol, isTypedArray, isUndefined, isWeakMap, isWeakSet, kebabCase, keyBy, last, limitAsync, lowerCase, lowerFirst, mapAsync, mapKeys, mapKeysAsync, mapValues, mapValuesAsync, maxBy, mean, meanBy, median, medianBy, memoize, merge, mergeWith, minBy, negate, noop, omit, omitBy, once, orderBy, pad, partial, partialRight, partition, pascalCase, percentile, pick, pickBy, pull, pullAt, random, randomInt, range, rangeRight, reduceAsync, remove, rest, retry, reverseString, round, sample, sampleSize, shuffle, snakeCase, sortBy, sortKeys, spread, startCase, sum, sumBy, tail, take, takeRight, takeRightWhile, takeWhile, throttle, timeout, toCamelCaseKeys, toConstantCaseKeys, toFilled, toKebabCaseKeys, toMerged, toPascalCaseKeys, toSnakeCaseKeys, trim, trimEnd, trimStart, unary, unescape, union, unionBy, unionWith, uniq, uniqBy, uniqWith, unzip, unzipWith, upperCase, upperFirst, windowed, withTimeout, without, words, xor, xorBy, xorWith, zip, zipObject, zipWith };
@@ -200,8 +200,6 @@ const require_upperFirst = require("./string/upperFirst.js");
200
200
  require("./string/index.js");
201
201
  const require_attempt = require("./util/attempt.js");
202
202
  const require_attemptAsync = require("./util/attemptAsync.js");
203
- const require_defer = require("./util/defer.js");
204
- const require_deferAsync = require("./util/deferAsync.js");
205
203
  const require_invariant = require("./util/invariant.js");
206
204
  require("./util/index.js");
207
205
  exports.AbortError = require_AbortError.AbortError;
@@ -236,8 +234,6 @@ exports.debounce = require_debounce.debounce;
236
234
  exports.deburr = require_deburr.deburr;
237
235
  exports.dedent = require_dedent.dedent;
238
236
  exports.deepFreeze = require_deepFreeze.deepFreeze;
239
- exports.defer = require_defer.defer;
240
- exports.deferAsync = require_deferAsync.deferAsync;
241
237
  exports.delay = require_delay.delay;
242
238
  exports.difference = require_difference.difference;
243
239
  exports.differenceBy = require_differenceBy.differenceBy;
@@ -199,8 +199,6 @@ import { upperFirst } from "./string/upperFirst.mjs";
199
199
  import "./string/index.mjs";
200
200
  import { attempt } from "./util/attempt.mjs";
201
201
  import { attemptAsync } from "./util/attemptAsync.mjs";
202
- import { defer } from "./util/defer.mjs";
203
- import { deferAsync } from "./util/deferAsync.mjs";
204
202
  import { invariant } from "./util/invariant.mjs";
205
203
  import "./util/index.mjs";
206
- export { AbortError, Mutex, Semaphore, TimeoutError, after, allKeyed, ary, invariant as assert, asyncNoop, at, attempt, attemptAsync, before, camelCase, capitalize, cartesianProduct, chunk, chunkBy, clamp, clone, cloneDeep, cloneDeepWith, combinations, compact, constantCase, countBy, curry, curryRight, debounce, deburr, dedent, deepFreeze, defer, deferAsync, delay, difference, differenceBy, differenceWith, drop, dropRight, dropRightWhile, dropWhile, escape, escapeRegExp, fill, filterAsync, findKey, flatMap, flatMapAsync, flatMapDeep, flatten, flattenDeep, flattenObject, flow, flowRight, forEachAsync, forEachRight, groupBy, head, identity, inRange, initial, intersection, intersectionBy, intersectionWith, invariant, invert, isArrayBuffer, isBlob, isBoolean, isBrowser, isBuffer, isDate, isEmptyObject, isEqual, isEqualWith, isError, isFile, isFunction, isIterable, isJSON, isJSONArray, isJSONObject, isJSONValue, isLength, isMap, isNil, isNode, isNotNil, isNull, isNumber, isPlainObject, isPrimitive, isPromise, isRegExp, isSet, isString, isSubset, isSubsetWith, isSymbol, isTypedArray, isUndefined, isWeakMap, isWeakSet, kebabCase, keyBy, last, limitAsync, lowerCase, lowerFirst, mapAsync, mapKeys, mapKeysAsync, mapValues, mapValuesAsync, maxBy, mean, meanBy, median, medianBy, memoize, merge, mergeWith, minBy, negate, noop, omit, omitBy, once, orderBy, pad, partial, partialRight, partition, pascalCase, percentile, pick, pickBy, pull, pullAt, random, randomInt, range, rangeRight, reduceAsync, remove, rest, retry, reverseString, round, sample, sampleSize, shuffle, snakeCase, sortBy, sortKeys, spread, startCase, sum, sumBy, tail, take, takeRight, takeRightWhile, takeWhile, throttle, timeout, toCamelCaseKeys, toConstantCaseKeys, toFilled, toKebabCaseKeys, toMerged, toPascalCaseKeys, toSnakeCaseKeys, trim, trimEnd, trimStart, unary, unescape, union, unionBy, unionWith, uniq, uniqBy, uniqWith, unzip, unzipWith, upperCase, upperFirst, windowed, withTimeout, without, words, xor, xorBy, xorWith, zip, zipObject, zipWith };
204
+ export { AbortError, Mutex, Semaphore, TimeoutError, after, allKeyed, ary, invariant as assert, asyncNoop, at, attempt, attemptAsync, before, camelCase, capitalize, cartesianProduct, chunk, chunkBy, clamp, clone, cloneDeep, cloneDeepWith, combinations, compact, constantCase, countBy, curry, curryRight, debounce, deburr, dedent, deepFreeze, delay, difference, differenceBy, differenceWith, drop, dropRight, dropRightWhile, dropWhile, escape, escapeRegExp, fill, filterAsync, findKey, flatMap, flatMapAsync, flatMapDeep, flatten, flattenDeep, flattenObject, flow, flowRight, forEachAsync, forEachRight, groupBy, head, identity, inRange, initial, intersection, intersectionBy, intersectionWith, invariant, invert, isArrayBuffer, isBlob, isBoolean, isBrowser, isBuffer, isDate, isEmptyObject, isEqual, isEqualWith, isError, isFile, isFunction, isIterable, isJSON, isJSONArray, isJSONObject, isJSONValue, isLength, isMap, isNil, isNode, isNotNil, isNull, isNumber, isPlainObject, isPrimitive, isPromise, isRegExp, isSet, isString, isSubset, isSubsetWith, isSymbol, isTypedArray, isUndefined, isWeakMap, isWeakSet, kebabCase, keyBy, last, limitAsync, lowerCase, lowerFirst, mapAsync, mapKeys, mapKeysAsync, mapValues, mapValuesAsync, maxBy, mean, meanBy, median, medianBy, memoize, merge, mergeWith, minBy, negate, noop, omit, omitBy, once, orderBy, pad, partial, partialRight, partition, pascalCase, percentile, pick, pickBy, pull, pullAt, random, randomInt, range, rangeRight, reduceAsync, remove, rest, retry, reverseString, round, sample, sampleSize, shuffle, snakeCase, sortBy, sortKeys, spread, startCase, sum, sumBy, tail, take, takeRight, takeRightWhile, takeWhile, throttle, timeout, toCamelCaseKeys, toConstantCaseKeys, toFilled, toKebabCaseKeys, toMerged, toPascalCaseKeys, toSnakeCaseKeys, trim, trimEnd, trimStart, unary, unescape, union, unionBy, unionWith, uniq, uniqBy, uniqWith, unzip, unzipWith, upperCase, upperFirst, windowed, withTimeout, without, words, xor, xorBy, xorWith, zip, zipObject, zipWith };
@@ -1,5 +1,3 @@
1
- import { Merge } from "../types/Merge.mjs";
2
-
3
1
  //#region src/object/merge.d.ts
4
2
  /**
5
3
  * Merges the properties of the source object into the target object.
@@ -41,6 +39,6 @@ import { Merge } from "../types/Merge.mjs";
41
39
  * console.log(result);
42
40
  * // Output: { a: [1, 2, 3] }
43
41
  */
44
- declare function merge<T extends Record<PropertyKey, any>, S extends Record<PropertyKey, any>>(target: T, source: S): Merge<T, S>;
42
+ declare function merge<T extends Record<PropertyKey, any>, S extends Record<PropertyKey, any>>(target: T, source: S): T & S;
45
43
  //#endregion
46
44
  export { merge };
@@ -1,5 +1,3 @@
1
- import { Merge } from "../types/Merge.js";
2
-
3
1
  //#region src/object/merge.d.ts
4
2
  /**
5
3
  * Merges the properties of the source object into the target object.
@@ -41,6 +39,6 @@ import { Merge } from "../types/Merge.js";
41
39
  * console.log(result);
42
40
  * // Output: { a: [1, 2, 3] }
43
41
  */
44
- declare function merge<T extends Record<PropertyKey, any>, S extends Record<PropertyKey, any>>(target: T, source: S): Merge<T, S>;
42
+ declare function merge<T extends Record<PropertyKey, any>, S extends Record<PropertyKey, any>>(target: T, source: S): T & S;
45
43
  //#endregion
46
44
  export { merge };
@@ -2,6 +2,46 @@ const require_isPlainObject = require("../predicate/isPlainObject.js");
2
2
  const require_isMergeableValue = require("../_internal/isMergeableValue.js");
3
3
  const require_isUnsafeProperty = require("../_internal/isUnsafeProperty.js");
4
4
  //#region src/object/merge.ts
5
+ /**
6
+ * Merges the properties of the source object into the target object.
7
+ *
8
+ * This function performs a deep merge, meaning nested objects and arrays are merged recursively.
9
+ * If a property in the source object is an array or an object and the corresponding property in the target object is also an array or object, they will be merged.
10
+ * If a property in the source object is undefined, it will not overwrite a defined property in the target object.
11
+ *
12
+ * Note that this function mutates the target object.
13
+ *
14
+ * @param target - The target object into which the source object properties will be merged. This object is modified in place.
15
+ * @param source - The source object whose properties will be merged into the target object.
16
+ * @returns The updated target object with properties from the source object merged in.
17
+ *
18
+ * @template T - Type of the target object.
19
+ * @template S - Type of the source object.
20
+ *
21
+ * @example
22
+ * const target = { a: 1, b: { x: 1, y: 2 } };
23
+ * const source = { b: { y: 3, z: 4 }, c: 5 };
24
+ *
25
+ * const result = merge(target, source);
26
+ * console.log(result);
27
+ * // Output: { a: 1, b: { x: 1, y: 3, z: 4 }, c: 5 }
28
+ *
29
+ * @example
30
+ * const target = { a: [1, 2], b: { x: 1 } };
31
+ * const source = { a: [3], b: { y: 2 } };
32
+ *
33
+ * const result = merge(target, source);
34
+ * console.log(result);
35
+ * // Output: { a: [3, 2], b: { x: 1, y: 2 } }
36
+ *
37
+ * @example
38
+ * const target = { a: null };
39
+ * const source = { a: [1, 2, 3] };
40
+ *
41
+ * const result = merge(target, source);
42
+ * console.log(result);
43
+ * // Output: { a: [1, 2, 3] }
44
+ */
5
45
  function merge(target, source) {
6
46
  const sourceKeys = Object.keys(source);
7
47
  for (let i = 0; i < sourceKeys.length; i++) {
@@ -2,6 +2,46 @@ import { isPlainObject } from "../predicate/isPlainObject.mjs";
2
2
  import { isMergeableValue } from "../_internal/isMergeableValue.mjs";
3
3
  import { isUnsafeProperty } from "../_internal/isUnsafeProperty.mjs";
4
4
  //#region src/object/merge.ts
5
+ /**
6
+ * Merges the properties of the source object into the target object.
7
+ *
8
+ * This function performs a deep merge, meaning nested objects and arrays are merged recursively.
9
+ * If a property in the source object is an array or an object and the corresponding property in the target object is also an array or object, they will be merged.
10
+ * If a property in the source object is undefined, it will not overwrite a defined property in the target object.
11
+ *
12
+ * Note that this function mutates the target object.
13
+ *
14
+ * @param target - The target object into which the source object properties will be merged. This object is modified in place.
15
+ * @param source - The source object whose properties will be merged into the target object.
16
+ * @returns The updated target object with properties from the source object merged in.
17
+ *
18
+ * @template T - Type of the target object.
19
+ * @template S - Type of the source object.
20
+ *
21
+ * @example
22
+ * const target = { a: 1, b: { x: 1, y: 2 } };
23
+ * const source = { b: { y: 3, z: 4 }, c: 5 };
24
+ *
25
+ * const result = merge(target, source);
26
+ * console.log(result);
27
+ * // Output: { a: 1, b: { x: 1, y: 3, z: 4 }, c: 5 }
28
+ *
29
+ * @example
30
+ * const target = { a: [1, 2], b: { x: 1 } };
31
+ * const source = { a: [3], b: { y: 2 } };
32
+ *
33
+ * const result = merge(target, source);
34
+ * console.log(result);
35
+ * // Output: { a: [3, 2], b: { x: 1, y: 2 } }
36
+ *
37
+ * @example
38
+ * const target = { a: null };
39
+ * const source = { a: [1, 2, 3] };
40
+ *
41
+ * const result = merge(target, source);
42
+ * console.log(result);
43
+ * // Output: { a: [1, 2, 3] }
44
+ */
5
45
  function merge(target, source) {
6
46
  const sourceKeys = Object.keys(source);
7
47
  for (let i = 0; i < sourceKeys.length; i++) {
@@ -1,5 +1,3 @@
1
- import { ObjectKeys } from "../types/ObjectKeys.mjs";
2
-
3
1
  //#region src/object/omitBy.d.ts
4
2
  /**
5
3
  * Creates a new object composed of the properties that do not satisfy the predicate function.
@@ -11,7 +9,7 @@ import { ObjectKeys } from "../types/ObjectKeys.mjs";
11
9
  * @param obj - The object to omit properties from.
12
10
  * @param shouldOmit - A predicate function that determines
13
11
  * whether a property should be omitted. It takes the property's key and value as arguments and returns `true`
14
- * if the property should be omitted, and `false` otherwise. Numeric keys are passed as strings.
12
+ * if the property should be omitted, and `false` otherwise.
15
13
  * @returns A new object with the properties that do not satisfy the predicate function.
16
14
  *
17
15
  * @example
@@ -20,6 +18,6 @@ import { ObjectKeys } from "../types/ObjectKeys.mjs";
20
18
  * const result = omitBy(obj, shouldOmit);
21
19
  * // result will be { a: 1, c: 3 }
22
20
  */
23
- declare function omitBy<T extends Record<string, any>>(obj: T, shouldOmit: (value: T[keyof T], key: ObjectKeys<T>) => boolean): Partial<T>;
21
+ declare function omitBy<T extends Record<string, any>>(obj: T, shouldOmit: (value: T[keyof T], key: keyof T) => boolean): Partial<T>;
24
22
  //#endregion
25
23
  export { omitBy };
@@ -1,5 +1,3 @@
1
- import { ObjectKeys } from "../types/ObjectKeys.js";
2
-
3
1
  //#region src/object/omitBy.d.ts
4
2
  /**
5
3
  * Creates a new object composed of the properties that do not satisfy the predicate function.
@@ -11,7 +9,7 @@ import { ObjectKeys } from "../types/ObjectKeys.js";
11
9
  * @param obj - The object to omit properties from.
12
10
  * @param shouldOmit - A predicate function that determines
13
11
  * whether a property should be omitted. It takes the property's key and value as arguments and returns `true`
14
- * if the property should be omitted, and `false` otherwise. Numeric keys are passed as strings.
12
+ * if the property should be omitted, and `false` otherwise.
15
13
  * @returns A new object with the properties that do not satisfy the predicate function.
16
14
  *
17
15
  * @example
@@ -20,6 +18,6 @@ import { ObjectKeys } from "../types/ObjectKeys.js";
20
18
  * const result = omitBy(obj, shouldOmit);
21
19
  * // result will be { a: 1, c: 3 }
22
20
  */
23
- declare function omitBy<T extends Record<string, any>>(obj: T, shouldOmit: (value: T[keyof T], key: ObjectKeys<T>) => boolean): Partial<T>;
21
+ declare function omitBy<T extends Record<string, any>>(obj: T, shouldOmit: (value: T[keyof T], key: keyof T) => boolean): Partial<T>;
24
22
  //#endregion
25
23
  export { omitBy };
@@ -9,7 +9,7 @@
9
9
  * @param obj - The object to omit properties from.
10
10
  * @param shouldOmit - A predicate function that determines
11
11
  * whether a property should be omitted. It takes the property's key and value as arguments and returns `true`
12
- * if the property should be omitted, and `false` otherwise. Numeric keys are passed as strings.
12
+ * if the property should be omitted, and `false` otherwise.
13
13
  * @returns A new object with the properties that do not satisfy the predicate function.
14
14
  *
15
15
  * @example
@@ -23,9 +23,8 @@ function omitBy(obj, shouldOmit) {
23
23
  const keys = Object.keys(obj);
24
24
  for (let i = 0; i < keys.length; i++) {
25
25
  const key = keys[i];
26
- const objectKey = key;
27
- const value = obj[objectKey];
28
- if (!shouldOmit(value, key)) result[objectKey] = value;
26
+ const value = obj[key];
27
+ if (!shouldOmit(value, key)) result[key] = value;
29
28
  }
30
29
  return result;
31
30
  }
@@ -9,7 +9,7 @@
9
9
  * @param obj - The object to omit properties from.
10
10
  * @param shouldOmit - A predicate function that determines
11
11
  * whether a property should be omitted. It takes the property's key and value as arguments and returns `true`
12
- * if the property should be omitted, and `false` otherwise. Numeric keys are passed as strings.
12
+ * if the property should be omitted, and `false` otherwise.
13
13
  * @returns A new object with the properties that do not satisfy the predicate function.
14
14
  *
15
15
  * @example
@@ -23,9 +23,8 @@ function omitBy(obj, shouldOmit) {
23
23
  const keys = Object.keys(obj);
24
24
  for (let i = 0; i < keys.length; i++) {
25
25
  const key = keys[i];
26
- const objectKey = key;
27
- const value = obj[objectKey];
28
- if (!shouldOmit(value, key)) result[objectKey] = value;
26
+ const value = obj[key];
27
+ if (!shouldOmit(value, key)) result[key] = value;
29
28
  }
30
29
  return result;
31
30
  }