decocms 2.311.7 → 2.311.9

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 (243) hide show
  1. package/dist/client/assets/{AlertCircle-BJeD5C4R.js → AlertCircle-DenZ2tH1.js} +1 -1
  2. package/dist/client/assets/{Archive-YlLF-Utw.js → Archive-CUyKZVLi.js} +1 -1
  3. package/dist/client/assets/{ArrowNarrowLeft-Bxr_bNh3.js → ArrowNarrowLeft-CdHYti4b.js} +1 -1
  4. package/dist/client/assets/{ArrowUpRight-BjngPScU.js → ArrowUpRight-DQA2yLzS.js} +1 -1
  5. package/dist/client/assets/{Check-CCt4TdqV.js → Check-B1QjP0lW.js} +1 -1
  6. package/dist/client/assets/{CheckCircle-Bj4ArLnA.js → CheckCircle-uoVBaQQY.js} +1 -1
  7. package/dist/client/assets/{ChevronDown-Bj0_PlcH.js → ChevronDown-CW5suF8w.js} +1 -1
  8. package/dist/client/assets/{ChevronRight-C4ssXj8j.js → ChevronRight-C75N1vRO.js} +1 -1
  9. package/dist/client/assets/{ChevronUp-BX6pOMeY.js → ChevronUp-D9vKVRMW.js} +1 -1
  10. package/dist/client/assets/{Container-DCeE5VzU.js → Container-e4KoMY54.js} +1 -1
  11. package/dist/client/assets/{DotsVertical-dBwy2z8i.js → DotsVertical-Bl74LMdL.js} +1 -1
  12. package/dist/client/assets/{LinkExternal01-zCvf1EzU.js → LinkExternal01-JpLMSezj.js} +1 -1
  13. package/dist/client/assets/{Lock01-DiQ4vbxd.js → Lock01-ChyzS6Qk.js} +1 -1
  14. package/dist/client/assets/{Palette-C4IIjTNv.js → Palette-DxkFGkUo.js} +1 -1
  15. package/dist/client/assets/{Play-hz-Aap6I.js → Play-DNddfPVv.js} +1 -1
  16. package/dist/client/assets/{Plus-CMSPc8qr.js → Plus-BdkW25go.js} +1 -1
  17. package/dist/client/assets/{RefreshCcw01-mHpCJu3a.js → RefreshCcw01-Bv9_h0OY.js} +1 -1
  18. package/dist/client/assets/{SearchMd-DRJGWUxm.js → SearchMd-DENJ3C2Y.js} +1 -1
  19. package/dist/client/assets/{Settings02-zMTyQvfN.js → Settings02-B4xVAQg7.js} +1 -1
  20. package/dist/client/assets/{Shield01-CyagHvp0.js → Shield01-CISf8vls.js} +1 -1
  21. package/dist/client/assets/{Star01-CtyYcqs8.js → Star01-B90yQrQf.js} +1 -1
  22. package/dist/client/assets/{Sun-DyWU3dmA.js → Sun-jOb3MXPJ.js} +1 -1
  23. package/dist/client/assets/{Tool01-CXQadPQ0.js → Tool01-CBOCDbIq.js} +1 -1
  24. package/dist/client/assets/{Trash01-BIkNmKu1.js → Trash01-CqvPY4I1.js} +1 -1
  25. package/dist/client/assets/{User01-DnkItw6o.js → User01-DcOBCx9n.js} +1 -1
  26. package/dist/client/assets/{Users03-DvpIbtPT.js → Users03-l6fjto8R.js} +1 -1
  27. package/dist/client/assets/{X-a6NKB5cR.js → X-CuBCe85s.js} +1 -1
  28. package/dist/client/assets/{XCircle-2YGJT4l8.js → XCircle-CwRlSPkG.js} +1 -1
  29. package/dist/client/assets/{XClose-BKyQhmnE.js → XClose-BYpD-FW2.js} +1 -1
  30. package/dist/client/assets/{Zap-Cv-p123E.js → Zap-BBT7v7w5.js} +1 -1
  31. package/dist/client/assets/{ZapSquare-D206qQUt.js → ZapSquare-q2bTQS4w.js} +1 -1
  32. package/dist/client/assets/{accordion-C7jtb5zG.js → accordion-ChtmP3A-.js} +1 -1
  33. package/dist/client/assets/{agent-icon-Byl44fjz.js → agent-icon-aCG4rJO5.js} +1 -1
  34. package/dist/client/assets/{agents-list-DgD602gD.js → agents-list-z6-U6t17.js} +1 -1
  35. package/dist/client/assets/ai-providers-v-Xe3QBL.js +1 -0
  36. package/dist/client/assets/{alert-dialog-D9PtfJxf.js → alert-dialog-DbOFkimV.js} +1 -1
  37. package/dist/client/assets/{auth-catchall-C-sTCCTb.js → auth-catchall-gGMZKA1c.js} +1 -1
  38. package/dist/client/assets/{automation-list-row-BZwWkD3I.js → automation-list-row-CW7pxb1d.js} +1 -1
  39. package/dist/client/assets/{automations-BdT0XSk0.js → automations-BGGEy84S.js} +1 -1
  40. package/dist/client/assets/{avatar-CWZ0ixfS.js → avatar-aIgMbJGD.js} +1 -1
  41. package/dist/client/assets/{badge-CA0TtSK-.js → badge-DVYtPj3Q.js} +1 -1
  42. package/dist/client/assets/{brand-context-gd6jn5E6.js → brand-context-CWGrLOUV.js} +1 -1
  43. package/dist/client/assets/{card-2C8lyYM4.js → card-DF88hzU1.js} +1 -1
  44. package/dist/client/assets/{chat-context-mruWDWkr.js → chat-context-C_Gvp66M.js} +1 -1
  45. package/dist/client/assets/{checkbox-DW6m6j_q.js → checkbox-KaNd7DxH.js} +1 -1
  46. package/dist/client/assets/{collection-detail-DYSi_23k.js → collection-detail-CsOa-wP4.js} +1 -1
  47. package/dist/client/assets/{collection-display-button-DOvm0aV5.js → collection-display-button-DX3qc6dM.js} +1 -1
  48. package/dist/client/assets/{collection-search-Cljm_M2l.js → collection-search-B_uLWogM.js} +1 -1
  49. package/dist/client/assets/{collection-search-H6nTPyyn.js → collection-search-CW10ePNY.js} +1 -1
  50. package/dist/client/assets/{collection-table-wrapper-DZe1V1aM.js → collection-table-wrapper-jrC7a888.js} +1 -1
  51. package/dist/client/assets/{collection-tabs-CErfHiTV.js → collection-tabs-B4ahuefD.js} +1 -1
  52. package/dist/client/assets/{collections-DqQJv3EJ.js → collections-BGO4ETj2.js} +1 -1
  53. package/dist/client/assets/{command-CBLhLeAX.js → command-CI9ISywp.js} +1 -1
  54. package/dist/client/assets/{connection-card-DP37rlHa.js → connection-card-Bpyvc28P.js} +1 -1
  55. package/dist/client/assets/{connection-detail-DDGjj1IS.js → connection-detail-CZhT71J5.js} +1 -1
  56. package/dist/client/assets/{connection-form-helpers-aO3CUs1Q.js → connection-form-helpers-BfvL5eFo.js} +1 -1
  57. package/dist/client/assets/{connections-DADCBg8H.js → connections-BAYG38Zt.js} +1 -1
  58. package/dist/client/assets/{constants-RsPwfdJf.js → constants-D5Po9Lb5.js} +1 -1
  59. package/dist/client/assets/{constants-CWE1wq29.js → constants-P7U02cV2.js} +1 -1
  60. package/dist/client/assets/{dialog-VeABQIqc.js → dialog-59APH-gQ.js} +1 -1
  61. package/dist/client/assets/{domain-settings-2pYm6clh.js → domain-settings-BGvTcpHg.js} +1 -1
  62. package/dist/client/assets/{drawer-D7OQ4h1T.js → drawer-IJtapzyu.js} +1 -1
  63. package/dist/client/assets/{dropdown-menu-CPdBBQUU.js → dropdown-menu-B2SzMipC.js} +1 -1
  64. package/dist/client/assets/{dynamic-plugin-layout-T8gyrVC2.js → dynamic-plugin-layout-Drvp3rfz.js} +1 -1
  65. package/dist/client/assets/{empty-state-CrERbkuT.js → empty-state-DkaEz1nV.js} +1 -1
  66. package/dist/client/assets/{empty-state-S9xe6i3I.js → empty-state-i6xsv-YS.js} +1 -1
  67. package/dist/client/assets/{extract-connection-data-BQeAhwrY.js → extract-connection-data-B7tG5T45.js} +1 -1
  68. package/dist/client/assets/{features-B2uK7w_y.js → features-amfQ2FpE.js} +1 -1
  69. package/dist/client/assets/{form-JLSGdp7n.js → form-DZNe3M-o.js} +1 -1
  70. package/dist/client/assets/{general-0Zopjnmp.js → general-uTGUk0Bo.js} +1 -1
  71. package/dist/client/assets/{index-DqFd1_Ou.js → index-0FuZBqpL.js} +1 -1
  72. package/dist/client/assets/{index-BgW8ua3s.js → index-9smU3vak.js} +1 -1
  73. package/dist/client/assets/{index-Cyow5Z3q.js → index-B2WBo1WB.js} +1 -1
  74. package/dist/client/assets/{index-DdBKKPxs.js → index-B9Elrkih.js} +1 -1
  75. package/dist/client/assets/{index-Njoumabj.js → index-BT3jRQuX.js} +1 -1
  76. package/dist/client/assets/{index-DDErZWVi.js → index-B_OOgiEa.js} +2 -2
  77. package/dist/client/assets/{index-CeWLRM93.js → index-BlLtpzeQ.js} +1 -1
  78. package/dist/client/assets/{index-B35PIg0k.js → index-CemFt8yz.js} +1 -1
  79. package/dist/client/assets/{index-CWu36EWB.js → index-CfMT-svD.js} +1 -1
  80. package/dist/client/assets/{index-DAvXxT14.js → index-Cs0mksI2.js} +1 -1
  81. package/dist/client/assets/{index-Brtp4PAP.js → index-CsMR0Ypg.js} +1 -1
  82. package/dist/client/assets/{index-CesZkHwj.js → index-D9JwUOO_.js} +1 -1
  83. package/dist/client/assets/{index-Ca5_2L4b.js → index-DHTAzDdj.js} +1 -1
  84. package/dist/client/assets/{index-BuvWAXu5.js → index-PTvg3Wun.js} +1 -1
  85. package/dist/client/assets/{index-DN6qRLqz.js → index-_Kba4LMo.js} +3 -3
  86. package/dist/client/assets/{index-D_x_9ry-.js → index-s4QTWOmY.js} +1 -1
  87. package/dist/client/assets/{infiniteQueryObserver-D8Dut25K.js → infiniteQueryObserver-Djo7_6Dx.js} +1 -1
  88. package/dist/client/assets/{input-mPr-_Wkz.js → input-BQQp-6KZ.js} +1 -1
  89. package/dist/client/assets/{integration-icon-DBaPSUho.js → integration-icon-Box-itol.js} +1 -1
  90. package/dist/client/assets/{label-3-gb9Mfh.js → label-DC5mP9Z5.js} +1 -1
  91. package/dist/client/assets/{layout-CmzRa0Nb.js → layout-DtZHLBeB.js} +1 -1
  92. package/dist/client/assets/{lean-canvas-recruit-modal-D4edhHd5.js → lean-canvas-recruit-modal-Drc7dSHp.js} +1 -1
  93. package/dist/client/assets/{login-C-z-KQJy.js → login-pkkTGCaQ.js} +1 -1
  94. package/dist/client/assets/{members-BozGuU0c.js → members-CCFl4lVb.js} +1 -1
  95. package/dist/client/assets/{monaco-editor-BfP_aqvh.js → monaco-editor-Bx4gABcs.js} +1 -1
  96. package/dist/client/assets/{monitoring-stats-row-B51dMYWy.js → monitoring-stats-row-Bzr2EdBL.js} +1 -1
  97. package/dist/client/assets/{oauth-callback-5HwVk_9m.js → oauth-callback-D2WYRLXX.js} +1 -1
  98. package/dist/client/assets/{oauth-callback-ai-provider-CDjlMLfh.js → oauth-callback-ai-provider-DiQQcEIA.js} +1 -1
  99. package/dist/client/assets/{onboarding-tjBqLdVl.js → onboarding-C-xes3uo.js} +1 -1
  100. package/dist/client/assets/{org-layout-BWkVASJj.js → org-layout-d5JWtma9.js} +1 -1
  101. package/dist/client/assets/{org-plugin-layout-DYx1Oog9.js → org-plugin-layout-_jGAIDyT.js} +1 -1
  102. package/dist/client/assets/{pair-C0_kf-8-.js → pair-C1uVZAxc.js} +1 -1
  103. package/dist/client/assets/{plugin-empty-state-BYzIjFjW.js → plugin-empty-state-By7qsYCS.js} +1 -1
  104. package/dist/client/assets/{plugin-header-BgQH62F3.js → plugin-header-DmxH-nDy.js} +1 -1
  105. package/dist/client/assets/{plugin-layout-DZOAczkV.js → plugin-layout-DHq8VP6I.js} +1 -1
  106. package/dist/client/assets/{popover-DnPkEGaL.js → popover-BE2Ag2Hj.js} +1 -1
  107. package/dist/client/assets/{profile-Bk3W3VFa.js → profile-BiAUdeqZ.js} +1 -1
  108. package/dist/client/assets/{project-app-view-Pr8DzxWg.js → project-app-view-BWIUYPZS.js} +1 -1
  109. package/dist/client/assets/registry-CBHaV5Tp.js +2 -0
  110. package/dist/client/assets/{registry-layout-D1IqZv0l.js → registry-layout-D6WP-9Mz.js} +1 -1
  111. package/dist/client/assets/{required-auth-layout-BXiLDjox.js → required-auth-layout-78lMndsk.js} +1 -1
  112. package/dist/client/assets/{reset-password-CXOrskA0.js → reset-password-LLOtqeM3.js} +1 -1
  113. package/dist/client/assets/{roles-DKeVL_Vk.js → roles-CrIxGBCo.js} +1 -1
  114. package/dist/client/assets/{scroll-area-Bi0ICljU.js → scroll-area-BDlizEf_.js} +1 -1
  115. package/dist/client/assets/{search-input-Bv2SSEED.js → search-input-Ck2WpyGM.js} +1 -1
  116. package/dist/client/assets/{select-C0jYaD9l.js → select-Bibny-1X.js} +1 -1
  117. package/dist/client/assets/{select-model-GxB6dprW.js → select-model-CUnmfM2z.js} +1 -1
  118. package/dist/client/assets/{settings-layout-CMKqgYzn.js → settings-layout-DHrmC_DN.js} +1 -1
  119. package/dist/client/assets/{settings-section-DtN4ZHic.js → settings-section-BNYaFgEU.js} +1 -1
  120. package/dist/client/assets/{shell-layout-tb5uFFJK.js → shell-layout-BKENpmuK.js} +1 -1
  121. package/dist/client/assets/{skeleton-DxQ-428k.js → skeleton-D20a7YZ_.js} +1 -1
  122. package/dist/client/assets/{sso-DBqJfU28.js → sso-BS0m4Gbq.js} +1 -1
  123. package/dist/client/assets/{store-DWGyHob3.js → store-CxbfCzK1.js} +1 -1
  124. package/dist/client/assets/store-registry-DaiC69PW.js +2 -0
  125. package/dist/client/assets/{switch-BoKNT-B-.js → switch-B5LXqu_k.js} +1 -1
  126. package/dist/client/assets/{table-DUsaq02U.js → table-YZX5FqNR.js} +1 -1
  127. package/dist/client/assets/{tabs-De__eheK.js → tabs-DrXz1mKv.js} +1 -1
  128. package/dist/client/assets/{task-status-C_r8wvmS.js → task-status-50r4iWhu.js} +1 -1
  129. package/dist/client/assets/{textarea-C0unIP9X.js → textarea-B34jNm12.js} +1 -1
  130. package/dist/client/assets/{toggle-group-CjJ2xnFY.js → toggle-group-CrVa8CeF.js} +1 -1
  131. package/dist/client/assets/{tools-list-CJJv21mu.js → tools-list-DoRhQ4bQ.js} +1 -1
  132. package/dist/client/assets/{tooltip-6l925dLT.js → tooltip-7fE-WE8n.js} +1 -1
  133. package/dist/client/assets/{types-063PNzne.js → types-KIGJkxYN.js} +1 -1
  134. package/dist/client/assets/{use-ai-providers-CXJtJ3gs.js → use-ai-providers-BlHdNIJC.js} +1 -1
  135. package/dist/client/assets/{use-collections-Clscqpr6.js → use-collections-BvXCKCPf.js} +1 -1
  136. package/dist/client/assets/{use-connection-BONz3omb.js → use-connection-BHzWUZTk.js} +1 -1
  137. package/dist/client/assets/{use-copy-BMM4g8qh.js → use-copy-BM6tbEKn.js} +1 -1
  138. package/dist/client/assets/{use-create-virtual-mcp-L41f6BHk.js → use-create-virtual-mcp-B9su0hdd.js} +1 -1
  139. package/dist/client/assets/{use-debounced-autosave-B7SdViQU.js → use-debounced-autosave-BBrYSIAA.js} +1 -1
  140. package/dist/client/assets/{use-decopilot-events-CURKUwZC.js → use-decopilot-events-DUjp4NXe.js} +1 -1
  141. package/dist/client/assets/{use-delete-connection-DRmN2AAk.js → use-delete-connection-D8QH8qmD.js} +1 -1
  142. package/dist/client/assets/{use-infinite-scroll-CsVuEiLa.js → use-infinite-scroll-nwbx-KTg.js} +1 -1
  143. package/dist/client/assets/{use-list-state-Bsx4nOHW.js → use-list-state-DRAznPzR.js} +1 -1
  144. package/dist/client/assets/{use-mcp-tools-CGp3Yu6f.js → use-mcp-tools-DkrDenYe.js} +1 -1
  145. package/dist/client/assets/{use-members-LUjEaikV.js → use-members-H_2fli-8.js} +1 -1
  146. package/dist/client/assets/{use-navigate-to-agent-Btl0kxvD.js → use-navigate-to-agent-DM6COLbJ.js} +1 -1
  147. package/dist/client/assets/{use-org-auth-client-Bdgc183j.js → use-org-auth-client-DQZC7OFW.js} +1 -1
  148. package/dist/client/assets/{use-org-sso-ex6uAkHi.js → use-org-sso-LaD6hSpN.js} +1 -1
  149. package/dist/client/assets/{use-organization-roles-DsrGcTs6.js → use-organization-roles-Tf-ts5gx.js} +1 -1
  150. package/dist/client/assets/{use-organization-settings-DAE9VhMp.js → use-organization-settings-CXJ-uDFo.js} +1 -1
  151. package/dist/client/assets/{use-registry-connections-BneTMB19.js → use-registry-connections-BnSuTCtJ.js} +1 -1
  152. package/dist/client/assets/{use-status-sounds-C0CX0jN4.js → use-status-sounds-CW-esQf_.js} +1 -1
  153. package/dist/client/assets/{use-tasks-C50wbCHs.js → use-tasks-_5SYg2Al.js} +1 -1
  154. package/dist/client/assets/{use-view-mode-Bnx_K3_C.js → use-view-mode-C2T_AD4N.js} +1 -1
  155. package/dist/client/assets/{use-virtual-mcp-BlO6orHF.js → use-virtual-mcp-Bqk6k6NQ.js} +1 -1
  156. package/dist/client/assets/useInfiniteQuery-ZZ7aYlwI.js +1 -0
  157. package/dist/client/assets/useSuspenseInfiniteQuery-UOA0UYpI.js +1 -0
  158. package/dist/client/assets/{user-DUAXfww9.js → user-8chVVoiM.js} +1 -1
  159. package/dist/client/assets/{view-mode-toggle-DEaKPNk7.js → view-mode-toggle-Dg2K0IHy.js} +1 -1
  160. package/dist/client/assets/{workflow-DHCLn9f-.js → workflow-DLu1DTyd.js} +1 -1
  161. package/dist/client/assets/workflow-detail-c0UiiwlM.js +1 -0
  162. package/dist/client/index.html +1 -1
  163. package/dist/server/cli.js +56 -65
  164. package/dist/server/node_modules/figures/index.d.ts +279 -0
  165. package/dist/server/node_modules/figures/index.js +292 -0
  166. package/dist/server/node_modules/figures/package.json +49 -0
  167. package/dist/server/node_modules/figures/readme.md +337 -0
  168. package/dist/server/node_modules/get-east-asian-width/index.d.ts +60 -0
  169. package/dist/server/node_modules/get-east-asian-width/index.js +30 -0
  170. package/dist/server/node_modules/get-east-asian-width/lookup-data.js +18 -0
  171. package/dist/server/node_modules/get-east-asian-width/lookup.js +135 -0
  172. package/dist/server/node_modules/get-east-asian-width/package.json +71 -0
  173. package/dist/server/node_modules/get-east-asian-width/readme.md +65 -0
  174. package/dist/server/node_modules/get-east-asian-width/utilities.js +24 -0
  175. package/dist/server/node_modules/mimic-fn/index.d.ts +54 -0
  176. package/dist/server/node_modules/mimic-fn/index.js +13 -0
  177. package/dist/server/node_modules/{onetime → mimic-fn}/license +1 -1
  178. package/dist/server/node_modules/{onetime → mimic-fn}/package.json +15 -16
  179. package/dist/server/node_modules/mimic-fn/readme.md +69 -0
  180. package/dist/server/node_modules/pg/LICENSE +21 -0
  181. package/dist/server/node_modules/pg/README.md +95 -0
  182. package/dist/server/node_modules/pg/esm/index.mjs +20 -0
  183. package/dist/server/node_modules/pg/lib/client.js +743 -0
  184. package/dist/server/node_modules/pg/lib/connection-parameters.js +171 -0
  185. package/dist/server/node_modules/pg/lib/connection.js +221 -0
  186. package/dist/server/node_modules/pg/lib/crypto/cert-signatures.js +122 -0
  187. package/dist/server/node_modules/pg/lib/crypto/sasl.js +212 -0
  188. package/dist/server/node_modules/pg/lib/crypto/utils-legacy.js +43 -0
  189. package/dist/server/node_modules/pg/lib/crypto/utils-webcrypto.js +89 -0
  190. package/dist/server/node_modules/pg/lib/crypto/utils.js +9 -0
  191. package/dist/server/node_modules/pg/lib/defaults.js +91 -0
  192. package/dist/server/node_modules/pg/lib/index.js +73 -0
  193. package/dist/server/node_modules/pg/lib/native/client.js +323 -0
  194. package/dist/server/node_modules/pg/lib/native/index.js +2 -0
  195. package/dist/server/node_modules/pg/lib/native/query.js +165 -0
  196. package/dist/server/node_modules/pg/lib/query.js +252 -0
  197. package/dist/server/node_modules/pg/lib/result.js +109 -0
  198. package/dist/server/node_modules/pg/lib/stream.js +83 -0
  199. package/dist/server/node_modules/pg/lib/type-overrides.js +35 -0
  200. package/dist/server/node_modules/pg/lib/utils.js +217 -0
  201. package/dist/server/node_modules/pg/package.json +76 -0
  202. package/dist/server/node_modules/postgres-array/index.d.ts +4 -0
  203. package/dist/server/node_modules/postgres-array/index.js +97 -0
  204. package/dist/server/node_modules/{xtend/LICENSE → postgres-array/license} +2 -1
  205. package/dist/server/node_modules/postgres-array/package.json +35 -0
  206. package/dist/server/node_modules/postgres-array/readme.md +43 -0
  207. package/dist/server/node_modules/postgres-date/index.js +116 -0
  208. package/dist/server/node_modules/postgres-date/license +21 -0
  209. package/dist/server/node_modules/postgres-date/package.json +33 -0
  210. package/dist/server/node_modules/postgres-date/readme.md +49 -0
  211. package/dist/server/node_modules/split2/LICENSE +13 -0
  212. package/dist/server/node_modules/split2/README.md +85 -0
  213. package/dist/server/node_modules/split2/bench.js +27 -0
  214. package/dist/server/node_modules/split2/index.js +141 -0
  215. package/dist/server/node_modules/split2/package.json +39 -0
  216. package/dist/server/node_modules/split2/test.js +409 -0
  217. package/dist/server/server.js +55 -64
  218. package/package.json +1 -1
  219. package/dist/client/assets/ai-providers-DERjwW01.js +0 -1
  220. package/dist/client/assets/registry-JtQ5iqN-.js +0 -2
  221. package/dist/client/assets/store-registry-DRlN5Ein.js +0 -2
  222. package/dist/client/assets/useInfiniteQuery-C6j5jRkd.js +0 -1
  223. package/dist/client/assets/useSuspenseInfiniteQuery-Lk0XRceb.js +0 -1
  224. package/dist/client/assets/workflow-detail-DMKespmd.js +0 -1
  225. package/dist/server/node_modules/ansi-regex/index.d.ts +0 -33
  226. package/dist/server/node_modules/ansi-regex/index.js +0 -14
  227. package/dist/server/node_modules/ansi-regex/package.json +0 -61
  228. package/dist/server/node_modules/ansi-regex/readme.md +0 -66
  229. package/dist/server/node_modules/ansi-styles/index.d.ts +0 -236
  230. package/dist/server/node_modules/ansi-styles/index.js +0 -223
  231. package/dist/server/node_modules/ansi-styles/package.json +0 -54
  232. package/dist/server/node_modules/ansi-styles/readme.md +0 -173
  233. package/dist/server/node_modules/onetime/index.d.ts +0 -64
  234. package/dist/server/node_modules/onetime/index.js +0 -44
  235. package/dist/server/node_modules/onetime/readme.md +0 -94
  236. package/dist/server/node_modules/xtend/.jshintrc +0 -30
  237. package/dist/server/node_modules/xtend/README.md +0 -32
  238. package/dist/server/node_modules/xtend/immutable.js +0 -19
  239. package/dist/server/node_modules/xtend/mutable.js +0 -17
  240. package/dist/server/node_modules/xtend/package.json +0 -55
  241. package/dist/server/node_modules/xtend/test.js +0 -103
  242. /package/dist/server/node_modules/{ansi-regex → figures}/license +0 -0
  243. /package/dist/server/node_modules/{ansi-styles → get-east-asian-width}/license +0 -0
@@ -0,0 +1,337 @@
1
+ # figures
2
+
3
+ > Unicode symbols with fallbacks for older terminals
4
+
5
+ [![](screenshot.png)](index.js)
6
+
7
+ [*and more...*](index.js)
8
+
9
+ Terminals such as Windows Console Host (and CMD) only support a [limited character set](http://en.wikipedia.org/wiki/Code_page_437).
10
+
11
+ ## Install
12
+
13
+ ```sh
14
+ npm install figures
15
+ ```
16
+
17
+ ## Usage
18
+
19
+ ```js
20
+ import figures, {mainSymbols, fallbackSymbols, replaceSymbols} from 'figures';
21
+
22
+ console.log(figures.tick);
23
+ // On terminals with Unicode symbols: ✔
24
+ // On other terminals: √
25
+
26
+ console.log(mainSymbols.tick);
27
+ // On all terminals: ✔
28
+
29
+ console.log(fallbackSymbols.tick);
30
+ // On all terminals: √
31
+
32
+ console.log(replaceSymbols('✔ check'));
33
+ // On terminals with Unicode symbols: ✔ check
34
+ // On other terminals: √ check
35
+ ```
36
+
37
+ ## API
38
+
39
+ ### figures (default export)
40
+
41
+ Type: `object`
42
+
43
+ Symbols to use on any terminal.
44
+
45
+ ### mainSymbols
46
+
47
+ Symbols to use when the terminal supports Unicode symbols.
48
+
49
+ ### fallbackSymbols
50
+
51
+ Symbols to use when the terminal does not support Unicode symbols.
52
+
53
+ ### replaceSymbols(string, options?)
54
+
55
+ Returns the input with replaced fallback symbols if the terminal has poor Unicode support.
56
+
57
+ All the below [figures](#figures) are attached to the default export as shown in the example above.
58
+
59
+ #### string
60
+
61
+ Type: `string`
62
+
63
+ String where the Unicode symbols will be replaced with fallback symbols depending on the terminal.
64
+
65
+ #### options
66
+
67
+ Type: `object`
68
+
69
+ ##### useFallback
70
+
71
+ Type: `boolean`\
72
+ Default: `true` if the terminal has poor Unicode support
73
+
74
+ Whether to replace symbols with fallbacks.
75
+
76
+ This can be set to `true` to always use fallback symbols, whether the terminal has poor Unicode support or not.
77
+
78
+ ```js
79
+ import {replaceSymbols} from 'figures';
80
+
81
+ console.log(replaceSymbols('✔ check', {useFallback: true}));
82
+ // On terminals with Unicode symbols: √ check
83
+ // On other terminals: √ check
84
+ ```
85
+
86
+ ## Figures
87
+
88
+ `Fallback` characters are only shown when they differ from the `Main` ones.
89
+
90
+ | Name | Main | Fallback |
91
+ | ------------------------------------------- | :--: | :------: |
92
+ | tick | `✔` | `√` |
93
+ | info | `ℹ` | `i` |
94
+ | warning | `⚠` | `‼` |
95
+ | cross | `✘` | `×` |
96
+ | square | `█` | |
97
+ | squareSmall | `◻` | `□` |
98
+ | squareSmallFilled | `◼` | `■` |
99
+ | squareDarkShade | `▓` | |
100
+ | squareMediumShade | `▒` | |
101
+ | squareLightShade | `░` | |
102
+ | squareTop | `▀` | |
103
+ | squareBottom | `▄` | |
104
+ | squareLeft | `▌` | |
105
+ | squareRight | `▐` | |
106
+ | squareCenter | `■` | |
107
+ | circle | `◯` | `( )` |
108
+ | circleFilled | `◉` | `(*)` |
109
+ | circleDotted | `◌` | `( )` |
110
+ | circleDouble | `◎` | `( )` |
111
+ | circleCircle | `ⓞ` | `(○)` |
112
+ | circleCross | `ⓧ` | `(×)` |
113
+ | circlePipe | `Ⓘ` | `(│)` |
114
+ | circleQuestionMark | `?⃝ ` | `(?)` |
115
+ | radioOn | `◉` | `(*)` |
116
+ | radioOff | `◯` | `( )` |
117
+ | checkboxOn | `☒` | `[×]` |
118
+ | checkboxOff | `☐` | `[ ]` |
119
+ | checkboxCircleOn | `ⓧ` | `(×)` |
120
+ | checkboxCircleOff | `Ⓘ` | `( )` |
121
+ | questionMarkPrefix | `?⃝ ` | `?` |
122
+ | bullet | `●` | |
123
+ | dot | `․` | |
124
+ | ellipsis | `…` | |
125
+ | pointer | `❯` | `>` |
126
+ | pointerSmall | `›` | `›` |
127
+ | triangleUp | `▲` | |
128
+ | triangleUpSmall | `▴` | |
129
+ | triangleUpOutline | `△` | `∆` |
130
+ | triangleDown | `▼` | |
131
+ | triangleDownSmall | `▾` | |
132
+ | triangleLeft | `◀` | `◄` |
133
+ | triangleLeftSmall | `◂` | |
134
+ | triangleRight | `▶` | `►` |
135
+ | triangleRightSmall | `▸` | |
136
+ | lozenge | `◆` | `♦` |
137
+ | lozengeOutline | `◇` | `◊` |
138
+ | home | `⌂` | |
139
+ | hamburger | `☰` | `≡` |
140
+ | smiley | `㋡` | `☺` |
141
+ | mustache | `෴` | `┌─┐` |
142
+ | heart | `♥` | |
143
+ | star | `★` | `✶` |
144
+ | play | `▶` | `►` |
145
+ | musicNote | `♪` | |
146
+ | musicNoteBeamed | `♫` | |
147
+ | nodejs | `⬢` | `♦` |
148
+ | arrowUp | `↑` | |
149
+ | arrowDown | `↓` | |
150
+ | arrowLeft | `←` | |
151
+ | arrowRight | `→` | |
152
+ | arrowLeftRight | `↔` | |
153
+ | arrowUpDown | `↕` | |
154
+ | almostEqual | `≈` | |
155
+ | notEqual | `≠` | |
156
+ | lessOrEqual | `≤` | |
157
+ | greaterOrEqual | `≥` | |
158
+ | identical | `≡` | |
159
+ | infinity | `∞` | |
160
+ | subscriptZero | `₀` | |
161
+ | subscriptOne | `₁` | |
162
+ | subscriptTwo | `₂` | |
163
+ | subscriptThree | `₃` | |
164
+ | subscriptFour | `₄` | |
165
+ | subscriptFive | `₅` | |
166
+ | subscriptSix | `₆` | |
167
+ | subscriptSeven | `₇` | |
168
+ | subscriptEight | `₈` | |
169
+ | subscriptNine | `₉` | |
170
+ | oneHalf | `½` | |
171
+ | oneThird | `⅓` | |
172
+ | oneQuarter | `¼` | |
173
+ | oneFifth | `⅕` | |
174
+ | oneSixth | `⅙` | |
175
+ | oneSeventh | `⅐` | `1/7` |
176
+ | oneEighth | `⅛` | |
177
+ | oneNinth | `⅑` | `1/9` |
178
+ | oneTenth | `⅒` | `1/10` |
179
+ | twoThirds | `⅔` | |
180
+ | twoFifths | `⅖` | |
181
+ | threeQuarters | `¾` | |
182
+ | threeFifths | `⅗` | |
183
+ | threeEighths | `⅜` | |
184
+ | fourFifths | `⅘` | |
185
+ | fiveSixths | `⅚` | |
186
+ | fiveEighths | `⅝` | |
187
+ | sevenEighths | `⅞` | |
188
+ | line | `─` | |
189
+ | lineBold | `━` | |
190
+ | lineDouble | `═` | |
191
+ | lineDashed0 | `┄` | |
192
+ | lineDashed1 | `┅` | |
193
+ | lineDashed2 | `┈` | |
194
+ | lineDashed3 | `┉` | |
195
+ | lineDashed4 | `╌` | |
196
+ | lineDashed5 | `╍` | |
197
+ | lineDashed6 | `╴` | |
198
+ | lineDashed7 | `╶` | |
199
+ | lineDashed8 | `╸` | |
200
+ | lineDashed9 | `╺` | |
201
+ | lineDashed10 | `╼` | |
202
+ | lineDashed11 | `╾` | |
203
+ | lineDashed12 | `−` | |
204
+ | lineDashed13 | `–` | |
205
+ | lineDashed14 | `‐` | |
206
+ | lineDashed15 | `⁃` | |
207
+ | lineVertical | `│` | |
208
+ | lineVerticalBold | `┃` | |
209
+ | lineVerticalDouble | `║` | |
210
+ | lineVerticalDashed0 | `┆` | |
211
+ | lineVerticalDashed1 | `┇` | |
212
+ | lineVerticalDashed2 | `┊` | |
213
+ | lineVerticalDashed3 | `┋` | |
214
+ | lineVerticalDashed4 | `╎` | |
215
+ | lineVerticalDashed5 | `╏` | |
216
+ | lineVerticalDashed6 | `╵` | |
217
+ | lineVerticalDashed7 | `╷` | |
218
+ | lineVerticalDashed8 | `╹` | |
219
+ | lineVerticalDashed9 | `╻` | |
220
+ | lineVerticalDashed10 | `╽` | |
221
+ | lineVerticalDashed11 | `╿` | |
222
+ | lineDownLeft | `┐` | |
223
+ | lineDownLeftArc | `╮` | |
224
+ | lineDownBoldLeftBold | `┓` | |
225
+ | lineDownBoldLeft | `┒` | |
226
+ | lineDownLeftBold | `┑` | |
227
+ | lineDownDoubleLeftDouble | `╗` | |
228
+ | lineDownDoubleLeft | `╖` | |
229
+ | lineDownLeftDouble | `╕` | |
230
+ | lineDownRight | `┌` | |
231
+ | lineDownRightArc | `╭` | |
232
+ | lineDownBoldRightBold | `┏` | |
233
+ | lineDownBoldRight | `┎` | |
234
+ | lineDownRightBold | `┍` | |
235
+ | lineDownDoubleRightDouble | `╔` | |
236
+ | lineDownDoubleRight | `╓` | |
237
+ | lineDownRightDouble | `╒` | |
238
+ | lineUpLeft | `┘` | |
239
+ | lineUpLeftArc | `╯` | |
240
+ | lineUpBoldLeftBold | `┛` | |
241
+ | lineUpBoldLeft | `┚` | |
242
+ | lineUpLeftBold | `┙` | |
243
+ | lineUpDoubleLeftDouble | `╝` | |
244
+ | lineUpDoubleLeft | `╜` | |
245
+ | lineUpLeftDouble | `╛` | |
246
+ | lineUpRight | `└` | |
247
+ | lineUpRightArc | `╰` | |
248
+ | lineUpBoldRightBold | `┗` | |
249
+ | lineUpBoldRight | `┖` | |
250
+ | lineUpRightBold | `┕` | |
251
+ | lineUpDoubleRightDouble | `╚` | |
252
+ | lineUpDoubleRight | `╙` | |
253
+ | lineUpRightDouble | `╘` | |
254
+ | lineUpDownLeft | `┤` | |
255
+ | lineUpBoldDownBoldLeftBold | `┫` | |
256
+ | lineUpBoldDownBoldLeft | `┨` | |
257
+ | lineUpDownLeftBold | `┥` | |
258
+ | lineUpBoldDownLeftBold | `┩` | |
259
+ | lineUpDownBoldLeftBold | `┪` | |
260
+ | lineUpDownBoldLeft | `┧` | |
261
+ | lineUpBoldDownLeft | `┦` | |
262
+ | lineUpDoubleDownDoubleLeftDouble | `╣` | |
263
+ | lineUpDoubleDownDoubleLeft | `╢` | |
264
+ | lineUpDownLeftDouble | `╡` | |
265
+ | lineUpDownRight | `├` | |
266
+ | lineUpBoldDownBoldRightBold | `┣` | |
267
+ | lineUpBoldDownBoldRight | `┠` | |
268
+ | lineUpDownRightBold | `┝` | |
269
+ | lineUpBoldDownRightBold | `┡` | |
270
+ | lineUpDownBoldRightBold | `┢` | |
271
+ | lineUpDownBoldRight | `┟` | |
272
+ | lineUpBoldDownRight | `┞` | |
273
+ | lineUpDoubleDownDoubleRightDouble | `╠` | |
274
+ | lineUpDoubleDownDoubleRight | `╟` | |
275
+ | lineUpDownRightDouble | `╞` | |
276
+ | lineDownLeftRight | `┬` | |
277
+ | lineDownBoldLeftBoldRightBold | `┳` | |
278
+ | lineDownLeftBoldRightBold | `┯` | |
279
+ | lineDownBoldLeftRight | `┰` | |
280
+ | lineDownBoldLeftBoldRight | `┱` | |
281
+ | lineDownBoldLeftRightBold | `┲` | |
282
+ | lineDownLeftRightBold | `┮` | |
283
+ | lineDownLeftBoldRight | `┭` | |
284
+ | lineDownDoubleLeftDoubleRightDouble | `╦` | |
285
+ | lineDownDoubleLeftRight | `╥` | |
286
+ | lineDownLeftDoubleRightDouble | `╤` | |
287
+ | lineUpLeftRight | `┴` | |
288
+ | lineUpBoldLeftBoldRightBold | `┻` | |
289
+ | lineUpLeftBoldRightBold | `┷` | |
290
+ | lineUpBoldLeftRight | `┸` | |
291
+ | lineUpBoldLeftBoldRight | `┹` | |
292
+ | lineUpBoldLeftRightBold | `┺` | |
293
+ | lineUpLeftRightBold | `┶` | |
294
+ | lineUpLeftBoldRight | `┵` | |
295
+ | lineUpDoubleLeftDoubleRightDouble | `╩` | |
296
+ | lineUpDoubleLeftRight | `╨` | |
297
+ | lineUpLeftDoubleRightDouble | `╧` | |
298
+ | lineUpDownLeftRight | `┼` | |
299
+ | lineUpBoldDownBoldLeftBoldRightBold | `╋` | |
300
+ | lineUpDownBoldLeftBoldRightBold | `╈` | |
301
+ | lineUpBoldDownLeftBoldRightBold | `╇` | |
302
+ | lineUpBoldDownBoldLeftRightBold | `╊` | |
303
+ | lineUpBoldDownBoldLeftBoldRight | `╉` | |
304
+ | lineUpBoldDownLeftRight | `╀` | |
305
+ | lineUpDownBoldLeftRight | `╁` | |
306
+ | lineUpDownLeftBoldRight | `┽` | |
307
+ | lineUpDownLeftRightBold | `┾` | |
308
+ | lineUpBoldDownBoldLeftRight | `╂` | |
309
+ | lineUpDownLeftBoldRightBold | `┿` | |
310
+ | lineUpBoldDownLeftBoldRight | `╃` | |
311
+ | lineUpBoldDownLeftRightBold | `╄` | |
312
+ | lineUpDownBoldLeftBoldRight | `╅` | |
313
+ | lineUpDownBoldLeftRightBold | `╆` | |
314
+ | lineUpDoubleDownDoubleLeftDoubleRightDouble | `╬` | |
315
+ | lineUpDoubleDownDoubleLeftRight | `╫` | |
316
+ | lineUpDownLeftDoubleRightDouble | `╪` | |
317
+ | lineCross | `╳` | |
318
+ | lineBackslash | `╲` | |
319
+ | lineSlash | `╱` | |
320
+
321
+ ## Other characters
322
+
323
+ If you cannot find the character you're looking for in the table above, please look at this full list of [cross-platform terminal characters](https://github.com/ehmicky/cross-platform-terminal-characters).
324
+
325
+ ## Unsupported terminals
326
+
327
+ The following terminals are not officially supported:
328
+
329
+ - xterm
330
+ - Linux Terminal (kernel)
331
+ - cmder
332
+
333
+ They can display most but not all of the symbols listed above.
334
+
335
+ ## Related
336
+
337
+ - [log-symbols](https://github.com/sindresorhus/log-symbols) - Colored symbols for various log levels
@@ -0,0 +1,60 @@
1
+ export type WidthType = 'fullwidth' | 'halfwidth' | 'wide' | 'narrow' | 'neutral' | 'ambiguous';
2
+
3
+ export type Options = {
4
+ /**
5
+ Whether to treat an `'ambiguous'` character as wide.
6
+
7
+ @default true
8
+
9
+ @example
10
+ ```
11
+ import {eastAsianWidth} from 'get-east-asian-width';
12
+
13
+ const codePoint = '⛣'.codePointAt(0);
14
+
15
+ console.log(eastAsianWidth(codePoint));
16
+ //=> 1
17
+
18
+ console.log(eastAsianWidth(codePoint, {ambiguousAsWide: true}));
19
+ //=> 2
20
+ ```
21
+
22
+ > 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.__
23
+ > - http://www.unicode.org/reports/tr11/
24
+ */
25
+ readonly ambiguousAsWide?: boolean;
26
+ };
27
+
28
+ /**
29
+ Returns the width as a number for the given code point.
30
+
31
+ @param codePoint - A Unicode code point.
32
+
33
+ @example
34
+ ```
35
+ import {eastAsianWidth} from 'get-east-asian-width';
36
+
37
+ const codePoint = '字'.codePointAt(0);
38
+
39
+ console.log(eastAsianWidth(codePoint));
40
+ //=> 2
41
+ ```
42
+ */
43
+ export function eastAsianWidth(codePoint: number, options?: Options): 1 | 2;
44
+
45
+ /**
46
+ Returns the type of “East Asian Width” for the given code point.
47
+
48
+ @param codePoint - A Unicode code point.
49
+
50
+ @example
51
+ ```
52
+ import {eastAsianWidthType} from 'get-east-asian-width';
53
+
54
+ const codePoint = '字'.codePointAt(0);
55
+
56
+ console.log(eastAsianWidthType(codePoint));
57
+ //=> 'wide'
58
+ ```
59
+ */
60
+ export function eastAsianWidthType(codePoint: number): WidthType;
@@ -0,0 +1,30 @@
1
+ import {getCategory, isAmbiguous, isFullWidth, isWide} from './lookup.js';
2
+
3
+ function validate(codePoint) {
4
+ if (!Number.isSafeInteger(codePoint)) {
5
+ throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
6
+ }
7
+ }
8
+
9
+ export function eastAsianWidthType(codePoint) {
10
+ validate(codePoint);
11
+
12
+ return getCategory(codePoint);
13
+ }
14
+
15
+ export function eastAsianWidth(codePoint, {ambiguousAsWide = false} = {}) {
16
+ validate(codePoint);
17
+
18
+ if (
19
+ isFullWidth(codePoint)
20
+ || isWide(codePoint)
21
+ || (ambiguousAsWide && isAmbiguous(codePoint))
22
+ ) {
23
+ return 2;
24
+ }
25
+
26
+ return 1;
27
+ }
28
+
29
+ // Private exports for https://github.com/sindresorhus/is-fullwidth-code-point
30
+ export {isFullWidth as _isFullWidth, isWide as _isWide} from './lookup.js';
@@ -0,0 +1,18 @@
1
+ // Generated by scripts/build.js
2
+
3
+ // prettier-ignore
4
+ const ambiguousRanges = [161, 161, 164, 164, 167, 168, 170, 170, 173, 174, 176, 180, 182, 186, 188, 191, 198, 198, 208, 208, 215, 216, 222, 225, 230, 230, 232, 234, 236, 237, 240, 240, 242, 243, 247, 250, 252, 252, 254, 254, 257, 257, 273, 273, 275, 275, 283, 283, 294, 295, 299, 299, 305, 307, 312, 312, 319, 322, 324, 324, 328, 331, 333, 333, 338, 339, 358, 359, 363, 363, 462, 462, 464, 464, 466, 466, 468, 468, 470, 470, 472, 472, 474, 474, 476, 476, 593, 593, 609, 609, 708, 708, 711, 711, 713, 715, 717, 717, 720, 720, 728, 731, 733, 733, 735, 735, 768, 879, 913, 929, 931, 937, 945, 961, 963, 969, 1025, 1025, 1040, 1103, 1105, 1105, 8208, 8208, 8211, 8214, 8216, 8217, 8220, 8221, 8224, 8226, 8228, 8231, 8240, 8240, 8242, 8243, 8245, 8245, 8251, 8251, 8254, 8254, 8308, 8308, 8319, 8319, 8321, 8324, 8364, 8364, 8451, 8451, 8453, 8453, 8457, 8457, 8467, 8467, 8470, 8470, 8481, 8482, 8486, 8486, 8491, 8491, 8531, 8532, 8539, 8542, 8544, 8555, 8560, 8569, 8585, 8585, 8592, 8601, 8632, 8633, 8658, 8658, 8660, 8660, 8679, 8679, 8704, 8704, 8706, 8707, 8711, 8712, 8715, 8715, 8719, 8719, 8721, 8721, 8725, 8725, 8730, 8730, 8733, 8736, 8739, 8739, 8741, 8741, 8743, 8748, 8750, 8750, 8756, 8759, 8764, 8765, 8776, 8776, 8780, 8780, 8786, 8786, 8800, 8801, 8804, 8807, 8810, 8811, 8814, 8815, 8834, 8835, 8838, 8839, 8853, 8853, 8857, 8857, 8869, 8869, 8895, 8895, 8978, 8978, 9312, 9449, 9451, 9547, 9552, 9587, 9600, 9615, 9618, 9621, 9632, 9633, 9635, 9641, 9650, 9651, 9654, 9655, 9660, 9661, 9664, 9665, 9670, 9672, 9675, 9675, 9678, 9681, 9698, 9701, 9711, 9711, 9733, 9734, 9737, 9737, 9742, 9743, 9756, 9756, 9758, 9758, 9792, 9792, 9794, 9794, 9824, 9825, 9827, 9829, 9831, 9834, 9836, 9837, 9839, 9839, 9886, 9887, 9919, 9919, 9926, 9933, 9935, 9939, 9941, 9953, 9955, 9955, 9960, 9961, 9963, 9969, 9972, 9972, 9974, 9977, 9979, 9980, 9982, 9983, 10045, 10045, 10102, 10111, 11094, 11097, 12872, 12879, 57344, 63743, 65024, 65039, 65533, 65533, 127232, 127242, 127248, 127277, 127280, 127337, 127344, 127373, 127375, 127376, 127387, 127404, 917760, 917999, 983040, 1048573, 1048576, 1114109];
5
+
6
+ // prettier-ignore
7
+ const fullwidthRanges = [12288, 12288, 65281, 65376, 65504, 65510];
8
+
9
+ // prettier-ignore
10
+ const halfwidthRanges = [8361, 8361, 65377, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500, 65512, 65518];
11
+
12
+ // prettier-ignore
13
+ const narrowRanges = [32, 126, 162, 163, 165, 166, 172, 172, 175, 175, 10214, 10221, 10629, 10630];
14
+
15
+ // prettier-ignore
16
+ const wideRanges = [4352, 4447, 8986, 8987, 9001, 9002, 9193, 9196, 9200, 9200, 9203, 9203, 9725, 9726, 9748, 9749, 9776, 9783, 9800, 9811, 9855, 9855, 9866, 9871, 9875, 9875, 9889, 9889, 9898, 9899, 9917, 9918, 9924, 9925, 9934, 9934, 9940, 9940, 9962, 9962, 9970, 9971, 9973, 9973, 9978, 9978, 9981, 9981, 9989, 9989, 9994, 9995, 10024, 10024, 10060, 10060, 10062, 10062, 10067, 10069, 10071, 10071, 10133, 10135, 10160, 10160, 10175, 10175, 11035, 11036, 11088, 11088, 11093, 11093, 11904, 11929, 11931, 12019, 12032, 12245, 12272, 12287, 12289, 12350, 12353, 12438, 12441, 12543, 12549, 12591, 12593, 12686, 12688, 12773, 12783, 12830, 12832, 12871, 12880, 42124, 42128, 42182, 43360, 43388, 44032, 55203, 63744, 64255, 65040, 65049, 65072, 65106, 65108, 65126, 65128, 65131, 94176, 94180, 94192, 94198, 94208, 101589, 101631, 101662, 101760, 101874, 110576, 110579, 110581, 110587, 110589, 110590, 110592, 110882, 110898, 110898, 110928, 110930, 110933, 110933, 110948, 110951, 110960, 111355, 119552, 119638, 119648, 119670, 126980, 126980, 127183, 127183, 127374, 127374, 127377, 127386, 127488, 127490, 127504, 127547, 127552, 127560, 127568, 127569, 127584, 127589, 127744, 127776, 127789, 127797, 127799, 127868, 127870, 127891, 127904, 127946, 127951, 127955, 127968, 127984, 127988, 127988, 127992, 128062, 128064, 128064, 128066, 128252, 128255, 128317, 128331, 128334, 128336, 128359, 128378, 128378, 128405, 128406, 128420, 128420, 128507, 128591, 128640, 128709, 128716, 128716, 128720, 128722, 128725, 128728, 128732, 128735, 128747, 128748, 128756, 128764, 128992, 129003, 129008, 129008, 129292, 129338, 129340, 129349, 129351, 129535, 129648, 129660, 129664, 129674, 129678, 129734, 129736, 129736, 129741, 129756, 129759, 129770, 129775, 129784, 131072, 196605, 196608, 262141];
17
+
18
+ export {ambiguousRanges, fullwidthRanges, halfwidthRanges, narrowRanges, wideRanges};
@@ -0,0 +1,135 @@
1
+ import {
2
+ ambiguousRanges,
3
+ fullwidthRanges,
4
+ halfwidthRanges,
5
+ narrowRanges,
6
+ wideRanges,
7
+ } from './lookup-data.js';
8
+ import {isInRange} from './utilities.js';
9
+
10
+ const minimumAmbiguousCodePoint = ambiguousRanges[0];
11
+ const maximumAmbiguousCodePoint = ambiguousRanges.at(-1);
12
+ const minimumFullWidthCodePoint = fullwidthRanges[0];
13
+ const maximumFullWidthCodePoint = fullwidthRanges.at(-1);
14
+ const minimumHalfWidthCodePoint = halfwidthRanges[0];
15
+ const maximumHalfWidthCodePoint = halfwidthRanges.at(-1);
16
+ const minimumNarrowCodePoint = narrowRanges[0];
17
+ const maximumNarrowCodePoint = narrowRanges.at(-1);
18
+ const minimumWideCodePoint = wideRanges[0];
19
+ const maximumWideCodePoint = wideRanges.at(-1);
20
+
21
+ const commonCjkCodePoint = 0x4E_00;
22
+ const [wideFastPathStart, wideFastPathEnd] = findWideFastPathRange(wideRanges);
23
+
24
+ // Use a hot-path range so common `isWide` calls can skip binary search.
25
+ // The range containing U+4E00 covers common CJK ideographs;
26
+ // fallback to the largest range for resilience to Unicode table changes.
27
+ function findWideFastPathRange(ranges) {
28
+ let fastPathStart = ranges[0];
29
+ let fastPathEnd = ranges[1];
30
+
31
+ for (let index = 0; index < ranges.length; index += 2) {
32
+ const start = ranges[index];
33
+ const end = ranges[index + 1];
34
+
35
+ if (
36
+ commonCjkCodePoint >= start
37
+ && commonCjkCodePoint <= end
38
+ ) {
39
+ return [start, end];
40
+ }
41
+
42
+ if ((end - start) > (fastPathEnd - fastPathStart)) {
43
+ fastPathStart = start;
44
+ fastPathEnd = end;
45
+ }
46
+ }
47
+
48
+ return [fastPathStart, fastPathEnd];
49
+ }
50
+
51
+ export const isAmbiguous = codePoint => {
52
+ if (
53
+ codePoint < minimumAmbiguousCodePoint
54
+ || codePoint > maximumAmbiguousCodePoint
55
+ ) {
56
+ return false;
57
+ }
58
+
59
+ return isInRange(ambiguousRanges, codePoint);
60
+ };
61
+
62
+ export const isFullWidth = codePoint => {
63
+ if (
64
+ codePoint < minimumFullWidthCodePoint
65
+ || codePoint > maximumFullWidthCodePoint
66
+ ) {
67
+ return false;
68
+ }
69
+
70
+ return isInRange(fullwidthRanges, codePoint);
71
+ };
72
+
73
+ const isHalfWidth = codePoint => {
74
+ if (
75
+ codePoint < minimumHalfWidthCodePoint
76
+ || codePoint > maximumHalfWidthCodePoint
77
+ ) {
78
+ return false;
79
+ }
80
+
81
+ return isInRange(halfwidthRanges, codePoint);
82
+ };
83
+
84
+ const isNarrow = codePoint => {
85
+ if (
86
+ codePoint < minimumNarrowCodePoint
87
+ || codePoint > maximumNarrowCodePoint
88
+ ) {
89
+ return false;
90
+ }
91
+
92
+ return isInRange(narrowRanges, codePoint);
93
+ };
94
+
95
+ export const isWide = codePoint => {
96
+ if (
97
+ codePoint >= wideFastPathStart
98
+ && codePoint <= wideFastPathEnd
99
+ ) {
100
+ return true;
101
+ }
102
+
103
+ if (
104
+ codePoint < minimumWideCodePoint
105
+ || codePoint > maximumWideCodePoint
106
+ ) {
107
+ return false;
108
+ }
109
+
110
+ return isInRange(wideRanges, codePoint);
111
+ };
112
+
113
+ export function getCategory(codePoint) {
114
+ if (isAmbiguous(codePoint)) {
115
+ return 'ambiguous';
116
+ }
117
+
118
+ if (isFullWidth(codePoint)) {
119
+ return 'fullwidth';
120
+ }
121
+
122
+ if (isHalfWidth(codePoint)) {
123
+ return 'halfwidth';
124
+ }
125
+
126
+ if (isNarrow(codePoint)) {
127
+ return 'narrow';
128
+ }
129
+
130
+ if (isWide(codePoint)) {
131
+ return 'wide';
132
+ }
133
+
134
+ return 'neutral';
135
+ }
@@ -0,0 +1,71 @@
1
+ {
2
+ "name": "get-east-asian-width",
3
+ "version": "1.5.0",
4
+ "description": "Determine the East Asian Width of a Unicode character",
5
+ "license": "MIT",
6
+ "repository": "sindresorhus/get-east-asian-width",
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 && tsc index.d.ts",
24
+ "build": "node scripts/build.js",
25
+ "prepublish": "npm run build"
26
+ },
27
+ "files": [
28
+ "index.js",
29
+ "index.d.ts",
30
+ "lookup.js",
31
+ "lookup-data.js",
32
+ "utilities.js"
33
+ ],
34
+ "keywords": [
35
+ "unicode",
36
+ "east-asian-width",
37
+ "eastasianwidth",
38
+ "character",
39
+ "string",
40
+ "width",
41
+ "text",
42
+ "layout",
43
+ "alignment",
44
+ "fullwidth",
45
+ "halfwidth",
46
+ "ambiguous",
47
+ "narrow",
48
+ "wide",
49
+ "neutral",
50
+ "typography",
51
+ "japanese",
52
+ "chinese",
53
+ "korean",
54
+ "codepoint",
55
+ "text-processing",
56
+ "i18n",
57
+ "l10n"
58
+ ],
59
+ "devDependencies": {
60
+ "ava": "^5.3.1",
61
+ "outdent": "^0.8.0",
62
+ "simplify-ranges": "^0.1.0",
63
+ "typescript": "^5.2.2",
64
+ "xo": "^0.56.0"
65
+ },
66
+ "xo": {
67
+ "ignores": [
68
+ "lookup-data.js"
69
+ ]
70
+ }
71
+ }