decocms 2.281.0 → 2.281.2

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 (226) hide show
  1. package/dist/client/assets/{AlertCircle-BxQaCgH5.js → AlertCircle-BeQFaTo3.js} +1 -1
  2. package/dist/client/assets/{ArrowNarrowLeft-DvPafpou.js → ArrowNarrowLeft-C-IANgnQ.js} +1 -1
  3. package/dist/client/assets/{CheckCircle-BXxeGcqo.js → CheckCircle-Dh4A5tI_.js} +1 -1
  4. package/dist/client/assets/{ChevronDown-CrxTrcXn.js → ChevronDown-D9aZn2Hi.js} +1 -1
  5. package/dist/client/assets/{ChevronRight-fzPkai24.js → ChevronRight-CkL59Zuk.js} +1 -1
  6. package/dist/client/assets/{ChevronUp-BbLFuIn6.js → ChevronUp-C7hCnblE.js} +1 -1
  7. package/dist/client/assets/{Container-BvBvuKbb.js → Container-CSvdcipc.js} +1 -1
  8. package/dist/client/assets/{LinkExternal01-DbT6EESI.js → LinkExternal01-sdvrsKlM.js} +1 -1
  9. package/dist/client/assets/{Lock01-CaWJFuU-.js → Lock01-CneVnDQd.js} +1 -1
  10. package/dist/client/assets/{Palette-C1a--nf0.js → Palette-Bo0ad1R6.js} +1 -1
  11. package/dist/client/assets/{Play-CY93msn5.js → Play-BhoAd8Uu.js} +1 -1
  12. package/dist/client/assets/{Plus-BZVr8DYe.js → Plus-79r9zazJ.js} +1 -1
  13. package/dist/client/assets/{SearchMd-C9eIKicL.js → SearchMd-00qF-7Ba.js} +1 -1
  14. package/dist/client/assets/{Settings02-B7X_pyal.js → Settings02-B6cIpcv6.js} +1 -1
  15. package/dist/client/assets/{Star01-D0sHRGJP.js → Star01-RArWROxo.js} +1 -1
  16. package/dist/client/assets/{Sun-D9auuaNU.js → Sun-CaIYIMZ6.js} +1 -1
  17. package/dist/client/assets/{Tool01-CrowYf0-.js → Tool01-BK4G_l0X.js} +1 -1
  18. package/dist/client/assets/{Trash01-DS4oT9KI.js → Trash01-PNv-fbRK.js} +1 -1
  19. package/dist/client/assets/{Upload01-CNVpf4nT.js → Upload01-BeVyQxbB.js} +1 -1
  20. package/dist/client/assets/{User01-BFQVnPPl.js → User01-BirINwKI.js} +1 -1
  21. package/dist/client/assets/{Users03-eD4p_y7L.js → Users03-Dpk7x7z4.js} +1 -1
  22. package/dist/client/assets/{X-C8EYjrnS.js → X-KSz9xyi5.js} +1 -1
  23. package/dist/client/assets/{XCircle-CCZmjsk3.js → XCircle-uU-3aWe3.js} +1 -1
  24. package/dist/client/assets/{Zap-Cf5ECRwQ.js → Zap-DvQy6Azt.js} +1 -1
  25. package/dist/client/assets/{ZapSquare-ltoYi26-.js → ZapSquare-Dk1UmO2a.js} +1 -1
  26. package/dist/client/assets/{accordion-KwUoYs08.js → accordion-w6xYXziw.js} +1 -1
  27. package/dist/client/assets/{agent-icon-oD9g1mwD.js → agent-icon-CMOX8nfk.js} +1 -1
  28. package/dist/client/assets/{agents-list-CrpnpHtt.js → agents-list-CeEeRXns.js} +1 -1
  29. package/dist/client/assets/ai-providers-_ruFOoFf.js +1 -0
  30. package/dist/client/assets/{alert-dialog-EHv7SCLp.js → alert-dialog-DtwmYIx7.js} +1 -1
  31. package/dist/client/assets/{auth-catchall-D7l2F51O.js → auth-catchall-CMH1u4oJ.js} +1 -1
  32. package/dist/client/assets/{automation-list-row-DUYCHEU2.js → automation-list-row-Sb9JaQY9.js} +1 -1
  33. package/dist/client/assets/{automations-CPz-FBJP.js → automations-Dmw1cKQC.js} +1 -1
  34. package/dist/client/assets/{avatar-DVFg5UBS.js → avatar-BSJnhSPL.js} +1 -1
  35. package/dist/client/assets/{badge-CEpuOO6h.js → badge-BbahYJz-.js} +1 -1
  36. package/dist/client/assets/{brand-context-w6gl12tg.js → brand-context-9yJi8LtT.js} +1 -1
  37. package/dist/client/assets/{card-CngHfm2n.js → card-BBjkVedQ.js} +1 -1
  38. package/dist/client/assets/{chat-context-Be9aaK6U.js → chat-context-BVA22TkC.js} +1 -1
  39. package/dist/client/assets/{checkbox-DCZkLdlq.js → checkbox-BNYrEZke.js} +1 -1
  40. package/dist/client/assets/{collection-detail-CYHWDRuK.js → collection-detail-WDWjdfFo.js} +1 -1
  41. package/dist/client/assets/{collection-display-button-5JFAZW6R.js → collection-display-button-C_SpzkVL.js} +1 -1
  42. package/dist/client/assets/{collection-search-DOIVhdIq.js → collection-search-3gkmMFfK.js} +1 -1
  43. package/dist/client/assets/{collection-table-wrapper-Bw7EUBa7.js → collection-table-wrapper-Nq245ZaG.js} +1 -1
  44. package/dist/client/assets/{collection-tabs-xS34vPZX.js → collection-tabs-DQAAB0E9.js} +1 -1
  45. package/dist/client/assets/{collections-DjXpvr0c.js → collections-CvC03WFa.js} +1 -1
  46. package/dist/client/assets/{command-DJOBLkaO.js → command-COmac0HY.js} +1 -1
  47. package/dist/client/assets/{connection-card-7nEv8xwt.js → connection-card-C-lcUJmx.js} +1 -1
  48. package/dist/client/assets/{connection-detail-8OghRNyX.js → connection-detail-DXUAuxOs.js} +1 -1
  49. package/dist/client/assets/{connection-form-helpers-CiO0nSGf.js → connection-form-helpers-Beczk_I1.js} +1 -1
  50. package/dist/client/assets/{connections-CzFYE0ru.js → connections-jiDZ88zc.js} +1 -1
  51. package/dist/client/assets/{constants-BUXCK41y.js → constants-BXYBvBo8.js} +1 -1
  52. package/dist/client/assets/{constants-Duv9JUYf.js → constants-K9p6sFeA.js} +1 -1
  53. package/dist/client/assets/{dialog-D16krwkE.js → dialog-Cu_M3bSF.js} +1 -1
  54. package/dist/client/assets/{drawer-BX0Q18X0.js → drawer-C0zWk4g_.js} +1 -1
  55. package/dist/client/assets/{dropdown-menu-CjdH3cnv.js → dropdown-menu-DVLrmulo.js} +1 -1
  56. package/dist/client/assets/{dynamic-plugin-layout-LnDvBseE.js → dynamic-plugin-layout-4eAl2fmh.js} +1 -1
  57. package/dist/client/assets/{empty-state-HrQlq1nn.js → empty-state-BKZHnGIj.js} +1 -1
  58. package/dist/client/assets/{empty-state-CkAWq1uC.js → empty-state-CUC0Gkix.js} +1 -1
  59. package/dist/client/assets/{extract-connection-data-9XD6WNvd.js → extract-connection-data-CvyRIMCz.js} +1 -1
  60. package/dist/client/assets/{features-CYVl713Z.js → features-XCvz9PLL.js} +1 -1
  61. package/dist/client/assets/{form-qTCrGaqv.js → form-Ddm04alF.js} +1 -1
  62. package/dist/client/assets/{general-B2a79noc.js → general-DUSBEOfs.js} +1 -1
  63. package/dist/client/assets/{index-DVTmEE7D.js → index-BH8gPP0f.js} +1 -1
  64. package/dist/client/assets/{index-YYrDBPo1.js → index-BHskyDSR.js} +1 -1
  65. package/dist/client/assets/{index-BBombKt7.js → index-BPDAXzpD.js} +1 -1
  66. package/dist/client/assets/{index-BpigqXCX.js → index-BdfTJahg.js} +1 -1
  67. package/dist/client/assets/{index-BoejYp30.js → index-BhIzdEY1.js} +2 -2
  68. package/dist/client/assets/{index-C_XD7MWY.js → index-BrtLQXUh.js} +1 -1
  69. package/dist/client/assets/{index-e34ed6Pn.js → index-CU16qbkD.js} +5 -5
  70. package/dist/client/assets/{index-DP8VKV0C.js → index-Cg0hncqj.js} +1 -1
  71. package/dist/client/assets/{index-DAl9JCz9.js → index-FLw-zxvs.js} +1 -1
  72. package/dist/client/assets/{index-D_-c2np7.js → index-uAQGGxtu.js} +1 -1
  73. package/dist/client/assets/{infiniteQueryObserver-BLfYLX2L.js → infiniteQueryObserver-BO26Xlha.js} +1 -1
  74. package/dist/client/assets/{input-hIdCxVlM.js → input-Bz8fx1AG.js} +1 -1
  75. package/dist/client/assets/{integration-icon-bKnN2waE.js → integration-icon-Byenx_4j.js} +1 -1
  76. package/dist/client/assets/{label-DJdRi88u.js → label-DaHwCWWB.js} +1 -1
  77. package/dist/client/assets/{layout-BIHsvZTQ.js → layout-C8AFQnZg.js} +1 -1
  78. package/dist/client/assets/{lean-canvas-recruit-modal-DPZgXrE8.js → lean-canvas-recruit-modal-mykHJAKm.js} +1 -1
  79. package/dist/client/assets/{login-DB8h2HWK.js → login-DwiMJDl5.js} +1 -1
  80. package/dist/client/assets/{members-0FgWuNC0.js → members-Cd_WsIS9.js} +1 -1
  81. package/dist/client/assets/{monaco-editor-CHhwvtI4.js → monaco-editor-D27CWon0.js} +1 -1
  82. package/dist/client/assets/{monitoring-stats-row-C6LTe68M.js → monitoring-stats-row-C-XRpFjl.js} +1 -1
  83. package/dist/client/assets/{oauth-callback-k8xXYSid.js → oauth-callback-GuSY-vSr.js} +1 -1
  84. package/dist/client/assets/{oauth-callback-ai-provider-C_-yG4iT.js → oauth-callback-ai-provider-D3FgevI5.js} +1 -1
  85. package/dist/client/assets/{onboarding-B5xnY3QT.js → onboarding-PM_BE0uA.js} +1 -1
  86. package/dist/client/assets/{org-layout-6EKPoipE.js → org-layout-C251Cbcv.js} +1 -1
  87. package/dist/client/assets/{org-plugin-layout-DYZIRSwp.js → org-plugin-layout-BwQLOazi.js} +1 -1
  88. package/dist/client/assets/{plugin-empty-state-BbybNTeM.js → plugin-empty-state-DLXHjQeu.js} +1 -1
  89. package/dist/client/assets/{plugin-header-B2RXVpJh.js → plugin-header-BddmOg85.js} +1 -1
  90. package/dist/client/assets/{plugin-layout-DHLvO9Dh.js → plugin-layout-RqfANRb_.js} +1 -1
  91. package/dist/client/assets/{popover-C90GtPgC.js → popover-BEF8mI0w.js} +1 -1
  92. package/dist/client/assets/{profile-DNZ3qnav.js → profile-DrdPa8Y7.js} +1 -1
  93. package/dist/client/assets/{project-app-view-PfZah6FJ.js → project-app-view-XrA_5t6Q.js} +1 -1
  94. package/dist/client/assets/registry-hvW8DAlR.js +2 -0
  95. package/dist/client/assets/{registry-layout-BGtCYpl3.js → registry-layout-CwCyJT-v.js} +1 -1
  96. package/dist/client/assets/{required-auth-layout-CcZu2eiU.js → required-auth-layout-Cxviv7yN.js} +1 -1
  97. package/dist/client/assets/{reset-password-Baelzqwt.js → reset-password-DYbWh4Wq.js} +1 -1
  98. package/dist/client/assets/{scroll-area-CPiePQfy.js → scroll-area-_gjorSmM.js} +1 -1
  99. package/dist/client/assets/{search-input-CqO18JkA.js → search-input-Dflevf_r.js} +1 -1
  100. package/dist/client/assets/{select-model-DRcCvlGm.js → select-model-BgS5BYlp.js} +1 -1
  101. package/dist/client/assets/{select-CCLwskrC.js → select-ruUaRI3f.js} +1 -1
  102. package/dist/client/assets/{settings-layout-BGlOTmCZ.js → settings-layout-C9QCDWL8.js} +1 -1
  103. package/dist/client/assets/{shell-layout-BYFHDWBl.js → shell-layout-Lnkya_bN.js} +1 -1
  104. package/dist/client/assets/{skeleton-DkloI2z9.js → skeleton-CvZ1yhmk.js} +1 -1
  105. package/dist/client/assets/{sso-Dqmth7wr.js → sso-DVCm0NAv.js} +1 -1
  106. package/dist/client/assets/{store-CYvqBBPo.js → store-BAtOk8g6.js} +1 -1
  107. package/dist/client/assets/store-registry-DyRkwg3g.js +2 -0
  108. package/dist/client/assets/{switch-SQOxx_BP.js → switch-C4VRxkon.js} +1 -1
  109. package/dist/client/assets/{table-Biv5Zl2S.js → table-C1xMho2l.js} +1 -1
  110. package/dist/client/assets/{tabs-BE5QvfFm.js → tabs-MUC8gGmo.js} +1 -1
  111. package/dist/client/assets/{task-status-BahLevpJ.js → task-status-DBTk3ApD.js} +1 -1
  112. package/dist/client/assets/{textarea-O7MTYJio.js → textarea-Dh5aI-9Q.js} +1 -1
  113. package/dist/client/assets/{toggle-group-BBXD8yQY.js → toggle-group-qqPb8p7Z.js} +1 -1
  114. package/dist/client/assets/{tools-list-jfk3mcX8.js → tools-list-5INqbH2J.js} +1 -1
  115. package/dist/client/assets/{types-hhFb4L42.js → types-Bp-YI7R5.js} +1 -1
  116. package/dist/client/assets/{use-ai-providers-DKOqE3I1.js → use-ai-providers-BXn7VXga.js} +1 -1
  117. package/dist/client/assets/{use-collections-CtLjZXHp.js → use-collections-Dg7sh01O.js} +1 -1
  118. package/dist/client/assets/{use-connection-B36YYtyz.js → use-connection-DhM_x-jA.js} +1 -1
  119. package/dist/client/assets/{use-copy-ISngWsJv.js → use-copy-BuEIWb6s.js} +1 -1
  120. package/dist/client/assets/{use-create-virtual-mcp-P3ThMp2c.js → use-create-virtual-mcp-KKiF-MXD.js} +1 -1
  121. package/dist/client/assets/{use-decopilot-events-CqlYsGHg.js → use-decopilot-events-BSRQhWTI.js} +1 -1
  122. package/dist/client/assets/{use-delete-connection-dweYZdv3.js → use-delete-connection-EjeBh_jx.js} +1 -1
  123. package/dist/client/assets/{use-infinite-scroll-D5138Ysw.js → use-infinite-scroll-BvRRlmDj.js} +1 -1
  124. package/dist/client/assets/{use-list-state-BxqDajfT.js → use-list-state-DJ8S20f9.js} +1 -1
  125. package/dist/client/assets/{use-mcp-tools-Rbcl8RAc.js → use-mcp-tools-C0kKBiKr.js} +1 -1
  126. package/dist/client/assets/{use-members-Cpr8Lly2.js → use-members-D4VPX3yK.js} +1 -1
  127. package/dist/client/assets/{use-mobile-CjtYs6gm.js → use-mobile-BXRLCdzR.js} +1 -1
  128. package/dist/client/assets/{use-navigate-to-agent-0m1reJMx.js → use-navigate-to-agent-C1QNfHMd.js} +1 -1
  129. package/dist/client/assets/{use-org-sso-DoUQ063I.js → use-org-sso-C1E2S5f1.js} +1 -1
  130. package/dist/client/assets/{use-organization-settings-j9ISdWd3.js → use-organization-settings-NQDr_YDe.js} +1 -1
  131. package/dist/client/assets/{use-registry-connections-FiU8g9bc.js → use-registry-connections-2buwPIEr.js} +1 -1
  132. package/dist/client/assets/{use-status-sounds-g-sVxPRo.js → use-status-sounds-C5rJSnr7.js} +1 -1
  133. package/dist/client/assets/{use-tasks-CBiZHQE7.js → use-tasks-DoJvFu21.js} +1 -1
  134. package/dist/client/assets/{use-view-mode-DpJ_I2Mv.js → use-view-mode-eHr1pnSD.js} +1 -1
  135. package/dist/client/assets/{use-virtual-mcp-Byg6Gkle.js → use-virtual-mcp-DPQanfrd.js} +1 -1
  136. package/dist/client/assets/useInfiniteQuery-Cozeocmy.js +1 -0
  137. package/dist/client/assets/{user-CehMCPUl.js → user-D-0Dg4hb.js} +1 -1
  138. package/dist/client/assets/{view-mode-toggle-Oi2Jp3cj.js → view-mode-toggle-C9JdTAIx.js} +1 -1
  139. package/dist/client/assets/{workflow-Go__bVq7.js → workflow-Bo7CKW-_.js} +1 -1
  140. package/dist/client/assets/workflow-detail-cv-DGPKy.js +1 -0
  141. package/dist/client/index.html +1 -1
  142. package/dist/server/cli.js +380 -380
  143. package/dist/server/node_modules/ansi-styles/index.d.ts +236 -0
  144. package/dist/server/node_modules/ansi-styles/index.js +223 -0
  145. package/dist/server/node_modules/{slice-ansi → ansi-styles}/license +0 -1
  146. package/dist/server/node_modules/ansi-styles/package.json +54 -0
  147. package/dist/server/node_modules/ansi-styles/readme.md +173 -0
  148. package/dist/server/node_modules/is-unicode-supported/index.d.ts +12 -0
  149. package/dist/server/node_modules/is-unicode-supported/index.js +21 -0
  150. package/dist/server/node_modules/is-unicode-supported/license +9 -0
  151. package/dist/server/node_modules/is-unicode-supported/package.json +47 -0
  152. package/dist/server/node_modules/is-unicode-supported/readme.md +35 -0
  153. package/dist/server/node_modules/mimic-fn/index.d.ts +54 -0
  154. package/dist/server/node_modules/mimic-fn/index.js +13 -0
  155. package/dist/server/node_modules/mimic-fn/license +9 -0
  156. package/dist/server/node_modules/mimic-fn/package.json +42 -0
  157. package/dist/server/node_modules/mimic-fn/readme.md +69 -0
  158. package/dist/server/node_modules/pg/LICENSE +21 -0
  159. package/dist/server/node_modules/pg/README.md +95 -0
  160. package/dist/server/node_modules/pg/esm/index.mjs +20 -0
  161. package/dist/server/node_modules/pg/lib/client.js +743 -0
  162. package/dist/server/node_modules/pg/lib/connection-parameters.js +171 -0
  163. package/dist/server/node_modules/pg/lib/connection.js +221 -0
  164. package/dist/server/node_modules/pg/lib/crypto/cert-signatures.js +122 -0
  165. package/dist/server/node_modules/pg/lib/crypto/sasl.js +212 -0
  166. package/dist/server/node_modules/pg/lib/crypto/utils-legacy.js +43 -0
  167. package/dist/server/node_modules/pg/lib/crypto/utils-webcrypto.js +89 -0
  168. package/dist/server/node_modules/pg/lib/crypto/utils.js +9 -0
  169. package/dist/server/node_modules/pg/lib/defaults.js +91 -0
  170. package/dist/server/node_modules/pg/lib/index.js +73 -0
  171. package/dist/server/node_modules/pg/lib/native/client.js +323 -0
  172. package/dist/server/node_modules/pg/lib/native/index.js +2 -0
  173. package/dist/server/node_modules/pg/lib/native/query.js +165 -0
  174. package/dist/server/node_modules/pg/lib/query.js +252 -0
  175. package/dist/server/node_modules/pg/lib/result.js +109 -0
  176. package/dist/server/node_modules/pg/lib/stream.js +83 -0
  177. package/dist/server/node_modules/pg/lib/type-overrides.js +35 -0
  178. package/dist/server/node_modules/pg/lib/utils.js +217 -0
  179. package/dist/server/node_modules/pg/package.json +76 -0
  180. package/dist/server/node_modules/pg-int8/LICENSE +13 -0
  181. package/dist/server/node_modules/pg-int8/README.md +16 -0
  182. package/dist/server/node_modules/pg-int8/index.js +100 -0
  183. package/dist/server/node_modules/pg-int8/package.json +24 -0
  184. package/dist/server/node_modules/postgres-array/index.d.ts +4 -0
  185. package/dist/server/node_modules/postgres-array/index.js +97 -0
  186. package/dist/server/node_modules/postgres-array/license +21 -0
  187. package/dist/server/node_modules/postgres-array/package.json +35 -0
  188. package/dist/server/node_modules/postgres-array/readme.md +43 -0
  189. package/dist/server/node_modules/postgres-bytea/index.js +33 -0
  190. package/dist/server/node_modules/postgres-bytea/license +21 -0
  191. package/dist/server/node_modules/postgres-bytea/package.json +34 -0
  192. package/dist/server/node_modules/postgres-bytea/readme.md +34 -0
  193. package/dist/server/node_modules/postgres-interval/index.d.ts +20 -0
  194. package/dist/server/node_modules/postgres-interval/index.js +125 -0
  195. package/dist/server/node_modules/postgres-interval/license +21 -0
  196. package/dist/server/node_modules/postgres-interval/package.json +36 -0
  197. package/dist/server/node_modules/postgres-interval/readme.md +48 -0
  198. package/dist/server/node_modules/restore-cursor/index.d.ts +11 -0
  199. package/dist/server/node_modules/restore-cursor/index.js +11 -0
  200. package/dist/server/node_modules/restore-cursor/license +9 -0
  201. package/dist/server/node_modules/restore-cursor/package.json +55 -0
  202. package/dist/server/node_modules/restore-cursor/readme.md +31 -0
  203. package/dist/server/node_modules/string-width/index.d.ts +39 -0
  204. package/dist/server/node_modules/string-width/index.js +82 -0
  205. package/dist/server/node_modules/string-width/license +9 -0
  206. package/dist/server/node_modules/string-width/package.json +64 -0
  207. package/dist/server/node_modules/string-width/readme.md +66 -0
  208. package/dist/server/node_modules/xtend/.jshintrc +30 -0
  209. package/dist/server/node_modules/xtend/LICENSE +20 -0
  210. package/dist/server/node_modules/xtend/README.md +32 -0
  211. package/dist/server/node_modules/xtend/immutable.js +19 -0
  212. package/dist/server/node_modules/xtend/mutable.js +17 -0
  213. package/dist/server/node_modules/xtend/package.json +55 -0
  214. package/dist/server/node_modules/xtend/test.js +103 -0
  215. package/dist/server/server.js +302 -302
  216. package/package.json +1 -1
  217. package/dist/client/assets/ai-providers-Ev953-TG.js +0 -1
  218. package/dist/client/assets/registry-C8wiys5D.js +0 -2
  219. package/dist/client/assets/store-registry-B7rvRMWn.js +0 -2
  220. package/dist/client/assets/useInfiniteQuery-DwiWoB3G.js +0 -1
  221. package/dist/client/assets/workflow-detail-C5Vcc_6S.js +0 -1
  222. package/dist/server/node_modules/slice-ansi/index.d.ts +0 -19
  223. package/dist/server/node_modules/slice-ansi/index.js +0 -260
  224. package/dist/server/node_modules/slice-ansi/package.json +0 -59
  225. package/dist/server/node_modules/slice-ansi/readme.md +0 -54
  226. package/dist/server/node_modules/slice-ansi/tokenize-ansi.js +0 -752
@@ -0,0 +1,21 @@
1
+ import process from 'node:process';
2
+
3
+ export default function isUnicodeSupported() {
4
+ const {env} = process;
5
+ const {TERM, TERM_PROGRAM} = env;
6
+
7
+ if (process.platform !== 'win32') {
8
+ return TERM !== 'linux'; // Linux console (kernel)
9
+ }
10
+
11
+ return Boolean(env.WT_SESSION) // Windows Terminal
12
+ || Boolean(env.TERMINUS_SUBLIME) // Terminus (<0.2.27)
13
+ || env.ConEmuTask === '{cmd::Cmder}' // ConEmu and cmder
14
+ || TERM_PROGRAM === 'Terminus-Sublime'
15
+ || TERM_PROGRAM === 'vscode'
16
+ || TERM === 'xterm-256color'
17
+ || TERM === 'alacritty'
18
+ || TERM === 'rxvt-unicode'
19
+ || TERM === 'rxvt-unicode-256color'
20
+ || env.TERMINAL_EMULATOR === 'JetBrains-JediTerm';
21
+ }
@@ -0,0 +1,9 @@
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.
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "is-unicode-supported",
3
+ "version": "2.1.0",
4
+ "description": "Detect whether the terminal supports Unicode",
5
+ "license": "MIT",
6
+ "repository": "sindresorhus/is-unicode-supported",
7
+ "funding": "https://github.com/sponsors/sindresorhus",
8
+ "author": {
9
+ "name": "Sindre Sorhus",
10
+ "email": "sindresorhus@gmail.com",
11
+ "url": "https://sindresorhus.com"
12
+ },
13
+ "type": "module",
14
+ "exports": {
15
+ "types": "./index.d.ts",
16
+ "default": "./index.js"
17
+ },
18
+ "sideEffects": false,
19
+ "engines": {
20
+ "node": ">=18"
21
+ },
22
+ "scripts": {
23
+ "test": "xo && ava && tsd"
24
+ },
25
+ "files": [
26
+ "index.js",
27
+ "index.d.ts"
28
+ ],
29
+ "keywords": [
30
+ "terminal",
31
+ "unicode",
32
+ "detect",
33
+ "utf8",
34
+ "console",
35
+ "shell",
36
+ "support",
37
+ "supports",
38
+ "supported",
39
+ "check",
40
+ "detection"
41
+ ],
42
+ "devDependencies": {
43
+ "ava": "^6.1.3",
44
+ "tsd": "^0.31.2",
45
+ "xo": "^0.59.3"
46
+ }
47
+ }
@@ -0,0 +1,35 @@
1
+ # is-unicode-supported
2
+
3
+ > Detect whether the terminal supports Unicode
4
+
5
+ This can be useful to decide whether to use Unicode characters or fallback ASCII characters in command-line output.
6
+
7
+ Note that the check is quite naive. It just assumes all non-Windows terminals support Unicode and hard-codes which Windows terminals that do support Unicode. However, I have been using this logic in some popular packages for years without problems.
8
+
9
+ ## Install
10
+
11
+ ```sh
12
+ npm install is-unicode-supported
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ ```js
18
+ import isUnicodeSupported from 'is-unicode-supported';
19
+
20
+ isUnicodeSupported();
21
+ //=> true
22
+ ```
23
+
24
+ ## API
25
+
26
+ ### isUnicodeSupported()
27
+
28
+ Returns a `boolean` for whether the terminal supports Unicode.
29
+
30
+ ## Related
31
+
32
+ - [is-interactive](https://github.com/sindresorhus/is-interactive) - Check if stdout or stderr is interactive
33
+ - [supports-color](https://github.com/chalk/supports-color) - Detect whether a terminal supports color
34
+ - [figures](https://github.com/sindresorhus/figures) - Unicode symbols with Windows fallbacks
35
+ - [log-symbols](https://github.com/sindresorhus/log-symbols) - Colored symbols for various log levels
@@ -0,0 +1,54 @@
1
+ declare const mimicFn: {
2
+ /**
3
+ Make a function mimic another one. It will copy over the properties `name`, `length`, `displayName`, and any custom properties you may have set.
4
+
5
+ @param to - Mimicking function.
6
+ @param from - Function to mimic.
7
+ @returns The modified `to` function.
8
+
9
+ @example
10
+ ```
11
+ import mimicFn = require('mimic-fn');
12
+
13
+ function foo() {}
14
+ foo.unicorn = '🦄';
15
+
16
+ function wrapper() {
17
+ return foo();
18
+ }
19
+
20
+ console.log(wrapper.name);
21
+ //=> 'wrapper'
22
+
23
+ mimicFn(wrapper, foo);
24
+
25
+ console.log(wrapper.name);
26
+ //=> 'foo'
27
+
28
+ console.log(wrapper.unicorn);
29
+ //=> '🦄'
30
+ ```
31
+ */
32
+ <
33
+ ArgumentsType extends unknown[],
34
+ ReturnType,
35
+ FunctionType extends (...arguments: ArgumentsType) => ReturnType
36
+ >(
37
+ to: (...arguments: ArgumentsType) => ReturnType,
38
+ from: FunctionType
39
+ ): FunctionType;
40
+
41
+ // TODO: Remove this for the next major release, refactor the whole definition to:
42
+ // declare function mimicFn<
43
+ // ArgumentsType extends unknown[],
44
+ // ReturnType,
45
+ // FunctionType extends (...arguments: ArgumentsType) => ReturnType
46
+ // >(
47
+ // to: (...arguments: ArgumentsType) => ReturnType,
48
+ // from: FunctionType
49
+ // ): FunctionType;
50
+ // export = mimicFn;
51
+ default: typeof mimicFn;
52
+ };
53
+
54
+ export = mimicFn;
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ const mimicFn = (to, from) => {
4
+ for (const prop of Reflect.ownKeys(from)) {
5
+ Object.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));
6
+ }
7
+
8
+ return to;
9
+ };
10
+
11
+ module.exports = mimicFn;
12
+ // TODO: Remove this for the next major release
13
+ module.exports.default = mimicFn;
@@ -0,0 +1,9 @@
1
+ MIT License
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 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.
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "mimic-fn",
3
+ "version": "2.1.0",
4
+ "description": "Make a function mimic another one",
5
+ "license": "MIT",
6
+ "repository": "sindresorhus/mimic-fn",
7
+ "author": {
8
+ "name": "Sindre Sorhus",
9
+ "email": "sindresorhus@gmail.com",
10
+ "url": "sindresorhus.com"
11
+ },
12
+ "engines": {
13
+ "node": ">=6"
14
+ },
15
+ "scripts": {
16
+ "test": "xo && ava && tsd"
17
+ },
18
+ "files": [
19
+ "index.js",
20
+ "index.d.ts"
21
+ ],
22
+ "keywords": [
23
+ "function",
24
+ "mimic",
25
+ "imitate",
26
+ "rename",
27
+ "copy",
28
+ "inherit",
29
+ "properties",
30
+ "name",
31
+ "func",
32
+ "fn",
33
+ "set",
34
+ "infer",
35
+ "change"
36
+ ],
37
+ "devDependencies": {
38
+ "ava": "^1.4.1",
39
+ "tsd": "^0.7.1",
40
+ "xo": "^0.24.0"
41
+ }
42
+ }
@@ -0,0 +1,69 @@
1
+ # mimic-fn [![Build Status](https://travis-ci.org/sindresorhus/mimic-fn.svg?branch=master)](https://travis-ci.org/sindresorhus/mimic-fn)
2
+
3
+ > Make a function mimic another one
4
+
5
+ Useful when you wrap a function in another function and like to preserve the original name and other properties.
6
+
7
+
8
+ ## Install
9
+
10
+ ```
11
+ $ npm install mimic-fn
12
+ ```
13
+
14
+
15
+ ## Usage
16
+
17
+ ```js
18
+ const mimicFn = require('mimic-fn');
19
+
20
+ function foo() {}
21
+ foo.unicorn = '🦄';
22
+
23
+ function wrapper() {
24
+ return foo();
25
+ }
26
+
27
+ console.log(wrapper.name);
28
+ //=> 'wrapper'
29
+
30
+ mimicFn(wrapper, foo);
31
+
32
+ console.log(wrapper.name);
33
+ //=> 'foo'
34
+
35
+ console.log(wrapper.unicorn);
36
+ //=> '🦄'
37
+ ```
38
+
39
+
40
+ ## API
41
+
42
+ It will copy over the properties `name`, `length`, `displayName`, and any custom properties you may have set.
43
+
44
+ ### mimicFn(to, from)
45
+
46
+ Modifies the `to` function and returns it.
47
+
48
+ #### to
49
+
50
+ Type: `Function`
51
+
52
+ Mimicking function.
53
+
54
+ #### from
55
+
56
+ Type: `Function`
57
+
58
+ Function to mimic.
59
+
60
+
61
+ ## Related
62
+
63
+ - [rename-fn](https://github.com/sindresorhus/rename-fn) - Rename a function
64
+ - [keep-func-props](https://github.com/ehmicky/keep-func-props) - Wrap a function without changing its name, length and other properties
65
+
66
+
67
+ ## License
68
+
69
+ MIT © [Sindre Sorhus](https://sindresorhus.com)
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2010 - 2021 Brian Carlson
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 all
13
+ 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 THE
21
+ SOFTWARE.
@@ -0,0 +1,95 @@
1
+ # node-postgres
2
+
3
+ [![Build Status](https://secure.travis-ci.org/brianc/node-postgres.svg?branch=master)](http://travis-ci.org/brianc/node-postgres)
4
+ <span class="badge-npmversion"><a href="https://npmjs.org/package/pg" title="View this project on NPM"><img src="https://img.shields.io/npm/v/pg.svg" alt="NPM version" /></a></span>
5
+ <span class="badge-npmdownloads"><a href="https://npmjs.org/package/pg" title="View this project on NPM"><img src="https://img.shields.io/npm/dm/pg.svg" alt="NPM downloads" /></a></span>
6
+
7
+ Non-blocking PostgreSQL client for Node.js. Pure JavaScript and optional native libpq bindings.
8
+
9
+ ## Install
10
+
11
+ ```sh
12
+ $ npm install pg
13
+ ```
14
+
15
+ ---
16
+
17
+ ## :star: [Documentation](https://node-postgres.com) :star:
18
+
19
+ ### Features
20
+
21
+ - Pure JavaScript client and native libpq bindings share _the same API_
22
+ - Connection pooling
23
+ - Extensible JS ↔ PostgreSQL data-type coercion
24
+ - Supported PostgreSQL features
25
+ - Parameterized queries
26
+ - Named statements with query plan caching
27
+ - Async notifications with `LISTEN/NOTIFY`
28
+ - Bulk import & export with `COPY TO/COPY FROM`
29
+
30
+ ### Extras
31
+
32
+ node-postgres is by design pretty light on abstractions. These are some handy modules we've been using over the years to complete the picture.
33
+ The entire list can be found on our [wiki](https://github.com/brianc/node-postgres/wiki/Extras).
34
+
35
+ ## Support
36
+
37
+ node-postgres is free software. If you encounter a bug with the library please open an issue on the [GitHub repo](https://github.com/brianc/node-postgres). If you have questions unanswered by the documentation please open an issue pointing out how the documentation was unclear & I will do my best to make it better!
38
+
39
+ When you open an issue please provide:
40
+
41
+ - version of Node
42
+ - version of Postgres
43
+ - smallest possible snippet of code to reproduce the problem
44
+
45
+ You can also follow me [@briancarlson](https://twitter.com/briancarlson) if that's your thing. I try to always announce noteworthy changes & developments with node-postgres on Twitter.
46
+
47
+ ## Sponsorship :two_hearts:
48
+
49
+ node-postgres's continued development has been made possible in part by generous financial support from [the community](https://github.com/brianc/node-postgres/blob/master/SPONSORS.md).
50
+
51
+ If you or your company are benefiting from node-postgres and would like to help keep the project financially sustainable [please consider supporting](https://github.com/sponsors/brianc) its development.
52
+
53
+ ### Featured sponsor
54
+
55
+ Special thanks to [medplum](https://medplum.com) for their generous and thoughtful support of node-postgres!
56
+
57
+ ![medplum](https://raw.githubusercontent.com/medplum/medplum-logo/refs/heads/main/medplum-logo.png)
58
+
59
+ ## Contributing
60
+
61
+ **:heart: contributions!**
62
+
63
+ I will **happily** accept your pull request if it:
64
+
65
+ - **has tests**
66
+ - looks reasonable
67
+ - does not break backwards compatibility
68
+
69
+ If your change involves breaking backwards compatibility please please point that out in the pull request & we can discuss & plan when and how to release it and what type of documentation or communicate it will require.
70
+
71
+ ## Troubleshooting and FAQ
72
+
73
+ The causes and solutions to common errors can be found among the [Frequently Asked Questions (FAQ)](https://github.com/brianc/node-postgres/wiki/FAQ)
74
+
75
+ ## License
76
+
77
+ Copyright (c) 2010-2020 Brian Carlson (brian.m.carlson@gmail.com)
78
+
79
+ Permission is hereby granted, free of charge, to any person obtaining a copy
80
+ of this software and associated documentation files (the "Software"), to deal
81
+ in the Software without restriction, including without limitation the rights
82
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
83
+ copies of the Software, and to permit persons to whom the Software is
84
+ furnished to do so, subject to the following conditions:
85
+
86
+ The above copyright notice and this permission notice shall be included in
87
+ all copies or substantial portions of the Software.
88
+
89
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
90
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
91
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
92
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
93
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
94
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
95
+ THE SOFTWARE.
@@ -0,0 +1,20 @@
1
+ // ESM wrapper for pg
2
+ import pg from '../lib/index.js'
3
+
4
+ // Re-export all the properties
5
+ export const Client = pg.Client
6
+ export const Pool = pg.Pool
7
+ export const Connection = pg.Connection
8
+ export const types = pg.types
9
+ export const Query = pg.Query
10
+ export const DatabaseError = pg.DatabaseError
11
+ export const escapeIdentifier = pg.escapeIdentifier
12
+ export const escapeLiteral = pg.escapeLiteral
13
+ export const Result = pg.Result
14
+ export const TypeOverrides = pg.TypeOverrides
15
+
16
+ // Also export the defaults
17
+ export const defaults = pg.defaults
18
+
19
+ // Re-export the default
20
+ export default pg