decocms 2.278.1 → 2.279.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 (220) hide show
  1. package/dist/client/assets/{AlertCircle-RpY4bUJr.js → AlertCircle-CfFyE8cr.js} +1 -1
  2. package/dist/client/assets/{ArrowNarrowLeft-CJwdGPbT.js → ArrowNarrowLeft-Da5yRbDu.js} +1 -1
  3. package/dist/client/assets/{CheckCircle-BI5IiZgb.js → CheckCircle-D2fQEgC-.js} +1 -1
  4. package/dist/client/assets/{ChevronDown-BAXd7Lqd.js → ChevronDown-CEm8bH9z.js} +1 -1
  5. package/dist/client/assets/{ChevronRight-DKEbZtdl.js → ChevronRight-DyTRIsvx.js} +1 -1
  6. package/dist/client/assets/{ChevronUp-DzlxkGUl.js → ChevronUp-E63-b_P9.js} +1 -1
  7. package/dist/client/assets/{Container-DBgGfzNs.js → Container-CJG3ExgA.js} +1 -1
  8. package/dist/client/assets/{LinkExternal01-BpU2Zg5G.js → LinkExternal01-D16-VOGQ.js} +1 -1
  9. package/dist/client/assets/{Lock01-C5ObVqfL.js → Lock01-B8wqomxu.js} +1 -1
  10. package/dist/client/assets/{Palette-CFaa6lnd.js → Palette-v9pwEnA4.js} +1 -1
  11. package/dist/client/assets/{Play-Z2rVo32r.js → Play-D8DNxfum.js} +1 -1
  12. package/dist/client/assets/{Plus-iqKMHcIY.js → Plus-ZF7w6L4O.js} +1 -1
  13. package/dist/client/assets/{SearchMd-CfDkq1If.js → SearchMd-Cnjv3UQP.js} +1 -1
  14. package/dist/client/assets/{Settings02-BnNqayNe.js → Settings02-D6EvGHhW.js} +1 -1
  15. package/dist/client/assets/{Star01-BTwJOW68.js → Star01-Duh2LG2L.js} +1 -1
  16. package/dist/client/assets/{Sun-CWTFdsIN.js → Sun-pL1WUVwn.js} +1 -1
  17. package/dist/client/assets/{Tool01-R5WYUcbi.js → Tool01-BF1lV-4S.js} +1 -1
  18. package/dist/client/assets/{Trash01-DYSvj4Mr.js → Trash01-B-dX5IVT.js} +1 -1
  19. package/dist/client/assets/{Upload01-Cktx5YzE.js → Upload01-ObPiK9Gt.js} +1 -1
  20. package/dist/client/assets/{User01-BbQpT999.js → User01-CIx0aqsB.js} +1 -1
  21. package/dist/client/assets/{Users03-DCEUsmLl.js → Users03-CCOKfSZN.js} +1 -1
  22. package/dist/client/assets/{X-mGheZZXr.js → X-qpFUx-Vy.js} +1 -1
  23. package/dist/client/assets/{XCircle-DayiQYw5.js → XCircle-bGl0e4GB.js} +1 -1
  24. package/dist/client/assets/{Zap-BnPwXsSI.js → Zap-MsLTEH0A.js} +1 -1
  25. package/dist/client/assets/{ZapSquare-DnGX7edB.js → ZapSquare-C-4TuG6U.js} +1 -1
  26. package/dist/client/assets/{accordion-hSfs59TQ.js → accordion-BwZCqJLV.js} +1 -1
  27. package/dist/client/assets/{agent-icon-D6bLKQ2x.js → agent-icon-DBW-xznI.js} +1 -1
  28. package/dist/client/assets/{agents-list-uDQGef9T.js → agents-list-CS1AuC8H.js} +1 -1
  29. package/dist/client/assets/ai-providers-Dc9Qa6xm.js +1 -0
  30. package/dist/client/assets/{alert-dialog-Dw58KHOn.js → alert-dialog-BBucwhbQ.js} +1 -1
  31. package/dist/client/assets/{auth-catchall-CtfdphV2.js → auth-catchall-RbsBNuQ5.js} +1 -1
  32. package/dist/client/assets/{automation-list-row-DYTYU42X.js → automation-list-row-xmvI2ZpZ.js} +1 -1
  33. package/dist/client/assets/{automations-DZS7BnlF.js → automations-CxcNaqNr.js} +1 -1
  34. package/dist/client/assets/{avatar-Or2zrDA-.js → avatar-CrY-QYa1.js} +1 -1
  35. package/dist/client/assets/{badge-gQVaeFYL.js → badge-DFmhmXN4.js} +1 -1
  36. package/dist/client/assets/{brand-context-C8YhXjoC.js → brand-context-CA6uA8-f.js} +1 -1
  37. package/dist/client/assets/{card-N_n9dJ1C.js → card-CAUJapuJ.js} +1 -1
  38. package/dist/client/assets/{chat-context-0qKFTvd4.js → chat-context-D0rB5W6o.js} +1 -1
  39. package/dist/client/assets/{checkbox-CPuyzGEM.js → checkbox-FzuPLTLu.js} +1 -1
  40. package/dist/client/assets/{collection-detail-DFwTqhD1.js → collection-detail-BKeI5Mej.js} +1 -1
  41. package/dist/client/assets/{collection-display-button-njo6Xh2u.js → collection-display-button-BQh1Gx1X.js} +1 -1
  42. package/dist/client/assets/{collection-search-CaS2n1cB.js → collection-search-C1X9xWrk.js} +1 -1
  43. package/dist/client/assets/{collection-table-wrapper-Dcn0zsHK.js → collection-table-wrapper-BkYiSJ2_.js} +1 -1
  44. package/dist/client/assets/{collection-tabs-ByBcZvcT.js → collection-tabs-DyGLUrer.js} +1 -1
  45. package/dist/client/assets/{collections-Djr3E20Q.js → collections-D0TgU2mm.js} +1 -1
  46. package/dist/client/assets/{command-B51t2F-w.js → command-quthPAw7.js} +1 -1
  47. package/dist/client/assets/{connection-card-Mc71vwAD.js → connection-card-hgxEw9QB.js} +1 -1
  48. package/dist/client/assets/{connection-detail-DtSaPCBM.js → connection-detail-B830AX1z.js} +1 -1
  49. package/dist/client/assets/{connection-form-helpers-fgpIig1w.js → connection-form-helpers-CiJ8SQZJ.js} +1 -1
  50. package/dist/client/assets/{connections-DyzLArcN.js → connections-BHdj71bg.js} +1 -1
  51. package/dist/client/assets/{constants-DML917gs.js → constants-C7N_XM1Z.js} +1 -1
  52. package/dist/client/assets/{constants-Bp5-iYcY.js → constants-DYe7zuza.js} +1 -1
  53. package/dist/client/assets/{dialog-6uxiP96k.js → dialog-VsnyL-XQ.js} +1 -1
  54. package/dist/client/assets/{drawer-CbvLq5Uu.js → drawer-BA2JOP-U.js} +1 -1
  55. package/dist/client/assets/{dropdown-menu-BSSwgSj1.js → dropdown-menu-C5jBP7Fw.js} +1 -1
  56. package/dist/client/assets/{dynamic-plugin-layout-0EJvlc60.js → dynamic-plugin-layout-ZUCbr1b5.js} +1 -1
  57. package/dist/client/assets/{empty-state-0hDWNUcx.js → empty-state-BOUL-w18.js} +1 -1
  58. package/dist/client/assets/{empty-state-CU7_u48I.js → empty-state-Be673n_P.js} +1 -1
  59. package/dist/client/assets/{extract-connection-data-Cezio-s5.js → extract-connection-data-BZeMYWDa.js} +1 -1
  60. package/dist/client/assets/{features-DmtZ7olV.js → features-Cfc61NK4.js} +1 -1
  61. package/dist/client/assets/{form-oEblHddW.js → form-Cm4BWKO3.js} +1 -1
  62. package/dist/client/assets/{general-CeUrSx0B.js → general-nBrnHWgU.js} +1 -1
  63. package/dist/client/assets/{index-DYe52Cyo.js → index-1tgFNQN6.js} +1 -1
  64. package/dist/client/assets/{index-C2YTBPmn.js → index-B21DFJvX.js} +1 -1
  65. package/dist/client/assets/{index-DlGWDjkU.js → index-BBCNNn_r.js} +1 -1
  66. package/dist/client/assets/{index-CSYRl1zg.js → index-BIoyZkNb.js} +1 -1
  67. package/dist/client/assets/{index-_3-Zp92L.js → index-BdiKcIpp.js} +1 -1
  68. package/dist/client/assets/{index-gAKn78NR.js → index-CazZCRq6.js} +1 -1
  69. package/dist/client/assets/index-D2Sh5ySY.js +450 -0
  70. package/dist/client/assets/{index-Db1p8aFu.js → index-D7Lqg2_V.js} +1 -1
  71. package/dist/client/assets/{index-yA3niX2v.js → index-Dj3wFV1t.js} +2 -2
  72. package/dist/client/assets/index-L4qcWzMc.css +1 -0
  73. package/dist/client/assets/{index-CNrMlOJM.js → index-_BXT4fTT.js} +1 -1
  74. package/dist/client/assets/{infiniteQueryObserver-Kusj8ovY.js → infiniteQueryObserver-CTx2Ye7N.js} +1 -1
  75. package/dist/client/assets/{input-B9sAUDOT.js → input-DFZSZH1u.js} +1 -1
  76. package/dist/client/assets/{integration-icon-LoNFtirH.js → integration-icon-DoBfii_Q.js} +1 -1
  77. package/dist/client/assets/{label-WH1pO6UH.js → label-CinsfmY9.js} +1 -1
  78. package/dist/client/assets/{layout-XdKnShqM.js → layout-B3KnVa9R.js} +1 -1
  79. package/dist/client/assets/{lean-canvas-recruit-modal-C6N1BBPO.js → lean-canvas-recruit-modal-BU5okOF7.js} +1 -1
  80. package/dist/client/assets/{login-vj34UALt.js → login-DsoYRzXP.js} +1 -1
  81. package/dist/client/assets/{members-rAC4_0t4.js → members-429sWXVs.js} +1 -1
  82. package/dist/client/assets/{monaco-editor-iXGMVCiz.js → monaco-editor-DoFCKNPl.js} +1 -1
  83. package/dist/client/assets/{monitoring-stats-row-BloCdgbG.js → monitoring-stats-row-CTzCdFf0.js} +1 -1
  84. package/dist/client/assets/{oauth-callback-CELgu_cO.js → oauth-callback-C9Yjhdcq.js} +1 -1
  85. package/dist/client/assets/{oauth-callback-ai-provider-DsyvZ6lU.js → oauth-callback-ai-provider-DrhZwXBr.js} +1 -1
  86. package/dist/client/assets/{onboarding-BgyTCUN-.js → onboarding-ZX_rVkwm.js} +1 -1
  87. package/dist/client/assets/{org-layout-XurBF-Lt.js → org-layout-BdgTfERv.js} +1 -1
  88. package/dist/client/assets/{org-plugin-layout-BSk2n1gQ.js → org-plugin-layout-Dz89NZ2c.js} +1 -1
  89. package/dist/client/assets/{plugin-empty-state-CRqsi0ib.js → plugin-empty-state-Dm1cZM5g.js} +1 -1
  90. package/dist/client/assets/{plugin-header-BZp9Mspt.js → plugin-header-BME200Pl.js} +1 -1
  91. package/dist/client/assets/{plugin-layout-BadNZHL3.js → plugin-layout-Dg-4s9bf.js} +1 -1
  92. package/dist/client/assets/{popover-GxFgGfCj.js → popover-DkcEXeJ2.js} +1 -1
  93. package/dist/client/assets/{profile-CWbzz0se.js → profile-whmeOhpn.js} +1 -1
  94. package/dist/client/assets/{project-app-view-Cgxq8Z9m.js → project-app-view-DQAduvBB.js} +1 -1
  95. package/dist/client/assets/registry-UmlS2hsK.js +2 -0
  96. package/dist/client/assets/{registry-layout-C8Qiz9yD.js → registry-layout-zkTenTgZ.js} +1 -1
  97. package/dist/client/assets/{required-auth-layout-OZ0PdFXR.js → required-auth-layout-C6A_rjeR.js} +1 -1
  98. package/dist/client/assets/{reset-password-s2ukM5mp.js → reset-password-CIOKWLsJ.js} +1 -1
  99. package/dist/client/assets/{scroll-area-Bzy4HD_J.js → scroll-area-DMYp9AgI.js} +1 -1
  100. package/dist/client/assets/{search-input-Bnf2nHLo.js → search-input-Dazz3BtE.js} +1 -1
  101. package/dist/client/assets/{select-ReQwhRkA.js → select-4thHDt_Z.js} +1 -1
  102. package/dist/client/assets/{select-model-D4OtA_w2.js → select-model-DWwA5nzG.js} +1 -1
  103. package/dist/client/assets/{settings-layout-BL-BX1UN.js → settings-layout-C3HofuKN.js} +1 -1
  104. package/dist/client/assets/{shell-layout-BD0Xub-g.js → shell-layout-DjPNQ4AH.js} +1 -1
  105. package/dist/client/assets/{skeleton-B313Ulm0.js → skeleton-BdOhMM7L.js} +1 -1
  106. package/dist/client/assets/{sso-ZrM6U_dp.js → sso-CNnZ0vJo.js} +1 -1
  107. package/dist/client/assets/{store-CbZTBfxH.js → store-D3-SS7Im.js} +1 -1
  108. package/dist/client/assets/store-registry-BfuvvvI3.js +2 -0
  109. package/dist/client/assets/{switch-BXD1owGz.js → switch-B0c3heP8.js} +1 -1
  110. package/dist/client/assets/{table-rsOFtuU-.js → table-HIiBelyW.js} +1 -1
  111. package/dist/client/assets/{tabs-DO4ygLuS.js → tabs-BXWnZ-yB.js} +1 -1
  112. package/dist/client/assets/{task-status-CaevYqis.js → task-status-DfkGkEmj.js} +1 -1
  113. package/dist/client/assets/{textarea-DDf010du.js → textarea-CR3Wtkt8.js} +1 -1
  114. package/dist/client/assets/{toggle-group-Bo4IS3RK.js → toggle-group-COSjIR8f.js} +1 -1
  115. package/dist/client/assets/{tools-list-CIQ6CwYm.js → tools-list-BVkXIuQ8.js} +1 -1
  116. package/dist/client/assets/{types-952BCAPT.js → types-DY60ZwCm.js} +1 -1
  117. package/dist/client/assets/{use-ai-providers-BirgTm09.js → use-ai-providers-CcA_yab6.js} +1 -1
  118. package/dist/client/assets/{use-collections-By6uZJSr.js → use-collections-Dlf9asbR.js} +1 -1
  119. package/dist/client/assets/{use-connection-CZkpN1_f.js → use-connection-CNCuQvuX.js} +1 -1
  120. package/dist/client/assets/{use-copy-DSXw9G_Y.js → use-copy-UL6gZ4LC.js} +1 -1
  121. package/dist/client/assets/{use-create-virtual-mcp-BNzn74Vf.js → use-create-virtual-mcp-CjqWoNj1.js} +1 -1
  122. package/dist/client/assets/{use-decopilot-events-Yr2IQvc8.js → use-decopilot-events-BnKYuJvL.js} +1 -1
  123. package/dist/client/assets/{use-delete-connection-BUM30EhS.js → use-delete-connection-DdCOYKB6.js} +1 -1
  124. package/dist/client/assets/{use-infinite-scroll-DmTHG8QF.js → use-infinite-scroll-CatVEyLa.js} +1 -1
  125. package/dist/client/assets/{use-list-state-9mz92TGW.js → use-list-state-DBSg2drf.js} +1 -1
  126. package/dist/client/assets/{use-mcp-tools-D2wfRdQX.js → use-mcp-tools-B6V19xvt.js} +1 -1
  127. package/dist/client/assets/{use-members-COfO6YRW.js → use-members-B8xFiKS7.js} +1 -1
  128. package/dist/client/assets/{use-mobile-cBCc1tkS.js → use-mobile-C_Neq23J.js} +1 -1
  129. package/dist/client/assets/{use-navigate-to-agent-8jFeFT9G.js → use-navigate-to-agent-C0g9x11z.js} +1 -1
  130. package/dist/client/assets/{use-org-sso-B4d8umPM.js → use-org-sso-DkKTWbST.js} +1 -1
  131. package/dist/client/assets/{use-organization-settings-Bfqz0Dub.js → use-organization-settings-DV1cm49I.js} +1 -1
  132. package/dist/client/assets/{use-registry-connections-BX2aMDCo.js → use-registry-connections-DwyKWiF1.js} +1 -1
  133. package/dist/client/assets/{use-status-sounds-B5cgRwGB.js → use-status-sounds-CiqdINTO.js} +1 -1
  134. package/dist/client/assets/{use-tasks-C63aBSUV.js → use-tasks-opPZutfY.js} +1 -1
  135. package/dist/client/assets/{use-view-mode-Btze869M.js → use-view-mode-Bjh-6ZT_.js} +1 -1
  136. package/dist/client/assets/{use-virtual-mcp-C3-aNrQY.js → use-virtual-mcp-DXZnUcpg.js} +1 -1
  137. package/dist/client/assets/useInfiniteQuery-jUfAfl-E.js +1 -0
  138. package/dist/client/assets/{user-zYk_lp5f.js → user-DYxfnX1N.js} +1 -1
  139. package/dist/client/assets/{view-mode-toggle-BrDfC5aK.js → view-mode-toggle-BGpJZykq.js} +1 -1
  140. package/dist/client/assets/{workflow-BOdefRku.js → workflow-OVrWljFu.js} +1 -1
  141. package/dist/client/assets/workflow-detail-DunweIZq.js +1 -0
  142. package/dist/client/index.html +2 -2
  143. package/dist/server/cli.js +1 -1
  144. package/dist/server/node_modules/convert-to-spaces/dist/index.d.ts +2 -0
  145. package/dist/server/node_modules/convert-to-spaces/dist/index.js +4 -0
  146. package/dist/server/node_modules/{postgres-date → convert-to-spaces}/license +1 -1
  147. package/dist/server/node_modules/convert-to-spaces/package.json +40 -0
  148. package/dist/server/node_modules/convert-to-spaces/readme.md +39 -0
  149. package/dist/server/node_modules/escape-string-regexp/index.d.ts +18 -0
  150. package/dist/server/node_modules/escape-string-regexp/index.js +11 -0
  151. package/dist/server/node_modules/escape-string-regexp/package.json +43 -0
  152. package/dist/server/node_modules/escape-string-regexp/readme.md +29 -0
  153. package/dist/server/node_modules/pg-cloudflare/LICENSE +21 -0
  154. package/dist/server/node_modules/pg-cloudflare/README.md +112 -0
  155. package/dist/server/node_modules/pg-cloudflare/dist/empty.d.ts +2 -0
  156. package/dist/server/node_modules/pg-cloudflare/dist/empty.js +6 -0
  157. package/dist/server/node_modules/pg-cloudflare/dist/empty.js.map +1 -0
  158. package/dist/server/node_modules/pg-cloudflare/dist/index.d.ts +31 -0
  159. package/dist/server/node_modules/pg-cloudflare/dist/index.js +152 -0
  160. package/dist/server/node_modules/pg-cloudflare/dist/index.js.map +1 -0
  161. package/dist/server/node_modules/pg-cloudflare/esm/index.mjs +3 -0
  162. package/dist/server/node_modules/pg-cloudflare/package.json +39 -0
  163. package/dist/server/node_modules/pg-cloudflare/src/empty.ts +3 -0
  164. package/dist/server/node_modules/pg-cloudflare/src/index.ts +166 -0
  165. package/dist/server/node_modules/pg-cloudflare/src/types.d.ts +25 -0
  166. package/dist/server/node_modules/pg-connection-string/LICENSE +21 -0
  167. package/dist/server/node_modules/pg-connection-string/README.md +105 -0
  168. package/dist/server/node_modules/pg-connection-string/esm/index.mjs +8 -0
  169. package/dist/server/node_modules/pg-connection-string/index.d.ts +36 -0
  170. package/dist/server/node_modules/pg-connection-string/index.js +231 -0
  171. package/dist/server/node_modules/pg-connection-string/package.json +52 -0
  172. package/dist/server/node_modules/postgres-array/index.d.ts +4 -0
  173. package/dist/server/node_modules/postgres-array/index.js +97 -0
  174. package/dist/server/node_modules/{postgres-bytea → postgres-array}/package.json +10 -9
  175. package/dist/server/node_modules/postgres-array/readme.md +43 -0
  176. package/package.json +1 -1
  177. package/dist/client/assets/ai-providers-DxjF0Bbg.js +0 -1
  178. package/dist/client/assets/index-0wk7oXl7.js +0 -450
  179. package/dist/client/assets/index-B2LlXg0m.css +0 -1
  180. package/dist/client/assets/registry-BN8y2uhx.js +0 -2
  181. package/dist/client/assets/store-registry-CXWRsbL6.js +0 -2
  182. package/dist/client/assets/useInfiniteQuery-DBOEwCdJ.js +0 -1
  183. package/dist/client/assets/workflow-detail-JXXWRY8y.js +0 -1
  184. package/dist/server/node_modules/ansi-regex/index.d.ts +0 -33
  185. package/dist/server/node_modules/ansi-regex/index.js +0 -14
  186. package/dist/server/node_modules/ansi-regex/license +0 -9
  187. package/dist/server/node_modules/ansi-regex/package.json +0 -61
  188. package/dist/server/node_modules/ansi-regex/readme.md +0 -66
  189. package/dist/server/node_modules/mimic-fn/index.d.ts +0 -54
  190. package/dist/server/node_modules/mimic-fn/index.js +0 -13
  191. package/dist/server/node_modules/mimic-fn/package.json +0 -42
  192. package/dist/server/node_modules/mimic-fn/readme.md +0 -69
  193. package/dist/server/node_modules/onetime/index.d.ts +0 -64
  194. package/dist/server/node_modules/onetime/index.js +0 -44
  195. package/dist/server/node_modules/onetime/license +0 -9
  196. package/dist/server/node_modules/onetime/package.json +0 -43
  197. package/dist/server/node_modules/onetime/readme.md +0 -94
  198. package/dist/server/node_modules/pg-int8/LICENSE +0 -13
  199. package/dist/server/node_modules/pg-int8/README.md +0 -16
  200. package/dist/server/node_modules/pg-int8/index.js +0 -100
  201. package/dist/server/node_modules/pg-int8/package.json +0 -24
  202. package/dist/server/node_modules/postgres-bytea/index.js +0 -33
  203. package/dist/server/node_modules/postgres-bytea/readme.md +0 -34
  204. package/dist/server/node_modules/postgres-date/index.js +0 -116
  205. package/dist/server/node_modules/postgres-date/package.json +0 -33
  206. package/dist/server/node_modules/postgres-date/readme.md +0 -49
  207. package/dist/server/node_modules/slice-ansi/index.d.ts +0 -19
  208. package/dist/server/node_modules/slice-ansi/index.js +0 -260
  209. package/dist/server/node_modules/slice-ansi/license +0 -10
  210. package/dist/server/node_modules/slice-ansi/package.json +0 -59
  211. package/dist/server/node_modules/slice-ansi/readme.md +0 -54
  212. package/dist/server/node_modules/slice-ansi/tokenize-ansi.js +0 -752
  213. package/dist/server/node_modules/split2/LICENSE +0 -13
  214. package/dist/server/node_modules/split2/README.md +0 -85
  215. package/dist/server/node_modules/split2/bench.js +0 -27
  216. package/dist/server/node_modules/split2/index.js +0 -141
  217. package/dist/server/node_modules/split2/package.json +0 -39
  218. package/dist/server/node_modules/split2/test.js +0 -409
  219. /package/dist/server/node_modules/{mimic-fn → escape-string-regexp}/license +0 -0
  220. /package/dist/server/node_modules/{postgres-bytea → postgres-array}/license +0 -0
@@ -1,33 +0,0 @@
1
- export type Options = {
2
- /**
3
- Match only the first ANSI escape.
4
-
5
- @default false
6
- */
7
- readonly onlyFirst: boolean;
8
- };
9
-
10
- /**
11
- Regular expression for matching ANSI escape codes.
12
-
13
- @example
14
- ```
15
- import ansiRegex from 'ansi-regex';
16
-
17
- ansiRegex().test('\u001B[4mcake\u001B[0m');
18
- //=> true
19
-
20
- ansiRegex().test('cake');
21
- //=> false
22
-
23
- '\u001B[4mcake\u001B[0m'.match(ansiRegex());
24
- //=> ['\u001B[4m', '\u001B[0m']
25
-
26
- '\u001B[4mcake\u001B[0m'.match(ansiRegex({onlyFirst: true}));
27
- //=> ['\u001B[4m']
28
-
29
- '\u001B]8;;https://github.com\u0007click\u001B]8;;\u0007'.match(ansiRegex());
30
- //=> ['\u001B]8;;https://github.com\u0007', '\u001B]8;;\u0007']
31
- ```
32
- */
33
- export default function ansiRegex(options?: Options): RegExp;
@@ -1,14 +0,0 @@
1
- export default function ansiRegex({onlyFirst = false} = {}) {
2
- // Valid string terminator sequences are BEL, ESC\, and 0x9c
3
- const ST = '(?:\\u0007|\\u001B\\u005C|\\u009C)';
4
-
5
- // OSC sequences only: ESC ] ... ST (non-greedy until the first ST)
6
- const osc = `(?:\\u001B\\][\\s\\S]*?${ST})`;
7
-
8
- // CSI and related: ESC/C1, optional intermediates, optional params (supports ; and :) then final byte
9
- const csi = '[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]';
10
-
11
- const pattern = `${osc}|${csi}`;
12
-
13
- return new RegExp(pattern, onlyFirst ? undefined : 'g');
14
- }
@@ -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,61 +0,0 @@
1
- {
2
- "name": "ansi-regex",
3
- "version": "6.2.2",
4
- "description": "Regular expression for matching ANSI escape codes",
5
- "license": "MIT",
6
- "repository": "chalk/ansi-regex",
7
- "funding": "https://github.com/chalk/ansi-regex?sponsor=1",
8
- "author": {
9
- "name": "Sindre Sorhus",
10
- "email": "sindresorhus@gmail.com",
11
- "url": "https://sindresorhus.com"
12
- },
13
- "type": "module",
14
- "exports": "./index.js",
15
- "types": "./index.d.ts",
16
- "sideEffects": false,
17
- "engines": {
18
- "node": ">=12"
19
- },
20
- "scripts": {
21
- "test": "xo && ava && tsd",
22
- "view-supported": "node fixtures/view-codes.js"
23
- },
24
- "files": [
25
- "index.js",
26
- "index.d.ts"
27
- ],
28
- "keywords": [
29
- "ansi",
30
- "styles",
31
- "color",
32
- "colour",
33
- "colors",
34
- "terminal",
35
- "console",
36
- "cli",
37
- "string",
38
- "tty",
39
- "escape",
40
- "formatting",
41
- "rgb",
42
- "256",
43
- "shell",
44
- "xterm",
45
- "command-line",
46
- "text",
47
- "regex",
48
- "regexp",
49
- "re",
50
- "match",
51
- "test",
52
- "find",
53
- "pattern"
54
- ],
55
- "devDependencies": {
56
- "ansi-escapes": "^5.0.0",
57
- "ava": "^3.15.0",
58
- "tsd": "^0.21.0",
59
- "xo": "^0.54.2"
60
- }
61
- }
@@ -1,66 +0,0 @@
1
- # ansi-regex
2
-
3
- > Regular expression for matching [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code)
4
-
5
- ## Install
6
-
7
- ```sh
8
- npm install ansi-regex
9
- ```
10
-
11
- ## Usage
12
-
13
- ```js
14
- import ansiRegex from 'ansi-regex';
15
-
16
- ansiRegex().test('\u001B[4mcake\u001B[0m');
17
- //=> true
18
-
19
- ansiRegex().test('cake');
20
- //=> false
21
-
22
- '\u001B[4mcake\u001B[0m'.match(ansiRegex());
23
- //=> ['\u001B[4m', '\u001B[0m']
24
-
25
- '\u001B[4mcake\u001B[0m'.match(ansiRegex({onlyFirst: true}));
26
- //=> ['\u001B[4m']
27
-
28
- '\u001B]8;;https://github.com\u0007click\u001B]8;;\u0007'.match(ansiRegex());
29
- //=> ['\u001B]8;;https://github.com\u0007', '\u001B]8;;\u0007']
30
- ```
31
-
32
- ## API
33
-
34
- ### ansiRegex(options?)
35
-
36
- Returns a regex for matching ANSI escape codes.
37
-
38
- #### options
39
-
40
- Type: `object`
41
-
42
- ##### onlyFirst
43
-
44
- Type: `boolean`\
45
- Default: `false` *(Matches any ANSI escape codes in a string)*
46
-
47
- Match only the first ANSI escape.
48
-
49
- ## Important
50
-
51
- If you run the regex against untrusted user input in a server context, you should [give it a timeout](https://github.com/sindresorhus/super-regex).
52
-
53
- **I do not consider [ReDoS](https://blog.yossarian.net/2022/12/28/ReDoS-vulnerabilities-and-misaligned-incentives) a valid vulnerability for this package.**
54
-
55
- ## FAQ
56
-
57
- ### Why do you test for codes not in the ECMA 48 standard?
58
-
59
- Some of the codes we run as a test are codes that we acquired finding various lists of non-standard or manufacturer specific codes. We test for both standard and non-standard codes, as most of them follow the same or similar format and can be safely matched in strings without the risk of removing actual string content. There are a few non-standard control codes that do not follow the traditional format (i.e. they end in numbers) thus forcing us to exclude them from the test because we cannot reliably match them.
60
-
61
- On the historical side, those ECMA standards were established in the early 90's whereas the VT100, for example, was designed in the mid/late 70's. At that point in time, control codes were still pretty ungoverned and engineers used them for a multitude of things, namely to activate hardware ports that may have been proprietary. Somewhere else you see a similar 'anarchy' of codes is in the x86 architecture for processors; there are a ton of "interrupts" that can mean different things on certain brands of processors, most of which have been phased out.
62
-
63
- ## Maintainers
64
-
65
- - [Sindre Sorhus](https://github.com/sindresorhus)
66
- - [Josh Junon](https://github.com/qix-)
@@ -1,54 +0,0 @@
1
- declare const mimicFn: {
2
- /**
3
- Make a function mimic another one. It will copy over the properties `name`, `length`, `displayName`, and any custom properties you may have set.
4
-
5
- @param to - Mimicking function.
6
- @param from - Function to mimic.
7
- @returns The modified `to` function.
8
-
9
- @example
10
- ```
11
- import mimicFn = require('mimic-fn');
12
-
13
- function foo() {}
14
- foo.unicorn = '🦄';
15
-
16
- function wrapper() {
17
- return foo();
18
- }
19
-
20
- console.log(wrapper.name);
21
- //=> 'wrapper'
22
-
23
- mimicFn(wrapper, foo);
24
-
25
- console.log(wrapper.name);
26
- //=> 'foo'
27
-
28
- console.log(wrapper.unicorn);
29
- //=> '🦄'
30
- ```
31
- */
32
- <
33
- ArgumentsType extends unknown[],
34
- ReturnType,
35
- FunctionType extends (...arguments: ArgumentsType) => ReturnType
36
- >(
37
- to: (...arguments: ArgumentsType) => ReturnType,
38
- from: FunctionType
39
- ): FunctionType;
40
-
41
- // TODO: Remove this for the next major release, refactor the whole definition to:
42
- // declare function mimicFn<
43
- // ArgumentsType extends unknown[],
44
- // ReturnType,
45
- // FunctionType extends (...arguments: ArgumentsType) => ReturnType
46
- // >(
47
- // to: (...arguments: ArgumentsType) => ReturnType,
48
- // from: FunctionType
49
- // ): FunctionType;
50
- // export = mimicFn;
51
- default: typeof mimicFn;
52
- };
53
-
54
- export = mimicFn;
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- const mimicFn = (to, from) => {
4
- for (const prop of Reflect.ownKeys(from)) {
5
- Object.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));
6
- }
7
-
8
- return to;
9
- };
10
-
11
- module.exports = mimicFn;
12
- // TODO: Remove this for the next major release
13
- module.exports.default = mimicFn;
@@ -1,42 +0,0 @@
1
- {
2
- "name": "mimic-fn",
3
- "version": "2.1.0",
4
- "description": "Make a function mimic another one",
5
- "license": "MIT",
6
- "repository": "sindresorhus/mimic-fn",
7
- "author": {
8
- "name": "Sindre Sorhus",
9
- "email": "sindresorhus@gmail.com",
10
- "url": "sindresorhus.com"
11
- },
12
- "engines": {
13
- "node": ">=6"
14
- },
15
- "scripts": {
16
- "test": "xo && ava && tsd"
17
- },
18
- "files": [
19
- "index.js",
20
- "index.d.ts"
21
- ],
22
- "keywords": [
23
- "function",
24
- "mimic",
25
- "imitate",
26
- "rename",
27
- "copy",
28
- "inherit",
29
- "properties",
30
- "name",
31
- "func",
32
- "fn",
33
- "set",
34
- "infer",
35
- "change"
36
- ],
37
- "devDependencies": {
38
- "ava": "^1.4.1",
39
- "tsd": "^0.7.1",
40
- "xo": "^0.24.0"
41
- }
42
- }
@@ -1,69 +0,0 @@
1
- # mimic-fn [![Build Status](https://travis-ci.org/sindresorhus/mimic-fn.svg?branch=master)](https://travis-ci.org/sindresorhus/mimic-fn)
2
-
3
- > Make a function mimic another one
4
-
5
- Useful when you wrap a function in another function and like to preserve the original name and other properties.
6
-
7
-
8
- ## Install
9
-
10
- ```
11
- $ npm install mimic-fn
12
- ```
13
-
14
-
15
- ## Usage
16
-
17
- ```js
18
- const mimicFn = require('mimic-fn');
19
-
20
- function foo() {}
21
- foo.unicorn = '🦄';
22
-
23
- function wrapper() {
24
- return foo();
25
- }
26
-
27
- console.log(wrapper.name);
28
- //=> 'wrapper'
29
-
30
- mimicFn(wrapper, foo);
31
-
32
- console.log(wrapper.name);
33
- //=> 'foo'
34
-
35
- console.log(wrapper.unicorn);
36
- //=> '🦄'
37
- ```
38
-
39
-
40
- ## API
41
-
42
- It will copy over the properties `name`, `length`, `displayName`, and any custom properties you may have set.
43
-
44
- ### mimicFn(to, from)
45
-
46
- Modifies the `to` function and returns it.
47
-
48
- #### to
49
-
50
- Type: `Function`
51
-
52
- Mimicking function.
53
-
54
- #### from
55
-
56
- Type: `Function`
57
-
58
- Function to mimic.
59
-
60
-
61
- ## Related
62
-
63
- - [rename-fn](https://github.com/sindresorhus/rename-fn) - Rename a function
64
- - [keep-func-props](https://github.com/ehmicky/keep-func-props) - Wrap a function without changing its name, length and other properties
65
-
66
-
67
- ## License
68
-
69
- MIT © [Sindre Sorhus](https://sindresorhus.com)
@@ -1,64 +0,0 @@
1
- declare namespace onetime {
2
- interface Options {
3
- /**
4
- Throw an error when called more than once.
5
-
6
- @default false
7
- */
8
- throw?: boolean;
9
- }
10
- }
11
-
12
- declare const onetime: {
13
- /**
14
- Ensure a function is only called once. When called multiple times it will return the return value from the first call.
15
-
16
- @param fn - Function that should only be called once.
17
- @returns A function that only calls `fn` once.
18
-
19
- @example
20
- ```
21
- import onetime = require('onetime');
22
-
23
- let i = 0;
24
-
25
- const foo = onetime(() => ++i);
26
-
27
- foo(); //=> 1
28
- foo(); //=> 1
29
- foo(); //=> 1
30
-
31
- onetime.callCount(foo); //=> 3
32
- ```
33
- */
34
- <ArgumentsType extends unknown[], ReturnType>(
35
- fn: (...arguments: ArgumentsType) => ReturnType,
36
- options?: onetime.Options
37
- ): (...arguments: ArgumentsType) => ReturnType;
38
-
39
- /**
40
- Get the number of times `fn` has been called.
41
-
42
- @param fn - Function to get call count from.
43
- @returns A number representing how many times `fn` has been called.
44
-
45
- @example
46
- ```
47
- import onetime = require('onetime');
48
-
49
- const foo = onetime(() => {});
50
- foo();
51
- foo();
52
- foo();
53
-
54
- console.log(onetime.callCount(foo));
55
- //=> 3
56
- ```
57
- */
58
- callCount(fn: (...arguments: any[]) => unknown): number;
59
-
60
- // TODO: Remove this for the next major release
61
- default: typeof onetime;
62
- };
63
-
64
- export = onetime;
@@ -1,44 +0,0 @@
1
- 'use strict';
2
- const mimicFn = require('mimic-fn');
3
-
4
- const calledFunctions = new WeakMap();
5
-
6
- const onetime = (function_, options = {}) => {
7
- if (typeof function_ !== 'function') {
8
- throw new TypeError('Expected a function');
9
- }
10
-
11
- let returnValue;
12
- let callCount = 0;
13
- const functionName = function_.displayName || function_.name || '<anonymous>';
14
-
15
- const onetime = function (...arguments_) {
16
- calledFunctions.set(onetime, ++callCount);
17
-
18
- if (callCount === 1) {
19
- returnValue = function_.apply(this, arguments_);
20
- function_ = null;
21
- } else if (options.throw === true) {
22
- throw new Error(`Function \`${functionName}\` can only be called once`);
23
- }
24
-
25
- return returnValue;
26
- };
27
-
28
- mimicFn(onetime, function_);
29
- calledFunctions.set(onetime, callCount);
30
-
31
- return onetime;
32
- };
33
-
34
- module.exports = onetime;
35
- // TODO: Remove this for the next major release
36
- module.exports.default = onetime;
37
-
38
- module.exports.callCount = function_ => {
39
- if (!calledFunctions.has(function_)) {
40
- throw new Error(`The given function \`${function_.name}\` is not wrapped by the \`onetime\` package`);
41
- }
42
-
43
- return calledFunctions.get(function_);
44
- };
@@ -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,43 +0,0 @@
1
- {
2
- "name": "onetime",
3
- "version": "5.1.2",
4
- "description": "Ensure a function is only called once",
5
- "license": "MIT",
6
- "repository": "sindresorhus/onetime",
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
- "engines": {
14
- "node": ">=6"
15
- },
16
- "scripts": {
17
- "test": "xo && ava && tsd"
18
- },
19
- "files": [
20
- "index.js",
21
- "index.d.ts"
22
- ],
23
- "keywords": [
24
- "once",
25
- "function",
26
- "one",
27
- "onetime",
28
- "func",
29
- "fn",
30
- "single",
31
- "call",
32
- "called",
33
- "prevent"
34
- ],
35
- "dependencies": {
36
- "mimic-fn": "^2.1.0"
37
- },
38
- "devDependencies": {
39
- "ava": "^1.4.1",
40
- "tsd": "^0.7.1",
41
- "xo": "^0.24.0"
42
- }
43
- }
@@ -1,94 +0,0 @@
1
- # onetime [![Build Status](https://travis-ci.com/sindresorhus/onetime.svg?branch=master)](https://travis-ci.com/github/sindresorhus/onetime)
2
-
3
- > Ensure a function is only called once
4
-
5
- When called multiple times it will return the return value from the first call.
6
-
7
- *Unlike the module [once](https://github.com/isaacs/once), this one isn't naughty and extending `Function.prototype`.*
8
-
9
- ## Install
10
-
11
- ```
12
- $ npm install onetime
13
- ```
14
-
15
- ## Usage
16
-
17
- ```js
18
- const onetime = require('onetime');
19
-
20
- let i = 0;
21
-
22
- const foo = onetime(() => ++i);
23
-
24
- foo(); //=> 1
25
- foo(); //=> 1
26
- foo(); //=> 1
27
-
28
- onetime.callCount(foo); //=> 3
29
- ```
30
-
31
- ```js
32
- const onetime = require('onetime');
33
-
34
- const foo = onetime(() => {}, {throw: true});
35
-
36
- foo();
37
-
38
- foo();
39
- //=> Error: Function `foo` can only be called once
40
- ```
41
-
42
- ## API
43
-
44
- ### onetime(fn, options?)
45
-
46
- Returns a function that only calls `fn` once.
47
-
48
- #### fn
49
-
50
- Type: `Function`
51
-
52
- Function that should only be called once.
53
-
54
- #### options
55
-
56
- Type: `object`
57
-
58
- ##### throw
59
-
60
- Type: `boolean`\
61
- Default: `false`
62
-
63
- Throw an error when called more than once.
64
-
65
- ### onetime.callCount(fn)
66
-
67
- Returns a number representing how many times `fn` has been called.
68
-
69
- Note: It throws an error if you pass in a function that is not wrapped by `onetime`.
70
-
71
- ```js
72
- const onetime = require('onetime');
73
-
74
- const foo = onetime(() => {});
75
-
76
- foo();
77
- foo();
78
- foo();
79
-
80
- console.log(onetime.callCount(foo));
81
- //=> 3
82
- ```
83
-
84
- #### fn
85
-
86
- Type: `Function`
87
-
88
- Function to get call count from.
89
-
90
- ## onetime for enterprise
91
-
92
- Available as part of the Tidelift Subscription.
93
-
94
- The maintainers of onetime 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-onetime?utm_source=npm-onetime&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
@@ -1,13 +0,0 @@
1
- Copyright © 2017, Charmander <~@charmander.me>
2
-
3
- Permission to use, copy, modify, and/or distribute this software for any
4
- purpose with or without fee is hereby granted, provided that the above
5
- copyright notice and this permission notice appear in all copies.
6
-
7
- THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
9
- FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
- PERFORMANCE OF THIS SOFTWARE.
@@ -1,16 +0,0 @@
1
- [![Build status][ci image]][ci]
2
-
3
- 64-bit big-endian signed integer-to-string conversion designed for [pg][].
4
-
5
- ```js
6
- const readInt8 = require('pg-int8');
7
-
8
- readInt8(Buffer.from([0, 1, 2, 3, 4, 5, 6, 7]))
9
- // '283686952306183'
10
- ```
11
-
12
-
13
- [pg]: https://github.com/brianc/node-postgres
14
-
15
- [ci]: https://travis-ci.org/charmander/pg-int8
16
- [ci image]: https://api.travis-ci.org/charmander/pg-int8.svg