decocms 2.297.3 → 2.297.4
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.
- package/dist/client/assets/{AlertCircle-DOceQNLO.js → AlertCircle-CSF_13Dr.js} +1 -1
- package/dist/client/assets/{ArrowNarrowLeft-Ut6sEOAV.js → ArrowNarrowLeft-CqQ_AXD-.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-D9uwBh8x.js → ArrowUpRight-DdiqR9qA.js} +1 -1
- package/dist/client/assets/{CheckCircle-Bi_F45OC.js → CheckCircle-DWKK8gJh.js} +1 -1
- package/dist/client/assets/{ChevronDown-DApGjLQm.js → ChevronDown-ypjg4ILM.js} +1 -1
- package/dist/client/assets/{ChevronRight-DjsY7U9b.js → ChevronRight-BcI9jZHJ.js} +1 -1
- package/dist/client/assets/{ChevronUp-CMy32N-m.js → ChevronUp-Dlg42F4S.js} +1 -1
- package/dist/client/assets/{Container-CiDElIZp.js → Container-XDYnee_K.js} +1 -1
- package/dist/client/assets/{DotsVertical-DsOxa9kk.js → DotsVertical-BZ-ro4V4.js} +1 -1
- package/dist/client/assets/{LinkExternal01-DJF0u7Al.js → LinkExternal01-CVvqJLEj.js} +1 -1
- package/dist/client/assets/{Lock01-IwAveU5i.js → Lock01-C5Zr-Ww6.js} +1 -1
- package/dist/client/assets/{Palette-CG-H90V4.js → Palette-BnVEDgSZ.js} +1 -1
- package/dist/client/assets/{Play--9Qv3RSv.js → Play-B-Fd5QKh.js} +1 -1
- package/dist/client/assets/{Plus-BuyKDESP.js → Plus-BLB9eSSy.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-BSZAJWaP.js → RefreshCcw01-CrxRNYKo.js} +1 -1
- package/dist/client/assets/{SearchMd-CgTJnizS.js → SearchMd-BSld7GOF.js} +1 -1
- package/dist/client/assets/{Settings02-C3K4clAj.js → Settings02-CuyH465d.js} +1 -1
- package/dist/client/assets/{Shield01-6zSZG4zZ.js → Shield01-Bo1gZXJl.js} +1 -1
- package/dist/client/assets/{Star01-6qY_r_o0.js → Star01-Dhk1EO9q.js} +1 -1
- package/dist/client/assets/{Sun-5ut4HXgd.js → Sun-C8NOGZvD.js} +1 -1
- package/dist/client/assets/{Tool01-DSgKIJlK.js → Tool01-rxvuOVHx.js} +1 -1
- package/dist/client/assets/{Trash01-64na2O_I.js → Trash01-C9fepIhN.js} +1 -1
- package/dist/client/assets/{User01-I2PYSeQ-.js → User01-DZdlYgsF.js} +1 -1
- package/dist/client/assets/{Users03-Gv84iM55.js → Users03-BLPQrcHj.js} +1 -1
- package/dist/client/assets/{X-BUQlCLg4.js → X-BFGruHRk.js} +1 -1
- package/dist/client/assets/{XCircle-DznL0VVY.js → XCircle-CgmzRFdE.js} +1 -1
- package/dist/client/assets/{XClose-DpeVbn1O.js → XClose-D9JXRvIj.js} +1 -1
- package/dist/client/assets/{Zap-CL9IGroM.js → Zap-Do9G2J5r.js} +1 -1
- package/dist/client/assets/{ZapSquare-kt9KFKud.js → ZapSquare-UyAaRiNn.js} +1 -1
- package/dist/client/assets/{accordion-BB8uXduL.js → accordion-cmDkbfBH.js} +1 -1
- package/dist/client/assets/{agent-icon-CyA4aq-N.js → agent-icon-CN5xNSiu.js} +1 -1
- package/dist/client/assets/{agents-list-DuKkOSFl.js → agents-list-Bx-2M0dx.js} +1 -1
- package/dist/client/assets/ai-providers-HK6-f1zC.js +1 -0
- package/dist/client/assets/{alert-dialog-DEVplu-b.js → alert-dialog-3Q-TOJHi.js} +1 -1
- package/dist/client/assets/{auth-catchall-Dtj1zm-5.js → auth-catchall-Bu5jQhAC.js} +1 -1
- package/dist/client/assets/{automation-list-row-dbli6Meq.js → automation-list-row-BVM9yKN5.js} +1 -1
- package/dist/client/assets/{automations-ljz1zf7l.js → automations-BANsoXxo.js} +1 -1
- package/dist/client/assets/{avatar-B5f27oTM.js → avatar-BSKYNdqa.js} +1 -1
- package/dist/client/assets/{badge-Dqjxo66s.js → badge-BpwMPBRe.js} +1 -1
- package/dist/client/assets/{brand-context-_k3uIYzu.js → brand-context-CvUPXtOc.js} +1 -1
- package/dist/client/assets/{card-CrHccu8M.js → card-dhYHIFM6.js} +1 -1
- package/dist/client/assets/{chat-context-BAJgjH2H.js → chat-context-Bv_oa_7h.js} +1 -1
- package/dist/client/assets/{checkbox-CUCb8KTt.js → checkbox-B2QOZhNa.js} +1 -1
- package/dist/client/assets/{collection-detail-hY4apGqk.js → collection-detail-BvlusF4T.js} +1 -1
- package/dist/client/assets/{collection-display-button-CbnWb_Py.js → collection-display-button-ug6rGxEz.js} +1 -1
- package/dist/client/assets/{collection-search-B4KAomHU.js → collection-search-BqI5DHBE.js} +1 -1
- package/dist/client/assets/{collection-search-B78YYyck.js → collection-search-DEMxfDoK.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-MmfYUzAS.js → collection-table-wrapper-B1peJR0E.js} +1 -1
- package/dist/client/assets/{collection-tabs-DG0d9FCh.js → collection-tabs-DBb9ohEX.js} +1 -1
- package/dist/client/assets/{collections-BV1_q4zz.js → collections-CHU5RniR.js} +1 -1
- package/dist/client/assets/{command-XzBODEQO.js → command-Dm2ByCMz.js} +1 -1
- package/dist/client/assets/{connection-card-BLL0qyQ-.js → connection-card-DBFSL2df.js} +1 -1
- package/dist/client/assets/{connection-detail-IlnKjynB.js → connection-detail-CIGqgms4.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-DHN9JtKw.js → connection-form-helpers-Sfc0HCZO.js} +1 -1
- package/dist/client/assets/{connections-DNaHGQ7W.js → connections-CUFtJd2B.js} +1 -1
- package/dist/client/assets/{constants-oM1AWOzE.js → constants-Bcmyvnig.js} +1 -1
- package/dist/client/assets/{constants-qVDuzF7X.js → constants-DQUM-QTb.js} +1 -1
- package/dist/client/assets/{dialog-De3TQBGU.js → dialog-Ce-S_qMM.js} +1 -1
- package/dist/client/assets/{domain-settings-DOrkvF3H.js → domain-settings-DMTP32Li.js} +1 -1
- package/dist/client/assets/{drawer-BhtkdZ1t.js → drawer-DgQ8wUw5.js} +1 -1
- package/dist/client/assets/{dropdown-menu-BfnipbID.js → dropdown-menu-Bltklbi1.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-C3Q3zEA9.js → dynamic-plugin-layout-DofOvgRG.js} +1 -1
- package/dist/client/assets/{empty-state-Bgxz4CL4.js → empty-state-B9-_6_Xj.js} +1 -1
- package/dist/client/assets/{empty-state-DBPk0mbi.js → empty-state-Dp3JawHN.js} +1 -1
- package/dist/client/assets/{extract-connection-data-2kds-M10.js → extract-connection-data-D8qeaoes.js} +1 -1
- package/dist/client/assets/{features-Bjx73b2p.js → features-Dj1Ja9zf.js} +1 -1
- package/dist/client/assets/{form-DO3mXhCD.js → form-B8FvADu3.js} +1 -1
- package/dist/client/assets/{general-BCJpohsv.js → general-BiVCLvSZ.js} +1 -1
- package/dist/client/assets/{index-B6fx2uot.js → index-39kMCf4L.js} +1 -1
- package/dist/client/assets/{index-BYK9OHdr.js → index-B1bM0KaJ.js} +1 -1
- package/dist/client/assets/{index-CWJII7DF.js → index-B8fZc4My.js} +1 -1
- package/dist/client/assets/{index-B8rCReBN.js → index-BCTCfFmx.js} +1 -1
- package/dist/client/assets/{index-DVy1beuy.js → index-BMDRqzuB.js} +2 -2
- package/dist/client/assets/{index-g5FEl5Yf.js → index-BStd3_z4.js} +1 -1
- package/dist/client/assets/{index-D7tc6f9G.js → index-BgDYzVqv.js} +1 -1
- package/dist/client/assets/{index-DABvIQsG.js → index-BuV1uoum.js} +1 -1
- package/dist/client/assets/{index-C_POqzFl.js → index-CqQUHzq_.js} +1 -1
- package/dist/client/assets/{index-CsDYId9w.js → index-DBWzxGIY.js} +3 -3
- package/dist/client/assets/{index-DIkY0K-7.js → index-DhjNZ1rq.js} +1 -1
- package/dist/client/assets/{index-D59QIat0.js → index-DjnPWua9.js} +1 -1
- package/dist/client/assets/{index-DJQBgVzM.js → index-DmL34bOB.js} +1 -1
- package/dist/client/assets/index-GcyWPz6h.js +1 -0
- package/dist/client/assets/{index-C3gWb8jM.js → index-Op7eZZdi.js} +1 -1
- package/dist/client/assets/{index-CG_FoMZL.js → index-j4nSYT2i.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-C--cIxIO.js → infiniteQueryObserver-CbglmKcR.js} +1 -1
- package/dist/client/assets/{input-BF_PnwoT.js → input-2L64g1T_.js} +1 -1
- package/dist/client/assets/{integration-icon-DZtUVYqW.js → integration-icon-PO3TvmaC.js} +1 -1
- package/dist/client/assets/{label-BGNWOM_u.js → label-DWNCCuhf.js} +1 -1
- package/dist/client/assets/{layout-BzEpxFfK.js → layout-Bcl31qY2.js} +1 -1
- package/dist/client/assets/{lean-canvas-recruit-modal-b56st8EK.js → lean-canvas-recruit-modal-D1vXDFS8.js} +1 -1
- package/dist/client/assets/{login-DfbjrNji.js → login-DIALDSm5.js} +1 -1
- package/dist/client/assets/{members-DauXLJuZ.js → members-CMmMYv-N.js} +1 -1
- package/dist/client/assets/{monaco-editor-B2n1dPLu.js → monaco-editor-Cpm29QPS.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-CXtFB4iH.js → monitoring-stats-row-CseTCiYb.js} +1 -1
- package/dist/client/assets/{oauth-callback-C-7s0SOB.js → oauth-callback-CwJiDNtE.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-BS4JWaUp.js → oauth-callback-ai-provider-CHFUhPdk.js} +1 -1
- package/dist/client/assets/{onboarding-HoZSJQwb.js → onboarding-BBIuU5UD.js} +1 -1
- package/dist/client/assets/{org-layout-DQYLKtiF.js → org-layout-Bk4Xg7Fr.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-B04GGbHw.js → org-plugin-layout-3GybENC2.js} +1 -1
- package/dist/client/assets/{pair-BXONxcCz.js → pair-D1g0yCtI.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-DbRe5_4R.js → plugin-empty-state-Br_hxiHj.js} +1 -1
- package/dist/client/assets/{plugin-header-Druz_LpT.js → plugin-header-QuC-CYa0.js} +1 -1
- package/dist/client/assets/{plugin-layout-CHJNmn1v.js → plugin-layout-CzBticqJ.js} +1 -1
- package/dist/client/assets/{popover-DUYzJGyT.js → popover-DlyfpBTw.js} +1 -1
- package/dist/client/assets/{profile-CuK8pnIe.js → profile-C75k6bGK.js} +1 -1
- package/dist/client/assets/{project-app-view-SAPIh495.js → project-app-view-CKk63Dpd.js} +1 -1
- package/dist/client/assets/registry--RTDdsXm.js +2 -0
- package/dist/client/assets/{registry-layout-moYlZsRG.js → registry-layout-Bkts5YAv.js} +1 -1
- package/dist/client/assets/{required-auth-layout-D5-sHfQI.js → required-auth-layout-h9nzgFi8.js} +1 -1
- package/dist/client/assets/{reset-password-DbtYRlO9.js → reset-password-D2aXMop6.js} +1 -1
- package/dist/client/assets/{roles-CrrkeOgz.js → roles-Bi1faVdQ.js} +1 -1
- package/dist/client/assets/{scroll-area-CwMuHnKN.js → scroll-area-CB49pN6Y.js} +1 -1
- package/dist/client/assets/{search-input-DbCva3sQ.js → search-input-BTEmgZ9w.js} +1 -1
- package/dist/client/assets/{select-08gBRiot.js → select-CAYoZd8I.js} +1 -1
- package/dist/client/assets/{select-model-BHdM8VIO.js → select-model-CRtbsZ0R.js} +1 -1
- package/dist/client/assets/{settings-layout-C0Gx8VO0.js → settings-layout-Ec4qkPOV.js} +1 -1
- package/dist/client/assets/{settings-section-BtJ0fGtF.js → settings-section-DlDQET7w.js} +1 -1
- package/dist/client/assets/{shell-layout-qPvbRN7B.js → shell-layout-CbYhZXkk.js} +1 -1
- package/dist/client/assets/{skeleton-Cdtc96Xg.js → skeleton-BW9knE_n.js} +1 -1
- package/dist/client/assets/{sso-johrr_Od.js → sso-Ba2kuqx_.js} +1 -1
- package/dist/client/assets/{store-ByoSNd4Q.js → store-CSO-FxwQ.js} +1 -1
- package/dist/client/assets/store-registry-DfXuWLiQ.js +2 -0
- package/dist/client/assets/{switch-xd9Gi5vP.js → switch-C4zt_EPB.js} +1 -1
- package/dist/client/assets/{table-Cgo3dnPh.js → table-Cg9qQv2Y.js} +1 -1
- package/dist/client/assets/{tabs-Cy79vVJZ.js → tabs-DmHrk6mS.js} +1 -1
- package/dist/client/assets/{task-status-CwP5CokA.js → task-status-d_h_ry7h.js} +1 -1
- package/dist/client/assets/{textarea-CEIwIClC.js → textarea-BYOMJtyN.js} +1 -1
- package/dist/client/assets/{toggle-group-7FUVQ1cU.js → toggle-group-BXuQuZrD.js} +1 -1
- package/dist/client/assets/{tools-list-BFOnit49.js → tools-list-B9QpVEXx.js} +1 -1
- package/dist/client/assets/{tooltip-noUencM_.js → tooltip-BofEUPZE.js} +1 -1
- package/dist/client/assets/{types-D1jlY-61.js → types-CIm83jZB.js} +1 -1
- package/dist/client/assets/{use-ai-providers-DuW1V_Uu.js → use-ai-providers-SJMZOBYp.js} +1 -1
- package/dist/client/assets/{use-collections-BNoIqg4E.js → use-collections-BseNLGp4.js} +1 -1
- package/dist/client/assets/{use-connection-CehL3LUh.js → use-connection-DgkIQeIC.js} +1 -1
- package/dist/client/assets/{use-copy-HgkyZGTM.js → use-copy-CFQEXY3f.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-Ca-A78hx.js → use-create-virtual-mcp-f8qfStwY.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-D1Mpy0ID.js → use-decopilot-events-NFvSYLhu.js} +1 -1
- package/dist/client/assets/{use-delete-connection-BFGFbCC7.js → use-delete-connection-kWtvCfIe.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-5GUIJxdp.js → use-infinite-scroll-5-SPEFAg.js} +1 -1
- package/dist/client/assets/{use-list-state-C0gVvqlg.js → use-list-state-DisUc87n.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-DCS9mrlz.js → use-mcp-tools-inIxCvzq.js} +1 -1
- package/dist/client/assets/{use-members-DI4pB2ZJ.js → use-members-DDimfduX.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-DxOvtPt-.js → use-navigate-to-agent-BLiXnOzm.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-hfJH1XkQ.js → use-org-auth-client-G_YJ7rUK.js} +1 -1
- package/dist/client/assets/{use-org-sso-q7jLBIpS.js → use-org-sso-DQDEO30q.js} +1 -1
- package/dist/client/assets/{use-organization-roles-DVpbILBD.js → use-organization-roles-DxQncBJ0.js} +1 -1
- package/dist/client/assets/{use-organization-settings-CHwvrYoS.js → use-organization-settings-DuXuAzTp.js} +1 -1
- package/dist/client/assets/{use-registry-connections-CH9tBSpn.js → use-registry-connections-B_kcIxyC.js} +1 -1
- package/dist/client/assets/{use-status-sounds-BQ6z8zDW.js → use-status-sounds-bbBf7WFs.js} +1 -1
- package/dist/client/assets/{use-tasks-DcwrIkDk.js → use-tasks-DtSTBHmQ.js} +1 -1
- package/dist/client/assets/{use-view-mode-w1tzJ4y9.js → use-view-mode-Yi8sPxKB.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-BI_AkgQS.js → use-virtual-mcp-BxjgYgTF.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-CXZTtjSi.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-FIBrQjy0.js +1 -0
- package/dist/client/assets/{user-Buq69yet.js → user-D4BWXoop.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-DSvqoC0L.js → view-mode-toggle-CJedYZZs.js} +1 -1
- package/dist/client/assets/{workflow-DFLn0uLm.js → workflow-Cr24Zx7K.js} +1 -1
- package/dist/client/assets/workflow-detail-AwMahm0M.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +1 -1
- package/dist/server/node_modules/ansi-styles/index.d.ts +236 -0
- package/dist/server/node_modules/ansi-styles/index.js +223 -0
- package/dist/server/node_modules/{slice-ansi → ansi-styles}/license +0 -1
- package/dist/server/node_modules/ansi-styles/package.json +54 -0
- package/dist/server/node_modules/ansi-styles/readme.md +173 -0
- package/dist/server/node_modules/convert-to-spaces/dist/index.d.ts +2 -0
- package/dist/server/node_modules/convert-to-spaces/dist/index.js +4 -0
- package/dist/server/node_modules/{postgres-array → convert-to-spaces}/license +1 -1
- package/dist/server/node_modules/convert-to-spaces/package.json +40 -0
- package/dist/server/node_modules/convert-to-spaces/readme.md +39 -0
- package/dist/server/node_modules/environment/index.d.ts +74 -0
- package/dist/server/node_modules/environment/index.js +47 -0
- package/dist/server/node_modules/environment/license +9 -0
- package/dist/server/node_modules/environment/package.json +74 -0
- package/dist/server/node_modules/environment/readme.md +94 -0
- package/dist/server/node_modules/is-unicode-supported/index.d.ts +12 -0
- package/dist/server/node_modules/is-unicode-supported/index.js +21 -0
- package/dist/server/node_modules/is-unicode-supported/license +9 -0
- package/dist/server/node_modules/is-unicode-supported/package.json +47 -0
- package/dist/server/node_modules/is-unicode-supported/readme.md +35 -0
- package/dist/server/node_modules/{scheduler → pg-cloudflare}/LICENSE +1 -1
- package/dist/server/node_modules/pg-cloudflare/README.md +112 -0
- package/dist/server/node_modules/pg-cloudflare/dist/empty.d.ts +2 -0
- package/dist/server/node_modules/pg-cloudflare/dist/empty.js +6 -0
- package/dist/server/node_modules/pg-cloudflare/dist/empty.js.map +1 -0
- package/dist/server/node_modules/pg-cloudflare/dist/index.d.ts +31 -0
- package/dist/server/node_modules/pg-cloudflare/dist/index.js +152 -0
- package/dist/server/node_modules/pg-cloudflare/dist/index.js.map +1 -0
- package/dist/server/node_modules/pg-cloudflare/esm/index.mjs +3 -0
- package/dist/server/node_modules/pg-cloudflare/package.json +39 -0
- package/dist/server/node_modules/pg-cloudflare/src/empty.ts +3 -0
- package/dist/server/node_modules/pg-cloudflare/src/index.ts +166 -0
- package/dist/server/node_modules/pg-cloudflare/src/types.d.ts +25 -0
- package/dist/server/node_modules/{postgres-interval/license → pg-connection-string/LICENSE} +5 -5
- package/dist/server/node_modules/pg-connection-string/README.md +105 -0
- package/dist/server/node_modules/pg-connection-string/esm/index.mjs +8 -0
- package/dist/server/node_modules/pg-connection-string/index.d.ts +36 -0
- package/dist/server/node_modules/pg-connection-string/index.js +231 -0
- package/dist/server/node_modules/pg-connection-string/package.json +52 -0
- package/dist/server/node_modules/restore-cursor/index.d.ts +11 -0
- package/dist/server/node_modules/restore-cursor/index.js +11 -0
- package/dist/server/node_modules/restore-cursor/license +9 -0
- package/dist/server/node_modules/restore-cursor/package.json +55 -0
- package/dist/server/node_modules/restore-cursor/readme.md +31 -0
- package/dist/server/node_modules/string-width/index.d.ts +39 -0
- package/dist/server/node_modules/string-width/index.js +82 -0
- package/dist/server/node_modules/string-width/license +9 -0
- package/dist/server/node_modules/string-width/package.json +64 -0
- package/dist/server/node_modules/string-width/readme.md +66 -0
- package/package.json +1 -1
- package/dist/client/assets/ai-providers-C2RW6eTp.js +0 -1
- package/dist/client/assets/index-5lL8c6iA.js +0 -1
- package/dist/client/assets/registry-Cm8BzDl5.js +0 -2
- package/dist/client/assets/store-registry-DUNGduVn.js +0 -2
- package/dist/client/assets/useInfiniteQuery-SzEdomT-.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-D105YEtv.js +0 -1
- package/dist/client/assets/workflow-detail-BV2te61V.js +0 -1
- package/dist/server/node_modules/pg-int8/LICENSE +0 -13
- package/dist/server/node_modules/pg-int8/README.md +0 -16
- package/dist/server/node_modules/pg-int8/index.js +0 -100
- package/dist/server/node_modules/pg-int8/package.json +0 -24
- package/dist/server/node_modules/postgres-array/index.d.ts +0 -4
- package/dist/server/node_modules/postgres-array/index.js +0 -97
- package/dist/server/node_modules/postgres-array/package.json +0 -35
- package/dist/server/node_modules/postgres-array/readme.md +0 -43
- package/dist/server/node_modules/postgres-bytea/index.js +0 -33
- package/dist/server/node_modules/postgres-bytea/license +0 -21
- package/dist/server/node_modules/postgres-bytea/package.json +0 -34
- package/dist/server/node_modules/postgres-bytea/readme.md +0 -34
- package/dist/server/node_modules/postgres-date/index.js +0 -116
- package/dist/server/node_modules/postgres-date/license +0 -21
- package/dist/server/node_modules/postgres-date/package.json +0 -33
- package/dist/server/node_modules/postgres-date/readme.md +0 -49
- package/dist/server/node_modules/postgres-interval/index.d.ts +0 -20
- package/dist/server/node_modules/postgres-interval/index.js +0 -125
- package/dist/server/node_modules/postgres-interval/package.json +0 -36
- package/dist/server/node_modules/postgres-interval/readme.md +0 -48
- package/dist/server/node_modules/scheduler/README.md +0 -9
- package/dist/server/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +0 -414
- package/dist/server/node_modules/scheduler/cjs/scheduler-unstable_mock.production.js +0 -406
- package/dist/server/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +0 -150
- package/dist/server/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.js +0 -140
- package/dist/server/node_modules/scheduler/cjs/scheduler.development.js +0 -364
- package/dist/server/node_modules/scheduler/cjs/scheduler.native.development.js +0 -350
- package/dist/server/node_modules/scheduler/cjs/scheduler.native.production.js +0 -330
- package/dist/server/node_modules/scheduler/cjs/scheduler.production.js +0 -340
- package/dist/server/node_modules/scheduler/index.js +0 -7
- package/dist/server/node_modules/scheduler/index.native.js +0 -7
- package/dist/server/node_modules/scheduler/package.json +0 -27
- package/dist/server/node_modules/scheduler/unstable_mock.js +0 -7
- package/dist/server/node_modules/scheduler/unstable_post_task.js +0 -7
- package/dist/server/node_modules/slice-ansi/index.d.ts +0 -19
- package/dist/server/node_modules/slice-ansi/index.js +0 -260
- package/dist/server/node_modules/slice-ansi/package.json +0 -59
- package/dist/server/node_modules/slice-ansi/readme.md +0 -54
- package/dist/server/node_modules/slice-ansi/tokenize-ansi.js +0 -752
- package/dist/server/node_modules/split2/LICENSE +0 -13
- package/dist/server/node_modules/split2/README.md +0 -85
- package/dist/server/node_modules/split2/bench.js +0 -27
- package/dist/server/node_modules/split2/index.js +0 -141
- package/dist/server/node_modules/split2/package.json +0 -39
- package/dist/server/node_modules/split2/test.js +0 -409
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
const ANSI_BACKGROUND_OFFSET = 10;
|
|
2
|
+
|
|
3
|
+
const wrapAnsi16 = (offset = 0) => code => `\u001B[${code + offset}m`;
|
|
4
|
+
|
|
5
|
+
const wrapAnsi256 = (offset = 0) => code => `\u001B[${38 + offset};5;${code}m`;
|
|
6
|
+
|
|
7
|
+
const wrapAnsi16m = (offset = 0) => (red, green, blue) => `\u001B[${38 + offset};2;${red};${green};${blue}m`;
|
|
8
|
+
|
|
9
|
+
const styles = {
|
|
10
|
+
modifier: {
|
|
11
|
+
reset: [0, 0],
|
|
12
|
+
// 21 isn't widely supported and 22 does the same thing
|
|
13
|
+
bold: [1, 22],
|
|
14
|
+
dim: [2, 22],
|
|
15
|
+
italic: [3, 23],
|
|
16
|
+
underline: [4, 24],
|
|
17
|
+
overline: [53, 55],
|
|
18
|
+
inverse: [7, 27],
|
|
19
|
+
hidden: [8, 28],
|
|
20
|
+
strikethrough: [9, 29],
|
|
21
|
+
},
|
|
22
|
+
color: {
|
|
23
|
+
black: [30, 39],
|
|
24
|
+
red: [31, 39],
|
|
25
|
+
green: [32, 39],
|
|
26
|
+
yellow: [33, 39],
|
|
27
|
+
blue: [34, 39],
|
|
28
|
+
magenta: [35, 39],
|
|
29
|
+
cyan: [36, 39],
|
|
30
|
+
white: [37, 39],
|
|
31
|
+
|
|
32
|
+
// Bright color
|
|
33
|
+
blackBright: [90, 39],
|
|
34
|
+
gray: [90, 39], // Alias of `blackBright`
|
|
35
|
+
grey: [90, 39], // Alias of `blackBright`
|
|
36
|
+
redBright: [91, 39],
|
|
37
|
+
greenBright: [92, 39],
|
|
38
|
+
yellowBright: [93, 39],
|
|
39
|
+
blueBright: [94, 39],
|
|
40
|
+
magentaBright: [95, 39],
|
|
41
|
+
cyanBright: [96, 39],
|
|
42
|
+
whiteBright: [97, 39],
|
|
43
|
+
},
|
|
44
|
+
bgColor: {
|
|
45
|
+
bgBlack: [40, 49],
|
|
46
|
+
bgRed: [41, 49],
|
|
47
|
+
bgGreen: [42, 49],
|
|
48
|
+
bgYellow: [43, 49],
|
|
49
|
+
bgBlue: [44, 49],
|
|
50
|
+
bgMagenta: [45, 49],
|
|
51
|
+
bgCyan: [46, 49],
|
|
52
|
+
bgWhite: [47, 49],
|
|
53
|
+
|
|
54
|
+
// Bright color
|
|
55
|
+
bgBlackBright: [100, 49],
|
|
56
|
+
bgGray: [100, 49], // Alias of `bgBlackBright`
|
|
57
|
+
bgGrey: [100, 49], // Alias of `bgBlackBright`
|
|
58
|
+
bgRedBright: [101, 49],
|
|
59
|
+
bgGreenBright: [102, 49],
|
|
60
|
+
bgYellowBright: [103, 49],
|
|
61
|
+
bgBlueBright: [104, 49],
|
|
62
|
+
bgMagentaBright: [105, 49],
|
|
63
|
+
bgCyanBright: [106, 49],
|
|
64
|
+
bgWhiteBright: [107, 49],
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export const modifierNames = Object.keys(styles.modifier);
|
|
69
|
+
export const foregroundColorNames = Object.keys(styles.color);
|
|
70
|
+
export const backgroundColorNames = Object.keys(styles.bgColor);
|
|
71
|
+
export const colorNames = [...foregroundColorNames, ...backgroundColorNames];
|
|
72
|
+
|
|
73
|
+
function assembleStyles() {
|
|
74
|
+
const codes = new Map();
|
|
75
|
+
|
|
76
|
+
for (const [groupName, group] of Object.entries(styles)) {
|
|
77
|
+
for (const [styleName, style] of Object.entries(group)) {
|
|
78
|
+
styles[styleName] = {
|
|
79
|
+
open: `\u001B[${style[0]}m`,
|
|
80
|
+
close: `\u001B[${style[1]}m`,
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
group[styleName] = styles[styleName];
|
|
84
|
+
|
|
85
|
+
codes.set(style[0], style[1]);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
Object.defineProperty(styles, groupName, {
|
|
89
|
+
value: group,
|
|
90
|
+
enumerable: false,
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
Object.defineProperty(styles, 'codes', {
|
|
95
|
+
value: codes,
|
|
96
|
+
enumerable: false,
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
styles.color.close = '\u001B[39m';
|
|
100
|
+
styles.bgColor.close = '\u001B[49m';
|
|
101
|
+
|
|
102
|
+
styles.color.ansi = wrapAnsi16();
|
|
103
|
+
styles.color.ansi256 = wrapAnsi256();
|
|
104
|
+
styles.color.ansi16m = wrapAnsi16m();
|
|
105
|
+
styles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);
|
|
106
|
+
styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
|
|
107
|
+
styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
|
|
108
|
+
|
|
109
|
+
// From https://github.com/Qix-/color-convert/blob/3f0e0d4e92e235796ccb17f6e85c72094a651f49/conversions.js
|
|
110
|
+
Object.defineProperties(styles, {
|
|
111
|
+
rgbToAnsi256: {
|
|
112
|
+
value(red, green, blue) {
|
|
113
|
+
// We use the extended greyscale palette here, with the exception of
|
|
114
|
+
// black and white. normal palette only has 4 greyscale shades.
|
|
115
|
+
if (red === green && green === blue) {
|
|
116
|
+
if (red < 8) {
|
|
117
|
+
return 16;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
if (red > 248) {
|
|
121
|
+
return 231;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
return Math.round(((red - 8) / 247) * 24) + 232;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
return 16
|
|
128
|
+
+ (36 * Math.round(red / 255 * 5))
|
|
129
|
+
+ (6 * Math.round(green / 255 * 5))
|
|
130
|
+
+ Math.round(blue / 255 * 5);
|
|
131
|
+
},
|
|
132
|
+
enumerable: false,
|
|
133
|
+
},
|
|
134
|
+
hexToRgb: {
|
|
135
|
+
value(hex) {
|
|
136
|
+
const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
|
|
137
|
+
if (!matches) {
|
|
138
|
+
return [0, 0, 0];
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
let [colorString] = matches;
|
|
142
|
+
|
|
143
|
+
if (colorString.length === 3) {
|
|
144
|
+
colorString = [...colorString].map(character => character + character).join('');
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
const integer = Number.parseInt(colorString, 16);
|
|
148
|
+
|
|
149
|
+
return [
|
|
150
|
+
/* eslint-disable no-bitwise */
|
|
151
|
+
(integer >> 16) & 0xFF,
|
|
152
|
+
(integer >> 8) & 0xFF,
|
|
153
|
+
integer & 0xFF,
|
|
154
|
+
/* eslint-enable no-bitwise */
|
|
155
|
+
];
|
|
156
|
+
},
|
|
157
|
+
enumerable: false,
|
|
158
|
+
},
|
|
159
|
+
hexToAnsi256: {
|
|
160
|
+
value: hex => styles.rgbToAnsi256(...styles.hexToRgb(hex)),
|
|
161
|
+
enumerable: false,
|
|
162
|
+
},
|
|
163
|
+
ansi256ToAnsi: {
|
|
164
|
+
value(code) {
|
|
165
|
+
if (code < 8) {
|
|
166
|
+
return 30 + code;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
if (code < 16) {
|
|
170
|
+
return 90 + (code - 8);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
let red;
|
|
174
|
+
let green;
|
|
175
|
+
let blue;
|
|
176
|
+
|
|
177
|
+
if (code >= 232) {
|
|
178
|
+
red = (((code - 232) * 10) + 8) / 255;
|
|
179
|
+
green = red;
|
|
180
|
+
blue = red;
|
|
181
|
+
} else {
|
|
182
|
+
code -= 16;
|
|
183
|
+
|
|
184
|
+
const remainder = code % 36;
|
|
185
|
+
|
|
186
|
+
red = Math.floor(code / 36) / 5;
|
|
187
|
+
green = Math.floor(remainder / 6) / 5;
|
|
188
|
+
blue = (remainder % 6) / 5;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
const value = Math.max(red, green, blue) * 2;
|
|
192
|
+
|
|
193
|
+
if (value === 0) {
|
|
194
|
+
return 30;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
// eslint-disable-next-line no-bitwise
|
|
198
|
+
let result = 30 + ((Math.round(blue) << 2) | (Math.round(green) << 1) | Math.round(red));
|
|
199
|
+
|
|
200
|
+
if (value === 2) {
|
|
201
|
+
result += 60;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
return result;
|
|
205
|
+
},
|
|
206
|
+
enumerable: false,
|
|
207
|
+
},
|
|
208
|
+
rgbToAnsi: {
|
|
209
|
+
value: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),
|
|
210
|
+
enumerable: false,
|
|
211
|
+
},
|
|
212
|
+
hexToAnsi: {
|
|
213
|
+
value: hex => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),
|
|
214
|
+
enumerable: false,
|
|
215
|
+
},
|
|
216
|
+
});
|
|
217
|
+
|
|
218
|
+
return styles;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
const ansiStyles = assembleStyles();
|
|
222
|
+
|
|
223
|
+
export default ansiStyles;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) DC <threedeecee@gmail.com>
|
|
4
3
|
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
5
4
|
|
|
6
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:
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ansi-styles",
|
|
3
|
+
"version": "6.2.3",
|
|
4
|
+
"description": "ANSI escape codes for styling strings in the terminal",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": "chalk/ansi-styles",
|
|
7
|
+
"funding": "https://github.com/chalk/ansi-styles?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
|
+
"engines": {
|
|
16
|
+
"node": ">=12"
|
|
17
|
+
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"test": "xo && ava && tsd",
|
|
20
|
+
"screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"index.js",
|
|
24
|
+
"index.d.ts"
|
|
25
|
+
],
|
|
26
|
+
"keywords": [
|
|
27
|
+
"ansi",
|
|
28
|
+
"styles",
|
|
29
|
+
"color",
|
|
30
|
+
"colour",
|
|
31
|
+
"colors",
|
|
32
|
+
"terminal",
|
|
33
|
+
"console",
|
|
34
|
+
"cli",
|
|
35
|
+
"string",
|
|
36
|
+
"tty",
|
|
37
|
+
"escape",
|
|
38
|
+
"formatting",
|
|
39
|
+
"rgb",
|
|
40
|
+
"256",
|
|
41
|
+
"shell",
|
|
42
|
+
"xterm",
|
|
43
|
+
"log",
|
|
44
|
+
"logging",
|
|
45
|
+
"command-line",
|
|
46
|
+
"text"
|
|
47
|
+
],
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"ava": "^6.1.3",
|
|
50
|
+
"svg-term-cli": "^2.1.1",
|
|
51
|
+
"tsd": "^0.31.1",
|
|
52
|
+
"xo": "^0.58.0"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,173 @@
|
|
|
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
|
+

|
|
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,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) Vadim Demedes <vdemedes@gmail.com> (https://vadimdemedes.com)
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "convert-to-spaces",
|
|
3
|
+
"version": "2.0.1",
|
|
4
|
+
"description": "Convert tabs to spaces in a string",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": "vadimdemedes/convert-to-spaces",
|
|
7
|
+
"author": "Vadim Demedes <vdemedes@gmail.com>",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "tsc",
|
|
10
|
+
"dev": "tsc --watch",
|
|
11
|
+
"prepare": "npm run build",
|
|
12
|
+
"pretest": "npm run build",
|
|
13
|
+
"test": "xo && ava"
|
|
14
|
+
},
|
|
15
|
+
"type": "module",
|
|
16
|
+
"exports": "./dist/index.js",
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"engines": {
|
|
19
|
+
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist"
|
|
23
|
+
],
|
|
24
|
+
"keywords": [
|
|
25
|
+
"tabs",
|
|
26
|
+
"spaces"
|
|
27
|
+
],
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@sindresorhus/tsconfig": "^2.0.0",
|
|
30
|
+
"@vdemedes/prettier-config": "^2.0.1",
|
|
31
|
+
"ava": "^4.0.1",
|
|
32
|
+
"prettier": "^2.5.1",
|
|
33
|
+
"typescript": "^4.5.5",
|
|
34
|
+
"xo": "^0.47.0"
|
|
35
|
+
},
|
|
36
|
+
"xo": {
|
|
37
|
+
"prettier": true
|
|
38
|
+
},
|
|
39
|
+
"prettier": "@vdemedes/prettier-config"
|
|
40
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# convert-to-spaces [](https://github.com/vadimdemedes/convert-to-spaces/actions)
|
|
2
|
+
|
|
3
|
+
> Convert tabs to spaces in a string
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
$ npm install --save convert-to-spaces
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```js
|
|
14
|
+
import convertToSpaces from 'convert-to-spaces';
|
|
15
|
+
|
|
16
|
+
convertToSpaces('\t\thello!');
|
|
17
|
+
//=> ' hello!'
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## API
|
|
21
|
+
|
|
22
|
+
### convertToSpaces(input, [spaces])
|
|
23
|
+
|
|
24
|
+
#### input
|
|
25
|
+
|
|
26
|
+
Type: `string`
|
|
27
|
+
|
|
28
|
+
String to convert.
|
|
29
|
+
|
|
30
|
+
#### spaces
|
|
31
|
+
|
|
32
|
+
Type: `number`<br>
|
|
33
|
+
Default: `2`
|
|
34
|
+
|
|
35
|
+
Number of spaces instead of each tab.
|
|
36
|
+
|
|
37
|
+
## Related
|
|
38
|
+
|
|
39
|
+
- [convert-to-tabs](https://github.com/vadimdemedes/convert-to-tabs) - Convert spaces to tabs.
|
|
@@ -0,0 +1,74 @@
|
|
|
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;
|
|
@@ -0,0 +1,47 @@
|
|
|
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';
|
|
@@ -0,0 +1,9 @@
|
|
|
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.
|