decocms 2.309.0 → 2.310.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{AlertCircle-DfpOj9uk.js → AlertCircle-Cty0PLzG.js} +1 -1
- package/dist/client/assets/{ArrowNarrowLeft-CGsSFJZH.js → ArrowNarrowLeft-GsAWuH-U.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-DtiNC8xj.js → ArrowUpRight-Ck_tkMu3.js} +1 -1
- package/dist/client/assets/{Check-DXPBjwC9.js → Check-3abToiit.js} +1 -1
- package/dist/client/assets/{CheckCircle-DenvulPR.js → CheckCircle-gN0xOzFk.js} +1 -1
- package/dist/client/assets/{ChevronDown-BzUdsdeu.js → ChevronDown-Du1srzFH.js} +1 -1
- package/dist/client/assets/{ChevronRight-8RBDSI4c.js → ChevronRight-CZd3BLjH.js} +1 -1
- package/dist/client/assets/{ChevronUp-CkOPdM7g.js → ChevronUp-CgHHKXV-.js} +1 -1
- package/dist/client/assets/{Container-B2b9FJMR.js → Container-DV6TDqni.js} +1 -1
- package/dist/client/assets/{DotsVertical-CCxgBVsk.js → DotsVertical-D7_daHaX.js} +1 -1
- package/dist/client/assets/{LinkExternal01-C_eUHFUm.js → LinkExternal01-CLwRaqiP.js} +1 -1
- package/dist/client/assets/{Lock01-SmEMRGOb.js → Lock01-DW1KfF8p.js} +1 -1
- package/dist/client/assets/{Palette-qMNBtXtx.js → Palette-DgoZ3R-C.js} +1 -1
- package/dist/client/assets/{Play-DmVY8R1A.js → Play-ZbM8yAk4.js} +1 -1
- package/dist/client/assets/{Plus-B19lTgl_.js → Plus-xUHEWwhK.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-DDZo1WKt.js → RefreshCcw01-DOURBTJB.js} +1 -1
- package/dist/client/assets/{SearchMd-BvQQOrkm.js → SearchMd-D05lbITN.js} +1 -1
- package/dist/client/assets/{Settings02-CYadYmOF.js → Settings02-YbowrI3C.js} +1 -1
- package/dist/client/assets/{Shield01-GS3q0eea.js → Shield01-C9nMXmPC.js} +1 -1
- package/dist/client/assets/{Star01-BM8AlGEC.js → Star01-Dcuqy8Xk.js} +1 -1
- package/dist/client/assets/{Sun-B2OKfrtR.js → Sun-s1inzqGI.js} +1 -1
- package/dist/client/assets/{Tool01-CIMPkAjR.js → Tool01-BxwtRzVa.js} +1 -1
- package/dist/client/assets/{Trash01-4PBXkXRo.js → Trash01-Bgq8zueU.js} +1 -1
- package/dist/client/assets/{User01-nh8Rby1P.js → User01-C3dKJDdx.js} +1 -1
- package/dist/client/assets/{Users03-CItFKGX1.js → Users03-DBewd1K5.js} +1 -1
- package/dist/client/assets/{X-CGShNfee.js → X-BANQifhl.js} +1 -1
- package/dist/client/assets/{XCircle-CTrtJtfR.js → XCircle-BOat1iVu.js} +1 -1
- package/dist/client/assets/{XClose-BnCJyyB-.js → XClose-B0qkWAhQ.js} +1 -1
- package/dist/client/assets/{Zap-D7WiwjAV.js → Zap-Cq3RtLSB.js} +1 -1
- package/dist/client/assets/{ZapSquare-DhbSIk6a.js → ZapSquare-BajF09ms.js} +1 -1
- package/dist/client/assets/{accordion-CgT_Vu18.js → accordion-Bm-v7xME.js} +1 -1
- package/dist/client/assets/{agent-icon-GBX3RKid.js → agent-icon-SBMo6sYE.js} +1 -1
- package/dist/client/assets/{agents-list--TECSTo0.js → agents-list-GJhbrN0t.js} +1 -1
- package/dist/client/assets/ai-providers-CGGe3rZi.js +1 -0
- package/dist/client/assets/{alert-dialog-CZ6BxFHK.js → alert-dialog-Bht5ffLL.js} +1 -1
- package/dist/client/assets/{auth-catchall-CzFa67HB.js → auth-catchall-BywQWWLa.js} +1 -1
- package/dist/client/assets/{automation-list-row-DC7TfwMb.js → automation-list-row-Bf0t7EtN.js} +1 -1
- package/dist/client/assets/{automations-DPy2yPJ7.js → automations-TTGgZ4_x.js} +1 -1
- package/dist/client/assets/{avatar-BbisflHp.js → avatar-C0tjLWvd.js} +1 -1
- package/dist/client/assets/{badge-B32WzuEH.js → badge-CETVYtBV.js} +1 -1
- package/dist/client/assets/{brand-context-CNm1jHaQ.js → brand-context-BYQ1b567.js} +1 -1
- package/dist/client/assets/{card-DdVfFEw2.js → card-CGYKd1RQ.js} +1 -1
- package/dist/client/assets/{chat-context-BnJMVusJ.js → chat-context-CNhlOw91.js} +1 -1
- package/dist/client/assets/{checkbox-BJiR6nKO.js → checkbox-GOJe-fLe.js} +1 -1
- package/dist/client/assets/{collection-detail-tyzI1jcV.js → collection-detail-D2LL1NRS.js} +1 -1
- package/dist/client/assets/{collection-display-button-Tq0uOlxA.js → collection-display-button-D33z-MiQ.js} +1 -1
- package/dist/client/assets/{collection-search-BBFkmets.js → collection-search-DKsJLeUf.js} +1 -1
- package/dist/client/assets/{collection-search-D62A0L7U.js → collection-search-pRmMMUTu.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-CjFwfKJr.js → collection-table-wrapper-DkvuPVRT.js} +1 -1
- package/dist/client/assets/{collection-tabs--b599n6J.js → collection-tabs-Dm7Azh1U.js} +1 -1
- package/dist/client/assets/{collections-C5AWnYf0.js → collections-CRk11Z8a.js} +1 -1
- package/dist/client/assets/{command-DK-j4arJ.js → command-BUpWRvBK.js} +1 -1
- package/dist/client/assets/{connection-card--P5ycKzL.js → connection-card-D9OhH-Fq.js} +1 -1
- package/dist/client/assets/{connection-detail-CUNWcOPp.js → connection-detail-CQU5Tvmh.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-BeJI6IBg.js → connection-form-helpers-D1bN8HX-.js} +1 -1
- package/dist/client/assets/{connections-DWQtsigZ.js → connections-CgifR5uL.js} +1 -1
- package/dist/client/assets/{constants-CnfWGYKH.js → constants-BCHiURE4.js} +1 -1
- package/dist/client/assets/{constants-sHQufsXI.js → constants-Cp5N7awu.js} +1 -1
- package/dist/client/assets/{dialog-BZytMGON.js → dialog-C67OG62k.js} +1 -1
- package/dist/client/assets/{domain-settings-bUM7Hn2b.js → domain-settings-tkR1Nxgx.js} +1 -1
- package/dist/client/assets/{drawer-D-6kJz55.js → drawer-dxlczq_i.js} +1 -1
- package/dist/client/assets/{dropdown-menu-BpdWPWdq.js → dropdown-menu-CW5XsoI8.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-CZeZv3Kn.js → dynamic-plugin-layout-tEvbHH60.js} +1 -1
- package/dist/client/assets/{empty-state-BQISF-I3.js → empty-state-Ci5HFdKD.js} +1 -1
- package/dist/client/assets/{empty-state-DuLPP0P_.js → empty-state-CmG4puLG.js} +1 -1
- package/dist/client/assets/{extract-connection-data-Bj_pawjK.js → extract-connection-data-hFQpz6Ey.js} +1 -1
- package/dist/client/assets/{features-92AWt8WI.js → features-BVz7FR1H.js} +1 -1
- package/dist/client/assets/{form-Bi1l8-LL.js → form-DPfW-AID.js} +1 -1
- package/dist/client/assets/{general-CJgzv-Wx.js → general-CU3b0SfV.js} +1 -1
- package/dist/client/assets/{index-YDo551Ci.js → index-BFPJC5eE.js} +1 -1
- package/dist/client/assets/{index-gC4su7X_.js → index-C9J0IAed.js} +1 -1
- package/dist/client/assets/{index-Dr1V1Dds.js → index-CKp44BR_.js} +1 -1
- package/dist/client/assets/{index-BheN5Hjz.js → index-CMBuSnHj.js} +1 -1
- package/dist/client/assets/{index-CzZgNQPp.js → index-COeQARzy.js} +1 -1
- package/dist/client/assets/{index-R0jE9KSj.js → index-Cg8Nu4CY.js} +3 -3
- package/dist/client/assets/{index-C39RwBnQ.js → index-ClSJa_a-.js} +1 -1
- package/dist/client/assets/{index-BydJ2WUR.js → index-DGiQyM9G.js} +1 -1
- package/dist/client/assets/index-DP8Jy3jt.js +1 -0
- package/dist/client/assets/{index--ghksYAo.js → index-DS-a6wyz.js} +1 -1
- package/dist/client/assets/{index-C03HvIgQ.js → index-Ddo0iMq6.js} +1 -1
- package/dist/client/assets/{index-DSzBgSpo.js → index-HbxcCsnZ.js} +1 -1
- package/dist/client/assets/{index-CE54Jnz-.js → index-QuRKY5U6.js} +1 -1
- package/dist/client/assets/{index-Cbpr6CGx.js → index-akTmUiSO.js} +1 -1
- package/dist/client/assets/{index-BFIwa8W4.js → index-e7eEqZQD.js} +2 -2
- package/dist/client/assets/{index-BgSyGi69.js → index-hiuu-64i.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-NmUU_rOy.js → infiniteQueryObserver-CHiY1NnZ.js} +1 -1
- package/dist/client/assets/{input-C66FZPPf.js → input-B8x8lV8_.js} +1 -1
- package/dist/client/assets/{integration-icon-fPkSifk0.js → integration-icon-Bfmqyrf_.js} +1 -1
- package/dist/client/assets/{label-BMe1SNEP.js → label-BU7N79Fq.js} +1 -1
- package/dist/client/assets/{layout-DbOAzt16.js → layout-Dnq67rSm.js} +1 -1
- package/dist/client/assets/{lean-canvas-recruit-modal-BP1iZHjy.js → lean-canvas-recruit-modal-C70LSjWJ.js} +1 -1
- package/dist/client/assets/{login-CRXuvxd9.js → login-_Q9L7mst.js} +1 -1
- package/dist/client/assets/{members-BwleeoVp.js → members-D-VFZlys.js} +1 -1
- package/dist/client/assets/{monaco-editor-C457mqYB.js → monaco-editor-BXyi5viY.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-DKl9Ubde.js → monitoring-stats-row-CEoUxcHm.js} +1 -1
- package/dist/client/assets/{oauth-callback-1dC9VVpc.js → oauth-callback-B5dtt4y6.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-BGY5Uat_.js → oauth-callback-ai-provider-Cc_nFPdq.js} +1 -1
- package/dist/client/assets/{onboarding-C1bM-up9.js → onboarding-uWZePAti.js} +1 -1
- package/dist/client/assets/{org-layout-Cll4mSr3.js → org-layout-BK5cWTcx.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-qjkMXyOy.js → org-plugin-layout-C0ezKAgt.js} +1 -1
- package/dist/client/assets/{pair-Bl_sqsCX.js → pair-BTwp6bTc.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-DCQUcDfK.js → plugin-empty-state-CjfGiA5F.js} +1 -1
- package/dist/client/assets/{plugin-header-Deqthnjp.js → plugin-header-D9DU3BMG.js} +1 -1
- package/dist/client/assets/{plugin-layout-m0OkUjnq.js → plugin-layout-DSjok7-L.js} +1 -1
- package/dist/client/assets/{popover-DIqVWKAH.js → popover-3D5jsJh1.js} +1 -1
- package/dist/client/assets/{profile-Ck6jHCNy.js → profile-BdmoV93F.js} +1 -1
- package/dist/client/assets/{project-app-view-D--E6naM.js → project-app-view-CmNwDiw0.js} +1 -1
- package/dist/client/assets/registry-C8zMtgwr.js +2 -0
- package/dist/client/assets/{registry-layout-BaLlt8iJ.js → registry-layout-xyKYdVRG.js} +1 -1
- package/dist/client/assets/{required-auth-layout-4lbvRXP9.js → required-auth-layout-W0nsPTz2.js} +1 -1
- package/dist/client/assets/{reset-password-E281j__o.js → reset-password-BVEdYLL2.js} +1 -1
- package/dist/client/assets/{roles-CG_umLTJ.js → roles-CtNr9Xv_.js} +1 -1
- package/dist/client/assets/{scroll-area-Dpf0WEDP.js → scroll-area-D71z0--k.js} +1 -1
- package/dist/client/assets/{search-input-BcoDzgCL.js → search-input-C1sIJN1c.js} +1 -1
- package/dist/client/assets/{select-CsQfJ0qv.js → select-mWz1b_ZH.js} +1 -1
- package/dist/client/assets/{select-model-Vwe69qWq.js → select-model-tmulvVLX.js} +1 -1
- package/dist/client/assets/{settings-layout-Cw1Oq9lP.js → settings-layout-BqXIUoEI.js} +1 -1
- package/dist/client/assets/{settings-section-Bcn_yZSc.js → settings-section-OvOVUTcw.js} +1 -1
- package/dist/client/assets/{shell-layout-BQPFdNnv.js → shell-layout-5NI7-V2p.js} +1 -1
- package/dist/client/assets/{skeleton-DFE9g6JF.js → skeleton-Bq5_S0j2.js} +1 -1
- package/dist/client/assets/{sso-DFJ1V_Eq.js → sso-CbTsdhS9.js} +1 -1
- package/dist/client/assets/{store-BupAo568.js → store-Dfk_RNXS.js} +1 -1
- package/dist/client/assets/store-registry-Cc1z30ih.js +2 -0
- package/dist/client/assets/{switch-B9pehtZv.js → switch-KcpCgqTm.js} +1 -1
- package/dist/client/assets/{table-CvhbCrhO.js → table-Dcu4orQb.js} +1 -1
- package/dist/client/assets/{tabs-Dxl_bMcE.js → tabs-yr1sdiKv.js} +1 -1
- package/dist/client/assets/{task-status-BWs0NSVc.js → task-status-feSWSO3m.js} +1 -1
- package/dist/client/assets/{textarea-DH2INXqG.js → textarea-B5KVzuoV.js} +1 -1
- package/dist/client/assets/{toggle-group-BKADQha7.js → toggle-group-DhgFoVFU.js} +1 -1
- package/dist/client/assets/{tools-list-CVKmigbN.js → tools-list-B0Yp2GUj.js} +1 -1
- package/dist/client/assets/{tooltip-CzkIRbGJ.js → tooltip-BPT840gf.js} +1 -1
- package/dist/client/assets/{types-CiOXD-c9.js → types-9jOTGnHq.js} +1 -1
- package/dist/client/assets/{use-ai-providers-BSpy6MGb.js → use-ai-providers-D69mlQI8.js} +1 -1
- package/dist/client/assets/{use-collections-BgNhuD43.js → use-collections-DwvEVl8v.js} +1 -1
- package/dist/client/assets/{use-connection-BypaB8s_.js → use-connection-JJHjF6rv.js} +1 -1
- package/dist/client/assets/{use-copy-DUQETT2i.js → use-copy-C9_Hg3HJ.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-Cr6RxP_0.js → use-create-virtual-mcp-D-lXC80m.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-DO41C7Df.js → use-debounced-autosave-DFbpcKm7.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-Bd5bEjkf.js → use-decopilot-events-BcK-yZDw.js} +1 -1
- package/dist/client/assets/{use-delete-connection-v1LXlIsA.js → use-delete-connection-CPz0jmtA.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-QOTO_hJO.js → use-infinite-scroll-B1xILXLP.js} +1 -1
- package/dist/client/assets/{use-list-state-C_A7sIoE.js → use-list-state-BZRsAUdo.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-Dneo9PV9.js → use-mcp-tools-D73stCOo.js} +1 -1
- package/dist/client/assets/{use-members-ClknS2e8.js → use-members-DsN3ITf2.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-jsYNoTy7.js → use-navigate-to-agent-CJDDIver.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-piAjQuqe.js → use-org-auth-client-Bq9q7Hza.js} +1 -1
- package/dist/client/assets/{use-org-sso-BbOiG5xt.js → use-org-sso-D22xZlY0.js} +1 -1
- package/dist/client/assets/{use-organization-roles-DRnvDp6V.js → use-organization-roles-Q3jXj8C7.js} +1 -1
- package/dist/client/assets/{use-organization-settings-Cl63rukI.js → use-organization-settings-DC8b5MPT.js} +1 -1
- package/dist/client/assets/{use-registry-connections-nKQr071c.js → use-registry-connections-XqvUTmE5.js} +1 -1
- package/dist/client/assets/{use-status-sounds-DNBT8d2Q.js → use-status-sounds-CCFuBFY0.js} +1 -1
- package/dist/client/assets/{use-tasks-D6w8iRzc.js → use-tasks-Btt8g-fe.js} +1 -1
- package/dist/client/assets/{use-view-mode-EFwbm8pp.js → use-view-mode-BvotgnsQ.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-BW1ujP1y.js → use-virtual-mcp-BgZ2h4E7.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-DxaE8j48.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-CgPS4Lvz.js +1 -0
- package/dist/client/assets/{user-B9J8wn-0.js → user-C-74yDDj.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-P1fMVeBh.js → view-mode-toggle-BX0KOixc.js} +1 -1
- package/dist/client/assets/{workflow-Bk-2rBg-.js → workflow-D8djL2VH.js} +1 -1
- package/dist/client/assets/workflow-detail-eNmJkRLG.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +2 -2
- 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/ink/build/ansi-tokenizer.d.ts +38 -0
- package/dist/server/node_modules/ink/build/ansi-tokenizer.js +316 -0
- package/dist/server/node_modules/ink/build/ansi-tokenizer.js.map +1 -0
- package/dist/server/node_modules/ink/build/apply-styles.js +175 -0
- package/dist/server/node_modules/ink/build/build-layout.js +77 -0
- package/dist/server/node_modules/ink/build/calculate-wrapped-text.js +53 -0
- package/dist/server/node_modules/ink/build/colorize.d.ts +3 -0
- package/dist/server/node_modules/ink/build/colorize.js +48 -0
- package/dist/server/node_modules/ink/build/colorize.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/AccessibilityContext.d.ts +3 -0
- package/dist/server/node_modules/ink/build/components/AccessibilityContext.js +5 -0
- package/dist/server/node_modules/ink/build/components/AccessibilityContext.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/App.d.ts +18 -0
- package/dist/server/node_modules/ink/build/components/App.js +351 -0
- package/dist/server/node_modules/ink/build/components/App.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/AppContext.d.ts +15 -0
- package/dist/server/node_modules/ink/build/components/AppContext.js +11 -0
- package/dist/server/node_modules/ink/build/components/AppContext.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/BackgroundContext.d.ts +4 -0
- package/dist/server/node_modules/ink/build/components/BackgroundContext.js +3 -0
- package/dist/server/node_modules/ink/build/components/BackgroundContext.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/Box.d.ts +117 -0
- package/dist/server/node_modules/ink/build/components/Box.js +34 -0
- package/dist/server/node_modules/ink/build/components/Box.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/Color.js +62 -0
- package/dist/server/node_modules/ink/build/components/Cursor.d.ts +83 -0
- package/dist/server/node_modules/ink/build/components/Cursor.js +53 -0
- package/dist/server/node_modules/ink/build/components/Cursor.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/CursorContext.d.ts +11 -0
- package/dist/server/node_modules/ink/build/components/CursorContext.js +8 -0
- package/dist/server/node_modules/ink/build/components/CursorContext.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/ErrorBoundary.d.ts +18 -0
- package/dist/server/node_modules/ink/build/components/ErrorBoundary.js +23 -0
- package/dist/server/node_modules/ink/build/components/ErrorBoundary.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/ErrorOverview.d.ts +6 -0
- package/dist/server/node_modules/ink/build/components/ErrorOverview.js +84 -0
- package/dist/server/node_modules/ink/build/components/ErrorOverview.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/FocusContext.d.ts +16 -0
- package/dist/server/node_modules/ink/build/components/FocusContext.js +17 -0
- package/dist/server/node_modules/ink/build/components/FocusContext.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/Newline.d.ts +13 -0
- package/dist/server/node_modules/ink/build/components/Newline.js +8 -0
- package/dist/server/node_modules/ink/build/components/Newline.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/Spacer.d.ts +7 -0
- package/dist/server/node_modules/ink/build/components/Spacer.js +11 -0
- package/dist/server/node_modules/ink/build/components/Spacer.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/Static.d.ts +24 -0
- package/dist/server/node_modules/ink/build/components/Static.js +28 -0
- package/dist/server/node_modules/ink/build/components/Static.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/StderrContext.d.ts +15 -0
- package/dist/server/node_modules/ink/build/components/StderrContext.js +13 -0
- package/dist/server/node_modules/ink/build/components/StderrContext.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/StdinContext.d.ts +22 -0
- package/dist/server/node_modules/ink/build/components/StdinContext.js +19 -0
- package/dist/server/node_modules/ink/build/components/StdinContext.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/StdoutContext.d.ts +15 -0
- package/dist/server/node_modules/ink/build/components/StdoutContext.js +13 -0
- package/dist/server/node_modules/ink/build/components/StdoutContext.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/Text.d.ts +55 -0
- package/dist/server/node_modules/ink/build/components/Text.js +50 -0
- package/dist/server/node_modules/ink/build/components/Text.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/Transform.d.ts +16 -0
- package/dist/server/node_modules/ink/build/components/Transform.js +15 -0
- package/dist/server/node_modules/ink/build/components/Transform.js.map +1 -0
- package/dist/server/node_modules/ink/build/cursor-helpers.d.ts +38 -0
- package/dist/server/node_modules/ink/build/cursor-helpers.js +56 -0
- package/dist/server/node_modules/ink/build/cursor-helpers.js.map +1 -0
- package/dist/server/node_modules/ink/build/devtools-window-polyfill.d.ts +1 -0
- package/dist/server/node_modules/ink/build/devtools-window-polyfill.js +65 -0
- package/dist/server/node_modules/ink/build/devtools-window-polyfill.js.map +1 -0
- package/dist/server/node_modules/ink/build/devtools.d.ts +1 -0
- package/dist/server/node_modules/ink/build/devtools.js +11 -0
- package/dist/server/node_modules/ink/build/devtools.js.map +1 -0
- package/dist/server/node_modules/ink/build/dom.d.ts +56 -0
- package/dist/server/node_modules/ink/build/dom.js +124 -0
- package/dist/server/node_modules/ink/build/dom.js.map +1 -0
- package/dist/server/node_modules/ink/build/experimental/apply-style.js +140 -0
- package/dist/server/node_modules/ink/build/experimental/dom.js +123 -0
- package/dist/server/node_modules/ink/build/experimental/output.js +91 -0
- package/dist/server/node_modules/ink/build/experimental/reconciler.js +141 -0
- package/dist/server/node_modules/ink/build/experimental/renderer.js +81 -0
- package/dist/server/node_modules/ink/build/get-max-width.d.ts +3 -0
- package/dist/server/node_modules/ink/build/get-max-width.js +10 -0
- package/dist/server/node_modules/ink/build/get-max-width.js.map +1 -0
- package/dist/server/node_modules/ink/build/hooks/use-app.d.ts +5 -0
- package/dist/server/node_modules/ink/build/hooks/use-app.js +8 -0
- package/dist/server/node_modules/ink/build/hooks/use-app.js.map +1 -0
- package/dist/server/node_modules/ink/build/hooks/use-cursor.d.ts +12 -0
- package/dist/server/node_modules/ink/build/hooks/use-cursor.js +29 -0
- package/dist/server/node_modules/ink/build/hooks/use-cursor.js.map +1 -0
- package/dist/server/node_modules/ink/build/hooks/use-focus-manager.d.ts +28 -0
- package/dist/server/node_modules/ink/build/hooks/use-focus-manager.js +17 -0
- package/dist/server/node_modules/ink/build/hooks/use-focus-manager.js.map +1 -0
- package/dist/server/node_modules/ink/build/hooks/use-focus.d.ts +29 -0
- package/dist/server/node_modules/ink/build/hooks/use-focus.js +42 -0
- package/dist/server/node_modules/ink/build/hooks/use-focus.js.map +1 -0
- package/dist/server/node_modules/ink/build/hooks/use-input.d.ts +131 -0
- package/dist/server/node_modules/ink/build/hooks/use-input.js +124 -0
- package/dist/server/node_modules/ink/build/hooks/use-input.js.map +1 -0
- package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.d.ts +5 -0
- package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js +11 -0
- package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js.map +1 -0
- package/dist/server/node_modules/ink/build/hooks/use-stderr.d.ts +5 -0
- package/dist/server/node_modules/ink/build/hooks/use-stderr.js +8 -0
- package/dist/server/node_modules/ink/build/hooks/use-stderr.js.map +1 -0
- package/dist/server/node_modules/ink/build/hooks/use-stdin.d.ts +5 -0
- package/dist/server/node_modules/ink/build/hooks/use-stdin.js +8 -0
- package/dist/server/node_modules/ink/build/hooks/use-stdin.js.map +1 -0
- package/dist/server/node_modules/ink/build/hooks/use-stdout.d.ts +5 -0
- package/dist/server/node_modules/ink/build/hooks/use-stdout.js +8 -0
- package/dist/server/node_modules/ink/build/hooks/use-stdout.js.map +1 -0
- package/dist/server/node_modules/ink/build/hooks/useInput.js +38 -0
- package/dist/server/node_modules/ink/build/index.d.ts +34 -0
- package/dist/server/node_modules/ink/build/index.js +20 -0
- package/dist/server/node_modules/ink/build/index.js.map +1 -0
- package/dist/server/node_modules/ink/build/ink.d.ts +90 -0
- package/dist/server/node_modules/ink/build/ink.js +637 -0
- package/dist/server/node_modules/ink/build/ink.js.map +1 -0
- package/dist/server/node_modules/ink/build/input-parser.d.ts +7 -0
- package/dist/server/node_modules/ink/build/input-parser.js +154 -0
- package/dist/server/node_modules/ink/build/input-parser.js.map +1 -0
- package/dist/server/node_modules/ink/build/instance.js +205 -0
- package/dist/server/node_modules/ink/build/instances.d.ts +3 -0
- package/dist/server/node_modules/ink/build/instances.js +8 -0
- package/dist/server/node_modules/ink/build/instances.js.map +1 -0
- package/dist/server/node_modules/ink/build/kitty-keyboard.d.ts +23 -0
- package/dist/server/node_modules/ink/build/kitty-keyboard.js +32 -0
- package/dist/server/node_modules/ink/build/kitty-keyboard.js.map +1 -0
- package/dist/server/node_modules/ink/build/layout.d.ts +7 -0
- package/dist/server/node_modules/ink/build/layout.js +33 -0
- package/dist/server/node_modules/ink/build/layout.js.map +1 -0
- package/dist/server/node_modules/ink/build/log-update.d.ts +19 -0
- package/dist/server/node_modules/ink/build/log-update.js +242 -0
- package/dist/server/node_modules/ink/build/log-update.js.map +1 -0
- package/dist/server/node_modules/ink/build/measure-element.d.ts +16 -0
- package/dist/server/node_modules/ink/build/measure-element.js +9 -0
- package/dist/server/node_modules/ink/build/measure-element.js.map +1 -0
- package/dist/server/node_modules/ink/build/measure-text.d.ts +6 -0
- package/dist/server/node_modules/ink/build/measure-text.js +21 -0
- package/dist/server/node_modules/ink/build/measure-text.js.map +1 -0
- package/dist/server/node_modules/ink/build/options.d.ts +52 -0
- package/dist/server/node_modules/ink/build/options.js +2 -0
- package/dist/server/node_modules/ink/build/options.js.map +1 -0
- package/dist/server/node_modules/ink/build/output.d.ts +35 -0
- package/dist/server/node_modules/ink/build/output.js +183 -0
- package/dist/server/node_modules/ink/build/output.js.map +1 -0
- package/dist/server/node_modules/ink/build/parse-keypress.d.ts +22 -0
- package/dist/server/node_modules/ink/build/parse-keypress.js +493 -0
- package/dist/server/node_modules/ink/build/parse-keypress.js.map +1 -0
- package/dist/server/node_modules/ink/build/reconciler.d.ts +4 -0
- package/dist/server/node_modules/ink/build/reconciler.js +274 -0
- package/dist/server/node_modules/ink/build/reconciler.js.map +1 -0
- package/dist/server/node_modules/ink/build/render-background.d.ts +4 -0
- package/dist/server/node_modules/ink/build/render-background.js +25 -0
- package/dist/server/node_modules/ink/build/render-background.js.map +1 -0
- package/dist/server/node_modules/ink/build/render-border.d.ts +4 -0
- package/dist/server/node_modules/ink/build/render-border.js +73 -0
- package/dist/server/node_modules/ink/build/render-border.js.map +1 -0
- package/dist/server/node_modules/ink/build/render-node-to-output.d.ts +14 -0
- package/dist/server/node_modules/ink/build/render-node-to-output.js +147 -0
- package/dist/server/node_modules/ink/build/render-node-to-output.js.map +1 -0
- package/dist/server/node_modules/ink/build/render-to-string.d.ts +38 -0
- package/dist/server/node_modules/ink/build/render-to-string.js +115 -0
- package/dist/server/node_modules/ink/build/render-to-string.js.map +1 -0
- package/dist/server/node_modules/ink/build/render.d.ts +121 -0
- package/dist/server/node_modules/ink/build/render.js +55 -0
- package/dist/server/node_modules/ink/build/render.js.map +1 -0
- package/dist/server/node_modules/ink/build/renderer.d.ts +8 -0
- package/dist/server/node_modules/ink/build/renderer.js +55 -0
- package/dist/server/node_modules/ink/build/renderer.js.map +1 -0
- package/dist/server/node_modules/ink/build/sanitize-ansi.d.ts +2 -0
- package/dist/server/node_modules/ink/build/sanitize-ansi.js +27 -0
- package/dist/server/node_modules/ink/build/sanitize-ansi.js.map +1 -0
- package/dist/server/node_modules/ink/build/screen-reader-update.d.ts +13 -0
- package/dist/server/node_modules/ink/build/screen-reader-update.js +38 -0
- package/dist/server/node_modules/ink/build/screen-reader-update.js.map +1 -0
- package/dist/server/node_modules/ink/build/squash-text-nodes.d.ts +3 -0
- package/dist/server/node_modules/ink/build/squash-text-nodes.js +36 -0
- package/dist/server/node_modules/ink/build/squash-text-nodes.js.map +1 -0
- package/dist/server/node_modules/ink/build/styles.d.ts +240 -0
- package/dist/server/node_modules/ink/build/styles.js +232 -0
- package/dist/server/node_modules/ink/build/styles.js.map +1 -0
- package/dist/server/node_modules/ink/build/utils.d.ts +2 -0
- package/dist/server/node_modules/ink/build/utils.js +4 -0
- package/dist/server/node_modules/ink/build/utils.js.map +1 -0
- package/dist/server/node_modules/ink/build/wrap-text.d.ts +3 -0
- package/dist/server/node_modules/ink/build/wrap-text.js +31 -0
- package/dist/server/node_modules/ink/build/wrap-text.js.map +1 -0
- package/dist/server/node_modules/ink/build/write-synchronized.d.ts +4 -0
- package/dist/server/node_modules/ink/build/write-synchronized.js +7 -0
- package/dist/server/node_modules/ink/build/write-synchronized.js.map +1 -0
- package/dist/server/node_modules/{figures → ink}/license +1 -0
- package/dist/server/node_modules/ink/package.json +201 -0
- package/dist/server/node_modules/ink/readme.md +2636 -0
- package/dist/server/node_modules/slice-ansi/index.d.ts +19 -0
- package/dist/server/node_modules/slice-ansi/index.js +260 -0
- package/dist/server/node_modules/{widest-line → slice-ansi}/license +1 -0
- package/dist/server/node_modules/slice-ansi/package.json +59 -0
- package/dist/server/node_modules/slice-ansi/readme.md +54 -0
- package/dist/server/node_modules/slice-ansi/tokenize-ansi.js +752 -0
- package/dist/server/server.js +1 -1
- package/package.json +1 -1
- package/dist/client/assets/ai-providers-C-HLT43p.js +0 -1
- package/dist/client/assets/index-BlefTMU9.js +0 -1
- package/dist/client/assets/registry-DSbGbl6G.js +0 -2
- package/dist/client/assets/store-registry-CHPlZpA7.js +0 -2
- package/dist/client/assets/useInfiniteQuery-B0aJ536b.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-DMQVbZ7w.js +0 -1
- package/dist/client/assets/workflow-detail-cax1DGc8.js +0 -1
- package/dist/server/node_modules/cli-truncate/index.d.ts +0 -118
- package/dist/server/node_modules/cli-truncate/index.js +0 -168
- package/dist/server/node_modules/cli-truncate/package.json +0 -52
- package/dist/server/node_modules/cli-truncate/readme.md +0 -154
- package/dist/server/node_modules/deepmerge/.editorconfig +0 -7
- package/dist/server/node_modules/deepmerge/.eslintcache +0 -1
- package/dist/server/node_modules/deepmerge/changelog.md +0 -167
- package/dist/server/node_modules/deepmerge/dist/cjs.js +0 -133
- package/dist/server/node_modules/deepmerge/dist/umd.js +0 -139
- package/dist/server/node_modules/deepmerge/index.d.ts +0 -20
- package/dist/server/node_modules/deepmerge/index.js +0 -106
- package/dist/server/node_modules/deepmerge/license.txt +0 -21
- package/dist/server/node_modules/deepmerge/package.json +0 -42
- package/dist/server/node_modules/deepmerge/readme.md +0 -264
- package/dist/server/node_modules/deepmerge/rollup.config.js +0 -22
- package/dist/server/node_modules/figures/index.d.ts +0 -279
- package/dist/server/node_modules/figures/index.js +0 -292
- package/dist/server/node_modules/figures/package.json +0 -49
- package/dist/server/node_modules/figures/readme.md +0 -337
- package/dist/server/node_modules/mimic-fn/index.d.ts +0 -54
- package/dist/server/node_modules/mimic-fn/index.js +0 -13
- package/dist/server/node_modules/mimic-fn/license +0 -9
- package/dist/server/node_modules/mimic-fn/package.json +0 -42
- package/dist/server/node_modules/mimic-fn/readme.md +0 -69
- 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/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-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/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/widest-line/index.d.ts +0 -12
- package/dist/server/node_modules/widest-line/index.js +0 -11
- package/dist/server/node_modules/widest-line/package.json +0 -60
- package/dist/server/node_modules/widest-line/readme.md +0 -26
- package/dist/server/node_modules/xtend/.jshintrc +0 -30
- package/dist/server/node_modules/xtend/LICENSE +0 -20
- package/dist/server/node_modules/xtend/README.md +0 -32
- package/dist/server/node_modules/xtend/immutable.js +0 -19
- package/dist/server/node_modules/xtend/mutable.js +0 -17
- package/dist/server/node_modules/xtend/package.json +0 -55
- package/dist/server/node_modules/xtend/test.js +0 -103
- /package/dist/server/node_modules/{cli-truncate → get-east-asian-width}/license +0 -0
|
@@ -1,337 +0,0 @@
|
|
|
1
|
-
# figures
|
|
2
|
-
|
|
3
|
-
> Unicode symbols with fallbacks for older terminals
|
|
4
|
-
|
|
5
|
-
[](index.js)
|
|
6
|
-
|
|
7
|
-
[*and more...*](index.js)
|
|
8
|
-
|
|
9
|
-
Terminals such as Windows Console Host (and CMD) only support a [limited character set](http://en.wikipedia.org/wiki/Code_page_437).
|
|
10
|
-
|
|
11
|
-
## Install
|
|
12
|
-
|
|
13
|
-
```sh
|
|
14
|
-
npm install figures
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## Usage
|
|
18
|
-
|
|
19
|
-
```js
|
|
20
|
-
import figures, {mainSymbols, fallbackSymbols, replaceSymbols} from 'figures';
|
|
21
|
-
|
|
22
|
-
console.log(figures.tick);
|
|
23
|
-
// On terminals with Unicode symbols: ✔
|
|
24
|
-
// On other terminals: √
|
|
25
|
-
|
|
26
|
-
console.log(mainSymbols.tick);
|
|
27
|
-
// On all terminals: ✔
|
|
28
|
-
|
|
29
|
-
console.log(fallbackSymbols.tick);
|
|
30
|
-
// On all terminals: √
|
|
31
|
-
|
|
32
|
-
console.log(replaceSymbols('✔ check'));
|
|
33
|
-
// On terminals with Unicode symbols: ✔ check
|
|
34
|
-
// On other terminals: √ check
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## API
|
|
38
|
-
|
|
39
|
-
### figures (default export)
|
|
40
|
-
|
|
41
|
-
Type: `object`
|
|
42
|
-
|
|
43
|
-
Symbols to use on any terminal.
|
|
44
|
-
|
|
45
|
-
### mainSymbols
|
|
46
|
-
|
|
47
|
-
Symbols to use when the terminal supports Unicode symbols.
|
|
48
|
-
|
|
49
|
-
### fallbackSymbols
|
|
50
|
-
|
|
51
|
-
Symbols to use when the terminal does not support Unicode symbols.
|
|
52
|
-
|
|
53
|
-
### replaceSymbols(string, options?)
|
|
54
|
-
|
|
55
|
-
Returns the input with replaced fallback symbols if the terminal has poor Unicode support.
|
|
56
|
-
|
|
57
|
-
All the below [figures](#figures) are attached to the default export as shown in the example above.
|
|
58
|
-
|
|
59
|
-
#### string
|
|
60
|
-
|
|
61
|
-
Type: `string`
|
|
62
|
-
|
|
63
|
-
String where the Unicode symbols will be replaced with fallback symbols depending on the terminal.
|
|
64
|
-
|
|
65
|
-
#### options
|
|
66
|
-
|
|
67
|
-
Type: `object`
|
|
68
|
-
|
|
69
|
-
##### useFallback
|
|
70
|
-
|
|
71
|
-
Type: `boolean`\
|
|
72
|
-
Default: `true` if the terminal has poor Unicode support
|
|
73
|
-
|
|
74
|
-
Whether to replace symbols with fallbacks.
|
|
75
|
-
|
|
76
|
-
This can be set to `true` to always use fallback symbols, whether the terminal has poor Unicode support or not.
|
|
77
|
-
|
|
78
|
-
```js
|
|
79
|
-
import {replaceSymbols} from 'figures';
|
|
80
|
-
|
|
81
|
-
console.log(replaceSymbols('✔ check', {useFallback: true}));
|
|
82
|
-
// On terminals with Unicode symbols: √ check
|
|
83
|
-
// On other terminals: √ check
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
## Figures
|
|
87
|
-
|
|
88
|
-
`Fallback` characters are only shown when they differ from the `Main` ones.
|
|
89
|
-
|
|
90
|
-
| Name | Main | Fallback |
|
|
91
|
-
| ------------------------------------------- | :--: | :------: |
|
|
92
|
-
| tick | `✔` | `√` |
|
|
93
|
-
| info | `ℹ` | `i` |
|
|
94
|
-
| warning | `⚠` | `‼` |
|
|
95
|
-
| cross | `✘` | `×` |
|
|
96
|
-
| square | `█` | |
|
|
97
|
-
| squareSmall | `◻` | `□` |
|
|
98
|
-
| squareSmallFilled | `◼` | `■` |
|
|
99
|
-
| squareDarkShade | `▓` | |
|
|
100
|
-
| squareMediumShade | `▒` | |
|
|
101
|
-
| squareLightShade | `░` | |
|
|
102
|
-
| squareTop | `▀` | |
|
|
103
|
-
| squareBottom | `▄` | |
|
|
104
|
-
| squareLeft | `▌` | |
|
|
105
|
-
| squareRight | `▐` | |
|
|
106
|
-
| squareCenter | `■` | |
|
|
107
|
-
| circle | `◯` | `( )` |
|
|
108
|
-
| circleFilled | `◉` | `(*)` |
|
|
109
|
-
| circleDotted | `◌` | `( )` |
|
|
110
|
-
| circleDouble | `◎` | `( )` |
|
|
111
|
-
| circleCircle | `ⓞ` | `(○)` |
|
|
112
|
-
| circleCross | `ⓧ` | `(×)` |
|
|
113
|
-
| circlePipe | `Ⓘ` | `(│)` |
|
|
114
|
-
| circleQuestionMark | `?⃝ ` | `(?)` |
|
|
115
|
-
| radioOn | `◉` | `(*)` |
|
|
116
|
-
| radioOff | `◯` | `( )` |
|
|
117
|
-
| checkboxOn | `☒` | `[×]` |
|
|
118
|
-
| checkboxOff | `☐` | `[ ]` |
|
|
119
|
-
| checkboxCircleOn | `ⓧ` | `(×)` |
|
|
120
|
-
| checkboxCircleOff | `Ⓘ` | `( )` |
|
|
121
|
-
| questionMarkPrefix | `?⃝ ` | `?` |
|
|
122
|
-
| bullet | `●` | |
|
|
123
|
-
| dot | `․` | |
|
|
124
|
-
| ellipsis | `…` | |
|
|
125
|
-
| pointer | `❯` | `>` |
|
|
126
|
-
| pointerSmall | `›` | `›` |
|
|
127
|
-
| triangleUp | `▲` | |
|
|
128
|
-
| triangleUpSmall | `▴` | |
|
|
129
|
-
| triangleUpOutline | `△` | `∆` |
|
|
130
|
-
| triangleDown | `▼` | |
|
|
131
|
-
| triangleDownSmall | `▾` | |
|
|
132
|
-
| triangleLeft | `◀` | `◄` |
|
|
133
|
-
| triangleLeftSmall | `◂` | |
|
|
134
|
-
| triangleRight | `▶` | `►` |
|
|
135
|
-
| triangleRightSmall | `▸` | |
|
|
136
|
-
| lozenge | `◆` | `♦` |
|
|
137
|
-
| lozengeOutline | `◇` | `◊` |
|
|
138
|
-
| home | `⌂` | |
|
|
139
|
-
| hamburger | `☰` | `≡` |
|
|
140
|
-
| smiley | `㋡` | `☺` |
|
|
141
|
-
| mustache | `෴` | `┌─┐` |
|
|
142
|
-
| heart | `♥` | |
|
|
143
|
-
| star | `★` | `✶` |
|
|
144
|
-
| play | `▶` | `►` |
|
|
145
|
-
| musicNote | `♪` | |
|
|
146
|
-
| musicNoteBeamed | `♫` | |
|
|
147
|
-
| nodejs | `⬢` | `♦` |
|
|
148
|
-
| arrowUp | `↑` | |
|
|
149
|
-
| arrowDown | `↓` | |
|
|
150
|
-
| arrowLeft | `←` | |
|
|
151
|
-
| arrowRight | `→` | |
|
|
152
|
-
| arrowLeftRight | `↔` | |
|
|
153
|
-
| arrowUpDown | `↕` | |
|
|
154
|
-
| almostEqual | `≈` | |
|
|
155
|
-
| notEqual | `≠` | |
|
|
156
|
-
| lessOrEqual | `≤` | |
|
|
157
|
-
| greaterOrEqual | `≥` | |
|
|
158
|
-
| identical | `≡` | |
|
|
159
|
-
| infinity | `∞` | |
|
|
160
|
-
| subscriptZero | `₀` | |
|
|
161
|
-
| subscriptOne | `₁` | |
|
|
162
|
-
| subscriptTwo | `₂` | |
|
|
163
|
-
| subscriptThree | `₃` | |
|
|
164
|
-
| subscriptFour | `₄` | |
|
|
165
|
-
| subscriptFive | `₅` | |
|
|
166
|
-
| subscriptSix | `₆` | |
|
|
167
|
-
| subscriptSeven | `₇` | |
|
|
168
|
-
| subscriptEight | `₈` | |
|
|
169
|
-
| subscriptNine | `₉` | |
|
|
170
|
-
| oneHalf | `½` | |
|
|
171
|
-
| oneThird | `⅓` | |
|
|
172
|
-
| oneQuarter | `¼` | |
|
|
173
|
-
| oneFifth | `⅕` | |
|
|
174
|
-
| oneSixth | `⅙` | |
|
|
175
|
-
| oneSeventh | `⅐` | `1/7` |
|
|
176
|
-
| oneEighth | `⅛` | |
|
|
177
|
-
| oneNinth | `⅑` | `1/9` |
|
|
178
|
-
| oneTenth | `⅒` | `1/10` |
|
|
179
|
-
| twoThirds | `⅔` | |
|
|
180
|
-
| twoFifths | `⅖` | |
|
|
181
|
-
| threeQuarters | `¾` | |
|
|
182
|
-
| threeFifths | `⅗` | |
|
|
183
|
-
| threeEighths | `⅜` | |
|
|
184
|
-
| fourFifths | `⅘` | |
|
|
185
|
-
| fiveSixths | `⅚` | |
|
|
186
|
-
| fiveEighths | `⅝` | |
|
|
187
|
-
| sevenEighths | `⅞` | |
|
|
188
|
-
| line | `─` | |
|
|
189
|
-
| lineBold | `━` | |
|
|
190
|
-
| lineDouble | `═` | |
|
|
191
|
-
| lineDashed0 | `┄` | |
|
|
192
|
-
| lineDashed1 | `┅` | |
|
|
193
|
-
| lineDashed2 | `┈` | |
|
|
194
|
-
| lineDashed3 | `┉` | |
|
|
195
|
-
| lineDashed4 | `╌` | |
|
|
196
|
-
| lineDashed5 | `╍` | |
|
|
197
|
-
| lineDashed6 | `╴` | |
|
|
198
|
-
| lineDashed7 | `╶` | |
|
|
199
|
-
| lineDashed8 | `╸` | |
|
|
200
|
-
| lineDashed9 | `╺` | |
|
|
201
|
-
| lineDashed10 | `╼` | |
|
|
202
|
-
| lineDashed11 | `╾` | |
|
|
203
|
-
| lineDashed12 | `−` | |
|
|
204
|
-
| lineDashed13 | `–` | |
|
|
205
|
-
| lineDashed14 | `‐` | |
|
|
206
|
-
| lineDashed15 | `⁃` | |
|
|
207
|
-
| lineVertical | `│` | |
|
|
208
|
-
| lineVerticalBold | `┃` | |
|
|
209
|
-
| lineVerticalDouble | `║` | |
|
|
210
|
-
| lineVerticalDashed0 | `┆` | |
|
|
211
|
-
| lineVerticalDashed1 | `┇` | |
|
|
212
|
-
| lineVerticalDashed2 | `┊` | |
|
|
213
|
-
| lineVerticalDashed3 | `┋` | |
|
|
214
|
-
| lineVerticalDashed4 | `╎` | |
|
|
215
|
-
| lineVerticalDashed5 | `╏` | |
|
|
216
|
-
| lineVerticalDashed6 | `╵` | |
|
|
217
|
-
| lineVerticalDashed7 | `╷` | |
|
|
218
|
-
| lineVerticalDashed8 | `╹` | |
|
|
219
|
-
| lineVerticalDashed9 | `╻` | |
|
|
220
|
-
| lineVerticalDashed10 | `╽` | |
|
|
221
|
-
| lineVerticalDashed11 | `╿` | |
|
|
222
|
-
| lineDownLeft | `┐` | |
|
|
223
|
-
| lineDownLeftArc | `╮` | |
|
|
224
|
-
| lineDownBoldLeftBold | `┓` | |
|
|
225
|
-
| lineDownBoldLeft | `┒` | |
|
|
226
|
-
| lineDownLeftBold | `┑` | |
|
|
227
|
-
| lineDownDoubleLeftDouble | `╗` | |
|
|
228
|
-
| lineDownDoubleLeft | `╖` | |
|
|
229
|
-
| lineDownLeftDouble | `╕` | |
|
|
230
|
-
| lineDownRight | `┌` | |
|
|
231
|
-
| lineDownRightArc | `╭` | |
|
|
232
|
-
| lineDownBoldRightBold | `┏` | |
|
|
233
|
-
| lineDownBoldRight | `┎` | |
|
|
234
|
-
| lineDownRightBold | `┍` | |
|
|
235
|
-
| lineDownDoubleRightDouble | `╔` | |
|
|
236
|
-
| lineDownDoubleRight | `╓` | |
|
|
237
|
-
| lineDownRightDouble | `╒` | |
|
|
238
|
-
| lineUpLeft | `┘` | |
|
|
239
|
-
| lineUpLeftArc | `╯` | |
|
|
240
|
-
| lineUpBoldLeftBold | `┛` | |
|
|
241
|
-
| lineUpBoldLeft | `┚` | |
|
|
242
|
-
| lineUpLeftBold | `┙` | |
|
|
243
|
-
| lineUpDoubleLeftDouble | `╝` | |
|
|
244
|
-
| lineUpDoubleLeft | `╜` | |
|
|
245
|
-
| lineUpLeftDouble | `╛` | |
|
|
246
|
-
| lineUpRight | `└` | |
|
|
247
|
-
| lineUpRightArc | `╰` | |
|
|
248
|
-
| lineUpBoldRightBold | `┗` | |
|
|
249
|
-
| lineUpBoldRight | `┖` | |
|
|
250
|
-
| lineUpRightBold | `┕` | |
|
|
251
|
-
| lineUpDoubleRightDouble | `╚` | |
|
|
252
|
-
| lineUpDoubleRight | `╙` | |
|
|
253
|
-
| lineUpRightDouble | `╘` | |
|
|
254
|
-
| lineUpDownLeft | `┤` | |
|
|
255
|
-
| lineUpBoldDownBoldLeftBold | `┫` | |
|
|
256
|
-
| lineUpBoldDownBoldLeft | `┨` | |
|
|
257
|
-
| lineUpDownLeftBold | `┥` | |
|
|
258
|
-
| lineUpBoldDownLeftBold | `┩` | |
|
|
259
|
-
| lineUpDownBoldLeftBold | `┪` | |
|
|
260
|
-
| lineUpDownBoldLeft | `┧` | |
|
|
261
|
-
| lineUpBoldDownLeft | `┦` | |
|
|
262
|
-
| lineUpDoubleDownDoubleLeftDouble | `╣` | |
|
|
263
|
-
| lineUpDoubleDownDoubleLeft | `╢` | |
|
|
264
|
-
| lineUpDownLeftDouble | `╡` | |
|
|
265
|
-
| lineUpDownRight | `├` | |
|
|
266
|
-
| lineUpBoldDownBoldRightBold | `┣` | |
|
|
267
|
-
| lineUpBoldDownBoldRight | `┠` | |
|
|
268
|
-
| lineUpDownRightBold | `┝` | |
|
|
269
|
-
| lineUpBoldDownRightBold | `┡` | |
|
|
270
|
-
| lineUpDownBoldRightBold | `┢` | |
|
|
271
|
-
| lineUpDownBoldRight | `┟` | |
|
|
272
|
-
| lineUpBoldDownRight | `┞` | |
|
|
273
|
-
| lineUpDoubleDownDoubleRightDouble | `╠` | |
|
|
274
|
-
| lineUpDoubleDownDoubleRight | `╟` | |
|
|
275
|
-
| lineUpDownRightDouble | `╞` | |
|
|
276
|
-
| lineDownLeftRight | `┬` | |
|
|
277
|
-
| lineDownBoldLeftBoldRightBold | `┳` | |
|
|
278
|
-
| lineDownLeftBoldRightBold | `┯` | |
|
|
279
|
-
| lineDownBoldLeftRight | `┰` | |
|
|
280
|
-
| lineDownBoldLeftBoldRight | `┱` | |
|
|
281
|
-
| lineDownBoldLeftRightBold | `┲` | |
|
|
282
|
-
| lineDownLeftRightBold | `┮` | |
|
|
283
|
-
| lineDownLeftBoldRight | `┭` | |
|
|
284
|
-
| lineDownDoubleLeftDoubleRightDouble | `╦` | |
|
|
285
|
-
| lineDownDoubleLeftRight | `╥` | |
|
|
286
|
-
| lineDownLeftDoubleRightDouble | `╤` | |
|
|
287
|
-
| lineUpLeftRight | `┴` | |
|
|
288
|
-
| lineUpBoldLeftBoldRightBold | `┻` | |
|
|
289
|
-
| lineUpLeftBoldRightBold | `┷` | |
|
|
290
|
-
| lineUpBoldLeftRight | `┸` | |
|
|
291
|
-
| lineUpBoldLeftBoldRight | `┹` | |
|
|
292
|
-
| lineUpBoldLeftRightBold | `┺` | |
|
|
293
|
-
| lineUpLeftRightBold | `┶` | |
|
|
294
|
-
| lineUpLeftBoldRight | `┵` | |
|
|
295
|
-
| lineUpDoubleLeftDoubleRightDouble | `╩` | |
|
|
296
|
-
| lineUpDoubleLeftRight | `╨` | |
|
|
297
|
-
| lineUpLeftDoubleRightDouble | `╧` | |
|
|
298
|
-
| lineUpDownLeftRight | `┼` | |
|
|
299
|
-
| lineUpBoldDownBoldLeftBoldRightBold | `╋` | |
|
|
300
|
-
| lineUpDownBoldLeftBoldRightBold | `╈` | |
|
|
301
|
-
| lineUpBoldDownLeftBoldRightBold | `╇` | |
|
|
302
|
-
| lineUpBoldDownBoldLeftRightBold | `╊` | |
|
|
303
|
-
| lineUpBoldDownBoldLeftBoldRight | `╉` | |
|
|
304
|
-
| lineUpBoldDownLeftRight | `╀` | |
|
|
305
|
-
| lineUpDownBoldLeftRight | `╁` | |
|
|
306
|
-
| lineUpDownLeftBoldRight | `┽` | |
|
|
307
|
-
| lineUpDownLeftRightBold | `┾` | |
|
|
308
|
-
| lineUpBoldDownBoldLeftRight | `╂` | |
|
|
309
|
-
| lineUpDownLeftBoldRightBold | `┿` | |
|
|
310
|
-
| lineUpBoldDownLeftBoldRight | `╃` | |
|
|
311
|
-
| lineUpBoldDownLeftRightBold | `╄` | |
|
|
312
|
-
| lineUpDownBoldLeftBoldRight | `╅` | |
|
|
313
|
-
| lineUpDownBoldLeftRightBold | `╆` | |
|
|
314
|
-
| lineUpDoubleDownDoubleLeftDoubleRightDouble | `╬` | |
|
|
315
|
-
| lineUpDoubleDownDoubleLeftRight | `╫` | |
|
|
316
|
-
| lineUpDownLeftDoubleRightDouble | `╪` | |
|
|
317
|
-
| lineCross | `╳` | |
|
|
318
|
-
| lineBackslash | `╲` | |
|
|
319
|
-
| lineSlash | `╱` | |
|
|
320
|
-
|
|
321
|
-
## Other characters
|
|
322
|
-
|
|
323
|
-
If you cannot find the character you're looking for in the table above, please look at this full list of [cross-platform terminal characters](https://github.com/ehmicky/cross-platform-terminal-characters).
|
|
324
|
-
|
|
325
|
-
## Unsupported terminals
|
|
326
|
-
|
|
327
|
-
The following terminals are not officially supported:
|
|
328
|
-
|
|
329
|
-
- xterm
|
|
330
|
-
- Linux Terminal (kernel)
|
|
331
|
-
- cmder
|
|
332
|
-
|
|
333
|
-
They can display most but not all of the symbols listed above.
|
|
334
|
-
|
|
335
|
-
## Related
|
|
336
|
-
|
|
337
|
-
- [log-symbols](https://github.com/sindresorhus/log-symbols) - Colored symbols for various log levels
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
declare const mimicFn: {
|
|
2
|
-
/**
|
|
3
|
-
Make a function mimic another one. It will copy over the properties `name`, `length`, `displayName`, and any custom properties you may have set.
|
|
4
|
-
|
|
5
|
-
@param to - Mimicking function.
|
|
6
|
-
@param from - Function to mimic.
|
|
7
|
-
@returns The modified `to` function.
|
|
8
|
-
|
|
9
|
-
@example
|
|
10
|
-
```
|
|
11
|
-
import mimicFn = require('mimic-fn');
|
|
12
|
-
|
|
13
|
-
function foo() {}
|
|
14
|
-
foo.unicorn = '🦄';
|
|
15
|
-
|
|
16
|
-
function wrapper() {
|
|
17
|
-
return foo();
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
console.log(wrapper.name);
|
|
21
|
-
//=> 'wrapper'
|
|
22
|
-
|
|
23
|
-
mimicFn(wrapper, foo);
|
|
24
|
-
|
|
25
|
-
console.log(wrapper.name);
|
|
26
|
-
//=> 'foo'
|
|
27
|
-
|
|
28
|
-
console.log(wrapper.unicorn);
|
|
29
|
-
//=> '🦄'
|
|
30
|
-
```
|
|
31
|
-
*/
|
|
32
|
-
<
|
|
33
|
-
ArgumentsType extends unknown[],
|
|
34
|
-
ReturnType,
|
|
35
|
-
FunctionType extends (...arguments: ArgumentsType) => ReturnType
|
|
36
|
-
>(
|
|
37
|
-
to: (...arguments: ArgumentsType) => ReturnType,
|
|
38
|
-
from: FunctionType
|
|
39
|
-
): FunctionType;
|
|
40
|
-
|
|
41
|
-
// TODO: Remove this for the next major release, refactor the whole definition to:
|
|
42
|
-
// declare function mimicFn<
|
|
43
|
-
// ArgumentsType extends unknown[],
|
|
44
|
-
// ReturnType,
|
|
45
|
-
// FunctionType extends (...arguments: ArgumentsType) => ReturnType
|
|
46
|
-
// >(
|
|
47
|
-
// to: (...arguments: ArgumentsType) => ReturnType,
|
|
48
|
-
// from: FunctionType
|
|
49
|
-
// ): FunctionType;
|
|
50
|
-
// export = mimicFn;
|
|
51
|
-
default: typeof mimicFn;
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
export = mimicFn;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const mimicFn = (to, from) => {
|
|
4
|
-
for (const prop of Reflect.ownKeys(from)) {
|
|
5
|
-
Object.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
return to;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
module.exports = mimicFn;
|
|
12
|
-
// TODO: Remove this for the next major release
|
|
13
|
-
module.exports.default = mimicFn;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "mimic-fn",
|
|
3
|
-
"version": "2.1.0",
|
|
4
|
-
"description": "Make a function mimic another one",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/mimic-fn",
|
|
7
|
-
"author": {
|
|
8
|
-
"name": "Sindre Sorhus",
|
|
9
|
-
"email": "sindresorhus@gmail.com",
|
|
10
|
-
"url": "sindresorhus.com"
|
|
11
|
-
},
|
|
12
|
-
"engines": {
|
|
13
|
-
"node": ">=6"
|
|
14
|
-
},
|
|
15
|
-
"scripts": {
|
|
16
|
-
"test": "xo && ava && tsd"
|
|
17
|
-
},
|
|
18
|
-
"files": [
|
|
19
|
-
"index.js",
|
|
20
|
-
"index.d.ts"
|
|
21
|
-
],
|
|
22
|
-
"keywords": [
|
|
23
|
-
"function",
|
|
24
|
-
"mimic",
|
|
25
|
-
"imitate",
|
|
26
|
-
"rename",
|
|
27
|
-
"copy",
|
|
28
|
-
"inherit",
|
|
29
|
-
"properties",
|
|
30
|
-
"name",
|
|
31
|
-
"func",
|
|
32
|
-
"fn",
|
|
33
|
-
"set",
|
|
34
|
-
"infer",
|
|
35
|
-
"change"
|
|
36
|
-
],
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"ava": "^1.4.1",
|
|
39
|
-
"tsd": "^0.7.1",
|
|
40
|
-
"xo": "^0.24.0"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
# mimic-fn [](https://travis-ci.org/sindresorhus/mimic-fn)
|
|
2
|
-
|
|
3
|
-
> Make a function mimic another one
|
|
4
|
-
|
|
5
|
-
Useful when you wrap a function in another function and like to preserve the original name and other properties.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
## Install
|
|
9
|
-
|
|
10
|
-
```
|
|
11
|
-
$ npm install mimic-fn
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
## Usage
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
const mimicFn = require('mimic-fn');
|
|
19
|
-
|
|
20
|
-
function foo() {}
|
|
21
|
-
foo.unicorn = '🦄';
|
|
22
|
-
|
|
23
|
-
function wrapper() {
|
|
24
|
-
return foo();
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
console.log(wrapper.name);
|
|
28
|
-
//=> 'wrapper'
|
|
29
|
-
|
|
30
|
-
mimicFn(wrapper, foo);
|
|
31
|
-
|
|
32
|
-
console.log(wrapper.name);
|
|
33
|
-
//=> 'foo'
|
|
34
|
-
|
|
35
|
-
console.log(wrapper.unicorn);
|
|
36
|
-
//=> '🦄'
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
## API
|
|
41
|
-
|
|
42
|
-
It will copy over the properties `name`, `length`, `displayName`, and any custom properties you may have set.
|
|
43
|
-
|
|
44
|
-
### mimicFn(to, from)
|
|
45
|
-
|
|
46
|
-
Modifies the `to` function and returns it.
|
|
47
|
-
|
|
48
|
-
#### to
|
|
49
|
-
|
|
50
|
-
Type: `Function`
|
|
51
|
-
|
|
52
|
-
Mimicking function.
|
|
53
|
-
|
|
54
|
-
#### from
|
|
55
|
-
|
|
56
|
-
Type: `Function`
|
|
57
|
-
|
|
58
|
-
Function to mimic.
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
## Related
|
|
62
|
-
|
|
63
|
-
- [rename-fn](https://github.com/sindresorhus/rename-fn) - Rename a function
|
|
64
|
-
- [keep-func-props](https://github.com/ehmicky/keep-func-props) - Wrap a function without changing its name, length and other properties
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
## License
|
|
68
|
-
|
|
69
|
-
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
Copyright © 2017, Charmander <~@charmander.me>
|
|
2
|
-
|
|
3
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
4
|
-
purpose with or without fee is hereby granted, provided that the above
|
|
5
|
-
copyright notice and this permission notice appear in all copies.
|
|
6
|
-
|
|
7
|
-
THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
9
|
-
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
[![Build status][ci image]][ci]
|
|
2
|
-
|
|
3
|
-
64-bit big-endian signed integer-to-string conversion designed for [pg][].
|
|
4
|
-
|
|
5
|
-
```js
|
|
6
|
-
const readInt8 = require('pg-int8');
|
|
7
|
-
|
|
8
|
-
readInt8(Buffer.from([0, 1, 2, 3, 4, 5, 6, 7]))
|
|
9
|
-
// '283686952306183'
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
[pg]: https://github.com/brianc/node-postgres
|
|
14
|
-
|
|
15
|
-
[ci]: https://travis-ci.org/charmander/pg-int8
|
|
16
|
-
[ci image]: https://api.travis-ci.org/charmander/pg-int8.svg
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
// selected so (BASE - 1) * 0x100000000 + 0xffffffff is a safe integer
|
|
4
|
-
var BASE = 1000000;
|
|
5
|
-
|
|
6
|
-
function readInt8(buffer) {
|
|
7
|
-
var high = buffer.readInt32BE(0);
|
|
8
|
-
var low = buffer.readUInt32BE(4);
|
|
9
|
-
var sign = '';
|
|
10
|
-
|
|
11
|
-
if (high < 0) {
|
|
12
|
-
high = ~high + (low === 0);
|
|
13
|
-
low = (~low + 1) >>> 0;
|
|
14
|
-
sign = '-';
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
var result = '';
|
|
18
|
-
var carry;
|
|
19
|
-
var t;
|
|
20
|
-
var digits;
|
|
21
|
-
var pad;
|
|
22
|
-
var l;
|
|
23
|
-
var i;
|
|
24
|
-
|
|
25
|
-
{
|
|
26
|
-
carry = high % BASE;
|
|
27
|
-
high = high / BASE >>> 0;
|
|
28
|
-
|
|
29
|
-
t = 0x100000000 * carry + low;
|
|
30
|
-
low = t / BASE >>> 0;
|
|
31
|
-
digits = '' + (t - BASE * low);
|
|
32
|
-
|
|
33
|
-
if (low === 0 && high === 0) {
|
|
34
|
-
return sign + digits + result;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
pad = '';
|
|
38
|
-
l = 6 - digits.length;
|
|
39
|
-
|
|
40
|
-
for (i = 0; i < l; i++) {
|
|
41
|
-
pad += '0';
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
result = pad + digits + result;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
{
|
|
48
|
-
carry = high % BASE;
|
|
49
|
-
high = high / BASE >>> 0;
|
|
50
|
-
|
|
51
|
-
t = 0x100000000 * carry + low;
|
|
52
|
-
low = t / BASE >>> 0;
|
|
53
|
-
digits = '' + (t - BASE * low);
|
|
54
|
-
|
|
55
|
-
if (low === 0 && high === 0) {
|
|
56
|
-
return sign + digits + result;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
pad = '';
|
|
60
|
-
l = 6 - digits.length;
|
|
61
|
-
|
|
62
|
-
for (i = 0; i < l; i++) {
|
|
63
|
-
pad += '0';
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
result = pad + digits + result;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
{
|
|
70
|
-
carry = high % BASE;
|
|
71
|
-
high = high / BASE >>> 0;
|
|
72
|
-
|
|
73
|
-
t = 0x100000000 * carry + low;
|
|
74
|
-
low = t / BASE >>> 0;
|
|
75
|
-
digits = '' + (t - BASE * low);
|
|
76
|
-
|
|
77
|
-
if (low === 0 && high === 0) {
|
|
78
|
-
return sign + digits + result;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
pad = '';
|
|
82
|
-
l = 6 - digits.length;
|
|
83
|
-
|
|
84
|
-
for (i = 0; i < l; i++) {
|
|
85
|
-
pad += '0';
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
result = pad + digits + result;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
{
|
|
92
|
-
carry = high % BASE;
|
|
93
|
-
t = 0x100000000 * carry + low;
|
|
94
|
-
digits = '' + t % BASE;
|
|
95
|
-
|
|
96
|
-
return sign + digits + result;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
module.exports = readInt8;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "pg-int8",
|
|
3
|
-
"version": "1.0.1",
|
|
4
|
-
"description": "64-bit big-endian signed integer-to-string conversion",
|
|
5
|
-
"bugs": "https://github.com/charmander/pg-int8/issues",
|
|
6
|
-
"license": "ISC",
|
|
7
|
-
"files": [
|
|
8
|
-
"index.js"
|
|
9
|
-
],
|
|
10
|
-
"repository": {
|
|
11
|
-
"type": "git",
|
|
12
|
-
"url": "https://github.com/charmander/pg-int8"
|
|
13
|
-
},
|
|
14
|
-
"scripts": {
|
|
15
|
-
"test": "tap test"
|
|
16
|
-
},
|
|
17
|
-
"devDependencies": {
|
|
18
|
-
"@charmander/eslint-config-base": "1.0.2",
|
|
19
|
-
"tap": "10.7.3"
|
|
20
|
-
},
|
|
21
|
-
"engines": {
|
|
22
|
-
"node": ">=4.0.0"
|
|
23
|
-
}
|
|
24
|
-
}
|