decocms 2.302.0 → 2.302.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 (231) hide show
  1. package/dist/client/assets/{AlertCircle-Ckdo-RmI.js → AlertCircle-BFJK99tM.js} +1 -1
  2. package/dist/client/assets/{ArrowNarrowLeft-Di3ykEwz.js → ArrowNarrowLeft-DCbP5K-g.js} +1 -1
  3. package/dist/client/assets/{ArrowUpRight-DMSP1Bv9.js → ArrowUpRight-BvzWf0q7.js} +1 -1
  4. package/dist/client/assets/{CheckCircle-C208sPuy.js → CheckCircle-qqOIolWc.js} +1 -1
  5. package/dist/client/assets/{ChevronDown-BrUt0Alw.js → ChevronDown-BMTA9_Ap.js} +1 -1
  6. package/dist/client/assets/{ChevronRight-CGM8153k.js → ChevronRight-QeeRSp8z.js} +1 -1
  7. package/dist/client/assets/{ChevronUp-CaGbgeVw.js → ChevronUp-BHiGg6ZY.js} +1 -1
  8. package/dist/client/assets/{Container-4Wg94L7I.js → Container-CIDvyJX8.js} +1 -1
  9. package/dist/client/assets/{DotsVertical-DvRrSQFB.js → DotsVertical-Bd2_5HYZ.js} +1 -1
  10. package/dist/client/assets/{LinkExternal01-Y0gD7h2D.js → LinkExternal01-DCnMv_g7.js} +1 -1
  11. package/dist/client/assets/{Lock01-Dch0eKvp.js → Lock01-Ds-YEZnN.js} +1 -1
  12. package/dist/client/assets/{Palette-CgqIrvg1.js → Palette-DescRwe0.js} +1 -1
  13. package/dist/client/assets/{Play-CtLPh-DP.js → Play-Ch3KWC7Z.js} +1 -1
  14. package/dist/client/assets/{Plus-Bz8pOCrF.js → Plus-gLdNtuBE.js} +1 -1
  15. package/dist/client/assets/{RefreshCcw01-KEgE6miP.js → RefreshCcw01-DKf5Q7r6.js} +1 -1
  16. package/dist/client/assets/{SearchMd-CVG2gI0e.js → SearchMd-BI1BY0Xc.js} +1 -1
  17. package/dist/client/assets/{Settings02-BaHlQiS7.js → Settings02-D0o0GA4h.js} +1 -1
  18. package/dist/client/assets/{Shield01-CCtHgQuh.js → Shield01-btPXI3TS.js} +1 -1
  19. package/dist/client/assets/{Star01-C90LkDZI.js → Star01-DInOTW7T.js} +1 -1
  20. package/dist/client/assets/{Sun-BxF03d45.js → Sun-DLagUbKM.js} +1 -1
  21. package/dist/client/assets/{Tool01-DA28S3sH.js → Tool01-D1xeep7h.js} +1 -1
  22. package/dist/client/assets/{Trash01-DR27iFf1.js → Trash01-OgQVP2St.js} +1 -1
  23. package/dist/client/assets/{User01-BujZcMbB.js → User01-Cr_qCqW_.js} +1 -1
  24. package/dist/client/assets/{Users03-CDTGNBm2.js → Users03-DVwMLxYo.js} +1 -1
  25. package/dist/client/assets/{X-DoHhdWpr.js → X-fvjwb2RC.js} +1 -1
  26. package/dist/client/assets/{XCircle-Ds5a6kuE.js → XCircle-CVED_3Ss.js} +1 -1
  27. package/dist/client/assets/{XClose-C9Qfd8kZ.js → XClose-C1T9ODT_.js} +1 -1
  28. package/dist/client/assets/{Zap-BtQ-TzwR.js → Zap-u543Wk9m.js} +1 -1
  29. package/dist/client/assets/{ZapSquare-DKBv2Oh1.js → ZapSquare-B03aoE62.js} +1 -1
  30. package/dist/client/assets/{accordion-isIiC_Tx.js → accordion-zoDibAHc.js} +1 -1
  31. package/dist/client/assets/{agent-icon-DyZrsMHV.js → agent-icon-B5EEcofO.js} +1 -1
  32. package/dist/client/assets/{agents-list-BsLb9TAC.js → agents-list-KuDCGevU.js} +1 -1
  33. package/dist/client/assets/ai-providers-3jYxMl4T.js +1 -0
  34. package/dist/client/assets/{alert-dialog-Cm675fIp.js → alert-dialog-B6JtF6Oy.js} +1 -1
  35. package/dist/client/assets/{auth-catchall-CS4MwL4l.js → auth-catchall-CnOfYh4q.js} +1 -1
  36. package/dist/client/assets/{automation-list-row-BZZkY79g.js → automation-list-row-Ce2nqVRS.js} +1 -1
  37. package/dist/client/assets/{automations-EJo_cmjx.js → automations-3wicI9sJ.js} +1 -1
  38. package/dist/client/assets/{avatar-ejiIeuvT.js → avatar-B5CcOSaZ.js} +1 -1
  39. package/dist/client/assets/{badge-BCkY0osU.js → badge-Vn5olYFX.js} +1 -1
  40. package/dist/client/assets/{brand-context-B-WDg8W9.js → brand-context-JEzNXnYS.js} +1 -1
  41. package/dist/client/assets/{card-KrDyjT9B.js → card-DHIGW2Gm.js} +1 -1
  42. package/dist/client/assets/{chat-context-D2ImJV4_.js → chat-context-DZ4ItXeY.js} +1 -1
  43. package/dist/client/assets/{checkbox-DdEbgSXy.js → checkbox-DBBm6J90.js} +1 -1
  44. package/dist/client/assets/{collection-detail-C1_S4Wby.js → collection-detail-CYmy41EW.js} +1 -1
  45. package/dist/client/assets/{collection-display-button-E32kWSQs.js → collection-display-button-DifdWxZd.js} +1 -1
  46. package/dist/client/assets/{collection-search-CjRFx7RJ.js → collection-search-EJTdRq0l.js} +1 -1
  47. package/dist/client/assets/{collection-search-CZ45K7il.js → collection-search-dr2VH0_A.js} +1 -1
  48. package/dist/client/assets/{collection-table-wrapper-D1SV8oPy.js → collection-table-wrapper-BNTrWb5l.js} +1 -1
  49. package/dist/client/assets/{collection-tabs-Ds23HSH3.js → collection-tabs-BhSzOngN.js} +1 -1
  50. package/dist/client/assets/{collections-ClBK8Wc7.js → collections-x4R34QWs.js} +1 -1
  51. package/dist/client/assets/{command-s8ocnxUp.js → command-dTUEruN1.js} +1 -1
  52. package/dist/client/assets/{connection-card-BOvFz0Xe.js → connection-card-DHMMRnIO.js} +1 -1
  53. package/dist/client/assets/{connection-detail-C9dHwvHg.js → connection-detail-B_69g2MY.js} +1 -1
  54. package/dist/client/assets/{connection-form-helpers-CaMgKEzX.js → connection-form-helpers-CSnwVczG.js} +1 -1
  55. package/dist/client/assets/{connections-D4jzt08s.js → connections-DL-vzzoi.js} +1 -1
  56. package/dist/client/assets/{constants-CVSLlYnf.js → constants-BVU634u9.js} +1 -1
  57. package/dist/client/assets/{constants-Bj37EyXz.js → constants-DhipgDPU.js} +1 -1
  58. package/dist/client/assets/{dialog-B9mCJ9u4.js → dialog-Cc5-s5cq.js} +1 -1
  59. package/dist/client/assets/{domain-settings-E-eT2C2j.js → domain-settings-Ddgt5zKc.js} +1 -1
  60. package/dist/client/assets/{drawer-ChRbi3da.js → drawer-CYKJkhyy.js} +1 -1
  61. package/dist/client/assets/{dropdown-menu-BACFhEWG.js → dropdown-menu-BdezCavF.js} +1 -1
  62. package/dist/client/assets/{dynamic-plugin-layout-3-VjJB_9.js → dynamic-plugin-layout-BPGpVId2.js} +1 -1
  63. package/dist/client/assets/{empty-state-Cd5nlZi8.js → empty-state-B-SDOSco.js} +1 -1
  64. package/dist/client/assets/{empty-state-CZHe0KuE.js → empty-state-CGM_VDGy.js} +1 -1
  65. package/dist/client/assets/{extract-connection-data-DWwyWigS.js → extract-connection-data-CGFCZBB1.js} +1 -1
  66. package/dist/client/assets/{features-CeatQ7gW.js → features-D36LrRkp.js} +1 -1
  67. package/dist/client/assets/{form-Ouizhyq3.js → form-BlgCJwww.js} +1 -1
  68. package/dist/client/assets/{general-DzoGsnH3.js → general-ByIyj3-X.js} +1 -1
  69. package/dist/client/assets/{index-RbRZk6ng.js → index-BEdZpL1a.js} +3 -3
  70. package/dist/client/assets/{index-RBXYZ0o1.js → index-BGvMfUr2.js} +2 -2
  71. package/dist/client/assets/{index-fNW0SHRb.js → index-BizlRsAk.js} +1 -1
  72. package/dist/client/assets/{index-D2mful5a.js → index-C-49LFOm.js} +1 -1
  73. package/dist/client/assets/{index-BSVWgf11.js → index-C4B8wMiM.js} +1 -1
  74. package/dist/client/assets/{index-6mSFDvZg.js → index-CQbT2-AO.js} +1 -1
  75. package/dist/client/assets/index-CSOTvYaA.js +1 -0
  76. package/dist/client/assets/{index-CAaoqFy7.js → index-Ce3V05Jd.js} +1 -1
  77. package/dist/client/assets/{index-By6SCvFJ.js → index-CxcuSo6g.js} +1 -1
  78. package/dist/client/assets/{index-2Scfn4rN.js → index-DL3V_XAA.js} +1 -1
  79. package/dist/client/assets/{index-D-Rzrt74.js → index-DRSFVCQG.js} +1 -1
  80. package/dist/client/assets/{index-af7Ms30x.js → index-DWnDHmtK.js} +1 -1
  81. package/dist/client/assets/{index-Dax7JqXc.js → index-DcnDvcwB.js} +1 -1
  82. package/dist/client/assets/{index-D_jFKVK5.js → index-QpbQL5yY.js} +1 -1
  83. package/dist/client/assets/{index-BS2wRqRL.js → index-gtAbs0Sc.js} +1 -1
  84. package/dist/client/assets/{index-Da_yXMmn.js → index-iJW-G2eC.js} +1 -1
  85. package/dist/client/assets/{infiniteQueryObserver--3YinOmX.js → infiniteQueryObserver-B9_hQDN4.js} +1 -1
  86. package/dist/client/assets/{input-CbOPFA2Y.js → input-r-FVR1hH.js} +1 -1
  87. package/dist/client/assets/{integration-icon-BUk_AQZb.js → integration-icon-Btl0P6Zi.js} +1 -1
  88. package/dist/client/assets/{label-BSzDqn8Z.js → label-CDE7or5s.js} +1 -1
  89. package/dist/client/assets/{layout-Cbq9XvLR.js → layout-DtEpOSua.js} +1 -1
  90. package/dist/client/assets/{lean-canvas-recruit-modal-C1G1_2au.js → lean-canvas-recruit-modal-70F-bJzI.js} +1 -1
  91. package/dist/client/assets/{login-DCSomhku.js → login-D6mlZnBr.js} +1 -1
  92. package/dist/client/assets/{members-DCjU7uUX.js → members-B44F43x3.js} +1 -1
  93. package/dist/client/assets/{monaco-editor-9MzrlDzJ.js → monaco-editor-D9GcAVz1.js} +1 -1
  94. package/dist/client/assets/{monitoring-stats-row-DLYFByVX.js → monitoring-stats-row-9xBJedBt.js} +1 -1
  95. package/dist/client/assets/{oauth-callback-CRR_q1-_.js → oauth-callback-BzeoI5mr.js} +1 -1
  96. package/dist/client/assets/{oauth-callback-ai-provider-BcbJ_xLj.js → oauth-callback-ai-provider-B7fEhkFp.js} +1 -1
  97. package/dist/client/assets/{onboarding-CSHiENj3.js → onboarding-C_yRTGs2.js} +1 -1
  98. package/dist/client/assets/{org-layout-BQC1siIb.js → org-layout-xgtHVrWJ.js} +1 -1
  99. package/dist/client/assets/{org-plugin-layout-Cq_aAA1I.js → org-plugin-layout-DjYWXXLz.js} +1 -1
  100. package/dist/client/assets/{pair-C1Euf0mI.js → pair-TlV_Y8fY.js} +1 -1
  101. package/dist/client/assets/{plugin-empty-state-DXXmUyFw.js → plugin-empty-state-wcs5uyqa.js} +1 -1
  102. package/dist/client/assets/{plugin-header-C-jLY3z-.js → plugin-header-D00boOwo.js} +1 -1
  103. package/dist/client/assets/{plugin-layout-oOgBG5IP.js → plugin-layout-kZMGzqtV.js} +1 -1
  104. package/dist/client/assets/{popover-DC-xnLvX.js → popover-CENSHA5K.js} +1 -1
  105. package/dist/client/assets/{profile-DDufPRp2.js → profile-CmCDElOt.js} +1 -1
  106. package/dist/client/assets/{project-app-view-CFJH3_Mb.js → project-app-view-CXSUfW9V.js} +1 -1
  107. package/dist/client/assets/registry-M9hpVTeC.js +2 -0
  108. package/dist/client/assets/{registry-layout-Bt8B6WZA.js → registry-layout-jKwqcMMI.js} +1 -1
  109. package/dist/client/assets/{required-auth-layout-DxzQFSub.js → required-auth-layout-ByW838Wg.js} +1 -1
  110. package/dist/client/assets/{reset-password-MIshTkTR.js → reset-password-Cn2aTTGW.js} +1 -1
  111. package/dist/client/assets/{roles-Cvj_YJQC.js → roles-BOss14ty.js} +1 -1
  112. package/dist/client/assets/{scroll-area-DwYUYaC4.js → scroll-area-KyXayDS_.js} +1 -1
  113. package/dist/client/assets/{search-input-CDHPjad4.js → search-input-LdRGRYga.js} +1 -1
  114. package/dist/client/assets/{select-8rqyX4yY.js → select-CKhnD_dJ.js} +1 -1
  115. package/dist/client/assets/{select-model-D8dh5nJb.js → select-model-DSERjqbn.js} +1 -1
  116. package/dist/client/assets/{settings-layout-BgvnZybr.js → settings-layout-DmMGjApo.js} +1 -1
  117. package/dist/client/assets/{settings-section-HtqNxJHw.js → settings-section-BSfLZRSf.js} +1 -1
  118. package/dist/client/assets/{shell-layout-A5EcvKv7.js → shell-layout-BTN4hGpk.js} +1 -1
  119. package/dist/client/assets/{skeleton-DMH6jOOd.js → skeleton-PrntJAKB.js} +1 -1
  120. package/dist/client/assets/{sso-DNkuSn5z.js → sso-Dt9Y-guZ.js} +1 -1
  121. package/dist/client/assets/{store-CLctbbGQ.js → store-lsrePhQV.js} +1 -1
  122. package/dist/client/assets/store-registry-BiQl34xL.js +2 -0
  123. package/dist/client/assets/{switch-ClAJkK47.js → switch-DIPW9oSx.js} +1 -1
  124. package/dist/client/assets/{table-Cwoyxo1t.js → table-CyZKmPMu.js} +1 -1
  125. package/dist/client/assets/{tabs-Bw1wvZLY.js → tabs-Cnic4mBc.js} +1 -1
  126. package/dist/client/assets/{task-status-BwNSpCPo.js → task-status-B4S1zCuU.js} +1 -1
  127. package/dist/client/assets/{textarea-grS6dvzw.js → textarea-DWnLf30W.js} +1 -1
  128. package/dist/client/assets/{toggle-group-CrcMNw0M.js → toggle-group-Bw-pO6dq.js} +1 -1
  129. package/dist/client/assets/{tools-list-B0HLMLQ4.js → tools-list-Ddp6jSMU.js} +1 -1
  130. package/dist/client/assets/{tooltip-l5gvSkP4.js → tooltip-8sj0FPxK.js} +1 -1
  131. package/dist/client/assets/{types-sSi2ZBaJ.js → types-CPAcvDGA.js} +1 -1
  132. package/dist/client/assets/{use-ai-providers-NGnYqkjZ.js → use-ai-providers-TD5f5keD.js} +1 -1
  133. package/dist/client/assets/{use-collections-XPoz4bQ4.js → use-collections-DbJUoPI1.js} +1 -1
  134. package/dist/client/assets/{use-connection-KIdOMYYB.js → use-connection-EBpfvjCE.js} +1 -1
  135. package/dist/client/assets/{use-copy-BEHVkdeL.js → use-copy-DNbmGYTy.js} +1 -1
  136. package/dist/client/assets/{use-create-virtual-mcp-B7_E4z0n.js → use-create-virtual-mcp-oePzdlSN.js} +1 -1
  137. package/dist/client/assets/{use-decopilot-events-BB7Ade2O.js → use-decopilot-events-CTJPtEAG.js} +1 -1
  138. package/dist/client/assets/{use-delete-connection-ClDFtLys.js → use-delete-connection-DeDsXAxU.js} +1 -1
  139. package/dist/client/assets/{use-infinite-scroll-BDQxIw_a.js → use-infinite-scroll-Blb-Zkmq.js} +1 -1
  140. package/dist/client/assets/{use-list-state-C-KeL9mx.js → use-list-state-Bt40g0pF.js} +1 -1
  141. package/dist/client/assets/{use-mcp-tools-CvCxJUq7.js → use-mcp-tools-yGAchpt7.js} +1 -1
  142. package/dist/client/assets/{use-members-CkSy6C1r.js → use-members-elTW2IMS.js} +1 -1
  143. package/dist/client/assets/{use-navigate-to-agent-h3H44Uqx.js → use-navigate-to-agent-XL440g7Q.js} +1 -1
  144. package/dist/client/assets/{use-org-auth-client-C4jj13SA.js → use-org-auth-client-kuXtTIo4.js} +1 -1
  145. package/dist/client/assets/{use-org-sso-CzzIybhJ.js → use-org-sso-DzmlEuU4.js} +1 -1
  146. package/dist/client/assets/{use-organization-roles-BFtXNMrL.js → use-organization-roles-B18S9BiQ.js} +1 -1
  147. package/dist/client/assets/{use-organization-settings-DQaAYRBc.js → use-organization-settings-vi5z2D5l.js} +1 -1
  148. package/dist/client/assets/{use-registry-connections-Bw9vDyMz.js → use-registry-connections-vdam_2jo.js} +1 -1
  149. package/dist/client/assets/{use-status-sounds-Cb3X5ULl.js → use-status-sounds-DVkOG6QZ.js} +1 -1
  150. package/dist/client/assets/{use-tasks-CU4nRSG8.js → use-tasks-BSCdum36.js} +1 -1
  151. package/dist/client/assets/{use-view-mode-dkizD-HG.js → use-view-mode-IRjBIGSa.js} +1 -1
  152. package/dist/client/assets/{use-virtual-mcp-D1lThWcu.js → use-virtual-mcp-BOr32Cw9.js} +1 -1
  153. package/dist/client/assets/useInfiniteQuery-D6CYdRiz.js +1 -0
  154. package/dist/client/assets/useSuspenseInfiniteQuery-hnE5tAGb.js +1 -0
  155. package/dist/client/assets/{user-BuZ7YF8y.js → user-Cr4eZetj.js} +1 -1
  156. package/dist/client/assets/{view-mode-toggle-CV8uckCG.js → view-mode-toggle-DqaIt4c7.js} +1 -1
  157. package/dist/client/assets/workflow-detail-CHEOWOns.js +1 -0
  158. package/dist/client/assets/{workflow-YqAcYHT8.js → workflow-f-0F4vKd.js} +1 -1
  159. package/dist/client/index.html +1 -1
  160. package/dist/server/cli.js +4 -4
  161. package/dist/server/node_modules/ansi-regex/index.d.ts +33 -0
  162. package/dist/server/node_modules/ansi-regex/index.js +14 -0
  163. package/dist/server/node_modules/ansi-regex/package.json +61 -0
  164. package/dist/server/node_modules/ansi-regex/readme.md +66 -0
  165. package/dist/server/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  166. package/dist/server/node_modules/emoji-regex/README.md +107 -0
  167. package/dist/server/node_modules/emoji-regex/index.d.ts +3 -0
  168. package/dist/server/node_modules/emoji-regex/index.js +4 -0
  169. package/dist/server/node_modules/emoji-regex/index.mjs +4 -0
  170. package/dist/server/node_modules/emoji-regex/package.json +45 -0
  171. package/dist/server/node_modules/environment/index.d.ts +74 -0
  172. package/dist/server/node_modules/environment/index.js +47 -0
  173. package/dist/server/node_modules/{slice-ansi → environment}/license +0 -1
  174. package/dist/server/node_modules/environment/package.json +74 -0
  175. package/dist/server/node_modules/environment/readme.md +94 -0
  176. package/dist/server/node_modules/escape-string-regexp/index.d.ts +18 -0
  177. package/dist/server/node_modules/escape-string-regexp/index.js +11 -0
  178. package/dist/server/node_modules/escape-string-regexp/license +9 -0
  179. package/dist/server/node_modules/escape-string-regexp/package.json +43 -0
  180. package/dist/server/node_modules/escape-string-regexp/readme.md +29 -0
  181. package/dist/server/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
  182. package/dist/server/node_modules/is-fullwidth-code-point/index.js +12 -0
  183. package/dist/server/node_modules/is-fullwidth-code-point/license +9 -0
  184. package/dist/server/node_modules/is-fullwidth-code-point/package.json +53 -0
  185. package/dist/server/node_modules/is-fullwidth-code-point/readme.md +31 -0
  186. package/dist/server/node_modules/is-unicode-supported/index.d.ts +12 -0
  187. package/dist/server/node_modules/is-unicode-supported/index.js +21 -0
  188. package/dist/server/node_modules/is-unicode-supported/license +9 -0
  189. package/dist/server/node_modules/is-unicode-supported/package.json +47 -0
  190. package/dist/server/node_modules/is-unicode-supported/readme.md +35 -0
  191. package/dist/server/node_modules/pg-int8/LICENSE +13 -0
  192. package/dist/server/node_modules/pg-int8/README.md +16 -0
  193. package/dist/server/node_modules/pg-int8/index.js +100 -0
  194. package/dist/server/node_modules/pg-int8/package.json +24 -0
  195. package/dist/server/node_modules/postgres-interval/index.d.ts +20 -0
  196. package/dist/server/node_modules/postgres-interval/index.js +125 -0
  197. package/dist/server/node_modules/postgres-interval/license +21 -0
  198. package/dist/server/node_modules/postgres-interval/package.json +36 -0
  199. package/dist/server/node_modules/postgres-interval/readme.md +48 -0
  200. package/dist/server/node_modules/restore-cursor/index.d.ts +11 -0
  201. package/dist/server/node_modules/restore-cursor/index.js +11 -0
  202. package/dist/server/node_modules/restore-cursor/license +9 -0
  203. package/dist/server/node_modules/restore-cursor/package.json +55 -0
  204. package/dist/server/node_modules/restore-cursor/readme.md +31 -0
  205. package/dist/server/node_modules/string-width/index.d.ts +39 -0
  206. package/dist/server/node_modules/string-width/index.js +82 -0
  207. package/dist/server/node_modules/string-width/license +9 -0
  208. package/dist/server/node_modules/string-width/package.json +64 -0
  209. package/dist/server/node_modules/string-width/readme.md +66 -0
  210. package/dist/server/server.js +3 -3
  211. package/package.json +1 -1
  212. package/dist/client/assets/ai-providers-kn1jtlDC.js +0 -1
  213. package/dist/client/assets/index-YEyIkTha.js +0 -1
  214. package/dist/client/assets/registry-DtbT4EGB.js +0 -2
  215. package/dist/client/assets/store-registry-9hOokAwZ.js +0 -2
  216. package/dist/client/assets/useInfiniteQuery-PRD417UA.js +0 -1
  217. package/dist/client/assets/useSuspenseInfiniteQuery-j6nsOPAl.js +0 -1
  218. package/dist/client/assets/workflow-detail-BNKITpZa.js +0 -1
  219. package/dist/server/node_modules/get-east-asian-width/index.d.ts +0 -60
  220. package/dist/server/node_modules/get-east-asian-width/index.js +0 -30
  221. package/dist/server/node_modules/get-east-asian-width/lookup-data.js +0 -18
  222. package/dist/server/node_modules/get-east-asian-width/lookup.js +0 -135
  223. package/dist/server/node_modules/get-east-asian-width/package.json +0 -71
  224. package/dist/server/node_modules/get-east-asian-width/readme.md +0 -65
  225. package/dist/server/node_modules/get-east-asian-width/utilities.js +0 -24
  226. package/dist/server/node_modules/slice-ansi/index.d.ts +0 -19
  227. package/dist/server/node_modules/slice-ansi/index.js +0 -260
  228. package/dist/server/node_modules/slice-ansi/package.json +0 -59
  229. package/dist/server/node_modules/slice-ansi/readme.md +0 -54
  230. package/dist/server/node_modules/slice-ansi/tokenize-ansi.js +0 -752
  231. /package/dist/server/node_modules/{get-east-asian-width → ansi-regex}/license +0 -0
@@ -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,13 @@
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.
@@ -0,0 +1,16 @@
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
@@ -0,0 +1,100 @@
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;
@@ -0,0 +1,24 @@
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
+ }
@@ -0,0 +1,20 @@
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;
@@ -0,0 +1,125 @@
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
+ }
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) Ben Drucker <bvdrucker@gmail.com> (bendrucker.me)
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.
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "postgres-interval",
3
+ "main": "index.js",
4
+ "version": "1.2.0",
5
+ "description": "Parse Postgres interval columns",
6
+ "license": "MIT",
7
+ "repository": "bendrucker/postgres-interval",
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
+ "postgres",
21
+ "interval",
22
+ "parser"
23
+ ],
24
+ "dependencies": {
25
+ "xtend": "^4.0.0"
26
+ },
27
+ "devDependencies": {
28
+ "tape": "^4.0.0",
29
+ "standard": "^12.0.1"
30
+ },
31
+ "files": [
32
+ "index.js",
33
+ "index.d.ts",
34
+ "readme.md"
35
+ ]
36
+ }
@@ -0,0 +1,48 @@
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)
@@ -0,0 +1,11 @@
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;
@@ -0,0 +1,11 @@
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;
@@ -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,55 @@
1
+ {
2
+ "name": "restore-cursor",
3
+ "version": "4.0.0",
4
+ "description": "Gracefully restore the CLI cursor on exit",
5
+ "license": "MIT",
6
+ "repository": "sindresorhus/restore-cursor",
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": "./index.js",
15
+ "engines": {
16
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
17
+ },
18
+ "scripts": {
19
+ "test": "xo && tsd"
20
+ },
21
+ "files": [
22
+ "index.js",
23
+ "index.d.ts"
24
+ ],
25
+ "keywords": [
26
+ "exit",
27
+ "quit",
28
+ "process",
29
+ "graceful",
30
+ "shutdown",
31
+ "sigterm",
32
+ "sigint",
33
+ "terminate",
34
+ "kill",
35
+ "stop",
36
+ "cli",
37
+ "cursor",
38
+ "ansi",
39
+ "show",
40
+ "term",
41
+ "terminal",
42
+ "console",
43
+ "tty",
44
+ "shell",
45
+ "command-line"
46
+ ],
47
+ "dependencies": {
48
+ "onetime": "^5.1.0",
49
+ "signal-exit": "^3.0.2"
50
+ },
51
+ "devDependencies": {
52
+ "tsd": "^0.7.2",
53
+ "xo": "^0.24.0"
54
+ }
55
+ }
@@ -0,0 +1,31 @@
1
+ # restore-cursor
2
+
3
+ > Gracefully restore the CLI cursor on exit
4
+
5
+ Prevent the cursor you've hidden interactively from remaining hidden if the process crashes.
6
+
7
+ ## Install
8
+
9
+ ```
10
+ $ npm install restore-cursor
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```js
16
+ import restoreCursor from 'restore-cursor';
17
+
18
+ restoreCursor();
19
+ ```
20
+
21
+ ---
22
+
23
+ <div align="center">
24
+ <b>
25
+ <a href="https://tidelift.com/subscription/pkg/npm-restore-cursor?utm_source=npm-restore-cursor&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
26
+ </b>
27
+ <br>
28
+ <sub>
29
+ Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
30
+ </sub>
31
+ </div>
@@ -0,0 +1,39 @@
1
+ export type Options = {
2
+ /**
3
+ Count [ambiguous width characters](https://www.unicode.org/reports/tr11/#Ambiguous) as having narrow width (count of 1) instead of wide width (count of 2).
4
+
5
+ @default true
6
+
7
+ > Ambiguous characters behave like wide or narrow characters depending on the context (language tag, script identification, associated font, source of data, or explicit markup; all can provide the context). __If the context cannot be established reliably, they should be treated as narrow characters by default.__
8
+ > - http://www.unicode.org/reports/tr11/
9
+ */
10
+ readonly ambiguousIsNarrow?: boolean;
11
+
12
+ /**
13
+ Whether [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) should be counted.
14
+
15
+ @default false
16
+ */
17
+ readonly countAnsiEscapeCodes?: boolean;
18
+ };
19
+
20
+ /**
21
+ Get the visual width of a string - the number of columns required to display it.
22
+
23
+ Some Unicode characters are [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms) and use double the normal width. [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) are stripped and doesn't affect the width.
24
+
25
+ @example
26
+ ```
27
+ import stringWidth from 'string-width';
28
+
29
+ stringWidth('a');
30
+ //=> 1
31
+
32
+ stringWidth('古');
33
+ //=> 2
34
+
35
+ stringWidth('\u001B[1m古\u001B[22m');
36
+ //=> 2
37
+ ```
38
+ */
39
+ export default function stringWidth(string: string, options?: Options): number;