decocms 2.288.0 → 2.289.0

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 (198) hide show
  1. package/dist/client/assets/{AlertCircle--Y_xi7pz.js → AlertCircle-BCfEJcld.js} +1 -1
  2. package/dist/client/assets/{ArrowNarrowLeft-adl7K_Ob.js → ArrowNarrowLeft-dDBZy2uy.js} +1 -1
  3. package/dist/client/assets/{ArrowUpRight-DrcSZgbj.js → ArrowUpRight-DR20SS60.js} +1 -1
  4. package/dist/client/assets/{CheckCircle-DeN4Arf9.js → CheckCircle-C29ChaU6.js} +1 -1
  5. package/dist/client/assets/{ChevronDown-aTqoLskN.js → ChevronDown-CAze57fI.js} +1 -1
  6. package/dist/client/assets/{ChevronRight-D_eqesT2.js → ChevronRight-Df7bIxwE.js} +1 -1
  7. package/dist/client/assets/{ChevronUp-BJsJc2K_.js → ChevronUp-CTU6V7Q0.js} +1 -1
  8. package/dist/client/assets/{Container-RTpXHcc_.js → Container-Ckr-D4x-.js} +1 -1
  9. package/dist/client/assets/{DotsVertical-DU62Ovco.js → DotsVertical-BooYL5-r.js} +1 -1
  10. package/dist/client/assets/{LinkExternal01-CZ54w6Ys.js → LinkExternal01-BF4nSmdO.js} +1 -1
  11. package/dist/client/assets/{Lock01-C1fACGdb.js → Lock01-D_RqxNIk.js} +1 -1
  12. package/dist/client/assets/{Palette-CSi1xvBX.js → Palette-Du_aKlJW.js} +1 -1
  13. package/dist/client/assets/{Play-ZwqBA0Gj.js → Play-hp4nCWPw.js} +1 -1
  14. package/dist/client/assets/{Plus-DgDw4N5v.js → Plus-C-OJiAlg.js} +1 -1
  15. package/dist/client/assets/{RefreshCcw01-BQD-u-1H.js → RefreshCcw01-Bw_4FSKr.js} +1 -1
  16. package/dist/client/assets/{SearchMd-DIPAhwlI.js → SearchMd-DRU7KH2R.js} +1 -1
  17. package/dist/client/assets/{Settings02-NWpe6nkq.js → Settings02-tDR0R-7r.js} +1 -1
  18. package/dist/client/assets/{Shield01-yW6P30XX.js → Shield01-CyMbm-kt.js} +1 -1
  19. package/dist/client/assets/{Star01-BNCw32N6.js → Star01-BSV4P3zw.js} +1 -1
  20. package/dist/client/assets/{Sun-BIhz6_CP.js → Sun-NTsERAnx.js} +1 -1
  21. package/dist/client/assets/{Tool01-DK8Fhe6_.js → Tool01-JkKJ-VBh.js} +1 -1
  22. package/dist/client/assets/{Trash01-CLPACLPe.js → Trash01-5isrbkO6.js} +1 -1
  23. package/dist/client/assets/{User01-C_p7EKq6.js → User01-CtVgwrxn.js} +1 -1
  24. package/dist/client/assets/{Users03-C5Wav_Yh.js → Users03-kskEQmar.js} +1 -1
  25. package/dist/client/assets/{X-BI3qXgCM.js → X-KZf37p0i.js} +1 -1
  26. package/dist/client/assets/{XCircle-C15LvzjS.js → XCircle-0jhuLEi-.js} +1 -1
  27. package/dist/client/assets/{XClose-xaUxE8BL.js → XClose-DmXYRRRU.js} +1 -1
  28. package/dist/client/assets/{Zap-DUrCsyVy.js → Zap-CjGMKfBw.js} +1 -1
  29. package/dist/client/assets/{ZapSquare-CzhlLfPR.js → ZapSquare-Q_j-wpZU.js} +1 -1
  30. package/dist/client/assets/{accordion-PgILOgmD.js → accordion-LhYuXsvn.js} +1 -1
  31. package/dist/client/assets/{agent-icon-Dwc2UhoB.js → agent-icon-CJBSrXXa.js} +1 -1
  32. package/dist/client/assets/{agents-list-DtDkfiBL.js → agents-list-Bj1ZEySf.js} +1 -1
  33. package/dist/client/assets/ai-providers-NZdL0YY1.js +1 -0
  34. package/dist/client/assets/{alert-dialog-P1MELuo2.js → alert-dialog-DGf6p6RH.js} +2 -2
  35. package/dist/client/assets/{auth-catchall-DXBvhnpI.js → auth-catchall-mJXjaGjq.js} +1 -1
  36. package/dist/client/assets/{automation-list-row-ZhJERDs5.js → automation-list-row-i7idsf84.js} +1 -1
  37. package/dist/client/assets/{automations-BKo3NXeb.js → automations-D5L5OUmd.js} +1 -1
  38. package/dist/client/assets/{avatar-C4Xk2I9Z.js → avatar-BiQlJs5k.js} +1 -1
  39. package/dist/client/assets/{badge-LkPgBUqp.js → badge-BiDYflRu.js} +1 -1
  40. package/dist/client/assets/{brand-context-B0xNT0Kl.js → brand-context-1aiu9Hp5.js} +1 -1
  41. package/dist/client/assets/{card-oTGN-YLV.js → card-kpHhMcOo.js} +1 -1
  42. package/dist/client/assets/{chat-context-yRGYHam2.js → chat-context-C5B4JHNW.js} +1 -1
  43. package/dist/client/assets/{checkbox-COiFtX5D.js → checkbox-DVSlEbBg.js} +1 -1
  44. package/dist/client/assets/{collection-detail-D7_Iw3uk.js → collection-detail-8OxmAVZx.js} +1 -1
  45. package/dist/client/assets/{collection-display-button-cYrSfrMz.js → collection-display-button-DJUi1nr2.js} +1 -1
  46. package/dist/client/assets/{collection-search-Biy5fWyC.js → collection-search-Cauf3WLX.js} +1 -1
  47. package/dist/client/assets/{collection-search-D8Ek-RA1.js → collection-search-G428te1f.js} +1 -1
  48. package/dist/client/assets/{collection-table-wrapper-D7Avuad7.js → collection-table-wrapper-CgJ-IWGp.js} +1 -1
  49. package/dist/client/assets/{collection-tabs-Ez6xggyp.js → collection-tabs-ImMH44oz.js} +1 -1
  50. package/dist/client/assets/{collections-h5KZ86rd.js → collections-CgvQVGim.js} +1 -1
  51. package/dist/client/assets/{command-BcjbHr_r.js → command-DUlueOVl.js} +1 -1
  52. package/dist/client/assets/{connection-card-Tvf09fuE.js → connection-card-CfcNRXjD.js} +1 -1
  53. package/dist/client/assets/{connection-detail-BOee_bXK.js → connection-detail-ZbjzvLjZ.js} +1 -1
  54. package/dist/client/assets/{connection-form-helpers-BML8fV-T.js → connection-form-helpers-CLdsDsnf.js} +1 -1
  55. package/dist/client/assets/{connections-BE48nDv7.js → connections-Db7XXBzz.js} +1 -1
  56. package/dist/client/assets/{constants-n9yTcILK.js → constants-D21LrFJ4.js} +1 -1
  57. package/dist/client/assets/{constants-Dsh71ijv.js → constants-DV1Uc_8Q.js} +2 -2
  58. package/dist/client/assets/{dialog-Dv_lEigV.js → dialog-eYBbNtPx.js} +1 -1
  59. package/dist/client/assets/{domain-settings-BcSGKzwX.js → domain-settings-5yGQjw4b.js} +1 -1
  60. package/dist/client/assets/{drawer-WXY2u6pv.js → drawer-BnROsLEL.js} +1 -1
  61. package/dist/client/assets/{dropdown-menu-B9QIvjxH.js → dropdown-menu-BeTlEYH5.js} +1 -1
  62. package/dist/client/assets/{dynamic-plugin-layout-CjDWcYO9.js → dynamic-plugin-layout-BvdykXHY.js} +1 -1
  63. package/dist/client/assets/{empty-state-DIMeCEjD.js → empty-state-B2VGunPR.js} +1 -1
  64. package/dist/client/assets/{empty-state-JxMlNoaR.js → empty-state-Dyal5Xfo.js} +1 -1
  65. package/dist/client/assets/{extract-connection-data-Cvlutde4.js → extract-connection-data-CSJgZrtD.js} +1 -1
  66. package/dist/client/assets/{features-YbryDu0n.js → features-B-66Obp6.js} +1 -1
  67. package/dist/client/assets/{form-BNoUlod_.js → form-CIMdOf9q.js} +1 -1
  68. package/dist/client/assets/{general-b6CUcDdB.js → general-D6CyCDN-.js} +1 -1
  69. package/dist/client/assets/{github-repo-picker-CP7-EChX.js → github-repo-picker-CvkiRKr8.js} +1 -1
  70. package/dist/client/assets/{index-Dig_TVyF.js → index-B07jP2sp.js} +1 -1
  71. package/dist/client/assets/{index-BVkdH26T.js → index-B0qIbTFl.js} +1 -1
  72. package/dist/client/assets/{index-Cw8cSB3k.js → index-CKiHh8tq.js} +1 -1
  73. package/dist/client/assets/{index-FXohrF1g.js → index-CQ6k5P_g.js} +1 -1
  74. package/dist/client/assets/{index-C-fdRcaZ.js → index-CQJ0POFk.js} +4 -4
  75. package/dist/client/assets/{index-CdjpBOmP.js → index-Ciwyai62.js} +1 -1
  76. package/dist/client/assets/{index-BZtydI_4.js → index-Cqh-Pw0g.js} +1 -1
  77. package/dist/client/assets/{index-CVUETRIB.js → index-D3dcRy4-.js} +28 -28
  78. package/dist/client/assets/{index-B0_K5fYx.js → index-DdZX0aDg.js} +1 -1
  79. package/dist/client/assets/{index-CjZGXiUn.js → index-Duvlh7HC.js} +1 -1
  80. package/dist/client/assets/{infiniteQueryObserver-BYD3scla.js → infiniteQueryObserver-DNXrDhz0.js} +1 -1
  81. package/dist/client/assets/{input-CL-LUIlC.js → input-BTdB8RPC.js} +1 -1
  82. package/dist/client/assets/{integration-icon-BXMU-Z0-.js → integration-icon-DJHy4-lT.js} +1 -1
  83. package/dist/client/assets/{label-Do_qw_q4.js → label-HfwUkinD.js} +1 -1
  84. package/dist/client/assets/{layout-DrFXNrUJ.js → layout-Blu93q33.js} +1 -1
  85. package/dist/client/assets/{login-B6O4fD8Q.js → login-YFb2t01p.js} +1 -1
  86. package/dist/client/assets/{members-L61ME1MY.js → members-qoLnAp5E.js} +1 -1
  87. package/dist/client/assets/{monaco-editor-BRexmFrU.js → monaco-editor-BFeXzORV.js} +1 -1
  88. package/dist/client/assets/{monitoring-stats-row-DpDZn9jY.js → monitoring-stats-row-B8LpUgZ3.js} +1 -1
  89. package/dist/client/assets/{oauth-callback-_ywR3sFa.js → oauth-callback-CXbpsVJh.js} +1 -1
  90. package/dist/client/assets/{oauth-callback-ai-provider-CpjecUsU.js → oauth-callback-ai-provider-CHi0ZwiA.js} +1 -1
  91. package/dist/client/assets/{onboarding-BHrMLfDa.js → onboarding-CS_9vzjQ.js} +1 -1
  92. package/dist/client/assets/{org-layout-BkXZ1gvy.js → org-layout-DzWFCFrp.js} +1 -1
  93. package/dist/client/assets/{org-plugin-layout-DQZ2g3kO.js → org-plugin-layout-C1udHyJg.js} +1 -1
  94. package/dist/client/assets/{plugin-empty-state-vwtahL68.js → plugin-empty-state-uSy8H1wz.js} +1 -1
  95. package/dist/client/assets/{plugin-header-BsB_du51.js → plugin-header-Y9KGqpf-.js} +1 -1
  96. package/dist/client/assets/{plugin-layout-Buej05e7.js → plugin-layout-BMUI6aZk.js} +1 -1
  97. package/dist/client/assets/{popover-C4684neQ.js → popover-0rGXbfVv.js} +1 -1
  98. package/dist/client/assets/{profile-DDmHWY6_.js → profile-Dxc4PLoS.js} +1 -1
  99. package/dist/client/assets/{project-app-view-BNwkzuii.js → project-app-view-rhNtxAKM.js} +1 -1
  100. package/dist/client/assets/registry-3CD149WE.js +2 -0
  101. package/dist/client/assets/{registry-layout-CZd2B4C7.js → registry-layout-20jGjbo6.js} +1 -1
  102. package/dist/client/assets/{required-auth-layout-SaQW2h7l.js → required-auth-layout-BrXS6Et-.js} +1 -1
  103. package/dist/client/assets/{reset-password-DDLCghhj.js → reset-password-KHQpUmrP.js} +1 -1
  104. package/dist/client/assets/{roles-DmqW3xZU.js → roles-QJpAwLWN.js} +1 -1
  105. package/dist/client/assets/{scroll-area-BmiP98pu.js → scroll-area-Cmb2U-GX.js} +1 -1
  106. package/dist/client/assets/{search-input-DQ1Xzm_b.js → search-input-Cxdo8FJH.js} +1 -1
  107. package/dist/client/assets/{select-model-CX8VF4-p.js → select-model-CepjGove.js} +1 -1
  108. package/dist/client/assets/{select-DaM3TY5t.js → select-pbe1Tw3i.js} +1 -1
  109. package/dist/client/assets/{settings-layout-DNFV8Oix.js → settings-layout-C_jpXJmC.js} +1 -1
  110. package/dist/client/assets/{settings-section-BS3Z4RWi.js → settings-section-zap-Boy4.js} +1 -1
  111. package/dist/client/assets/shell-layout-YcfNni5N.js +1 -0
  112. package/dist/client/assets/{skeleton-C8RqYCI9.js → skeleton-cT9-y8hq.js} +1 -1
  113. package/dist/client/assets/{sso-CZDbiXIw.js → sso-Bbte0m6W.js} +1 -1
  114. package/dist/client/assets/{store-CeeuB26r.js → store-CdJMoZz8.js} +1 -1
  115. package/dist/client/assets/store-registry-BT7eie06.js +2 -0
  116. package/dist/client/assets/{switch-DGYFt_K8.js → switch-CrRugnBx.js} +1 -1
  117. package/dist/client/assets/{table-BJ_I6wc6.js → table-Chd-IJRh.js} +1 -1
  118. package/dist/client/assets/{tabs-O35WvzjF.js → tabs-DvsJVzb1.js} +1 -1
  119. package/dist/client/assets/{task-status-BKkJIb6H.js → task-status-KWWNTm4M.js} +1 -1
  120. package/dist/client/assets/{textarea-CjtgfBdH.js → textarea-CWhJ3Xwe.js} +1 -1
  121. package/dist/client/assets/{toggle-group-ComSgZAp.js → toggle-group-B06Rml5A.js} +1 -1
  122. package/dist/client/assets/{tools-list-CurMUG9t.js → tools-list-DT1hnay8.js} +1 -1
  123. package/dist/client/assets/{types-DlC_80GR.js → types-DsDrkXAr.js} +1 -1
  124. package/dist/client/assets/{use-ai-providers-C3mVVuRV.js → use-ai-providers-oEGyGWt1.js} +1 -1
  125. package/dist/client/assets/{use-collections-DcKD6Qxv.js → use-collections-D8VuBtQu.js} +1 -1
  126. package/dist/client/assets/{use-connection-PZAuCSXO.js → use-connection-DATDvleR.js} +1 -1
  127. package/dist/client/assets/{use-copy-Bj-MTwaa.js → use-copy-C4JHTA85.js} +1 -1
  128. package/dist/client/assets/{use-create-virtual-mcp-B_irsl9D.js → use-create-virtual-mcp-CPp3t7Vk.js} +1 -1
  129. package/dist/client/assets/{use-decopilot-events-CDeh99iZ.js → use-decopilot-events-BmJPvHjL.js} +1 -1
  130. package/dist/client/assets/{use-delete-connection-BR9ISSGY.js → use-delete-connection-Cs_pBxVJ.js} +1 -1
  131. package/dist/client/assets/{use-infinite-scroll-D-2l__Cz.js → use-infinite-scroll-42GyaTNJ.js} +1 -1
  132. package/dist/client/assets/{use-list-state-BV21WFDK.js → use-list-state-B_acXswQ.js} +1 -1
  133. package/dist/client/assets/{use-mcp-tools-Bv5yUcCZ.js → use-mcp-tools-Bp4N36ES.js} +1 -1
  134. package/dist/client/assets/{use-members-BAhIl5n0.js → use-members-egBMdDNQ.js} +1 -1
  135. package/dist/client/assets/{use-mobile-BpBXbl16.js → use-mobile-BwJlvmat.js} +1 -1
  136. package/dist/client/assets/{use-navigate-to-agent-CG7-kp4S.js → use-navigate-to-agent-CeIX1obd.js} +1 -1
  137. package/dist/client/assets/{use-org-sso-4JoNv6HV.js → use-org-sso-D35VQct2.js} +1 -1
  138. package/dist/client/assets/{use-organization-roles-Bpj16cC4.js → use-organization-roles-DewFhO3_.js} +1 -1
  139. package/dist/client/assets/{use-organization-settings-axiNM6Y6.js → use-organization-settings-DlzwYRHw.js} +1 -1
  140. package/dist/client/assets/{use-registry-connections-fdW_5JrJ.js → use-registry-connections-BMDx5SL4.js} +1 -1
  141. package/dist/client/assets/{use-status-sounds-BYcGwXOW.js → use-status-sounds-CnYkx9X0.js} +1 -1
  142. package/dist/client/assets/{use-tasks-CEbKlK-w.js → use-tasks-BtgjavUX.js} +1 -1
  143. package/dist/client/assets/{use-view-mode-DXGS7T6x.js → use-view-mode-ni8MVEBL.js} +1 -1
  144. package/dist/client/assets/{use-virtual-mcp-C8FeHhCA.js → use-virtual-mcp-CLK92_-L.js} +1 -1
  145. package/dist/client/assets/useInfiniteQuery-NxzX8_KV.js +1 -0
  146. package/dist/client/assets/useSuspenseInfiniteQuery-BTse9xwX.js +1 -0
  147. package/dist/client/assets/{user-1OxcID9o.js → user-K40phdtq.js} +1 -1
  148. package/dist/client/assets/{view-mode-toggle-BiIaP24A.js → view-mode-toggle-Co7HEZDI.js} +1 -1
  149. package/dist/client/assets/{workflow-Dx23L5rN.js → workflow-CuFWe7ID.js} +1 -1
  150. package/dist/client/assets/workflow-detail-CoSxU_nR.js +1 -0
  151. package/dist/client/index.html +1 -1
  152. package/dist/server/cli.js +1 -1
  153. package/dist/server/node_modules/{xtend → pg}/LICENSE +7 -6
  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/package.json +1 -1
  176. package/dist/client/assets/ai-providers-dl8LgpRM.js +0 -1
  177. package/dist/client/assets/registry-B2nAdztj.js +0 -2
  178. package/dist/client/assets/shell-layout-DifA2CaM.js +0 -1
  179. package/dist/client/assets/store-registry-Db_sa3Jy.js +0 -2
  180. package/dist/client/assets/useInfiniteQuery-D8Ti3aNB.js +0 -1
  181. package/dist/client/assets/useSuspenseInfiniteQuery-BOcz1SDi.js +0 -1
  182. package/dist/client/assets/workflow-detail-BMaclVeL.js +0 -1
  183. package/dist/server/node_modules/ansi-styles/index.d.ts +0 -236
  184. package/dist/server/node_modules/ansi-styles/index.js +0 -223
  185. package/dist/server/node_modules/ansi-styles/license +0 -9
  186. package/dist/server/node_modules/ansi-styles/package.json +0 -54
  187. package/dist/server/node_modules/ansi-styles/readme.md +0 -173
  188. package/dist/server/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  189. package/dist/server/node_modules/is-fullwidth-code-point/index.js +0 -12
  190. package/dist/server/node_modules/is-fullwidth-code-point/license +0 -9
  191. package/dist/server/node_modules/is-fullwidth-code-point/package.json +0 -53
  192. package/dist/server/node_modules/is-fullwidth-code-point/readme.md +0 -31
  193. package/dist/server/node_modules/xtend/.jshintrc +0 -30
  194. package/dist/server/node_modules/xtend/README.md +0 -32
  195. package/dist/server/node_modules/xtend/immutable.js +0 -19
  196. package/dist/server/node_modules/xtend/mutable.js +0 -17
  197. package/dist/server/node_modules/xtend/package.json +0 -55
  198. package/dist/server/node_modules/xtend/test.js +0 -103
@@ -1,173 +0,0 @@
1
- # ansi-styles
2
-
3
- > [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles) for styling strings in the terminal
4
-
5
- You probably want the higher-level [chalk](https://github.com/chalk/chalk) module for styling your strings.
6
-
7
- ![](screenshot.png)
8
-
9
- ## Install
10
-
11
- ```sh
12
- npm install ansi-styles
13
- ```
14
-
15
- ## Usage
16
-
17
- ```js
18
- import styles from 'ansi-styles';
19
-
20
- console.log(`${styles.green.open}Hello world!${styles.green.close}`);
21
-
22
-
23
- // Color conversion between 256/truecolor
24
- // NOTE: When converting from truecolor to 256 colors, the original color
25
- // may be degraded to fit the new color palette. This means terminals
26
- // that do not support 16 million colors will best-match the
27
- // original color.
28
- console.log(`${styles.color.ansi(styles.rgbToAnsi(199, 20, 250))}Hello World${styles.color.close}`)
29
- console.log(`${styles.color.ansi256(styles.rgbToAnsi256(199, 20, 250))}Hello World${styles.color.close}`)
30
- console.log(`${styles.color.ansi16m(...styles.hexToRgb('#abcdef'))}Hello World${styles.color.close}`)
31
- ```
32
-
33
- ## API
34
-
35
- ### `open` and `close`
36
-
37
- Each style has an `open` and `close` property.
38
-
39
- ### `modifierNames`, `foregroundColorNames`, `backgroundColorNames`, and `colorNames`
40
-
41
- All supported style strings are exposed as an array of strings for convenience. `colorNames` is the combination of `foregroundColorNames` and `backgroundColorNames`.
42
-
43
- This can be useful if you need to validate input:
44
-
45
- ```js
46
- import {modifierNames, foregroundColorNames} from 'ansi-styles';
47
-
48
- console.log(modifierNames.includes('bold'));
49
- //=> true
50
-
51
- console.log(foregroundColorNames.includes('pink'));
52
- //=> false
53
- ```
54
-
55
- ## Styles
56
-
57
- ### Modifiers
58
-
59
- - `reset`
60
- - `bold`
61
- - `dim`
62
- - `italic` *(Not widely supported)*
63
- - `underline`
64
- - `overline` *Supported on VTE-based terminals, the GNOME terminal, mintty, and Git Bash.*
65
- - `inverse`
66
- - `hidden`
67
- - `strikethrough` *(Not widely supported)*
68
-
69
- ### Colors
70
-
71
- - `black`
72
- - `red`
73
- - `green`
74
- - `yellow`
75
- - `blue`
76
- - `magenta`
77
- - `cyan`
78
- - `white`
79
- - `blackBright` (alias: `gray`, `grey`)
80
- - `redBright`
81
- - `greenBright`
82
- - `yellowBright`
83
- - `blueBright`
84
- - `magentaBright`
85
- - `cyanBright`
86
- - `whiteBright`
87
-
88
- ### Background colors
89
-
90
- - `bgBlack`
91
- - `bgRed`
92
- - `bgGreen`
93
- - `bgYellow`
94
- - `bgBlue`
95
- - `bgMagenta`
96
- - `bgCyan`
97
- - `bgWhite`
98
- - `bgBlackBright` (alias: `bgGray`, `bgGrey`)
99
- - `bgRedBright`
100
- - `bgGreenBright`
101
- - `bgYellowBright`
102
- - `bgBlueBright`
103
- - `bgMagentaBright`
104
- - `bgCyanBright`
105
- - `bgWhiteBright`
106
-
107
- ## Advanced usage
108
-
109
- By default, you get a map of styles, but the styles are also available as groups. They are non-enumerable so they don't show up unless you access them explicitly. This makes it easier to expose only a subset in a higher-level module.
110
-
111
- - `styles.modifier`
112
- - `styles.color`
113
- - `styles.bgColor`
114
-
115
- ###### Example
116
-
117
- ```js
118
- import styles from 'ansi-styles';
119
-
120
- console.log(styles.color.green.open);
121
- ```
122
-
123
- Raw escape codes (i.e. without the CSI escape prefix `\u001B[` and render mode postfix `m`) are available under `styles.codes`, which returns a `Map` with the open codes as keys and close codes as values.
124
-
125
- ###### Example
126
-
127
- ```js
128
- import styles from 'ansi-styles';
129
-
130
- console.log(styles.codes.get(36));
131
- //=> 39
132
- ```
133
-
134
- ## 16 / 256 / 16 million (TrueColor) support
135
-
136
- `ansi-styles` allows converting between various color formats and ANSI escapes, with support for 16, 256 and [16 million colors](https://gist.github.com/XVilka/8346728).
137
-
138
- The following color spaces are supported:
139
-
140
- - `rgb`
141
- - `hex`
142
- - `ansi256`
143
- - `ansi`
144
-
145
- To use these, call the associated conversion function with the intended output, for example:
146
-
147
- ```js
148
- import styles from 'ansi-styles';
149
-
150
- styles.color.ansi(styles.rgbToAnsi(100, 200, 15)); // RGB to 16 color ansi foreground code
151
- styles.bgColor.ansi(styles.hexToAnsi('#C0FFEE')); // HEX to 16 color ansi foreground code
152
-
153
- styles.color.ansi256(styles.rgbToAnsi256(100, 200, 15)); // RGB to 256 color ansi foreground code
154
- styles.bgColor.ansi256(styles.hexToAnsi256('#C0FFEE')); // HEX to 256 color ansi foreground code
155
-
156
- styles.color.ansi16m(100, 200, 15); // RGB to 16 million color foreground code
157
- styles.bgColor.ansi16m(...styles.hexToRgb('#C0FFEE')); // Hex (RGB) to 16 million color foreground code
158
- ```
159
-
160
- ## Related
161
-
162
- - [ansi-escapes](https://github.com/sindresorhus/ansi-escapes) - ANSI escape codes for manipulating the terminal
163
-
164
- ## Maintainers
165
-
166
- - [Sindre Sorhus](https://github.com/sindresorhus)
167
- - [Josh Junon](https://github.com/qix-)
168
-
169
- ## For enterprise
170
-
171
- Available as part of the Tidelift Subscription.
172
-
173
- The maintainers of `ansi-styles` and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-ansi-styles?utm_source=npm-ansi-styles&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
@@ -1,17 +0,0 @@
1
- /**
2
- Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/Code_point) is [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms).
3
-
4
- @param codePoint - The [code point](https://en.wikipedia.org/wiki/Code_point) of a character.
5
-
6
- @example
7
- ```
8
- import isFullwidthCodePoint from 'is-fullwidth-code-point';
9
-
10
- isFullwidthCodePoint('谢'.codePointAt(0));
11
- //=> true
12
-
13
- isFullwidthCodePoint('a'.codePointAt(0));
14
- //=> false
15
- ```
16
- */
17
- export default function isFullwidthCodePoint(codePoint: number): boolean;
@@ -1,12 +0,0 @@
1
- import {
2
- _isFullWidth as isFullWidth,
3
- _isWide as isWide,
4
- } from 'get-east-asian-width';
5
-
6
- export default function isFullwidthCodePoint(codePoint) {
7
- if (!Number.isInteger(codePoint)) {
8
- return false;
9
- }
10
-
11
- return isFullWidth(codePoint) || isWide(codePoint);
12
- }
@@ -1,9 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
-
7
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,53 +0,0 @@
1
- {
2
- "name": "is-fullwidth-code-point",
3
- "version": "5.1.0",
4
- "description": "Check if the character represented by a given Unicode code point is fullwidth",
5
- "license": "MIT",
6
- "repository": "sindresorhus/is-fullwidth-code-point",
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
- "fullwidth",
31
- "full-width",
32
- "full",
33
- "width",
34
- "unicode",
35
- "character",
36
- "string",
37
- "codepoint",
38
- "code",
39
- "point",
40
- "is",
41
- "detect",
42
- "check",
43
- "east-asian-width"
44
- ],
45
- "devDependencies": {
46
- "ava": "^5.3.1",
47
- "tsd": "^0.29.0",
48
- "xo": "^0.56.0"
49
- },
50
- "dependencies": {
51
- "get-east-asian-width": "^1.3.1"
52
- }
53
- }
@@ -1,31 +0,0 @@
1
- # is-fullwidth-code-point
2
-
3
- > Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/Code_point) is [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms)
4
-
5
- ## Install
6
-
7
- ```sh
8
- npm install is-fullwidth-code-point
9
- ```
10
-
11
- ## Usage
12
-
13
- ```js
14
- import isFullwidthCodePoint from 'is-fullwidth-code-point';
15
-
16
- isFullwidthCodePoint('谢'.codePointAt(0));
17
- //=> true
18
-
19
- isFullwidthCodePoint('a'.codePointAt(0));
20
- //=> false
21
- ```
22
-
23
- ## API
24
-
25
- ### isFullwidthCodePoint(codePoint)
26
-
27
- #### codePoint
28
-
29
- Type: `number`
30
-
31
- The [code point](https://en.wikipedia.org/wiki/Code_point) of a character.
@@ -1,30 +0,0 @@
1
- {
2
- "maxdepth": 4,
3
- "maxstatements": 200,
4
- "maxcomplexity": 12,
5
- "maxlen": 80,
6
- "maxparams": 5,
7
-
8
- "curly": true,
9
- "eqeqeq": true,
10
- "immed": true,
11
- "latedef": false,
12
- "noarg": true,
13
- "noempty": true,
14
- "nonew": true,
15
- "undef": true,
16
- "unused": "vars",
17
- "trailing": true,
18
-
19
- "quotmark": true,
20
- "expr": true,
21
- "asi": true,
22
-
23
- "browser": false,
24
- "esnext": true,
25
- "devel": false,
26
- "node": false,
27
- "nonstandard": false,
28
-
29
- "predef": ["require", "module", "__dirname", "__filename"]
30
- }
@@ -1,32 +0,0 @@
1
- # xtend
2
-
3
- [![browser support][3]][4]
4
-
5
- [![locked](http://badges.github.io/stability-badges/dist/locked.svg)](http://github.com/badges/stability-badges)
6
-
7
- Extend like a boss
8
-
9
- xtend is a basic utility library which allows you to extend an object by appending all of the properties from each object in a list. When there are identical properties, the right-most property takes precedence.
10
-
11
- ## Examples
12
-
13
- ```js
14
- var extend = require("xtend")
15
-
16
- // extend returns a new object. Does not mutate arguments
17
- var combination = extend({
18
- a: "a",
19
- b: "c"
20
- }, {
21
- b: "b"
22
- })
23
- // { a: "a", b: "b" }
24
- ```
25
-
26
- ## Stability status: Locked
27
-
28
- ## MIT Licensed
29
-
30
-
31
- [3]: http://ci.testling.com/Raynos/xtend.png
32
- [4]: http://ci.testling.com/Raynos/xtend
@@ -1,19 +0,0 @@
1
- module.exports = extend
2
-
3
- var hasOwnProperty = Object.prototype.hasOwnProperty;
4
-
5
- function extend() {
6
- var target = {}
7
-
8
- for (var i = 0; i < arguments.length; i++) {
9
- var source = arguments[i]
10
-
11
- for (var key in source) {
12
- if (hasOwnProperty.call(source, key)) {
13
- target[key] = source[key]
14
- }
15
- }
16
- }
17
-
18
- return target
19
- }
@@ -1,17 +0,0 @@
1
- module.exports = extend
2
-
3
- var hasOwnProperty = Object.prototype.hasOwnProperty;
4
-
5
- function extend(target) {
6
- for (var i = 1; i < arguments.length; i++) {
7
- var source = arguments[i]
8
-
9
- for (var key in source) {
10
- if (hasOwnProperty.call(source, key)) {
11
- target[key] = source[key]
12
- }
13
- }
14
- }
15
-
16
- return target
17
- }
@@ -1,55 +0,0 @@
1
- {
2
- "name": "xtend",
3
- "version": "4.0.2",
4
- "description": "extend like a boss",
5
- "keywords": [
6
- "extend",
7
- "merge",
8
- "options",
9
- "opts",
10
- "object",
11
- "array"
12
- ],
13
- "author": "Raynos <raynos2@gmail.com>",
14
- "repository": "git://github.com/Raynos/xtend.git",
15
- "main": "immutable",
16
- "scripts": {
17
- "test": "node test"
18
- },
19
- "dependencies": {},
20
- "devDependencies": {
21
- "tape": "~1.1.0"
22
- },
23
- "homepage": "https://github.com/Raynos/xtend",
24
- "contributors": [
25
- {
26
- "name": "Jake Verbaten"
27
- },
28
- {
29
- "name": "Matt Esch"
30
- }
31
- ],
32
- "bugs": {
33
- "url": "https://github.com/Raynos/xtend/issues",
34
- "email": "raynos2@gmail.com"
35
- },
36
- "license": "MIT",
37
- "testling": {
38
- "files": "test.js",
39
- "browsers": [
40
- "ie/7..latest",
41
- "firefox/16..latest",
42
- "firefox/nightly",
43
- "chrome/22..latest",
44
- "chrome/canary",
45
- "opera/12..latest",
46
- "opera/next",
47
- "safari/5.1..latest",
48
- "ipad/6.0..latest",
49
- "iphone/6.0..latest"
50
- ]
51
- },
52
- "engines": {
53
- "node": ">=0.4"
54
- }
55
- }
@@ -1,103 +0,0 @@
1
- var test = require("tape")
2
- var extend = require("./")
3
- var mutableExtend = require("./mutable")
4
-
5
- test("merge", function(assert) {
6
- var a = { a: "foo" }
7
- var b = { b: "bar" }
8
-
9
- assert.deepEqual(extend(a, b), { a: "foo", b: "bar" })
10
- assert.end()
11
- })
12
-
13
- test("replace", function(assert) {
14
- var a = { a: "foo" }
15
- var b = { a: "bar" }
16
-
17
- assert.deepEqual(extend(a, b), { a: "bar" })
18
- assert.end()
19
- })
20
-
21
- test("undefined", function(assert) {
22
- var a = { a: undefined }
23
- var b = { b: "foo" }
24
-
25
- assert.deepEqual(extend(a, b), { a: undefined, b: "foo" })
26
- assert.deepEqual(extend(b, a), { a: undefined, b: "foo" })
27
- assert.end()
28
- })
29
-
30
- test("handle 0", function(assert) {
31
- var a = { a: "default" }
32
- var b = { a: 0 }
33
-
34
- assert.deepEqual(extend(a, b), { a: 0 })
35
- assert.deepEqual(extend(b, a), { a: "default" })
36
- assert.end()
37
- })
38
-
39
- test("is immutable", function (assert) {
40
- var record = {}
41
-
42
- extend(record, { foo: "bar" })
43
- assert.equal(record.foo, undefined)
44
- assert.end()
45
- })
46
-
47
- test("null as argument", function (assert) {
48
- var a = { foo: "bar" }
49
- var b = null
50
- var c = void 0
51
-
52
- assert.deepEqual(extend(b, a, c), { foo: "bar" })
53
- assert.end()
54
- })
55
-
56
- test("mutable", function (assert) {
57
- var a = { foo: "bar" }
58
-
59
- mutableExtend(a, { bar: "baz" })
60
-
61
- assert.equal(a.bar, "baz")
62
- assert.end()
63
- })
64
-
65
- test("null prototype", function(assert) {
66
- var a = { a: "foo" }
67
- var b = Object.create(null)
68
- b.b = "bar";
69
-
70
- assert.deepEqual(extend(a, b), { a: "foo", b: "bar" })
71
- assert.end()
72
- })
73
-
74
- test("null prototype mutable", function (assert) {
75
- var a = { foo: "bar" }
76
- var b = Object.create(null)
77
- b.bar = "baz";
78
-
79
- mutableExtend(a, b)
80
-
81
- assert.equal(a.bar, "baz")
82
- assert.end()
83
- })
84
-
85
- test("prototype pollution", function (assert) {
86
- var a = {}
87
- var maliciousPayload = '{"__proto__":{"oops":"It works!"}}'
88
-
89
- assert.strictEqual(a.oops, undefined)
90
- extend({}, maliciousPayload)
91
- assert.strictEqual(a.oops, undefined)
92
- assert.end()
93
- })
94
-
95
- test("prototype pollution mutable", function (assert) {
96
- var a = {}
97
- var maliciousPayload = '{"__proto__":{"oops":"It works!"}}'
98
-
99
- assert.strictEqual(a.oops, undefined)
100
- mutableExtend({}, maliciousPayload)
101
- assert.strictEqual(a.oops, undefined)
102
- assert.end()
103
- })