decocms 2.304.1 → 2.304.2
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-Bmjr0ClA.js → AlertCircle-9O6VvAfH.js} +1 -1
- package/dist/client/assets/{ArrowNarrowLeft-CThwX0q-.js → ArrowNarrowLeft-CG2ODQbf.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-B7vTMj1u.js → ArrowUpRight-C7hCAEbW.js} +1 -1
- package/dist/client/assets/{CheckCircle-CNaz4scY.js → CheckCircle-BbvAf9Bo.js} +1 -1
- package/dist/client/assets/{ChevronDown-BMpzZvgp.js → ChevronDown-DTujp_Ze.js} +1 -1
- package/dist/client/assets/{ChevronRight-B0WDiR9g.js → ChevronRight-DmfKIycz.js} +1 -1
- package/dist/client/assets/{ChevronUp-C1KppMC5.js → ChevronUp-k_xkdO-G.js} +1 -1
- package/dist/client/assets/{Container-DxKKEmNe.js → Container-Dwj81gCC.js} +1 -1
- package/dist/client/assets/{DotsVertical-CRTfJ6MH.js → DotsVertical-BSgCnoHf.js} +1 -1
- package/dist/client/assets/{LinkExternal01-DcUPNTey.js → LinkExternal01-DceZ2oEY.js} +1 -1
- package/dist/client/assets/{Lock01-CwYOwvXR.js → Lock01-NMXz4ptn.js} +1 -1
- package/dist/client/assets/{Palette-c4ovbTBC.js → Palette-dLUnn7-k.js} +1 -1
- package/dist/client/assets/{Play-BzawbqMW.js → Play-DBJO09gj.js} +1 -1
- package/dist/client/assets/{Plus-CZq1C4jM.js → Plus-D5DLeNpq.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-Dwpnc1qZ.js → RefreshCcw01-B6WkaYVq.js} +1 -1
- package/dist/client/assets/{SearchMd-BYUE-oTe.js → SearchMd-CCDT-gCm.js} +1 -1
- package/dist/client/assets/{Settings02-FFAtt7kb.js → Settings02-CnaVYpiu.js} +1 -1
- package/dist/client/assets/{Shield01-CZOC16WM.js → Shield01-Bqcf2bTH.js} +1 -1
- package/dist/client/assets/{Star01-GaFk6Xa_.js → Star01-SeWnXAup.js} +1 -1
- package/dist/client/assets/{Sun-_nS1eHVw.js → Sun-0NoCfqDs.js} +1 -1
- package/dist/client/assets/{Tool01-CpBRL57v.js → Tool01-CNtQXBy4.js} +1 -1
- package/dist/client/assets/{Trash01-CKEJHaXR.js → Trash01-UTo49HDl.js} +1 -1
- package/dist/client/assets/{User01-BO3afenP.js → User01-CVlz7odd.js} +1 -1
- package/dist/client/assets/{Users03-B2dn7j_S.js → Users03-X35A5ADD.js} +1 -1
- package/dist/client/assets/{X-BY4Cj76l.js → X-CeTLIvc6.js} +1 -1
- package/dist/client/assets/{XCircle-H-paIGFm.js → XCircle-DtPL7zg0.js} +1 -1
- package/dist/client/assets/{XClose-ihnqmUfp.js → XClose-C2Cy4nwy.js} +1 -1
- package/dist/client/assets/{Zap-BafO525R.js → Zap-D1n1nJno.js} +1 -1
- package/dist/client/assets/{ZapSquare-BFMe5Mv9.js → ZapSquare-Wt7N_ZY-.js} +1 -1
- package/dist/client/assets/{accordion-DJ9g6lbv.js → accordion-DPxobU6V.js} +1 -1
- package/dist/client/assets/{agent-icon-3dvecirS.js → agent-icon-rfR6G8ak.js} +1 -1
- package/dist/client/assets/{agents-list-C3oLVAtv.js → agents-list-CSAgVNG9.js} +1 -1
- package/dist/client/assets/ai-providers-BWpsfrqy.js +1 -0
- package/dist/client/assets/{alert-dialog-BaDMThMD.js → alert-dialog-FP3uTtqS.js} +1 -1
- package/dist/client/assets/{auth-catchall-DyAp9W_K.js → auth-catchall-x57v3jqK.js} +1 -1
- package/dist/client/assets/{automation-list-row-BZ5pc5Hf.js → automation-list-row-DG25MDBi.js} +1 -1
- package/dist/client/assets/{automations-NFa1s-Bh.js → automations-Dvzmj3cQ.js} +1 -1
- package/dist/client/assets/{avatar-D8_rUBWz.js → avatar-jxKfgW3P.js} +1 -1
- package/dist/client/assets/{badge-DdmMZRNT.js → badge-DSbZ2xYh.js} +1 -1
- package/dist/client/assets/{brand-context-Bze-d_ZO.js → brand-context-BnZBvexH.js} +1 -1
- package/dist/client/assets/{card-BsUopeoI.js → card-DxIIO9TM.js} +1 -1
- package/dist/client/assets/{chat-context-DfbXSilM.js → chat-context-BFu5v0t2.js} +1 -1
- package/dist/client/assets/{checkbox-D9P4N8hw.js → checkbox-BC2-36Db.js} +1 -1
- package/dist/client/assets/{collection-detail-D-8PAzvK.js → collection-detail-CD-QyUWU.js} +1 -1
- package/dist/client/assets/{collection-display-button-B0aY08zq.js → collection-display-button-C_CtGElp.js} +1 -1
- package/dist/client/assets/{collection-search-C4AgxGiz.js → collection-search-C4byKAjw.js} +1 -1
- package/dist/client/assets/{collection-search-Dlp7iCDd.js → collection-search-D4u3PzGA.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-CQMKVKSx.js → collection-table-wrapper-C_-94CeK.js} +1 -1
- package/dist/client/assets/{collection-tabs-C9tMEUhv.js → collection-tabs-gMfs6Afq.js} +1 -1
- package/dist/client/assets/{collections-BDAFtlmY.js → collections-D7GHHPCg.js} +1 -1
- package/dist/client/assets/{command-CQ2qBZMm.js → command-rz34Ys0W.js} +1 -1
- package/dist/client/assets/{connection-card-DwOSEuv8.js → connection-card-B9DKOCXt.js} +1 -1
- package/dist/client/assets/{connection-detail-CawEIpU7.js → connection-detail-DsF7Nr0a.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-D2ynuhjT.js → connection-form-helpers-Dr9CZ_1s.js} +1 -1
- package/dist/client/assets/{connections-CpSP7u11.js → connections-C8H8V7wn.js} +1 -1
- package/dist/client/assets/{constants-8SUUmfde.js → constants-DzBa_pVv.js} +1 -1
- package/dist/client/assets/{constants-dX65r6Zc.js → constants-ZacFr8c8.js} +1 -1
- package/dist/client/assets/{dialog-C09MDdtC.js → dialog-DJXnl186.js} +1 -1
- package/dist/client/assets/{domain-settings-C8zQRIa5.js → domain-settings-B6gsJfGm.js} +1 -1
- package/dist/client/assets/{drawer-CgP97_zn.js → drawer-CKRLj2vr.js} +1 -1
- package/dist/client/assets/{dropdown-menu-BUQ2j94Z.js → dropdown-menu-BxJLGp-F.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-D01hx5Sr.js → dynamic-plugin-layout-EgA1-G6Q.js} +1 -1
- package/dist/client/assets/{empty-state-CDSs8u5J.js → empty-state-DP9kvNKh.js} +1 -1
- package/dist/client/assets/{empty-state-CnWmYGyJ.js → empty-state-VyFb4d0_.js} +1 -1
- package/dist/client/assets/{extract-connection-data-BksUB8IU.js → extract-connection-data-DV87vwuC.js} +1 -1
- package/dist/client/assets/{features-DbY_j0po.js → features-CKG88lyc.js} +1 -1
- package/dist/client/assets/{form-D7lwTpan.js → form-Crn7uG02.js} +1 -1
- package/dist/client/assets/{general-ClAAY_hM.js → general-DN5VLZqF.js} +1 -1
- package/dist/client/assets/{index-Cqw0FyHL.js → index-B3pJqV9Y.js} +2 -2
- package/dist/client/assets/{index-BHEM4T0P.js → index-B6JiqoZb.js} +1 -1
- package/dist/client/assets/index-B8vmm8Mh.js +1 -0
- package/dist/client/assets/{index-CKVeIfog.js → index-BAGdGx2X.js} +1 -1
- package/dist/client/assets/{index-BfFMVpP_.js → index-BQYge0uD.js} +1 -1
- package/dist/client/assets/{index-zf-rleQN.js → index-BUmhrApd.js} +15 -15
- package/dist/client/assets/{index-C_Adeshs.js → index-Bw6Vawnl.js} +1 -1
- package/dist/client/assets/{index-8uCGLU1q.js → index-C7apxcAd.js} +1 -1
- package/dist/client/assets/{index-BfFwypL5.js → index-CD0IZENy.js} +1 -1
- package/dist/client/assets/{index-DHwV9q9X.js → index-Cg6ppcFr.js} +1 -1
- package/dist/client/assets/{index-stoVKXMu.js → index-Crppsl-8.js} +1 -1
- package/dist/client/assets/{index-B7KZ-vdQ.js → index-DMLydKBU.js} +1 -1
- package/dist/client/assets/{index-DH_JeBfm.js → index-DPV7Oao4.js} +1 -1
- package/dist/client/assets/{index-DRij5nf9.js → index-DkUpgHdS.js} +1 -1
- package/dist/client/assets/{index-BT2v6iP4.js → index-Dql_sPLp.js} +1 -1
- package/dist/client/assets/{index-Eg0bSiJp.js → index-vUSuyfsm.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-DdGFkAXb.js → infiniteQueryObserver-FXpIkCb9.js} +1 -1
- package/dist/client/assets/{input-Co0HW9uN.js → input-DylFJb_s.js} +1 -1
- package/dist/client/assets/{integration-icon-DmwSpOA7.js → integration-icon-BrsREj94.js} +1 -1
- package/dist/client/assets/{label-CeKVWPbr.js → label-BMcf8C3G.js} +1 -1
- package/dist/client/assets/{layout-Tnq2i3zg.js → layout-Dp2Exmc7.js} +1 -1
- package/dist/client/assets/{lean-canvas-recruit-modal-BU3z415J.js → lean-canvas-recruit-modal-DrBzPrQ5.js} +1 -1
- package/dist/client/assets/{login-CWTb0-fH.js → login-B4OITSYv.js} +1 -1
- package/dist/client/assets/{members-Bj1Fn746.js → members-CyDwQ7ZL.js} +1 -1
- package/dist/client/assets/{monaco-editor-qXNTtuH2.js → monaco-editor-CQLG9APn.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-yM4e_YZD.js → monitoring-stats-row-Mv3iWLF5.js} +1 -1
- package/dist/client/assets/{oauth-callback-CdB6DJDA.js → oauth-callback-D86cP5gF.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-BgDs3na5.js → oauth-callback-ai-provider-B2xTvzHM.js} +1 -1
- package/dist/client/assets/{onboarding-DKG_eIr1.js → onboarding-BVoZJerk.js} +1 -1
- package/dist/client/assets/{org-layout-Dl85hYyi.js → org-layout-DvQadC0N.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-BjSThyiS.js → org-plugin-layout-CZcCVNv6.js} +1 -1
- package/dist/client/assets/{pair-1dEJPLek.js → pair-D0CyaFmX.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-Don4CmqW.js → plugin-empty-state-BYazHRIg.js} +1 -1
- package/dist/client/assets/{plugin-header-B8c9MPqH.js → plugin-header-BNYKRXC9.js} +1 -1
- package/dist/client/assets/{plugin-layout-Cl6_YUJ2.js → plugin-layout-BWoK3Wuc.js} +1 -1
- package/dist/client/assets/{popover-vkIPXKru.js → popover-CUnDbgJ2.js} +1 -1
- package/dist/client/assets/{profile-Biqh2ggJ.js → profile-CzybNlff.js} +1 -1
- package/dist/client/assets/{project-app-view-DSY0SCnx.js → project-app-view-CJwFT9Ix.js} +1 -1
- package/dist/client/assets/registry-Dfum406p.js +2 -0
- package/dist/client/assets/{registry-layout-BHVIlZsW.js → registry-layout-DRAqgrZS.js} +1 -1
- package/dist/client/assets/{required-auth-layout-1Kf8B8P9.js → required-auth-layout-BqWuvVf2.js} +1 -1
- package/dist/client/assets/{reset-password-CZU-BGGi.js → reset-password-kytluBmt.js} +1 -1
- package/dist/client/assets/{roles-V0vn58qZ.js → roles-Ds1RHbZR.js} +1 -1
- package/dist/client/assets/{scroll-area-BF4q7Ra2.js → scroll-area-3cZxZboM.js} +1 -1
- package/dist/client/assets/{search-input-VyjPISbx.js → search-input-BmVPc4RV.js} +1 -1
- package/dist/client/assets/{select-rxK-8b1N.js → select-FyLwzc48.js} +1 -1
- package/dist/client/assets/{select-model-CGzdU4-Q.js → select-model-67avCsXE.js} +1 -1
- package/dist/client/assets/{settings-layout-Bc0g8WOL.js → settings-layout-BqPzbZI_.js} +1 -1
- package/dist/client/assets/{settings-section-BsEmPevi.js → settings-section-XEp6UNJA.js} +1 -1
- package/dist/client/assets/{shell-layout-BhC55LLx.js → shell-layout-BiL6-6W9.js} +1 -1
- package/dist/client/assets/{skeleton-y3O4xgdS.js → skeleton-BWYBZf7m.js} +1 -1
- package/dist/client/assets/{sso-Di8r0acw.js → sso-CuSDTfdG.js} +1 -1
- package/dist/client/assets/{store-B9Zqk-bV.js → store-CHGpyb-m.js} +1 -1
- package/dist/client/assets/store-registry-BtOOqHJ7.js +2 -0
- package/dist/client/assets/{switch-QErK7wwO.js → switch-BL_ICveF.js} +1 -1
- package/dist/client/assets/{table-CdyHz2p3.js → table-Cri7VAeb.js} +1 -1
- package/dist/client/assets/{tabs-CMFQWy73.js → tabs-DGNL4gIl.js} +1 -1
- package/dist/client/assets/{task-status-D0-O3Mr3.js → task-status-BsVHYvla.js} +1 -1
- package/dist/client/assets/{textarea-CxEqGfix.js → textarea-B1YgZKSW.js} +1 -1
- package/dist/client/assets/{toggle-group-AZijjpe8.js → toggle-group-cD20__YI.js} +1 -1
- package/dist/client/assets/{tools-list-DjWGeJBp.js → tools-list-B1QLvdRl.js} +1 -1
- package/dist/client/assets/{tooltip-D_3qm7UK.js → tooltip-DZIo6YZX.js} +1 -1
- package/dist/client/assets/{types-D1Wl9DNB.js → types-PzC3rVhv.js} +1 -1
- package/dist/client/assets/{use-ai-providers-Cah1GZeX.js → use-ai-providers-Dsmx4U8L.js} +1 -1
- package/dist/client/assets/{use-collections-DrmuHy93.js → use-collections-DcamXjGg.js} +1 -1
- package/dist/client/assets/{use-connection-CyjN1GtI.js → use-connection-CesZaYzK.js} +1 -1
- package/dist/client/assets/{use-copy-SV4GW98D.js → use-copy-Chq89Uhn.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-Y9XZZ8XI.js → use-create-virtual-mcp-B0T0urBu.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-Drlt36bF.js → use-decopilot-events-BCUB3DhH.js} +1 -1
- package/dist/client/assets/{use-delete-connection-B955BI0e.js → use-delete-connection-CqpWV7PJ.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-BRF66BxZ.js → use-infinite-scroll-D6FvdXof.js} +1 -1
- package/dist/client/assets/{use-list-state-C6Di0aCP.js → use-list-state-D_NiaDpI.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-DyKI35iZ.js → use-mcp-tools-oIEGFyCT.js} +1 -1
- package/dist/client/assets/{use-members-mnYCaL5_.js → use-members-C3jq0flu.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-DrWD9J71.js → use-navigate-to-agent-DNFfIi8H.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-HeIerkrz.js → use-org-auth-client-BniQTMze.js} +1 -1
- package/dist/client/assets/{use-org-sso-BuTv1ygf.js → use-org-sso-SjyAvOWA.js} +1 -1
- package/dist/client/assets/{use-organization-roles-ChLRcseg.js → use-organization-roles-CLHZHSel.js} +1 -1
- package/dist/client/assets/{use-organization-settings-EfxM66aZ.js → use-organization-settings-C8pMgrh-.js} +1 -1
- package/dist/client/assets/{use-registry-connections-fltIDY82.js → use-registry-connections-CPKTZHrX.js} +1 -1
- package/dist/client/assets/{use-status-sounds-BRxCV6Ea.js → use-status-sounds-BYyaVEdO.js} +1 -1
- package/dist/client/assets/{use-tasks-DEh_VRON.js → use-tasks-D-yLjF43.js} +1 -1
- package/dist/client/assets/{use-view-mode-B3nY15Yz.js → use-view-mode-C06qcP9p.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-Bb04Uah7.js → use-virtual-mcp-CEUQCho1.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-ANrroW8x.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-CgFHp-eh.js +1 -0
- package/dist/client/assets/{user-ClafvvGL.js → user-DlFqYjZ6.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-Im7J4smk.js → view-mode-toggle-CiYPbOW7.js} +1 -1
- package/dist/client/assets/{workflow-u6doascD.js → workflow-CYF9ayPN.js} +1 -1
- package/dist/client/assets/workflow-detail-DVsv_zWc.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +1 -1
- package/dist/server/node_modules/get-east-asian-width/index.d.ts +60 -0
- package/dist/server/node_modules/get-east-asian-width/index.js +30 -0
- package/dist/server/node_modules/get-east-asian-width/lookup-data.js +18 -0
- package/dist/server/node_modules/get-east-asian-width/lookup.js +135 -0
- package/dist/server/node_modules/get-east-asian-width/package.json +71 -0
- package/dist/server/node_modules/get-east-asian-width/readme.md +65 -0
- package/dist/server/node_modules/get-east-asian-width/utilities.js +24 -0
- package/dist/server/node_modules/mimic-fn/index.d.ts +54 -0
- package/dist/server/node_modules/mimic-fn/index.js +13 -0
- package/dist/server/node_modules/mimic-fn/package.json +42 -0
- package/dist/server/node_modules/mimic-fn/readme.md +69 -0
- package/dist/server/node_modules/pg/README.md +95 -0
- package/dist/server/node_modules/pg/esm/index.mjs +20 -0
- package/dist/server/node_modules/pg/lib/client.js +743 -0
- package/dist/server/node_modules/pg/lib/connection-parameters.js +171 -0
- package/dist/server/node_modules/pg/lib/connection.js +221 -0
- package/dist/server/node_modules/pg/lib/crypto/cert-signatures.js +122 -0
- package/dist/server/node_modules/pg/lib/crypto/sasl.js +212 -0
- package/dist/server/node_modules/pg/lib/crypto/utils-legacy.js +43 -0
- package/dist/server/node_modules/pg/lib/crypto/utils-webcrypto.js +89 -0
- package/dist/server/node_modules/pg/lib/crypto/utils.js +9 -0
- package/dist/server/node_modules/pg/lib/defaults.js +91 -0
- package/dist/server/node_modules/pg/lib/index.js +73 -0
- package/dist/server/node_modules/pg/lib/native/client.js +323 -0
- package/dist/server/node_modules/pg/lib/native/index.js +2 -0
- package/dist/server/node_modules/pg/lib/native/query.js +165 -0
- package/dist/server/node_modules/pg/lib/query.js +252 -0
- package/dist/server/node_modules/pg/lib/result.js +109 -0
- package/dist/server/node_modules/pg/lib/stream.js +83 -0
- package/dist/server/node_modules/pg/lib/type-overrides.js +35 -0
- package/dist/server/node_modules/pg/lib/utils.js +217 -0
- package/dist/server/node_modules/pg/package.json +76 -0
- package/dist/server/node_modules/strip-ansi/index.d.ts +15 -0
- package/dist/server/node_modules/strip-ansi/index.js +19 -0
- package/dist/server/node_modules/{ansi-regex → strip-ansi}/package.json +18 -20
- package/dist/server/node_modules/strip-ansi/readme.md +37 -0
- package/package.json +1 -1
- package/dist/client/assets/ai-providers-BnFAoUUB.js +0 -1
- package/dist/client/assets/index-1cERBOeE.js +0 -1
- package/dist/client/assets/registry-B4DkMjbe.js +0 -2
- package/dist/client/assets/store-registry-RqxELDy6.js +0 -2
- package/dist/client/assets/useInfiniteQuery-CY4tnydB.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-BFpIngH9.js +0 -1
- package/dist/client/assets/workflow-detail-Cr5QMF9R.js +0 -1
- package/dist/server/node_modules/ansi-regex/index.d.ts +0 -33
- package/dist/server/node_modules/ansi-regex/index.js +0 -14
- package/dist/server/node_modules/ansi-regex/readme.md +0 -66
- package/dist/server/node_modules/ansi-styles/index.d.ts +0 -236
- package/dist/server/node_modules/ansi-styles/index.js +0 -223
- package/dist/server/node_modules/ansi-styles/package.json +0 -54
- package/dist/server/node_modules/ansi-styles/readme.md +0 -173
- package/dist/server/node_modules/convert-to-spaces/dist/index.d.ts +0 -2
- package/dist/server/node_modules/convert-to-spaces/dist/index.js +0 -4
- package/dist/server/node_modules/convert-to-spaces/license +0 -21
- package/dist/server/node_modules/convert-to-spaces/package.json +0 -40
- package/dist/server/node_modules/convert-to-spaces/readme.md +0 -39
- package/dist/server/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
- package/dist/server/node_modules/emoji-regex/README.md +0 -107
- package/dist/server/node_modules/emoji-regex/index.d.ts +0 -3
- package/dist/server/node_modules/emoji-regex/index.js +0 -4
- package/dist/server/node_modules/emoji-regex/index.mjs +0 -4
- package/dist/server/node_modules/emoji-regex/package.json +0 -45
- package/dist/server/node_modules/environment/index.d.ts +0 -74
- package/dist/server/node_modules/environment/index.js +0 -47
- package/dist/server/node_modules/environment/license +0 -9
- package/dist/server/node_modules/environment/package.json +0 -74
- package/dist/server/node_modules/environment/readme.md +0 -94
- package/dist/server/node_modules/escape-string-regexp/index.d.ts +0 -18
- package/dist/server/node_modules/escape-string-regexp/index.js +0 -11
- package/dist/server/node_modules/escape-string-regexp/package.json +0 -43
- package/dist/server/node_modules/escape-string-regexp/readme.md +0 -29
- package/dist/server/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
- package/dist/server/node_modules/is-fullwidth-code-point/index.js +0 -12
- package/dist/server/node_modules/is-fullwidth-code-point/license +0 -9
- package/dist/server/node_modules/is-fullwidth-code-point/package.json +0 -53
- package/dist/server/node_modules/is-fullwidth-code-point/readme.md +0 -31
- package/dist/server/node_modules/pg-cloudflare/README.md +0 -112
- package/dist/server/node_modules/pg-cloudflare/dist/empty.d.ts +0 -2
- package/dist/server/node_modules/pg-cloudflare/dist/empty.js +0 -6
- package/dist/server/node_modules/pg-cloudflare/dist/empty.js.map +0 -1
- package/dist/server/node_modules/pg-cloudflare/dist/index.d.ts +0 -31
- package/dist/server/node_modules/pg-cloudflare/dist/index.js +0 -152
- package/dist/server/node_modules/pg-cloudflare/dist/index.js.map +0 -1
- package/dist/server/node_modules/pg-cloudflare/esm/index.mjs +0 -3
- package/dist/server/node_modules/pg-cloudflare/package.json +0 -39
- package/dist/server/node_modules/pg-cloudflare/src/empty.ts +0 -3
- package/dist/server/node_modules/pg-cloudflare/src/index.ts +0 -166
- package/dist/server/node_modules/pg-cloudflare/src/types.d.ts +0 -25
- package/dist/server/node_modules/pg-connection-string/LICENSE +0 -21
- package/dist/server/node_modules/pg-connection-string/README.md +0 -105
- package/dist/server/node_modules/pg-connection-string/esm/index.mjs +0 -8
- package/dist/server/node_modules/pg-connection-string/index.d.ts +0 -36
- package/dist/server/node_modules/pg-connection-string/index.js +0 -231
- package/dist/server/node_modules/pg-connection-string/package.json +0 -52
- 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/pg-pool/LICENSE +0 -21
- package/dist/server/node_modules/pg-pool/README.md +0 -357
- package/dist/server/node_modules/pg-pool/esm/index.mjs +0 -5
- package/dist/server/node_modules/pg-pool/index.js +0 -517
- package/dist/server/node_modules/pg-pool/package.json +0 -51
- package/dist/server/node_modules/pg-protocol/LICENSE +0 -21
- package/dist/server/node_modules/pg-protocol/README.md +0 -3
- package/dist/server/node_modules/pg-protocol/dist/b.d.ts +0 -1
- package/dist/server/node_modules/pg-protocol/dist/b.js +0 -23
- package/dist/server/node_modules/pg-protocol/dist/b.js.map +0 -1
- package/dist/server/node_modules/pg-protocol/dist/buffer-reader.d.ts +0 -15
- package/dist/server/node_modules/pg-protocol/dist/buffer-reader.js +0 -55
- package/dist/server/node_modules/pg-protocol/dist/buffer-reader.js.map +0 -1
- package/dist/server/node_modules/pg-protocol/dist/buffer-writer.d.ts +0 -16
- package/dist/server/node_modules/pg-protocol/dist/buffer-writer.js +0 -81
- package/dist/server/node_modules/pg-protocol/dist/buffer-writer.js.map +0 -1
- package/dist/server/node_modules/pg-protocol/dist/inbound-parser.test.d.ts +0 -1
- package/dist/server/node_modules/pg-protocol/dist/inbound-parser.test.js +0 -530
- package/dist/server/node_modules/pg-protocol/dist/inbound-parser.test.js.map +0 -1
- package/dist/server/node_modules/pg-protocol/dist/index.d.ts +0 -6
- package/dist/server/node_modules/pg-protocol/dist/index.js +0 -15
- package/dist/server/node_modules/pg-protocol/dist/index.js.map +0 -1
- package/dist/server/node_modules/pg-protocol/dist/messages.d.ts +0 -162
- package/dist/server/node_modules/pg-protocol/dist/messages.js +0 -160
- package/dist/server/node_modules/pg-protocol/dist/messages.js.map +0 -1
- package/dist/server/node_modules/pg-protocol/dist/outbound-serializer.test.d.ts +0 -1
- package/dist/server/node_modules/pg-protocol/dist/outbound-serializer.test.js +0 -252
- package/dist/server/node_modules/pg-protocol/dist/outbound-serializer.test.js.map +0 -1
- package/dist/server/node_modules/pg-protocol/dist/parser.d.ts +0 -24
- package/dist/server/node_modules/pg-protocol/dist/parser.js +0 -324
- package/dist/server/node_modules/pg-protocol/dist/parser.js.map +0 -1
- package/dist/server/node_modules/pg-protocol/dist/serializer.d.ts +0 -42
- package/dist/server/node_modules/pg-protocol/dist/serializer.js +0 -189
- package/dist/server/node_modules/pg-protocol/dist/serializer.js.map +0 -1
- package/dist/server/node_modules/pg-protocol/esm/index.js +0 -11
- package/dist/server/node_modules/pg-protocol/package.json +0 -45
- package/dist/server/node_modules/pg-protocol/src/b.ts +0 -25
- package/dist/server/node_modules/pg-protocol/src/buffer-reader.ts +0 -58
- package/dist/server/node_modules/pg-protocol/src/buffer-writer.ts +0 -85
- package/dist/server/node_modules/pg-protocol/src/inbound-parser.test.ts +0 -575
- package/dist/server/node_modules/pg-protocol/src/index.ts +0 -11
- package/dist/server/node_modules/pg-protocol/src/messages.ts +0 -262
- package/dist/server/node_modules/pg-protocol/src/outbound-serializer.test.ts +0 -276
- package/dist/server/node_modules/pg-protocol/src/parser.ts +0 -413
- package/dist/server/node_modules/pg-protocol/src/serializer.ts +0 -274
- package/dist/server/node_modules/pg-protocol/src/testing/buffer-list.ts +0 -67
- package/dist/server/node_modules/pg-protocol/src/testing/test-buffers.ts +0 -166
- package/dist/server/node_modules/pg-protocol/src/types/chunky.d.ts +0 -1
- package/dist/server/node_modules/pg-types/.travis.yml +0 -7
- package/dist/server/node_modules/pg-types/Makefile +0 -14
- package/dist/server/node_modules/pg-types/README.md +0 -75
- package/dist/server/node_modules/pg-types/index.d.ts +0 -137
- package/dist/server/node_modules/pg-types/index.js +0 -47
- package/dist/server/node_modules/pg-types/index.test-d.ts +0 -21
- package/dist/server/node_modules/pg-types/lib/arrayParser.js +0 -11
- package/dist/server/node_modules/pg-types/lib/binaryParsers.js +0 -257
- package/dist/server/node_modules/pg-types/lib/builtins.js +0 -73
- package/dist/server/node_modules/pg-types/lib/textParsers.js +0 -215
- package/dist/server/node_modules/pg-types/package.json +0 -42
- package/dist/server/node_modules/pg-types/test/index.js +0 -24
- package/dist/server/node_modules/pg-types/test/types.js +0 -597
- package/dist/server/node_modules/pgpass/README.md +0 -74
- package/dist/server/node_modules/pgpass/lib/helper.js +0 -233
- package/dist/server/node_modules/pgpass/lib/index.js +0 -23
- package/dist/server/node_modules/pgpass/package.json +0 -41
- 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/license +0 -21
- 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-interval/index.d.ts +0 -20
- package/dist/server/node_modules/postgres-interval/index.js +0 -125
- package/dist/server/node_modules/postgres-interval/license +0 -21
- 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/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
- /package/dist/server/node_modules/{ansi-regex → get-east-asian-width}/license +0 -0
- /package/dist/server/node_modules/{escape-string-regexp → mimic-fn}/license +0 -0
- /package/dist/server/node_modules/{pg-cloudflare → pg}/LICENSE +0 -0
- /package/dist/server/node_modules/{ansi-styles → strip-ansi}/license +0 -0
|
@@ -1,223 +0,0 @@
|
|
|
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,54 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
# ansi-styles
|
|
2
|
-
|
|
3
|
-
> [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles) for styling strings in the terminal
|
|
4
|
-
|
|
5
|
-
You probably want the higher-level [chalk](https://github.com/chalk/chalk) module for styling your strings.
|
|
6
|
-
|
|
7
|
-

|
|
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,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) Vadim Demedes <vdemedes@gmail.com> (https://vadimdemedes.com)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|
|
@@ -1,40 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
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.
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
Copyright Mathias Bynens <https://mathiasbynens.be/>
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
-
a copy of this software and associated documentation files (the
|
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
-
the following conditions:
|
|
10
|
-
|
|
11
|
-
The above copyright notice and this permission notice shall be
|
|
12
|
-
included in all copies or substantial portions of the Software.
|
|
13
|
-
|
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
# emoji-regex [](https://github.com/mathiasbynens/emoji-regex/actions/workflows/main.yml) [](https://www.npmjs.com/package/emoji-regex)
|
|
2
|
-
|
|
3
|
-
_emoji-regex_ offers a regular expression to match all emoji symbols and sequences (including textual representations of emoji) as per the Unicode Standard. It’s based on [_emoji-test-regex-pattern_](https://github.com/mathiasbynens/emoji-test-regex-pattern), which generates (at build time) the regular expression pattern based on the Unicode Standard. As a result, _emoji-regex_ can easily be updated whenever new emoji are added to Unicode.
|
|
4
|
-
|
|
5
|
-
Since each version of _emoji-regex_ is tied to the latest Unicode version at the time of release, results are deterministic. This is important for use cases like image replacement, where you want to guarantee that an image asset is available for every possibly matched emoji. If you don’t need a deterministic regex, a lighter-weight, general emoji pattern is available via the [_emoji-regex-xs_](https://github.com/slevithan/emoji-regex-xs) package that follows the same API.
|
|
6
|
-
|
|
7
|
-
## Installation
|
|
8
|
-
|
|
9
|
-
Via [npm](https://www.npmjs.com/):
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
npm install emoji-regex
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
In [Node.js](https://nodejs.org/):
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
const emojiRegex = require('emoji-regex');
|
|
19
|
-
// Note: because the regular expression has the global flag set, this module
|
|
20
|
-
// exports a function that returns the regex rather than exporting the regular
|
|
21
|
-
// expression itself, to make it impossible to (accidentally) mutate the
|
|
22
|
-
// original regular expression.
|
|
23
|
-
|
|
24
|
-
const text = `
|
|
25
|
-
\u{231A}: ⌚ default emoji presentation character (Emoji_Presentation)
|
|
26
|
-
\u{2194}\u{FE0F}: ↔️ default text presentation character rendered as emoji
|
|
27
|
-
\u{1F469}: 👩 emoji modifier base (Emoji_Modifier_Base)
|
|
28
|
-
\u{1F469}\u{1F3FF}: 👩🏿 emoji modifier base followed by a modifier
|
|
29
|
-
`;
|
|
30
|
-
|
|
31
|
-
const regex = emojiRegex();
|
|
32
|
-
for (const match of text.matchAll(regex)) {
|
|
33
|
-
const emoji = match[0];
|
|
34
|
-
console.log(`Matched sequence ${ emoji } — code points: ${ [...emoji].length }`);
|
|
35
|
-
}
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
Console output:
|
|
39
|
-
|
|
40
|
-
```
|
|
41
|
-
Matched sequence ⌚ — code points: 1
|
|
42
|
-
Matched sequence ⌚ — code points: 1
|
|
43
|
-
Matched sequence ↔️ — code points: 2
|
|
44
|
-
Matched sequence ↔️ — code points: 2
|
|
45
|
-
Matched sequence 👩 — code points: 1
|
|
46
|
-
Matched sequence 👩 — code points: 1
|
|
47
|
-
Matched sequence 👩🏿 — code points: 2
|
|
48
|
-
Matched sequence 👩🏿 — code points: 2
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
## For maintainers
|
|
52
|
-
|
|
53
|
-
### How to update emoji-regex after new Unicode Standard releases
|
|
54
|
-
|
|
55
|
-
1. [Update _emoji-test-regex-pattern_ as described in its repository](https://github.com/mathiasbynens/emoji-test-regex-pattern#how-to-update-emoji-test-regex-pattern-after-new-uts51-releases).
|
|
56
|
-
|
|
57
|
-
1. Bump the _emoji-test-regex-pattern_ dependency to the latest version.
|
|
58
|
-
|
|
59
|
-
1. Update the Unicode data dependency in `package.json` by running the following commands:
|
|
60
|
-
|
|
61
|
-
```sh
|
|
62
|
-
# Example: updating from Unicode v13 to Unicode v14.
|
|
63
|
-
npm uninstall @unicode/unicode-13.0.0
|
|
64
|
-
npm install @unicode/unicode-14.0.0 --save-dev
|
|
65
|
-
````
|
|
66
|
-
|
|
67
|
-
1. Generate the new output:
|
|
68
|
-
|
|
69
|
-
```sh
|
|
70
|
-
npm run build
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
1. Verify that tests still pass:
|
|
74
|
-
|
|
75
|
-
```sh
|
|
76
|
-
npm test
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
### How to publish a new release
|
|
80
|
-
|
|
81
|
-
1. On the `main` branch, bump the emoji-regex version number in `package.json`:
|
|
82
|
-
|
|
83
|
-
```sh
|
|
84
|
-
npm version patch -m 'Release v%s'
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
Instead of `patch`, use `minor` or `major` [as needed](https://semver.org/).
|
|
88
|
-
|
|
89
|
-
Note that this produces a Git commit + tag.
|
|
90
|
-
|
|
91
|
-
1. Push the release commit and tag:
|
|
92
|
-
|
|
93
|
-
```sh
|
|
94
|
-
git push && git push --tags
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
Our CI then automatically publishes the new release to npm.
|
|
98
|
-
|
|
99
|
-
## Author
|
|
100
|
-
|
|
101
|
-
| [](https://twitter.com/mathias "Follow @mathias on Twitter") |
|
|
102
|
-
|---|
|
|
103
|
-
| [Mathias Bynens](https://mathiasbynens.be/) |
|
|
104
|
-
|
|
105
|
-
## License
|
|
106
|
-
|
|
107
|
-
_emoji-regex_ is available under the [MIT](https://mths.be/mit) license.
|