decocms 2.292.2 → 2.293.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (238) hide show
  1. package/dist/client/assets/{AlertCircle-De2C9wZC.js → AlertCircle-DnJbX_0w.js} +1 -1
  2. package/dist/client/assets/{ArrowNarrowLeft-bSu4Kz2F.js → ArrowNarrowLeft-M9-X6Sxy.js} +1 -1
  3. package/dist/client/assets/{ArrowUpRight-DT3QLsvt.js → ArrowUpRight-BQK-oA7E.js} +1 -1
  4. package/dist/client/assets/{CheckCircle-BIi7toDZ.js → CheckCircle-BTDGGZJo.js} +1 -1
  5. package/dist/client/assets/{ChevronDown-DmIUGcFl.js → ChevronDown-D098IDk9.js} +1 -1
  6. package/dist/client/assets/{ChevronRight-CIh2nJ4L.js → ChevronRight-DIr3-XeU.js} +1 -1
  7. package/dist/client/assets/{ChevronUp-BYOoc7wr.js → ChevronUp-qt4sL4uC.js} +1 -1
  8. package/dist/client/assets/{Container-BerLGLgK.js → Container-BvdKvtbe.js} +1 -1
  9. package/dist/client/assets/{DotsVertical-CDho1dav.js → DotsVertical-DGFUAKYN.js} +1 -1
  10. package/dist/client/assets/{LinkExternal01-CcTNZj2P.js → LinkExternal01-CS_vTEL0.js} +1 -1
  11. package/dist/client/assets/{Lock01-B-vCOiSg.js → Lock01-DepQhBci.js} +1 -1
  12. package/dist/client/assets/{Palette-CqW3vcqn.js → Palette-SeD4BOqL.js} +1 -1
  13. package/dist/client/assets/{Play-CrdOw1Iv.js → Play-B2WhNMxb.js} +1 -1
  14. package/dist/client/assets/{Plus-Zv0hv0Vg.js → Plus-6a_0gFD5.js} +1 -1
  15. package/dist/client/assets/{RefreshCcw01-COL3SGLi.js → RefreshCcw01-CmGHOB_j.js} +1 -1
  16. package/dist/client/assets/{SearchMd-BjteSZXQ.js → SearchMd-B4RJoOIR.js} +1 -1
  17. package/dist/client/assets/{Settings02-w5kxVqcK.js → Settings02-86F4b3dQ.js} +1 -1
  18. package/dist/client/assets/{Shield01-DodcxEya.js → Shield01-CzaXyqoU.js} +1 -1
  19. package/dist/client/assets/{Star01-BhFELsp4.js → Star01-BsL_E8DX.js} +1 -1
  20. package/dist/client/assets/{Sun-DY_ADcda.js → Sun-CoYtwe4c.js} +1 -1
  21. package/dist/client/assets/{Tool01-B5mm7tYF.js → Tool01-Cxeqfwwz.js} +1 -1
  22. package/dist/client/assets/{Trash01-DuRnWn1E.js → Trash01-Crqeojj8.js} +1 -1
  23. package/dist/client/assets/{User01-CQoJwY3u.js → User01-lfQ-qZIG.js} +1 -1
  24. package/dist/client/assets/{Users03-DfcHW1oz.js → Users03-BEcIfaLP.js} +1 -1
  25. package/dist/client/assets/{X-Bgfd1eh0.js → X-DSm8Y-S-.js} +1 -1
  26. package/dist/client/assets/{XCircle-DUufUsoh.js → XCircle-D0NNu2cU.js} +1 -1
  27. package/dist/client/assets/{XClose-BQJEwJET.js → XClose-8tp9nQPE.js} +1 -1
  28. package/dist/client/assets/{Zap-CDLB-lxK.js → Zap-GnwBp_Qp.js} +1 -1
  29. package/dist/client/assets/{ZapSquare-BFGlmWLE.js → ZapSquare-DgxRVJjy.js} +1 -1
  30. package/dist/client/assets/accordion-CJq3HBrS.js +1 -0
  31. package/dist/client/assets/agent-icon-DxobcFDr.js +1 -0
  32. package/dist/client/assets/agents-list-eEeKypKu.js +1 -0
  33. package/dist/client/assets/ai-providers-D_bgIPsh.js +1 -0
  34. package/dist/client/assets/{alert-dialog-rItivTOb.js → alert-dialog-CscciHzk.js} +2 -2
  35. package/dist/client/assets/{auth-catchall-BGNYNNAk.js → auth-catchall-DZZidYw0.js} +1 -1
  36. package/dist/client/assets/{automation-list-row-lCQuQb2Q.js → automation-list-row-Br_pkbGs.js} +1 -1
  37. package/dist/client/assets/automations-Ch3eQvio.js +1 -0
  38. package/dist/client/assets/{avatar-UVBUP_wG.js → avatar-BQ09Qk0Z.js} +1 -1
  39. package/dist/client/assets/{badge-nX1O9Qf1.js → badge-Clg4Tzdw.js} +1 -1
  40. package/dist/client/assets/brand-context-DZl3n4iE.js +1 -0
  41. package/dist/client/assets/{card-B6kxnNb0.js → card-DUOq7Rl6.js} +1 -1
  42. package/dist/client/assets/chat-context-CfrtTY3a.js +31 -0
  43. package/dist/client/assets/{checkbox-CTi7T5x-.js → checkbox-D2GZcsVt.js} +1 -1
  44. package/dist/client/assets/collection-detail-ChjtG6Ga.js +1 -0
  45. package/dist/client/assets/collection-display-button-BZwsY1Wv.js +1 -0
  46. package/dist/client/assets/{collection-search-BVB_BOr-.js → collection-search-CzSQR8Hb.js} +1 -1
  47. package/dist/client/assets/{collection-search-DHiaU-oT.js → collection-search-DW3g3zGc.js} +1 -1
  48. package/dist/client/assets/{collection-table-wrapper-Cqd6KCzo.js → collection-table-wrapper-B84Op-Zk.js} +1 -1
  49. package/dist/client/assets/{collection-tabs-CczYJtOJ.js → collection-tabs-DVyOXsXh.js} +1 -1
  50. package/dist/client/assets/{collections-Czgjy6V_.js → collections-CzE8C7FB.js} +1 -1
  51. package/dist/client/assets/{command-C1riJax0.js → command-ChcvD0z3.js} +1 -1
  52. package/dist/client/assets/{connection-card-MQF8JSkw.js → connection-card-C2vEoZIt.js} +1 -1
  53. package/dist/client/assets/connection-detail-BGY9VwYa.js +1 -0
  54. package/dist/client/assets/connection-form-helpers-CgA-QNzF.js +1 -0
  55. package/dist/client/assets/connections-DRgi7C4U.js +1 -0
  56. package/dist/client/assets/{constants-CMKJaZow.js → constants-CrD_AMxD.js} +1 -1
  57. package/dist/client/assets/{constants-puxzW8Tt.js → constants-nJzh8CYx.js} +2 -2
  58. package/dist/client/assets/{dialog-CAwNCLeY.js → dialog-CVDAkUpR.js} +1 -1
  59. package/dist/client/assets/domain-settings-ClmaftJG.js +1 -0
  60. package/dist/client/assets/{drawer-Co7qhpAL.js → drawer-CFg3CiQr.js} +1 -1
  61. package/dist/client/assets/dropdown-menu-gP2-wJTw.js +1 -0
  62. package/dist/client/assets/dynamic-plugin-layout-DZA29J1C.js +1 -0
  63. package/dist/client/assets/{empty-state-DIogXxVN.js → empty-state-C2PUUqhT.js} +1 -1
  64. package/dist/client/assets/{empty-state-Bio4MAFs.js → empty-state-CPpC79-7.js} +1 -1
  65. package/dist/client/assets/{extract-connection-data-BFIbyEiI.js → extract-connection-data-5g73Imwy.js} +1 -1
  66. package/dist/client/assets/features-CeA9UMCz.js +1 -0
  67. package/dist/client/assets/form-yPmbpUVF.js +1 -0
  68. package/dist/client/assets/general-CX6-dTKZ.js +1 -0
  69. package/dist/client/assets/index-B3vDeqTk.js +1 -0
  70. package/dist/client/assets/{index-DFoLVe7P.js → index-BYM0cbyk.js} +3 -3
  71. package/dist/client/assets/{index-BiFex3ig.js → index-BdUJIICa.js} +1 -1
  72. package/dist/client/assets/index-BzSFWy5-.js +189 -0
  73. package/dist/client/assets/index-C3hSkh4S.js +1 -0
  74. package/dist/client/assets/index-CXbGCxBV.js +547 -0
  75. package/dist/client/assets/{index-mWgQ602E.js → index-CfanpUI7.js} +3 -3
  76. package/dist/client/assets/{index-BhZeUpb1.js → index-CqrrK0SQ.js} +1 -1
  77. package/dist/client/assets/{index-DcnXzgrr.js → index-CsTWePfc.js} +1 -1
  78. package/dist/client/assets/index-DImBkhtD.js +1 -0
  79. package/dist/client/assets/index-Dbs2wH7N.js +1 -0
  80. package/dist/client/assets/index-DkZMRzTR.js +1 -0
  81. package/dist/client/assets/index-Dkaetwrr.js +142 -0
  82. package/dist/client/assets/{index-DdEYcoGw.js → index-Dlk19fTc.js} +1 -1
  83. package/dist/client/assets/index-b9vWbQjO.js +1 -0
  84. package/dist/client/assets/{index-C4KOdiuW.js → index-gKZjkMnf.js} +26 -26
  85. package/dist/client/assets/{infiniteQueryObserver-DS8PEXT3.js → infiniteQueryObserver-B9PWohpE.js} +1 -1
  86. package/dist/client/assets/{input-DrxCctpM.js → input-Cet4kRAV.js} +1 -1
  87. package/dist/client/assets/{integration-icon-B-ypwxt-.js → integration-icon-BYjt2zM8.js} +1 -1
  88. package/dist/client/assets/{label-qumw5kFa.js → label-CaWfIbuT.js} +1 -1
  89. package/dist/client/assets/layout-BgwHTi9m.js +1 -0
  90. package/dist/client/assets/lean-canvas-recruit-modal-CNtMOKiS.js +116 -0
  91. package/dist/client/assets/{login-zoPe2LeA.js → login-DDBhfkxa.js} +1 -1
  92. package/dist/client/assets/{members-BrCn_crL.js → members-CpZry3vM.js} +1 -1
  93. package/dist/client/assets/{monaco-editor-C80vYwBa.js → monaco-editor-D2GSkzL1.js} +1 -1
  94. package/dist/client/assets/{monitoring-stats-row-DoiRCC4f.js → monitoring-stats-row-B9-AgFrN.js} +1 -1
  95. package/dist/client/assets/{oauth-callback-CNmuoGWl.js → oauth-callback-ZTQDmTMI.js} +1 -1
  96. package/dist/client/assets/{oauth-callback-ai-provider-CsQrJZmR.js → oauth-callback-ai-provider-Gd1uARX2.js} +1 -1
  97. package/dist/client/assets/{onboarding-C7clLSW8.js → onboarding-8fDDt_RN.js} +1 -1
  98. package/dist/client/assets/{org-layout-BmM2YD3_.js → org-layout-Bw77z4Sw.js} +1 -1
  99. package/dist/client/assets/org-plugin-layout-BIXLREf_.js +1 -0
  100. package/dist/client/assets/{task-status-DhB__zcV.js → pair-CSF6pLZy.js} +40 -40
  101. package/dist/client/assets/plugin-empty-state-D452cObw.js +1 -0
  102. package/dist/client/assets/plugin-header-DesRdhcy.js +1 -0
  103. package/dist/client/assets/{plugin-layout-BZBMQxU7.js → plugin-layout-cW34W41Y.js} +1 -1
  104. package/dist/client/assets/{popover-BdnMz9At.js → popover-dpRZqzOJ.js} +1 -1
  105. package/dist/client/assets/profile-AXVJhA8D.js +1 -0
  106. package/dist/client/assets/project-app-view-C0WWCGe_.js +1 -0
  107. package/dist/client/assets/registry-91e7KTfr.js +2 -0
  108. package/dist/client/assets/{registry-layout-DF08kMn2.js → registry-layout-DWruz43b.js} +1 -1
  109. package/dist/client/assets/required-auth-layout-DVgyyuV-.js +1 -0
  110. package/dist/client/assets/{reset-password-KFV68Ks-.js → reset-password-jjqpZRxZ.js} +1 -1
  111. package/dist/client/assets/roles-Bf8vBKyU.js +1 -0
  112. package/dist/client/assets/scroll-area-CH9Vosbx.js +1 -0
  113. package/dist/client/assets/{search-input-CbSuDoZL.js → search-input-BTdLweUR.js} +1 -1
  114. package/dist/client/assets/select-B6R2tTSM.js +1 -0
  115. package/dist/client/assets/{select-model-BLp2y3cG.js → select-model-BMdrDFa3.js} +1 -1
  116. package/dist/client/assets/settings-layout-CnrVmFqe.js +1 -0
  117. package/dist/client/assets/{settings-section-CKsKmGWh.js → settings-section-Z9FmAPIg.js} +1 -1
  118. package/dist/client/assets/shell-layout-DaB5J-du.js +1 -0
  119. package/dist/client/assets/{skeleton-BKGbLlxs.js → skeleton-BhVqr-eG.js} +1 -1
  120. package/dist/client/assets/sso-DZJw-CAn.js +1 -0
  121. package/dist/client/assets/store-D-L6Gt6i.js +1 -0
  122. package/dist/client/assets/store-registry-DdZCk03l.js +2 -0
  123. package/dist/client/assets/{switch-DNv5M4ZB.js → switch-D_DqyrYW.js} +1 -1
  124. package/dist/client/assets/{table-CaLu-Lo8.js → table-D1_6e_tY.js} +1 -1
  125. package/dist/client/assets/{tabs-Ds3m3VsK.js → tabs-Bu_QsdLq.js} +1 -1
  126. package/dist/client/assets/task-status-DKnoaN0K.js +1 -0
  127. package/dist/client/assets/{textarea-D8dnqUDV.js → textarea-BPX5qWaA.js} +1 -1
  128. package/dist/client/assets/{toggle-group-DiaVR0jE.js → toggle-group-BJxlfhsN.js} +1 -1
  129. package/dist/client/assets/tools-list-CjPOU8GA.js +1 -0
  130. package/dist/client/assets/tooltip-DlUl6zVU.js +1 -0
  131. package/dist/client/assets/{types-Cj_XQKsH.js → types-CUVoLk-m.js} +6 -6
  132. package/dist/client/assets/{use-ai-providers-CiKg1J6I.js → use-ai-providers-CKSasQTP.js} +1 -1
  133. package/dist/client/assets/{use-collections-BgcKlAB6.js → use-collections-DKaygmj-.js} +1 -1
  134. package/dist/client/assets/{use-connection-D0OofLda.js → use-connection-DLwIHVYP.js} +1 -1
  135. package/dist/client/assets/{use-copy-DU9Tefqq.js → use-copy-CLL1wnsg.js} +1 -1
  136. package/dist/client/assets/use-create-virtual-mcp-B693GvUD.js +1 -0
  137. package/dist/client/assets/{use-decopilot-events-ClmBUkq4.js → use-decopilot-events-NXGOEGvZ.js} +1 -1
  138. package/dist/client/assets/{use-delete-connection-D8siAEqJ.js → use-delete-connection-DN8HxHVx.js} +1 -1
  139. package/dist/client/assets/{use-infinite-scroll-8BgvLQv0.js → use-infinite-scroll-B32XN73V.js} +1 -1
  140. package/dist/client/assets/{use-list-state-BEoAeszV.js → use-list-state-Cwr5OloB.js} +1 -1
  141. package/dist/client/assets/{use-mcp-tools-D1ScXFUK.js → use-mcp-tools-CyPVbfii.js} +1 -1
  142. package/dist/client/assets/{use-members-BzwLO50s.js → use-members-C8bjIWu8.js} +1 -1
  143. package/dist/client/assets/use-navigate-to-agent-DuF5pNCT.js +1 -0
  144. package/dist/client/assets/{use-org-sso-D0nq7yh3.js → use-org-sso-pbiXxD33.js} +1 -1
  145. package/dist/client/assets/{use-organization-roles-Dl9VoSUw.js → use-organization-roles-7NVaQG9M.js} +1 -1
  146. package/dist/client/assets/{use-organization-settings-C1HGFbFZ.js → use-organization-settings-DpXizr85.js} +1 -1
  147. package/dist/client/assets/{use-registry-connections-DzXuLNdG.js → use-registry-connections-BFqaVIUz.js} +1 -1
  148. package/dist/client/assets/{use-status-sounds-BC_OJyRi.js → use-status-sounds-DVyydX5_.js} +1 -1
  149. package/dist/client/assets/{use-tasks-BtGSWUvO.js → use-tasks-tzb1zUeQ.js} +1 -1
  150. package/dist/client/assets/use-view-mode-D9sT86SW.js +1 -0
  151. package/dist/client/assets/{use-virtual-mcp-D1fXVRo5.js → use-virtual-mcp-SIWEo5E_.js} +1 -1
  152. package/dist/client/assets/useInfiniteQuery-B3rxurAJ.js +1 -0
  153. package/dist/client/assets/useSuspenseInfiniteQuery-KPnhOQU0.js +1 -0
  154. package/dist/client/assets/{user-DAufXs4h.js → user-DxM-AJLw.js} +1 -1
  155. package/dist/client/assets/view-mode-toggle-CussfoqD.js +1 -0
  156. package/dist/client/assets/workflow-a5DJAs_-.js +1 -0
  157. package/dist/client/assets/workflow-detail-DqMXf6Es.js +1 -0
  158. package/dist/client/index.html +1 -1
  159. package/dist/server/cli.js +1 -1
  160. package/package.json +1 -1
  161. package/dist/client/assets/accordion-zVtel299.js +0 -1
  162. package/dist/client/assets/agent-icon-DSfidSus.js +0 -1
  163. package/dist/client/assets/agents-list-vffTTABq.js +0 -1
  164. package/dist/client/assets/ai-providers-t0YXr9kj.js +0 -1
  165. package/dist/client/assets/automations-C7xJbJSO.js +0 -1
  166. package/dist/client/assets/brand-context-7PuYXROc.js +0 -1
  167. package/dist/client/assets/chat-context-KGI8H-cg.js +0 -30
  168. package/dist/client/assets/collection-detail-D_GfRl2U.js +0 -1
  169. package/dist/client/assets/collection-display-button-DtLA-_Qf.js +0 -1
  170. package/dist/client/assets/connection-detail-Kmft9f88.js +0 -1
  171. package/dist/client/assets/connection-form-helpers-DMZ5iUjm.js +0 -1
  172. package/dist/client/assets/connections-Qfmncrnr.js +0 -1
  173. package/dist/client/assets/domain-settings-ZwlKCgS9.js +0 -1
  174. package/dist/client/assets/dropdown-menu-CiJ99ly5.js +0 -1
  175. package/dist/client/assets/dynamic-plugin-layout-SGNBzqAT.js +0 -1
  176. package/dist/client/assets/features-QRbg1n3B.js +0 -1
  177. package/dist/client/assets/form-FdRX5pG1.js +0 -1
  178. package/dist/client/assets/general-Cc1ql58y.js +0 -1
  179. package/dist/client/assets/github-repo-picker-QAmOQiwy.js +0 -116
  180. package/dist/client/assets/index-L8A_STvx.js +0 -1
  181. package/dist/client/assets/index-SoZ9vkB3.js +0 -735
  182. package/dist/client/assets/index-mcaIOSGF.js +0 -1
  183. package/dist/client/assets/layout-BHQW603q.js +0 -1
  184. package/dist/client/assets/org-plugin-layout-Csh0KNUp.js +0 -1
  185. package/dist/client/assets/plugin-empty-state-DxSYI7WM.js +0 -1
  186. package/dist/client/assets/plugin-header-D0WCyAas.js +0 -1
  187. package/dist/client/assets/profile-BZlcE9Y0.js +0 -1
  188. package/dist/client/assets/project-app-view-B8g2l52t.js +0 -1
  189. package/dist/client/assets/registry-oDwGjrMT.js +0 -2
  190. package/dist/client/assets/required-auth-layout-DAzAQKek.js +0 -1
  191. package/dist/client/assets/roles-CMvkTrhY.js +0 -1
  192. package/dist/client/assets/scroll-area-BlUv7zcB.js +0 -142
  193. package/dist/client/assets/select-W23RccQR.js +0 -1
  194. package/dist/client/assets/settings-layout-b1Br3189.js +0 -1
  195. package/dist/client/assets/shell-layout-BUuy9S_L.js +0 -1
  196. package/dist/client/assets/sso-aoLg93_m.js +0 -1
  197. package/dist/client/assets/store-DGgyYg8C.js +0 -1
  198. package/dist/client/assets/store-registry-Dbm0_etm.js +0 -2
  199. package/dist/client/assets/tools-list-CVgYt-8F.js +0 -1
  200. package/dist/client/assets/use-create-virtual-mcp-DAB2T3vN.js +0 -1
  201. package/dist/client/assets/use-mobile-DvmdhkH5.js +0 -1
  202. package/dist/client/assets/use-navigate-to-agent-Dg24R1Fh.js +0 -1
  203. package/dist/client/assets/use-view-mode-BnyE0_EO.js +0 -1
  204. package/dist/client/assets/useInfiniteQuery-H3t_tPfZ.js +0 -1
  205. package/dist/client/assets/useSuspenseInfiniteQuery-BAnABuH7.js +0 -1
  206. package/dist/client/assets/view-mode-toggle-LshbVzEB.js +0 -1
  207. package/dist/client/assets/workflow-Dt2CIq6i.js +0 -1
  208. package/dist/client/assets/workflow-detail-BZ0JnpLY.js +0 -1
  209. package/dist/server/node_modules/pg-int8/LICENSE +0 -13
  210. package/dist/server/node_modules/pg-int8/README.md +0 -16
  211. package/dist/server/node_modules/pg-int8/index.js +0 -100
  212. package/dist/server/node_modules/pg-int8/package.json +0 -24
  213. package/dist/server/node_modules/postgres-array/index.d.ts +0 -4
  214. package/dist/server/node_modules/postgres-array/index.js +0 -97
  215. package/dist/server/node_modules/postgres-array/license +0 -21
  216. package/dist/server/node_modules/postgres-array/package.json +0 -35
  217. package/dist/server/node_modules/postgres-array/readme.md +0 -43
  218. package/dist/server/node_modules/postgres-bytea/index.js +0 -33
  219. package/dist/server/node_modules/postgres-bytea/license +0 -21
  220. package/dist/server/node_modules/postgres-bytea/package.json +0 -34
  221. package/dist/server/node_modules/postgres-bytea/readme.md +0 -34
  222. package/dist/server/node_modules/postgres-date/index.js +0 -116
  223. package/dist/server/node_modules/postgres-date/license +0 -21
  224. package/dist/server/node_modules/postgres-date/package.json +0 -33
  225. package/dist/server/node_modules/postgres-date/readme.md +0 -49
  226. package/dist/server/node_modules/split2/LICENSE +0 -13
  227. package/dist/server/node_modules/split2/README.md +0 -85
  228. package/dist/server/node_modules/split2/bench.js +0 -27
  229. package/dist/server/node_modules/split2/index.js +0 -141
  230. package/dist/server/node_modules/split2/package.json +0 -39
  231. package/dist/server/node_modules/split2/test.js +0 -409
  232. package/dist/server/node_modules/xtend/.jshintrc +0 -30
  233. package/dist/server/node_modules/xtend/LICENSE +0 -20
  234. package/dist/server/node_modules/xtend/README.md +0 -32
  235. package/dist/server/node_modules/xtend/immutable.js +0 -19
  236. package/dist/server/node_modules/xtend/mutable.js +0 -17
  237. package/dist/server/node_modules/xtend/package.json +0 -55
  238. package/dist/server/node_modules/xtend/test.js +0 -103
@@ -1,39 +0,0 @@
1
- {
2
- "name": "split2",
3
- "version": "4.2.0",
4
- "description": "split a Text Stream into a Line Stream, using Stream 3",
5
- "main": "index.js",
6
- "scripts": {
7
- "lint": "standard --verbose",
8
- "unit": "nyc --lines 100 --branches 100 --functions 100 --check-coverage --reporter=text tape test.js",
9
- "coverage": "nyc --reporter=html --reporter=cobertura --reporter=text tape test/test.js",
10
- "test:report": "npm run lint && npm run unit:report",
11
- "test": "npm run lint && npm run unit",
12
- "legacy": "tape test.js"
13
- },
14
- "pre-commit": [
15
- "test"
16
- ],
17
- "website": "https://github.com/mcollina/split2",
18
- "repository": {
19
- "type": "git",
20
- "url": "https://github.com/mcollina/split2.git"
21
- },
22
- "bugs": {
23
- "url": "http://github.com/mcollina/split2/issues"
24
- },
25
- "engines": {
26
- "node": ">= 10.x"
27
- },
28
- "author": "Matteo Collina <hello@matteocollina.com>",
29
- "license": "ISC",
30
- "devDependencies": {
31
- "binary-split": "^1.0.3",
32
- "callback-stream": "^1.1.0",
33
- "fastbench": "^1.0.0",
34
- "nyc": "^15.0.1",
35
- "pre-commit": "^1.1.2",
36
- "standard": "^17.0.0",
37
- "tape": "^5.0.0"
38
- }
39
- }
@@ -1,409 +0,0 @@
1
- 'use strict'
2
-
3
- const test = require('tape')
4
- const split = require('./')
5
- const callback = require('callback-stream')
6
- const strcb = callback.bind(null, { decodeStrings: false })
7
- const objcb = callback.bind(null, { objectMode: true })
8
-
9
- test('split two lines on end', function (t) {
10
- t.plan(2)
11
-
12
- const input = split()
13
-
14
- input.pipe(strcb(function (err, list) {
15
- t.error(err)
16
- t.deepEqual(list, ['hello', 'world'])
17
- }))
18
-
19
- input.end('hello\nworld')
20
- })
21
-
22
- test('split two lines on two writes', function (t) {
23
- t.plan(2)
24
-
25
- const input = split()
26
-
27
- input.pipe(strcb(function (err, list) {
28
- t.error(err)
29
- t.deepEqual(list, ['hello', 'world'])
30
- }))
31
-
32
- input.write('hello')
33
- input.write('\nworld')
34
- input.end()
35
- })
36
-
37
- test('split four lines on three writes', function (t) {
38
- t.plan(2)
39
-
40
- const input = split()
41
-
42
- input.pipe(strcb(function (err, list) {
43
- t.error(err)
44
- t.deepEqual(list, ['hello', 'world', 'bye', 'world'])
45
- }))
46
-
47
- input.write('hello\nwor')
48
- input.write('ld\nbye\nwo')
49
- input.write('rld')
50
- input.end()
51
- })
52
-
53
- test('accumulate multiple writes', function (t) {
54
- t.plan(2)
55
-
56
- const input = split()
57
-
58
- input.pipe(strcb(function (err, list) {
59
- t.error(err)
60
- t.deepEqual(list, ['helloworld'])
61
- }))
62
-
63
- input.write('hello')
64
- input.write('world')
65
- input.end()
66
- })
67
-
68
- test('split using a custom string matcher', function (t) {
69
- t.plan(2)
70
-
71
- const input = split('~')
72
-
73
- input.pipe(strcb(function (err, list) {
74
- t.error(err)
75
- t.deepEqual(list, ['hello', 'world'])
76
- }))
77
-
78
- input.end('hello~world')
79
- })
80
-
81
- test('split using a custom regexp matcher', function (t) {
82
- t.plan(2)
83
-
84
- const input = split(/~/)
85
-
86
- input.pipe(strcb(function (err, list) {
87
- t.error(err)
88
- t.deepEqual(list, ['hello', 'world'])
89
- }))
90
-
91
- input.end('hello~world')
92
- })
93
-
94
- test('support an option argument', function (t) {
95
- t.plan(2)
96
-
97
- const input = split({ highWaterMark: 2 })
98
-
99
- input.pipe(strcb(function (err, list) {
100
- t.error(err)
101
- t.deepEqual(list, ['hello', 'world'])
102
- }))
103
-
104
- input.end('hello\nworld')
105
- })
106
-
107
- test('support a mapper function', function (t) {
108
- t.plan(2)
109
-
110
- const a = { a: '42' }
111
- const b = { b: '24' }
112
-
113
- const input = split(JSON.parse)
114
-
115
- input.pipe(objcb(function (err, list) {
116
- t.error(err)
117
- t.deepEqual(list, [a, b])
118
- }))
119
-
120
- input.write(JSON.stringify(a))
121
- input.write('\n')
122
- input.end(JSON.stringify(b))
123
- })
124
-
125
- test('split lines windows-style', function (t) {
126
- t.plan(2)
127
-
128
- const input = split()
129
-
130
- input.pipe(strcb(function (err, list) {
131
- t.error(err)
132
- t.deepEqual(list, ['hello', 'world'])
133
- }))
134
-
135
- input.end('hello\r\nworld')
136
- })
137
-
138
- test('splits a buffer', function (t) {
139
- t.plan(2)
140
-
141
- const input = split()
142
-
143
- input.pipe(strcb(function (err, list) {
144
- t.error(err)
145
- t.deepEqual(list, ['hello', 'world'])
146
- }))
147
-
148
- input.end(Buffer.from('hello\nworld'))
149
- })
150
-
151
- test('do not end on undefined', function (t) {
152
- t.plan(2)
153
-
154
- const input = split(function (line) { })
155
-
156
- input.pipe(strcb(function (err, list) {
157
- t.error(err)
158
- t.deepEqual(list, [])
159
- }))
160
-
161
- input.end(Buffer.from('hello\nworld'))
162
- })
163
-
164
- test('has destroy method', function (t) {
165
- t.plan(1)
166
-
167
- const input = split(function (line) { })
168
-
169
- input.on('close', function () {
170
- t.ok(true, 'close emitted')
171
- t.end()
172
- })
173
-
174
- input.destroy()
175
- })
176
-
177
- test('support custom matcher and mapper', function (t) {
178
- t.plan(4)
179
-
180
- const a = { a: '42' }
181
- const b = { b: '24' }
182
- const input = split('~', JSON.parse)
183
-
184
- t.equal(input.matcher, '~')
185
- t.equal(typeof input.mapper, 'function')
186
-
187
- input.pipe(objcb(function (err, list) {
188
- t.notOk(err, 'no errors')
189
- t.deepEqual(list, [a, b])
190
- }))
191
-
192
- input.write(JSON.stringify(a))
193
- input.write('~')
194
- input.end(JSON.stringify(b))
195
- })
196
-
197
- test('support custom matcher and options', function (t) {
198
- t.plan(6)
199
-
200
- const input = split('~', { highWaterMark: 1024 })
201
-
202
- t.equal(input.matcher, '~')
203
- t.equal(typeof input.mapper, 'function')
204
- t.equal(input._readableState.highWaterMark, 1024)
205
- t.equal(input._writableState.highWaterMark, 1024)
206
-
207
- input.pipe(strcb(function (err, list) {
208
- t.error(err)
209
- t.deepEqual(list, ['hello', 'world'])
210
- }))
211
-
212
- input.end('hello~world')
213
- })
214
-
215
- test('support mapper and options', function (t) {
216
- t.plan(6)
217
-
218
- const a = { a: '42' }
219
- const b = { b: '24' }
220
- const input = split(JSON.parse, { highWaterMark: 1024 })
221
-
222
- t.ok(input.matcher instanceof RegExp, 'matcher is RegExp')
223
- t.equal(typeof input.mapper, 'function')
224
- t.equal(input._readableState.highWaterMark, 1024)
225
- t.equal(input._writableState.highWaterMark, 1024)
226
-
227
- input.pipe(objcb(function (err, list) {
228
- t.error(err)
229
- t.deepEqual(list, [a, b])
230
- }))
231
-
232
- input.write(JSON.stringify(a))
233
- input.write('\n')
234
- input.end(JSON.stringify(b))
235
- })
236
-
237
- test('split utf8 chars', function (t) {
238
- t.plan(2)
239
-
240
- const input = split()
241
-
242
- input.pipe(strcb(function (err, list) {
243
- t.error(err)
244
- t.deepEqual(list, ['烫烫烫', '锟斤拷'])
245
- }))
246
-
247
- const buf = Buffer.from('烫烫烫\r\n锟斤拷', 'utf8')
248
- for (let i = 0; i < buf.length; ++i) {
249
- input.write(buf.slice(i, i + 1))
250
- }
251
- input.end()
252
- })
253
-
254
- test('split utf8 chars 2by2', function (t) {
255
- t.plan(2)
256
-
257
- const input = split()
258
-
259
- input.pipe(strcb(function (err, list) {
260
- t.error(err)
261
- t.deepEqual(list, ['烫烫烫', '烫烫烫'])
262
- }))
263
-
264
- const str = '烫烫烫\r\n烫烫烫'
265
- const buf = Buffer.from(str, 'utf8')
266
- for (let i = 0; i < buf.length; i += 2) {
267
- input.write(buf.slice(i, i + 2))
268
- }
269
- input.end()
270
- })
271
-
272
- test('split lines when the \n comes at the end of a chunk', function (t) {
273
- t.plan(2)
274
-
275
- const input = split()
276
-
277
- input.pipe(strcb(function (err, list) {
278
- t.error(err)
279
- t.deepEqual(list, ['hello', 'world'])
280
- }))
281
-
282
- input.write('hello\n')
283
- input.end('world')
284
- })
285
-
286
- test('truncated utf-8 char', function (t) {
287
- t.plan(2)
288
-
289
- const input = split()
290
-
291
- input.pipe(strcb(function (err, list) {
292
- t.error(err)
293
- t.deepEqual(list, ['烫' + Buffer.from('e7', 'hex').toString()])
294
- }))
295
-
296
- const str = '烫烫'
297
- const buf = Buffer.from(str, 'utf8')
298
-
299
- input.write(buf.slice(0, 3))
300
- input.end(buf.slice(3, 4))
301
- })
302
-
303
- test('maximum buffer limit', function (t) {
304
- t.plan(1)
305
-
306
- const input = split({ maxLength: 2 })
307
- input.on('error', function (err) {
308
- t.ok(err)
309
- })
310
-
311
- input.resume()
312
-
313
- input.write('hey')
314
- })
315
-
316
- test('readable highWaterMark', function (t) {
317
- const input = split()
318
- t.equal(input._readableState.highWaterMark, 16)
319
- t.end()
320
- })
321
-
322
- test('maxLength < chunk size', function (t) {
323
- t.plan(2)
324
-
325
- const input = split({ maxLength: 2 })
326
-
327
- input.pipe(strcb(function (err, list) {
328
- t.error(err)
329
- t.deepEqual(list, ['a', 'b'])
330
- }))
331
-
332
- input.end('a\nb')
333
- })
334
-
335
- test('maximum buffer limit w/skip', function (t) {
336
- t.plan(2)
337
-
338
- const input = split({ maxLength: 2, skipOverflow: true })
339
-
340
- input.pipe(strcb(function (err, list) {
341
- t.error(err)
342
- t.deepEqual(list, ['a', 'b', 'c'])
343
- }))
344
-
345
- input.write('a\n123')
346
- input.write('456')
347
- input.write('789\nb\nc')
348
- input.end()
349
- })
350
-
351
- test("don't modify the options object", function (t) {
352
- t.plan(2)
353
-
354
- const options = {}
355
- const input = split(options)
356
-
357
- input.pipe(strcb(function (err, list) {
358
- t.error(err)
359
- t.same(options, {})
360
- }))
361
-
362
- input.end()
363
- })
364
-
365
- test('mapper throws flush', function (t) {
366
- t.plan(1)
367
- const error = new Error()
368
- const input = split(function () {
369
- throw error
370
- })
371
-
372
- input.on('error', (err, list) => {
373
- t.same(err, error)
374
- })
375
- input.end('hello')
376
- })
377
-
378
- test('mapper throws on transform', function (t) {
379
- t.plan(1)
380
-
381
- const error = new Error()
382
- const input = split(function (l) {
383
- throw error
384
- })
385
-
386
- input.on('error', (err) => {
387
- t.same(err, error)
388
- })
389
- input.write('a')
390
- input.write('\n')
391
- input.end('b')
392
- })
393
-
394
- test('supports Symbol.split', function (t) {
395
- t.plan(2)
396
-
397
- const input = split({
398
- [Symbol.split] (str) {
399
- return str.split('~')
400
- }
401
- })
402
-
403
- input.pipe(strcb(function (err, list) {
404
- t.error(err)
405
- t.deepEqual(list, ['hello', 'world'])
406
- }))
407
-
408
- input.end('hello~world')
409
- })
@@ -1,30 +0,0 @@
1
- {
2
- "maxdepth": 4,
3
- "maxstatements": 200,
4
- "maxcomplexity": 12,
5
- "maxlen": 80,
6
- "maxparams": 5,
7
-
8
- "curly": true,
9
- "eqeqeq": true,
10
- "immed": true,
11
- "latedef": false,
12
- "noarg": true,
13
- "noempty": true,
14
- "nonew": true,
15
- "undef": true,
16
- "unused": "vars",
17
- "trailing": true,
18
-
19
- "quotmark": true,
20
- "expr": true,
21
- "asi": true,
22
-
23
- "browser": false,
24
- "esnext": true,
25
- "devel": false,
26
- "node": false,
27
- "nonstandard": false,
28
-
29
- "predef": ["require", "module", "__dirname", "__filename"]
30
- }
@@ -1,20 +0,0 @@
1
- The MIT License (MIT)
2
- Copyright (c) 2012-2014 Raynos.
3
-
4
- Permission is hereby granted, free of charge, to any person obtaining a copy
5
- of this software and associated documentation files (the "Software"), to deal
6
- in the Software without restriction, including without limitation the rights
7
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- copies of the Software, and to permit persons to whom the Software is
9
- furnished to do so, subject to the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be included in
12
- all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
- THE SOFTWARE.
@@ -1,32 +0,0 @@
1
- # xtend
2
-
3
- [![browser support][3]][4]
4
-
5
- [![locked](http://badges.github.io/stability-badges/dist/locked.svg)](http://github.com/badges/stability-badges)
6
-
7
- Extend like a boss
8
-
9
- xtend is a basic utility library which allows you to extend an object by appending all of the properties from each object in a list. When there are identical properties, the right-most property takes precedence.
10
-
11
- ## Examples
12
-
13
- ```js
14
- var extend = require("xtend")
15
-
16
- // extend returns a new object. Does not mutate arguments
17
- var combination = extend({
18
- a: "a",
19
- b: "c"
20
- }, {
21
- b: "b"
22
- })
23
- // { a: "a", b: "b" }
24
- ```
25
-
26
- ## Stability status: Locked
27
-
28
- ## MIT Licensed
29
-
30
-
31
- [3]: http://ci.testling.com/Raynos/xtend.png
32
- [4]: http://ci.testling.com/Raynos/xtend
@@ -1,19 +0,0 @@
1
- module.exports = extend
2
-
3
- var hasOwnProperty = Object.prototype.hasOwnProperty;
4
-
5
- function extend() {
6
- var target = {}
7
-
8
- for (var i = 0; i < arguments.length; i++) {
9
- var source = arguments[i]
10
-
11
- for (var key in source) {
12
- if (hasOwnProperty.call(source, key)) {
13
- target[key] = source[key]
14
- }
15
- }
16
- }
17
-
18
- return target
19
- }
@@ -1,17 +0,0 @@
1
- module.exports = extend
2
-
3
- var hasOwnProperty = Object.prototype.hasOwnProperty;
4
-
5
- function extend(target) {
6
- for (var i = 1; i < arguments.length; i++) {
7
- var source = arguments[i]
8
-
9
- for (var key in source) {
10
- if (hasOwnProperty.call(source, key)) {
11
- target[key] = source[key]
12
- }
13
- }
14
- }
15
-
16
- return target
17
- }
@@ -1,55 +0,0 @@
1
- {
2
- "name": "xtend",
3
- "version": "4.0.2",
4
- "description": "extend like a boss",
5
- "keywords": [
6
- "extend",
7
- "merge",
8
- "options",
9
- "opts",
10
- "object",
11
- "array"
12
- ],
13
- "author": "Raynos <raynos2@gmail.com>",
14
- "repository": "git://github.com/Raynos/xtend.git",
15
- "main": "immutable",
16
- "scripts": {
17
- "test": "node test"
18
- },
19
- "dependencies": {},
20
- "devDependencies": {
21
- "tape": "~1.1.0"
22
- },
23
- "homepage": "https://github.com/Raynos/xtend",
24
- "contributors": [
25
- {
26
- "name": "Jake Verbaten"
27
- },
28
- {
29
- "name": "Matt Esch"
30
- }
31
- ],
32
- "bugs": {
33
- "url": "https://github.com/Raynos/xtend/issues",
34
- "email": "raynos2@gmail.com"
35
- },
36
- "license": "MIT",
37
- "testling": {
38
- "files": "test.js",
39
- "browsers": [
40
- "ie/7..latest",
41
- "firefox/16..latest",
42
- "firefox/nightly",
43
- "chrome/22..latest",
44
- "chrome/canary",
45
- "opera/12..latest",
46
- "opera/next",
47
- "safari/5.1..latest",
48
- "ipad/6.0..latest",
49
- "iphone/6.0..latest"
50
- ]
51
- },
52
- "engines": {
53
- "node": ">=0.4"
54
- }
55
- }