decocms 2.278.0 → 2.278.1

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 (269) hide show
  1. package/dist/client/assets/{AlertCircle-DUgLKRqD.js → AlertCircle-RpY4bUJr.js} +1 -1
  2. package/dist/client/assets/{ArrowNarrowLeft-kCQ-qIL4.js → ArrowNarrowLeft-CJwdGPbT.js} +1 -1
  3. package/dist/client/assets/{CheckCircle-DGqHVO6J.js → CheckCircle-BI5IiZgb.js} +1 -1
  4. package/dist/client/assets/{ChevronDown-B24A-aAH.js → ChevronDown-BAXd7Lqd.js} +1 -1
  5. package/dist/client/assets/{ChevronRight-te-i08ST.js → ChevronRight-DKEbZtdl.js} +1 -1
  6. package/dist/client/assets/{ChevronUp-ClIw8oee.js → ChevronUp-DzlxkGUl.js} +1 -1
  7. package/dist/client/assets/{Container-BEpzzcWb.js → Container-DBgGfzNs.js} +1 -1
  8. package/dist/client/assets/{LinkExternal01-DGR8dD9K.js → LinkExternal01-BpU2Zg5G.js} +1 -1
  9. package/dist/client/assets/{Lock01-CgN6byUv.js → Lock01-C5ObVqfL.js} +1 -1
  10. package/dist/client/assets/{Palette-hGvX_iIm.js → Palette-CFaa6lnd.js} +1 -1
  11. package/dist/client/assets/{Play-B45MhCGv.js → Play-Z2rVo32r.js} +1 -1
  12. package/dist/client/assets/{Plus-DEi1gvs0.js → Plus-iqKMHcIY.js} +1 -1
  13. package/dist/client/assets/{SearchMd-Bb-t_BjN.js → SearchMd-CfDkq1If.js} +1 -1
  14. package/dist/client/assets/{Settings02-DqmMmEZU.js → Settings02-BnNqayNe.js} +1 -1
  15. package/dist/client/assets/{Star01-ByFKZL35.js → Star01-BTwJOW68.js} +1 -1
  16. package/dist/client/assets/{Sun-BSLTRNwf.js → Sun-CWTFdsIN.js} +1 -1
  17. package/dist/client/assets/{Tool01-A2H1ijQd.js → Tool01-R5WYUcbi.js} +1 -1
  18. package/dist/client/assets/{Trash01-Dtv8SktB.js → Trash01-DYSvj4Mr.js} +1 -1
  19. package/dist/client/assets/{Upload01-BnthyrUJ.js → Upload01-Cktx5YzE.js} +1 -1
  20. package/dist/client/assets/{User01-B6A46HmV.js → User01-BbQpT999.js} +1 -1
  21. package/dist/client/assets/{Users03-SGJicyFL.js → Users03-DCEUsmLl.js} +1 -1
  22. package/dist/client/assets/{X-ZYbgpGnr.js → X-mGheZZXr.js} +1 -1
  23. package/dist/client/assets/{XCircle-CQXPNkKc.js → XCircle-DayiQYw5.js} +1 -1
  24. package/dist/client/assets/{Zap-CT4bYj4K.js → Zap-BnPwXsSI.js} +1 -1
  25. package/dist/client/assets/{ZapSquare-BIpgOhjL.js → ZapSquare-DnGX7edB.js} +1 -1
  26. package/dist/client/assets/{accordion-DlHNJyYy.js → accordion-hSfs59TQ.js} +1 -1
  27. package/dist/client/assets/{agent-icon-BPm7_0O4.js → agent-icon-D6bLKQ2x.js} +1 -1
  28. package/dist/client/assets/{agents-list-DDy9vjua.js → agents-list-uDQGef9T.js} +1 -1
  29. package/dist/client/assets/ai-providers-DxjF0Bbg.js +1 -0
  30. package/dist/client/assets/{alert-dialog-BYfF9kq9.js → alert-dialog-Dw58KHOn.js} +1 -1
  31. package/dist/client/assets/{auth-catchall-IXiVEa8k.js → auth-catchall-CtfdphV2.js} +1 -1
  32. package/dist/client/assets/{automation-list-row-DdODiuWb.js → automation-list-row-DYTYU42X.js} +1 -1
  33. package/dist/client/assets/{automations-DaQmwJ_-.js → automations-DZS7BnlF.js} +1 -1
  34. package/dist/client/assets/{avatar-Cd7pOZ3k.js → avatar-Or2zrDA-.js} +1 -1
  35. package/dist/client/assets/{badge-XxgdnuAZ.js → badge-gQVaeFYL.js} +1 -1
  36. package/dist/client/assets/{brand-context-gdbCtW1V.js → brand-context-C8YhXjoC.js} +1 -1
  37. package/dist/client/assets/{card-ohyYL2jd.js → card-N_n9dJ1C.js} +1 -1
  38. package/dist/client/assets/{chat-context-BBBi8D2H.js → chat-context-0qKFTvd4.js} +10 -10
  39. package/dist/client/assets/{checkbox-CV6BjILT.js → checkbox-CPuyzGEM.js} +1 -1
  40. package/dist/client/assets/{collection-detail-BDC-qOMT.js → collection-detail-DFwTqhD1.js} +1 -1
  41. package/dist/client/assets/{collection-display-button-Dzc3fhoU.js → collection-display-button-njo6Xh2u.js} +1 -1
  42. package/dist/client/assets/{collection-search-RK7vbvUN.js → collection-search-CaS2n1cB.js} +1 -1
  43. package/dist/client/assets/{collection-table-wrapper-DSiZO_Rx.js → collection-table-wrapper-Dcn0zsHK.js} +1 -1
  44. package/dist/client/assets/{collection-tabs-BThF2_kc.js → collection-tabs-ByBcZvcT.js} +1 -1
  45. package/dist/client/assets/{collections-D4PM7cfP.js → collections-Djr3E20Q.js} +1 -1
  46. package/dist/client/assets/{command-D-rn-MCf.js → command-B51t2F-w.js} +1 -1
  47. package/dist/client/assets/{connection-card-C77H1oWc.js → connection-card-Mc71vwAD.js} +1 -1
  48. package/dist/client/assets/{connection-detail-B3eR0g_I.js → connection-detail-DtSaPCBM.js} +1 -1
  49. package/dist/client/assets/{connection-form-helpers-C9kgqFQD.js → connection-form-helpers-fgpIig1w.js} +1 -1
  50. package/dist/client/assets/{connections-DLnzLvDf.js → connections-DyzLArcN.js} +1 -1
  51. package/dist/client/assets/{constants-CBMPX4Nz.js → constants-Bp5-iYcY.js} +1 -1
  52. package/dist/client/assets/{constants-DV3gfGwj.js → constants-DML917gs.js} +1 -1
  53. package/dist/client/assets/{dialog-LWRIZTr3.js → dialog-6uxiP96k.js} +1 -1
  54. package/dist/client/assets/{drawer-D1pg0ocH.js → drawer-CbvLq5Uu.js} +1 -1
  55. package/dist/client/assets/{dropdown-menu-DLn7MpGb.js → dropdown-menu-BSSwgSj1.js} +1 -1
  56. package/dist/client/assets/{dynamic-plugin-layout-BSXEX5vh.js → dynamic-plugin-layout-0EJvlc60.js} +1 -1
  57. package/dist/client/assets/{empty-state-DkrYdGBA.js → empty-state-0hDWNUcx.js} +1 -1
  58. package/dist/client/assets/{empty-state-t8Y8fpWZ.js → empty-state-CU7_u48I.js} +1 -1
  59. package/dist/client/assets/{extract-connection-data-BhJroSSL.js → extract-connection-data-Cezio-s5.js} +1 -1
  60. package/dist/client/assets/{features-B5cMQOy4.js → features-DmtZ7olV.js} +1 -1
  61. package/dist/client/assets/{form-DYWw7BDT.js → form-oEblHddW.js} +1 -1
  62. package/dist/client/assets/{general-Bx99MR-8.js → general-CeUrSx0B.js} +1 -1
  63. package/dist/client/assets/{index-Ds-JIDUi.js → index-0wk7oXl7.js} +4 -4
  64. package/dist/client/assets/{index-CTb5Ivgi.js → index-C2YTBPmn.js} +1 -1
  65. package/dist/client/assets/{index-9mpD21lu.js → index-CNrMlOJM.js} +1 -1
  66. package/dist/client/assets/{index-dR4PVdxt.js → index-CSYRl1zg.js} +1 -1
  67. package/dist/client/assets/{index-DphB1nct.js → index-DYe52Cyo.js} +1 -1
  68. package/dist/client/assets/{index-DNVFRTN5.js → index-Db1p8aFu.js} +1 -1
  69. package/dist/client/assets/{index-DQr1bBCj.js → index-DlGWDjkU.js} +1 -1
  70. package/dist/client/assets/{index-BAPPcxpC.js → index-_3-Zp92L.js} +1 -1
  71. package/dist/client/assets/{index-RqKqA1J6.js → index-gAKn78NR.js} +1 -1
  72. package/dist/client/assets/{index-CAeiwvn1.js → index-yA3niX2v.js} +2 -2
  73. package/dist/client/assets/{infiniteQueryObserver-DgmIeDDw.js → infiniteQueryObserver-Kusj8ovY.js} +1 -1
  74. package/dist/client/assets/{input-bSmRFU9Y.js → input-B9sAUDOT.js} +1 -1
  75. package/dist/client/assets/{integration-icon-BCfLG4yN.js → integration-icon-LoNFtirH.js} +1 -1
  76. package/dist/client/assets/{label-DHm3L_Pw.js → label-WH1pO6UH.js} +1 -1
  77. package/dist/client/assets/{layout-Bi-oKYFz.js → layout-XdKnShqM.js} +1 -1
  78. package/dist/client/assets/{lean-canvas-recruit-modal-Y-73eqIT.js → lean-canvas-recruit-modal-C6N1BBPO.js} +1 -1
  79. package/dist/client/assets/{login-oTC9k0u0.js → login-vj34UALt.js} +1 -1
  80. package/dist/client/assets/{members-DXtluaQF.js → members-rAC4_0t4.js} +1 -1
  81. package/dist/client/assets/{monaco-editor-J6gXCbSf.js → monaco-editor-iXGMVCiz.js} +1 -1
  82. package/dist/client/assets/{monitoring-stats-row-COftXD12.js → monitoring-stats-row-BloCdgbG.js} +1 -1
  83. package/dist/client/assets/{oauth-callback-iJ681_o2.js → oauth-callback-CELgu_cO.js} +1 -1
  84. package/dist/client/assets/{oauth-callback-ai-provider-BG5KUhrn.js → oauth-callback-ai-provider-DsyvZ6lU.js} +1 -1
  85. package/dist/client/assets/{onboarding-CaPHCpYM.js → onboarding-BgyTCUN-.js} +1 -1
  86. package/dist/client/assets/{org-layout-tpbZft4k.js → org-layout-XurBF-Lt.js} +1 -1
  87. package/dist/client/assets/{org-plugin-layout-DKUGssvU.js → org-plugin-layout-BSk2n1gQ.js} +1 -1
  88. package/dist/client/assets/{plugin-empty-state-CjLoe77j.js → plugin-empty-state-CRqsi0ib.js} +1 -1
  89. package/dist/client/assets/{plugin-header-D-DgJiT_.js → plugin-header-BZp9Mspt.js} +1 -1
  90. package/dist/client/assets/{plugin-layout-BxoJjnAH.js → plugin-layout-BadNZHL3.js} +1 -1
  91. package/dist/client/assets/{popover-QXf8PVl2.js → popover-GxFgGfCj.js} +1 -1
  92. package/dist/client/assets/{profile-BXxDmHas.js → profile-CWbzz0se.js} +1 -1
  93. package/dist/client/assets/{project-app-view-CpeukqHC.js → project-app-view-Cgxq8Z9m.js} +1 -1
  94. package/dist/client/assets/registry-BN8y2uhx.js +2 -0
  95. package/dist/client/assets/{registry-layout-Dp1ULu6N.js → registry-layout-C8Qiz9yD.js} +1 -1
  96. package/dist/client/assets/{required-auth-layout-BQkYfP3n.js → required-auth-layout-OZ0PdFXR.js} +1 -1
  97. package/dist/client/assets/{reset-password-CU4ON9vN.js → reset-password-s2ukM5mp.js} +1 -1
  98. package/dist/client/assets/{scroll-area-CM6U9wSm.js → scroll-area-Bzy4HD_J.js} +1 -1
  99. package/dist/client/assets/{search-input-D1anatj6.js → search-input-Bnf2nHLo.js} +1 -1
  100. package/dist/client/assets/{select-DE9H0LNP.js → select-ReQwhRkA.js} +1 -1
  101. package/dist/client/assets/{select-model-C72ySuI7.js → select-model-D4OtA_w2.js} +1 -1
  102. package/dist/client/assets/{settings-layout-BcGWWnw4.js → settings-layout-BL-BX1UN.js} +1 -1
  103. package/dist/client/assets/{shell-layout-DbjX6AWI.js → shell-layout-BD0Xub-g.js} +1 -1
  104. package/dist/client/assets/{skeleton-DJZQh5Pk.js → skeleton-B313Ulm0.js} +1 -1
  105. package/dist/client/assets/{sso-330TvduR.js → sso-ZrM6U_dp.js} +1 -1
  106. package/dist/client/assets/{store-CValARVk.js → store-CbZTBfxH.js} +1 -1
  107. package/dist/client/assets/store-registry-CXWRsbL6.js +2 -0
  108. package/dist/client/assets/{switch-DXZpP3PP.js → switch-BXD1owGz.js} +1 -1
  109. package/dist/client/assets/{table-BC1vaa2h.js → table-rsOFtuU-.js} +1 -1
  110. package/dist/client/assets/{tabs-y_vyQ1bZ.js → tabs-DO4ygLuS.js} +1 -1
  111. package/dist/client/assets/{task-status-u0ZgPY9s.js → task-status-CaevYqis.js} +1 -1
  112. package/dist/client/assets/{textarea-BKBUm0h-.js → textarea-DDf010du.js} +1 -1
  113. package/dist/client/assets/{toggle-group-BGNuzMLR.js → toggle-group-Bo4IS3RK.js} +1 -1
  114. package/dist/client/assets/{tools-list-DnYw-GLl.js → tools-list-CIQ6CwYm.js} +1 -1
  115. package/dist/client/assets/{types-_e2R6uHw.js → types-952BCAPT.js} +1 -1
  116. package/dist/client/assets/{use-ai-providers-DA7fBB8t.js → use-ai-providers-BirgTm09.js} +1 -1
  117. package/dist/client/assets/{use-collections-B56DgGhQ.js → use-collections-By6uZJSr.js} +1 -1
  118. package/dist/client/assets/{use-connection-DmlqhQzU.js → use-connection-CZkpN1_f.js} +1 -1
  119. package/dist/client/assets/{use-copy-yDy37O6x.js → use-copy-DSXw9G_Y.js} +1 -1
  120. package/dist/client/assets/{use-create-virtual-mcp-St-hxc3T.js → use-create-virtual-mcp-BNzn74Vf.js} +1 -1
  121. package/dist/client/assets/{use-decopilot-events-C6hMvsnN.js → use-decopilot-events-Yr2IQvc8.js} +1 -1
  122. package/dist/client/assets/{use-delete-connection-9Vw8o7eu.js → use-delete-connection-BUM30EhS.js} +1 -1
  123. package/dist/client/assets/{use-infinite-scroll-BDoBJohW.js → use-infinite-scroll-DmTHG8QF.js} +1 -1
  124. package/dist/client/assets/{use-list-state-BSaQM_cf.js → use-list-state-9mz92TGW.js} +1 -1
  125. package/dist/client/assets/{use-mcp-tools-CrNS6JKZ.js → use-mcp-tools-D2wfRdQX.js} +1 -1
  126. package/dist/client/assets/{use-members-CuGMiyzy.js → use-members-COfO6YRW.js} +1 -1
  127. package/dist/client/assets/{use-mobile-Dcrjnr8n.js → use-mobile-cBCc1tkS.js} +1 -1
  128. package/dist/client/assets/{use-navigate-to-agent-CK6LXIOn.js → use-navigate-to-agent-8jFeFT9G.js} +1 -1
  129. package/dist/client/assets/{use-org-sso-CDZI8wr6.js → use-org-sso-B4d8umPM.js} +1 -1
  130. package/dist/client/assets/{use-organization-settings-Dz4Ob_xk.js → use-organization-settings-Bfqz0Dub.js} +1 -1
  131. package/dist/client/assets/{use-registry-connections-C4iSg1no.js → use-registry-connections-BX2aMDCo.js} +1 -1
  132. package/dist/client/assets/{use-status-sounds-BpX9On4z.js → use-status-sounds-B5cgRwGB.js} +1 -1
  133. package/dist/client/assets/{use-tasks-B1E3D-6c.js → use-tasks-C63aBSUV.js} +1 -1
  134. package/dist/client/assets/{use-view-mode-OuDPu3JY.js → use-view-mode-Btze869M.js} +1 -1
  135. package/dist/client/assets/{use-virtual-mcp-C84ySRY_.js → use-virtual-mcp-C3-aNrQY.js} +1 -1
  136. package/dist/client/assets/useInfiniteQuery-DBOEwCdJ.js +1 -0
  137. package/dist/client/assets/{user-D-ueNiJ9.js → user-zYk_lp5f.js} +1 -1
  138. package/dist/client/assets/{view-mode-toggle-JzxZIaam.js → view-mode-toggle-BrDfC5aK.js} +1 -1
  139. package/dist/client/assets/{workflow-DILBdxqV.js → workflow-BOdefRku.js} +1 -1
  140. package/dist/client/assets/workflow-detail-JXXWRY8y.js +1 -0
  141. package/dist/client/index.html +1 -1
  142. package/dist/server/cli.js +328 -328
  143. package/dist/server/node_modules/figures/index.d.ts +279 -0
  144. package/dist/server/node_modules/figures/index.js +292 -0
  145. package/dist/server/node_modules/{is-fullwidth-code-point → figures}/package.json +16 -20
  146. package/dist/server/node_modules/figures/readme.md +337 -0
  147. package/dist/server/node_modules/get-east-asian-width/index.d.ts +60 -0
  148. package/dist/server/node_modules/get-east-asian-width/index.js +30 -0
  149. package/dist/server/node_modules/get-east-asian-width/lookup-data.js +18 -0
  150. package/dist/server/node_modules/get-east-asian-width/lookup.js +135 -0
  151. package/dist/server/node_modules/get-east-asian-width/package.json +71 -0
  152. package/dist/server/node_modules/get-east-asian-width/readme.md +65 -0
  153. package/dist/server/node_modules/get-east-asian-width/utilities.js +24 -0
  154. package/dist/server/node_modules/pg/README.md +95 -0
  155. package/dist/server/node_modules/pg/esm/index.mjs +20 -0
  156. package/dist/server/node_modules/pg/lib/client.js +743 -0
  157. package/dist/server/node_modules/pg/lib/connection-parameters.js +171 -0
  158. package/dist/server/node_modules/pg/lib/connection.js +221 -0
  159. package/dist/server/node_modules/pg/lib/crypto/cert-signatures.js +122 -0
  160. package/dist/server/node_modules/pg/lib/crypto/sasl.js +212 -0
  161. package/dist/server/node_modules/pg/lib/crypto/utils-legacy.js +43 -0
  162. package/dist/server/node_modules/pg/lib/crypto/utils-webcrypto.js +89 -0
  163. package/dist/server/node_modules/pg/lib/crypto/utils.js +9 -0
  164. package/dist/server/node_modules/pg/lib/defaults.js +91 -0
  165. package/dist/server/node_modules/pg/lib/index.js +73 -0
  166. package/dist/server/node_modules/pg/lib/native/client.js +323 -0
  167. package/dist/server/node_modules/pg/lib/native/index.js +2 -0
  168. package/dist/server/node_modules/pg/lib/native/query.js +165 -0
  169. package/dist/server/node_modules/pg/lib/query.js +252 -0
  170. package/dist/server/node_modules/pg/lib/result.js +109 -0
  171. package/dist/server/node_modules/pg/lib/stream.js +83 -0
  172. package/dist/server/node_modules/pg/lib/type-overrides.js +35 -0
  173. package/dist/server/node_modules/pg/lib/utils.js +217 -0
  174. package/dist/server/node_modules/pg/package.json +76 -0
  175. package/dist/server/node_modules/postgres-bytea/index.js +33 -0
  176. package/dist/server/node_modules/{postgres-interval → postgres-bytea}/package.json +8 -10
  177. package/dist/server/node_modules/postgres-bytea/readme.md +34 -0
  178. package/dist/server/node_modules/slice-ansi/index.d.ts +19 -0
  179. package/dist/server/node_modules/slice-ansi/index.js +260 -0
  180. package/dist/server/node_modules/{is-unicode-supported → slice-ansi}/license +1 -0
  181. package/dist/server/node_modules/slice-ansi/package.json +59 -0
  182. package/dist/server/node_modules/slice-ansi/readme.md +54 -0
  183. package/dist/server/node_modules/slice-ansi/tokenize-ansi.js +752 -0
  184. package/dist/server/node_modules/split2/LICENSE +13 -0
  185. package/dist/server/node_modules/split2/README.md +85 -0
  186. package/dist/server/node_modules/split2/bench.js +27 -0
  187. package/dist/server/node_modules/split2/index.js +141 -0
  188. package/dist/server/node_modules/split2/package.json +39 -0
  189. package/dist/server/node_modules/split2/test.js +409 -0
  190. package/dist/server/node_modules/xtend/.jshintrc +30 -0
  191. package/dist/server/node_modules/{postgres-interval/license → xtend/LICENSE} +1 -2
  192. package/dist/server/node_modules/xtend/README.md +32 -0
  193. package/dist/server/node_modules/xtend/immutable.js +19 -0
  194. package/dist/server/node_modules/xtend/mutable.js +17 -0
  195. package/dist/server/node_modules/xtend/package.json +55 -0
  196. package/dist/server/node_modules/xtend/test.js +103 -0
  197. package/dist/server/server.js +270 -270
  198. package/package.json +1 -1
  199. package/dist/client/assets/ai-providers-B4zJ5gIB.js +0 -1
  200. package/dist/client/assets/registry-BwQkRfy5.js +0 -2
  201. package/dist/client/assets/store-registry-DxTZD8aD.js +0 -2
  202. package/dist/client/assets/useInfiniteQuery-C63zt5p0.js +0 -1
  203. package/dist/client/assets/workflow-detail-CbBLr-jD.js +0 -1
  204. package/dist/server/node_modules/convert-to-spaces/dist/index.d.ts +0 -2
  205. package/dist/server/node_modules/convert-to-spaces/dist/index.js +0 -4
  206. package/dist/server/node_modules/convert-to-spaces/license +0 -21
  207. package/dist/server/node_modules/convert-to-spaces/package.json +0 -40
  208. package/dist/server/node_modules/convert-to-spaces/readme.md +0 -39
  209. package/dist/server/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  210. package/dist/server/node_modules/emoji-regex/README.md +0 -107
  211. package/dist/server/node_modules/emoji-regex/index.d.ts +0 -3
  212. package/dist/server/node_modules/emoji-regex/index.js +0 -4
  213. package/dist/server/node_modules/emoji-regex/index.mjs +0 -4
  214. package/dist/server/node_modules/emoji-regex/package.json +0 -45
  215. package/dist/server/node_modules/environment/index.d.ts +0 -74
  216. package/dist/server/node_modules/environment/index.js +0 -47
  217. package/dist/server/node_modules/environment/package.json +0 -74
  218. package/dist/server/node_modules/environment/readme.md +0 -94
  219. package/dist/server/node_modules/escape-string-regexp/index.d.ts +0 -18
  220. package/dist/server/node_modules/escape-string-regexp/index.js +0 -11
  221. package/dist/server/node_modules/escape-string-regexp/license +0 -9
  222. package/dist/server/node_modules/escape-string-regexp/package.json +0 -43
  223. package/dist/server/node_modules/escape-string-regexp/readme.md +0 -29
  224. package/dist/server/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  225. package/dist/server/node_modules/is-fullwidth-code-point/index.js +0 -12
  226. package/dist/server/node_modules/is-fullwidth-code-point/readme.md +0 -31
  227. package/dist/server/node_modules/is-unicode-supported/index.d.ts +0 -12
  228. package/dist/server/node_modules/is-unicode-supported/index.js +0 -21
  229. package/dist/server/node_modules/is-unicode-supported/package.json +0 -47
  230. package/dist/server/node_modules/is-unicode-supported/readme.md +0 -35
  231. package/dist/server/node_modules/pg-cloudflare/README.md +0 -112
  232. package/dist/server/node_modules/pg-cloudflare/dist/empty.d.ts +0 -2
  233. package/dist/server/node_modules/pg-cloudflare/dist/empty.js +0 -6
  234. package/dist/server/node_modules/pg-cloudflare/dist/empty.js.map +0 -1
  235. package/dist/server/node_modules/pg-cloudflare/dist/index.d.ts +0 -31
  236. package/dist/server/node_modules/pg-cloudflare/dist/index.js +0 -152
  237. package/dist/server/node_modules/pg-cloudflare/dist/index.js.map +0 -1
  238. package/dist/server/node_modules/pg-cloudflare/esm/index.mjs +0 -3
  239. package/dist/server/node_modules/pg-cloudflare/package.json +0 -39
  240. package/dist/server/node_modules/pg-cloudflare/src/empty.ts +0 -3
  241. package/dist/server/node_modules/pg-cloudflare/src/index.ts +0 -166
  242. package/dist/server/node_modules/pg-cloudflare/src/types.d.ts +0 -25
  243. package/dist/server/node_modules/pg-connection-string/LICENSE +0 -21
  244. package/dist/server/node_modules/pg-connection-string/README.md +0 -105
  245. package/dist/server/node_modules/pg-connection-string/esm/index.mjs +0 -8
  246. package/dist/server/node_modules/pg-connection-string/index.d.ts +0 -36
  247. package/dist/server/node_modules/pg-connection-string/index.js +0 -231
  248. package/dist/server/node_modules/pg-connection-string/package.json +0 -52
  249. package/dist/server/node_modules/postgres-array/index.d.ts +0 -4
  250. package/dist/server/node_modules/postgres-array/index.js +0 -97
  251. package/dist/server/node_modules/postgres-array/package.json +0 -35
  252. package/dist/server/node_modules/postgres-array/readme.md +0 -43
  253. package/dist/server/node_modules/postgres-interval/index.d.ts +0 -20
  254. package/dist/server/node_modules/postgres-interval/index.js +0 -125
  255. package/dist/server/node_modules/postgres-interval/readme.md +0 -48
  256. package/dist/server/node_modules/restore-cursor/index.d.ts +0 -11
  257. package/dist/server/node_modules/restore-cursor/index.js +0 -11
  258. package/dist/server/node_modules/restore-cursor/license +0 -9
  259. package/dist/server/node_modules/restore-cursor/package.json +0 -55
  260. package/dist/server/node_modules/restore-cursor/readme.md +0 -31
  261. package/dist/server/node_modules/string-width/index.d.ts +0 -39
  262. package/dist/server/node_modules/string-width/index.js +0 -82
  263. package/dist/server/node_modules/string-width/license +0 -9
  264. package/dist/server/node_modules/string-width/package.json +0 -64
  265. package/dist/server/node_modules/string-width/readme.md +0 -66
  266. /package/dist/server/node_modules/{environment → figures}/license +0 -0
  267. /package/dist/server/node_modules/{is-fullwidth-code-point → get-east-asian-width}/license +0 -0
  268. /package/dist/server/node_modules/{pg-cloudflare → pg}/LICENSE +0 -0
  269. /package/dist/server/node_modules/{postgres-array → postgres-bytea}/license +0 -0
@@ -1,231 +0,0 @@
1
- 'use strict'
2
-
3
- //Parse method copied from https://github.com/brianc/node-postgres
4
- //Copyright (c) 2010-2014 Brian Carlson (brian.m.carlson@gmail.com)
5
- //MIT License
6
-
7
- //parses a connection string
8
- function parse(str, options = {}) {
9
- //unix socket
10
- if (str.charAt(0) === '/') {
11
- const config = str.split(' ')
12
- return { host: config[0], database: config[1] }
13
- }
14
-
15
- // Check for empty host in URL
16
-
17
- const config = {}
18
- let result
19
- let dummyHost = false
20
- if (/ |%[^a-f0-9]|%[a-f0-9][^a-f0-9]/i.test(str)) {
21
- // Ensure spaces are encoded as %20
22
- str = encodeURI(str).replace(/%25(\d\d)/g, '%$1')
23
- }
24
-
25
- try {
26
- try {
27
- result = new URL(str, 'postgres://base')
28
- } catch (e) {
29
- // The URL is invalid so try again with a dummy host
30
- result = new URL(str.replace('@/', '@___DUMMY___/'), 'postgres://base')
31
- dummyHost = true
32
- }
33
- } catch (err) {
34
- // Remove the input from the error message to avoid leaking sensitive information
35
- err.input && (err.input = '*****REDACTED*****')
36
- throw err
37
- }
38
-
39
- // We'd like to use Object.fromEntries() here but Node.js 10 does not support it
40
- for (const entry of result.searchParams.entries()) {
41
- config[entry[0]] = entry[1]
42
- }
43
-
44
- config.user = config.user || decodeURIComponent(result.username)
45
- config.password = config.password || decodeURIComponent(result.password)
46
-
47
- if (result.protocol == 'socket:') {
48
- config.host = decodeURI(result.pathname)
49
- config.database = result.searchParams.get('db')
50
- config.client_encoding = result.searchParams.get('encoding')
51
- return config
52
- }
53
- const hostname = dummyHost ? '' : result.hostname
54
- if (!config.host) {
55
- // Only set the host if there is no equivalent query param.
56
- config.host = decodeURIComponent(hostname)
57
- } else if (hostname && /^%2f/i.test(hostname)) {
58
- // Only prepend the hostname to the pathname if it is not a URL encoded Unix socket host.
59
- result.pathname = hostname + result.pathname
60
- }
61
- if (!config.port) {
62
- // Only set the port if there is no equivalent query param.
63
- config.port = result.port
64
- }
65
-
66
- const pathname = result.pathname.slice(1) || null
67
- config.database = pathname ? decodeURI(pathname) : null
68
-
69
- if (config.ssl === 'true' || config.ssl === '1') {
70
- config.ssl = true
71
- }
72
-
73
- if (config.ssl === '0') {
74
- config.ssl = false
75
- }
76
-
77
- if (config.sslcert || config.sslkey || config.sslrootcert || config.sslmode) {
78
- config.ssl = {}
79
- }
80
-
81
- // Only try to load fs if we expect to read from the disk
82
- const fs = config.sslcert || config.sslkey || config.sslrootcert ? require('fs') : null
83
-
84
- if (config.sslcert) {
85
- config.ssl.cert = fs.readFileSync(config.sslcert).toString()
86
- }
87
-
88
- if (config.sslkey) {
89
- config.ssl.key = fs.readFileSync(config.sslkey).toString()
90
- }
91
-
92
- if (config.sslrootcert) {
93
- config.ssl.ca = fs.readFileSync(config.sslrootcert).toString()
94
- }
95
-
96
- if (options.useLibpqCompat && config.uselibpqcompat) {
97
- throw new Error('Both useLibpqCompat and uselibpqcompat are set. Please use only one of them.')
98
- }
99
-
100
- if (config.uselibpqcompat === 'true' || options.useLibpqCompat) {
101
- switch (config.sslmode) {
102
- case 'disable': {
103
- config.ssl = false
104
- break
105
- }
106
- case 'prefer': {
107
- config.ssl.rejectUnauthorized = false
108
- break
109
- }
110
- case 'require': {
111
- if (config.sslrootcert) {
112
- // If a root CA is specified, behavior of `sslmode=require` will be the same as that of `verify-ca`
113
- config.ssl.checkServerIdentity = function () {}
114
- } else {
115
- config.ssl.rejectUnauthorized = false
116
- }
117
- break
118
- }
119
- case 'verify-ca': {
120
- if (!config.ssl.ca) {
121
- throw new Error(
122
- 'SECURITY WARNING: Using sslmode=verify-ca requires specifying a CA with sslrootcert. If a public CA is used, verify-ca allows connections to a server that somebody else may have registered with the CA, making you vulnerable to Man-in-the-Middle attacks. Either specify a custom CA certificate with sslrootcert parameter or use sslmode=verify-full for proper security.'
123
- )
124
- }
125
- config.ssl.checkServerIdentity = function () {}
126
- break
127
- }
128
- case 'verify-full': {
129
- break
130
- }
131
- }
132
- } else {
133
- switch (config.sslmode) {
134
- case 'disable': {
135
- config.ssl = false
136
- break
137
- }
138
- case 'prefer':
139
- case 'require':
140
- case 'verify-ca':
141
- case 'verify-full': {
142
- if (config.sslmode !== 'verify-full') {
143
- deprecatedSslModeWarning(config.sslmode)
144
- }
145
- break
146
- }
147
- case 'no-verify': {
148
- config.ssl.rejectUnauthorized = false
149
- break
150
- }
151
- }
152
- }
153
-
154
- return config
155
- }
156
-
157
- // convert pg-connection-string ssl config to a ClientConfig.ConnectionOptions
158
- function toConnectionOptions(sslConfig) {
159
- const connectionOptions = Object.entries(sslConfig).reduce((c, [key, value]) => {
160
- // we explicitly check for undefined and null instead of `if (value)` because some
161
- // options accept falsy values. Example: `ssl.rejectUnauthorized = false`
162
- if (value !== undefined && value !== null) {
163
- c[key] = value
164
- }
165
-
166
- return c
167
- }, {})
168
-
169
- return connectionOptions
170
- }
171
-
172
- // convert pg-connection-string config to a ClientConfig
173
- function toClientConfig(config) {
174
- const poolConfig = Object.entries(config).reduce((c, [key, value]) => {
175
- if (key === 'ssl') {
176
- const sslConfig = value
177
-
178
- if (typeof sslConfig === 'boolean') {
179
- c[key] = sslConfig
180
- }
181
-
182
- if (typeof sslConfig === 'object') {
183
- c[key] = toConnectionOptions(sslConfig)
184
- }
185
- } else if (value !== undefined && value !== null) {
186
- if (key === 'port') {
187
- // when port is not specified, it is converted into an empty string
188
- // we want to avoid NaN or empty string as a values in ClientConfig
189
- if (value !== '') {
190
- const v = parseInt(value, 10)
191
- if (isNaN(v)) {
192
- throw new Error(`Invalid ${key}: ${value}`)
193
- }
194
-
195
- c[key] = v
196
- }
197
- } else {
198
- c[key] = value
199
- }
200
- }
201
-
202
- return c
203
- }, {})
204
-
205
- return poolConfig
206
- }
207
-
208
- // parses a connection string into ClientConfig
209
- function parseIntoClientConfig(str) {
210
- return toClientConfig(parse(str))
211
- }
212
-
213
- function deprecatedSslModeWarning(sslmode) {
214
- if (!deprecatedSslModeWarning.warned && typeof process !== 'undefined' && process.emitWarning) {
215
- deprecatedSslModeWarning.warned = true
216
- process.emitWarning(`SECURITY WARNING: The SSL modes 'prefer', 'require', and 'verify-ca' are treated as aliases for 'verify-full'.
217
- In the next major version (pg-connection-string v3.0.0 and pg v9.0.0), these modes will adopt standard libpq semantics, which have weaker security guarantees.
218
-
219
- To prepare for this change:
220
- - If you want the current behavior, explicitly use 'sslmode=verify-full'
221
- - If you want libpq compatibility now, use 'uselibpqcompat=true&sslmode=${sslmode}'
222
-
223
- See https://www.postgresql.org/docs/current/libpq-ssl.html for libpq SSL mode definitions.`)
224
- }
225
- }
226
-
227
- module.exports = parse
228
-
229
- parse.parse = parse
230
- parse.toClientConfig = toClientConfig
231
- parse.parseIntoClientConfig = parseIntoClientConfig
@@ -1,52 +0,0 @@
1
- {
2
- "name": "pg-connection-string",
3
- "version": "2.12.0",
4
- "description": "Functions for dealing with a PostgresSQL connection string",
5
- "main": "./index.js",
6
- "types": "./index.d.ts",
7
- "exports": {
8
- ".": {
9
- "types": "./index.d.ts",
10
- "import": "./esm/index.mjs",
11
- "require": "./index.js",
12
- "default": "./index.js"
13
- }
14
- },
15
- "scripts": {
16
- "test": "nyc --reporter=lcov mocha && npm run check-coverage",
17
- "check-coverage": "nyc check-coverage --statements 100 --branches 100 --lines 100 --functions 100"
18
- },
19
- "repository": {
20
- "type": "git",
21
- "url": "git://github.com/brianc/node-postgres.git",
22
- "directory": "packages/pg-connection-string"
23
- },
24
- "keywords": [
25
- "pg",
26
- "connection",
27
- "string",
28
- "parse"
29
- ],
30
- "author": "Blaine Bublitz <blaine@iceddev.com> (http://iceddev.com/)",
31
- "license": "MIT",
32
- "bugs": {
33
- "url": "https://github.com/brianc/node-postgres/issues"
34
- },
35
- "homepage": "https://github.com/brianc/node-postgres/tree/master/packages/pg-connection-string",
36
- "devDependencies": {
37
- "@types/pg": "^8.12.0",
38
- "chai": "^4.1.1",
39
- "coveralls": "^3.0.4",
40
- "istanbul": "^0.4.5",
41
- "mocha": "^11.7.5",
42
- "nyc": "^15",
43
- "tsx": "^4.19.4",
44
- "typescript": "^4.0.3"
45
- },
46
- "files": [
47
- "index.js",
48
- "index.d.ts",
49
- "esm"
50
- ],
51
- "gitHead": "c9070cc8d526fca65780cedc25c1966b57cf7532"
52
- }
@@ -1,4 +0,0 @@
1
-
2
- export function parse(source: string): string[];
3
- export function parse<T>(source: string, transform: (value: string) => T): T[];
4
-
@@ -1,97 +0,0 @@
1
- 'use strict'
2
-
3
- exports.parse = function (source, transform) {
4
- return new ArrayParser(source, transform).parse()
5
- }
6
-
7
- class ArrayParser {
8
- constructor (source, transform) {
9
- this.source = source
10
- this.transform = transform || identity
11
- this.position = 0
12
- this.entries = []
13
- this.recorded = []
14
- this.dimension = 0
15
- }
16
-
17
- isEof () {
18
- return this.position >= this.source.length
19
- }
20
-
21
- nextCharacter () {
22
- var character = this.source[this.position++]
23
- if (character === '\\') {
24
- return {
25
- value: this.source[this.position++],
26
- escaped: true
27
- }
28
- }
29
- return {
30
- value: character,
31
- escaped: false
32
- }
33
- }
34
-
35
- record (character) {
36
- this.recorded.push(character)
37
- }
38
-
39
- newEntry (includeEmpty) {
40
- var entry
41
- if (this.recorded.length > 0 || includeEmpty) {
42
- entry = this.recorded.join('')
43
- if (entry === 'NULL' && !includeEmpty) {
44
- entry = null
45
- }
46
- if (entry !== null) entry = this.transform(entry)
47
- this.entries.push(entry)
48
- this.recorded = []
49
- }
50
- }
51
-
52
- consumeDimensions () {
53
- if (this.source[0] === '[') {
54
- while (!this.isEof()) {
55
- var char = this.nextCharacter()
56
- if (char.value === '=') break
57
- }
58
- }
59
- }
60
-
61
- parse (nested) {
62
- var character, parser, quote
63
- this.consumeDimensions()
64
- while (!this.isEof()) {
65
- character = this.nextCharacter()
66
- if (character.value === '{' && !quote) {
67
- this.dimension++
68
- if (this.dimension > 1) {
69
- parser = new ArrayParser(this.source.substr(this.position - 1), this.transform)
70
- this.entries.push(parser.parse(true))
71
- this.position += parser.position - 2
72
- }
73
- } else if (character.value === '}' && !quote) {
74
- this.dimension--
75
- if (!this.dimension) {
76
- this.newEntry()
77
- if (nested) return this.entries
78
- }
79
- } else if (character.value === '"' && !character.escaped) {
80
- if (quote) this.newEntry(true)
81
- quote = !quote
82
- } else if (character.value === ',' && !quote) {
83
- this.newEntry()
84
- } else {
85
- this.record(character.value)
86
- }
87
- }
88
- if (this.dimension !== 0) {
89
- throw new Error('array dimension not balanced')
90
- }
91
- return this.entries
92
- }
93
- }
94
-
95
- function identity (value) {
96
- return value
97
- }
@@ -1,35 +0,0 @@
1
- {
2
- "name": "postgres-array",
3
- "main": "index.js",
4
- "version": "2.0.0",
5
- "description": "Parse postgres array columns",
6
- "license": "MIT",
7
- "repository": "bendrucker/postgres-array",
8
- "author": {
9
- "name": "Ben Drucker",
10
- "email": "bvdrucker@gmail.com",
11
- "url": "bendrucker.me"
12
- },
13
- "engines": {
14
- "node": ">=4"
15
- },
16
- "scripts": {
17
- "test": "standard && tape test.js"
18
- },
19
- "types": "index.d.ts",
20
- "keywords": [
21
- "postgres",
22
- "array",
23
- "parser"
24
- ],
25
- "dependencies": {},
26
- "devDependencies": {
27
- "standard": "^12.0.1",
28
- "tape": "^4.0.0"
29
- },
30
- "files": [
31
- "index.js",
32
- "index.d.ts",
33
- "readme.md"
34
- ]
35
- }
@@ -1,43 +0,0 @@
1
- # postgres-array [![Build Status](https://travis-ci.org/bendrucker/postgres-array.svg?branch=master)](https://travis-ci.org/bendrucker/postgres-array)
2
-
3
- > Parse postgres array columns
4
-
5
-
6
- ## Install
7
-
8
- ```
9
- $ npm install --save postgres-array
10
- ```
11
-
12
-
13
- ## Usage
14
-
15
- ```js
16
- var postgresArray = require('postgres-array')
17
-
18
- postgresArray.parse('{1,2,3}', (value) => parseInt(value, 10))
19
- //=> [1, 2, 3]
20
- ```
21
-
22
- ## API
23
-
24
- #### `parse(input, [transform])` -> `array`
25
-
26
- ##### input
27
-
28
- *Required*
29
- Type: `string`
30
-
31
- A Postgres array string.
32
-
33
- ##### transform
34
-
35
- Type: `function`
36
- Default: `identity`
37
-
38
- A function that transforms non-null values inserted into the array.
39
-
40
-
41
- ## License
42
-
43
- MIT © [Ben Drucker](http://bendrucker.me)
@@ -1,20 +0,0 @@
1
- declare namespace PostgresInterval {
2
- export interface IPostgresInterval {
3
- years?: number;
4
- months?: number;
5
- days?: number;
6
- hours?: number;
7
- minutes?: number;
8
- seconds?: number;
9
- milliseconds?: number;
10
-
11
- toPostgres(): string;
12
-
13
- toISO(): string;
14
- toISOString(): string;
15
- }
16
- }
17
-
18
- declare function PostgresInterval(raw: string): PostgresInterval.IPostgresInterval;
19
-
20
- export = PostgresInterval;
@@ -1,125 +0,0 @@
1
- 'use strict'
2
-
3
- var extend = require('xtend/mutable')
4
-
5
- module.exports = PostgresInterval
6
-
7
- function PostgresInterval (raw) {
8
- if (!(this instanceof PostgresInterval)) {
9
- return new PostgresInterval(raw)
10
- }
11
- extend(this, parse(raw))
12
- }
13
- var properties = ['seconds', 'minutes', 'hours', 'days', 'months', 'years']
14
- PostgresInterval.prototype.toPostgres = function () {
15
- var filtered = properties.filter(this.hasOwnProperty, this)
16
-
17
- // In addition to `properties`, we need to account for fractions of seconds.
18
- if (this.milliseconds && filtered.indexOf('seconds') < 0) {
19
- filtered.push('seconds')
20
- }
21
-
22
- if (filtered.length === 0) return '0'
23
- return filtered
24
- .map(function (property) {
25
- var value = this[property] || 0
26
-
27
- // Account for fractional part of seconds,
28
- // remove trailing zeroes.
29
- if (property === 'seconds' && this.milliseconds) {
30
- value = (value + this.milliseconds / 1000).toFixed(6).replace(/\.?0+$/, '')
31
- }
32
-
33
- return value + ' ' + property
34
- }, this)
35
- .join(' ')
36
- }
37
-
38
- var propertiesISOEquivalent = {
39
- years: 'Y',
40
- months: 'M',
41
- days: 'D',
42
- hours: 'H',
43
- minutes: 'M',
44
- seconds: 'S'
45
- }
46
- var dateProperties = ['years', 'months', 'days']
47
- var timeProperties = ['hours', 'minutes', 'seconds']
48
- // according to ISO 8601
49
- PostgresInterval.prototype.toISOString = PostgresInterval.prototype.toISO = function () {
50
- var datePart = dateProperties
51
- .map(buildProperty, this)
52
- .join('')
53
-
54
- var timePart = timeProperties
55
- .map(buildProperty, this)
56
- .join('')
57
-
58
- return 'P' + datePart + 'T' + timePart
59
-
60
- function buildProperty (property) {
61
- var value = this[property] || 0
62
-
63
- // Account for fractional part of seconds,
64
- // remove trailing zeroes.
65
- if (property === 'seconds' && this.milliseconds) {
66
- value = (value + this.milliseconds / 1000).toFixed(6).replace(/0+$/, '')
67
- }
68
-
69
- return value + propertiesISOEquivalent[property]
70
- }
71
- }
72
-
73
- var NUMBER = '([+-]?\\d+)'
74
- var YEAR = NUMBER + '\\s+years?'
75
- var MONTH = NUMBER + '\\s+mons?'
76
- var DAY = NUMBER + '\\s+days?'
77
- var TIME = '([+-])?([\\d]*):(\\d\\d):(\\d\\d)\\.?(\\d{1,6})?'
78
- var INTERVAL = new RegExp([YEAR, MONTH, DAY, TIME].map(function (regexString) {
79
- return '(' + regexString + ')?'
80
- })
81
- .join('\\s*'))
82
-
83
- // Positions of values in regex match
84
- var positions = {
85
- years: 2,
86
- months: 4,
87
- days: 6,
88
- hours: 9,
89
- minutes: 10,
90
- seconds: 11,
91
- milliseconds: 12
92
- }
93
- // We can use negative time
94
- var negatives = ['hours', 'minutes', 'seconds', 'milliseconds']
95
-
96
- function parseMilliseconds (fraction) {
97
- // add omitted zeroes
98
- var microseconds = fraction + '000000'.slice(fraction.length)
99
- return parseInt(microseconds, 10) / 1000
100
- }
101
-
102
- function parse (interval) {
103
- if (!interval) return {}
104
- var matches = INTERVAL.exec(interval)
105
- var isNegative = matches[8] === '-'
106
- return Object.keys(positions)
107
- .reduce(function (parsed, property) {
108
- var position = positions[property]
109
- var value = matches[position]
110
- // no empty string
111
- if (!value) return parsed
112
- // milliseconds are actually microseconds (up to 6 digits)
113
- // with omitted trailing zeroes.
114
- value = property === 'milliseconds'
115
- ? parseMilliseconds(value)
116
- : parseInt(value, 10)
117
- // no zeros
118
- if (!value) return parsed
119
- if (isNegative && ~negatives.indexOf(property)) {
120
- value *= -1
121
- }
122
- parsed[property] = value
123
- return parsed
124
- }, {})
125
- }
@@ -1,48 +0,0 @@
1
- # postgres-interval [![Build Status](https://travis-ci.org/bendrucker/postgres-interval.svg?branch=master)](https://travis-ci.org/bendrucker/postgres-interval) [![Greenkeeper badge](https://badges.greenkeeper.io/bendrucker/postgres-interval.svg)](https://greenkeeper.io/)
2
-
3
- > Parse Postgres interval columns
4
-
5
-
6
- ## Install
7
-
8
- ```
9
- $ npm install --save postgres-interval
10
- ```
11
-
12
-
13
- ## Usage
14
-
15
- ```js
16
- var parse = require('postgres-interval')
17
- var interval = parse('01:02:03')
18
- //=> {hours: 1, minutes: 2, seconds: 3}
19
- interval.toPostgres()
20
- // 3 seconds 2 minutes 1 hours
21
- interval.toISO()
22
- // P0Y0M0DT1H2M3S
23
- ```
24
-
25
- ## API
26
-
27
- #### `parse(pgInterval)` -> `interval`
28
-
29
- ##### pgInterval
30
-
31
- *Required*
32
- Type: `string`
33
-
34
- A Postgres interval string.
35
-
36
- #### `interval.toPostgres()` -> `string`
37
-
38
- Returns an interval string. This allows the interval object to be passed into prepared statements.
39
-
40
- #### `interval.toISOString()` -> `string`
41
-
42
- Returns an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) compliant string.
43
-
44
- Also available as `interval.toISO()` for backwards compatibility.
45
-
46
- ## License
47
-
48
- MIT © [Ben Drucker](http://bendrucker.me)
@@ -1,11 +0,0 @@
1
- /**
2
- Gracefully restore the CLI cursor on exit.
3
-
4
- @example
5
- ```
6
- import restoreCursor from 'restore-cursor';
7
-
8
- restoreCursor();
9
- ```
10
- */
11
- export default function restoreCursor(): void;
@@ -1,11 +0,0 @@
1
- import process from 'node:process';
2
- import onetime from 'onetime';
3
- import signalExit from 'signal-exit';
4
-
5
- const restoreCursor = onetime(() => {
6
- signalExit(() => {
7
- process.stderr.write('\u001B[?25h');
8
- }, {alwaysLast: true});
9
- });
10
-
11
- export default restoreCursor;
@@ -1,9 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
-
7
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.