decocms 2.297.4 → 2.298.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 (276) hide show
  1. package/dist/client/assets/{AlertCircle-CSF_13Dr.js → AlertCircle-1FKO-iwn.js} +1 -1
  2. package/dist/client/assets/{ArrowNarrowLeft-CqQ_AXD-.js → ArrowNarrowLeft-CKZqPsRI.js} +1 -1
  3. package/dist/client/assets/{ArrowUpRight-DdiqR9qA.js → ArrowUpRight-7lMYxGWa.js} +1 -1
  4. package/dist/client/assets/{CheckCircle-DWKK8gJh.js → CheckCircle-Dk81QM9U.js} +1 -1
  5. package/dist/client/assets/{ChevronDown-ypjg4ILM.js → ChevronDown-CHOTJx8l.js} +1 -1
  6. package/dist/client/assets/{ChevronRight-BcI9jZHJ.js → ChevronRight-Dk8qeq6P.js} +1 -1
  7. package/dist/client/assets/{ChevronUp-Dlg42F4S.js → ChevronUp-CTvlJvJZ.js} +1 -1
  8. package/dist/client/assets/{Container-XDYnee_K.js → Container-C3IYo0L9.js} +1 -1
  9. package/dist/client/assets/{DotsVertical-BZ-ro4V4.js → DotsVertical-D4yfeGnN.js} +1 -1
  10. package/dist/client/assets/{LinkExternal01-CVvqJLEj.js → LinkExternal01-x1hnv38P.js} +1 -1
  11. package/dist/client/assets/{Lock01-C5Zr-Ww6.js → Lock01-lZHBNo2C.js} +1 -1
  12. package/dist/client/assets/{Palette-BnVEDgSZ.js → Palette-C9akcBSz.js} +1 -1
  13. package/dist/client/assets/{Play-B-Fd5QKh.js → Play-CdX48V1T.js} +1 -1
  14. package/dist/client/assets/{Plus-BLB9eSSy.js → Plus-DYdqKX5R.js} +1 -1
  15. package/dist/client/assets/{RefreshCcw01-CrxRNYKo.js → RefreshCcw01-HnODDFoT.js} +1 -1
  16. package/dist/client/assets/{SearchMd-BSld7GOF.js → SearchMd-GZRswmV_.js} +1 -1
  17. package/dist/client/assets/{Settings02-CuyH465d.js → Settings02-Dzch4bsp.js} +1 -1
  18. package/dist/client/assets/{Shield01-Bo1gZXJl.js → Shield01-bIZj53hE.js} +1 -1
  19. package/dist/client/assets/{Star01-Dhk1EO9q.js → Star01-DUqgRTj4.js} +1 -1
  20. package/dist/client/assets/{Sun-C8NOGZvD.js → Sun-g7onD0QQ.js} +1 -1
  21. package/dist/client/assets/{Tool01-rxvuOVHx.js → Tool01-Bbs6ipxi.js} +1 -1
  22. package/dist/client/assets/{Trash01-C9fepIhN.js → Trash01-D1T4c6gl.js} +1 -1
  23. package/dist/client/assets/{User01-DZdlYgsF.js → User01-Fk9cKl4i.js} +1 -1
  24. package/dist/client/assets/{Users03-BLPQrcHj.js → Users03-CVNVU6ve.js} +1 -1
  25. package/dist/client/assets/{X-BFGruHRk.js → X-BwEMSUjV.js} +1 -1
  26. package/dist/client/assets/{XCircle-CgmzRFdE.js → XCircle-C0fkjQDC.js} +1 -1
  27. package/dist/client/assets/{XClose-D9JXRvIj.js → XClose-DxHt9zuu.js} +1 -1
  28. package/dist/client/assets/{Zap-Do9G2J5r.js → Zap-BPFq3hVj.js} +1 -1
  29. package/dist/client/assets/{ZapSquare-UyAaRiNn.js → ZapSquare-DGM2fPse.js} +1 -1
  30. package/dist/client/assets/{accordion-cmDkbfBH.js → accordion-Bdek-M8z.js} +1 -1
  31. package/dist/client/assets/{agent-icon-CN5xNSiu.js → agent-icon-DmsooVXW.js} +1 -1
  32. package/dist/client/assets/{agents-list-Bx-2M0dx.js → agents-list-Dj4emYPF.js} +1 -1
  33. package/dist/client/assets/ai-providers-CYFZTFTL.js +1 -0
  34. package/dist/client/assets/{alert-dialog-3Q-TOJHi.js → alert-dialog-CWQoS6wX.js} +1 -1
  35. package/dist/client/assets/{auth-catchall-Bu5jQhAC.js → auth-catchall-CD4rfnTW.js} +1 -1
  36. package/dist/client/assets/{automation-list-row-BVM9yKN5.js → automation-list-row-CLJ3ftyb.js} +1 -1
  37. package/dist/client/assets/{automations-BANsoXxo.js → automations-DcwcFfNp.js} +1 -1
  38. package/dist/client/assets/{avatar-BSKYNdqa.js → avatar-Bu1NzTYg.js} +1 -1
  39. package/dist/client/assets/{badge-BpwMPBRe.js → badge-Ch9BdqT9.js} +1 -1
  40. package/dist/client/assets/{brand-context-CvUPXtOc.js → brand-context-Cdhkr07K.js} +1 -1
  41. package/dist/client/assets/{card-dhYHIFM6.js → card-RSPkY0To.js} +1 -1
  42. package/dist/client/assets/{chat-context-Bv_oa_7h.js → chat-context-DF9UFjVM.js} +1 -1
  43. package/dist/client/assets/{checkbox-B2QOZhNa.js → checkbox-B1Ttfs-h.js} +1 -1
  44. package/dist/client/assets/{collection-detail-BvlusF4T.js → collection-detail-D-3DNG_M.js} +1 -1
  45. package/dist/client/assets/{collection-display-button-ug6rGxEz.js → collection-display-button-D0RK6oeA.js} +1 -1
  46. package/dist/client/assets/{collection-search-BqI5DHBE.js → collection-search-BkYFe6i5.js} +1 -1
  47. package/dist/client/assets/{collection-search-DEMxfDoK.js → collection-search-gyDd3-OR.js} +1 -1
  48. package/dist/client/assets/{collection-table-wrapper-B1peJR0E.js → collection-table-wrapper-BCfFkyA6.js} +1 -1
  49. package/dist/client/assets/{collection-tabs-DBb9ohEX.js → collection-tabs-BywVHkM5.js} +1 -1
  50. package/dist/client/assets/{collections-CHU5RniR.js → collections-B1Vl-dRY.js} +1 -1
  51. package/dist/client/assets/{command-Dm2ByCMz.js → command-CVf7W7do.js} +1 -1
  52. package/dist/client/assets/{connection-card-DBFSL2df.js → connection-card-B_uXifPW.js} +1 -1
  53. package/dist/client/assets/{connection-detail-CIGqgms4.js → connection-detail-Cmgz9yRr.js} +1 -1
  54. package/dist/client/assets/{connection-form-helpers-Sfc0HCZO.js → connection-form-helpers-DELjRDJg.js} +1 -1
  55. package/dist/client/assets/{connections-CUFtJd2B.js → connections-ncYXmxGJ.js} +1 -1
  56. package/dist/client/assets/{constants-Bcmyvnig.js → constants-D7xAST0Q.js} +1 -1
  57. package/dist/client/assets/{constants-DQUM-QTb.js → constants-DivL5teI.js} +1 -1
  58. package/dist/client/assets/{dialog-Ce-S_qMM.js → dialog-C_vmNTRu.js} +1 -1
  59. package/dist/client/assets/{domain-settings-DMTP32Li.js → domain-settings-DXgm_woB.js} +1 -1
  60. package/dist/client/assets/{drawer-DgQ8wUw5.js → drawer-C4a3mc5d.js} +1 -1
  61. package/dist/client/assets/{dropdown-menu-Bltklbi1.js → dropdown-menu-B8_YZGoo.js} +1 -1
  62. package/dist/client/assets/{dynamic-plugin-layout-DofOvgRG.js → dynamic-plugin-layout-Dlh_QnjI.js} +1 -1
  63. package/dist/client/assets/{empty-state-B9-_6_Xj.js → empty-state-DJGg06AT.js} +1 -1
  64. package/dist/client/assets/{empty-state-Dp3JawHN.js → empty-state-DOC09WYz.js} +1 -1
  65. package/dist/client/assets/{extract-connection-data-D8qeaoes.js → extract-connection-data-OOISwrlz.js} +1 -1
  66. package/dist/client/assets/{features-Dj1Ja9zf.js → features-DTyLbScZ.js} +1 -1
  67. package/dist/client/assets/{form-B8FvADu3.js → form-DsyDTBzC.js} +1 -1
  68. package/dist/client/assets/{general-BiVCLvSZ.js → general-7ljwSAxI.js} +1 -1
  69. package/dist/client/assets/{index-DmL34bOB.js → index-70mmoBkB.js} +1 -1
  70. package/dist/client/assets/index-8xDSjspo.js +1 -0
  71. package/dist/client/assets/{index-BCTCfFmx.js → index-B01cqxRa.js} +1 -1
  72. package/dist/client/assets/{index-39kMCf4L.js → index-BEZPSJ65.js} +1 -1
  73. package/dist/client/assets/{index-BgDYzVqv.js → index-BHV6aSRG.js} +1 -1
  74. package/dist/client/assets/{index-CqQUHzq_.js → index-BirIwGZm.js} +1 -1
  75. package/dist/client/assets/{index-Op7eZZdi.js → index-Cfe1XtAV.js} +1 -1
  76. package/dist/client/assets/{index-BMDRqzuB.js → index-D1OGx8P1.js} +2 -2
  77. package/dist/client/assets/{index-B8fZc4My.js → index-DBkKSx96.js} +1 -1
  78. package/dist/client/assets/{index-B1bM0KaJ.js → index-DHuevMFp.js} +1 -1
  79. package/dist/client/assets/{index-BStd3_z4.js → index-DSAQMn6i.js} +1 -1
  80. package/dist/client/assets/{index-j4nSYT2i.js → index-Di0Mb6sO.js} +1 -1
  81. package/dist/client/assets/{index-DjnPWua9.js → index-HZ0ltqWr.js} +1 -1
  82. package/dist/client/assets/{index-BuV1uoum.js → index-LWzmvmvR.js} +1 -1
  83. package/dist/client/assets/{index-DBWzxGIY.js → index-m0seQOic.js} +4 -4
  84. package/dist/client/assets/{index-DhjNZ1rq.js → index-oPPnPtai.js} +1 -1
  85. package/dist/client/assets/{infiniteQueryObserver-CbglmKcR.js → infiniteQueryObserver-Bl2c59an.js} +1 -1
  86. package/dist/client/assets/{input-2L64g1T_.js → input-BzH1Fp78.js} +1 -1
  87. package/dist/client/assets/{integration-icon-PO3TvmaC.js → integration-icon-D_AOqXFj.js} +1 -1
  88. package/dist/client/assets/{label-DWNCCuhf.js → label-CB_XE-e4.js} +1 -1
  89. package/dist/client/assets/{layout-Bcl31qY2.js → layout-CY21UTYW.js} +1 -1
  90. package/dist/client/assets/{lean-canvas-recruit-modal-D1vXDFS8.js → lean-canvas-recruit-modal-BPVxQzta.js} +1 -1
  91. package/dist/client/assets/{login-DIALDSm5.js → login-Bxl4_mYU.js} +1 -1
  92. package/dist/client/assets/{members-CMmMYv-N.js → members-zvpqbNiS.js} +1 -1
  93. package/dist/client/assets/{monaco-editor-Cpm29QPS.js → monaco-editor-DuX4NcOq.js} +1 -1
  94. package/dist/client/assets/{monitoring-stats-row-CseTCiYb.js → monitoring-stats-row-D51EcZe3.js} +1 -1
  95. package/dist/client/assets/{oauth-callback-ai-provider-CHFUhPdk.js → oauth-callback-ai-provider-DfBUG-m3.js} +1 -1
  96. package/dist/client/assets/{oauth-callback-CwJiDNtE.js → oauth-callback-mZUzyh0o.js} +1 -1
  97. package/dist/client/assets/{onboarding-BBIuU5UD.js → onboarding-C5IoSpHh.js} +1 -1
  98. package/dist/client/assets/{org-layout-Bk4Xg7Fr.js → org-layout-CyD6hmWc.js} +1 -1
  99. package/dist/client/assets/{org-plugin-layout-3GybENC2.js → org-plugin-layout-BUW4YpUf.js} +1 -1
  100. package/dist/client/assets/{pair-D1g0yCtI.js → pair-BhjBynHM.js} +1 -1
  101. package/dist/client/assets/{plugin-empty-state-Br_hxiHj.js → plugin-empty-state-dVIN074A.js} +1 -1
  102. package/dist/client/assets/{plugin-header-QuC-CYa0.js → plugin-header-DbdW6vY7.js} +1 -1
  103. package/dist/client/assets/{plugin-layout-CzBticqJ.js → plugin-layout-c0ZCIK90.js} +1 -1
  104. package/dist/client/assets/{popover-DlyfpBTw.js → popover-Ci7fqppX.js} +1 -1
  105. package/dist/client/assets/{profile-C75k6bGK.js → profile-BVqUNHDU.js} +1 -1
  106. package/dist/client/assets/{project-app-view-CKk63Dpd.js → project-app-view-vtZ-_doc.js} +1 -1
  107. package/dist/client/assets/registry-Dgo0smSq.js +2 -0
  108. package/dist/client/assets/{registry-layout-Bkts5YAv.js → registry-layout-CnlyFMkq.js} +1 -1
  109. package/dist/client/assets/{required-auth-layout-h9nzgFi8.js → required-auth-layout-D9iH4JWn.js} +1 -1
  110. package/dist/client/assets/{reset-password-D2aXMop6.js → reset-password-C7rUh7yQ.js} +1 -1
  111. package/dist/client/assets/{roles-Bi1faVdQ.js → roles-C_9lgwGC.js} +1 -1
  112. package/dist/client/assets/{scroll-area-CB49pN6Y.js → scroll-area-DeGma9h8.js} +1 -1
  113. package/dist/client/assets/{search-input-BTEmgZ9w.js → search-input-JxYHORMS.js} +1 -1
  114. package/dist/client/assets/{select-CAYoZd8I.js → select-D5OmQB7Q.js} +1 -1
  115. package/dist/client/assets/{select-model-CRtbsZ0R.js → select-model-BsjLnWhc.js} +1 -1
  116. package/dist/client/assets/{settings-layout-Ec4qkPOV.js → settings-layout-CBdTbv9p.js} +1 -1
  117. package/dist/client/assets/{settings-section-DlDQET7w.js → settings-section-PoWhTqpS.js} +1 -1
  118. package/dist/client/assets/{shell-layout-CbYhZXkk.js → shell-layout-yjk12_bc.js} +1 -1
  119. package/dist/client/assets/{skeleton-BW9knE_n.js → skeleton-C-dyN9od.js} +1 -1
  120. package/dist/client/assets/{sso-Ba2kuqx_.js → sso-CO-nJSkq.js} +1 -1
  121. package/dist/client/assets/{store-CSO-FxwQ.js → store-DO05KZgT.js} +1 -1
  122. package/dist/client/assets/store-registry-DjJ5a3G8.js +2 -0
  123. package/dist/client/assets/{switch-C4zt_EPB.js → switch-CXZ-w0Bq.js} +1 -1
  124. package/dist/client/assets/{table-Cg9qQv2Y.js → table-BpO63Yb0.js} +1 -1
  125. package/dist/client/assets/{tabs-DmHrk6mS.js → tabs-C_g7sXFQ.js} +1 -1
  126. package/dist/client/assets/{task-status-d_h_ry7h.js → task-status-CBFNkFN1.js} +1 -1
  127. package/dist/client/assets/{textarea-BYOMJtyN.js → textarea-BskaK79L.js} +1 -1
  128. package/dist/client/assets/{toggle-group-BXuQuZrD.js → toggle-group-XXqkCq4k.js} +1 -1
  129. package/dist/client/assets/{tools-list-B9QpVEXx.js → tools-list-DMMBZSNS.js} +1 -1
  130. package/dist/client/assets/{tooltip-BofEUPZE.js → tooltip-CPtrqiVf.js} +1 -1
  131. package/dist/client/assets/{types-CIm83jZB.js → types-CZ7C6HNp.js} +1 -1
  132. package/dist/client/assets/{use-ai-providers-SJMZOBYp.js → use-ai-providers-DdI6-E22.js} +1 -1
  133. package/dist/client/assets/{use-collections-BseNLGp4.js → use-collections-DA0dA7NJ.js} +1 -1
  134. package/dist/client/assets/{use-connection-DgkIQeIC.js → use-connection-B6UydpoO.js} +1 -1
  135. package/dist/client/assets/{use-copy-CFQEXY3f.js → use-copy-DXME69Wt.js} +1 -1
  136. package/dist/client/assets/{use-create-virtual-mcp-f8qfStwY.js → use-create-virtual-mcp-o_6Zui3e.js} +1 -1
  137. package/dist/client/assets/{use-decopilot-events-NFvSYLhu.js → use-decopilot-events-dH2aVuqh.js} +1 -1
  138. package/dist/client/assets/{use-delete-connection-kWtvCfIe.js → use-delete-connection-CT0R2aH7.js} +1 -1
  139. package/dist/client/assets/{use-infinite-scroll-5-SPEFAg.js → use-infinite-scroll-BJEaveTj.js} +1 -1
  140. package/dist/client/assets/{use-list-state-DisUc87n.js → use-list-state-17IGcEJ3.js} +1 -1
  141. package/dist/client/assets/{use-mcp-tools-inIxCvzq.js → use-mcp-tools-CyJvV1rx.js} +1 -1
  142. package/dist/client/assets/{use-members-DDimfduX.js → use-members-DaW4TIzB.js} +1 -1
  143. package/dist/client/assets/{use-navigate-to-agent-BLiXnOzm.js → use-navigate-to-agent-CWbTU3Jx.js} +1 -1
  144. package/dist/client/assets/{use-org-auth-client-G_YJ7rUK.js → use-org-auth-client-DUadgGT5.js} +1 -1
  145. package/dist/client/assets/{use-org-sso-DQDEO30q.js → use-org-sso-Drd5l9cJ.js} +1 -1
  146. package/dist/client/assets/{use-organization-roles-DxQncBJ0.js → use-organization-roles-BrKoYq-E.js} +1 -1
  147. package/dist/client/assets/{use-organization-settings-DuXuAzTp.js → use-organization-settings-CLV_ZfNb.js} +1 -1
  148. package/dist/client/assets/{use-registry-connections-B_kcIxyC.js → use-registry-connections-DdiWQ4aw.js} +1 -1
  149. package/dist/client/assets/{use-status-sounds-bbBf7WFs.js → use-status-sounds-C-uFPSCX.js} +1 -1
  150. package/dist/client/assets/{use-tasks-DtSTBHmQ.js → use-tasks-CRniTSla.js} +1 -1
  151. package/dist/client/assets/{use-view-mode-Yi8sPxKB.js → use-view-mode-C-htIWSb.js} +1 -1
  152. package/dist/client/assets/{use-virtual-mcp-BxjgYgTF.js → use-virtual-mcp-Ck38sBYu.js} +1 -1
  153. package/dist/client/assets/useInfiniteQuery-DSaXyBNr.js +1 -0
  154. package/dist/client/assets/useSuspenseInfiniteQuery-BidabhCU.js +1 -0
  155. package/dist/client/assets/{user-D4BWXoop.js → user-0W2qHPIr.js} +1 -1
  156. package/dist/client/assets/{view-mode-toggle-CJedYZZs.js → view-mode-toggle-CsVOHOCK.js} +1 -1
  157. package/dist/client/assets/{workflow-Cr24Zx7K.js → workflow-ICx7IBZn.js} +1 -1
  158. package/dist/client/assets/workflow-detail-CtIO-XFb.js +1 -0
  159. package/dist/client/index.html +7 -5
  160. package/dist/client/manifest.webmanifest +18 -0
  161. package/dist/server/cli.js +2 -2
  162. package/dist/server/node_modules/ansi-regex/index.d.ts +33 -0
  163. package/dist/server/node_modules/ansi-regex/index.js +14 -0
  164. package/dist/server/node_modules/{ansi-styles → ansi-regex}/package.json +20 -13
  165. package/dist/server/node_modules/ansi-regex/readme.md +66 -0
  166. package/dist/server/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  167. package/dist/server/node_modules/emoji-regex/README.md +107 -0
  168. package/dist/server/node_modules/emoji-regex/index.d.ts +3 -0
  169. package/dist/server/node_modules/emoji-regex/index.js +4 -0
  170. package/dist/server/node_modules/emoji-regex/index.mjs +4 -0
  171. package/dist/server/node_modules/emoji-regex/package.json +45 -0
  172. package/dist/server/node_modules/{pg → scheduler}/LICENSE +1 -1
  173. package/dist/server/node_modules/scheduler/README.md +9 -0
  174. package/dist/server/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +414 -0
  175. package/dist/server/node_modules/scheduler/cjs/scheduler-unstable_mock.production.js +406 -0
  176. package/dist/server/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +150 -0
  177. package/dist/server/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.js +140 -0
  178. package/dist/server/node_modules/scheduler/cjs/scheduler.development.js +364 -0
  179. package/dist/server/node_modules/scheduler/cjs/scheduler.native.development.js +350 -0
  180. package/dist/server/node_modules/scheduler/cjs/scheduler.native.production.js +330 -0
  181. package/dist/server/node_modules/scheduler/cjs/scheduler.production.js +340 -0
  182. package/dist/server/node_modules/scheduler/index.js +7 -0
  183. package/dist/server/node_modules/scheduler/index.native.js +7 -0
  184. package/dist/server/node_modules/scheduler/package.json +27 -0
  185. package/dist/server/node_modules/scheduler/unstable_mock.js +7 -0
  186. package/dist/server/node_modules/scheduler/unstable_post_task.js +7 -0
  187. package/dist/server/node_modules/slice-ansi/index.d.ts +19 -0
  188. package/dist/server/node_modules/slice-ansi/index.js +260 -0
  189. package/dist/server/node_modules/{environment → slice-ansi}/license +1 -0
  190. package/dist/server/node_modules/slice-ansi/package.json +59 -0
  191. package/dist/server/node_modules/slice-ansi/readme.md +54 -0
  192. package/dist/server/node_modules/slice-ansi/tokenize-ansi.js +752 -0
  193. package/dist/server/server.js +1 -1
  194. package/package.json +1 -1
  195. package/dist/client/assets/ai-providers-HK6-f1zC.js +0 -1
  196. package/dist/client/assets/index-GcyWPz6h.js +0 -1
  197. package/dist/client/assets/registry--RTDdsXm.js +0 -2
  198. package/dist/client/assets/store-registry-DfXuWLiQ.js +0 -2
  199. package/dist/client/assets/useInfiniteQuery-CXZTtjSi.js +0 -1
  200. package/dist/client/assets/useSuspenseInfiniteQuery-FIBrQjy0.js +0 -1
  201. package/dist/client/assets/workflow-detail-AwMahm0M.js +0 -1
  202. package/dist/server/node_modules/ansi-styles/index.d.ts +0 -236
  203. package/dist/server/node_modules/ansi-styles/index.js +0 -223
  204. package/dist/server/node_modules/ansi-styles/readme.md +0 -173
  205. package/dist/server/node_modules/auto-bind/index.d.ts +0 -50
  206. package/dist/server/node_modules/auto-bind/index.js +0 -41
  207. package/dist/server/node_modules/auto-bind/license +0 -9
  208. package/dist/server/node_modules/auto-bind/package.json +0 -51
  209. package/dist/server/node_modules/auto-bind/react.d.ts +0 -26
  210. package/dist/server/node_modules/auto-bind/react.js +0 -28
  211. package/dist/server/node_modules/auto-bind/readme.md +0 -92
  212. package/dist/server/node_modules/environment/index.d.ts +0 -74
  213. package/dist/server/node_modules/environment/index.js +0 -47
  214. package/dist/server/node_modules/environment/package.json +0 -74
  215. package/dist/server/node_modules/environment/readme.md +0 -94
  216. package/dist/server/node_modules/escape-string-regexp/index.d.ts +0 -18
  217. package/dist/server/node_modules/escape-string-regexp/index.js +0 -11
  218. package/dist/server/node_modules/escape-string-regexp/license +0 -9
  219. package/dist/server/node_modules/escape-string-regexp/package.json +0 -43
  220. package/dist/server/node_modules/escape-string-regexp/readme.md +0 -29
  221. package/dist/server/node_modules/get-east-asian-width/index.d.ts +0 -60
  222. package/dist/server/node_modules/get-east-asian-width/index.js +0 -30
  223. package/dist/server/node_modules/get-east-asian-width/license +0 -9
  224. package/dist/server/node_modules/get-east-asian-width/lookup-data.js +0 -18
  225. package/dist/server/node_modules/get-east-asian-width/lookup.js +0 -135
  226. package/dist/server/node_modules/get-east-asian-width/package.json +0 -71
  227. package/dist/server/node_modules/get-east-asian-width/readme.md +0 -65
  228. package/dist/server/node_modules/get-east-asian-width/utilities.js +0 -24
  229. package/dist/server/node_modules/is-in-ci/cli.js +0 -5
  230. package/dist/server/node_modules/is-in-ci/index.d.ts +0 -15
  231. package/dist/server/node_modules/is-in-ci/index.js +0 -7
  232. package/dist/server/node_modules/is-in-ci/license +0 -9
  233. package/dist/server/node_modules/is-in-ci/package.json +0 -49
  234. package/dist/server/node_modules/is-in-ci/readme.md +0 -44
  235. package/dist/server/node_modules/is-unicode-supported/index.d.ts +0 -12
  236. package/dist/server/node_modules/is-unicode-supported/index.js +0 -21
  237. package/dist/server/node_modules/is-unicode-supported/license +0 -9
  238. package/dist/server/node_modules/is-unicode-supported/package.json +0 -47
  239. package/dist/server/node_modules/is-unicode-supported/readme.md +0 -35
  240. package/dist/server/node_modules/pg/README.md +0 -95
  241. package/dist/server/node_modules/pg/esm/index.mjs +0 -20
  242. package/dist/server/node_modules/pg/lib/client.js +0 -743
  243. package/dist/server/node_modules/pg/lib/connection-parameters.js +0 -171
  244. package/dist/server/node_modules/pg/lib/connection.js +0 -221
  245. package/dist/server/node_modules/pg/lib/crypto/cert-signatures.js +0 -122
  246. package/dist/server/node_modules/pg/lib/crypto/sasl.js +0 -212
  247. package/dist/server/node_modules/pg/lib/crypto/utils-legacy.js +0 -43
  248. package/dist/server/node_modules/pg/lib/crypto/utils-webcrypto.js +0 -89
  249. package/dist/server/node_modules/pg/lib/crypto/utils.js +0 -9
  250. package/dist/server/node_modules/pg/lib/defaults.js +0 -91
  251. package/dist/server/node_modules/pg/lib/index.js +0 -73
  252. package/dist/server/node_modules/pg/lib/native/client.js +0 -323
  253. package/dist/server/node_modules/pg/lib/native/index.js +0 -2
  254. package/dist/server/node_modules/pg/lib/native/query.js +0 -165
  255. package/dist/server/node_modules/pg/lib/query.js +0 -252
  256. package/dist/server/node_modules/pg/lib/result.js +0 -109
  257. package/dist/server/node_modules/pg/lib/stream.js +0 -83
  258. package/dist/server/node_modules/pg/lib/type-overrides.js +0 -35
  259. package/dist/server/node_modules/pg/lib/utils.js +0 -217
  260. package/dist/server/node_modules/pg/package.json +0 -76
  261. package/dist/server/node_modules/restore-cursor/index.d.ts +0 -11
  262. package/dist/server/node_modules/restore-cursor/index.js +0 -11
  263. package/dist/server/node_modules/restore-cursor/license +0 -9
  264. package/dist/server/node_modules/restore-cursor/package.json +0 -55
  265. package/dist/server/node_modules/restore-cursor/readme.md +0 -31
  266. package/dist/server/node_modules/string-width/index.d.ts +0 -39
  267. package/dist/server/node_modules/string-width/index.js +0 -82
  268. package/dist/server/node_modules/string-width/license +0 -9
  269. package/dist/server/node_modules/string-width/package.json +0 -64
  270. package/dist/server/node_modules/string-width/readme.md +0 -66
  271. package/dist/server/node_modules/terminal-size/index.d.ts +0 -17
  272. package/dist/server/node_modules/terminal-size/index.js +0 -139
  273. package/dist/server/node_modules/terminal-size/license +0 -9
  274. package/dist/server/node_modules/terminal-size/package.json +0 -49
  275. package/dist/server/node_modules/terminal-size/readme.md +0 -32
  276. /package/dist/server/node_modules/{ansi-styles → ansi-regex}/license +0 -0
@@ -1,50 +0,0 @@
1
- export interface Options {
2
- /**
3
- Bind only the given methods.
4
- */
5
- readonly include?: ReadonlyArray<string | RegExp>;
6
-
7
- /**
8
- Bind methods except for the given methods.
9
- */
10
- readonly exclude?: ReadonlyArray<string | RegExp>;
11
- }
12
-
13
- /**
14
- Automatically bind methods to their class instance.
15
-
16
- @param self - An object with methods to bind.
17
-
18
- @example
19
- ```
20
- import autoBind from 'auto-bind';
21
-
22
- class Unicorn {
23
- constructor(name) {
24
- this.name = name;
25
- autoBind(this);
26
- }
27
-
28
- message() {
29
- return `${this.name} is awesome!`;
30
- }
31
- }
32
-
33
- const unicorn = new Unicorn('Rainbow');
34
-
35
- // Grab the method off the class instance
36
- const message = unicorn.message;
37
-
38
- // Still bound to the class instance
39
- message();
40
- //=> 'Rainbow is awesome!'
41
-
42
- // Without `autoBind(this)`, the above would have resulted in
43
- message();
44
- //=> Error: Cannot read property 'name' of undefined
45
- ```
46
- */
47
- export default function autoBind<SelfType extends Record<string, any>>( // This has to use `any` to be compatible with classes.
48
- self: SelfType,
49
- options?: Options
50
- ): SelfType;
@@ -1,41 +0,0 @@
1
- // Gets all non-builtin properties up the prototype chain.
2
- const getAllProperties = object => {
3
- const properties = new Set();
4
-
5
- do {
6
- for (const key of Reflect.ownKeys(object)) {
7
- properties.add([object, key]);
8
- }
9
- } while ((object = Reflect.getPrototypeOf(object)) && object !== Object.prototype);
10
-
11
- return properties;
12
- };
13
-
14
- export default function autoBind(self, {include, exclude} = {}) {
15
- const filter = key => {
16
- const match = pattern => typeof pattern === 'string' ? key === pattern : pattern.test(key);
17
-
18
- if (include) {
19
- return include.some(match); // eslint-disable-line unicorn/no-array-callback-reference
20
- }
21
-
22
- if (exclude) {
23
- return !exclude.some(match); // eslint-disable-line unicorn/no-array-callback-reference
24
- }
25
-
26
- return true;
27
- };
28
-
29
- for (const [object, key] of getAllProperties(self.constructor.prototype)) {
30
- if (key === 'constructor' || !filter(key)) {
31
- continue;
32
- }
33
-
34
- const descriptor = Reflect.getOwnPropertyDescriptor(object, key);
35
- if (descriptor && typeof descriptor.value === 'function') {
36
- self[key] = self[key].bind(self);
37
- }
38
- }
39
-
40
- return self;
41
- }
@@ -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,51 +0,0 @@
1
- {
2
- "name": "auto-bind",
3
- "version": "5.0.1",
4
- "description": "Automatically bind methods to their class instance",
5
- "license": "MIT",
6
- "repository": "sindresorhus/auto-bind",
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
- ".": "./index.js",
16
- "./react": "./react.js"
17
- },
18
- "engines": {
19
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
20
- },
21
- "scripts": {
22
- "test": "xo && ava && tsd"
23
- },
24
- "files": [
25
- "index.js",
26
- "index.d.ts",
27
- "react.js",
28
- "react.d.ts"
29
- ],
30
- "keywords": [
31
- "auto",
32
- "bind",
33
- "class",
34
- "methods",
35
- "method",
36
- "automatically",
37
- "prototype",
38
- "instance",
39
- "function",
40
- "this",
41
- "self",
42
- "react",
43
- "component"
44
- ],
45
- "devDependencies": {
46
- "@types/react": "^17.0.29",
47
- "ava": "^3.15.0",
48
- "tsd": "^0.18.0",
49
- "xo": "^0.45.0"
50
- }
51
- }
@@ -1,26 +0,0 @@
1
- import {Component as ReactComponent} from 'react';
2
- import autoBind, {Options} from './index.js';
3
-
4
- /**
5
- Same as `autoBind` but excludes the default [React component methods](https://reactjs.org/docs/react-component.html).
6
-
7
- @param self - An object with methods to bind.
8
-
9
- @example
10
- ```
11
- import autoBindReact from 'auto-bind/react';
12
-
13
- class Foo extends React.Component {
14
- constructor(props) {
15
- super(props);
16
- autoBindReact(this);
17
- }
18
-
19
- // …
20
- }
21
- ```
22
- */
23
- export default function autoBindReact<SelfType extends ReactComponent>(
24
- self: SelfType,
25
- options?: Options
26
- ): SelfType;
@@ -1,28 +0,0 @@
1
- import autoBind from './index.js';
2
-
3
- const excludedReactMethods = [
4
- 'componentWillMount',
5
- 'UNSAFE_componentWillMount',
6
- 'render',
7
- 'getSnapshotBeforeUpdate',
8
- 'componentDidMount',
9
- 'componentWillReceiveProps',
10
- 'UNSAFE_componentWillReceiveProps',
11
- 'shouldComponentUpdate',
12
- 'componentWillUpdate',
13
- 'UNSAFE_componentWillUpdate',
14
- 'componentDidUpdate',
15
- 'componentWillUnmount',
16
- 'componentDidCatch',
17
- 'setState',
18
- 'forceUpdate',
19
- ];
20
-
21
- export default function autoBindReact(self, {exclude = [], ...options} = {}) {
22
- options.exclude = [
23
- ...exclude,
24
- ...excludedReactMethods,
25
- ];
26
-
27
- return autoBind(self, options);
28
- }
@@ -1,92 +0,0 @@
1
- # auto-bind
2
-
3
- > Automatically bind methods to their class instance
4
-
5
- It also correctly binds inherited properties.
6
-
7
- ## Install
8
-
9
- ```sh
10
- npm install auto-bind
11
- ```
12
-
13
- ## Usage
14
-
15
- ```js
16
- import autoBind from 'auto-bind';
17
-
18
- class Unicorn {
19
- constructor(name) {
20
- this.name = name;
21
- autoBind(this);
22
- }
23
-
24
- message() {
25
- return `${this.name} is awesome!`;
26
- }
27
- }
28
-
29
- const unicorn = new Unicorn('Rainbow');
30
-
31
- // Grab the method off the class instance
32
- const message = unicorn.message;
33
-
34
- // Still bound to the class instance
35
- message();
36
- //=> 'Rainbow is awesome!'
37
-
38
- // Without `autoBind(this)`, the above would have resulted in
39
- message();
40
- //=> Error: Cannot read property 'name' of undefined
41
- ```
42
-
43
- ## API
44
-
45
- ### autoBind(self, options?)
46
-
47
- Bind methods in `self` to their class instance.
48
-
49
- Returns the `self` object.
50
-
51
- #### self
52
-
53
- Type: `object`
54
-
55
- An object with methods to bind.
56
-
57
- #### options
58
-
59
- Type: `object`
60
-
61
- ##### include
62
-
63
- Type: `Array<string | RegExp>`
64
-
65
- Bind only the given methods.
66
-
67
- ##### exclude
68
-
69
- Type: `Array<string | RegExp>`
70
-
71
- Bind methods except for the given methods.
72
-
73
- ### React
74
-
75
- Same as `autoBind` but excludes the default [React component methods](https://reactjs.org/docs/react-component.html).
76
-
77
- ```js
78
- import autoBindReact from 'auto-bind/react';
79
-
80
- class Foo extends React.Component {
81
- constructor(props) {
82
- super(props);
83
- autoBindReact(this);
84
- }
85
-
86
- // …
87
- }
88
- ```
89
-
90
- ## Related
91
-
92
- - [bind-methods](https://github.com/sindresorhus/bind-methods) - Bind all methods in an object to itself or a specified context
@@ -1,74 +0,0 @@
1
- /**
2
- Check if the code is running in a web browser environment.
3
- */
4
- export const isBrowser: boolean;
5
-
6
- /**
7
- Check if the code is running in a [Node.js](https://nodejs.org) environment.
8
- */
9
- export const isNode: boolean;
10
-
11
- /**
12
- Check if the code is running in a [Bun](https://bun.sh) environment.
13
- */
14
- export const isBun: boolean;
15
-
16
- /**
17
- Check if the code is running in a Deno environment.
18
- */
19
- export const isDeno: boolean;
20
-
21
- /**
22
- Check if the code is running in an Electron environment.
23
- */
24
- export const isElectron: boolean;
25
-
26
- /**
27
- Check if the code is running in a [jsdom](https://github.com/jsdom/jsdom) environment.
28
- */
29
- export const isJsDom: boolean;
30
-
31
- /**
32
- Check if the code is running in a [Web Worker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API#worker_global_contexts_and_functions) environment, which could be either a dedicated worker, shared worker, or service worker.
33
- */
34
- export const isWebWorker: boolean;
35
-
36
- /**
37
- Check if the code is running in a [Dedicated Worker](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope) environment.
38
- */
39
- export const isDedicatedWorker: boolean;
40
-
41
- /**
42
- Check if the code is running in a [Shared Worker](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorkerGlobalScope) environment.
43
- */
44
- export const isSharedWorker: boolean;
45
-
46
- /**
47
- Check if the code is running in a [Service Worker](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope) environment.
48
- */
49
- export const isServiceWorker: boolean;
50
-
51
- /**
52
- Check if the code is running on macOS.
53
- */
54
- export const isMacOs: boolean;
55
-
56
- /**
57
- Check if the code is running on Windows.
58
- */
59
- export const isWindows: boolean;
60
-
61
- /**
62
- Check if the code is running on Linux.
63
- */
64
- export const isLinux: boolean;
65
-
66
- /**
67
- Check if the code is running on iOS.
68
- */
69
- export const isIos: boolean;
70
-
71
- /**
72
- Check if the code is running on Android.
73
- */
74
- export const isAndroid: boolean;
@@ -1,47 +0,0 @@
1
- /* globals WorkerGlobalScope, DedicatedWorkerGlobalScope, SharedWorkerGlobalScope, ServiceWorkerGlobalScope */
2
-
3
- export const isBrowser = globalThis.window?.document !== undefined;
4
-
5
- export const isNode = globalThis.process?.versions?.node !== undefined;
6
-
7
- export const isBun = globalThis.process?.versions?.bun !== undefined;
8
-
9
- export const isDeno = globalThis.Deno?.version?.deno !== undefined;
10
-
11
- export const isElectron = globalThis.process?.versions?.electron !== undefined;
12
-
13
- export const isJsDom = globalThis.navigator?.userAgent?.includes('jsdom') === true;
14
-
15
- export const isWebWorker = typeof WorkerGlobalScope !== 'undefined' && globalThis instanceof WorkerGlobalScope;
16
-
17
- export const isDedicatedWorker = typeof DedicatedWorkerGlobalScope !== 'undefined' && globalThis instanceof DedicatedWorkerGlobalScope;
18
-
19
- export const isSharedWorker = typeof SharedWorkerGlobalScope !== 'undefined' && globalThis instanceof SharedWorkerGlobalScope;
20
-
21
- export const isServiceWorker = typeof ServiceWorkerGlobalScope !== 'undefined' && globalThis instanceof ServiceWorkerGlobalScope;
22
-
23
- // Note: I'm intentionally not DRYing up the other variables to keep them "lazy".
24
- const platform = globalThis.navigator?.userAgentData?.platform;
25
-
26
- export const isMacOs = platform === 'macOS'
27
- || globalThis.navigator?.platform === 'MacIntel' // Even on Apple silicon Macs.
28
- || globalThis.navigator?.userAgent?.includes(' Mac ') === true
29
- || globalThis.process?.platform === 'darwin';
30
-
31
- export const isWindows = platform === 'Windows'
32
- || globalThis.navigator?.platform === 'Win32'
33
- || globalThis.process?.platform === 'win32';
34
-
35
- export const isLinux = platform === 'Linux'
36
- || globalThis.navigator?.platform?.startsWith('Linux') === true
37
- || globalThis.navigator?.userAgent?.includes(' Linux ') === true
38
- || globalThis.process?.platform === 'linux';
39
-
40
- export const isIos = platform === 'iOS'
41
- || (globalThis.navigator?.platform === 'MacIntel' && globalThis.navigator?.maxTouchPoints > 1)
42
- || /iPad|iPhone|iPod/.test(globalThis.navigator?.platform);
43
-
44
- export const isAndroid = platform === 'Android'
45
- || globalThis.navigator?.platform === 'Android'
46
- || globalThis.navigator?.userAgent?.includes(' Android ') === true
47
- || globalThis.process?.platform === 'android';
@@ -1,74 +0,0 @@
1
- {
2
- "name": "environment",
3
- "version": "1.1.0",
4
- "description": "Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc",
5
- "license": "MIT",
6
- "repository": "sindresorhus/environment",
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
- },
25
- "files": [
26
- "index.js",
27
- "index.d.ts"
28
- ],
29
- "keywords": [
30
- "runtime",
31
- "environment",
32
- "env",
33
- "execution",
34
- "engine",
35
- "platform",
36
- "context",
37
- "js",
38
- "javascript",
39
- "is",
40
- "check",
41
- "checking",
42
- "detect",
43
- "detection",
44
- "browser",
45
- "node",
46
- "bun",
47
- "deno",
48
- "electron",
49
- "jsdom",
50
- "webworker",
51
- "worker",
52
- "serviceworker",
53
- "macos",
54
- "ios",
55
- "iphone",
56
- "ipad",
57
- "windows",
58
- "linux",
59
- "android",
60
- "os",
61
- "operating",
62
- "system"
63
- ],
64
- "devDependencies": {
65
- "ava": "^6.1.3",
66
- "typescript": "^5.4.5",
67
- "xo": "^0.58.0"
68
- },
69
- "xo": {
70
- "rules": {
71
- "n/prefer-global/process": "off"
72
- }
73
- }
74
- }
@@ -1,94 +0,0 @@
1
- # environment
2
-
3
- > Check which JavaScript environment your code is running in at runtime
4
-
5
- ## Install
6
-
7
- ```sh
8
- npm install environment
9
- ```
10
-
11
- ## Usage
12
-
13
- ```js
14
- import {isBrowser, isNode} from 'environment';
15
-
16
- if (isBrowser) {
17
- console.log('Running in a browser!');
18
- }
19
-
20
- if (isNode) {
21
- console.log('Running in Node.js!');
22
- }
23
- ```
24
-
25
- > [!NOTE]
26
- > Runtime checks should be used sparingly. Prefer [conditional package exports](https://nodejs.org/api/packages.html#conditional-exports) and [imports](https://nodejs.org/api/packages.html#subpath-imports) whenever possible.
27
-
28
- ## API
29
-
30
- ### `isBrowser`
31
-
32
- Check if the code is running in a web browser environment.
33
-
34
- ### `isNode`
35
-
36
- Check if the code is running in a [Node.js](https://nodejs.org) environment.
37
-
38
- ### `isBun`
39
-
40
- Check if the code is running in a [Bun](https://bun.sh) environment.
41
-
42
- ### `isDeno`
43
-
44
- Check if the code is running in a [Deno](https://deno.com) environment.
45
-
46
- ### `isElectron`
47
-
48
- Check if the code is running in an [Electron](https://www.electronjs.org) environment.
49
-
50
- ### `isJsDom`
51
-
52
- Check if the code is running in a [jsdom](https://github.com/jsdom/jsdom) environment.
53
-
54
- ### `isWebWorker`
55
-
56
- Check if the code is running in a [Web Worker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API#worker_global_contexts_and_functions) environment, which could be either a dedicated worker, shared worker, or service worker.
57
-
58
- ### `isDedicatedWorker`
59
-
60
- Check if the code is running in a [Dedicated Worker](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope) environment.
61
-
62
- ### `isSharedWorker`
63
-
64
- Check if the code is running in a [Shared Worker](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorkerGlobalScope) environment.
65
-
66
- ### `isServiceWorker`
67
-
68
- Check if the code is running in a [Service Worker](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope) environment.
69
-
70
- ### `isMacOs`
71
-
72
- Check if the code is running on macOS.
73
-
74
- ### `isWindows`
75
-
76
- Check if the code is running on Windows.
77
-
78
- ### `isLinux`
79
-
80
- Check if the code is running on Linux.
81
-
82
- ### `isIos`
83
-
84
- Check if the code is running on iOS.
85
-
86
- ### `isAndroid`
87
-
88
- Check if the code is running on Android.
89
-
90
- ## Related
91
-
92
- - [is-in-ci](https://github.com/sindresorhus/is-in-ci) - Check if the process is running in a CI environment
93
- - [is64bit](https://github.com/sindresorhus/is64bit) - Check if the operating system CPU architecture is 64-bit or 32-bit
94
- - [is](https://github.com/sindresorhus/is) - Type check values
@@ -1,18 +0,0 @@
1
- /**
2
- Escape RegExp special characters.
3
-
4
- You can also use this to escape a string that is inserted into the middle of a regex, for example, into a character class.
5
-
6
- @example
7
- ```
8
- import escapeStringRegexp = require('escape-string-regexp');
9
-
10
- const escapedString = escapeStringRegexp('How much $ for a 🦄?');
11
- //=> 'How much \\$ for a 🦄\\?'
12
-
13
- new RegExp(escapedString);
14
- ```
15
- */
16
- declare const escapeStringRegexp: (string: string) => string;
17
-
18
- export = escapeStringRegexp;
@@ -1,11 +0,0 @@
1
- 'use strict';
2
-
3
- const matchOperatorsRegex = /[|\\{}()[\]^$+*?.-]/g;
4
-
5
- module.exports = string => {
6
- if (typeof string !== 'string') {
7
- throw new TypeError('Expected a string');
8
- }
9
-
10
- return string.replace(matchOperatorsRegex, '\\$&');
11
- };
@@ -1,9 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (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": "escape-string-regexp",
3
- "version": "2.0.0",
4
- "description": "Escape RegExp special characters",
5
- "license": "MIT",
6
- "repository": "sindresorhus/escape-string-regexp",
7
- "author": {
8
- "name": "Sindre Sorhus",
9
- "email": "sindresorhus@gmail.com",
10
- "url": "sindresorhus.com"
11
- },
12
- "maintainers": [
13
- "Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)",
14
- "Joshua Boy Nicolai Appelman <joshua@jbna.nl> (jbna.nl)"
15
- ],
16
- "engines": {
17
- "node": ">=8"
18
- },
19
- "scripts": {
20
- "test": "xo && ava && tsd"
21
- },
22
- "files": [
23
- "index.js",
24
- "index.d.ts"
25
- ],
26
- "keywords": [
27
- "escape",
28
- "regex",
29
- "regexp",
30
- "re",
31
- "regular",
32
- "expression",
33
- "string",
34
- "str",
35
- "special",
36
- "characters"
37
- ],
38
- "devDependencies": {
39
- "ava": "^1.4.1",
40
- "tsd": "^0.7.2",
41
- "xo": "^0.24.0"
42
- }
43
- }