decocms 2.175.9 → 2.175.10
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/README.md +3 -3
- package/dist/client/assets/{AlertCircle-C1aHEN6f.js → AlertCircle-BckG1FSX.js} +1 -1
- package/dist/client/assets/{AlignLeft-KEOqBH6V.js → AlignLeft-iqIQg7IB.js} +1 -1
- package/dist/client/assets/{ArrowDown-C0InARXN.js → ArrowDown-DsspCEMS.js} +1 -1
- package/dist/client/assets/{ArrowLeft-CMmSGoxl.js → ArrowLeft-G0eOcN7r.js} +1 -1
- package/dist/client/assets/{ArrowUp-C0J0tyPV.js → ArrowUp-CImOjzDT.js} +1 -1
- package/dist/client/assets/{Building02-D7Hfwrk4.js → Building02-CKC-UL-n.js} +1 -1
- package/dist/client/assets/{Check-DnuqdVIb.js → Check-m6yV51Zf.js} +1 -1
- package/dist/client/assets/{CheckCircle-D6b9AmJJ.js → CheckCircle-DwodzSnK.js} +1 -1
- package/dist/client/assets/{CheckVerified02-C3tC8IiA.js → CheckVerified02-C64i5Gmv.js} +1 -1
- package/dist/client/assets/{ChevronDown-BGYYwpml.js → ChevronDown-CntwznNt.js} +1 -1
- package/dist/client/assets/{ChevronLeft-Le_LyEwM.js → ChevronLeft-D8HamAz7.js} +1 -1
- package/dist/client/assets/{ChevronRight-DEonWml9.js → ChevronRight-AwvLN9Xm.js} +1 -1
- package/dist/client/assets/{ChevronUp-D3BUkjtX.js → ChevronUp-DriOfdDY.js} +1 -1
- package/dist/client/assets/{Clock-XRULycfK.js → Clock-BY8qA-20.js} +1 -1
- package/dist/client/assets/{Code01-C9q2vUXt.js → Code01-E3w0zB0q.js} +1 -1
- package/dist/client/assets/{Container-BTi1js90.js → Container-CKDtvb7R.js} +1 -1
- package/dist/client/assets/{Copy01-DG9TIebr.js → Copy01-BIGRaKnx.js} +1 -1
- package/dist/client/assets/{Dataflow03-WZpk1y8t.js → Dataflow03-DAFjfF62.js} +1 -1
- package/dist/client/assets/{DotsHorizontal-BRV7NN7Z.js → DotsHorizontal-BzKhRdYN.js} +1 -1
- package/dist/client/assets/{DotsVertical-HMX94wM4.js → DotsVertical-BvWNaE0h.js} +1 -1
- package/dist/client/assets/{Download01-Doa6J38S.js → Download01-CKV3BwjP.js} +1 -1
- package/dist/client/assets/{Edit01-DGglw0UP.js → Edit01-DbprYbwf.js} +1 -1
- package/dist/client/assets/{Edit05-CAIz9W8a.js → Edit05-DGpIkEu0.js} +1 -1
- package/dist/client/assets/{Eye-TnopHMFL.js → Eye-Tdy11Dl5.js} +1 -1
- package/dist/client/assets/{EyeOff-BZvotA6E.js → EyeOff-BD2WMGG9.js} +1 -1
- package/dist/client/assets/{File02-CslvucfF.js → File02-CyDdiX8Q.js} +1 -1
- package/dist/client/assets/{File06-DnhwEd2o.js → File06-Bo7UQP1z.js} +1 -1
- package/dist/client/assets/{FilterLines-BikhCE_A.js → FilterLines-BWNJKyJY.js} +1 -1
- package/dist/client/assets/{Globe01-BwY4xgBA.js → Globe01-BxtpF7ZM.js} +1 -1
- package/dist/client/assets/{Globe02-DHo2krVx.js → Globe02-BGjhdNyu.js} +1 -1
- package/dist/client/assets/{Grid01-DcS7oWbb.js → Grid01-D3H6Xg7i.js} +1 -1
- package/dist/client/assets/{Home02-DG7OPH9A.js → Home02-W7hMH9ey.js} +1 -1
- package/dist/client/assets/{Image01-Cy0jUz67.js → Image01-B3ey1eNs.js} +1 -1
- package/dist/client/assets/{Inbox01-SIqRC6M_.js → Inbox01-CShDV4g9.js} +1 -1
- package/dist/client/assets/{InfoCircle-Dx2O0Xt-.js → InfoCircle-CbHjIKeV.js} +1 -1
- package/dist/client/assets/{Key01-B7vWLx8d.js → Key01-5-pgJz_X.js} +1 -1
- package/dist/client/assets/{LayersTwo01-ZqHw9gvu.js → LayersTwo01-xinTq-oB.js} +1 -1
- package/dist/client/assets/{LayoutLeft-CxUeW5s7.js → LayoutLeft-qmvwDn9z.js} +1 -1
- package/dist/client/assets/{Link01-Tzs-SoL4.js → Link01-BkPkUWXK.js} +1 -1
- package/dist/client/assets/{LinkExternal01-9hq_Yejy.js → LinkExternal01-n6UrbsMN.js} +1 -1
- package/dist/client/assets/{List-Bw34PFLC.js → List-D6jEB_YS.js} +1 -1
- package/dist/client/assets/{Loading01-DxSeN67O.js → Loading01-qzExU-vn.js} +1 -1
- package/dist/client/assets/{Lock01-Ct-zRKhn.js → Lock01--VhFKO-i.js} +1 -1
- package/dist/client/assets/{Play-c1FkO3nE.js → Play-M74dVSj8.js} +1 -1
- package/dist/client/assets/{Plus-Bsw2xx3c.js → Plus-BcN5mYTX.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-BU2NGbmd.js → RefreshCcw01-CJ_LjIQh.js} +1 -1
- package/dist/client/assets/{Save01-VQSKxdGj.js → Save01-DZtY9BrO.js} +1 -1
- package/dist/client/assets/{SearchMd-CEm1UsrH.js → SearchMd-UvxwhoEZ.js} +1 -1
- package/dist/client/assets/{Settings01-DOl461Rl.js → Settings01-GWfoazTI.js} +1 -1
- package/dist/client/assets/{Shield01-C5KXW9qT.js → Shield01-DVX8J_w1.js} +1 -1
- package/dist/client/assets/{Terminal-agA8BqGj.js → Terminal-C5gGPJHb.js} +1 -1
- package/dist/client/assets/{Tool01-rIq-JrIA.js → Tool01-Du6CYDc3.js} +1 -1
- package/dist/client/assets/{Trash01-DxNUrtVd.js → Trash01-BeH4mX1G.js} +1 -1
- package/dist/client/assets/{Upload01-M2vItn3G.js → Upload01-DdYfc06y.js} +1 -1
- package/dist/client/assets/{Users03-DFk8QutD.js → Users03-DiLHch2s.js} +1 -1
- package/dist/client/assets/{X-D-hccS2q.js → X-BVgYwnSN.js} +1 -1
- package/dist/client/assets/{XClose-kThV85vf.js → XClose-B_VKr8wQ.js} +1 -1
- package/dist/client/assets/{Zap-GxeXYlX_.js → Zap-BVDfwq5q.js} +1 -1
- package/dist/client/assets/{agent-connections-preview-C8bxvbAS.js → agent-connections-preview-CV_kcJKr.js} +1 -1
- package/dist/client/assets/{agent-detail-BkWRn6EE.js → agent-detail-CER9kpP3.js} +2 -2
- package/dist/client/assets/{agents-BJ7USEnc.js → agents-E6Hqu25O.js} +1 -1
- package/dist/client/assets/{ai-providers-logos-C04Mmt5f.js → ai-providers-logos-D-_zB7Sr.js} +1 -1
- package/dist/client/assets/{alert-dialog-BwyEkhM2.js → alert-dialog-DnmZfA4L.js} +1 -1
- package/dist/client/assets/{auth-catchall-DvAu8Eyg.js → auth-catchall-B8eX7azG.js} +1 -1
- package/dist/client/assets/{automation-detail-asaVn5vx.js → automation-detail-CzLKDK1y.js} +1 -1
- package/dist/client/assets/{automations-Bwhm7fQB.js → automations-CbjN-0FM.js} +1 -1
- package/dist/client/assets/{avatar-BV0YYD73.js → avatar-BSFZ3dlu.js} +1 -1
- package/dist/client/assets/{badge-BWycpk7k.js → badge-DXwMtd-Z.js} +1 -1
- package/dist/client/assets/{binder-BeGcEVr1.js → binder-C5fLWQi7.js} +1 -1
- package/dist/client/assets/{breadcrumb-d18jYUDM.js → breadcrumb-D6JDmJ2S.js} +1 -1
- package/dist/client/assets/{card-742ND_Cc.js → card-BJoSSubJ.js} +1 -1
- package/dist/client/assets/{checkbox-BVAXPERq.js → checkbox-BwkFfbIs.js} +1 -1
- package/dist/client/assets/{collapsible-DvRv2NnT.js → collapsible-B4hcL0i5.js} +1 -1
- package/dist/client/assets/{collection-detail-DXDTi8Rz.js → collection-detail-Cjfggo4H.js} +1 -1
- package/dist/client/assets/{collection-display-button-j5LCiK0Q.js → collection-display-button-CjQjrXYK.js} +1 -1
- package/dist/client/assets/{collection-search-CtXFaqLY.js → collection-search-C834Gbkd.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-BoVsVa0v.js → collection-table-wrapper-c-OyqNod.js} +1 -1
- package/dist/client/assets/{collection-tabs-CohgS7tz.js → collection-tabs-UWyuXqmf.js} +1 -1
- package/dist/client/assets/{command-CI-Xkj2M.js → command-CML8jhqy.js} +1 -1
- package/dist/client/assets/{connection-card-wrPBNCYT.js → connection-card-CcVdnsJm.js} +1 -1
- package/dist/client/assets/{connection-detail-Dj8hQuAk.js → connection-detail-bMs_KMUg.js} +1 -1
- package/dist/client/assets/{connection-status-nrfD8oTh.js → connection-status-58RaCSam.js} +1 -1
- package/dist/client/assets/{connections-DeLsYuzw.js → connections-Dw4_1D-J.js} +1 -1
- package/dist/client/assets/constants-DSQJ4mA-.js +1 -0
- package/dist/client/assets/{constants-2xTOnIfa.js → constants-r3XrGYbG.js} +1 -1
- package/dist/client/assets/{context-Dw20ueMA.js → context-Pxzk9yAa.js} +1 -1
- package/dist/client/assets/{create-organization-dialog-DT1tUQlQ.js → create-organization-dialog-BMjOdR5a.js} +1 -1
- package/dist/client/assets/{create-project-dialog-BGO4u8jU.js → create-project-dialog-SFDTscsW.js} +1 -1
- package/dist/client/assets/{danger-CMz_vbij.js → danger-Dy71Pb2o.js} +1 -1
- package/dist/client/assets/{danger-zone-BcsOk5Vr.js → danger-zone-D5RiVtBZ.js} +1 -1
- package/dist/client/assets/{dependencies-Dts1eYJl.js → dependencies-DXXtfNdO.js} +1 -1
- package/dist/client/assets/{dialog-MKggjCdI.js → dialog-CN3oN2_5.js} +1 -1
- package/dist/client/assets/{dropdown-menu-CMlIw-S-.js → dropdown-menu-Dnl7lePz.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-Cf1MucFI.js → dynamic-plugin-layout-DXyKPNZq.js} +1 -1
- package/dist/client/assets/{editable-task-title-D3cgVBo3.js → editable-task-title-BRYofyRM.js} +1 -1
- package/dist/client/assets/{empty-state-DubYd6zZ.js → empty-state-B9Zoo3IL.js} +1 -1
- package/dist/client/assets/{empty-state-BRd-y607.js → empty-state-PTEXjH2T.js} +1 -1
- package/dist/client/assets/{env-vars-editor-D1vn6k0i.js → env-vars-editor-BJ5MKd6M.js} +1 -1
- package/dist/client/assets/{extract-connection-data-D-dHrcF1.js → extract-connection-data-ROrw_5tv.js} +1 -1
- package/dist/client/assets/{file-browser-ygRIk5_q.js → file-browser-D98Dwhoo.js} +2 -2
- package/dist/client/assets/{form-D0i7a49m.js → form-B2YxAT6w.js} +1 -1
- package/dist/client/assets/{general-86xfQ0bC.js → general-C0ErJsVr.js} +1 -1
- package/dist/client/assets/grid-view-CSNjSEA8.js +1 -0
- package/dist/client/assets/home-DxiDlwBm.js +1 -0
- package/dist/client/assets/{index-f4gX1nVj.js → index-4CAe1f2t.js} +1 -1
- package/dist/client/assets/{index-CT-P03Yf.js → index-5yXJT_S7.js} +1 -1
- package/dist/client/assets/{index-C3ftP7Sl.js → index-B6q6vqd0.js} +1 -1
- package/dist/client/assets/{index-arVkExis.js → index-B_Mh_iHm.js} +23 -23
- package/dist/client/assets/{index-1d-yx2Zl.js → index-BpZXhvKz.js} +1 -1
- package/dist/client/assets/{index-DR3pnEhs.js → index-Bx36iogQ.js} +1 -1
- package/dist/client/assets/{index-B4KuSVaI.js → index-Cav0PjSL.js} +1 -1
- package/dist/client/assets/{index-DeLtuFdF.js → index-D6ucPHiS.js} +1 -1
- package/dist/client/assets/{index-CdmVNGw7.css → index-Dzbrw6kA.css} +1 -1
- package/dist/client/assets/{index-BILIM963.js → index-VKBGLCB6.js} +1 -1
- package/dist/client/assets/{index-lxTybxCn.js → index-_pKu_-II.js} +1 -1
- package/dist/client/assets/{index-BbfqtbW1.js → index-mMmMbM5q.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-DojBlr7V.js → infiniteQueryObserver-CH25wvjq.js} +1 -1
- package/dist/client/assets/{input-BQT91Y-t.js → input-D_4oZ8nu.js} +1 -1
- package/dist/client/assets/{integration-icon-Bi_79Mu8.js → integration-icon-DVKrtZhz.js} +1 -1
- package/dist/client/assets/{label-CYg2MwFH.js → label-BwG20xfV.js} +1 -1
- package/dist/client/assets/layout-CHzE2kio.js +1 -0
- package/dist/client/assets/{layout-_82IWE-R.js → layout-DTnaNYiG.js} +1 -1
- package/dist/client/assets/{login-DHbB-OL6.js → login-DRYmweF1.js} +1 -1
- package/dist/client/assets/{logo-upload-BMApr9Pu.js → logo-upload-BSSORaow.js} +1 -1
- package/dist/client/assets/{mcp-app-renderer-ZV-o4QFa.js → mcp-app-renderer-8ajrTmjm.js} +1 -1
- package/dist/client/assets/{mcp-server-card-C37ttVVe.js → mcp-server-card-Dpp8_-SG.js} +1 -1
- package/dist/client/assets/{mcp-server-detail-3ep4QUVI.js → mcp-server-detail-aH2W3eU-.js} +2 -2
- package/dist/client/assets/{members-DnctGzaQ.js → members-DNrFPyjB.js} +1 -1
- package/dist/client/assets/{monaco-editor-CTgv_dwd.js → monaco-editor-DnBdjTrE.js} +1 -1
- package/dist/client/assets/{monitoring-CA5enbIJ.js → monitoring-BK_nuQjd.js} +1 -1
- package/dist/client/assets/{monitoring-dashboard-edit-Bd5c0Rkr.js → monitoring-dashboard-edit-B_Y7GP4U.js} +1 -1
- package/dist/client/assets/{monitoring-dashboard-view-hZIgz82w.js → monitoring-dashboard-view-r3Qixte3.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-CpDiF1vB.js → monitoring-stats-row-K6h9Yaii.js} +1 -1
- package/dist/client/assets/{oauth-callback-Bdl851MB.js → oauth-callback-BG_DRcGu.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-CEb6NOu6.js → oauth-callback-ai-provider-c5HR38l0.js} +1 -1
- package/dist/client/assets/{org-ai-providers-BMiTYNS_.js → org-ai-providers-W-ey8QJ2.js} +1 -1
- package/dist/client/assets/{page-BryQ1mwc.js → page-DbjqMO5S.js} +1 -1
- package/dist/client/assets/{page-VMOc1u6l.js → page-QolsZtZN.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-B3fgdihr.js → plugin-empty-state-BZ960SFV.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-CStV1-AB.js → plugin-empty-state-NdVpmAoT.js} +1 -1
- package/dist/client/assets/{plugin-header-EjAujOEo.js → plugin-header-CuBZGuRI.js} +1 -1
- package/dist/client/assets/{plugin-header-SituO0VT.js → plugin-header-jsT0SDGU.js} +1 -1
- package/dist/client/assets/plugins-D2thjQBi.js +1 -0
- package/dist/client/assets/{popover-nQ7We-Lc.js → popover-Cc6oMb37.js} +1 -1
- package/dist/client/assets/{project-app-view-DHkcvjF1.js → project-app-view-Db17Z6S2.js} +1 -1
- package/dist/client/assets/project-layout-BRL1aeJm.js +1 -0
- package/dist/client/assets/{project-plugins-D96ln6e5.js → project-plugins-BilCFTif.js} +1 -1
- package/dist/client/assets/projects-list-C6e9-ATB.js +1 -0
- package/dist/client/assets/{registry-layout-Bnf2CEkf.js → registry-layout-EVqjIoJX.js} +1 -1
- package/dist/client/assets/{registry-utils-BiqLS082.js → registry-utils-B-z_TiDt.js} +1 -1
- package/dist/client/assets/{reset-password-DEGOQyVj.js → reset-password-CNxK0U7d.js} +1 -1
- package/dist/client/assets/{resizable-CgdchFOD.js → resizable-tXigK8MV.js} +1 -1
- package/dist/client/assets/{save-actions-Bep2KTHs.js → save-actions-D7MAkzXM.js} +1 -1
- package/dist/client/assets/{scroll-area-C77Z6wTJ.js → scroll-area-7CdoSKpD.js} +1 -1
- package/dist/client/assets/{select-DgOkL7kV.js → select-Cm8scUpM.js} +1 -1
- package/dist/client/assets/{select-virtual-mcp-C3OM3L9w.js → select-virtual-mcp-Dj3WFWKI.js} +1 -1
- package/dist/client/assets/{sheet-7obBcKdz.js → sheet-C6TjfzV7.js} +1 -1
- package/dist/client/assets/shell-layout-CLv6NxKt.js +3 -0
- package/dist/client/assets/{sidebar-settings-rZ_hN2_X.js → sidebar-settings-DsRgDoJp.js} +1 -1
- package/dist/client/assets/{skeleton-toLdhVeE.js → skeleton-r8kRFdY2.js} +1 -1
- package/dist/client/assets/{spinner-KvxFQg-_.js → spinner-DGKX__-x.js} +1 -1
- package/dist/client/assets/{store-invite-wquMuN0W.js → store-invite-CWHEgwGH.js} +1 -1
- package/dist/client/assets/{switch-B0R9LaZN.js → switch-IPngcufY.js} +1 -1
- package/dist/client/assets/{table-C_YImEQc.js → table-NBsb6ZgJ.js} +1 -1
- package/dist/client/assets/{tabs-Do1Ndlvl.js → tabs-BbpKtvCt.js} +1 -1
- package/dist/client/assets/{task-status-DUXjLyV-.js → task-status-CH-GZU6H.js} +1 -1
- package/dist/client/assets/tasks-cpJsN7_t.js +1 -0
- package/dist/client/assets/{tasks-panel-DgG7Fs5h.js → tasks-panel-Dmn-7wBO.js} +1 -1
- package/dist/client/assets/{textarea-CHvp5lgM.js → textarea-Cx1EfTyw.js} +1 -1
- package/dist/client/assets/{time-range-picker-DbP0WRyP.js → time-range-picker-BRX0E4nm.js} +1 -1
- package/dist/client/assets/{toggle-group-Bp4K1sba.js → toggle-group-B4P2vyQr.js} +1 -1
- package/dist/client/assets/{tools-list-Cj-E5pe4.js → tools-list-CzaohaW9.js} +1 -1
- package/dist/client/assets/{tooltip-CEipEk8R.js → tooltip-C3Kp2TSK.js} +1 -1
- package/dist/client/assets/{topbar-portal-BkpoKUfl.js → topbar-portal-Q8Dzuq9A.js} +1 -1
- package/dist/client/assets/{types-CSjd7C9V.js → types-oA24bSJu.js} +1 -1
- package/dist/client/assets/{use-automations-C3TjJsfB.js → use-automations-CigF676D.js} +1 -1
- package/dist/client/assets/use-collections-BO3cJvvD.js +1 -0
- package/dist/client/assets/{use-connection-DofMW1yq.js → use-connection-DcjokhTR.js} +1 -1
- package/dist/client/assets/{use-copy-DqnyAasC.js → use-copy-t5j0bIkG.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-UQ78Smrd.js → use-create-virtual-mcp-DNBe9jgM.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-B4Fq6XpE.js → use-infinite-scroll-C1JG9EyW.js} +1 -1
- package/dist/client/assets/{use-install-from-registry-GeE-5B5A.js → use-install-from-registry-CKkqlbBQ.js} +1 -1
- package/dist/client/assets/{use-list-state-8V3cBBhZ.js → use-list-state-CXSyDiQP.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-Dyl3ENGt.js → use-mcp-prompts-CXhzmV1o.js} +1 -1
- package/dist/client/assets/{use-mcp-resources-dnInY4Ju.js → use-mcp-resources-6oWP1CKu.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-rgDZ2hzO.js → use-mcp-tools-BaqzEz0O.js} +1 -1
- package/dist/client/assets/{use-members-BZW0Us6o.js → use-members-D8fC6TrF.js} +1 -1
- package/dist/client/assets/{use-mobile-9hJ8tJ4O.js → use-mobile-CT95jBsA.js} +1 -1
- package/dist/client/assets/{use-project-B_pcPwo3.js → use-project-CDiT6d1y.js} +1 -1
- package/dist/client/assets/{use-store-discovery-D772enuK.js → use-store-discovery-x0IVTFm4.js} +1 -1
- package/dist/client/assets/{use-view-mode-KhrHgWyJ.js → use-view-mode-Y8WekWh3.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-Du2a-bSk.js → use-virtual-mcp-DJgkZKsx.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-C2Z7AUUR.js +1 -0
- package/dist/client/assets/{useMutation-CsmEWi-Q.js → useMutation-DaOBjHnP.js} +1 -1
- package/dist/client/assets/useQuery-CWpouBaI.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-BbjMcV_z.js +1 -0
- package/dist/client/assets/{user-CmVhIMM1.js → user-BokMrk48.js} +1 -1
- package/dist/client/assets/{workflow-CG5G7IXZ.js → workflow-BBtFYRWO.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/server/cli.js +148 -148
- package/dist/server/node_modules/{xtend → pg}/LICENSE +7 -6
- package/dist/server/node_modules/pg/README.md +95 -0
- package/dist/server/node_modules/pg/esm/index.mjs +20 -0
- package/dist/server/node_modules/pg/lib/client.js +743 -0
- package/dist/server/node_modules/pg/lib/connection-parameters.js +171 -0
- package/dist/server/node_modules/pg/lib/connection.js +221 -0
- package/dist/server/node_modules/pg/lib/crypto/cert-signatures.js +122 -0
- package/dist/server/node_modules/pg/lib/crypto/sasl.js +212 -0
- package/dist/server/node_modules/pg/lib/crypto/utils-legacy.js +43 -0
- package/dist/server/node_modules/pg/lib/crypto/utils-webcrypto.js +89 -0
- package/dist/server/node_modules/pg/lib/crypto/utils.js +9 -0
- package/dist/server/node_modules/pg/lib/defaults.js +91 -0
- package/dist/server/node_modules/pg/lib/index.js +73 -0
- package/dist/server/node_modules/pg/lib/native/client.js +323 -0
- package/dist/server/node_modules/pg/lib/native/index.js +2 -0
- package/dist/server/node_modules/pg/lib/native/query.js +165 -0
- package/dist/server/node_modules/pg/lib/query.js +252 -0
- package/dist/server/node_modules/pg/lib/result.js +109 -0
- package/dist/server/node_modules/pg/lib/stream.js +83 -0
- package/dist/server/node_modules/pg/lib/type-overrides.js +35 -0
- package/dist/server/node_modules/pg/lib/utils.js +217 -0
- package/dist/server/node_modules/pg/package.json +76 -0
- package/package.json +1 -1
- package/dist/client/assets/constants-eOfc_ksY.js +0 -1
- package/dist/client/assets/grid-view-BBJ6iygb.js +0 -1
- package/dist/client/assets/home-CKPmSir7.js +0 -1
- package/dist/client/assets/layout-CjYU24vZ.js +0 -1
- package/dist/client/assets/plugins-T6odag1A.js +0 -1
- package/dist/client/assets/project-layout-D1w2rmOA.js +0 -1
- package/dist/client/assets/projects-list-BXoX3R5K.js +0 -1
- package/dist/client/assets/shell-layout-TL-31Cj_.js +0 -3
- package/dist/client/assets/tasks-CpCHAVGl.js +0 -1
- package/dist/client/assets/use-collections-Cw5P_4lQ.js +0 -1
- package/dist/client/assets/useInfiniteQuery-ClZhqSC6.js +0 -1
- package/dist/client/assets/useQuery-DYrQlIK1.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-DnqWbzTD.js +0 -1
- package/dist/server/node_modules/pg-int8/LICENSE +0 -13
- package/dist/server/node_modules/pg-int8/README.md +0 -16
- package/dist/server/node_modules/pg-int8/index.js +0 -100
- package/dist/server/node_modules/pg-int8/package.json +0 -24
- package/dist/server/node_modules/postgres-array/index.d.ts +0 -4
- package/dist/server/node_modules/postgres-array/index.js +0 -97
- package/dist/server/node_modules/postgres-array/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/xtend/.jshintrc +0 -30
- 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
|
@@ -1,409 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
const test = require('tape')
|
|
4
|
-
const split = require('./')
|
|
5
|
-
const callback = require('callback-stream')
|
|
6
|
-
const strcb = callback.bind(null, { decodeStrings: false })
|
|
7
|
-
const objcb = callback.bind(null, { objectMode: true })
|
|
8
|
-
|
|
9
|
-
test('split two lines on end', function (t) {
|
|
10
|
-
t.plan(2)
|
|
11
|
-
|
|
12
|
-
const input = split()
|
|
13
|
-
|
|
14
|
-
input.pipe(strcb(function (err, list) {
|
|
15
|
-
t.error(err)
|
|
16
|
-
t.deepEqual(list, ['hello', 'world'])
|
|
17
|
-
}))
|
|
18
|
-
|
|
19
|
-
input.end('hello\nworld')
|
|
20
|
-
})
|
|
21
|
-
|
|
22
|
-
test('split two lines on two writes', function (t) {
|
|
23
|
-
t.plan(2)
|
|
24
|
-
|
|
25
|
-
const input = split()
|
|
26
|
-
|
|
27
|
-
input.pipe(strcb(function (err, list) {
|
|
28
|
-
t.error(err)
|
|
29
|
-
t.deepEqual(list, ['hello', 'world'])
|
|
30
|
-
}))
|
|
31
|
-
|
|
32
|
-
input.write('hello')
|
|
33
|
-
input.write('\nworld')
|
|
34
|
-
input.end()
|
|
35
|
-
})
|
|
36
|
-
|
|
37
|
-
test('split four lines on three writes', function (t) {
|
|
38
|
-
t.plan(2)
|
|
39
|
-
|
|
40
|
-
const input = split()
|
|
41
|
-
|
|
42
|
-
input.pipe(strcb(function (err, list) {
|
|
43
|
-
t.error(err)
|
|
44
|
-
t.deepEqual(list, ['hello', 'world', 'bye', 'world'])
|
|
45
|
-
}))
|
|
46
|
-
|
|
47
|
-
input.write('hello\nwor')
|
|
48
|
-
input.write('ld\nbye\nwo')
|
|
49
|
-
input.write('rld')
|
|
50
|
-
input.end()
|
|
51
|
-
})
|
|
52
|
-
|
|
53
|
-
test('accumulate multiple writes', function (t) {
|
|
54
|
-
t.plan(2)
|
|
55
|
-
|
|
56
|
-
const input = split()
|
|
57
|
-
|
|
58
|
-
input.pipe(strcb(function (err, list) {
|
|
59
|
-
t.error(err)
|
|
60
|
-
t.deepEqual(list, ['helloworld'])
|
|
61
|
-
}))
|
|
62
|
-
|
|
63
|
-
input.write('hello')
|
|
64
|
-
input.write('world')
|
|
65
|
-
input.end()
|
|
66
|
-
})
|
|
67
|
-
|
|
68
|
-
test('split using a custom string matcher', function (t) {
|
|
69
|
-
t.plan(2)
|
|
70
|
-
|
|
71
|
-
const input = split('~')
|
|
72
|
-
|
|
73
|
-
input.pipe(strcb(function (err, list) {
|
|
74
|
-
t.error(err)
|
|
75
|
-
t.deepEqual(list, ['hello', 'world'])
|
|
76
|
-
}))
|
|
77
|
-
|
|
78
|
-
input.end('hello~world')
|
|
79
|
-
})
|
|
80
|
-
|
|
81
|
-
test('split using a custom regexp matcher', function (t) {
|
|
82
|
-
t.plan(2)
|
|
83
|
-
|
|
84
|
-
const input = split(/~/)
|
|
85
|
-
|
|
86
|
-
input.pipe(strcb(function (err, list) {
|
|
87
|
-
t.error(err)
|
|
88
|
-
t.deepEqual(list, ['hello', 'world'])
|
|
89
|
-
}))
|
|
90
|
-
|
|
91
|
-
input.end('hello~world')
|
|
92
|
-
})
|
|
93
|
-
|
|
94
|
-
test('support an option argument', function (t) {
|
|
95
|
-
t.plan(2)
|
|
96
|
-
|
|
97
|
-
const input = split({ highWaterMark: 2 })
|
|
98
|
-
|
|
99
|
-
input.pipe(strcb(function (err, list) {
|
|
100
|
-
t.error(err)
|
|
101
|
-
t.deepEqual(list, ['hello', 'world'])
|
|
102
|
-
}))
|
|
103
|
-
|
|
104
|
-
input.end('hello\nworld')
|
|
105
|
-
})
|
|
106
|
-
|
|
107
|
-
test('support a mapper function', function (t) {
|
|
108
|
-
t.plan(2)
|
|
109
|
-
|
|
110
|
-
const a = { a: '42' }
|
|
111
|
-
const b = { b: '24' }
|
|
112
|
-
|
|
113
|
-
const input = split(JSON.parse)
|
|
114
|
-
|
|
115
|
-
input.pipe(objcb(function (err, list) {
|
|
116
|
-
t.error(err)
|
|
117
|
-
t.deepEqual(list, [a, b])
|
|
118
|
-
}))
|
|
119
|
-
|
|
120
|
-
input.write(JSON.stringify(a))
|
|
121
|
-
input.write('\n')
|
|
122
|
-
input.end(JSON.stringify(b))
|
|
123
|
-
})
|
|
124
|
-
|
|
125
|
-
test('split lines windows-style', function (t) {
|
|
126
|
-
t.plan(2)
|
|
127
|
-
|
|
128
|
-
const input = split()
|
|
129
|
-
|
|
130
|
-
input.pipe(strcb(function (err, list) {
|
|
131
|
-
t.error(err)
|
|
132
|
-
t.deepEqual(list, ['hello', 'world'])
|
|
133
|
-
}))
|
|
134
|
-
|
|
135
|
-
input.end('hello\r\nworld')
|
|
136
|
-
})
|
|
137
|
-
|
|
138
|
-
test('splits a buffer', function (t) {
|
|
139
|
-
t.plan(2)
|
|
140
|
-
|
|
141
|
-
const input = split()
|
|
142
|
-
|
|
143
|
-
input.pipe(strcb(function (err, list) {
|
|
144
|
-
t.error(err)
|
|
145
|
-
t.deepEqual(list, ['hello', 'world'])
|
|
146
|
-
}))
|
|
147
|
-
|
|
148
|
-
input.end(Buffer.from('hello\nworld'))
|
|
149
|
-
})
|
|
150
|
-
|
|
151
|
-
test('do not end on undefined', function (t) {
|
|
152
|
-
t.plan(2)
|
|
153
|
-
|
|
154
|
-
const input = split(function (line) { })
|
|
155
|
-
|
|
156
|
-
input.pipe(strcb(function (err, list) {
|
|
157
|
-
t.error(err)
|
|
158
|
-
t.deepEqual(list, [])
|
|
159
|
-
}))
|
|
160
|
-
|
|
161
|
-
input.end(Buffer.from('hello\nworld'))
|
|
162
|
-
})
|
|
163
|
-
|
|
164
|
-
test('has destroy method', function (t) {
|
|
165
|
-
t.plan(1)
|
|
166
|
-
|
|
167
|
-
const input = split(function (line) { })
|
|
168
|
-
|
|
169
|
-
input.on('close', function () {
|
|
170
|
-
t.ok(true, 'close emitted')
|
|
171
|
-
t.end()
|
|
172
|
-
})
|
|
173
|
-
|
|
174
|
-
input.destroy()
|
|
175
|
-
})
|
|
176
|
-
|
|
177
|
-
test('support custom matcher and mapper', function (t) {
|
|
178
|
-
t.plan(4)
|
|
179
|
-
|
|
180
|
-
const a = { a: '42' }
|
|
181
|
-
const b = { b: '24' }
|
|
182
|
-
const input = split('~', JSON.parse)
|
|
183
|
-
|
|
184
|
-
t.equal(input.matcher, '~')
|
|
185
|
-
t.equal(typeof input.mapper, 'function')
|
|
186
|
-
|
|
187
|
-
input.pipe(objcb(function (err, list) {
|
|
188
|
-
t.notOk(err, 'no errors')
|
|
189
|
-
t.deepEqual(list, [a, b])
|
|
190
|
-
}))
|
|
191
|
-
|
|
192
|
-
input.write(JSON.stringify(a))
|
|
193
|
-
input.write('~')
|
|
194
|
-
input.end(JSON.stringify(b))
|
|
195
|
-
})
|
|
196
|
-
|
|
197
|
-
test('support custom matcher and options', function (t) {
|
|
198
|
-
t.plan(6)
|
|
199
|
-
|
|
200
|
-
const input = split('~', { highWaterMark: 1024 })
|
|
201
|
-
|
|
202
|
-
t.equal(input.matcher, '~')
|
|
203
|
-
t.equal(typeof input.mapper, 'function')
|
|
204
|
-
t.equal(input._readableState.highWaterMark, 1024)
|
|
205
|
-
t.equal(input._writableState.highWaterMark, 1024)
|
|
206
|
-
|
|
207
|
-
input.pipe(strcb(function (err, list) {
|
|
208
|
-
t.error(err)
|
|
209
|
-
t.deepEqual(list, ['hello', 'world'])
|
|
210
|
-
}))
|
|
211
|
-
|
|
212
|
-
input.end('hello~world')
|
|
213
|
-
})
|
|
214
|
-
|
|
215
|
-
test('support mapper and options', function (t) {
|
|
216
|
-
t.plan(6)
|
|
217
|
-
|
|
218
|
-
const a = { a: '42' }
|
|
219
|
-
const b = { b: '24' }
|
|
220
|
-
const input = split(JSON.parse, { highWaterMark: 1024 })
|
|
221
|
-
|
|
222
|
-
t.ok(input.matcher instanceof RegExp, 'matcher is RegExp')
|
|
223
|
-
t.equal(typeof input.mapper, 'function')
|
|
224
|
-
t.equal(input._readableState.highWaterMark, 1024)
|
|
225
|
-
t.equal(input._writableState.highWaterMark, 1024)
|
|
226
|
-
|
|
227
|
-
input.pipe(objcb(function (err, list) {
|
|
228
|
-
t.error(err)
|
|
229
|
-
t.deepEqual(list, [a, b])
|
|
230
|
-
}))
|
|
231
|
-
|
|
232
|
-
input.write(JSON.stringify(a))
|
|
233
|
-
input.write('\n')
|
|
234
|
-
input.end(JSON.stringify(b))
|
|
235
|
-
})
|
|
236
|
-
|
|
237
|
-
test('split utf8 chars', function (t) {
|
|
238
|
-
t.plan(2)
|
|
239
|
-
|
|
240
|
-
const input = split()
|
|
241
|
-
|
|
242
|
-
input.pipe(strcb(function (err, list) {
|
|
243
|
-
t.error(err)
|
|
244
|
-
t.deepEqual(list, ['烫烫烫', '锟斤拷'])
|
|
245
|
-
}))
|
|
246
|
-
|
|
247
|
-
const buf = Buffer.from('烫烫烫\r\n锟斤拷', 'utf8')
|
|
248
|
-
for (let i = 0; i < buf.length; ++i) {
|
|
249
|
-
input.write(buf.slice(i, i + 1))
|
|
250
|
-
}
|
|
251
|
-
input.end()
|
|
252
|
-
})
|
|
253
|
-
|
|
254
|
-
test('split utf8 chars 2by2', function (t) {
|
|
255
|
-
t.plan(2)
|
|
256
|
-
|
|
257
|
-
const input = split()
|
|
258
|
-
|
|
259
|
-
input.pipe(strcb(function (err, list) {
|
|
260
|
-
t.error(err)
|
|
261
|
-
t.deepEqual(list, ['烫烫烫', '烫烫烫'])
|
|
262
|
-
}))
|
|
263
|
-
|
|
264
|
-
const str = '烫烫烫\r\n烫烫烫'
|
|
265
|
-
const buf = Buffer.from(str, 'utf8')
|
|
266
|
-
for (let i = 0; i < buf.length; i += 2) {
|
|
267
|
-
input.write(buf.slice(i, i + 2))
|
|
268
|
-
}
|
|
269
|
-
input.end()
|
|
270
|
-
})
|
|
271
|
-
|
|
272
|
-
test('split lines when the \n comes at the end of a chunk', function (t) {
|
|
273
|
-
t.plan(2)
|
|
274
|
-
|
|
275
|
-
const input = split()
|
|
276
|
-
|
|
277
|
-
input.pipe(strcb(function (err, list) {
|
|
278
|
-
t.error(err)
|
|
279
|
-
t.deepEqual(list, ['hello', 'world'])
|
|
280
|
-
}))
|
|
281
|
-
|
|
282
|
-
input.write('hello\n')
|
|
283
|
-
input.end('world')
|
|
284
|
-
})
|
|
285
|
-
|
|
286
|
-
test('truncated utf-8 char', function (t) {
|
|
287
|
-
t.plan(2)
|
|
288
|
-
|
|
289
|
-
const input = split()
|
|
290
|
-
|
|
291
|
-
input.pipe(strcb(function (err, list) {
|
|
292
|
-
t.error(err)
|
|
293
|
-
t.deepEqual(list, ['烫' + Buffer.from('e7', 'hex').toString()])
|
|
294
|
-
}))
|
|
295
|
-
|
|
296
|
-
const str = '烫烫'
|
|
297
|
-
const buf = Buffer.from(str, 'utf8')
|
|
298
|
-
|
|
299
|
-
input.write(buf.slice(0, 3))
|
|
300
|
-
input.end(buf.slice(3, 4))
|
|
301
|
-
})
|
|
302
|
-
|
|
303
|
-
test('maximum buffer limit', function (t) {
|
|
304
|
-
t.plan(1)
|
|
305
|
-
|
|
306
|
-
const input = split({ maxLength: 2 })
|
|
307
|
-
input.on('error', function (err) {
|
|
308
|
-
t.ok(err)
|
|
309
|
-
})
|
|
310
|
-
|
|
311
|
-
input.resume()
|
|
312
|
-
|
|
313
|
-
input.write('hey')
|
|
314
|
-
})
|
|
315
|
-
|
|
316
|
-
test('readable highWaterMark', function (t) {
|
|
317
|
-
const input = split()
|
|
318
|
-
t.equal(input._readableState.highWaterMark, 16)
|
|
319
|
-
t.end()
|
|
320
|
-
})
|
|
321
|
-
|
|
322
|
-
test('maxLength < chunk size', function (t) {
|
|
323
|
-
t.plan(2)
|
|
324
|
-
|
|
325
|
-
const input = split({ maxLength: 2 })
|
|
326
|
-
|
|
327
|
-
input.pipe(strcb(function (err, list) {
|
|
328
|
-
t.error(err)
|
|
329
|
-
t.deepEqual(list, ['a', 'b'])
|
|
330
|
-
}))
|
|
331
|
-
|
|
332
|
-
input.end('a\nb')
|
|
333
|
-
})
|
|
334
|
-
|
|
335
|
-
test('maximum buffer limit w/skip', function (t) {
|
|
336
|
-
t.plan(2)
|
|
337
|
-
|
|
338
|
-
const input = split({ maxLength: 2, skipOverflow: true })
|
|
339
|
-
|
|
340
|
-
input.pipe(strcb(function (err, list) {
|
|
341
|
-
t.error(err)
|
|
342
|
-
t.deepEqual(list, ['a', 'b', 'c'])
|
|
343
|
-
}))
|
|
344
|
-
|
|
345
|
-
input.write('a\n123')
|
|
346
|
-
input.write('456')
|
|
347
|
-
input.write('789\nb\nc')
|
|
348
|
-
input.end()
|
|
349
|
-
})
|
|
350
|
-
|
|
351
|
-
test("don't modify the options object", function (t) {
|
|
352
|
-
t.plan(2)
|
|
353
|
-
|
|
354
|
-
const options = {}
|
|
355
|
-
const input = split(options)
|
|
356
|
-
|
|
357
|
-
input.pipe(strcb(function (err, list) {
|
|
358
|
-
t.error(err)
|
|
359
|
-
t.same(options, {})
|
|
360
|
-
}))
|
|
361
|
-
|
|
362
|
-
input.end()
|
|
363
|
-
})
|
|
364
|
-
|
|
365
|
-
test('mapper throws flush', function (t) {
|
|
366
|
-
t.plan(1)
|
|
367
|
-
const error = new Error()
|
|
368
|
-
const input = split(function () {
|
|
369
|
-
throw error
|
|
370
|
-
})
|
|
371
|
-
|
|
372
|
-
input.on('error', (err, list) => {
|
|
373
|
-
t.same(err, error)
|
|
374
|
-
})
|
|
375
|
-
input.end('hello')
|
|
376
|
-
})
|
|
377
|
-
|
|
378
|
-
test('mapper throws on transform', function (t) {
|
|
379
|
-
t.plan(1)
|
|
380
|
-
|
|
381
|
-
const error = new Error()
|
|
382
|
-
const input = split(function (l) {
|
|
383
|
-
throw error
|
|
384
|
-
})
|
|
385
|
-
|
|
386
|
-
input.on('error', (err) => {
|
|
387
|
-
t.same(err, error)
|
|
388
|
-
})
|
|
389
|
-
input.write('a')
|
|
390
|
-
input.write('\n')
|
|
391
|
-
input.end('b')
|
|
392
|
-
})
|
|
393
|
-
|
|
394
|
-
test('supports Symbol.split', function (t) {
|
|
395
|
-
t.plan(2)
|
|
396
|
-
|
|
397
|
-
const input = split({
|
|
398
|
-
[Symbol.split] (str) {
|
|
399
|
-
return str.split('~')
|
|
400
|
-
}
|
|
401
|
-
})
|
|
402
|
-
|
|
403
|
-
input.pipe(strcb(function (err, list) {
|
|
404
|
-
t.error(err)
|
|
405
|
-
t.deepEqual(list, ['hello', 'world'])
|
|
406
|
-
}))
|
|
407
|
-
|
|
408
|
-
input.end('hello~world')
|
|
409
|
-
})
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"maxdepth": 4,
|
|
3
|
-
"maxstatements": 200,
|
|
4
|
-
"maxcomplexity": 12,
|
|
5
|
-
"maxlen": 80,
|
|
6
|
-
"maxparams": 5,
|
|
7
|
-
|
|
8
|
-
"curly": true,
|
|
9
|
-
"eqeqeq": true,
|
|
10
|
-
"immed": true,
|
|
11
|
-
"latedef": false,
|
|
12
|
-
"noarg": true,
|
|
13
|
-
"noempty": true,
|
|
14
|
-
"nonew": true,
|
|
15
|
-
"undef": true,
|
|
16
|
-
"unused": "vars",
|
|
17
|
-
"trailing": true,
|
|
18
|
-
|
|
19
|
-
"quotmark": true,
|
|
20
|
-
"expr": true,
|
|
21
|
-
"asi": true,
|
|
22
|
-
|
|
23
|
-
"browser": false,
|
|
24
|
-
"esnext": true,
|
|
25
|
-
"devel": false,
|
|
26
|
-
"node": false,
|
|
27
|
-
"nonstandard": false,
|
|
28
|
-
|
|
29
|
-
"predef": ["require", "module", "__dirname", "__filename"]
|
|
30
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# xtend
|
|
2
|
-
|
|
3
|
-
[![browser support][3]][4]
|
|
4
|
-
|
|
5
|
-
[](http://github.com/badges/stability-badges)
|
|
6
|
-
|
|
7
|
-
Extend like a boss
|
|
8
|
-
|
|
9
|
-
xtend is a basic utility library which allows you to extend an object by appending all of the properties from each object in a list. When there are identical properties, the right-most property takes precedence.
|
|
10
|
-
|
|
11
|
-
## Examples
|
|
12
|
-
|
|
13
|
-
```js
|
|
14
|
-
var extend = require("xtend")
|
|
15
|
-
|
|
16
|
-
// extend returns a new object. Does not mutate arguments
|
|
17
|
-
var combination = extend({
|
|
18
|
-
a: "a",
|
|
19
|
-
b: "c"
|
|
20
|
-
}, {
|
|
21
|
-
b: "b"
|
|
22
|
-
})
|
|
23
|
-
// { a: "a", b: "b" }
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## Stability status: Locked
|
|
27
|
-
|
|
28
|
-
## MIT Licensed
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
[3]: http://ci.testling.com/Raynos/xtend.png
|
|
32
|
-
[4]: http://ci.testling.com/Raynos/xtend
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
module.exports = extend
|
|
2
|
-
|
|
3
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
4
|
-
|
|
5
|
-
function extend() {
|
|
6
|
-
var target = {}
|
|
7
|
-
|
|
8
|
-
for (var i = 0; i < arguments.length; i++) {
|
|
9
|
-
var source = arguments[i]
|
|
10
|
-
|
|
11
|
-
for (var key in source) {
|
|
12
|
-
if (hasOwnProperty.call(source, key)) {
|
|
13
|
-
target[key] = source[key]
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
return target
|
|
19
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
module.exports = extend
|
|
2
|
-
|
|
3
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
4
|
-
|
|
5
|
-
function extend(target) {
|
|
6
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
7
|
-
var source = arguments[i]
|
|
8
|
-
|
|
9
|
-
for (var key in source) {
|
|
10
|
-
if (hasOwnProperty.call(source, key)) {
|
|
11
|
-
target[key] = source[key]
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
return target
|
|
17
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "xtend",
|
|
3
|
-
"version": "4.0.2",
|
|
4
|
-
"description": "extend like a boss",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"extend",
|
|
7
|
-
"merge",
|
|
8
|
-
"options",
|
|
9
|
-
"opts",
|
|
10
|
-
"object",
|
|
11
|
-
"array"
|
|
12
|
-
],
|
|
13
|
-
"author": "Raynos <raynos2@gmail.com>",
|
|
14
|
-
"repository": "git://github.com/Raynos/xtend.git",
|
|
15
|
-
"main": "immutable",
|
|
16
|
-
"scripts": {
|
|
17
|
-
"test": "node test"
|
|
18
|
-
},
|
|
19
|
-
"dependencies": {},
|
|
20
|
-
"devDependencies": {
|
|
21
|
-
"tape": "~1.1.0"
|
|
22
|
-
},
|
|
23
|
-
"homepage": "https://github.com/Raynos/xtend",
|
|
24
|
-
"contributors": [
|
|
25
|
-
{
|
|
26
|
-
"name": "Jake Verbaten"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"name": "Matt Esch"
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
"bugs": {
|
|
33
|
-
"url": "https://github.com/Raynos/xtend/issues",
|
|
34
|
-
"email": "raynos2@gmail.com"
|
|
35
|
-
},
|
|
36
|
-
"license": "MIT",
|
|
37
|
-
"testling": {
|
|
38
|
-
"files": "test.js",
|
|
39
|
-
"browsers": [
|
|
40
|
-
"ie/7..latest",
|
|
41
|
-
"firefox/16..latest",
|
|
42
|
-
"firefox/nightly",
|
|
43
|
-
"chrome/22..latest",
|
|
44
|
-
"chrome/canary",
|
|
45
|
-
"opera/12..latest",
|
|
46
|
-
"opera/next",
|
|
47
|
-
"safari/5.1..latest",
|
|
48
|
-
"ipad/6.0..latest",
|
|
49
|
-
"iphone/6.0..latest"
|
|
50
|
-
]
|
|
51
|
-
},
|
|
52
|
-
"engines": {
|
|
53
|
-
"node": ">=0.4"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
var test = require("tape")
|
|
2
|
-
var extend = require("./")
|
|
3
|
-
var mutableExtend = require("./mutable")
|
|
4
|
-
|
|
5
|
-
test("merge", function(assert) {
|
|
6
|
-
var a = { a: "foo" }
|
|
7
|
-
var b = { b: "bar" }
|
|
8
|
-
|
|
9
|
-
assert.deepEqual(extend(a, b), { a: "foo", b: "bar" })
|
|
10
|
-
assert.end()
|
|
11
|
-
})
|
|
12
|
-
|
|
13
|
-
test("replace", function(assert) {
|
|
14
|
-
var a = { a: "foo" }
|
|
15
|
-
var b = { a: "bar" }
|
|
16
|
-
|
|
17
|
-
assert.deepEqual(extend(a, b), { a: "bar" })
|
|
18
|
-
assert.end()
|
|
19
|
-
})
|
|
20
|
-
|
|
21
|
-
test("undefined", function(assert) {
|
|
22
|
-
var a = { a: undefined }
|
|
23
|
-
var b = { b: "foo" }
|
|
24
|
-
|
|
25
|
-
assert.deepEqual(extend(a, b), { a: undefined, b: "foo" })
|
|
26
|
-
assert.deepEqual(extend(b, a), { a: undefined, b: "foo" })
|
|
27
|
-
assert.end()
|
|
28
|
-
})
|
|
29
|
-
|
|
30
|
-
test("handle 0", function(assert) {
|
|
31
|
-
var a = { a: "default" }
|
|
32
|
-
var b = { a: 0 }
|
|
33
|
-
|
|
34
|
-
assert.deepEqual(extend(a, b), { a: 0 })
|
|
35
|
-
assert.deepEqual(extend(b, a), { a: "default" })
|
|
36
|
-
assert.end()
|
|
37
|
-
})
|
|
38
|
-
|
|
39
|
-
test("is immutable", function (assert) {
|
|
40
|
-
var record = {}
|
|
41
|
-
|
|
42
|
-
extend(record, { foo: "bar" })
|
|
43
|
-
assert.equal(record.foo, undefined)
|
|
44
|
-
assert.end()
|
|
45
|
-
})
|
|
46
|
-
|
|
47
|
-
test("null as argument", function (assert) {
|
|
48
|
-
var a = { foo: "bar" }
|
|
49
|
-
var b = null
|
|
50
|
-
var c = void 0
|
|
51
|
-
|
|
52
|
-
assert.deepEqual(extend(b, a, c), { foo: "bar" })
|
|
53
|
-
assert.end()
|
|
54
|
-
})
|
|
55
|
-
|
|
56
|
-
test("mutable", function (assert) {
|
|
57
|
-
var a = { foo: "bar" }
|
|
58
|
-
|
|
59
|
-
mutableExtend(a, { bar: "baz" })
|
|
60
|
-
|
|
61
|
-
assert.equal(a.bar, "baz")
|
|
62
|
-
assert.end()
|
|
63
|
-
})
|
|
64
|
-
|
|
65
|
-
test("null prototype", function(assert) {
|
|
66
|
-
var a = { a: "foo" }
|
|
67
|
-
var b = Object.create(null)
|
|
68
|
-
b.b = "bar";
|
|
69
|
-
|
|
70
|
-
assert.deepEqual(extend(a, b), { a: "foo", b: "bar" })
|
|
71
|
-
assert.end()
|
|
72
|
-
})
|
|
73
|
-
|
|
74
|
-
test("null prototype mutable", function (assert) {
|
|
75
|
-
var a = { foo: "bar" }
|
|
76
|
-
var b = Object.create(null)
|
|
77
|
-
b.bar = "baz";
|
|
78
|
-
|
|
79
|
-
mutableExtend(a, b)
|
|
80
|
-
|
|
81
|
-
assert.equal(a.bar, "baz")
|
|
82
|
-
assert.end()
|
|
83
|
-
})
|
|
84
|
-
|
|
85
|
-
test("prototype pollution", function (assert) {
|
|
86
|
-
var a = {}
|
|
87
|
-
var maliciousPayload = '{"__proto__":{"oops":"It works!"}}'
|
|
88
|
-
|
|
89
|
-
assert.strictEqual(a.oops, undefined)
|
|
90
|
-
extend({}, maliciousPayload)
|
|
91
|
-
assert.strictEqual(a.oops, undefined)
|
|
92
|
-
assert.end()
|
|
93
|
-
})
|
|
94
|
-
|
|
95
|
-
test("prototype pollution mutable", function (assert) {
|
|
96
|
-
var a = {}
|
|
97
|
-
var maliciousPayload = '{"__proto__":{"oops":"It works!"}}'
|
|
98
|
-
|
|
99
|
-
assert.strictEqual(a.oops, undefined)
|
|
100
|
-
mutableExtend({}, maliciousPayload)
|
|
101
|
-
assert.strictEqual(a.oops, undefined)
|
|
102
|
-
assert.end()
|
|
103
|
-
})
|