decocms 2.306.14 → 2.306.16
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-VdAWApZT.js → AlertCircle-BxUqcC65.js} +1 -1
- package/dist/client/assets/{ArrowNarrowLeft-Cb6jcK-n.js → ArrowNarrowLeft-dbed6wLb.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-B2ZjjZJQ.js → ArrowUpRight-DVS-GnkB.js} +1 -1
- package/dist/client/assets/{Check-BiM2-TvW.js → Check-DoRwQ3Ai.js} +1 -1
- package/dist/client/assets/{CheckCircle-Ch05HHgc.js → CheckCircle-CPEC-kFB.js} +1 -1
- package/dist/client/assets/{ChevronDown-v_6fVP4M.js → ChevronDown-DXB64IsA.js} +1 -1
- package/dist/client/assets/{ChevronRight-Dzob6m1m.js → ChevronRight-YtQ9S9gI.js} +1 -1
- package/dist/client/assets/{ChevronUp-CUfrmF0I.js → ChevronUp-t7jWf9y_.js} +1 -1
- package/dist/client/assets/{Container-D0YzBjXF.js → Container-P66pV0CI.js} +1 -1
- package/dist/client/assets/{DotsVertical-D--w_iaX.js → DotsVertical-BEK8lHVI.js} +1 -1
- package/dist/client/assets/{LinkExternal01-QD8wgK8o.js → LinkExternal01-CU2DU9lr.js} +1 -1
- package/dist/client/assets/{Lock01-DJV5JMDy.js → Lock01-CIF0fNdh.js} +1 -1
- package/dist/client/assets/{Palette-CEmO1kUS.js → Palette-BPedwfw0.js} +1 -1
- package/dist/client/assets/{Play-CRDhnWxZ.js → Play-CS24dXf6.js} +1 -1
- package/dist/client/assets/{Plus-DDMryLp9.js → Plus-DjikIZA6.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-BNG_5rJW.js → RefreshCcw01-JCxFQWx_.js} +1 -1
- package/dist/client/assets/{SearchMd-BL69FKVv.js → SearchMd-BHhaDsCR.js} +1 -1
- package/dist/client/assets/{Settings02-CHdnS1Le.js → Settings02-B2YA0kJh.js} +1 -1
- package/dist/client/assets/{Shield01-CDWmokZC.js → Shield01-D3MAa7yt.js} +1 -1
- package/dist/client/assets/{Star01-C0QV--XQ.js → Star01-DslU1t6X.js} +1 -1
- package/dist/client/assets/{Sun-B4qv1AhA.js → Sun-BNDFl9r8.js} +1 -1
- package/dist/client/assets/{Tool01-DZ5nMk2X.js → Tool01-BrpkySXZ.js} +1 -1
- package/dist/client/assets/{Trash01-EHajsAd0.js → Trash01-BqwFb0A_.js} +1 -1
- package/dist/client/assets/{User01-DMVSPQ8_.js → User01-GHtqDV7V.js} +1 -1
- package/dist/client/assets/{Users03-Bpy5JElG.js → Users03-DSTg3loJ.js} +1 -1
- package/dist/client/assets/{X-BdF-Ta2X.js → X-9F3-7Qu-.js} +1 -1
- package/dist/client/assets/{XCircle-Mzs74oa5.js → XCircle-CIklzsgk.js} +1 -1
- package/dist/client/assets/{XClose-BKDvrGgg.js → XClose-xmkyKp2K.js} +1 -1
- package/dist/client/assets/{Zap-B1XrF636.js → Zap-Dw5QnEu6.js} +1 -1
- package/dist/client/assets/{ZapSquare-CM6EGSyy.js → ZapSquare-CDf2uQDM.js} +1 -1
- package/dist/client/assets/{accordion-BG6WV2yf.js → accordion-Bxj85yU8.js} +1 -1
- package/dist/client/assets/{agent-icon-CkZZqRPj.js → agent-icon-BI5B4Un9.js} +1 -1
- package/dist/client/assets/{agents-list-Gt0A9Rtw.js → agents-list-cjaV9gO1.js} +1 -1
- package/dist/client/assets/ai-providers-5W06wRAQ.js +1 -0
- package/dist/client/assets/{alert-dialog-BiImvuLv.js → alert-dialog-CEZt1mMv.js} +1 -1
- package/dist/client/assets/{auth-catchall-CI5uzK_0.js → auth-catchall-Bo6b4tx9.js} +1 -1
- package/dist/client/assets/{automation-list-row-DgBTeHKk.js → automation-list-row-BBTf5H3M.js} +1 -1
- package/dist/client/assets/{automations-1RQ_Ya9s.js → automations-BKPFD9Ja.js} +1 -1
- package/dist/client/assets/{avatar-q80j4hVX.js → avatar-CT6eYKqk.js} +1 -1
- package/dist/client/assets/{badge-C8h2D-cf.js → badge-CGxyvgNp.js} +1 -1
- package/dist/client/assets/{brand-context--QAUCooh.js → brand-context-Bi-ZjgQ-.js} +1 -1
- package/dist/client/assets/{card-Dv-Qnw_l.js → card-6hPIh1HI.js} +1 -1
- package/dist/client/assets/{chat-context-Cs8XiFv-.js → chat-context-BSRa2kkf.js} +1 -1
- package/dist/client/assets/{checkbox-cUUI4UbZ.js → checkbox-CzhVVgPv.js} +1 -1
- package/dist/client/assets/{collection-detail-DdBUKeCk.js → collection-detail-JIbsDqDN.js} +1 -1
- package/dist/client/assets/{collection-display-button-CTTtVxZI.js → collection-display-button-HrNb7gkh.js} +1 -1
- package/dist/client/assets/{collection-search-CSWcPc5L.js → collection-search-Bl9ZDXmm.js} +1 -1
- package/dist/client/assets/{collection-search-BEV6zp35.js → collection-search-bjhX_DQJ.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-DQYbUgU8.js → collection-table-wrapper-DwU6rHp1.js} +1 -1
- package/dist/client/assets/{collection-tabs-CfplzF48.js → collection-tabs-DKIaUxq2.js} +1 -1
- package/dist/client/assets/{collections-ohRmFoyb.js → collections-BWKzUSMJ.js} +1 -1
- package/dist/client/assets/{command-DDwhSRvD.js → command-sI-usUZO.js} +1 -1
- package/dist/client/assets/{connection-card-D5kgRWc3.js → connection-card-BuFW7ziq.js} +1 -1
- package/dist/client/assets/{connection-detail-Bn-xI-SY.js → connection-detail-D1n84L5f.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-Bi1lg2fC.js → connection-form-helpers-Ba0yTgLA.js} +1 -1
- package/dist/client/assets/{connections-0dR0fYEw.js → connections-DNtea3jW.js} +1 -1
- package/dist/client/assets/{constants-B0iAJAyD.js → constants-DCnlFjqn.js} +1 -1
- package/dist/client/assets/{constants-BGb3csMB.js → constants-Dcej9QBL.js} +1 -1
- package/dist/client/assets/{dialog-B9k-J44Q.js → dialog-CukUkaA0.js} +1 -1
- package/dist/client/assets/{domain-settings-BDwmEILK.js → domain-settings-_tgTlYs4.js} +1 -1
- package/dist/client/assets/{drawer-C2prDcqZ.js → drawer-DKdVCbqa.js} +1 -1
- package/dist/client/assets/{dropdown-menu-DCt7nnpF.js → dropdown-menu-Dyp5jkrZ.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-DMU6tYwj.js → dynamic-plugin-layout-ClJzS6MG.js} +1 -1
- package/dist/client/assets/{empty-state-DkUQz5Y_.js → empty-state-DgPdztkz.js} +1 -1
- package/dist/client/assets/{empty-state-DMA3XSg2.js → empty-state-HuxiJz6g.js} +1 -1
- package/dist/client/assets/{extract-connection-data-Du0Nr7p1.js → extract-connection-data-DnlHsVIm.js} +1 -1
- package/dist/client/assets/{features-DS7y3VlZ.js → features-CHHiQlay.js} +1 -1
- package/dist/client/assets/{form-kltPHESZ.js → form-DPCHMC2z.js} +1 -1
- package/dist/client/assets/{general-DdyLkb4p.js → general-0yzj5hD1.js} +1 -1
- package/dist/client/assets/{index-CxB2xnH4.js → index-AlfIcp68.js} +1 -1
- package/dist/client/assets/{index-BCJLKe3B.js → index-B1SFhjUb.js} +1 -1
- package/dist/client/assets/{index-D9ZWPEnV.js → index-BYoon3Rz.js} +1 -1
- package/dist/client/assets/{index-Dq__xIAQ.js → index-BeIkh4KB.js} +1 -1
- package/dist/client/assets/{index-DV65bUQf.js → index-Bfxi2-QK.js} +1 -1
- package/dist/client/assets/{index-BPz6vLPS.js → index-BjM1UwU3.js} +1 -1
- package/dist/client/assets/{index-CHrUmZgp.js → index-Bjw69aaJ.js} +2 -2
- package/dist/client/assets/{index-BikT2EMs.js → index-BxB0f-A8.js} +1 -1
- package/dist/client/assets/{index-DB0YdXxd.js → index-CUrufY3p.js} +1 -1
- package/dist/client/assets/{index-jJk33FDJ.js → index-CXJhMcMX.js} +1 -1
- package/dist/client/assets/index-D6u0odbV.js +1 -0
- package/dist/client/assets/{index-BKV2fRzm.js → index-DCBbwKyj.js} +1 -1
- package/dist/client/assets/{index-CPTlnotN.js → index-Dvwa1D2V.js} +3 -3
- package/dist/client/assets/{index-BFJo4vrg.js → index-DxhUbn01.js} +1 -1
- package/dist/client/assets/{index-B5mfsg_s.js → index-Rk1dCgU7.js} +1 -1
- package/dist/client/assets/{index-Che5DeTo.js → index-X3QCXd2O.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-BondwvTH.js → infiniteQueryObserver-freR2mDq.js} +1 -1
- package/dist/client/assets/{input-Do0Zx2-t.js → input-BUARZJlR.js} +1 -1
- package/dist/client/assets/{integration-icon-BU0UtHw1.js → integration-icon-Bp0DzOEa.js} +1 -1
- package/dist/client/assets/{label-xFeGPJPK.js → label-BMzuhmhd.js} +1 -1
- package/dist/client/assets/{layout-Bh0Tzv5J.js → layout-Ev8AV0kr.js} +1 -1
- package/dist/client/assets/{lean-canvas-recruit-modal-Bi0R10xw.js → lean-canvas-recruit-modal-B8MFE0IA.js} +1 -1
- package/dist/client/assets/{login-DFLXeUmR.js → login-BrQv5lyx.js} +1 -1
- package/dist/client/assets/{members-DMjA2IwS.js → members-BWGVVyqe.js} +1 -1
- package/dist/client/assets/{monaco-editor-BZYPmAIH.js → monaco-editor-Du7ElKAI.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-B44nIKev.js → monitoring-stats-row-CcQqg9iI.js} +1 -1
- package/dist/client/assets/{oauth-callback-CoQK7QX3.js → oauth-callback-BRhWLv2e.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-DWII6eI4.js → oauth-callback-ai-provider-Db3PPUDD.js} +1 -1
- package/dist/client/assets/{onboarding-D-GymYEI.js → onboarding-CzhPlafQ.js} +1 -1
- package/dist/client/assets/{org-layout-B4d_ZkIu.js → org-layout-CRAap21A.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-PFHlgq8g.js → org-plugin-layout-Bn1lgz5Q.js} +1 -1
- package/dist/client/assets/{pair-BVw6SD1z.js → pair-CdEIn_Fi.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-9i7dQecv.js → plugin-empty-state-CBerBNpb.js} +1 -1
- package/dist/client/assets/{plugin-header-Yv_MlSUJ.js → plugin-header-BEN1yBOB.js} +1 -1
- package/dist/client/assets/{plugin-layout-CmfsA57I.js → plugin-layout-D2yZRBND.js} +1 -1
- package/dist/client/assets/{popover-C6TGJ7tP.js → popover-_7wxnD51.js} +1 -1
- package/dist/client/assets/{profile-B5Uqg-1n.js → profile-CzaHw7bx.js} +1 -1
- package/dist/client/assets/{project-app-view-Cym9YWZI.js → project-app-view-DhH5yGrD.js} +1 -1
- package/dist/client/assets/registry-DUvTdGSe.js +2 -0
- package/dist/client/assets/{registry-layout-DN05Co_7.js → registry-layout-CQjwAaJb.js} +1 -1
- package/dist/client/assets/{required-auth-layout-BgC3m76H.js → required-auth-layout-BY8lhKy4.js} +1 -1
- package/dist/client/assets/{reset-password-DIKcKBJA.js → reset-password-DTyzbjKi.js} +1 -1
- package/dist/client/assets/{roles-YwWd0IU_.js → roles-m9w8Jslm.js} +1 -1
- package/dist/client/assets/{scroll-area-Dm9XewPU.js → scroll-area-BgUDJdKr.js} +1 -1
- package/dist/client/assets/{search-input-B6ULbBJE.js → search-input-pZ_hOujM.js} +1 -1
- package/dist/client/assets/{select-CQme0ALA.js → select-c-2PeMaU.js} +1 -1
- package/dist/client/assets/{select-model-DXawshPk.js → select-model-DzpDPgXQ.js} +1 -1
- package/dist/client/assets/{settings-layout-B6BcNt_F.js → settings-layout-Cgg5UTdj.js} +1 -1
- package/dist/client/assets/{settings-section-CX6DrRQc.js → settings-section-DmdYImMO.js} +1 -1
- package/dist/client/assets/{shell-layout-BYMnLoch.js → shell-layout-CkkCLhl0.js} +1 -1
- package/dist/client/assets/{skeleton-CcWsdROd.js → skeleton-DPHnStKD.js} +1 -1
- package/dist/client/assets/{sso-Bn24EPSu.js → sso-DOYPZIN2.js} +1 -1
- package/dist/client/assets/{store-CnYcJcjA.js → store-BJDbEpRn.js} +1 -1
- package/dist/client/assets/store-registry-DulBzi9R.js +2 -0
- package/dist/client/assets/{switch-iFtU_Uj0.js → switch-4IjaBZMA.js} +1 -1
- package/dist/client/assets/{table-CrLtxirL.js → table-CIwp7Htw.js} +1 -1
- package/dist/client/assets/{tabs-CLXQLaZb.js → tabs-DYmNqoev.js} +1 -1
- package/dist/client/assets/{task-status-CAq0fkQN.js → task-status-Cvl373Z2.js} +1 -1
- package/dist/client/assets/{textarea-Biq9f3vB.js → textarea-C9L6kVsx.js} +1 -1
- package/dist/client/assets/{toggle-group-Dj5MlNbV.js → toggle-group-D--FLId8.js} +1 -1
- package/dist/client/assets/{tools-list-CEc7i5TR.js → tools-list-CN1hnd16.js} +1 -1
- package/dist/client/assets/{tooltip-oz4PgHaK.js → tooltip-_RzEPaVD.js} +1 -1
- package/dist/client/assets/{types-0ZrdjKIw.js → types-SGi3vg6D.js} +1 -1
- package/dist/client/assets/{use-ai-providers-BfAEQYsq.js → use-ai-providers-D5zyDWM6.js} +1 -1
- package/dist/client/assets/{use-collections-wkyc_t0D.js → use-collections-Dy79KieC.js} +1 -1
- package/dist/client/assets/{use-connection-BUWHubVp.js → use-connection-Clfms91o.js} +1 -1
- package/dist/client/assets/{use-copy-B_R6LHdW.js → use-copy-DqAWpCDZ.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-BZc2oenO.js → use-create-virtual-mcp-DBH37Yxu.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-Xsez6aVB.js → use-debounced-autosave-CVqV68on.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-Dr4V34eZ.js → use-decopilot-events-BoReCp2S.js} +1 -1
- package/dist/client/assets/{use-delete-connection-BLaFqj11.js → use-delete-connection-BVll6m4J.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-B6tdlom4.js → use-infinite-scroll-D5bizeWj.js} +1 -1
- package/dist/client/assets/{use-list-state-CJyagGju.js → use-list-state-0L3jxaDg.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-bTkNBvHW.js → use-mcp-tools-C6A3rwAF.js} +1 -1
- package/dist/client/assets/{use-members-DzIKSYZr.js → use-members-BzWcaIDJ.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-DC4juKfS.js → use-navigate-to-agent-C7iDZqPY.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-C9dbWRTq.js → use-org-auth-client-Bd9B4wQo.js} +1 -1
- package/dist/client/assets/{use-org-sso-Oco51-Ud.js → use-org-sso-B92mdRVS.js} +1 -1
- package/dist/client/assets/{use-organization-roles-CKRT39Yc.js → use-organization-roles-UP-_4HBh.js} +1 -1
- package/dist/client/assets/{use-organization-settings-B78MMPj6.js → use-organization-settings-D1zFAlEk.js} +1 -1
- package/dist/client/assets/{use-registry-connections-BfK6vb9O.js → use-registry-connections-C6oP8zl5.js} +1 -1
- package/dist/client/assets/{use-status-sounds-CD6ccTBR.js → use-status-sounds-BKqjbx6o.js} +1 -1
- package/dist/client/assets/{use-tasks-LY5kqeAJ.js → use-tasks-BYq2xpS8.js} +1 -1
- package/dist/client/assets/{use-view-mode-Bp7xTow9.js → use-view-mode-v_SyMjYi.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-BBYFAnp2.js → use-virtual-mcp-AoYhpb8y.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-NQKlcseK.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-BaITJ1p7.js +1 -0
- package/dist/client/assets/{user-40IaywxT.js → user-DGV53lu6.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-b04RsQAD.js → view-mode-toggle-DEGp19YJ.js} +1 -1
- package/dist/client/assets/{workflow-BzGWQKQG.js → workflow-CkDy816W.js} +1 -1
- package/dist/client/assets/workflow-detail-50xWCAwp.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +2 -8
- package/dist/server/node_modules/strip-ansi/index.d.ts +15 -0
- package/dist/server/node_modules/strip-ansi/index.js +19 -0
- package/dist/server/node_modules/strip-ansi/package.json +59 -0
- package/dist/server/node_modules/strip-ansi/readme.md +37 -0
- package/dist/server/server.js +1 -7
- package/package.json +1 -1
- package/dist/client/assets/ai-providers-vZDvpB2X.js +0 -1
- package/dist/client/assets/index-DKSxK_Wl.js +0 -1
- package/dist/client/assets/registry-D_eMoOoM.js +0 -2
- package/dist/client/assets/store-registry-avYOji8Y.js +0 -2
- package/dist/client/assets/useInfiniteQuery-7WbFFwUo.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-aIoxf3FE.js +0 -1
- package/dist/client/assets/workflow-detail-DpYh98qm.js +0 -1
- package/dist/server/node_modules/escape-string-regexp/index.d.ts +0 -18
- package/dist/server/node_modules/escape-string-regexp/index.js +0 -11
- package/dist/server/node_modules/escape-string-regexp/license +0 -9
- package/dist/server/node_modules/escape-string-regexp/package.json +0 -43
- package/dist/server/node_modules/escape-string-regexp/readme.md +0 -29
- package/dist/server/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
- package/dist/server/node_modules/is-fullwidth-code-point/index.js +0 -12
- package/dist/server/node_modules/is-fullwidth-code-point/package.json +0 -53
- package/dist/server/node_modules/is-fullwidth-code-point/readme.md +0 -31
- package/dist/server/node_modules/is-in-ci/cli.js +0 -5
- package/dist/server/node_modules/is-in-ci/index.d.ts +0 -15
- package/dist/server/node_modules/is-in-ci/index.js +0 -7
- package/dist/server/node_modules/is-in-ci/license +0 -9
- package/dist/server/node_modules/is-in-ci/package.json +0 -49
- package/dist/server/node_modules/is-in-ci/readme.md +0 -44
- package/dist/server/node_modules/mimic-fn/index.d.ts +0 -54
- package/dist/server/node_modules/mimic-fn/index.js +0 -13
- package/dist/server/node_modules/mimic-fn/license +0 -9
- package/dist/server/node_modules/mimic-fn/package.json +0 -42
- package/dist/server/node_modules/mimic-fn/readme.md +0 -69
- package/dist/server/node_modules/pg-int8/LICENSE +0 -13
- package/dist/server/node_modules/pg-int8/README.md +0 -16
- package/dist/server/node_modules/pg-int8/index.js +0 -100
- package/dist/server/node_modules/pg-int8/package.json +0 -24
- package/dist/server/node_modules/pg-pool/LICENSE +0 -21
- package/dist/server/node_modules/pg-pool/README.md +0 -357
- package/dist/server/node_modules/pg-pool/esm/index.mjs +0 -5
- package/dist/server/node_modules/pg-pool/index.js +0 -517
- package/dist/server/node_modules/pg-pool/package.json +0 -51
- package/dist/server/node_modules/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/terminal-size/index.d.ts +0 -17
- package/dist/server/node_modules/terminal-size/index.js +0 -139
- package/dist/server/node_modules/terminal-size/license +0 -9
- package/dist/server/node_modules/terminal-size/package.json +0 -49
- package/dist/server/node_modules/terminal-size/readme.md +0 -32
- package/dist/server/node_modules/wrap-ansi/index.d.ts +0 -41
- package/dist/server/node_modules/wrap-ansi/index.js +0 -222
- package/dist/server/node_modules/wrap-ansi/license +0 -9
- package/dist/server/node_modules/wrap-ansi/package.json +0 -69
- package/dist/server/node_modules/wrap-ansi/readme.md +0 -75
- package/dist/server/node_modules/xtend/.jshintrc +0 -30
- package/dist/server/node_modules/xtend/LICENSE +0 -20
- package/dist/server/node_modules/xtend/README.md +0 -32
- package/dist/server/node_modules/xtend/immutable.js +0 -19
- package/dist/server/node_modules/xtend/mutable.js +0 -17
- package/dist/server/node_modules/xtend/package.json +0 -55
- package/dist/server/node_modules/xtend/test.js +0 -103
- /package/dist/server/node_modules/{is-fullwidth-code-point → strip-ansi}/license +0 -0
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "escape-string-regexp",
|
|
3
|
-
"version": "2.0.0",
|
|
4
|
-
"description": "Escape RegExp special characters",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/escape-string-regexp",
|
|
7
|
-
"author": {
|
|
8
|
-
"name": "Sindre Sorhus",
|
|
9
|
-
"email": "sindresorhus@gmail.com",
|
|
10
|
-
"url": "sindresorhus.com"
|
|
11
|
-
},
|
|
12
|
-
"maintainers": [
|
|
13
|
-
"Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)",
|
|
14
|
-
"Joshua Boy Nicolai Appelman <joshua@jbna.nl> (jbna.nl)"
|
|
15
|
-
],
|
|
16
|
-
"engines": {
|
|
17
|
-
"node": ">=8"
|
|
18
|
-
},
|
|
19
|
-
"scripts": {
|
|
20
|
-
"test": "xo && ava && tsd"
|
|
21
|
-
},
|
|
22
|
-
"files": [
|
|
23
|
-
"index.js",
|
|
24
|
-
"index.d.ts"
|
|
25
|
-
],
|
|
26
|
-
"keywords": [
|
|
27
|
-
"escape",
|
|
28
|
-
"regex",
|
|
29
|
-
"regexp",
|
|
30
|
-
"re",
|
|
31
|
-
"regular",
|
|
32
|
-
"expression",
|
|
33
|
-
"string",
|
|
34
|
-
"str",
|
|
35
|
-
"special",
|
|
36
|
-
"characters"
|
|
37
|
-
],
|
|
38
|
-
"devDependencies": {
|
|
39
|
-
"ava": "^1.4.1",
|
|
40
|
-
"tsd": "^0.7.2",
|
|
41
|
-
"xo": "^0.24.0"
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# escape-string-regexp [](https://travis-ci.org/sindresorhus/escape-string-regexp)
|
|
2
|
-
|
|
3
|
-
> Escape RegExp special characters
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
## Install
|
|
7
|
-
|
|
8
|
-
```
|
|
9
|
-
$ npm install escape-string-regexp
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
## Usage
|
|
14
|
-
|
|
15
|
-
```js
|
|
16
|
-
const escapeStringRegexp = require('escape-string-regexp');
|
|
17
|
-
|
|
18
|
-
const escapedString = escapeStringRegexp('How much $ for a 🦄?');
|
|
19
|
-
//=> 'How much \\$ for a 🦄\\?'
|
|
20
|
-
|
|
21
|
-
new RegExp(escapedString);
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
You can also use this to escape a string that is inserted into the middle of a regex, for example, into a character class.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
## License
|
|
28
|
-
|
|
29
|
-
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/Code_point) is [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms).
|
|
3
|
-
|
|
4
|
-
@param codePoint - The [code point](https://en.wikipedia.org/wiki/Code_point) of a character.
|
|
5
|
-
|
|
6
|
-
@example
|
|
7
|
-
```
|
|
8
|
-
import isFullwidthCodePoint from 'is-fullwidth-code-point';
|
|
9
|
-
|
|
10
|
-
isFullwidthCodePoint('谢'.codePointAt(0));
|
|
11
|
-
//=> true
|
|
12
|
-
|
|
13
|
-
isFullwidthCodePoint('a'.codePointAt(0));
|
|
14
|
-
//=> false
|
|
15
|
-
```
|
|
16
|
-
*/
|
|
17
|
-
export default function isFullwidthCodePoint(codePoint: number): boolean;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
_isFullWidth as isFullWidth,
|
|
3
|
-
_isWide as isWide,
|
|
4
|
-
} from 'get-east-asian-width';
|
|
5
|
-
|
|
6
|
-
export default function isFullwidthCodePoint(codePoint) {
|
|
7
|
-
if (!Number.isInteger(codePoint)) {
|
|
8
|
-
return false;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
return isFullWidth(codePoint) || isWide(codePoint);
|
|
12
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "is-fullwidth-code-point",
|
|
3
|
-
"version": "5.1.0",
|
|
4
|
-
"description": "Check if the character represented by a given Unicode code point is fullwidth",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/is-fullwidth-code-point",
|
|
7
|
-
"funding": "https://github.com/sponsors/sindresorhus",
|
|
8
|
-
"author": {
|
|
9
|
-
"name": "Sindre Sorhus",
|
|
10
|
-
"email": "sindresorhus@gmail.com",
|
|
11
|
-
"url": "https://sindresorhus.com"
|
|
12
|
-
},
|
|
13
|
-
"type": "module",
|
|
14
|
-
"exports": {
|
|
15
|
-
"types": "./index.d.ts",
|
|
16
|
-
"default": "./index.js"
|
|
17
|
-
},
|
|
18
|
-
"sideEffects": false,
|
|
19
|
-
"engines": {
|
|
20
|
-
"node": ">=18"
|
|
21
|
-
},
|
|
22
|
-
"scripts": {
|
|
23
|
-
"test": "xo && ava && tsd"
|
|
24
|
-
},
|
|
25
|
-
"files": [
|
|
26
|
-
"index.js",
|
|
27
|
-
"index.d.ts"
|
|
28
|
-
],
|
|
29
|
-
"keywords": [
|
|
30
|
-
"fullwidth",
|
|
31
|
-
"full-width",
|
|
32
|
-
"full",
|
|
33
|
-
"width",
|
|
34
|
-
"unicode",
|
|
35
|
-
"character",
|
|
36
|
-
"string",
|
|
37
|
-
"codepoint",
|
|
38
|
-
"code",
|
|
39
|
-
"point",
|
|
40
|
-
"is",
|
|
41
|
-
"detect",
|
|
42
|
-
"check",
|
|
43
|
-
"east-asian-width"
|
|
44
|
-
],
|
|
45
|
-
"devDependencies": {
|
|
46
|
-
"ava": "^5.3.1",
|
|
47
|
-
"tsd": "^0.29.0",
|
|
48
|
-
"xo": "^0.56.0"
|
|
49
|
-
},
|
|
50
|
-
"dependencies": {
|
|
51
|
-
"get-east-asian-width": "^1.3.1"
|
|
52
|
-
}
|
|
53
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# is-fullwidth-code-point
|
|
2
|
-
|
|
3
|
-
> Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/Code_point) is [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms)
|
|
4
|
-
|
|
5
|
-
## Install
|
|
6
|
-
|
|
7
|
-
```sh
|
|
8
|
-
npm install is-fullwidth-code-point
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Usage
|
|
12
|
-
|
|
13
|
-
```js
|
|
14
|
-
import isFullwidthCodePoint from 'is-fullwidth-code-point';
|
|
15
|
-
|
|
16
|
-
isFullwidthCodePoint('谢'.codePointAt(0));
|
|
17
|
-
//=> true
|
|
18
|
-
|
|
19
|
-
isFullwidthCodePoint('a'.codePointAt(0));
|
|
20
|
-
//=> false
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## API
|
|
24
|
-
|
|
25
|
-
### isFullwidthCodePoint(codePoint)
|
|
26
|
-
|
|
27
|
-
#### codePoint
|
|
28
|
-
|
|
29
|
-
Type: `number`
|
|
30
|
-
|
|
31
|
-
The [code point](https://en.wikipedia.org/wiki/Code_point) of a character.
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
Check if the process is running in a Continuous Integration (CI) environment.
|
|
3
|
-
|
|
4
|
-
@example
|
|
5
|
-
```
|
|
6
|
-
import isInCi from 'is-in-ci';
|
|
7
|
-
|
|
8
|
-
if (isInCi) {
|
|
9
|
-
console.log('Running in a CI environment');
|
|
10
|
-
}
|
|
11
|
-
```
|
|
12
|
-
*/
|
|
13
|
-
declare const isInCi: boolean;
|
|
14
|
-
|
|
15
|
-
export default isInCi;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "is-in-ci",
|
|
3
|
-
"version": "2.0.0",
|
|
4
|
-
"description": "Check if the process is running in a Continuous Integration (CI) environment",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/is-in-ci",
|
|
7
|
-
"funding": "https://github.com/sponsors/sindresorhus",
|
|
8
|
-
"author": {
|
|
9
|
-
"name": "Sindre Sorhus",
|
|
10
|
-
"email": "sindresorhus@gmail.com",
|
|
11
|
-
"url": "https://sindresorhus.com"
|
|
12
|
-
},
|
|
13
|
-
"type": "module",
|
|
14
|
-
"bin": "./cli.js",
|
|
15
|
-
"exports": {
|
|
16
|
-
"types": "./index.d.ts",
|
|
17
|
-
"default": "./index.js"
|
|
18
|
-
},
|
|
19
|
-
"sideEffects": false,
|
|
20
|
-
"engines": {
|
|
21
|
-
"node": ">=20"
|
|
22
|
-
},
|
|
23
|
-
"scripts": {
|
|
24
|
-
"test": "xo && CI=1 ava && tsc index.d.ts"
|
|
25
|
-
},
|
|
26
|
-
"files": [
|
|
27
|
-
"index.js",
|
|
28
|
-
"index.d.ts",
|
|
29
|
-
"cli.js"
|
|
30
|
-
],
|
|
31
|
-
"keywords": [
|
|
32
|
-
"ci",
|
|
33
|
-
"continuous",
|
|
34
|
-
"integration",
|
|
35
|
-
"environment",
|
|
36
|
-
"server",
|
|
37
|
-
"check",
|
|
38
|
-
"detect",
|
|
39
|
-
"determine",
|
|
40
|
-
"test",
|
|
41
|
-
"cli",
|
|
42
|
-
"cli-app"
|
|
43
|
-
],
|
|
44
|
-
"devDependencies": {
|
|
45
|
-
"ava": "^6.4.1",
|
|
46
|
-
"typescript": "^5.9.2",
|
|
47
|
-
"xo": "^0.60.0"
|
|
48
|
-
}
|
|
49
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
# is-in-ci
|
|
2
|
-
|
|
3
|
-
> Check if the process is running in a [Continuous Integration](https://en.wikipedia.org/wiki/Continuous_integration) (CI) environment
|
|
4
|
-
|
|
5
|
-
## Install
|
|
6
|
-
|
|
7
|
-
```sh
|
|
8
|
-
npm install is-in-ci
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Usage
|
|
12
|
-
|
|
13
|
-
```js
|
|
14
|
-
import isInCi from 'is-in-ci';
|
|
15
|
-
|
|
16
|
-
if (isInCi) {
|
|
17
|
-
console.log('Running in a CI environment');
|
|
18
|
-
}
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
It looks for these environment variables: `CI` and `CONTINUOUS_INTEGRATION`.
|
|
22
|
-
|
|
23
|
-
## CLI
|
|
24
|
-
|
|
25
|
-
```sh
|
|
26
|
-
is-in-ci && echo 'Running in a CI environment'
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
Exits with code `0` in CI environments and `1` otherwise.
|
|
30
|
-
|
|
31
|
-
## FAQ
|
|
32
|
-
|
|
33
|
-
### How can I add a CI service?
|
|
34
|
-
|
|
35
|
-
Request the CI service to include the `CI` environment variable. Most already do.
|
|
36
|
-
|
|
37
|
-
### How is this different from [`is-ci`](https://github.com/watson/is-ci)?
|
|
38
|
-
|
|
39
|
-
The `is-ci` package attempts to detect every CI service, which is unsustainable. It also has a higher risk of false-positives. For example, it detects the environment variable `RUN_ID` as CI-specific, although other services could use it. Constant updates for new CIs create version fragmentation, resulting in inconsistent behavior across dependent packages. Pushing for CI services to use a standardized CI environment variable is a more robust solution.
|
|
40
|
-
|
|
41
|
-
## Related
|
|
42
|
-
|
|
43
|
-
- [is-inside-container](https://github.com/sindresorhus/is-inside-container) - Check if the process is running inside a container
|
|
44
|
-
- [is-interactive](https://github.com/sindresorhus/is-interactive) - Check if stdout or stderr is interactive
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
declare const mimicFn: {
|
|
2
|
-
/**
|
|
3
|
-
Make a function mimic another one. It will copy over the properties `name`, `length`, `displayName`, and any custom properties you may have set.
|
|
4
|
-
|
|
5
|
-
@param to - Mimicking function.
|
|
6
|
-
@param from - Function to mimic.
|
|
7
|
-
@returns The modified `to` function.
|
|
8
|
-
|
|
9
|
-
@example
|
|
10
|
-
```
|
|
11
|
-
import mimicFn = require('mimic-fn');
|
|
12
|
-
|
|
13
|
-
function foo() {}
|
|
14
|
-
foo.unicorn = '🦄';
|
|
15
|
-
|
|
16
|
-
function wrapper() {
|
|
17
|
-
return foo();
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
console.log(wrapper.name);
|
|
21
|
-
//=> 'wrapper'
|
|
22
|
-
|
|
23
|
-
mimicFn(wrapper, foo);
|
|
24
|
-
|
|
25
|
-
console.log(wrapper.name);
|
|
26
|
-
//=> 'foo'
|
|
27
|
-
|
|
28
|
-
console.log(wrapper.unicorn);
|
|
29
|
-
//=> '🦄'
|
|
30
|
-
```
|
|
31
|
-
*/
|
|
32
|
-
<
|
|
33
|
-
ArgumentsType extends unknown[],
|
|
34
|
-
ReturnType,
|
|
35
|
-
FunctionType extends (...arguments: ArgumentsType) => ReturnType
|
|
36
|
-
>(
|
|
37
|
-
to: (...arguments: ArgumentsType) => ReturnType,
|
|
38
|
-
from: FunctionType
|
|
39
|
-
): FunctionType;
|
|
40
|
-
|
|
41
|
-
// TODO: Remove this for the next major release, refactor the whole definition to:
|
|
42
|
-
// declare function mimicFn<
|
|
43
|
-
// ArgumentsType extends unknown[],
|
|
44
|
-
// ReturnType,
|
|
45
|
-
// FunctionType extends (...arguments: ArgumentsType) => ReturnType
|
|
46
|
-
// >(
|
|
47
|
-
// to: (...arguments: ArgumentsType) => ReturnType,
|
|
48
|
-
// from: FunctionType
|
|
49
|
-
// ): FunctionType;
|
|
50
|
-
// export = mimicFn;
|
|
51
|
-
default: typeof mimicFn;
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
export = mimicFn;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const mimicFn = (to, from) => {
|
|
4
|
-
for (const prop of Reflect.ownKeys(from)) {
|
|
5
|
-
Object.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
return to;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
module.exports = mimicFn;
|
|
12
|
-
// TODO: Remove this for the next major release
|
|
13
|
-
module.exports.default = mimicFn;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "mimic-fn",
|
|
3
|
-
"version": "2.1.0",
|
|
4
|
-
"description": "Make a function mimic another one",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/mimic-fn",
|
|
7
|
-
"author": {
|
|
8
|
-
"name": "Sindre Sorhus",
|
|
9
|
-
"email": "sindresorhus@gmail.com",
|
|
10
|
-
"url": "sindresorhus.com"
|
|
11
|
-
},
|
|
12
|
-
"engines": {
|
|
13
|
-
"node": ">=6"
|
|
14
|
-
},
|
|
15
|
-
"scripts": {
|
|
16
|
-
"test": "xo && ava && tsd"
|
|
17
|
-
},
|
|
18
|
-
"files": [
|
|
19
|
-
"index.js",
|
|
20
|
-
"index.d.ts"
|
|
21
|
-
],
|
|
22
|
-
"keywords": [
|
|
23
|
-
"function",
|
|
24
|
-
"mimic",
|
|
25
|
-
"imitate",
|
|
26
|
-
"rename",
|
|
27
|
-
"copy",
|
|
28
|
-
"inherit",
|
|
29
|
-
"properties",
|
|
30
|
-
"name",
|
|
31
|
-
"func",
|
|
32
|
-
"fn",
|
|
33
|
-
"set",
|
|
34
|
-
"infer",
|
|
35
|
-
"change"
|
|
36
|
-
],
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"ava": "^1.4.1",
|
|
39
|
-
"tsd": "^0.7.1",
|
|
40
|
-
"xo": "^0.24.0"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
# mimic-fn [](https://travis-ci.org/sindresorhus/mimic-fn)
|
|
2
|
-
|
|
3
|
-
> Make a function mimic another one
|
|
4
|
-
|
|
5
|
-
Useful when you wrap a function in another function and like to preserve the original name and other properties.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
## Install
|
|
9
|
-
|
|
10
|
-
```
|
|
11
|
-
$ npm install mimic-fn
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
## Usage
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
const mimicFn = require('mimic-fn');
|
|
19
|
-
|
|
20
|
-
function foo() {}
|
|
21
|
-
foo.unicorn = '🦄';
|
|
22
|
-
|
|
23
|
-
function wrapper() {
|
|
24
|
-
return foo();
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
console.log(wrapper.name);
|
|
28
|
-
//=> 'wrapper'
|
|
29
|
-
|
|
30
|
-
mimicFn(wrapper, foo);
|
|
31
|
-
|
|
32
|
-
console.log(wrapper.name);
|
|
33
|
-
//=> 'foo'
|
|
34
|
-
|
|
35
|
-
console.log(wrapper.unicorn);
|
|
36
|
-
//=> '🦄'
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
## API
|
|
41
|
-
|
|
42
|
-
It will copy over the properties `name`, `length`, `displayName`, and any custom properties you may have set.
|
|
43
|
-
|
|
44
|
-
### mimicFn(to, from)
|
|
45
|
-
|
|
46
|
-
Modifies the `to` function and returns it.
|
|
47
|
-
|
|
48
|
-
#### to
|
|
49
|
-
|
|
50
|
-
Type: `Function`
|
|
51
|
-
|
|
52
|
-
Mimicking function.
|
|
53
|
-
|
|
54
|
-
#### from
|
|
55
|
-
|
|
56
|
-
Type: `Function`
|
|
57
|
-
|
|
58
|
-
Function to mimic.
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
## Related
|
|
62
|
-
|
|
63
|
-
- [rename-fn](https://github.com/sindresorhus/rename-fn) - Rename a function
|
|
64
|
-
- [keep-func-props](https://github.com/ehmicky/keep-func-props) - Wrap a function without changing its name, length and other properties
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
## License
|
|
68
|
-
|
|
69
|
-
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
Copyright © 2017, Charmander <~@charmander.me>
|
|
2
|
-
|
|
3
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
4
|
-
purpose with or without fee is hereby granted, provided that the above
|
|
5
|
-
copyright notice and this permission notice appear in all copies.
|
|
6
|
-
|
|
7
|
-
THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
9
|
-
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
[![Build status][ci image]][ci]
|
|
2
|
-
|
|
3
|
-
64-bit big-endian signed integer-to-string conversion designed for [pg][].
|
|
4
|
-
|
|
5
|
-
```js
|
|
6
|
-
const readInt8 = require('pg-int8');
|
|
7
|
-
|
|
8
|
-
readInt8(Buffer.from([0, 1, 2, 3, 4, 5, 6, 7]))
|
|
9
|
-
// '283686952306183'
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
[pg]: https://github.com/brianc/node-postgres
|
|
14
|
-
|
|
15
|
-
[ci]: https://travis-ci.org/charmander/pg-int8
|
|
16
|
-
[ci image]: https://api.travis-ci.org/charmander/pg-int8.svg
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
// selected so (BASE - 1) * 0x100000000 + 0xffffffff is a safe integer
|
|
4
|
-
var BASE = 1000000;
|
|
5
|
-
|
|
6
|
-
function readInt8(buffer) {
|
|
7
|
-
var high = buffer.readInt32BE(0);
|
|
8
|
-
var low = buffer.readUInt32BE(4);
|
|
9
|
-
var sign = '';
|
|
10
|
-
|
|
11
|
-
if (high < 0) {
|
|
12
|
-
high = ~high + (low === 0);
|
|
13
|
-
low = (~low + 1) >>> 0;
|
|
14
|
-
sign = '-';
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
var result = '';
|
|
18
|
-
var carry;
|
|
19
|
-
var t;
|
|
20
|
-
var digits;
|
|
21
|
-
var pad;
|
|
22
|
-
var l;
|
|
23
|
-
var i;
|
|
24
|
-
|
|
25
|
-
{
|
|
26
|
-
carry = high % BASE;
|
|
27
|
-
high = high / BASE >>> 0;
|
|
28
|
-
|
|
29
|
-
t = 0x100000000 * carry + low;
|
|
30
|
-
low = t / BASE >>> 0;
|
|
31
|
-
digits = '' + (t - BASE * low);
|
|
32
|
-
|
|
33
|
-
if (low === 0 && high === 0) {
|
|
34
|
-
return sign + digits + result;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
pad = '';
|
|
38
|
-
l = 6 - digits.length;
|
|
39
|
-
|
|
40
|
-
for (i = 0; i < l; i++) {
|
|
41
|
-
pad += '0';
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
result = pad + digits + result;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
{
|
|
48
|
-
carry = high % BASE;
|
|
49
|
-
high = high / BASE >>> 0;
|
|
50
|
-
|
|
51
|
-
t = 0x100000000 * carry + low;
|
|
52
|
-
low = t / BASE >>> 0;
|
|
53
|
-
digits = '' + (t - BASE * low);
|
|
54
|
-
|
|
55
|
-
if (low === 0 && high === 0) {
|
|
56
|
-
return sign + digits + result;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
pad = '';
|
|
60
|
-
l = 6 - digits.length;
|
|
61
|
-
|
|
62
|
-
for (i = 0; i < l; i++) {
|
|
63
|
-
pad += '0';
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
result = pad + digits + result;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
{
|
|
70
|
-
carry = high % BASE;
|
|
71
|
-
high = high / BASE >>> 0;
|
|
72
|
-
|
|
73
|
-
t = 0x100000000 * carry + low;
|
|
74
|
-
low = t / BASE >>> 0;
|
|
75
|
-
digits = '' + (t - BASE * low);
|
|
76
|
-
|
|
77
|
-
if (low === 0 && high === 0) {
|
|
78
|
-
return sign + digits + result;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
pad = '';
|
|
82
|
-
l = 6 - digits.length;
|
|
83
|
-
|
|
84
|
-
for (i = 0; i < l; i++) {
|
|
85
|
-
pad += '0';
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
result = pad + digits + result;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
{
|
|
92
|
-
carry = high % BASE;
|
|
93
|
-
t = 0x100000000 * carry + low;
|
|
94
|
-
digits = '' + t % BASE;
|
|
95
|
-
|
|
96
|
-
return sign + digits + result;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
module.exports = readInt8;
|