@decocms/mesh 2.138.1 → 2.138.3
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-CgKjCX5T.js → AlertCircle-D8UIpq37.js} +1 -1
- package/dist/client/assets/{AlignLeft-CafgXuKx.js → AlignLeft-BtXg7P0e.js} +1 -1
- package/dist/client/assets/{ArrowDown-Bz-MvrNw.js → ArrowDown-D7A05Pqz.js} +1 -1
- package/dist/client/assets/{ArrowLeft-Dr7KGwWB.js → ArrowLeft-CFfxbhXN.js} +1 -1
- package/dist/client/assets/{ArrowUp-QXkytLuV.js → ArrowUp-BHnUcKjj.js} +1 -1
- package/dist/client/assets/{Check-BVn-XQXw.js → Check-DnflcDgh.js} +1 -1
- package/dist/client/assets/{CheckCircle-DnqHD2b0.js → CheckCircle-BfTaFQXT.js} +1 -1
- package/dist/client/assets/{CheckDone01-Brv2U92m.js → CheckDone01-B8Vo5lqI.js} +1 -1
- package/dist/client/assets/{CheckVerified02-tthQxtPx.js → CheckVerified02-CWpuqjel.js} +1 -1
- package/dist/client/assets/{ChevronDown-CmZNdCaS.js → ChevronDown-BdRzf7AV.js} +1 -1
- package/dist/client/assets/{ChevronLeft-mHMQpFVT.js → ChevronLeft-BENcbD0N.js} +1 -1
- package/dist/client/assets/{ChevronRight-CY0-nzU8.js → ChevronRight-B6krViGL.js} +1 -1
- package/dist/client/assets/{Clock-6d4ysRdP.js → Clock-BahX3Ppr.js} +1 -1
- package/dist/client/assets/{Code01-BA57dJxu.js → Code01-DAiaTcLi.js} +1 -1
- package/dist/client/assets/{Container-Y9RWbl67.js → Container-Bhk6-bJW.js} +1 -1
- package/dist/client/assets/{Copy01-DZ6E5xP0.js → Copy01-IhjKnzZh.js} +1 -1
- package/dist/client/assets/{Dataflow03-Cml4HZXI.js → Dataflow03-CplqbZiq.js} +1 -1
- package/dist/client/assets/{DotsHorizontal-DQkzSSjC.js → DotsHorizontal-ol0p2nBi.js} +1 -1
- package/dist/client/assets/{DotsVertical-DvAkHOnZ.js → DotsVertical-DaFbwRBO.js} +1 -1
- package/dist/client/assets/{Download01-EcMzBeib.js → Download01-CpdZoaWE.js} +1 -1
- package/dist/client/assets/{Edit01-Bcbzbq2x.js → Edit01-B2tEsq4Y.js} +1 -1
- package/dist/client/assets/{Edit05-ius6sZ_p.js → Edit05-D1q7xT-x.js} +1 -1
- package/dist/client/assets/{Eye-Dbz01tGa.js → Eye-D7y1c_jY.js} +1 -1
- package/dist/client/assets/{File02-_bfQphDS.js → File02-BBBrx8D7.js} +1 -1
- package/dist/client/assets/{File06-CtjNGYXf.js → File06-BXEc3PLa.js} +1 -1
- package/dist/client/assets/{FilterLines-B-vX4He-.js → FilterLines-DQzwn6mr.js} +1 -1
- package/dist/client/assets/{Globe01-CUfdxq9m.js → Globe01-DxOhGk1c.js} +1 -1
- package/dist/client/assets/{Globe02-2VvxyPcg.js → Globe02-CK23mV4o.js} +1 -1
- package/dist/client/assets/{Grid01-DlS4Aotl.js → Grid01--89xjjlS.js} +1 -1
- package/dist/client/assets/{Hash02-DGdNk7UB.js → Hash02-GHgct6qe.js} +1 -1
- package/dist/client/assets/{Home02-DtFcuGZR.js → Home02-CtaUTS4r.js} +1 -1
- package/dist/client/assets/{Image01-Dfg0iwqO.js → Image01-DV4WJck5.js} +1 -1
- package/dist/client/assets/{Inbox01-D3ddGTIC.js → Inbox01-DJZPgIPT.js} +1 -1
- package/dist/client/assets/{InfoCircle-je8N69QO.js → InfoCircle-D5uH0MNf.js} +1 -1
- package/dist/client/assets/{Key01-BoyC1QYf.js → Key01-caSA-Yw4.js} +1 -1
- package/dist/client/assets/{LayersTwo01-_KLtpdZP.js → LayersTwo01-PpQdLoEG.js} +1 -1
- package/dist/client/assets/{LayoutLeft-ZOWeGbCR.js → LayoutLeft-Cf-N8SYH.js} +1 -1
- package/dist/client/assets/{Link01-tKTG0Jh4.js → Link01-DMneZx2j.js} +1 -1
- package/dist/client/assets/{LinkExternal01-BwJYVUef.js → LinkExternal01-BrnXDZEp.js} +1 -1
- package/dist/client/assets/{List-B98G6V4L.js → List-C5_6cfio.js} +1 -1
- package/dist/client/assets/{Loading01-BSMeCOPp.js → Loading01-BCzCCK_W.js} +1 -1
- package/dist/client/assets/{Lock01-C4nPR8qB.js → Lock01-jPvo4nA0.js} +1 -1
- package/dist/client/assets/{Play-DZT81d_M.js → Play-CkKt4QCZ.js} +1 -1
- package/dist/client/assets/{Plus-BJEu90L2.js → Plus--co7BTa1.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-h-b4V9Ty.js → RefreshCcw01-CbOhHOko.js} +1 -1
- package/dist/client/assets/{Save01-3O6Q3jXg.js → Save01-BTh64p14.js} +1 -1
- package/dist/client/assets/{SearchMd-Bz1QfKYE.js → SearchMd-m173J65G.js} +1 -1
- package/dist/client/assets/{Settings01-xIxMts38.js → Settings01-CZOfcAS6.js} +1 -1
- package/dist/client/assets/{Shield01-0VXjHUcX.js → Shield01-BI5amJl0.js} +1 -1
- package/dist/client/assets/{Terminal-DERQqOc9.js → Terminal-CtGvt6je.js} +1 -1
- package/dist/client/assets/{Trash01-BCX1Jjvd.js → Trash01-HuotuXJH.js} +1 -1
- package/dist/client/assets/{Upload01-C6VOhOTI.js → Upload01-C7rpQkkP.js} +1 -1
- package/dist/client/assets/{Users03-s9NVlLzt.js → Users03-DlGbW_jR.js} +1 -1
- package/dist/client/assets/{X-QBcJi4jT.js → X-TCHNS2KI.js} +1 -1
- package/dist/client/assets/{XCircle-DZ2PW8Qw.js → XCircle-B9lbeJth.js} +1 -1
- package/dist/client/assets/{XClose-D44hSCKh.js → XClose-zAWwTjC9.js} +1 -1
- package/dist/client/assets/{Zap-QZoTyEfK.js → Zap-CgMlO3IL.js} +1 -1
- package/dist/client/assets/{agent-connections-preview-BMwjMW4N.js → agent-connections-preview-CBD487Ew.js} +1 -1
- package/dist/client/assets/{agent-detail-DVSkWzmq.js → agent-detail-BILNtrP7.js} +1 -1
- package/dist/client/assets/{agents-CpIlNqYr.js → agents-8Xh54Wv-.js} +1 -1
- package/dist/client/assets/{alert-dialog-BmtDhvVr.js → alert-dialog-BifPyCni.js} +1 -1
- package/dist/client/assets/{auth-catchall-CLjbueab.js → auth-catchall-CBObZF31.js} +1 -1
- package/dist/client/assets/{avatar-BmVIVkiQ.js → avatar-B3kSzLTz.js} +1 -1
- package/dist/client/assets/{badge-EvVfJ8TL.js → badge-ndLAVsnC.js} +1 -1
- package/dist/client/assets/{binder-DUFpdDXU.js → binder-GTmFyrCu.js} +1 -1
- package/dist/client/assets/{breadcrumb-Bdga_1lf.js → breadcrumb-iZbBQmAw.js} +1 -1
- package/dist/client/assets/{card-9G5nAj8x.js → card-CyJvSJWb.js} +1 -1
- package/dist/client/assets/{chart-DEjOF2cJ.js → chart-BAb0wVHC.js} +1 -1
- package/dist/client/assets/{checkbox-BvJTGxwB.js → checkbox-D9hw1y4e.js} +1 -1
- package/dist/client/assets/{circle-alert-CekdDAhb.js → circle-alert-MDHm-xpi.js} +1 -1
- package/dist/client/assets/{collapsible-B19UiKjZ.js → collapsible-JmR8gcL1.js} +1 -1
- package/dist/client/assets/{collection-detail-DrmJ6TSk.js → collection-detail-DPhTZmU2.js} +1 -1
- package/dist/client/assets/{collection-display-button-C1FKBpbR.js → collection-display-button-DKSbWUip.js} +1 -1
- package/dist/client/assets/{collection-search-DbK91JEu.js → collection-search-CoyqU1D4.js} +1 -1
- package/dist/client/assets/{collection-tab-hL9ji-ye.js → collection-tab-BhUGnesV.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-Cje6fvB4.js → collection-table-wrapper-DB-0Sbir.js} +1 -1
- package/dist/client/assets/{collection-tabs-cOt-fif_.js → collection-tabs-CMDCQky7.js} +1 -1
- package/dist/client/assets/{command-BtSfAFI9.js → command-B1E9omIC.js} +1 -1
- package/dist/client/assets/{connect-BR1Z_JZq.js → connect-VZjoVrkN.js} +1 -1
- package/dist/client/assets/{connection-card-BgsIg5uI.js → connection-card-D1wFGPSt.js} +1 -1
- package/dist/client/assets/{connection-detail-DM846q-r.js → connection-detail-BKyATRjq.js} +1 -1
- package/dist/client/assets/{connection-status-BVSy7Lbw.js → connection-status-Djf9yQEZ.js} +1 -1
- package/dist/client/assets/{connections-DKuCt_Y8.js → connections-B2qIhAsK.js} +1 -1
- package/dist/client/assets/constants-CJIMg126.js +1 -0
- package/dist/client/assets/{constants-CENYawev.js → constants-CQia8SG0.js} +1 -1
- package/dist/client/assets/{create-organization-dialog-BQrV-NKI.js → create-organization-dialog-BeY9othQ.js} +1 -1
- package/dist/client/assets/{create-project-dialog-BLGMQ3Hp.js → create-project-dialog-BEdRfc9R.js} +1 -1
- package/dist/client/assets/{danger-DY8Ewo2_.js → danger-B_y0n4gO.js} +1 -1
- package/dist/client/assets/{danger-zone-De4rWp5j.js → danger-zone-BgWu6tp3.js} +1 -1
- package/dist/client/assets/{decopilot-events-DZJwgi8M.js → decopilot-events-Cxyg_szC.js} +1 -1
- package/dist/client/assets/{dependencies-BiV-P3oq.js → dependencies-DHfx0ASL.js} +1 -1
- package/dist/client/assets/{dialog-D6sFQ8WX.js → dialog-CRMnu4D5.js} +1 -1
- package/dist/client/assets/{dropdown-menu-CW4hQ-U3.js → dropdown-menu-C89udqdU.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-BNQl76uF.js → dynamic-plugin-layout-CJepJHId.js} +1 -1
- package/dist/client/assets/{editable-task-title-Cuismm2W.js → editable-task-title-Dftwn0Jq.js} +1 -1
- package/dist/client/assets/{empty-state-DUAn4T4g.js → empty-state-SPMY63O9.js} +1 -1
- package/dist/client/assets/{env-vars-editor-DW_JGlgc.js → env-vars-editor-B-wGdKWy.js} +1 -1
- package/dist/client/assets/{extract-connection-data-DVzjPlEL.js → extract-connection-data-B9XYD2id.js} +1 -1
- package/dist/client/assets/{file-browser-yGI3Tokn.js → file-browser-WuEQLf3l.js} +2 -2
- package/dist/client/assets/{form-C5MRkie7.js → form-D5fEmRYW.js} +1 -1
- package/dist/client/assets/{general-CRnGbCiP.js → general-CTvWH7rg.js} +1 -1
- package/dist/client/assets/{grid-view-BD4MVFGz.js → grid-view-BnX1z_Ch.js} +1 -1
- package/dist/client/assets/{home-vX38cizk.js → home-C7YK5fqh.js} +1 -1
- package/dist/client/assets/{icon-picker-Cq9H6fnZ.js → icon-picker-z3hf23Xc.js} +1 -1
- package/dist/client/assets/{index-2Hq3nzPo.js → index-BdSTuQz3.js} +1 -1
- package/dist/client/assets/{index-CjXYSIRu.js → index-BtrcIP0U.js} +1 -1
- package/dist/client/assets/{index-CDZHkPUo.js → index-BvccbczP.js} +1 -1
- package/dist/client/assets/{index-0iYxzdEc.js → index-CFro8UN2.js} +3 -3
- package/dist/client/assets/{index-BmWqgTH7.js → index-Dcd2vOoh.js} +1 -1
- package/dist/client/assets/{index-yFb1n6Rv.js → index-TAv8a7S6.js} +1 -1
- package/dist/client/assets/{index-BL3lxRZJ.js → index-UT-OKuyW.js} +1 -1
- package/dist/client/assets/{index-CL1cxmii.js → index-v8sm2sIL.js} +1 -1
- package/dist/client/assets/{index-r2-rl29g.js → index-yK-spAaO.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-D3Bky8Vr.js → infiniteQueryObserver-DRNwzQ2J.js} +1 -1
- package/dist/client/assets/{input-CHhT2nkf.js → input-DHT-dQ79.js} +1 -1
- package/dist/client/assets/{integration-icon-CDLne9Bx.js → integration-icon-BIEcJDPc.js} +1 -1
- package/dist/client/assets/{label-C2e7FGUu.js → label-DTRd2hOl.js} +1 -1
- package/dist/client/assets/{layout-BiyULbXN.js → layout-CoyjPych.js} +1 -1
- package/dist/client/assets/{layout-BWWv_aI7.js → layout-DSQJF_Qw.js} +1 -1
- package/dist/client/assets/{localstorage-keys-DEMu7rYT.js → localstorage-keys-C6UNhMX3.js} +1 -1
- package/dist/client/assets/{login-uPk6sdKZ.js → login-DRo1nfCX.js} +1 -1
- package/dist/client/assets/{markdown-B5sr_hzW.js → markdown-C_NNKbxL.js} +1 -1
- package/dist/client/assets/{mcp-app-renderer-CGZ1sh-c.js → mcp-app-renderer-Npg6Irre.js} +1 -1
- package/dist/client/assets/{mcp-server-card-CQTdwFhf.js → mcp-server-card-_9Ad8GQZ.js} +1 -1
- package/dist/client/assets/{mcp-server-detail-cb9GtzuZ.js → mcp-server-detail-DiUTX-4T.js} +2 -2
- package/dist/client/assets/{members-Ba5jT_gH.js → members-CTLVZ_UU.js} +1 -1
- package/dist/client/assets/{monaco-editor-Bvd9PvhD.js → monaco-editor-kBsXk8Uv.js} +1 -1
- package/dist/client/assets/{monitoring-BNzn1oW8.js → monitoring-BxvRioe2.js} +1 -1
- package/dist/client/assets/{monitoring-dashboard-edit-evjidL3I.js → monitoring-dashboard-edit-BavhlQSN.js} +1 -1
- package/dist/client/assets/{monitoring-dashboard-view-U6rM-Ro7.js → monitoring-dashboard-view-cCvR45k2.js} +1 -1
- package/dist/client/assets/{oauth-callback-f1gCOjJt.js → oauth-callback-Ut8wMr5A.js} +1 -1
- package/dist/client/assets/{page-BhwcvvL0.js → page-ByhxsSXs.js} +1 -1
- package/dist/client/assets/{page-DPp1BGrT.js → page-Can2Mcvy.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-Bu_ibwEa.js → plugin-empty-state-Bfx2fgKl.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-iW64NMvs.js → plugin-empty-state-Cosz1pwR.js} +1 -1
- package/dist/client/assets/{plugin-header-CcLFfDJt.js → plugin-header-D7qmYXR-.js} +1 -1
- package/dist/client/assets/{plugin-header-CMy4J8WN.js → plugin-header-DhF4rvJU.js} +1 -1
- package/dist/client/assets/plugins-CExOue8T.js +1 -0
- package/dist/client/assets/{popover-D-XW-9BB.js → popover-CcXiFLG0.js} +1 -1
- package/dist/client/assets/{project-app-view-BoSS9PA5.js → project-app-view-C8owlFW4.js} +1 -1
- package/dist/client/assets/{project-layout-LEcvJwqZ.js → project-layout-BILGWikD.js} +1 -1
- package/dist/client/assets/{project-plugins-BwriemRT.js → project-plugins-DUyruksA.js} +1 -1
- package/dist/client/assets/{projects-list-pErdXUlt.js → projects-list-BB9cD3_q.js} +1 -1
- package/dist/client/assets/{readme-viewer-weOPpB4j.js → readme-viewer-D7DlvuHz.js} +1 -1
- package/dist/client/assets/{registry-layout-DN7tEV_F.js → registry-layout-CzqzSWVI.js} +1 -1
- package/dist/client/assets/{registry-utils-Djf7ne-W.js → registry-utils-BM82D6MS.js} +1 -1
- package/dist/client/assets/{reports-layout-CSnTrd5_.js → reports-layout-DgIgiik2.js} +1 -1
- package/dist/client/assets/{reset-password-BMulChwc.js → reset-password-C4PRxfSd.js} +1 -1
- package/dist/client/assets/{resizable-uoflj8xd.js → resizable-BASq3Pgk.js} +1 -1
- package/dist/client/assets/{save-actions-BRvZQcuO.js → save-actions-wlTs7EAc.js} +1 -1
- package/dist/client/assets/{scroll-area-B9XyOFWd.js → scroll-area-C6nUo9wy.js} +1 -1
- package/dist/client/assets/{select-hFcLyuj6.js → select-aCEgiwRG.js} +1 -1
- package/dist/client/assets/{shell-layout-B1QIYjyR.js → shell-layout-BkdF_E4v.js} +2 -2
- package/dist/client/assets/{sidebar-settings-D62D4rp1.js → sidebar-settings-JiGQZ3fp.js} +1 -1
- package/dist/client/assets/{skeleton-SDvHnFB1.js → skeleton-C5VDRx_S.js} +1 -1
- package/dist/client/assets/{spinner-CIUl94eZ.js → spinner-D5-FOXs-.js} +1 -1
- package/dist/client/assets/{store-invite-XS9fdhXW.js → store-invite-h96iSwsC.js} +1 -1
- package/dist/client/assets/{switch-DibxUILd.js → switch-CzRdWsOb.js} +1 -1
- package/dist/client/assets/{table-LXmwrTL8.js → table-DbeCzOFv.js} +1 -1
- package/dist/client/assets/{tabs-Cxppso5u.js → tabs-Ml-lETIv.js} +1 -1
- package/dist/client/assets/tasks-CmzV6y78.js +1 -0
- package/dist/client/assets/{tasks-panel-BJr0d70z.js → tasks-panel-U539gk-l.js} +1 -1
- package/dist/client/assets/{textarea-GLKPX8dK.js → textarea-B8s-zfsk.js} +1 -1
- package/dist/client/assets/{time-range-picker-DL5-sQbm.js → time-range-picker-BS12ZDuS.js} +1 -1
- package/dist/client/assets/{toggle-group-C-j9L8sZ.js → toggle-group-xYK4IM-u.js} +1 -1
- package/dist/client/assets/{tools-list-CZPcnVqe.js → tools-list-DUTGV-gT.js} +1 -1
- package/dist/client/assets/{tooltip-_zh2i6u8.js → tooltip-oZyiLpuc.js} +1 -1
- package/dist/client/assets/{topbar-portal-HFtSEbE2.js → topbar-portal-Dioc5LFm.js} +1 -1
- package/dist/client/assets/{types-DZiOPOew.js → types-BwtK0SDt.js} +1 -1
- package/dist/client/assets/{use-binding-Yhfg0KwB.js → use-binding-BSR1JqIQ.js} +1 -1
- package/dist/client/assets/{use-collections-CB1k97jD.js → use-collections-BPrRt-ii.js} +1 -1
- package/dist/client/assets/{use-connection-BTsUg4CR.js → use-connection-DG_OWqAP.js} +1 -1
- package/dist/client/assets/{use-copy-BxWVdGPo.js → use-copy-CXa-kk7H.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-DgCeLB7R.js → use-create-virtual-mcp-Jzi9Oo3B.js} +1 -1
- package/dist/client/assets/{use-install-from-registry-Dh_7GcIF.js → use-install-from-registry-D7-6zhi-.js} +1 -1
- package/dist/client/assets/{use-list-state-DQ3IODiH.js → use-list-state-CmyPcBg7.js} +1 -1
- package/dist/client/assets/{use-llm-BGQCTNtz.js → use-llm-CCXNkRzc.js} +1 -1
- package/dist/client/assets/{use-mcp-resources-BZ6I-Ukg.js → use-mcp-resources-DE_pqa4e.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-7TcYGP4R.js → use-mcp-tools-CZWduBUe.js} +1 -1
- package/dist/client/assets/{use-members-CU8B9gc3.js → use-members-D0qifzUt.js} +1 -1
- package/dist/client/assets/{use-mobile-Sxm0APJV.js → use-mobile-iIf5uj_e.js} +1 -1
- package/dist/client/assets/{use-project-dahVvm9-.js → use-project-BZNqM_qN.js} +1 -1
- package/dist/client/assets/{use-settings-modal-B2A1FLAN.js → use-settings-modal-DKqeXV5B.js} +1 -1
- package/dist/client/assets/{use-view-mode-Bvqhy3D5.js → use-view-mode-F92r7fn5.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-CvHrhqPN.js → use-virtual-mcp-Duh8bmbW.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-CirhN3j-.js +1 -0
- package/dist/client/assets/{useMutation-CPMIjFXe.js → useMutation-DjbNdewa.js} +1 -1
- package/dist/client/assets/useQuery-DXBnvbwb.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-BOauSLbt.js +1 -0
- package/dist/client/assets/{user-WcHhXtVJ.js → user-B9NsMy7x.js} +1 -1
- package/dist/client/assets/{workflow-Bkhqs_-8.js → workflow-C-92M3XD.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +3 -3
- package/dist/server/migrate.js +1 -1
- package/dist/server/node_modules/baseline-browser-mapping/LICENSE.txt +201 -0
- package/dist/server/node_modules/baseline-browser-mapping/README.md +467 -0
- package/dist/server/node_modules/baseline-browser-mapping/dist/cli.cjs +2 -0
- package/dist/server/node_modules/baseline-browser-mapping/dist/index.cjs +1 -0
- package/dist/server/node_modules/baseline-browser-mapping/dist/index.d.ts +104 -0
- package/dist/server/node_modules/baseline-browser-mapping/dist/index.js +1 -0
- package/dist/server/node_modules/baseline-browser-mapping/package.json +68 -0
- package/dist/server/node_modules/electron-to-chromium/LICENSE +5 -0
- package/dist/server/node_modules/electron-to-chromium/README.md +186 -0
- package/dist/server/node_modules/electron-to-chromium/chromium-versions.js +85 -0
- package/dist/server/node_modules/electron-to-chromium/chromium-versions.json +1 -0
- package/dist/server/node_modules/electron-to-chromium/full-chromium-versions.js +2706 -0
- package/dist/server/node_modules/electron-to-chromium/full-chromium-versions.json +1 -0
- package/dist/server/node_modules/electron-to-chromium/full-versions.js +1726 -0
- package/dist/server/node_modules/electron-to-chromium/full-versions.json +1 -0
- package/dist/server/node_modules/electron-to-chromium/index.js +36 -0
- package/dist/server/node_modules/electron-to-chromium/package.json +44 -0
- package/dist/server/node_modules/electron-to-chromium/versions.js +237 -0
- package/dist/server/node_modules/electron-to-chromium/versions.json +1 -0
- package/dist/server/node_modules/picocolors/LICENSE +15 -0
- package/dist/server/node_modules/picocolors/README.md +21 -0
- package/dist/server/node_modules/picocolors/package.json +25 -0
- package/dist/server/node_modules/picocolors/picocolors.browser.js +4 -0
- package/dist/server/node_modules/picocolors/picocolors.d.ts +5 -0
- package/dist/server/node_modules/picocolors/picocolors.js +75 -0
- package/dist/server/node_modules/picocolors/types.d.ts +51 -0
- package/dist/server/server.js +3 -3
- package/package.json +2 -2
- package/dist/client/assets/constants-qCCRu5aX.js +0 -1
- package/dist/client/assets/plugins-CF4Ub-IY.js +0 -1
- package/dist/client/assets/tasks-DX-ik53l.js +0 -1
- package/dist/client/assets/useInfiniteQuery-BjZ7LPEH.js +0 -1
- package/dist/client/assets/useQuery-qNHB6M7A.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-DZdAbvz6.js +0 -1
- package/dist/server/node_modules/@babel/types/LICENSE +0 -22
- package/dist/server/node_modules/@babel/types/README.md +0 -19
- package/dist/server/node_modules/@babel/types/lib/asserts/assertNode.js +0 -16
- package/dist/server/node_modules/@babel/types/lib/asserts/assertNode.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/asserts/generated/index.js +0 -1251
- package/dist/server/node_modules/@babel/types/lib/asserts/generated/index.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/ast-types/generated/index.js +0 -3
- package/dist/server/node_modules/@babel/types/lib/ast-types/generated/index.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js +0 -18
- package/dist/server/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js +0 -31
- package/dist/server/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/builders/generated/index.js +0 -29
- package/dist/server/node_modules/@babel/types/lib/builders/generated/index.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/builders/generated/lowercase.js +0 -2902
- package/dist/server/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/builders/generated/uppercase.js +0 -272
- package/dist/server/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/builders/productions.js +0 -12
- package/dist/server/node_modules/@babel/types/lib/builders/productions.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/builders/react/buildChildren.js +0 -24
- package/dist/server/node_modules/@babel/types/lib/builders/react/buildChildren.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js +0 -22
- package/dist/server/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/builders/validateNode.js +0 -21
- package/dist/server/node_modules/@babel/types/lib/builders/validateNode.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/clone/clone.js +0 -12
- package/dist/server/node_modules/@babel/types/lib/clone/clone.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/clone/cloneDeep.js +0 -12
- package/dist/server/node_modules/@babel/types/lib/clone/cloneDeep.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +0 -12
- package/dist/server/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/clone/cloneNode.js +0 -107
- package/dist/server/node_modules/@babel/types/lib/clone/cloneNode.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +0 -12
- package/dist/server/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/comments/addComment.js +0 -15
- package/dist/server/node_modules/@babel/types/lib/comments/addComment.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/comments/addComments.js +0 -22
- package/dist/server/node_modules/@babel/types/lib/comments/addComments.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/comments/inheritInnerComments.js +0 -12
- package/dist/server/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/comments/inheritLeadingComments.js +0 -12
- package/dist/server/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/comments/inheritTrailingComments.js +0 -12
- package/dist/server/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/comments/inheritsComments.js +0 -17
- package/dist/server/node_modules/@babel/types/lib/comments/inheritsComments.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/comments/removeComments.js +0 -15
- package/dist/server/node_modules/@babel/types/lib/comments/removeComments.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/constants/generated/index.js +0 -60
- package/dist/server/node_modules/@babel/types/lib/constants/generated/index.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/constants/index.js +0 -31
- package/dist/server/node_modules/@babel/types/lib/constants/index.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/converters/ensureBlock.js +0 -14
- package/dist/server/node_modules/@babel/types/lib/converters/ensureBlock.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +0 -65
- package/dist/server/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js +0 -14
- package/dist/server/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/converters/toBlock.js +0 -29
- package/dist/server/node_modules/@babel/types/lib/converters/toBlock.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/converters/toComputedKey.js +0 -14
- package/dist/server/node_modules/@babel/types/lib/converters/toComputedKey.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/converters/toExpression.js +0 -28
- package/dist/server/node_modules/@babel/types/lib/converters/toExpression.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/converters/toIdentifier.js +0 -25
- package/dist/server/node_modules/@babel/types/lib/converters/toIdentifier.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/converters/toKeyAlias.js +0 -38
- package/dist/server/node_modules/@babel/types/lib/converters/toKeyAlias.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/converters/toSequenceExpression.js +0 -19
- package/dist/server/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/converters/toStatement.js +0 -39
- package/dist/server/node_modules/@babel/types/lib/converters/toStatement.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/converters/valueToNode.js +0 -89
- package/dist/server/node_modules/@babel/types/lib/converters/valueToNode.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/definitions/core.js +0 -1725
- package/dist/server/node_modules/@babel/types/lib/definitions/core.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/definitions/deprecated-aliases.js +0 -11
- package/dist/server/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/definitions/experimental.js +0 -124
- package/dist/server/node_modules/@babel/types/lib/definitions/experimental.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/definitions/flow.js +0 -495
- package/dist/server/node_modules/@babel/types/lib/definitions/flow.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/definitions/index.js +0 -106
- package/dist/server/node_modules/@babel/types/lib/definitions/index.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/definitions/jsx.js +0 -157
- package/dist/server/node_modules/@babel/types/lib/definitions/jsx.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/definitions/misc.js +0 -31
- package/dist/server/node_modules/@babel/types/lib/definitions/misc.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/definitions/placeholders.js +0 -27
- package/dist/server/node_modules/@babel/types/lib/definitions/placeholders.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/definitions/typescript.js +0 -528
- package/dist/server/node_modules/@babel/types/lib/definitions/typescript.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/definitions/utils.js +0 -296
- package/dist/server/node_modules/@babel/types/lib/definitions/utils.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/index-legacy.d.ts +0 -2797
- package/dist/server/node_modules/@babel/types/lib/index.d.ts +0 -3617
- package/dist/server/node_modules/@babel/types/lib/index.js +0 -582
- package/dist/server/node_modules/@babel/types/lib/index.js.flow +0 -2650
- package/dist/server/node_modules/@babel/types/lib/index.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js +0 -15
- package/dist/server/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js +0 -65
- package/dist/server/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/modifications/inherits.js +0 -28
- package/dist/server/node_modules/@babel/types/lib/modifications/inherits.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js +0 -17
- package/dist/server/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/modifications/removeProperties.js +0 -24
- package/dist/server/node_modules/@babel/types/lib/modifications/removeProperties.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js +0 -14
- package/dist/server/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +0 -66
- package/dist/server/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js +0 -48
- package/dist/server/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +0 -102
- package/dist/server/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/retrievers/getFunctionName.js +0 -63
- package/dist/server/node_modules/@babel/types/lib/retrievers/getFunctionName.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js +0 -13
- package/dist/server/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/traverse/traverse.js +0 -50
- package/dist/server/node_modules/@babel/types/lib/traverse/traverse.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/traverse/traverseFast.js +0 -40
- package/dist/server/node_modules/@babel/types/lib/traverse/traverseFast.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/utils/deprecationWarning.js +0 -44
- package/dist/server/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/utils/inherit.js +0 -13
- package/dist/server/node_modules/@babel/types/lib/utils/inherit.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +0 -40
- package/dist/server/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/utils/shallowEqual.js +0 -17
- package/dist/server/node_modules/@babel/types/lib/utils/shallowEqual.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js +0 -13
- package/dist/server/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/validators/generated/index.js +0 -2797
- package/dist/server/node_modules/@babel/types/lib/validators/generated/index.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/validators/is.js +0 -27
- package/dist/server/node_modules/@babel/types/lib/validators/is.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/validators/isBinding.js +0 -27
- package/dist/server/node_modules/@babel/types/lib/validators/isBinding.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/validators/isBlockScoped.js +0 -13
- package/dist/server/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/validators/isImmutable.js +0 -21
- package/dist/server/node_modules/@babel/types/lib/validators/isImmutable.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/validators/isLet.js +0 -13
- package/dist/server/node_modules/@babel/types/lib/validators/isLet.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/validators/isNode.js +0 -12
- package/dist/server/node_modules/@babel/types/lib/validators/isNode.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/validators/isNodesEquivalent.js +0 -57
- package/dist/server/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/validators/isPlaceholderType.js +0 -15
- package/dist/server/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/validators/isReferenced.js +0 -96
- package/dist/server/node_modules/@babel/types/lib/validators/isReferenced.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/validators/isScope.js +0 -18
- package/dist/server/node_modules/@babel/types/lib/validators/isScope.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/validators/isSpecifierDefault.js +0 -14
- package/dist/server/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/validators/isType.js +0 -17
- package/dist/server/node_modules/@babel/types/lib/validators/isType.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/validators/isValidES3Identifier.js +0 -13
- package/dist/server/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/validators/isValidIdentifier.js +0 -18
- package/dist/server/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/validators/isVar.js +0 -15
- package/dist/server/node_modules/@babel/types/lib/validators/isVar.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/validators/matchesPattern.js +0 -44
- package/dist/server/node_modules/@babel/types/lib/validators/matchesPattern.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/validators/react/isCompatTag.js +0 -11
- package/dist/server/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/validators/react/isReactComponent.js +0 -11
- package/dist/server/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map +0 -1
- package/dist/server/node_modules/@babel/types/lib/validators/validate.js +0 -42
- package/dist/server/node_modules/@babel/types/lib/validators/validate.js.map +0 -1
- package/dist/server/node_modules/@babel/types/package.json +0 -39
- package/dist/server/node_modules/@jridgewell/trace-mapping/LICENSE +0 -19
- package/dist/server/node_modules/@jridgewell/trace-mapping/README.md +0 -348
- package/dist/server/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs +0 -493
- package/dist/server/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +0 -6
- package/dist/server/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js +0 -559
- package/dist/server/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +0 -6
- package/dist/server/node_modules/@jridgewell/trace-mapping/package.json +0 -67
- package/dist/server/node_modules/@jridgewell/trace-mapping/src/binary-search.ts +0 -115
- package/dist/server/node_modules/@jridgewell/trace-mapping/src/by-source.ts +0 -41
- package/dist/server/node_modules/@jridgewell/trace-mapping/src/flatten-map.ts +0 -192
- package/dist/server/node_modules/@jridgewell/trace-mapping/src/resolve.ts +0 -16
- package/dist/server/node_modules/@jridgewell/trace-mapping/src/sort.ts +0 -45
- package/dist/server/node_modules/@jridgewell/trace-mapping/src/sourcemap-segment.ts +0 -23
- package/dist/server/node_modules/@jridgewell/trace-mapping/src/strip-filename.ts +0 -8
- package/dist/server/node_modules/@jridgewell/trace-mapping/src/trace-mapping.ts +0 -502
- package/dist/server/node_modules/@jridgewell/trace-mapping/src/types.ts +0 -114
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/binary-search.d.cts +0 -33
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/binary-search.d.cts.map +0 -1
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/binary-search.d.mts +0 -33
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/binary-search.d.mts.map +0 -1
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/by-source.d.cts +0 -4
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/by-source.d.cts.map +0 -1
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/by-source.d.mts +0 -4
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/by-source.d.mts.map +0 -1
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.cts +0 -9
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.cts.map +0 -1
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.mts +0 -9
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.mts.map +0 -1
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/resolve.d.cts +0 -4
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/resolve.d.cts.map +0 -1
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/resolve.d.mts +0 -4
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/resolve.d.mts.map +0 -1
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/sort.d.cts +0 -4
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/sort.d.cts.map +0 -1
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/sort.d.mts +0 -4
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/sort.d.mts.map +0 -1
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.cts +0 -17
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.cts.map +0 -1
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.mts +0 -17
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.mts.map +0 -1
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.cts +0 -5
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.cts.map +0 -1
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.mts +0 -5
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.mts.map +0 -1
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.cts +0 -80
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.cts.map +0 -1
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.mts +0 -80
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.mts.map +0 -1
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/types.d.cts +0 -107
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/types.d.cts.map +0 -1
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/types.d.mts +0 -107
- package/dist/server/node_modules/@jridgewell/trace-mapping/types/types.d.mts.map +0 -1
- package/dist/server/node_modules/supports-color/browser.js +0 -24
- package/dist/server/node_modules/supports-color/index.js +0 -152
- package/dist/server/node_modules/supports-color/license +0 -9
- package/dist/server/node_modules/supports-color/package.json +0 -58
- package/dist/server/node_modules/supports-color/readme.md +0 -77
|
@@ -1,502 +0,0 @@
|
|
|
1
|
-
import { encode, decode } from '@jridgewell/sourcemap-codec';
|
|
2
|
-
|
|
3
|
-
import resolver from './resolve';
|
|
4
|
-
import maybeSort from './sort';
|
|
5
|
-
import buildBySources from './by-source';
|
|
6
|
-
import {
|
|
7
|
-
memoizedState,
|
|
8
|
-
memoizedBinarySearch,
|
|
9
|
-
upperBound,
|
|
10
|
-
lowerBound,
|
|
11
|
-
found as bsFound,
|
|
12
|
-
} from './binary-search';
|
|
13
|
-
import {
|
|
14
|
-
COLUMN,
|
|
15
|
-
SOURCES_INDEX,
|
|
16
|
-
SOURCE_LINE,
|
|
17
|
-
SOURCE_COLUMN,
|
|
18
|
-
NAMES_INDEX,
|
|
19
|
-
REV_GENERATED_LINE,
|
|
20
|
-
REV_GENERATED_COLUMN,
|
|
21
|
-
} from './sourcemap-segment';
|
|
22
|
-
import { parse } from './types';
|
|
23
|
-
|
|
24
|
-
import type { SourceMapSegment, ReverseSegment } from './sourcemap-segment';
|
|
25
|
-
import type {
|
|
26
|
-
SourceMapV3,
|
|
27
|
-
DecodedSourceMap,
|
|
28
|
-
EncodedSourceMap,
|
|
29
|
-
InvalidOriginalMapping,
|
|
30
|
-
OriginalMapping,
|
|
31
|
-
InvalidGeneratedMapping,
|
|
32
|
-
GeneratedMapping,
|
|
33
|
-
SourceMapInput,
|
|
34
|
-
Needle,
|
|
35
|
-
SourceNeedle,
|
|
36
|
-
SourceMap,
|
|
37
|
-
EachMapping,
|
|
38
|
-
Bias,
|
|
39
|
-
XInput,
|
|
40
|
-
SectionedSourceMap,
|
|
41
|
-
Ro,
|
|
42
|
-
} from './types';
|
|
43
|
-
import type { Source } from './by-source';
|
|
44
|
-
import type { MemoState } from './binary-search';
|
|
45
|
-
|
|
46
|
-
export type { SourceMapSegment } from './sourcemap-segment';
|
|
47
|
-
export type {
|
|
48
|
-
SourceMap,
|
|
49
|
-
DecodedSourceMap,
|
|
50
|
-
EncodedSourceMap,
|
|
51
|
-
Section,
|
|
52
|
-
SectionedSourceMap,
|
|
53
|
-
SourceMapV3,
|
|
54
|
-
Bias,
|
|
55
|
-
EachMapping,
|
|
56
|
-
GeneratedMapping,
|
|
57
|
-
InvalidGeneratedMapping,
|
|
58
|
-
InvalidOriginalMapping,
|
|
59
|
-
Needle,
|
|
60
|
-
OriginalMapping,
|
|
61
|
-
OriginalMapping as Mapping,
|
|
62
|
-
SectionedSourceMapInput,
|
|
63
|
-
SourceMapInput,
|
|
64
|
-
SourceNeedle,
|
|
65
|
-
XInput,
|
|
66
|
-
EncodedSourceMapXInput,
|
|
67
|
-
DecodedSourceMapXInput,
|
|
68
|
-
SectionedSourceMapXInput,
|
|
69
|
-
SectionXInput,
|
|
70
|
-
} from './types';
|
|
71
|
-
|
|
72
|
-
interface PublicMap {
|
|
73
|
-
_encoded: TraceMap['_encoded'];
|
|
74
|
-
_decoded: TraceMap['_decoded'];
|
|
75
|
-
_decodedMemo: TraceMap['_decodedMemo'];
|
|
76
|
-
_bySources: TraceMap['_bySources'];
|
|
77
|
-
_bySourceMemos: TraceMap['_bySourceMemos'];
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
const LINE_GTR_ZERO = '`line` must be greater than 0 (lines start at line 1)';
|
|
81
|
-
const COL_GTR_EQ_ZERO = '`column` must be greater than or equal to 0 (columns start at column 0)';
|
|
82
|
-
|
|
83
|
-
export const LEAST_UPPER_BOUND = -1;
|
|
84
|
-
export const GREATEST_LOWER_BOUND = 1;
|
|
85
|
-
|
|
86
|
-
export { FlattenMap, FlattenMap as AnyMap } from './flatten-map';
|
|
87
|
-
|
|
88
|
-
export class TraceMap implements SourceMap {
|
|
89
|
-
declare version: SourceMapV3['version'];
|
|
90
|
-
declare file: SourceMapV3['file'];
|
|
91
|
-
declare names: SourceMapV3['names'];
|
|
92
|
-
declare sourceRoot: SourceMapV3['sourceRoot'];
|
|
93
|
-
declare sources: SourceMapV3['sources'];
|
|
94
|
-
declare sourcesContent: SourceMapV3['sourcesContent'];
|
|
95
|
-
declare ignoreList: SourceMapV3['ignoreList'];
|
|
96
|
-
|
|
97
|
-
declare resolvedSources: string[];
|
|
98
|
-
declare private _encoded: string | undefined;
|
|
99
|
-
|
|
100
|
-
declare private _decoded: SourceMapSegment[][] | undefined;
|
|
101
|
-
declare private _decodedMemo: MemoState;
|
|
102
|
-
|
|
103
|
-
declare private _bySources: Source[] | undefined;
|
|
104
|
-
declare private _bySourceMemos: MemoState[] | undefined;
|
|
105
|
-
|
|
106
|
-
constructor(map: Ro<SourceMapInput>, mapUrl?: string | null) {
|
|
107
|
-
const isString = typeof map === 'string';
|
|
108
|
-
if (!isString && (map as unknown as { _decodedMemo: any })._decodedMemo) return map as TraceMap;
|
|
109
|
-
|
|
110
|
-
const parsed = parse(map as Exclude<SourceMapInput, TraceMap>);
|
|
111
|
-
|
|
112
|
-
const { version, file, names, sourceRoot, sources, sourcesContent } = parsed;
|
|
113
|
-
this.version = version;
|
|
114
|
-
this.file = file;
|
|
115
|
-
this.names = names || [];
|
|
116
|
-
this.sourceRoot = sourceRoot;
|
|
117
|
-
this.sources = sources;
|
|
118
|
-
this.sourcesContent = sourcesContent;
|
|
119
|
-
this.ignoreList = parsed.ignoreList || (parsed as XInput).x_google_ignoreList || undefined;
|
|
120
|
-
|
|
121
|
-
const resolve = resolver(mapUrl, sourceRoot);
|
|
122
|
-
this.resolvedSources = sources.map(resolve);
|
|
123
|
-
|
|
124
|
-
const { mappings } = parsed;
|
|
125
|
-
if (typeof mappings === 'string') {
|
|
126
|
-
this._encoded = mappings;
|
|
127
|
-
this._decoded = undefined;
|
|
128
|
-
} else if (Array.isArray(mappings)) {
|
|
129
|
-
this._encoded = undefined;
|
|
130
|
-
this._decoded = maybeSort(mappings, isString);
|
|
131
|
-
} else if ((parsed as unknown as SectionedSourceMap).sections) {
|
|
132
|
-
throw new Error(`TraceMap passed sectioned source map, please use FlattenMap export instead`);
|
|
133
|
-
} else {
|
|
134
|
-
throw new Error(`invalid source map: ${JSON.stringify(parsed)}`);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
this._decodedMemo = memoizedState();
|
|
138
|
-
this._bySources = undefined;
|
|
139
|
-
this._bySourceMemos = undefined;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* Typescript doesn't allow friend access to private fields, so this just casts the map into a type
|
|
145
|
-
* with public access modifiers.
|
|
146
|
-
*/
|
|
147
|
-
function cast(map: unknown): PublicMap {
|
|
148
|
-
return map as any;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* Returns the encoded (VLQ string) form of the SourceMap's mappings field.
|
|
153
|
-
*/
|
|
154
|
-
export function encodedMappings(map: TraceMap): EncodedSourceMap['mappings'] {
|
|
155
|
-
return (cast(map)._encoded ??= encode(cast(map)._decoded!));
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* Returns the decoded (array of lines of segments) form of the SourceMap's mappings field.
|
|
160
|
-
*/
|
|
161
|
-
export function decodedMappings(map: TraceMap): Readonly<DecodedSourceMap['mappings']> {
|
|
162
|
-
return (cast(map)._decoded ||= decode(cast(map)._encoded!));
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* A low-level API to find the segment associated with a generated line/column (think, from a
|
|
167
|
-
* stack trace). Line and column here are 0-based, unlike `originalPositionFor`.
|
|
168
|
-
*/
|
|
169
|
-
export function traceSegment(
|
|
170
|
-
map: TraceMap,
|
|
171
|
-
line: number,
|
|
172
|
-
column: number,
|
|
173
|
-
): Readonly<SourceMapSegment> | null {
|
|
174
|
-
const decoded = decodedMappings(map);
|
|
175
|
-
|
|
176
|
-
// It's common for parent source maps to have pointers to lines that have no
|
|
177
|
-
// mapping (like a "//# sourceMappingURL=") at the end of the child file.
|
|
178
|
-
if (line >= decoded.length) return null;
|
|
179
|
-
|
|
180
|
-
const segments = decoded[line];
|
|
181
|
-
const index = traceSegmentInternal(
|
|
182
|
-
segments,
|
|
183
|
-
cast(map)._decodedMemo,
|
|
184
|
-
line,
|
|
185
|
-
column,
|
|
186
|
-
GREATEST_LOWER_BOUND,
|
|
187
|
-
);
|
|
188
|
-
|
|
189
|
-
return index === -1 ? null : segments[index];
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* A higher-level API to find the source/line/column associated with a generated line/column
|
|
194
|
-
* (think, from a stack trace). Line is 1-based, but column is 0-based, due to legacy behavior in
|
|
195
|
-
* `source-map` library.
|
|
196
|
-
*/
|
|
197
|
-
export function originalPositionFor(
|
|
198
|
-
map: TraceMap,
|
|
199
|
-
needle: Needle,
|
|
200
|
-
): OriginalMapping | InvalidOriginalMapping {
|
|
201
|
-
let { line, column, bias } = needle;
|
|
202
|
-
line--;
|
|
203
|
-
if (line < 0) throw new Error(LINE_GTR_ZERO);
|
|
204
|
-
if (column < 0) throw new Error(COL_GTR_EQ_ZERO);
|
|
205
|
-
|
|
206
|
-
const decoded = decodedMappings(map);
|
|
207
|
-
|
|
208
|
-
// It's common for parent source maps to have pointers to lines that have no
|
|
209
|
-
// mapping (like a "//# sourceMappingURL=") at the end of the child file.
|
|
210
|
-
if (line >= decoded.length) return OMapping(null, null, null, null);
|
|
211
|
-
|
|
212
|
-
const segments = decoded[line];
|
|
213
|
-
const index = traceSegmentInternal(
|
|
214
|
-
segments,
|
|
215
|
-
cast(map)._decodedMemo,
|
|
216
|
-
line,
|
|
217
|
-
column,
|
|
218
|
-
bias || GREATEST_LOWER_BOUND,
|
|
219
|
-
);
|
|
220
|
-
|
|
221
|
-
if (index === -1) return OMapping(null, null, null, null);
|
|
222
|
-
|
|
223
|
-
const segment = segments[index];
|
|
224
|
-
if (segment.length === 1) return OMapping(null, null, null, null);
|
|
225
|
-
|
|
226
|
-
const { names, resolvedSources } = map;
|
|
227
|
-
return OMapping(
|
|
228
|
-
resolvedSources[segment[SOURCES_INDEX]],
|
|
229
|
-
segment[SOURCE_LINE] + 1,
|
|
230
|
-
segment[SOURCE_COLUMN],
|
|
231
|
-
segment.length === 5 ? names[segment[NAMES_INDEX]] : null,
|
|
232
|
-
);
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* Finds the generated line/column position of the provided source/line/column source position.
|
|
237
|
-
*/
|
|
238
|
-
export function generatedPositionFor(
|
|
239
|
-
map: TraceMap,
|
|
240
|
-
needle: SourceNeedle,
|
|
241
|
-
): GeneratedMapping | InvalidGeneratedMapping {
|
|
242
|
-
const { source, line, column, bias } = needle;
|
|
243
|
-
return generatedPosition(map, source, line, column, bias || GREATEST_LOWER_BOUND, false);
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
/**
|
|
247
|
-
* Finds all generated line/column positions of the provided source/line/column source position.
|
|
248
|
-
*/
|
|
249
|
-
export function allGeneratedPositionsFor(map: TraceMap, needle: SourceNeedle): GeneratedMapping[] {
|
|
250
|
-
const { source, line, column, bias } = needle;
|
|
251
|
-
// SourceMapConsumer uses LEAST_UPPER_BOUND for some reason, so we follow suit.
|
|
252
|
-
return generatedPosition(map, source, line, column, bias || LEAST_UPPER_BOUND, true);
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
/**
|
|
256
|
-
* Iterates each mapping in generated position order.
|
|
257
|
-
*/
|
|
258
|
-
export function eachMapping(map: TraceMap, cb: (mapping: EachMapping) => void): void {
|
|
259
|
-
const decoded = decodedMappings(map);
|
|
260
|
-
const { names, resolvedSources } = map;
|
|
261
|
-
|
|
262
|
-
for (let i = 0; i < decoded.length; i++) {
|
|
263
|
-
const line = decoded[i];
|
|
264
|
-
for (let j = 0; j < line.length; j++) {
|
|
265
|
-
const seg = line[j];
|
|
266
|
-
|
|
267
|
-
const generatedLine = i + 1;
|
|
268
|
-
const generatedColumn = seg[0];
|
|
269
|
-
let source = null;
|
|
270
|
-
let originalLine = null;
|
|
271
|
-
let originalColumn = null;
|
|
272
|
-
let name = null;
|
|
273
|
-
if (seg.length !== 1) {
|
|
274
|
-
source = resolvedSources[seg[1]];
|
|
275
|
-
originalLine = seg[2] + 1;
|
|
276
|
-
originalColumn = seg[3];
|
|
277
|
-
}
|
|
278
|
-
if (seg.length === 5) name = names[seg[4]];
|
|
279
|
-
|
|
280
|
-
cb({
|
|
281
|
-
generatedLine,
|
|
282
|
-
generatedColumn,
|
|
283
|
-
source,
|
|
284
|
-
originalLine,
|
|
285
|
-
originalColumn,
|
|
286
|
-
name,
|
|
287
|
-
} as EachMapping);
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
function sourceIndex(map: TraceMap, source: string): number {
|
|
293
|
-
const { sources, resolvedSources } = map;
|
|
294
|
-
let index = sources.indexOf(source);
|
|
295
|
-
if (index === -1) index = resolvedSources.indexOf(source);
|
|
296
|
-
return index;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
/**
|
|
300
|
-
* Retrieves the source content for a particular source, if its found. Returns null if not.
|
|
301
|
-
*/
|
|
302
|
-
export function sourceContentFor(map: TraceMap, source: string): string | null {
|
|
303
|
-
const { sourcesContent } = map;
|
|
304
|
-
if (sourcesContent == null) return null;
|
|
305
|
-
const index = sourceIndex(map, source);
|
|
306
|
-
return index === -1 ? null : sourcesContent[index];
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
/**
|
|
310
|
-
* Determines if the source is marked to ignore by the source map.
|
|
311
|
-
*/
|
|
312
|
-
export function isIgnored(map: TraceMap, source: string): boolean {
|
|
313
|
-
const { ignoreList } = map;
|
|
314
|
-
if (ignoreList == null) return false;
|
|
315
|
-
const index = sourceIndex(map, source);
|
|
316
|
-
return index === -1 ? false : ignoreList.includes(index);
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
/**
|
|
320
|
-
* A helper that skips sorting of the input map's mappings array, which can be expensive for larger
|
|
321
|
-
* maps.
|
|
322
|
-
*/
|
|
323
|
-
export function presortedDecodedMap(map: DecodedSourceMap, mapUrl?: string): TraceMap {
|
|
324
|
-
const tracer = new TraceMap(clone(map, []), mapUrl);
|
|
325
|
-
cast(tracer)._decoded = map.mappings;
|
|
326
|
-
return tracer;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* Returns a sourcemap object (with decoded mappings) suitable for passing to a library that expects
|
|
331
|
-
* a sourcemap, or to JSON.stringify.
|
|
332
|
-
*/
|
|
333
|
-
export function decodedMap(
|
|
334
|
-
map: TraceMap,
|
|
335
|
-
): Omit<DecodedSourceMap, 'mappings'> & { mappings: readonly SourceMapSegment[][] } {
|
|
336
|
-
return clone(map, decodedMappings(map));
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* Returns a sourcemap object (with encoded mappings) suitable for passing to a library that expects
|
|
341
|
-
* a sourcemap, or to JSON.stringify.
|
|
342
|
-
*/
|
|
343
|
-
export function encodedMap(map: TraceMap): EncodedSourceMap {
|
|
344
|
-
return clone(map, encodedMappings(map));
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
function clone<T extends string | readonly SourceMapSegment[][]>(
|
|
348
|
-
map: TraceMap | DecodedSourceMap,
|
|
349
|
-
mappings: T,
|
|
350
|
-
): T extends string ? EncodedSourceMap : DecodedSourceMap {
|
|
351
|
-
return {
|
|
352
|
-
version: map.version,
|
|
353
|
-
file: map.file,
|
|
354
|
-
names: map.names,
|
|
355
|
-
sourceRoot: map.sourceRoot,
|
|
356
|
-
sources: map.sources,
|
|
357
|
-
sourcesContent: map.sourcesContent,
|
|
358
|
-
mappings,
|
|
359
|
-
ignoreList: map.ignoreList || (map as XInput).x_google_ignoreList,
|
|
360
|
-
} as any;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
function OMapping(source: null, line: null, column: null, name: null): InvalidOriginalMapping;
|
|
364
|
-
function OMapping(
|
|
365
|
-
source: string,
|
|
366
|
-
line: number,
|
|
367
|
-
column: number,
|
|
368
|
-
name: string | null,
|
|
369
|
-
): OriginalMapping;
|
|
370
|
-
function OMapping(
|
|
371
|
-
source: string | null,
|
|
372
|
-
line: number | null,
|
|
373
|
-
column: number | null,
|
|
374
|
-
name: string | null,
|
|
375
|
-
): OriginalMapping | InvalidOriginalMapping {
|
|
376
|
-
return { source, line, column, name } as any;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
function GMapping(line: null, column: null): InvalidGeneratedMapping;
|
|
380
|
-
function GMapping(line: number, column: number): GeneratedMapping;
|
|
381
|
-
function GMapping(
|
|
382
|
-
line: number | null,
|
|
383
|
-
column: number | null,
|
|
384
|
-
): GeneratedMapping | InvalidGeneratedMapping {
|
|
385
|
-
return { line, column } as any;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
function traceSegmentInternal(
|
|
389
|
-
segments: SourceMapSegment[],
|
|
390
|
-
memo: MemoState,
|
|
391
|
-
line: number,
|
|
392
|
-
column: number,
|
|
393
|
-
bias: Bias,
|
|
394
|
-
): number;
|
|
395
|
-
function traceSegmentInternal(
|
|
396
|
-
segments: ReverseSegment[],
|
|
397
|
-
memo: MemoState,
|
|
398
|
-
line: number,
|
|
399
|
-
column: number,
|
|
400
|
-
bias: Bias,
|
|
401
|
-
): number;
|
|
402
|
-
function traceSegmentInternal(
|
|
403
|
-
segments: SourceMapSegment[] | ReverseSegment[],
|
|
404
|
-
memo: MemoState,
|
|
405
|
-
line: number,
|
|
406
|
-
column: number,
|
|
407
|
-
bias: Bias,
|
|
408
|
-
): number {
|
|
409
|
-
let index = memoizedBinarySearch(segments, column, memo, line);
|
|
410
|
-
if (bsFound) {
|
|
411
|
-
index = (bias === LEAST_UPPER_BOUND ? upperBound : lowerBound)(segments, column, index);
|
|
412
|
-
} else if (bias === LEAST_UPPER_BOUND) index++;
|
|
413
|
-
|
|
414
|
-
if (index === -1 || index === segments.length) return -1;
|
|
415
|
-
return index;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
function sliceGeneratedPositions(
|
|
419
|
-
segments: ReverseSegment[],
|
|
420
|
-
memo: MemoState,
|
|
421
|
-
line: number,
|
|
422
|
-
column: number,
|
|
423
|
-
bias: Bias,
|
|
424
|
-
): GeneratedMapping[] {
|
|
425
|
-
let min = traceSegmentInternal(segments, memo, line, column, GREATEST_LOWER_BOUND);
|
|
426
|
-
|
|
427
|
-
// We ignored the bias when tracing the segment so that we're guarnateed to find the first (in
|
|
428
|
-
// insertion order) segment that matched. Even if we did respect the bias when tracing, we would
|
|
429
|
-
// still need to call `lowerBound()` to find the first segment, which is slower than just looking
|
|
430
|
-
// for the GREATEST_LOWER_BOUND to begin with. The only difference that matters for us is when the
|
|
431
|
-
// binary search didn't match, in which case GREATEST_LOWER_BOUND just needs to increment to
|
|
432
|
-
// match LEAST_UPPER_BOUND.
|
|
433
|
-
if (!bsFound && bias === LEAST_UPPER_BOUND) min++;
|
|
434
|
-
|
|
435
|
-
if (min === -1 || min === segments.length) return [];
|
|
436
|
-
|
|
437
|
-
// We may have found the segment that started at an earlier column. If this is the case, then we
|
|
438
|
-
// need to slice all generated segments that match _that_ column, because all such segments span
|
|
439
|
-
// to our desired column.
|
|
440
|
-
const matchedColumn = bsFound ? column : segments[min][COLUMN];
|
|
441
|
-
|
|
442
|
-
// The binary search is not guaranteed to find the lower bound when a match wasn't found.
|
|
443
|
-
if (!bsFound) min = lowerBound(segments, matchedColumn, min);
|
|
444
|
-
const max = upperBound(segments, matchedColumn, min);
|
|
445
|
-
|
|
446
|
-
const result = [];
|
|
447
|
-
for (; min <= max; min++) {
|
|
448
|
-
const segment = segments[min];
|
|
449
|
-
result.push(GMapping(segment[REV_GENERATED_LINE] + 1, segment[REV_GENERATED_COLUMN]));
|
|
450
|
-
}
|
|
451
|
-
return result;
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
function generatedPosition(
|
|
455
|
-
map: TraceMap,
|
|
456
|
-
source: string,
|
|
457
|
-
line: number,
|
|
458
|
-
column: number,
|
|
459
|
-
bias: Bias,
|
|
460
|
-
all: false,
|
|
461
|
-
): GeneratedMapping | InvalidGeneratedMapping;
|
|
462
|
-
function generatedPosition(
|
|
463
|
-
map: TraceMap,
|
|
464
|
-
source: string,
|
|
465
|
-
line: number,
|
|
466
|
-
column: number,
|
|
467
|
-
bias: Bias,
|
|
468
|
-
all: true,
|
|
469
|
-
): GeneratedMapping[];
|
|
470
|
-
function generatedPosition(
|
|
471
|
-
map: TraceMap,
|
|
472
|
-
source: string,
|
|
473
|
-
line: number,
|
|
474
|
-
column: number,
|
|
475
|
-
bias: Bias,
|
|
476
|
-
all: boolean,
|
|
477
|
-
): GeneratedMapping | InvalidGeneratedMapping | GeneratedMapping[] {
|
|
478
|
-
line--;
|
|
479
|
-
if (line < 0) throw new Error(LINE_GTR_ZERO);
|
|
480
|
-
if (column < 0) throw new Error(COL_GTR_EQ_ZERO);
|
|
481
|
-
|
|
482
|
-
const { sources, resolvedSources } = map;
|
|
483
|
-
let sourceIndex = sources.indexOf(source);
|
|
484
|
-
if (sourceIndex === -1) sourceIndex = resolvedSources.indexOf(source);
|
|
485
|
-
if (sourceIndex === -1) return all ? [] : GMapping(null, null);
|
|
486
|
-
|
|
487
|
-
const bySourceMemos = (cast(map)._bySourceMemos ||= sources.map(memoizedState));
|
|
488
|
-
const generated = (cast(map)._bySources ||= buildBySources(decodedMappings(map), bySourceMemos));
|
|
489
|
-
|
|
490
|
-
const segments = generated[sourceIndex][line];
|
|
491
|
-
if (segments == null) return all ? [] : GMapping(null, null);
|
|
492
|
-
|
|
493
|
-
const memo = bySourceMemos[sourceIndex];
|
|
494
|
-
|
|
495
|
-
if (all) return sliceGeneratedPositions(segments, memo, line, column, bias);
|
|
496
|
-
|
|
497
|
-
const index = traceSegmentInternal(segments, memo, line, column, bias);
|
|
498
|
-
if (index === -1) return GMapping(null, null);
|
|
499
|
-
|
|
500
|
-
const segment = segments[index];
|
|
501
|
-
return GMapping(segment[REV_GENERATED_LINE] + 1, segment[REV_GENERATED_COLUMN]);
|
|
502
|
-
}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import type { SourceMapSegment } from './sourcemap-segment';
|
|
2
|
-
import type { GREATEST_LOWER_BOUND, LEAST_UPPER_BOUND, TraceMap } from './trace-mapping';
|
|
3
|
-
|
|
4
|
-
export interface SourceMapV3 {
|
|
5
|
-
file?: string | null;
|
|
6
|
-
names: string[];
|
|
7
|
-
sourceRoot?: string;
|
|
8
|
-
sources: (string | null)[];
|
|
9
|
-
sourcesContent?: (string | null)[];
|
|
10
|
-
version: 3;
|
|
11
|
-
ignoreList?: number[];
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export interface EncodedSourceMap extends SourceMapV3 {
|
|
15
|
-
mappings: string;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export interface DecodedSourceMap extends SourceMapV3 {
|
|
19
|
-
mappings: SourceMapSegment[][];
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export interface Section {
|
|
23
|
-
offset: { line: number; column: number };
|
|
24
|
-
map: EncodedSourceMap | DecodedSourceMap | SectionedSourceMap;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface SectionedSourceMap {
|
|
28
|
-
file?: string | null;
|
|
29
|
-
sections: Section[];
|
|
30
|
-
version: 3;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export type OriginalMapping = {
|
|
34
|
-
source: string | null;
|
|
35
|
-
line: number;
|
|
36
|
-
column: number;
|
|
37
|
-
name: string | null;
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
export type InvalidOriginalMapping = {
|
|
41
|
-
source: null;
|
|
42
|
-
line: null;
|
|
43
|
-
column: null;
|
|
44
|
-
name: null;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
export type GeneratedMapping = {
|
|
48
|
-
line: number;
|
|
49
|
-
column: number;
|
|
50
|
-
};
|
|
51
|
-
export type InvalidGeneratedMapping = {
|
|
52
|
-
line: null;
|
|
53
|
-
column: null;
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
export type Bias = typeof GREATEST_LOWER_BOUND | typeof LEAST_UPPER_BOUND;
|
|
57
|
-
|
|
58
|
-
export type XInput = { x_google_ignoreList?: SourceMapV3['ignoreList'] };
|
|
59
|
-
export type EncodedSourceMapXInput = EncodedSourceMap & XInput;
|
|
60
|
-
export type DecodedSourceMapXInput = DecodedSourceMap & XInput;
|
|
61
|
-
export type SectionedSourceMapXInput = Omit<SectionedSourceMap, 'sections'> & {
|
|
62
|
-
sections: SectionXInput[];
|
|
63
|
-
};
|
|
64
|
-
export type SectionXInput = Omit<Section, 'map'> & {
|
|
65
|
-
map: SectionedSourceMapInput;
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
export type SourceMapInput = string | EncodedSourceMapXInput | DecodedSourceMapXInput | TraceMap;
|
|
69
|
-
export type SectionedSourceMapInput = SourceMapInput | SectionedSourceMapXInput;
|
|
70
|
-
|
|
71
|
-
export type Needle = { line: number; column: number; bias?: Bias };
|
|
72
|
-
export type SourceNeedle = { source: string; line: number; column: number; bias?: Bias };
|
|
73
|
-
|
|
74
|
-
export type EachMapping =
|
|
75
|
-
| {
|
|
76
|
-
generatedLine: number;
|
|
77
|
-
generatedColumn: number;
|
|
78
|
-
source: null;
|
|
79
|
-
originalLine: null;
|
|
80
|
-
originalColumn: null;
|
|
81
|
-
name: null;
|
|
82
|
-
}
|
|
83
|
-
| {
|
|
84
|
-
generatedLine: number;
|
|
85
|
-
generatedColumn: number;
|
|
86
|
-
source: string | null;
|
|
87
|
-
originalLine: number;
|
|
88
|
-
originalColumn: number;
|
|
89
|
-
name: string | null;
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
export abstract class SourceMap {
|
|
93
|
-
declare version: SourceMapV3['version'];
|
|
94
|
-
declare file: SourceMapV3['file'];
|
|
95
|
-
declare names: SourceMapV3['names'];
|
|
96
|
-
declare sourceRoot: SourceMapV3['sourceRoot'];
|
|
97
|
-
declare sources: SourceMapV3['sources'];
|
|
98
|
-
declare sourcesContent: SourceMapV3['sourcesContent'];
|
|
99
|
-
declare resolvedSources: SourceMapV3['sources'];
|
|
100
|
-
declare ignoreList: SourceMapV3['ignoreList'];
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export type Ro<T> =
|
|
104
|
-
T extends Array<infer V>
|
|
105
|
-
? V[] | Readonly<V[]> | RoArray<V> | Readonly<RoArray<V>>
|
|
106
|
-
: T extends object
|
|
107
|
-
? T | Readonly<T> | RoObject<T> | Readonly<RoObject<T>>
|
|
108
|
-
: T;
|
|
109
|
-
type RoArray<T> = Ro<T>[];
|
|
110
|
-
type RoObject<T> = { [K in keyof T]: T[K] | Ro<T[K]> };
|
|
111
|
-
|
|
112
|
-
export function parse<T>(map: T): Exclude<T, string> {
|
|
113
|
-
return typeof map === 'string' ? JSON.parse(map) : (map as Exclude<T, string>);
|
|
114
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { SourceMapSegment, ReverseSegment } from './sourcemap-segment.cts';
|
|
2
|
-
export type MemoState = {
|
|
3
|
-
lastKey: number;
|
|
4
|
-
lastNeedle: number;
|
|
5
|
-
lastIndex: number;
|
|
6
|
-
};
|
|
7
|
-
export declare let found: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* A binary search implementation that returns the index if a match is found.
|
|
10
|
-
* If no match is found, then the left-index (the index associated with the item that comes just
|
|
11
|
-
* before the desired index) is returned. To maintain proper sort order, a splice would happen at
|
|
12
|
-
* the next index:
|
|
13
|
-
*
|
|
14
|
-
* ```js
|
|
15
|
-
* const array = [1, 3];
|
|
16
|
-
* const needle = 2;
|
|
17
|
-
* const index = binarySearch(array, needle, (item, needle) => item - needle);
|
|
18
|
-
*
|
|
19
|
-
* assert.equal(index, 0);
|
|
20
|
-
* array.splice(index + 1, 0, needle);
|
|
21
|
-
* assert.deepEqual(array, [1, 2, 3]);
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
export declare function binarySearch(haystack: SourceMapSegment[] | ReverseSegment[], needle: number, low: number, high: number): number;
|
|
25
|
-
export declare function upperBound(haystack: SourceMapSegment[] | ReverseSegment[], needle: number, index: number): number;
|
|
26
|
-
export declare function lowerBound(haystack: SourceMapSegment[] | ReverseSegment[], needle: number, index: number): number;
|
|
27
|
-
export declare function memoizedState(): MemoState;
|
|
28
|
-
/**
|
|
29
|
-
* This overly complicated beast is just to record the last tested line/column and the resulting
|
|
30
|
-
* index, allowing us to skip a few tests if mappings are monotonically increasing.
|
|
31
|
-
*/
|
|
32
|
-
export declare function memoizedBinarySearch(haystack: SourceMapSegment[] | ReverseSegment[], needle: number, state: MemoState, key: number): number;
|
|
33
|
-
//# sourceMappingURL=binary-search.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"binary-search.d.ts","sourceRoot":"","sources":["../src/binary-search.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAG5E,MAAM,MAAM,SAAS,GAAG;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,IAAI,KAAK,SAAQ,CAAC;AAEzB;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,gBAAgB,EAAE,GAAG,cAAc,EAAE,EAC/C,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,GACX,MAAM,CAmBR;AAED,wBAAgB,UAAU,CACxB,QAAQ,EAAE,gBAAgB,EAAE,GAAG,cAAc,EAAE,EAC/C,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,GACZ,MAAM,CAKR;AAED,wBAAgB,UAAU,CACxB,QAAQ,EAAE,gBAAgB,EAAE,GAAG,cAAc,EAAE,EAC/C,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,GACZ,MAAM,CAKR;AAED,wBAAgB,aAAa,IAAI,SAAS,CAMzC;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,gBAAgB,EAAE,GAAG,cAAc,EAAE,EAC/C,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,SAAS,EAChB,GAAG,EAAE,MAAM,GACV,MAAM,CAsBR"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { SourceMapSegment, ReverseSegment } from './sourcemap-segment.mts';
|
|
2
|
-
export type MemoState = {
|
|
3
|
-
lastKey: number;
|
|
4
|
-
lastNeedle: number;
|
|
5
|
-
lastIndex: number;
|
|
6
|
-
};
|
|
7
|
-
export declare let found: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* A binary search implementation that returns the index if a match is found.
|
|
10
|
-
* If no match is found, then the left-index (the index associated with the item that comes just
|
|
11
|
-
* before the desired index) is returned. To maintain proper sort order, a splice would happen at
|
|
12
|
-
* the next index:
|
|
13
|
-
*
|
|
14
|
-
* ```js
|
|
15
|
-
* const array = [1, 3];
|
|
16
|
-
* const needle = 2;
|
|
17
|
-
* const index = binarySearch(array, needle, (item, needle) => item - needle);
|
|
18
|
-
*
|
|
19
|
-
* assert.equal(index, 0);
|
|
20
|
-
* array.splice(index + 1, 0, needle);
|
|
21
|
-
* assert.deepEqual(array, [1, 2, 3]);
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
export declare function binarySearch(haystack: SourceMapSegment[] | ReverseSegment[], needle: number, low: number, high: number): number;
|
|
25
|
-
export declare function upperBound(haystack: SourceMapSegment[] | ReverseSegment[], needle: number, index: number): number;
|
|
26
|
-
export declare function lowerBound(haystack: SourceMapSegment[] | ReverseSegment[], needle: number, index: number): number;
|
|
27
|
-
export declare function memoizedState(): MemoState;
|
|
28
|
-
/**
|
|
29
|
-
* This overly complicated beast is just to record the last tested line/column and the resulting
|
|
30
|
-
* index, allowing us to skip a few tests if mappings are monotonically increasing.
|
|
31
|
-
*/
|
|
32
|
-
export declare function memoizedBinarySearch(haystack: SourceMapSegment[] | ReverseSegment[], needle: number, state: MemoState, key: number): number;
|
|
33
|
-
//# sourceMappingURL=binary-search.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"binary-search.d.ts","sourceRoot":"","sources":["../src/binary-search.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAG5E,MAAM,MAAM,SAAS,GAAG;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,IAAI,KAAK,SAAQ,CAAC;AAEzB;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,gBAAgB,EAAE,GAAG,cAAc,EAAE,EAC/C,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,GACX,MAAM,CAmBR;AAED,wBAAgB,UAAU,CACxB,QAAQ,EAAE,gBAAgB,EAAE,GAAG,cAAc,EAAE,EAC/C,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,GACZ,MAAM,CAKR;AAED,wBAAgB,UAAU,CACxB,QAAQ,EAAE,gBAAgB,EAAE,GAAG,cAAc,EAAE,EAC/C,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,GACZ,MAAM,CAKR;AAED,wBAAgB,aAAa,IAAI,SAAS,CAMzC;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,gBAAgB,EAAE,GAAG,cAAc,EAAE,EAC/C,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,SAAS,EAChB,GAAG,EAAE,MAAM,GACV,MAAM,CAsBR"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"by-source.d.ts","sourceRoot":"","sources":["../src/by-source.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5E,MAAM,MAAM,MAAM,GAAG,cAAc,EAAE,EAAE,CAAC;AAIxC,MAAM,CAAC,OAAO,UAAU,cAAc,CACpC,OAAO,EAAE,SAAS,gBAAgB,EAAE,EAAE,EACtC,KAAK,EAAE,OAAO,EAAE,GACf,MAAM,EAAE,CA4BV"}
|