decocms 2.181.2 → 2.181.3

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 (206) hide show
  1. package/dist/client/assets/{AlertCircle-Hpsw9_tf.js → AlertCircle-D2rRA9CS.js} +1 -1
  2. package/dist/client/assets/{ArrowLeft-U7OUoBhv.js → ArrowLeft-D4bkD9qi.js} +1 -1
  3. package/dist/client/assets/{ArrowUp-BrSLqvQo.js → ArrowUp-CpDF-NAu.js} +1 -1
  4. package/dist/client/assets/{Check-CVKUMJv3.js → Check-CecxQkQE.js} +1 -1
  5. package/dist/client/assets/{ChevronDown-Ds3IOx8p.js → ChevronDown-Cm9SuGtV.js} +1 -1
  6. package/dist/client/assets/{ChevronRight-CTHCKnjF.js → ChevronRight-2xVQHhsF.js} +1 -1
  7. package/dist/client/assets/{ChevronUp-DJbt-mXd.js → ChevronUp-B6bu9ZD3.js} +1 -1
  8. package/dist/client/assets/{Container-D4n2e11R.js → Container-sfWYtc36.js} +1 -1
  9. package/dist/client/assets/{Dataflow03-q5kzWw4s.js → Dataflow03-BcXlVxgR.js} +1 -1
  10. package/dist/client/assets/{Download01-BBRbjA11.js → Download01-DGSbxmSo.js} +1 -1
  11. package/dist/client/assets/{FolderClosed-CgbAGtho.js → FolderClosed-DlY-lqwP.js} +1 -1
  12. package/dist/client/assets/{Grid01-CbgVFQNg.js → Grid01-CLnEHof5.js} +1 -1
  13. package/dist/client/assets/{List-D35z7ORx.js → List-CnkQuVUq.js} +1 -1
  14. package/dist/client/assets/{Loading01-DDv5lfhX.js → Loading01-ZUH_hVSq.js} +1 -1
  15. package/dist/client/assets/{Play-Q9uDVIa5.js → Play-CCpyKlpN.js} +1 -1
  16. package/dist/client/assets/{Plus-DcUxQQXw.js → Plus-D9CNWrFQ.js} +1 -1
  17. package/dist/client/assets/{RefreshCcw01-nS96T2bf.js → RefreshCcw01-Cu6svfY5.js} +1 -1
  18. package/dist/client/assets/{SearchMd-CTpXH6F3.js → SearchMd-BH_J7-7p.js} +1 -1
  19. package/dist/client/assets/{Settings01-BVY96Vsg.js → Settings01-DTaoTYj1.js} +1 -1
  20. package/dist/client/assets/{Trash01-CzfVJZjl.js → Trash01-Cv31wiMP.js} +1 -1
  21. package/dist/client/assets/{Type01-BwsSTKh1.js → Type01-BRLQyycA.js} +1 -1
  22. package/dist/client/assets/{Upload01-Bn_9d04P.js → Upload01-BY6Noksk.js} +1 -1
  23. package/dist/client/assets/{User01-Dl4j8Eui.js → User01-BloSEKZw.js} +1 -1
  24. package/dist/client/assets/{VideoRecorder-0-qQusnp.js → VideoRecorder-CqjZf9cg.js} +1 -1
  25. package/dist/client/assets/{X-DvXlEl9E.js → X-1dO_8PIJ.js} +1 -1
  26. package/dist/client/assets/{XCircle-DI9HiD4A.js → XCircle-BEC1SvTX.js} +1 -1
  27. package/dist/client/assets/{XClose-Bw5018RM.js → XClose-BzyTilGE.js} +1 -1
  28. package/dist/client/assets/{Zap-DGbTVlYq.js → Zap-D6SUOiFY.js} +1 -1
  29. package/dist/client/assets/{agent-connections-preview-Cfflc0J5.js → agent-connections-preview-COmBlzCd.js} +1 -1
  30. package/dist/client/assets/{agent-detail-CehIC3W1.js → agent-detail-DAo3-7Gz.js} +1 -1
  31. package/dist/client/assets/{agents-DmtfY0M7.js → agents-Cy0iaygc.js} +1 -1
  32. package/dist/client/assets/{ai-providers-logos-BtOy-_hY.js → ai-providers-logos-Cr4iRu-0.js} +1 -1
  33. package/dist/client/assets/{alert-dialog-CIdU20ao.js → alert-dialog-DnwDlp7T.js} +1 -1
  34. package/dist/client/assets/{auth-catchall-DklKmwQO.js → auth-catchall-CJb2iecY.js} +1 -1
  35. package/dist/client/assets/{automation-detail-CIe1WG8E.js → automation-detail-DIl5XDBS.js} +1 -1
  36. package/dist/client/assets/{automations-KsqaYtsv.js → automations-4lM2x30V.js} +1 -1
  37. package/dist/client/assets/{avatar-Dz9Au16I.js → avatar-CahK8DWE.js} +1 -1
  38. package/dist/client/assets/{badge-BIY4HSu4.js → badge-a1yIqkX1.js} +1 -1
  39. package/dist/client/assets/{binder-DaeU7_Yt.js → binder-B_Xezby6.js} +1 -1
  40. package/dist/client/assets/{breadcrumb-DNInqlES.js → breadcrumb-DBLmG8ET.js} +1 -1
  41. package/dist/client/assets/{card-CoTaf7Bb.js → card-BkMKAjKJ.js} +1 -1
  42. package/dist/client/assets/{checkbox-UWf_Spym.js → checkbox-DFbWpPSa.js} +1 -1
  43. package/dist/client/assets/{collapsible-DGsDf05s.js → collapsible-CzCLTaIa.js} +1 -1
  44. package/dist/client/assets/{collection-detail-jT6_1Zus.js → collection-detail-CP2ikFfr.js} +1 -1
  45. package/dist/client/assets/{collection-display-button-CIwF6qiP.js → collection-display-button-BTy8OMGo.js} +1 -1
  46. package/dist/client/assets/{collection-search-DmeA1lkM.js → collection-search-BaA_5hnO.js} +1 -1
  47. package/dist/client/assets/{collection-table-wrapper-DZ9kkHHz.js → collection-table-wrapper-CeDvXZ6e.js} +1 -1
  48. package/dist/client/assets/{collection-tabs-VEtVQj8e.js → collection-tabs-B_Ive8CL.js} +1 -1
  49. package/dist/client/assets/{command-DS9L8dE9.js → command-DeF62mUG.js} +1 -1
  50. package/dist/client/assets/{connection-card-DY8BmloD.js → connection-card-ClL9bm7k.js} +1 -1
  51. package/dist/client/assets/{connection-detail-D6zDmZps.js → connection-detail-D6Ad6Uup.js} +1 -1
  52. package/dist/client/assets/{connections-BvDULZyp.js → connections-Dkdo-MxF.js} +1 -1
  53. package/dist/client/assets/{constants-C5g6K3-0.js → constants-kAo23sAc.js} +1 -1
  54. package/dist/client/assets/{context-0-m5aPvK.js → context-C2WVT2wI.js} +1 -1
  55. package/dist/client/assets/{create-organization-dialog-Bw7JkHCW.js → create-organization-dialog--yeW4Rp3.js} +1 -1
  56. package/dist/client/assets/{create-project-dialog-CofGaj8t.js → create-project-dialog-DX0tom06.js} +1 -1
  57. package/dist/client/assets/{danger-BxwsLFA0.js → danger-BEWSLgEr.js} +1 -1
  58. package/dist/client/assets/{danger-zone-DNgGGkaE.js → danger-zone-COttqiLk.js} +1 -1
  59. package/dist/client/assets/{dependencies-CscQrQx3.js → dependencies-DQpwdViP.js} +1 -1
  60. package/dist/client/assets/{dialog-Beaz2erB.js → dialog-B-I43lOk.js} +1 -1
  61. package/dist/client/assets/{drawer-DuM10S-O.js → drawer-Cc_fH-oc.js} +1 -1
  62. package/dist/client/assets/{dropdown-menu-IA1w2fjK.js → dropdown-menu-KiFp7XSX.js} +1 -1
  63. package/dist/client/assets/{dynamic-plugin-layout-CtDEEZnp.js → dynamic-plugin-layout-DqyTuAzp.js} +1 -1
  64. package/dist/client/assets/{editable-task-title-DuDIwQf_.js → editable-task-title-DABFKKXz.js} +1 -1
  65. package/dist/client/assets/{empty-state-DnJSxmJA.js → empty-state-BclY67WC.js} +1 -1
  66. package/dist/client/assets/{empty-state-hwIP0sm6.js → empty-state-UToLDOJO.js} +1 -1
  67. package/dist/client/assets/{env-vars-editor-Ceyzo9UT.js → env-vars-editor-D3JHoO0m.js} +1 -1
  68. package/dist/client/assets/{extract-connection-data-D13QyL30.js → extract-connection-data-GhIKo0Xr.js} +1 -1
  69. package/dist/client/assets/{file-browser-B-JXooL8.js → file-browser-CZHih4nP.js} +2 -2
  70. package/dist/client/assets/{form-CccEC3cm.js → form-edx7u0Be.js} +1 -1
  71. package/dist/client/assets/{general-axIGxWAv.js → general-rmW6kn_q.js} +1 -1
  72. package/dist/client/assets/{generate-id-0beDKMoR.js → generate-id-B0hqIne-.js} +1 -1
  73. package/dist/client/assets/{grid-view-VGzy6bo9.js → grid-view-SzsDCBqX.js} +1 -1
  74. package/dist/client/assets/{home-ED4EKgWV.js → home-BW8Jzf61.js} +1 -1
  75. package/dist/client/assets/{index-DxFKywdp.js → index--68a591R.js} +1 -1
  76. package/dist/client/assets/{index-Be3yjubl.js → index-B3DLUye8.js} +1 -1
  77. package/dist/client/assets/{index-CDessA1I.js → index-Bf3XZpZk.js} +1 -1
  78. package/dist/client/assets/{index-JasJqXzm.js → index-BsYB-j4p.js} +1 -1
  79. package/dist/client/assets/{index-VZp2CIbR.js → index-C45O1mgu.js} +1 -1
  80. package/dist/client/assets/{index-DQTOgFOw.js → index-CJ0BaJHY.js} +1 -1
  81. package/dist/client/assets/{index-BfJLXP0j.js → index-CNQ1T_R3.js} +1 -1
  82. package/dist/client/assets/{index-DqQdLYr7.js → index-Ca6dFB6s.js} +1 -1
  83. package/dist/client/assets/{index-C2aMuEoP.js → index-CyaqcTbn.js} +1 -1
  84. package/dist/client/assets/{index-BjxqoU_w.js → index-Di6oLb1g.js} +3 -3
  85. package/dist/client/assets/{index-DsV3YD3P.js → index-SfPPYQt8.js} +1 -1
  86. package/dist/client/assets/{infiniteQueryObserver-C0OPB4rx.js → infiniteQueryObserver-Cg7Qn-Py.js} +1 -1
  87. package/dist/client/assets/{input-Be0bLLQW.js → input-DQ4QcwHR.js} +1 -1
  88. package/dist/client/assets/{integration-icon-C9ac9VOj.js → integration-icon-DlCg0T4C.js} +1 -1
  89. package/dist/client/assets/{label-C6smVCIk.js → label-BGeQL0ka.js} +1 -1
  90. package/dist/client/assets/{layout-D0N63fj1.js → layout-D6ZxqJKi.js} +1 -1
  91. package/dist/client/assets/{layout-CYi_63K3.js → layout-DtwUtGx0.js} +1 -1
  92. package/dist/client/assets/{login-B4SjGwXr.js → login-DlB4I5sp.js} +1 -1
  93. package/dist/client/assets/{logo-upload-DwLQLlu7.js → logo-upload-BtAPf8sp.js} +1 -1
  94. package/dist/client/assets/{mcp-app-renderer-BWF6RI84.js → mcp-app-renderer-Cg9Eew2n.js} +1 -1
  95. package/dist/client/assets/{mcp-server-card-ksfI1Eyh.js → mcp-server-card-4V1eOOTX.js} +1 -1
  96. package/dist/client/assets/{mcp-server-detail-Cb-T_-Mb.js → mcp-server-detail-CX9gEsnH.js} +2 -2
  97. package/dist/client/assets/{members-DJ6DA7d5.js → members-D1cMWKgG.js} +1 -1
  98. package/dist/client/assets/{monaco-editor-D0GS_D3E.js → monaco-editor-DnqhgBvh.js} +1 -1
  99. package/dist/client/assets/{monitoring-osT0IqjS.js → monitoring-BQpDfDrf.js} +1 -1
  100. package/dist/client/assets/{monitoring-dashboard-edit-Bxyyp3mT.js → monitoring-dashboard-edit-Cbicjk63.js} +1 -1
  101. package/dist/client/assets/{monitoring-dashboard-view-D1jhpkzD.js → monitoring-dashboard-view-Ci-RFMRb.js} +1 -1
  102. package/dist/client/assets/{monitoring-stats-row-BzJ0yham.js → monitoring-stats-row-vvMdV41p.js} +1 -1
  103. package/dist/client/assets/{oauth-callback-B9dLIXA2.js → oauth-callback-DIjSwsej.js} +1 -1
  104. package/dist/client/assets/{oauth-callback-ai-provider-mFsE32vf.js → oauth-callback-ai-provider-Dh3KWtZ6.js} +1 -1
  105. package/dist/client/assets/{org-ai-providers-UG6FIdxB.js → org-ai-providers-DGjdQR3W.js} +1 -1
  106. package/dist/client/assets/{page-C4W1F739.js → page-DCh64rPG.js} +1 -1
  107. package/dist/client/assets/{page-Drtt1B9w.js → page-DqLtxYci.js} +1 -1
  108. package/dist/client/assets/{plugin-empty-state-C-XfLac2.js → plugin-empty-state-DXF12w3Y.js} +1 -1
  109. package/dist/client/assets/{plugin-empty-state-C7t75jMS.js → plugin-empty-state-KrWE8h_c.js} +1 -1
  110. package/dist/client/assets/{plugin-header-BJKUaApF.js → plugin-header-BRNld0B2.js} +1 -1
  111. package/dist/client/assets/{plugin-header-5ST0P5Q7.js → plugin-header-CxhFSwvz.js} +1 -1
  112. package/dist/client/assets/plugins-BVx4W74m.js +1 -0
  113. package/dist/client/assets/{popover-Dn0X9Fr1.js → popover-DnP50c_4.js} +1 -1
  114. package/dist/client/assets/{project-app-view-CcUsagsx.js → project-app-view-BjmqGgdc.js} +1 -1
  115. package/dist/client/assets/{project-layout-D9UABDEG.js → project-layout-B0N0-1u8.js} +1 -1
  116. package/dist/client/assets/{project-plugins-B2zBuBKC.js → project-plugins-W6YBdGTQ.js} +1 -1
  117. package/dist/client/assets/{projects-list-BWN1T4nW.js → projects-list-x0gTe3hu.js} +1 -1
  118. package/dist/client/assets/{registry-layout-tQMWJSmp.js → registry-layout-CCApya06.js} +1 -1
  119. package/dist/client/assets/{registry-utils-CVkiAvdy.js → registry-utils-B2MGgFdM.js} +1 -1
  120. package/dist/client/assets/{reset-password-DJ4VaB6B.js → reset-password-BGRs1AsG.js} +1 -1
  121. package/dist/client/assets/{resizable-BD6CMEjd.js → resizable-BUdS0TeH.js} +1 -1
  122. package/dist/client/assets/{save-actions-BFbH4lFH.js → save-actions-CZB_80fx.js} +1 -1
  123. package/dist/client/assets/{scroll-area-VqeDMOPN.js → scroll-area-BDvsWD3_.js} +1 -1
  124. package/dist/client/assets/{select-VEJvYQo7.js → select-DE6nOtq4.js} +1 -1
  125. package/dist/client/assets/{select-virtual-mcp-BVFbfMoH.js → select-virtual-mcp-BcDL714M.js} +1 -1
  126. package/dist/client/assets/{shell-layout-lPP98AcT.js → shell-layout-dlpBTl1V.js} +2 -2
  127. package/dist/client/assets/{sidebar-settings-Cvi9DQQC.js → sidebar-settings-DvmipHRI.js} +1 -1
  128. package/dist/client/assets/{skeleton-HKYMRn58.js → skeleton-jHSQmvNz.js} +1 -1
  129. package/dist/client/assets/{spinner-BFdTwge6.js → spinner-uIlWy8Tn.js} +1 -1
  130. package/dist/client/assets/{store-invite-BqHShMlA.js → store-invite-hyBdEV4m.js} +1 -1
  131. package/dist/client/assets/{switch-CG6Wlm7Y.js → switch-DqoVcDTw.js} +1 -1
  132. package/dist/client/assets/{table-C915-j5j.js → table-BtUXt-LB.js} +1 -1
  133. package/dist/client/assets/{tabs-EJf8mrdN.js → tabs-Co0v-Gtu.js} +1 -1
  134. package/dist/client/assets/{task-status-DwSGaLCq.js → task-status-mBvgK6CE.js} +5 -3
  135. package/dist/client/assets/tasks-D2ul5DI6.js +1 -0
  136. package/dist/client/assets/{tasks-panel-j-1pM09U.js → tasks-panel-CKxWhrpo.js} +1 -1
  137. package/dist/client/assets/{textarea-BpJcJgEu.js → textarea-DK_nHNH9.js} +1 -1
  138. package/dist/client/assets/{time-range-picker-CBrng89O.js → time-range-picker-Dq2GzTz_.js} +1 -1
  139. package/dist/client/assets/{toggle-group-D3jOZx6Z.js → toggle-group-C2i_WN24.js} +1 -1
  140. package/dist/client/assets/{tools-list-BJKvrBYn.js → tools-list-SO4mO2yz.js} +1 -1
  141. package/dist/client/assets/{tooltip-SqkLa6wk.js → tooltip-Bt2vWRpT.js} +1 -1
  142. package/dist/client/assets/{topbar-portal-Ul2d-lg1.js → topbar-portal-C9UZ6_6p.js} +1 -1
  143. package/dist/client/assets/{types-CdHbWvSx.js → types-C4sVrknd.js} +1 -1
  144. package/dist/client/assets/{use-automations-xjYa92g6.js → use-automations-DgVOPvmM.js} +1 -1
  145. package/dist/client/assets/{use-collections-Zp8eOwPm.js → use-collections-CojcRvND.js} +1 -1
  146. package/dist/client/assets/{use-connection-B-vgK3kN.js → use-connection-CJIltDo3.js} +1 -1
  147. package/dist/client/assets/{use-copy-Bor2cPit.js → use-copy-_cPtrtTH.js} +1 -1
  148. package/dist/client/assets/{use-create-virtual-mcp-DLLVUJBK.js → use-create-virtual-mcp-D7i1HcQg.js} +1 -1
  149. package/dist/client/assets/{use-infinite-scroll-QweqoXs4.js → use-infinite-scroll-xFnZb5m2.js} +1 -1
  150. package/dist/client/assets/{use-install-from-registry-BWF2XusE.js → use-install-from-registry-BUPQMjUV.js} +1 -1
  151. package/dist/client/assets/{use-list-state-BpX2jytt.js → use-list-state-Bp_aU4BI.js} +1 -1
  152. package/dist/client/assets/{use-mcp-prompts-qi4FHPHh.js → use-mcp-prompts-zeDoy0Xo.js} +1 -1
  153. package/dist/client/assets/{use-mcp-resources-B8ERGBbF.js → use-mcp-resources-BIFxFRhN.js} +1 -1
  154. package/dist/client/assets/{use-mcp-tools-DNLvgz5O.js → use-mcp-tools-BD0zsUGc.js} +1 -1
  155. package/dist/client/assets/{use-members-CcTYAvXH.js → use-members-CbUEMp3B.js} +1 -1
  156. package/dist/client/assets/{use-project-D_8V3WFM.js → use-project-BVkW8l1T.js} +1 -1
  157. package/dist/client/assets/{use-store-discovery-iIFblh2E.js → use-store-discovery-Dr1RNWE5.js} +1 -1
  158. package/dist/client/assets/{use-view-mode-BBlaOBUn.js → use-view-mode-DNywUlq7.js} +1 -1
  159. package/dist/client/assets/{use-virtual-mcp-BnUWdVw5.js → use-virtual-mcp-BdGbK3Wg.js} +1 -1
  160. package/dist/client/assets/useInfiniteQuery-BKFOAK_4.js +1 -0
  161. package/dist/client/assets/{useMutation-oWI4nFQG.js → useMutation-BOcaN318.js} +1 -1
  162. package/dist/client/assets/useQuery-BrfnS-T_.js +1 -0
  163. package/dist/client/assets/useSuspenseInfiniteQuery-XlSq2d-l.js +1 -0
  164. package/dist/client/assets/{user-BtGr8jKI.js → user-BdXDOTfV.js} +1 -1
  165. package/dist/client/assets/{workflow-CKtu7TZc.js → workflow-C2zJzxLb.js} +1 -1
  166. package/dist/client/index.html +1 -1
  167. package/dist/server/node_modules/xtend/.jshintrc +30 -0
  168. package/dist/server/node_modules/{postgres-bytea/license → xtend/LICENSE} +1 -2
  169. package/dist/server/node_modules/xtend/README.md +32 -0
  170. package/dist/server/node_modules/xtend/immutable.js +19 -0
  171. package/dist/server/node_modules/xtend/mutable.js +17 -0
  172. package/dist/server/node_modules/xtend/package.json +55 -0
  173. package/dist/server/node_modules/xtend/test.js +103 -0
  174. package/package.json +1 -1
  175. package/dist/client/assets/plugins-EgDqBTdv.js +0 -1
  176. package/dist/client/assets/tasks-B-KbBDgd.js +0 -1
  177. package/dist/client/assets/useInfiniteQuery-KvMZbxSR.js +0 -1
  178. package/dist/client/assets/useQuery-CmP1G4DA.js +0 -1
  179. package/dist/client/assets/useSuspenseInfiniteQuery-4eRk30PP.js +0 -1
  180. package/dist/server/node_modules/async-exit-hook/CHANGELOG.md +0 -62
  181. package/dist/server/node_modules/async-exit-hook/index.js +0 -171
  182. package/dist/server/node_modules/async-exit-hook/license +0 -21
  183. package/dist/server/node_modules/async-exit-hook/package.json +0 -66
  184. package/dist/server/node_modules/async-exit-hook/readme.md +0 -118
  185. package/dist/server/node_modules/pg-int8/LICENSE +0 -13
  186. package/dist/server/node_modules/pg-int8/README.md +0 -16
  187. package/dist/server/node_modules/pg-int8/index.js +0 -100
  188. package/dist/server/node_modules/pg-int8/package.json +0 -24
  189. package/dist/server/node_modules/postgres-bytea/index.js +0 -33
  190. package/dist/server/node_modules/postgres-bytea/package.json +0 -34
  191. package/dist/server/node_modules/postgres-bytea/readme.md +0 -34
  192. package/dist/server/node_modules/postgres-date/index.js +0 -116
  193. package/dist/server/node_modules/postgres-date/license +0 -21
  194. package/dist/server/node_modules/postgres-date/package.json +0 -33
  195. package/dist/server/node_modules/postgres-date/readme.md +0 -49
  196. package/dist/server/node_modules/postgres-interval/index.d.ts +0 -20
  197. package/dist/server/node_modules/postgres-interval/index.js +0 -125
  198. package/dist/server/node_modules/postgres-interval/license +0 -21
  199. package/dist/server/node_modules/postgres-interval/package.json +0 -36
  200. package/dist/server/node_modules/postgres-interval/readme.md +0 -48
  201. package/dist/server/node_modules/split2/LICENSE +0 -13
  202. package/dist/server/node_modules/split2/README.md +0 -85
  203. package/dist/server/node_modules/split2/bench.js +0 -27
  204. package/dist/server/node_modules/split2/index.js +0 -141
  205. package/dist/server/node_modules/split2/package.json +0 -39
  206. package/dist/server/node_modules/split2/test.js +0 -409
@@ -1,62 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
-
5
- <a name="2.0.1"></a>
6
- ## [2.0.1](https://github.com/tapppi/async-exit-hook/compare/v2.0.0...v2.0.1) (2017-08-03)
7
-
8
-
9
-
10
- <a name="2.0.0"></a>
11
- # [2.0.0](https://github.com/tapppi/async-exit-hook/compare/v1.1.2...v2.0.0) (2017-08-03)
12
-
13
-
14
- ### Features
15
-
16
- * add unhandledRejectionHandler ([#3](https://github.com/tapppi/async-exit-hook/issues/3)) ([96a194f](https://github.com/tapppi/async-exit-hook/commit/96a194f))
17
-
18
-
19
- ### BREAKING CHANGES
20
-
21
- * unhandledExceptionHandler no longer
22
- catches rejections.
23
-
24
-
25
-
26
- <a name="1.1.2"></a>
27
- ## [1.1.2](https://github.com/tapppi/async-exit-hook/compare/v1.1.1...v1.1.2) (2017-03-29)
28
-
29
-
30
- ### Bug Fixes
31
-
32
- * filters are used individually for events [#1](https://github.com/tapppi/async-exit-hook/issues/1) ([03235c8](https://github.com/tapppi/async-exit-hook/commit/03235c8))
33
-
34
-
35
-
36
- <a name="1.1.1"></a>
37
- ## [1.1.1](https://github.com/tapppi/async-exit-hook/compare/v1.1.0...v1.1.1) (2016-11-04)
38
-
39
-
40
- ### Bug Fixes
41
-
42
- * unhandled rejections now handled ([4302b9e](https://github.com/tapppi/async-exit-hook/commit/4302b9e))
43
-
44
-
45
- ### Chores
46
-
47
- * drop support for node 0.12 ([2830391](https://github.com/tapppi/async-exit-hook/commit/2830391))
48
-
49
-
50
- ### BREAKING CHANGES
51
-
52
- * node 0.12 not tested anymore
53
-
54
-
55
-
56
- <a name="1.1.0"></a>
57
- # [1.1.0](https://github.com/tapppi/async-exit-hook/compare/v1.0.0...v1.1.0) (2016-10-13)
58
-
59
-
60
- ### Features
61
-
62
- * support uncaughtRejectionHandler ([9098e3c](https://github.com/tapppi/async-exit-hook/commit/9098e3c))
@@ -1,171 +0,0 @@
1
- 'use strict';
2
-
3
- const hooks = [];
4
- const errHooks = [];
5
- let called = false;
6
- let waitingFor = 0;
7
- let asyncTimeoutMs = 10000;
8
-
9
- const events = {};
10
- const filters = {};
11
-
12
- function exit(exit, code, err) {
13
- // Helper functions
14
- let doExitDone = false;
15
-
16
- function doExit() {
17
- if (doExitDone) {
18
- return;
19
- }
20
- doExitDone = true;
21
-
22
- if (exit === true) {
23
- // All handlers should be called even if the exit-hook handler was registered first
24
- process.nextTick(process.exit.bind(null, code));
25
- }
26
- }
27
-
28
- // Async hook callback, decrements waiting counter
29
- function stepTowardExit() {
30
- process.nextTick(() => {
31
- if (--waitingFor === 0) {
32
- doExit();
33
- }
34
- });
35
- }
36
-
37
- // Runs a single hook
38
- function runHook(syncArgCount, err, hook) {
39
- // Cannot perform async hooks in `exit` event
40
- if (exit && hook.length > syncArgCount) {
41
- // Hook is async, expects a finish callback
42
- waitingFor++;
43
-
44
- if (err) {
45
- // Pass error, calling uncaught exception handlers
46
- return hook(err, stepTowardExit);
47
- }
48
- return hook(stepTowardExit);
49
- }
50
-
51
- // Hook is synchronous
52
- if (err) {
53
- // Pass error, calling uncaught exception handlers
54
- return hook(err);
55
- }
56
- return hook();
57
- }
58
-
59
- // Only execute hooks once
60
- if (called) {
61
- return;
62
- }
63
-
64
- called = true;
65
-
66
- // Run hooks
67
- if (err) {
68
- // Uncaught exception, run error hooks
69
- errHooks.map(runHook.bind(null, 1, err));
70
- }
71
- hooks.map(runHook.bind(null, 0, null));
72
-
73
- if (waitingFor) {
74
- // Force exit after x ms (10000 by default), even if async hooks in progress
75
- setTimeout(() => {
76
- doExit();
77
- }, asyncTimeoutMs);
78
- } else {
79
- // No asynchronous hooks, exit immediately
80
- doExit();
81
- }
82
- }
83
-
84
- // Add a hook
85
- function add(hook) {
86
- hooks.push(hook);
87
-
88
- if (hooks.length === 1) {
89
- add.hookEvent('exit');
90
- add.hookEvent('beforeExit', 0);
91
- add.hookEvent('SIGHUP', 128 + 1);
92
- add.hookEvent('SIGINT', 128 + 2);
93
- add.hookEvent('SIGTERM', 128 + 15);
94
- add.hookEvent('SIGBREAK', 128 + 21);
95
-
96
- // PM2 Cluster shutdown message. Caught to support async handlers with pm2, needed because
97
- // explicitly calling process.exit() doesn't trigger the beforeExit event, and the exit
98
- // event cannot support async handlers, since the event loop is never called after it.
99
- add.hookEvent('message', 0, function (msg) { // eslint-disable-line prefer-arrow-callback
100
- if (msg !== 'shutdown') {
101
- return true;
102
- }
103
- });
104
- }
105
- }
106
-
107
- // New signal / event to hook
108
- add.hookEvent = function (event, code, filter) {
109
- events[event] = function () {
110
- const eventFilters = filters[event];
111
- for (let i = 0; i < eventFilters.length; i++) {
112
- if (eventFilters[i].apply(this, arguments)) {
113
- return;
114
- }
115
- }
116
- exit(code !== undefined && code !== null, code);
117
- };
118
-
119
- if (!filters[event]) {
120
- filters[event] = [];
121
- }
122
-
123
- if (filter) {
124
- filters[event].push(filter);
125
- }
126
- process.on(event, events[event]);
127
- };
128
-
129
- // Unhook signal / event
130
- add.unhookEvent = function (event) {
131
- process.removeListener(event, events[event]);
132
- delete events[event];
133
- delete filters[event];
134
- };
135
-
136
- // List hooked events
137
- add.hookedEvents = function () {
138
- const ret = [];
139
- for (const name in events) {
140
- if ({}.hasOwnProperty.call(events, name)) {
141
- ret.push(name);
142
- }
143
- }
144
- return ret;
145
- };
146
-
147
- // Add an uncaught exception handler
148
- add.uncaughtExceptionHandler = function (hook) {
149
- errHooks.push(hook);
150
-
151
- if (errHooks.length === 1) {
152
- process.once('uncaughtException', exit.bind(null, true, 1));
153
- }
154
- };
155
-
156
- // Add an unhandled rejection handler
157
- add.unhandledRejectionHandler = function (hook) {
158
- errHooks.push(hook);
159
-
160
- if (errHooks.length === 1) {
161
- process.once('unhandledRejection', exit.bind(null, true, 1));
162
- }
163
- };
164
-
165
- // Configure async force exit timeout
166
- add.forceExitTimeout = function (ms) {
167
- asyncTimeoutMs = ms;
168
- };
169
-
170
- // Export
171
- module.exports = add;
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
@@ -1,66 +0,0 @@
1
- {
2
- "name": "async-exit-hook",
3
- "version": "2.0.1",
4
- "description": "Run some code when the process exits (supports async hooks and pm2 clustering)",
5
- "license": "MIT",
6
- "repository": {
7
- "type": "git",
8
- "url": "https://github.com/tapppi/async-exit-hook.git"
9
- },
10
- "author": {
11
- "name": "Tapani Moilanen",
12
- "email": "moilanen.tapani@gmail.com",
13
- "url": "https://github.com/tapppi"
14
- },
15
- "contributors": [
16
- {
17
- "name": "Sindre Sorhus",
18
- "email": "sindresorhus@gmail.com",
19
- "url": "http://sindresorhus.com"
20
- }
21
- ],
22
- "engines": {
23
- "node": ">=0.12.0"
24
- },
25
- "scripts": {
26
- "test": "xo && nyc ava",
27
- "release": "standard-version"
28
- },
29
- "files": [
30
- "index.js"
31
- ],
32
- "keywords": [
33
- "exit",
34
- "quit",
35
- "process",
36
- "hook",
37
- "graceful",
38
- "handler",
39
- "shutdown",
40
- "sigterm",
41
- "sigint",
42
- "sighup",
43
- "pm2",
44
- "cluster",
45
- "child",
46
- "reload",
47
- "async",
48
- "terminate",
49
- "kill",
50
- "stop",
51
- "event"
52
- ],
53
- "devDependencies": {
54
- "ava": "^0.21.0",
55
- "coveralls": "^2.11.14",
56
- "nyc": "^10.3.2",
57
- "standard-version": "^4.2.0",
58
- "xo": "^0.18.2"
59
- },
60
- "ava": {
61
- "files": [
62
- "test/*.js",
63
- "!tests/cases/*"
64
- ]
65
- }
66
- }
@@ -1,118 +0,0 @@
1
- # async-exit-hook
2
- [![Build Status](https://api.travis-ci.org/Tapppi/async-exit-hook.svg)](https://travis-ci.org/Tapppi/async-exit-hook)
3
- [![Coverage Status](https://coveralls.io/repos/github/Tapppi/async-exit-hook/badge.svg?branch=master)](https://coveralls.io/github/Tapppi/async-exit-hook?branch=master)
4
-
5
- > Run some code when the process exits
6
-
7
- The `process.on('exit')` event doesn't catch all the ways a process can exit. This module catches:
8
-
9
- * process SIGINT, SIGTERM and SIGHUP, SIGBREAK signals
10
- * process beforeExit and exit events
11
- * PM2 clustering process shutdown message ([PM2 graceful reload](http://pm2.keymetrics.io/docs/usage/cluster-mode/#graceful-reload))
12
-
13
- Useful for cleaning up. You can also include async handlers, and add custom events to hook and exit on.
14
-
15
- Forked and pretty much rewritten from [exit-hook](https://npmjs.com/package/exit-hook).
16
-
17
-
18
- ## Install
19
-
20
- ```
21
- $ npm install --save async-exit-hook
22
- ```
23
-
24
- ## Usage
25
-
26
- ### Considerations and warning
27
- #### On `process.exit()` and asynchronous code
28
- **If you use asynchronous exit hooks, DO NOT use `process.exit()` to exit.
29
- The `exit` event DOES NOT support asynchronous code.**
30
- >['beforeExit' is not emitted for conditions causing explicit termination, such as process.exit()]
31
- (https://nodejs.org/api/process.html#process_event_beforeexit)
32
-
33
- #### Windows and `process.kill(signal)`
34
- On windows `process.kill(signal)` immediately kills the process, and does not fire signal events,
35
- and as such, cannot be used to gracefully exit. See *Clustering and child processes* for a
36
- workaround when killing child processes. I'm planning to support gracefully exiting
37
- with async support on windows soon.
38
-
39
- ### Clustering and child processes
40
- If you use custom clustering / child processes, you can gracefully shutdown your child process
41
- by sending a shutdown message (`childProc.send('shutdown')`).
42
-
43
- ### Example
44
- ```js
45
- const exitHook = require('async-exit-hook');
46
-
47
- exitHook(() => {
48
- console.log('exiting');
49
- });
50
-
51
- // you can add multiple hooks, even across files
52
- exitHook(() => {
53
- console.log('exiting 2');
54
- });
55
-
56
- // you can add async hooks by accepting a callback
57
- exitHook(callback => {
58
- setTimeout(() => {
59
- console.log('exiting 3');
60
- callback();
61
- }, 1000);
62
- });
63
-
64
- // You can hook uncaught errors with uncaughtExceptionHandler(), consequently adding
65
- // async support to uncaught errors (normally uncaught errors result in a synchronous exit).
66
- exitHook.uncaughtExceptionHandler(err => {
67
- console.error(err);
68
- });
69
-
70
- // You can hook unhandled rejections with unhandledRejectionHandler()
71
- exitHook.unhandledRejectionHandler(err => {
72
- console.error(err);
73
- });
74
-
75
- // You can add multiple uncaught error handlers
76
- // Add the second parameter (callback) to indicate async hooks
77
- exitHook.uncaughtExceptionHandler((err, callback) => {
78
- sendErrorToCloudOrWhatever(err) // Returns promise
79
- .then(() => {
80
- console.log('Sent err to cloud');
81
- });
82
- .catch(sendError => {
83
- console.error('Error sending to cloud: ', err.stack));
84
- })
85
- .then(() => callback);
86
- });
87
- });
88
-
89
- // Add exit hooks for a signal or custom message:
90
-
91
- // Custom signal
92
- // Arguments are `signal, exitCode` (SIGBREAK is already handled, this is an example)
93
- exitHook.hookEvent('SIGBREAK', 21);
94
-
95
- // process event: `message` with a filter
96
- // filter gets all arguments passed to *handler*: `process.on(message, *handler*)`
97
- // Exits on process event `message` with msg `customShutdownMessage` only
98
- exitHook.hookEvent('message', 0, msg => msg !== 'customShutdownMessage');
99
-
100
- // All async hooks will work with uncaught errors when you have specified an uncaughtExceptionHandler
101
- throw new Error('awesome');
102
-
103
- //=> // Sync uncaughtExcpetion hooks called and retun
104
- //=> '[Error: awesome]'
105
- //=> // Sync hooks called and retun
106
- //=> 'exiting'
107
- //=> 'exiting 2'
108
- //=> // Async uncaughtException hooks return
109
- //=> 'Sent error to cloud'
110
- //=> // Sync uncaughtException hooks return
111
- //=> 'exiting 3'
112
- ```
113
-
114
-
115
- ## License
116
-
117
- MIT © Tapani Moilanen
118
- MIT © [Sindre Sorhus](http://sindresorhus.com)
@@ -1,13 +0,0 @@
1
- Copyright © 2017, Charmander <~@charmander.me>
2
-
3
- Permission to use, copy, modify, and/or distribute this software for any
4
- purpose with or without fee is hereby granted, provided that the above
5
- copyright notice and this permission notice appear in all copies.
6
-
7
- THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
9
- FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
- PERFORMANCE OF THIS SOFTWARE.
@@ -1,16 +0,0 @@
1
- [![Build status][ci image]][ci]
2
-
3
- 64-bit big-endian signed integer-to-string conversion designed for [pg][].
4
-
5
- ```js
6
- const readInt8 = require('pg-int8');
7
-
8
- readInt8(Buffer.from([0, 1, 2, 3, 4, 5, 6, 7]))
9
- // '283686952306183'
10
- ```
11
-
12
-
13
- [pg]: https://github.com/brianc/node-postgres
14
-
15
- [ci]: https://travis-ci.org/charmander/pg-int8
16
- [ci image]: https://api.travis-ci.org/charmander/pg-int8.svg
@@ -1,100 +0,0 @@
1
- 'use strict';
2
-
3
- // selected so (BASE - 1) * 0x100000000 + 0xffffffff is a safe integer
4
- var BASE = 1000000;
5
-
6
- function readInt8(buffer) {
7
- var high = buffer.readInt32BE(0);
8
- var low = buffer.readUInt32BE(4);
9
- var sign = '';
10
-
11
- if (high < 0) {
12
- high = ~high + (low === 0);
13
- low = (~low + 1) >>> 0;
14
- sign = '-';
15
- }
16
-
17
- var result = '';
18
- var carry;
19
- var t;
20
- var digits;
21
- var pad;
22
- var l;
23
- var i;
24
-
25
- {
26
- carry = high % BASE;
27
- high = high / BASE >>> 0;
28
-
29
- t = 0x100000000 * carry + low;
30
- low = t / BASE >>> 0;
31
- digits = '' + (t - BASE * low);
32
-
33
- if (low === 0 && high === 0) {
34
- return sign + digits + result;
35
- }
36
-
37
- pad = '';
38
- l = 6 - digits.length;
39
-
40
- for (i = 0; i < l; i++) {
41
- pad += '0';
42
- }
43
-
44
- result = pad + digits + result;
45
- }
46
-
47
- {
48
- carry = high % BASE;
49
- high = high / BASE >>> 0;
50
-
51
- t = 0x100000000 * carry + low;
52
- low = t / BASE >>> 0;
53
- digits = '' + (t - BASE * low);
54
-
55
- if (low === 0 && high === 0) {
56
- return sign + digits + result;
57
- }
58
-
59
- pad = '';
60
- l = 6 - digits.length;
61
-
62
- for (i = 0; i < l; i++) {
63
- pad += '0';
64
- }
65
-
66
- result = pad + digits + result;
67
- }
68
-
69
- {
70
- carry = high % BASE;
71
- high = high / BASE >>> 0;
72
-
73
- t = 0x100000000 * carry + low;
74
- low = t / BASE >>> 0;
75
- digits = '' + (t - BASE * low);
76
-
77
- if (low === 0 && high === 0) {
78
- return sign + digits + result;
79
- }
80
-
81
- pad = '';
82
- l = 6 - digits.length;
83
-
84
- for (i = 0; i < l; i++) {
85
- pad += '0';
86
- }
87
-
88
- result = pad + digits + result;
89
- }
90
-
91
- {
92
- carry = high % BASE;
93
- t = 0x100000000 * carry + low;
94
- digits = '' + t % BASE;
95
-
96
- return sign + digits + result;
97
- }
98
- }
99
-
100
- module.exports = readInt8;
@@ -1,24 +0,0 @@
1
- {
2
- "name": "pg-int8",
3
- "version": "1.0.1",
4
- "description": "64-bit big-endian signed integer-to-string conversion",
5
- "bugs": "https://github.com/charmander/pg-int8/issues",
6
- "license": "ISC",
7
- "files": [
8
- "index.js"
9
- ],
10
- "repository": {
11
- "type": "git",
12
- "url": "https://github.com/charmander/pg-int8"
13
- },
14
- "scripts": {
15
- "test": "tap test"
16
- },
17
- "devDependencies": {
18
- "@charmander/eslint-config-base": "1.0.2",
19
- "tap": "10.7.3"
20
- },
21
- "engines": {
22
- "node": ">=4.0.0"
23
- }
24
- }
@@ -1,33 +0,0 @@
1
- 'use strict'
2
-
3
- var bufferFrom = Buffer.from || Buffer
4
-
5
- module.exports = function parseBytea (input) {
6
- if (/^\\x/.test(input)) {
7
- // new 'hex' style response (pg >9.0)
8
- return bufferFrom(input.substr(2), 'hex')
9
- }
10
- var output = ''
11
- var i = 0
12
- while (i < input.length) {
13
- if (input[i] !== '\\') {
14
- output += input[i]
15
- ++i
16
- } else {
17
- if (/[0-7]{3}/.test(input.substr(i + 1, 3))) {
18
- output += String.fromCharCode(parseInt(input.substr(i + 1, 3), 8))
19
- i += 4
20
- } else {
21
- var backslashes = 1
22
- while (i + backslashes < input.length && input[i + backslashes] === '\\') {
23
- backslashes++
24
- }
25
- for (var k = 0; k < Math.floor(backslashes / 2); ++k) {
26
- output += '\\'
27
- }
28
- i += Math.floor(backslashes / 2) * 2
29
- }
30
- }
31
- }
32
- return bufferFrom(output, 'binary')
33
- }
@@ -1,34 +0,0 @@
1
- {
2
- "name": "postgres-bytea",
3
- "main": "index.js",
4
- "version": "1.0.1",
5
- "description": "Postgres bytea parser",
6
- "license": "MIT",
7
- "repository": "bendrucker/postgres-bytea",
8
- "author": {
9
- "name": "Ben Drucker",
10
- "email": "bvdrucker@gmail.com",
11
- "url": "bendrucker.me"
12
- },
13
- "engines": {
14
- "node": ">=0.10.0"
15
- },
16
- "scripts": {
17
- "test": "standard && tape test.js"
18
- },
19
- "keywords": [
20
- "bytea",
21
- "postgres",
22
- "binary",
23
- "parser"
24
- ],
25
- "dependencies": {},
26
- "devDependencies": {
27
- "tape": "^4.0.0",
28
- "standard": "^4.0.0"
29
- },
30
- "files": [
31
- "index.js",
32
- "readme.md"
33
- ]
34
- }
@@ -1,34 +0,0 @@
1
- # postgres-bytea [![Build Status](https://travis-ci.org/bendrucker/postgres-bytea.svg?branch=master)](https://travis-ci.org/bendrucker/postgres-bytea)
2
-
3
- > Postgres bytea parser
4
-
5
-
6
- ## Install
7
-
8
- ```
9
- $ npm install --save postgres-bytea
10
- ```
11
-
12
-
13
- ## Usage
14
-
15
- ```js
16
- var bytea = require('postgres-bytea');
17
- bytea('\\000\\100\\200')
18
- //=> buffer
19
- ```
20
-
21
- ## API
22
-
23
- #### `bytea(input)` -> `buffer`
24
-
25
- ##### input
26
-
27
- *Required*
28
- Type: `string`
29
-
30
- A Postgres bytea binary string.
31
-
32
- ## License
33
-
34
- MIT © [Ben Drucker](http://bendrucker.me)