decocms 2.278.0 → 2.278.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (269) hide show
  1. package/dist/client/assets/{AlertCircle-DUgLKRqD.js → AlertCircle-RpY4bUJr.js} +1 -1
  2. package/dist/client/assets/{ArrowNarrowLeft-kCQ-qIL4.js → ArrowNarrowLeft-CJwdGPbT.js} +1 -1
  3. package/dist/client/assets/{CheckCircle-DGqHVO6J.js → CheckCircle-BI5IiZgb.js} +1 -1
  4. package/dist/client/assets/{ChevronDown-B24A-aAH.js → ChevronDown-BAXd7Lqd.js} +1 -1
  5. package/dist/client/assets/{ChevronRight-te-i08ST.js → ChevronRight-DKEbZtdl.js} +1 -1
  6. package/dist/client/assets/{ChevronUp-ClIw8oee.js → ChevronUp-DzlxkGUl.js} +1 -1
  7. package/dist/client/assets/{Container-BEpzzcWb.js → Container-DBgGfzNs.js} +1 -1
  8. package/dist/client/assets/{LinkExternal01-DGR8dD9K.js → LinkExternal01-BpU2Zg5G.js} +1 -1
  9. package/dist/client/assets/{Lock01-CgN6byUv.js → Lock01-C5ObVqfL.js} +1 -1
  10. package/dist/client/assets/{Palette-hGvX_iIm.js → Palette-CFaa6lnd.js} +1 -1
  11. package/dist/client/assets/{Play-B45MhCGv.js → Play-Z2rVo32r.js} +1 -1
  12. package/dist/client/assets/{Plus-DEi1gvs0.js → Plus-iqKMHcIY.js} +1 -1
  13. package/dist/client/assets/{SearchMd-Bb-t_BjN.js → SearchMd-CfDkq1If.js} +1 -1
  14. package/dist/client/assets/{Settings02-DqmMmEZU.js → Settings02-BnNqayNe.js} +1 -1
  15. package/dist/client/assets/{Star01-ByFKZL35.js → Star01-BTwJOW68.js} +1 -1
  16. package/dist/client/assets/{Sun-BSLTRNwf.js → Sun-CWTFdsIN.js} +1 -1
  17. package/dist/client/assets/{Tool01-A2H1ijQd.js → Tool01-R5WYUcbi.js} +1 -1
  18. package/dist/client/assets/{Trash01-Dtv8SktB.js → Trash01-DYSvj4Mr.js} +1 -1
  19. package/dist/client/assets/{Upload01-BnthyrUJ.js → Upload01-Cktx5YzE.js} +1 -1
  20. package/dist/client/assets/{User01-B6A46HmV.js → User01-BbQpT999.js} +1 -1
  21. package/dist/client/assets/{Users03-SGJicyFL.js → Users03-DCEUsmLl.js} +1 -1
  22. package/dist/client/assets/{X-ZYbgpGnr.js → X-mGheZZXr.js} +1 -1
  23. package/dist/client/assets/{XCircle-CQXPNkKc.js → XCircle-DayiQYw5.js} +1 -1
  24. package/dist/client/assets/{Zap-CT4bYj4K.js → Zap-BnPwXsSI.js} +1 -1
  25. package/dist/client/assets/{ZapSquare-BIpgOhjL.js → ZapSquare-DnGX7edB.js} +1 -1
  26. package/dist/client/assets/{accordion-DlHNJyYy.js → accordion-hSfs59TQ.js} +1 -1
  27. package/dist/client/assets/{agent-icon-BPm7_0O4.js → agent-icon-D6bLKQ2x.js} +1 -1
  28. package/dist/client/assets/{agents-list-DDy9vjua.js → agents-list-uDQGef9T.js} +1 -1
  29. package/dist/client/assets/ai-providers-DxjF0Bbg.js +1 -0
  30. package/dist/client/assets/{alert-dialog-BYfF9kq9.js → alert-dialog-Dw58KHOn.js} +1 -1
  31. package/dist/client/assets/{auth-catchall-IXiVEa8k.js → auth-catchall-CtfdphV2.js} +1 -1
  32. package/dist/client/assets/{automation-list-row-DdODiuWb.js → automation-list-row-DYTYU42X.js} +1 -1
  33. package/dist/client/assets/{automations-DaQmwJ_-.js → automations-DZS7BnlF.js} +1 -1
  34. package/dist/client/assets/{avatar-Cd7pOZ3k.js → avatar-Or2zrDA-.js} +1 -1
  35. package/dist/client/assets/{badge-XxgdnuAZ.js → badge-gQVaeFYL.js} +1 -1
  36. package/dist/client/assets/{brand-context-gdbCtW1V.js → brand-context-C8YhXjoC.js} +1 -1
  37. package/dist/client/assets/{card-ohyYL2jd.js → card-N_n9dJ1C.js} +1 -1
  38. package/dist/client/assets/{chat-context-BBBi8D2H.js → chat-context-0qKFTvd4.js} +10 -10
  39. package/dist/client/assets/{checkbox-CV6BjILT.js → checkbox-CPuyzGEM.js} +1 -1
  40. package/dist/client/assets/{collection-detail-BDC-qOMT.js → collection-detail-DFwTqhD1.js} +1 -1
  41. package/dist/client/assets/{collection-display-button-Dzc3fhoU.js → collection-display-button-njo6Xh2u.js} +1 -1
  42. package/dist/client/assets/{collection-search-RK7vbvUN.js → collection-search-CaS2n1cB.js} +1 -1
  43. package/dist/client/assets/{collection-table-wrapper-DSiZO_Rx.js → collection-table-wrapper-Dcn0zsHK.js} +1 -1
  44. package/dist/client/assets/{collection-tabs-BThF2_kc.js → collection-tabs-ByBcZvcT.js} +1 -1
  45. package/dist/client/assets/{collections-D4PM7cfP.js → collections-Djr3E20Q.js} +1 -1
  46. package/dist/client/assets/{command-D-rn-MCf.js → command-B51t2F-w.js} +1 -1
  47. package/dist/client/assets/{connection-card-C77H1oWc.js → connection-card-Mc71vwAD.js} +1 -1
  48. package/dist/client/assets/{connection-detail-B3eR0g_I.js → connection-detail-DtSaPCBM.js} +1 -1
  49. package/dist/client/assets/{connection-form-helpers-C9kgqFQD.js → connection-form-helpers-fgpIig1w.js} +1 -1
  50. package/dist/client/assets/{connections-DLnzLvDf.js → connections-DyzLArcN.js} +1 -1
  51. package/dist/client/assets/{constants-CBMPX4Nz.js → constants-Bp5-iYcY.js} +1 -1
  52. package/dist/client/assets/{constants-DV3gfGwj.js → constants-DML917gs.js} +1 -1
  53. package/dist/client/assets/{dialog-LWRIZTr3.js → dialog-6uxiP96k.js} +1 -1
  54. package/dist/client/assets/{drawer-D1pg0ocH.js → drawer-CbvLq5Uu.js} +1 -1
  55. package/dist/client/assets/{dropdown-menu-DLn7MpGb.js → dropdown-menu-BSSwgSj1.js} +1 -1
  56. package/dist/client/assets/{dynamic-plugin-layout-BSXEX5vh.js → dynamic-plugin-layout-0EJvlc60.js} +1 -1
  57. package/dist/client/assets/{empty-state-DkrYdGBA.js → empty-state-0hDWNUcx.js} +1 -1
  58. package/dist/client/assets/{empty-state-t8Y8fpWZ.js → empty-state-CU7_u48I.js} +1 -1
  59. package/dist/client/assets/{extract-connection-data-BhJroSSL.js → extract-connection-data-Cezio-s5.js} +1 -1
  60. package/dist/client/assets/{features-B5cMQOy4.js → features-DmtZ7olV.js} +1 -1
  61. package/dist/client/assets/{form-DYWw7BDT.js → form-oEblHddW.js} +1 -1
  62. package/dist/client/assets/{general-Bx99MR-8.js → general-CeUrSx0B.js} +1 -1
  63. package/dist/client/assets/{index-Ds-JIDUi.js → index-0wk7oXl7.js} +4 -4
  64. package/dist/client/assets/{index-CTb5Ivgi.js → index-C2YTBPmn.js} +1 -1
  65. package/dist/client/assets/{index-9mpD21lu.js → index-CNrMlOJM.js} +1 -1
  66. package/dist/client/assets/{index-dR4PVdxt.js → index-CSYRl1zg.js} +1 -1
  67. package/dist/client/assets/{index-DphB1nct.js → index-DYe52Cyo.js} +1 -1
  68. package/dist/client/assets/{index-DNVFRTN5.js → index-Db1p8aFu.js} +1 -1
  69. package/dist/client/assets/{index-DQr1bBCj.js → index-DlGWDjkU.js} +1 -1
  70. package/dist/client/assets/{index-BAPPcxpC.js → index-_3-Zp92L.js} +1 -1
  71. package/dist/client/assets/{index-RqKqA1J6.js → index-gAKn78NR.js} +1 -1
  72. package/dist/client/assets/{index-CAeiwvn1.js → index-yA3niX2v.js} +2 -2
  73. package/dist/client/assets/{infiniteQueryObserver-DgmIeDDw.js → infiniteQueryObserver-Kusj8ovY.js} +1 -1
  74. package/dist/client/assets/{input-bSmRFU9Y.js → input-B9sAUDOT.js} +1 -1
  75. package/dist/client/assets/{integration-icon-BCfLG4yN.js → integration-icon-LoNFtirH.js} +1 -1
  76. package/dist/client/assets/{label-DHm3L_Pw.js → label-WH1pO6UH.js} +1 -1
  77. package/dist/client/assets/{layout-Bi-oKYFz.js → layout-XdKnShqM.js} +1 -1
  78. package/dist/client/assets/{lean-canvas-recruit-modal-Y-73eqIT.js → lean-canvas-recruit-modal-C6N1BBPO.js} +1 -1
  79. package/dist/client/assets/{login-oTC9k0u0.js → login-vj34UALt.js} +1 -1
  80. package/dist/client/assets/{members-DXtluaQF.js → members-rAC4_0t4.js} +1 -1
  81. package/dist/client/assets/{monaco-editor-J6gXCbSf.js → monaco-editor-iXGMVCiz.js} +1 -1
  82. package/dist/client/assets/{monitoring-stats-row-COftXD12.js → monitoring-stats-row-BloCdgbG.js} +1 -1
  83. package/dist/client/assets/{oauth-callback-iJ681_o2.js → oauth-callback-CELgu_cO.js} +1 -1
  84. package/dist/client/assets/{oauth-callback-ai-provider-BG5KUhrn.js → oauth-callback-ai-provider-DsyvZ6lU.js} +1 -1
  85. package/dist/client/assets/{onboarding-CaPHCpYM.js → onboarding-BgyTCUN-.js} +1 -1
  86. package/dist/client/assets/{org-layout-tpbZft4k.js → org-layout-XurBF-Lt.js} +1 -1
  87. package/dist/client/assets/{org-plugin-layout-DKUGssvU.js → org-plugin-layout-BSk2n1gQ.js} +1 -1
  88. package/dist/client/assets/{plugin-empty-state-CjLoe77j.js → plugin-empty-state-CRqsi0ib.js} +1 -1
  89. package/dist/client/assets/{plugin-header-D-DgJiT_.js → plugin-header-BZp9Mspt.js} +1 -1
  90. package/dist/client/assets/{plugin-layout-BxoJjnAH.js → plugin-layout-BadNZHL3.js} +1 -1
  91. package/dist/client/assets/{popover-QXf8PVl2.js → popover-GxFgGfCj.js} +1 -1
  92. package/dist/client/assets/{profile-BXxDmHas.js → profile-CWbzz0se.js} +1 -1
  93. package/dist/client/assets/{project-app-view-CpeukqHC.js → project-app-view-Cgxq8Z9m.js} +1 -1
  94. package/dist/client/assets/registry-BN8y2uhx.js +2 -0
  95. package/dist/client/assets/{registry-layout-Dp1ULu6N.js → registry-layout-C8Qiz9yD.js} +1 -1
  96. package/dist/client/assets/{required-auth-layout-BQkYfP3n.js → required-auth-layout-OZ0PdFXR.js} +1 -1
  97. package/dist/client/assets/{reset-password-CU4ON9vN.js → reset-password-s2ukM5mp.js} +1 -1
  98. package/dist/client/assets/{scroll-area-CM6U9wSm.js → scroll-area-Bzy4HD_J.js} +1 -1
  99. package/dist/client/assets/{search-input-D1anatj6.js → search-input-Bnf2nHLo.js} +1 -1
  100. package/dist/client/assets/{select-DE9H0LNP.js → select-ReQwhRkA.js} +1 -1
  101. package/dist/client/assets/{select-model-C72ySuI7.js → select-model-D4OtA_w2.js} +1 -1
  102. package/dist/client/assets/{settings-layout-BcGWWnw4.js → settings-layout-BL-BX1UN.js} +1 -1
  103. package/dist/client/assets/{shell-layout-DbjX6AWI.js → shell-layout-BD0Xub-g.js} +1 -1
  104. package/dist/client/assets/{skeleton-DJZQh5Pk.js → skeleton-B313Ulm0.js} +1 -1
  105. package/dist/client/assets/{sso-330TvduR.js → sso-ZrM6U_dp.js} +1 -1
  106. package/dist/client/assets/{store-CValARVk.js → store-CbZTBfxH.js} +1 -1
  107. package/dist/client/assets/store-registry-CXWRsbL6.js +2 -0
  108. package/dist/client/assets/{switch-DXZpP3PP.js → switch-BXD1owGz.js} +1 -1
  109. package/dist/client/assets/{table-BC1vaa2h.js → table-rsOFtuU-.js} +1 -1
  110. package/dist/client/assets/{tabs-y_vyQ1bZ.js → tabs-DO4ygLuS.js} +1 -1
  111. package/dist/client/assets/{task-status-u0ZgPY9s.js → task-status-CaevYqis.js} +1 -1
  112. package/dist/client/assets/{textarea-BKBUm0h-.js → textarea-DDf010du.js} +1 -1
  113. package/dist/client/assets/{toggle-group-BGNuzMLR.js → toggle-group-Bo4IS3RK.js} +1 -1
  114. package/dist/client/assets/{tools-list-DnYw-GLl.js → tools-list-CIQ6CwYm.js} +1 -1
  115. package/dist/client/assets/{types-_e2R6uHw.js → types-952BCAPT.js} +1 -1
  116. package/dist/client/assets/{use-ai-providers-DA7fBB8t.js → use-ai-providers-BirgTm09.js} +1 -1
  117. package/dist/client/assets/{use-collections-B56DgGhQ.js → use-collections-By6uZJSr.js} +1 -1
  118. package/dist/client/assets/{use-connection-DmlqhQzU.js → use-connection-CZkpN1_f.js} +1 -1
  119. package/dist/client/assets/{use-copy-yDy37O6x.js → use-copy-DSXw9G_Y.js} +1 -1
  120. package/dist/client/assets/{use-create-virtual-mcp-St-hxc3T.js → use-create-virtual-mcp-BNzn74Vf.js} +1 -1
  121. package/dist/client/assets/{use-decopilot-events-C6hMvsnN.js → use-decopilot-events-Yr2IQvc8.js} +1 -1
  122. package/dist/client/assets/{use-delete-connection-9Vw8o7eu.js → use-delete-connection-BUM30EhS.js} +1 -1
  123. package/dist/client/assets/{use-infinite-scroll-BDoBJohW.js → use-infinite-scroll-DmTHG8QF.js} +1 -1
  124. package/dist/client/assets/{use-list-state-BSaQM_cf.js → use-list-state-9mz92TGW.js} +1 -1
  125. package/dist/client/assets/{use-mcp-tools-CrNS6JKZ.js → use-mcp-tools-D2wfRdQX.js} +1 -1
  126. package/dist/client/assets/{use-members-CuGMiyzy.js → use-members-COfO6YRW.js} +1 -1
  127. package/dist/client/assets/{use-mobile-Dcrjnr8n.js → use-mobile-cBCc1tkS.js} +1 -1
  128. package/dist/client/assets/{use-navigate-to-agent-CK6LXIOn.js → use-navigate-to-agent-8jFeFT9G.js} +1 -1
  129. package/dist/client/assets/{use-org-sso-CDZI8wr6.js → use-org-sso-B4d8umPM.js} +1 -1
  130. package/dist/client/assets/{use-organization-settings-Dz4Ob_xk.js → use-organization-settings-Bfqz0Dub.js} +1 -1
  131. package/dist/client/assets/{use-registry-connections-C4iSg1no.js → use-registry-connections-BX2aMDCo.js} +1 -1
  132. package/dist/client/assets/{use-status-sounds-BpX9On4z.js → use-status-sounds-B5cgRwGB.js} +1 -1
  133. package/dist/client/assets/{use-tasks-B1E3D-6c.js → use-tasks-C63aBSUV.js} +1 -1
  134. package/dist/client/assets/{use-view-mode-OuDPu3JY.js → use-view-mode-Btze869M.js} +1 -1
  135. package/dist/client/assets/{use-virtual-mcp-C84ySRY_.js → use-virtual-mcp-C3-aNrQY.js} +1 -1
  136. package/dist/client/assets/useInfiniteQuery-DBOEwCdJ.js +1 -0
  137. package/dist/client/assets/{user-D-ueNiJ9.js → user-zYk_lp5f.js} +1 -1
  138. package/dist/client/assets/{view-mode-toggle-JzxZIaam.js → view-mode-toggle-BrDfC5aK.js} +1 -1
  139. package/dist/client/assets/{workflow-DILBdxqV.js → workflow-BOdefRku.js} +1 -1
  140. package/dist/client/assets/workflow-detail-JXXWRY8y.js +1 -0
  141. package/dist/client/index.html +1 -1
  142. package/dist/server/cli.js +328 -328
  143. package/dist/server/node_modules/figures/index.d.ts +279 -0
  144. package/dist/server/node_modules/figures/index.js +292 -0
  145. package/dist/server/node_modules/{is-fullwidth-code-point → figures}/package.json +16 -20
  146. package/dist/server/node_modules/figures/readme.md +337 -0
  147. package/dist/server/node_modules/get-east-asian-width/index.d.ts +60 -0
  148. package/dist/server/node_modules/get-east-asian-width/index.js +30 -0
  149. package/dist/server/node_modules/get-east-asian-width/lookup-data.js +18 -0
  150. package/dist/server/node_modules/get-east-asian-width/lookup.js +135 -0
  151. package/dist/server/node_modules/get-east-asian-width/package.json +71 -0
  152. package/dist/server/node_modules/get-east-asian-width/readme.md +65 -0
  153. package/dist/server/node_modules/get-east-asian-width/utilities.js +24 -0
  154. package/dist/server/node_modules/pg/README.md +95 -0
  155. package/dist/server/node_modules/pg/esm/index.mjs +20 -0
  156. package/dist/server/node_modules/pg/lib/client.js +743 -0
  157. package/dist/server/node_modules/pg/lib/connection-parameters.js +171 -0
  158. package/dist/server/node_modules/pg/lib/connection.js +221 -0
  159. package/dist/server/node_modules/pg/lib/crypto/cert-signatures.js +122 -0
  160. package/dist/server/node_modules/pg/lib/crypto/sasl.js +212 -0
  161. package/dist/server/node_modules/pg/lib/crypto/utils-legacy.js +43 -0
  162. package/dist/server/node_modules/pg/lib/crypto/utils-webcrypto.js +89 -0
  163. package/dist/server/node_modules/pg/lib/crypto/utils.js +9 -0
  164. package/dist/server/node_modules/pg/lib/defaults.js +91 -0
  165. package/dist/server/node_modules/pg/lib/index.js +73 -0
  166. package/dist/server/node_modules/pg/lib/native/client.js +323 -0
  167. package/dist/server/node_modules/pg/lib/native/index.js +2 -0
  168. package/dist/server/node_modules/pg/lib/native/query.js +165 -0
  169. package/dist/server/node_modules/pg/lib/query.js +252 -0
  170. package/dist/server/node_modules/pg/lib/result.js +109 -0
  171. package/dist/server/node_modules/pg/lib/stream.js +83 -0
  172. package/dist/server/node_modules/pg/lib/type-overrides.js +35 -0
  173. package/dist/server/node_modules/pg/lib/utils.js +217 -0
  174. package/dist/server/node_modules/pg/package.json +76 -0
  175. package/dist/server/node_modules/postgres-bytea/index.js +33 -0
  176. package/dist/server/node_modules/{postgres-interval → postgres-bytea}/package.json +8 -10
  177. package/dist/server/node_modules/postgres-bytea/readme.md +34 -0
  178. package/dist/server/node_modules/slice-ansi/index.d.ts +19 -0
  179. package/dist/server/node_modules/slice-ansi/index.js +260 -0
  180. package/dist/server/node_modules/{is-unicode-supported → slice-ansi}/license +1 -0
  181. package/dist/server/node_modules/slice-ansi/package.json +59 -0
  182. package/dist/server/node_modules/slice-ansi/readme.md +54 -0
  183. package/dist/server/node_modules/slice-ansi/tokenize-ansi.js +752 -0
  184. package/dist/server/node_modules/split2/LICENSE +13 -0
  185. package/dist/server/node_modules/split2/README.md +85 -0
  186. package/dist/server/node_modules/split2/bench.js +27 -0
  187. package/dist/server/node_modules/split2/index.js +141 -0
  188. package/dist/server/node_modules/split2/package.json +39 -0
  189. package/dist/server/node_modules/split2/test.js +409 -0
  190. package/dist/server/node_modules/xtend/.jshintrc +30 -0
  191. package/dist/server/node_modules/{postgres-interval/license → xtend/LICENSE} +1 -2
  192. package/dist/server/node_modules/xtend/README.md +32 -0
  193. package/dist/server/node_modules/xtend/immutable.js +19 -0
  194. package/dist/server/node_modules/xtend/mutable.js +17 -0
  195. package/dist/server/node_modules/xtend/package.json +55 -0
  196. package/dist/server/node_modules/xtend/test.js +103 -0
  197. package/dist/server/server.js +270 -270
  198. package/package.json +1 -1
  199. package/dist/client/assets/ai-providers-B4zJ5gIB.js +0 -1
  200. package/dist/client/assets/registry-BwQkRfy5.js +0 -2
  201. package/dist/client/assets/store-registry-DxTZD8aD.js +0 -2
  202. package/dist/client/assets/useInfiniteQuery-C63zt5p0.js +0 -1
  203. package/dist/client/assets/workflow-detail-CbBLr-jD.js +0 -1
  204. package/dist/server/node_modules/convert-to-spaces/dist/index.d.ts +0 -2
  205. package/dist/server/node_modules/convert-to-spaces/dist/index.js +0 -4
  206. package/dist/server/node_modules/convert-to-spaces/license +0 -21
  207. package/dist/server/node_modules/convert-to-spaces/package.json +0 -40
  208. package/dist/server/node_modules/convert-to-spaces/readme.md +0 -39
  209. package/dist/server/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  210. package/dist/server/node_modules/emoji-regex/README.md +0 -107
  211. package/dist/server/node_modules/emoji-regex/index.d.ts +0 -3
  212. package/dist/server/node_modules/emoji-regex/index.js +0 -4
  213. package/dist/server/node_modules/emoji-regex/index.mjs +0 -4
  214. package/dist/server/node_modules/emoji-regex/package.json +0 -45
  215. package/dist/server/node_modules/environment/index.d.ts +0 -74
  216. package/dist/server/node_modules/environment/index.js +0 -47
  217. package/dist/server/node_modules/environment/package.json +0 -74
  218. package/dist/server/node_modules/environment/readme.md +0 -94
  219. package/dist/server/node_modules/escape-string-regexp/index.d.ts +0 -18
  220. package/dist/server/node_modules/escape-string-regexp/index.js +0 -11
  221. package/dist/server/node_modules/escape-string-regexp/license +0 -9
  222. package/dist/server/node_modules/escape-string-regexp/package.json +0 -43
  223. package/dist/server/node_modules/escape-string-regexp/readme.md +0 -29
  224. package/dist/server/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  225. package/dist/server/node_modules/is-fullwidth-code-point/index.js +0 -12
  226. package/dist/server/node_modules/is-fullwidth-code-point/readme.md +0 -31
  227. package/dist/server/node_modules/is-unicode-supported/index.d.ts +0 -12
  228. package/dist/server/node_modules/is-unicode-supported/index.js +0 -21
  229. package/dist/server/node_modules/is-unicode-supported/package.json +0 -47
  230. package/dist/server/node_modules/is-unicode-supported/readme.md +0 -35
  231. package/dist/server/node_modules/pg-cloudflare/README.md +0 -112
  232. package/dist/server/node_modules/pg-cloudflare/dist/empty.d.ts +0 -2
  233. package/dist/server/node_modules/pg-cloudflare/dist/empty.js +0 -6
  234. package/dist/server/node_modules/pg-cloudflare/dist/empty.js.map +0 -1
  235. package/dist/server/node_modules/pg-cloudflare/dist/index.d.ts +0 -31
  236. package/dist/server/node_modules/pg-cloudflare/dist/index.js +0 -152
  237. package/dist/server/node_modules/pg-cloudflare/dist/index.js.map +0 -1
  238. package/dist/server/node_modules/pg-cloudflare/esm/index.mjs +0 -3
  239. package/dist/server/node_modules/pg-cloudflare/package.json +0 -39
  240. package/dist/server/node_modules/pg-cloudflare/src/empty.ts +0 -3
  241. package/dist/server/node_modules/pg-cloudflare/src/index.ts +0 -166
  242. package/dist/server/node_modules/pg-cloudflare/src/types.d.ts +0 -25
  243. package/dist/server/node_modules/pg-connection-string/LICENSE +0 -21
  244. package/dist/server/node_modules/pg-connection-string/README.md +0 -105
  245. package/dist/server/node_modules/pg-connection-string/esm/index.mjs +0 -8
  246. package/dist/server/node_modules/pg-connection-string/index.d.ts +0 -36
  247. package/dist/server/node_modules/pg-connection-string/index.js +0 -231
  248. package/dist/server/node_modules/pg-connection-string/package.json +0 -52
  249. package/dist/server/node_modules/postgres-array/index.d.ts +0 -4
  250. package/dist/server/node_modules/postgres-array/index.js +0 -97
  251. package/dist/server/node_modules/postgres-array/package.json +0 -35
  252. package/dist/server/node_modules/postgres-array/readme.md +0 -43
  253. package/dist/server/node_modules/postgres-interval/index.d.ts +0 -20
  254. package/dist/server/node_modules/postgres-interval/index.js +0 -125
  255. package/dist/server/node_modules/postgres-interval/readme.md +0 -48
  256. package/dist/server/node_modules/restore-cursor/index.d.ts +0 -11
  257. package/dist/server/node_modules/restore-cursor/index.js +0 -11
  258. package/dist/server/node_modules/restore-cursor/license +0 -9
  259. package/dist/server/node_modules/restore-cursor/package.json +0 -55
  260. package/dist/server/node_modules/restore-cursor/readme.md +0 -31
  261. package/dist/server/node_modules/string-width/index.d.ts +0 -39
  262. package/dist/server/node_modules/string-width/index.js +0 -82
  263. package/dist/server/node_modules/string-width/license +0 -9
  264. package/dist/server/node_modules/string-width/package.json +0 -64
  265. package/dist/server/node_modules/string-width/readme.md +0 -66
  266. /package/dist/server/node_modules/{environment → figures}/license +0 -0
  267. /package/dist/server/node_modules/{is-fullwidth-code-point → get-east-asian-width}/license +0 -0
  268. /package/dist/server/node_modules/{pg-cloudflare → pg}/LICENSE +0 -0
  269. /package/dist/server/node_modules/{postgres-array → postgres-bytea}/license +0 -0
@@ -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
+ }