decocms 2.291.2 → 2.292.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{AlertCircle-BU25E17i.js → AlertCircle-BJZjcLR8.js} +1 -1
- package/dist/client/assets/{ArrowNarrowLeft-DsozI7ul.js → ArrowNarrowLeft-Yoaq7-cz.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-wUPlLzWo.js → ArrowUpRight-DoZ1aCQb.js} +1 -1
- package/dist/client/assets/{CheckCircle-B6ooPL10.js → CheckCircle-BbLUS0ek.js} +1 -1
- package/dist/client/assets/{ChevronDown-BjunjZ96.js → ChevronDown-CGHjchOw.js} +1 -1
- package/dist/client/assets/{ChevronRight-DZ8_B5Zy.js → ChevronRight-Do3Je1ER.js} +1 -1
- package/dist/client/assets/{ChevronUp-BcfJms1N.js → ChevronUp-dSBPqUJ1.js} +1 -1
- package/dist/client/assets/{Container-BBbTXyMq.js → Container-CDgY_XYz.js} +1 -1
- package/dist/client/assets/{DotsVertical-ChXlfNDE.js → DotsVertical-BxL7Owtq.js} +1 -1
- package/dist/client/assets/{LinkExternal01-Bq6E6IiB.js → LinkExternal01-DxLyrYeW.js} +1 -1
- package/dist/client/assets/{Lock01-CT9fVg-M.js → Lock01-BI0K2L_g.js} +1 -1
- package/dist/client/assets/{Palette-CL1PeBDG.js → Palette-CWiKw0AC.js} +1 -1
- package/dist/client/assets/{Play-O7Kb3HkD.js → Play-C7K9es-c.js} +1 -1
- package/dist/client/assets/{Plus-BX8KY2Vj.js → Plus-BpCTKUfi.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-DtyDEAf2.js → RefreshCcw01-BEGaV3W5.js} +1 -1
- package/dist/client/assets/{SearchMd-CJm9ITir.js → SearchMd-fRD_HHud.js} +1 -1
- package/dist/client/assets/{Settings02-0UGyPXgy.js → Settings02-DtQ4_bLf.js} +1 -1
- package/dist/client/assets/{Shield01-ajX6eCWD.js → Shield01-Di_q_zxl.js} +1 -1
- package/dist/client/assets/{Star01-DLcvdqts.js → Star01-CIsSx9uE.js} +1 -1
- package/dist/client/assets/{Sun-DwH3UR5R.js → Sun-CgyDUxcQ.js} +1 -1
- package/dist/client/assets/{Tool01-Dqe-c7_N.js → Tool01-By8ElVEn.js} +1 -1
- package/dist/client/assets/{Trash01-CO6PRylN.js → Trash01-BzOKZIoE.js} +1 -1
- package/dist/client/assets/{User01-JrKdMZpa.js → User01-B6EEMzxh.js} +1 -1
- package/dist/client/assets/{Users03-DGkdZmwX.js → Users03-CKRT_0yR.js} +1 -1
- package/dist/client/assets/{X-BFKhYElJ.js → X-DXjTCsIF.js} +1 -1
- package/dist/client/assets/{XCircle-BCi1SPUb.js → XCircle-Ce7DOyui.js} +1 -1
- package/dist/client/assets/{XClose-BL1_qV1F.js → XClose-Bnw2tzQy.js} +1 -1
- package/dist/client/assets/{Zap-Bsssnre4.js → Zap-BEX7Xuxl.js} +1 -1
- package/dist/client/assets/{ZapSquare-dR2caQ4h.js → ZapSquare-CsTKlylz.js} +1 -1
- package/dist/client/assets/{accordion-CSdeKGev.js → accordion-rxim1ZAp.js} +1 -1
- package/dist/client/assets/{agent-icon-BHvp6mzD.js → agent-icon-DtvDglSH.js} +1 -1
- package/dist/client/assets/{agents-list-DelQtLci.js → agents-list-Dn30Me50.js} +1 -1
- package/dist/client/assets/ai-providers-CC7AZG4I.js +1 -0
- package/dist/client/assets/{alert-dialog-7-SyZGSt.js → alert-dialog-DkRKYqdD.js} +1 -1
- package/dist/client/assets/{auth-catchall-iqLWQ8B0.js → auth-catchall-BgWDU-In.js} +1 -1
- package/dist/client/assets/{automation-list-row-CGm-OiLc.js → automation-list-row-Dk3EbUOn.js} +1 -1
- package/dist/client/assets/{automations-CYw0JH2e.js → automations-CbjDzR7F.js} +1 -1
- package/dist/client/assets/{avatar-Zzj9UMlL.js → avatar-CAgGCSe2.js} +1 -1
- package/dist/client/assets/{badge--Lhfsu1W.js → badge-DBxFBhAO.js} +1 -1
- package/dist/client/assets/{brand-context-YW1Q-eq7.js → brand-context-C1u8HhCR.js} +1 -1
- package/dist/client/assets/{card-9GTnJhWp.js → card-DWuJsQ-l.js} +1 -1
- package/dist/client/assets/{chat-context-DXvG89K2.js → chat-context-w7qWGRrL.js} +1 -1
- package/dist/client/assets/{checkbox-duvwt99y.js → checkbox-CgUCf0vo.js} +1 -1
- package/dist/client/assets/{collection-detail-F4_8z6Hn.js → collection-detail-miARxdMD.js} +1 -1
- package/dist/client/assets/{collection-display-button-DinzcNMl.js → collection-display-button-IHUVDN00.js} +1 -1
- package/dist/client/assets/{collection-search-BoQ_EppH.js → collection-search-9iq4cHBD.js} +1 -1
- package/dist/client/assets/{collection-search-BcpKEq0y.js → collection-search-Dz-DfctK.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-Q2gV7sPs.js → collection-table-wrapper-zolZkVPt.js} +1 -1
- package/dist/client/assets/{collection-tabs-Dl6rp80p.js → collection-tabs-DQLxqY5f.js} +1 -1
- package/dist/client/assets/{collections-CtHgOGSI.js → collections-U39XM2D0.js} +1 -1
- package/dist/client/assets/{command-BY-OMlmS.js → command-YWTBTzZ-.js} +1 -1
- package/dist/client/assets/{connection-card-CxvFxmw2.js → connection-card-CzIrL4EL.js} +1 -1
- package/dist/client/assets/{connection-detail-B2-UvKp7.js → connection-detail-BAaKFeAe.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-skhe2PwK.js → connection-form-helpers-CkuYmS0Y.js} +1 -1
- package/dist/client/assets/{connections-B9rvBIJs.js → connections-BhrD0IQp.js} +1 -1
- package/dist/client/assets/{constants-Bp8ek76r.js → constants-3nmHZB7k.js} +1 -1
- package/dist/client/assets/{constants-BAzsARw1.js → constants-C9aLxYHE.js} +1 -1
- package/dist/client/assets/{dialog-C2cBQ0ty.js → dialog-Dh1iMW0s.js} +1 -1
- package/dist/client/assets/{domain-settings-DX4izaPT.js → domain-settings-AVM0VKvz.js} +1 -1
- package/dist/client/assets/{drawer-B_-bDnjD.js → drawer-BVsQgzeD.js} +1 -1
- package/dist/client/assets/{dropdown-menu-DWNG84J5.js → dropdown-menu-BFB_BhxE.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-C-4aN23S.js → dynamic-plugin-layout-89eFL9j5.js} +1 -1
- package/dist/client/assets/{empty-state-BKimHCce.js → empty-state-Ccngpo14.js} +1 -1
- package/dist/client/assets/{empty-state-CLCMWued.js → empty-state-DaBJGn03.js} +1 -1
- package/dist/client/assets/{extract-connection-data-DAdB5U1f.js → extract-connection-data-DTYSYxBG.js} +1 -1
- package/dist/client/assets/{features-CFZqwKf_.js → features-DyBQ3hAD.js} +1 -1
- package/dist/client/assets/{form-92QvOiJ_.js → form-D1t1amOF.js} +1 -1
- package/dist/client/assets/{general-CIx8MPEj.js → general-BSxOk1qz.js} +1 -1
- package/dist/client/assets/{github-repo-picker-CUaU2lz-.js → github-repo-picker-DSEipb9O.js} +1 -1
- package/dist/client/assets/{index-BRQ0tifs.js → index-BXJluhPl.js} +1 -1
- package/dist/client/assets/index-BZi9riJ2.css +1 -0
- package/dist/client/assets/{index-DNXvVXJy.js → index-Bgh3Fg-W.js} +1 -1
- package/dist/client/assets/{index-BIYmbFmV.js → index-CfcY28zS.js} +1 -1
- package/dist/client/assets/{index-BPhQ3efs.js → index-CiGNH6-A.js} +1 -1
- package/dist/client/assets/{index-CEfeDibH.js → index-CxNPMl3z.js} +20 -20
- package/dist/client/assets/{index-CTsYITXV.js → index-D0Y3Q7N3.js} +1 -1
- package/dist/client/assets/{index-CxVUAwST.js → index-DDmmZL9v.js} +1 -1
- package/dist/client/assets/{index-Dq226A4w.js → index-DKd6U8ZD.js} +2 -2
- package/dist/client/assets/{index-CzXBz_F7.js → index-DskwxDSD.js} +1 -1
- package/dist/client/assets/{index-BbevWgzi.js → index-aI7M0qEI.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-DAJ1MAYd.js → infiniteQueryObserver-RFzqIOTQ.js} +1 -1
- package/dist/client/assets/{input-sAl4qpu7.js → input-rXpcOW54.js} +1 -1
- package/dist/client/assets/{integration-icon-AZugc3yw.js → integration-icon-wh5nd5gB.js} +1 -1
- package/dist/client/assets/{label-CgTKL0Kd.js → label-KG6f6ypV.js} +1 -1
- package/dist/client/assets/{layout-irXWDg_F.js → layout-C1dBBrJO.js} +1 -1
- package/dist/client/assets/{login-D6bW_SwU.js → login-aCzD1yj3.js} +1 -1
- package/dist/client/assets/{members-Bl2wPM_1.js → members-CcYrdU9b.js} +1 -1
- package/dist/client/assets/{monaco-editor-C_NWZeTl.js → monaco-editor-CetiEdE3.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-CvAc2TdA.js → monitoring-stats-row-Bpsycv3a.js} +1 -1
- package/dist/client/assets/{oauth-callback-CVJgN1AT.js → oauth-callback-Bgqii5KN.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-oXA-Awv1.js → oauth-callback-ai-provider-BM8V8XSD.js} +1 -1
- package/dist/client/assets/{onboarding-BLnL078F.js → onboarding-BstJNU1_.js} +1 -1
- package/dist/client/assets/{org-layout-OuwJcURT.js → org-layout-Cbl-bpnq.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-BldguEGv.js → org-plugin-layout-D5W8iJ__.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-CRh8LLke.js → plugin-empty-state-ClLmoORa.js} +1 -1
- package/dist/client/assets/{plugin-header-DQQsADvB.js → plugin-header-BfIRczN-.js} +1 -1
- package/dist/client/assets/{plugin-layout-xMoCwh-U.js → plugin-layout-CSlooCiQ.js} +1 -1
- package/dist/client/assets/{popover-Cl9Q4B_r.js → popover-oHy7A2NB.js} +1 -1
- package/dist/client/assets/{profile-Dwkg2__q.js → profile--BcrwHZB.js} +1 -1
- package/dist/client/assets/{project-app-view-Ds5KIeD6.js → project-app-view-7T_TcCNb.js} +1 -1
- package/dist/client/assets/registry-CDfXAwnP.js +2 -0
- package/dist/client/assets/{registry-layout-BcsYgVKZ.js → registry-layout-DSvJ6NrU.js} +1 -1
- package/dist/client/assets/{required-auth-layout-3FXLvGi_.js → required-auth-layout-C9I2Cbbq.js} +1 -1
- package/dist/client/assets/{reset-password-CchTJTF9.js → reset-password-CIaSK0Sp.js} +1 -1
- package/dist/client/assets/{roles-5IF_wtdu.js → roles-BquZRSxB.js} +1 -1
- package/dist/client/assets/{scroll-area-094tZsTA.js → scroll-area-UNfVJI8t.js} +1 -1
- package/dist/client/assets/{search-input-CIR03_9I.js → search-input-DfM3hp54.js} +1 -1
- package/dist/client/assets/{select-C3X6ssTw.js → select-CIfh_MBY.js} +1 -1
- package/dist/client/assets/{select-model-BcH4syAI.js → select-model-BuijBTi2.js} +1 -1
- package/dist/client/assets/{settings-layout-DiCQMM4S.js → settings-layout-7GZHLZ6d.js} +1 -1
- package/dist/client/assets/{settings-section-Q55Fgh-8.js → settings-section-DU0g5n0Q.js} +1 -1
- package/dist/client/assets/{shell-layout-4T5ISWfh.js → shell-layout-CcnEVz8S.js} +1 -1
- package/dist/client/assets/{skeleton-DGdg1BKw.js → skeleton-DWxGcluE.js} +1 -1
- package/dist/client/assets/{sso-Coky_69P.js → sso-BwOkQ_ww.js} +1 -1
- package/dist/client/assets/{store-hdsNmYTT.js → store-R02TTTNN.js} +1 -1
- package/dist/client/assets/store-registry-DdbRGyFG.js +2 -0
- package/dist/client/assets/{switch-D2IuZl3W.js → switch-CWaKO_3R.js} +1 -1
- package/dist/client/assets/{table-DMAlnYBn.js → table-UpR-J_t9.js} +1 -1
- package/dist/client/assets/{tabs-BqcAeZdj.js → tabs-CgpYNCZH.js} +1 -1
- package/dist/client/assets/{task-status-95rqQaw6.js → task-status-CPd-pzw_.js} +1 -1
- package/dist/client/assets/{textarea-B3aDHfMl.js → textarea-CVs7u-e-.js} +1 -1
- package/dist/client/assets/{toggle-group-CRKBIdwr.js → toggle-group-DIrVgcK0.js} +1 -1
- package/dist/client/assets/{tools-list-D1jmrWjZ.js → tools-list-C1Tdz1hL.js} +1 -1
- package/dist/client/assets/{types-CmztvBo8.js → types-DqiNUavs.js} +1 -1
- package/dist/client/assets/{use-ai-providers-DV1XR9hI.js → use-ai-providers-D5Tufg2O.js} +1 -1
- package/dist/client/assets/{use-collections-5a3WcFJc.js → use-collections-DpIHOTql.js} +1 -1
- package/dist/client/assets/{use-connection-dg_H_Pr1.js → use-connection-1SSSHaHs.js} +1 -1
- package/dist/client/assets/{use-copy-RJi4IuzY.js → use-copy-CDfDyhwS.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-CCwbfx6_.js → use-create-virtual-mcp-Bkn7rT3M.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-Dzf3hgZq.js → use-decopilot-events-CN5jq2Ax.js} +1 -1
- package/dist/client/assets/{use-delete-connection-D5D7M4ay.js → use-delete-connection-3pf7Gnxc.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-C3Qa6hGW.js → use-infinite-scroll-DknIuIQ2.js} +1 -1
- package/dist/client/assets/{use-list-state-hDUYjUlU.js → use-list-state-8iqNUJS2.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-DigN6mZj.js → use-mcp-tools-qxi4PxSc.js} +1 -1
- package/dist/client/assets/{use-members-ChwILPhE.js → use-members-Ck6hn7xk.js} +1 -1
- package/dist/client/assets/{use-mobile-BSlkjiym.js → use-mobile-DrlR5BbG.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-yRpKyeIE.js → use-navigate-to-agent-DlV84y97.js} +1 -1
- package/dist/client/assets/{use-org-sso-OgWFYsGG.js → use-org-sso-CWrx0G98.js} +1 -1
- package/dist/client/assets/{use-organization-roles-AsLd-PIV.js → use-organization-roles-DsSbdLcn.js} +1 -1
- package/dist/client/assets/{use-organization-settings-dHr-vwwr.js → use-organization-settings-DoI0c_Gi.js} +1 -1
- package/dist/client/assets/{use-registry-connections-CYHmfgoy.js → use-registry-connections-BZXVzsNL.js} +1 -1
- package/dist/client/assets/{use-status-sounds-B12GPbr_.js → use-status-sounds-UAO5zXMo.js} +1 -1
- package/dist/client/assets/{use-tasks-CBpkur0D.js → use-tasks-BGCdXCFh.js} +1 -1
- package/dist/client/assets/{use-view-mode-BAlWkrBx.js → use-view-mode-Cobet5rP.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-CTcuyRU_.js → use-virtual-mcp-G7jm3TGl.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-J4O9iX8k.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-BBJXEpEL.js +1 -0
- package/dist/client/assets/{user-BnSZoTYs.js → user-BXlY7NuV.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-XuC9ujfW.js → view-mode-toggle-PXHnKZlc.js} +1 -1
- package/dist/client/assets/workflow-detail-FemzGjdG.js +1 -0
- package/dist/client/assets/{workflow-CmKE8auY.js → workflow-q8JEUlLD.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/server/cli.js +1 -1
- 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/ai-providers-B3ZQpsvX.js +0 -1
- package/dist/client/assets/index-BHUL0rr0.css +0 -1
- package/dist/client/assets/registry-BBs0abCV.js +0 -2
- package/dist/client/assets/store-registry-DMKzasMp.js +0 -2
- package/dist/client/assets/useInfiniteQuery-DWgeOHBC.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-B1Hn37mg.js +0 -1
- package/dist/client/assets/workflow-detail-DUmWuXHM.js +0 -1
- package/dist/server/node_modules/ansi-regex/index.d.ts +0 -33
- package/dist/server/node_modules/ansi-regex/index.js +0 -14
- package/dist/server/node_modules/ansi-regex/license +0 -9
- package/dist/server/node_modules/ansi-regex/package.json +0 -61
- package/dist/server/node_modules/ansi-regex/readme.md +0 -66
- package/dist/server/node_modules/ansi-styles/index.d.ts +0 -236
- package/dist/server/node_modules/ansi-styles/index.js +0 -223
- package/dist/server/node_modules/ansi-styles/license +0 -9
- package/dist/server/node_modules/ansi-styles/package.json +0 -54
- package/dist/server/node_modules/ansi-styles/readme.md +0 -173
- package/dist/server/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
- package/dist/server/node_modules/emoji-regex/README.md +0 -107
- package/dist/server/node_modules/emoji-regex/index.d.ts +0 -3
- package/dist/server/node_modules/emoji-regex/index.js +0 -4
- package/dist/server/node_modules/emoji-regex/index.mjs +0 -4
- package/dist/server/node_modules/emoji-regex/package.json +0 -45
- package/dist/server/node_modules/environment/index.d.ts +0 -74
- package/dist/server/node_modules/environment/index.js +0 -47
- package/dist/server/node_modules/environment/license +0 -9
- package/dist/server/node_modules/environment/package.json +0 -74
- package/dist/server/node_modules/environment/readme.md +0 -94
- package/dist/server/node_modules/is-unicode-supported/index.d.ts +0 -12
- package/dist/server/node_modules/is-unicode-supported/index.js +0 -21
- package/dist/server/node_modules/is-unicode-supported/license +0 -9
- package/dist/server/node_modules/is-unicode-supported/package.json +0 -47
- package/dist/server/node_modules/is-unicode-supported/readme.md +0 -35
- 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/restore-cursor/index.d.ts +0 -11
- package/dist/server/node_modules/restore-cursor/index.js +0 -11
- package/dist/server/node_modules/restore-cursor/license +0 -9
- package/dist/server/node_modules/restore-cursor/package.json +0 -55
- package/dist/server/node_modules/restore-cursor/readme.md +0 -31
- package/dist/server/node_modules/string-width/index.d.ts +0 -39
- package/dist/server/node_modules/string-width/index.js +0 -82
- package/dist/server/node_modules/string-width/license +0 -9
- package/dist/server/node_modules/string-width/package.json +0 -64
- package/dist/server/node_modules/string-width/readme.md +0 -66
- 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,74 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "environment",
|
|
3
|
-
"version": "1.1.0",
|
|
4
|
-
"description": "Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/environment",
|
|
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 && tsc index.d.ts"
|
|
24
|
-
},
|
|
25
|
-
"files": [
|
|
26
|
-
"index.js",
|
|
27
|
-
"index.d.ts"
|
|
28
|
-
],
|
|
29
|
-
"keywords": [
|
|
30
|
-
"runtime",
|
|
31
|
-
"environment",
|
|
32
|
-
"env",
|
|
33
|
-
"execution",
|
|
34
|
-
"engine",
|
|
35
|
-
"platform",
|
|
36
|
-
"context",
|
|
37
|
-
"js",
|
|
38
|
-
"javascript",
|
|
39
|
-
"is",
|
|
40
|
-
"check",
|
|
41
|
-
"checking",
|
|
42
|
-
"detect",
|
|
43
|
-
"detection",
|
|
44
|
-
"browser",
|
|
45
|
-
"node",
|
|
46
|
-
"bun",
|
|
47
|
-
"deno",
|
|
48
|
-
"electron",
|
|
49
|
-
"jsdom",
|
|
50
|
-
"webworker",
|
|
51
|
-
"worker",
|
|
52
|
-
"serviceworker",
|
|
53
|
-
"macos",
|
|
54
|
-
"ios",
|
|
55
|
-
"iphone",
|
|
56
|
-
"ipad",
|
|
57
|
-
"windows",
|
|
58
|
-
"linux",
|
|
59
|
-
"android",
|
|
60
|
-
"os",
|
|
61
|
-
"operating",
|
|
62
|
-
"system"
|
|
63
|
-
],
|
|
64
|
-
"devDependencies": {
|
|
65
|
-
"ava": "^6.1.3",
|
|
66
|
-
"typescript": "^5.4.5",
|
|
67
|
-
"xo": "^0.58.0"
|
|
68
|
-
},
|
|
69
|
-
"xo": {
|
|
70
|
-
"rules": {
|
|
71
|
-
"n/prefer-global/process": "off"
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
# environment
|
|
2
|
-
|
|
3
|
-
> Check which JavaScript environment your code is running in at runtime
|
|
4
|
-
|
|
5
|
-
## Install
|
|
6
|
-
|
|
7
|
-
```sh
|
|
8
|
-
npm install environment
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Usage
|
|
12
|
-
|
|
13
|
-
```js
|
|
14
|
-
import {isBrowser, isNode} from 'environment';
|
|
15
|
-
|
|
16
|
-
if (isBrowser) {
|
|
17
|
-
console.log('Running in a browser!');
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
if (isNode) {
|
|
21
|
-
console.log('Running in Node.js!');
|
|
22
|
-
}
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
> [!NOTE]
|
|
26
|
-
> Runtime checks should be used sparingly. Prefer [conditional package exports](https://nodejs.org/api/packages.html#conditional-exports) and [imports](https://nodejs.org/api/packages.html#subpath-imports) whenever possible.
|
|
27
|
-
|
|
28
|
-
## API
|
|
29
|
-
|
|
30
|
-
### `isBrowser`
|
|
31
|
-
|
|
32
|
-
Check if the code is running in a web browser environment.
|
|
33
|
-
|
|
34
|
-
### `isNode`
|
|
35
|
-
|
|
36
|
-
Check if the code is running in a [Node.js](https://nodejs.org) environment.
|
|
37
|
-
|
|
38
|
-
### `isBun`
|
|
39
|
-
|
|
40
|
-
Check if the code is running in a [Bun](https://bun.sh) environment.
|
|
41
|
-
|
|
42
|
-
### `isDeno`
|
|
43
|
-
|
|
44
|
-
Check if the code is running in a [Deno](https://deno.com) environment.
|
|
45
|
-
|
|
46
|
-
### `isElectron`
|
|
47
|
-
|
|
48
|
-
Check if the code is running in an [Electron](https://www.electronjs.org) environment.
|
|
49
|
-
|
|
50
|
-
### `isJsDom`
|
|
51
|
-
|
|
52
|
-
Check if the code is running in a [jsdom](https://github.com/jsdom/jsdom) environment.
|
|
53
|
-
|
|
54
|
-
### `isWebWorker`
|
|
55
|
-
|
|
56
|
-
Check if the code is running in a [Web Worker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API#worker_global_contexts_and_functions) environment, which could be either a dedicated worker, shared worker, or service worker.
|
|
57
|
-
|
|
58
|
-
### `isDedicatedWorker`
|
|
59
|
-
|
|
60
|
-
Check if the code is running in a [Dedicated Worker](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope) environment.
|
|
61
|
-
|
|
62
|
-
### `isSharedWorker`
|
|
63
|
-
|
|
64
|
-
Check if the code is running in a [Shared Worker](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorkerGlobalScope) environment.
|
|
65
|
-
|
|
66
|
-
### `isServiceWorker`
|
|
67
|
-
|
|
68
|
-
Check if the code is running in a [Service Worker](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope) environment.
|
|
69
|
-
|
|
70
|
-
### `isMacOs`
|
|
71
|
-
|
|
72
|
-
Check if the code is running on macOS.
|
|
73
|
-
|
|
74
|
-
### `isWindows`
|
|
75
|
-
|
|
76
|
-
Check if the code is running on Windows.
|
|
77
|
-
|
|
78
|
-
### `isLinux`
|
|
79
|
-
|
|
80
|
-
Check if the code is running on Linux.
|
|
81
|
-
|
|
82
|
-
### `isIos`
|
|
83
|
-
|
|
84
|
-
Check if the code is running on iOS.
|
|
85
|
-
|
|
86
|
-
### `isAndroid`
|
|
87
|
-
|
|
88
|
-
Check if the code is running on Android.
|
|
89
|
-
|
|
90
|
-
## Related
|
|
91
|
-
|
|
92
|
-
- [is-in-ci](https://github.com/sindresorhus/is-in-ci) - Check if the process is running in a CI environment
|
|
93
|
-
- [is64bit](https://github.com/sindresorhus/is64bit) - Check if the operating system CPU architecture is 64-bit or 32-bit
|
|
94
|
-
- [is](https://github.com/sindresorhus/is) - Type check values
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import process from 'node:process';
|
|
2
|
-
|
|
3
|
-
export default function isUnicodeSupported() {
|
|
4
|
-
const {env} = process;
|
|
5
|
-
const {TERM, TERM_PROGRAM} = env;
|
|
6
|
-
|
|
7
|
-
if (process.platform !== 'win32') {
|
|
8
|
-
return TERM !== 'linux'; // Linux console (kernel)
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
return Boolean(env.WT_SESSION) // Windows Terminal
|
|
12
|
-
|| Boolean(env.TERMINUS_SUBLIME) // Terminus (<0.2.27)
|
|
13
|
-
|| env.ConEmuTask === '{cmd::Cmder}' // ConEmu and cmder
|
|
14
|
-
|| TERM_PROGRAM === 'Terminus-Sublime'
|
|
15
|
-
|| TERM_PROGRAM === 'vscode'
|
|
16
|
-
|| TERM === 'xterm-256color'
|
|
17
|
-
|| TERM === 'alacritty'
|
|
18
|
-
|| TERM === 'rxvt-unicode'
|
|
19
|
-
|| TERM === 'rxvt-unicode-256color'
|
|
20
|
-
|| env.TERMINAL_EMULATOR === 'JetBrains-JediTerm';
|
|
21
|
-
}
|
|
@@ -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,47 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "is-unicode-supported",
|
|
3
|
-
"version": "2.1.0",
|
|
4
|
-
"description": "Detect whether the terminal supports Unicode",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/is-unicode-supported",
|
|
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
|
-
"terminal",
|
|
31
|
-
"unicode",
|
|
32
|
-
"detect",
|
|
33
|
-
"utf8",
|
|
34
|
-
"console",
|
|
35
|
-
"shell",
|
|
36
|
-
"support",
|
|
37
|
-
"supports",
|
|
38
|
-
"supported",
|
|
39
|
-
"check",
|
|
40
|
-
"detection"
|
|
41
|
-
],
|
|
42
|
-
"devDependencies": {
|
|
43
|
-
"ava": "^6.1.3",
|
|
44
|
-
"tsd": "^0.31.2",
|
|
45
|
-
"xo": "^0.59.3"
|
|
46
|
-
}
|
|
47
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# is-unicode-supported
|
|
2
|
-
|
|
3
|
-
> Detect whether the terminal supports Unicode
|
|
4
|
-
|
|
5
|
-
This can be useful to decide whether to use Unicode characters or fallback ASCII characters in command-line output.
|
|
6
|
-
|
|
7
|
-
Note that the check is quite naive. It just assumes all non-Windows terminals support Unicode and hard-codes which Windows terminals that do support Unicode. However, I have been using this logic in some popular packages for years without problems.
|
|
8
|
-
|
|
9
|
-
## Install
|
|
10
|
-
|
|
11
|
-
```sh
|
|
12
|
-
npm install is-unicode-supported
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Usage
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
import isUnicodeSupported from 'is-unicode-supported';
|
|
19
|
-
|
|
20
|
-
isUnicodeSupported();
|
|
21
|
-
//=> true
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## API
|
|
25
|
-
|
|
26
|
-
### isUnicodeSupported()
|
|
27
|
-
|
|
28
|
-
Returns a `boolean` for whether the terminal supports Unicode.
|
|
29
|
-
|
|
30
|
-
## Related
|
|
31
|
-
|
|
32
|
-
- [is-interactive](https://github.com/sindresorhus/is-interactive) - Check if stdout or stderr is interactive
|
|
33
|
-
- [supports-color](https://github.com/chalk/supports-color) - Detect whether a terminal supports color
|
|
34
|
-
- [figures](https://github.com/sindresorhus/figures) - Unicode symbols with Windows fallbacks
|
|
35
|
-
- [log-symbols](https://github.com/sindresorhus/log-symbols) - Colored symbols for various log levels
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
exports.parse = function (source, transform) {
|
|
4
|
-
return new ArrayParser(source, transform).parse()
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
class ArrayParser {
|
|
8
|
-
constructor (source, transform) {
|
|
9
|
-
this.source = source
|
|
10
|
-
this.transform = transform || identity
|
|
11
|
-
this.position = 0
|
|
12
|
-
this.entries = []
|
|
13
|
-
this.recorded = []
|
|
14
|
-
this.dimension = 0
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
isEof () {
|
|
18
|
-
return this.position >= this.source.length
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
nextCharacter () {
|
|
22
|
-
var character = this.source[this.position++]
|
|
23
|
-
if (character === '\\') {
|
|
24
|
-
return {
|
|
25
|
-
value: this.source[this.position++],
|
|
26
|
-
escaped: true
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
value: character,
|
|
31
|
-
escaped: false
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
record (character) {
|
|
36
|
-
this.recorded.push(character)
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
newEntry (includeEmpty) {
|
|
40
|
-
var entry
|
|
41
|
-
if (this.recorded.length > 0 || includeEmpty) {
|
|
42
|
-
entry = this.recorded.join('')
|
|
43
|
-
if (entry === 'NULL' && !includeEmpty) {
|
|
44
|
-
entry = null
|
|
45
|
-
}
|
|
46
|
-
if (entry !== null) entry = this.transform(entry)
|
|
47
|
-
this.entries.push(entry)
|
|
48
|
-
this.recorded = []
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
consumeDimensions () {
|
|
53
|
-
if (this.source[0] === '[') {
|
|
54
|
-
while (!this.isEof()) {
|
|
55
|
-
var char = this.nextCharacter()
|
|
56
|
-
if (char.value === '=') break
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
parse (nested) {
|
|
62
|
-
var character, parser, quote
|
|
63
|
-
this.consumeDimensions()
|
|
64
|
-
while (!this.isEof()) {
|
|
65
|
-
character = this.nextCharacter()
|
|
66
|
-
if (character.value === '{' && !quote) {
|
|
67
|
-
this.dimension++
|
|
68
|
-
if (this.dimension > 1) {
|
|
69
|
-
parser = new ArrayParser(this.source.substr(this.position - 1), this.transform)
|
|
70
|
-
this.entries.push(parser.parse(true))
|
|
71
|
-
this.position += parser.position - 2
|
|
72
|
-
}
|
|
73
|
-
} else if (character.value === '}' && !quote) {
|
|
74
|
-
this.dimension--
|
|
75
|
-
if (!this.dimension) {
|
|
76
|
-
this.newEntry()
|
|
77
|
-
if (nested) return this.entries
|
|
78
|
-
}
|
|
79
|
-
} else if (character.value === '"' && !character.escaped) {
|
|
80
|
-
if (quote) this.newEntry(true)
|
|
81
|
-
quote = !quote
|
|
82
|
-
} else if (character.value === ',' && !quote) {
|
|
83
|
-
this.newEntry()
|
|
84
|
-
} else {
|
|
85
|
-
this.record(character.value)
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
if (this.dimension !== 0) {
|
|
89
|
-
throw new Error('array dimension not balanced')
|
|
90
|
-
}
|
|
91
|
-
return this.entries
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
function identity (value) {
|
|
96
|
-
return value
|
|
97
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) Ben Drucker <bvdrucker@gmail.com> (bendrucker.me)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "postgres-array",
|
|
3
|
-
"main": "index.js",
|
|
4
|
-
"version": "2.0.0",
|
|
5
|
-
"description": "Parse postgres array columns",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"repository": "bendrucker/postgres-array",
|
|
8
|
-
"author": {
|
|
9
|
-
"name": "Ben Drucker",
|
|
10
|
-
"email": "bvdrucker@gmail.com",
|
|
11
|
-
"url": "bendrucker.me"
|
|
12
|
-
},
|
|
13
|
-
"engines": {
|
|
14
|
-
"node": ">=4"
|
|
15
|
-
},
|
|
16
|
-
"scripts": {
|
|
17
|
-
"test": "standard && tape test.js"
|
|
18
|
-
},
|
|
19
|
-
"types": "index.d.ts",
|
|
20
|
-
"keywords": [
|
|
21
|
-
"postgres",
|
|
22
|
-
"array",
|
|
23
|
-
"parser"
|
|
24
|
-
],
|
|
25
|
-
"dependencies": {},
|
|
26
|
-
"devDependencies": {
|
|
27
|
-
"standard": "^12.0.1",
|
|
28
|
-
"tape": "^4.0.0"
|
|
29
|
-
},
|
|
30
|
-
"files": [
|
|
31
|
-
"index.js",
|
|
32
|
-
"index.d.ts",
|
|
33
|
-
"readme.md"
|
|
34
|
-
]
|
|
35
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# postgres-array [](https://travis-ci.org/bendrucker/postgres-array)
|
|
2
|
-
|
|
3
|
-
> Parse postgres array columns
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
## Install
|
|
7
|
-
|
|
8
|
-
```
|
|
9
|
-
$ npm install --save postgres-array
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
## Usage
|
|
14
|
-
|
|
15
|
-
```js
|
|
16
|
-
var postgresArray = require('postgres-array')
|
|
17
|
-
|
|
18
|
-
postgresArray.parse('{1,2,3}', (value) => parseInt(value, 10))
|
|
19
|
-
//=> [1, 2, 3]
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## API
|
|
23
|
-
|
|
24
|
-
#### `parse(input, [transform])` -> `array`
|
|
25
|
-
|
|
26
|
-
##### input
|
|
27
|
-
|
|
28
|
-
*Required*
|
|
29
|
-
Type: `string`
|
|
30
|
-
|
|
31
|
-
A Postgres array string.
|
|
32
|
-
|
|
33
|
-
##### transform
|
|
34
|
-
|
|
35
|
-
Type: `function`
|
|
36
|
-
Default: `identity`
|
|
37
|
-
|
|
38
|
-
A function that transforms non-null values inserted into the array.
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
## License
|
|
42
|
-
|
|
43
|
-
MIT © [Ben Drucker](http://bendrucker.me)
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
var bufferFrom = Buffer.from || Buffer
|
|
4
|
-
|
|
5
|
-
module.exports = function parseBytea (input) {
|
|
6
|
-
if (/^\\x/.test(input)) {
|
|
7
|
-
// new 'hex' style response (pg >9.0)
|
|
8
|
-
return bufferFrom(input.substr(2), 'hex')
|
|
9
|
-
}
|
|
10
|
-
var output = ''
|
|
11
|
-
var i = 0
|
|
12
|
-
while (i < input.length) {
|
|
13
|
-
if (input[i] !== '\\') {
|
|
14
|
-
output += input[i]
|
|
15
|
-
++i
|
|
16
|
-
} else {
|
|
17
|
-
if (/[0-7]{3}/.test(input.substr(i + 1, 3))) {
|
|
18
|
-
output += String.fromCharCode(parseInt(input.substr(i + 1, 3), 8))
|
|
19
|
-
i += 4
|
|
20
|
-
} else {
|
|
21
|
-
var backslashes = 1
|
|
22
|
-
while (i + backslashes < input.length && input[i + backslashes] === '\\') {
|
|
23
|
-
backslashes++
|
|
24
|
-
}
|
|
25
|
-
for (var k = 0; k < Math.floor(backslashes / 2); ++k) {
|
|
26
|
-
output += '\\'
|
|
27
|
-
}
|
|
28
|
-
i += Math.floor(backslashes / 2) * 2
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
return bufferFrom(output, 'binary')
|
|
33
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) Ben Drucker <bvdrucker@gmail.com> (bendrucker.me)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "postgres-bytea",
|
|
3
|
-
"main": "index.js",
|
|
4
|
-
"version": "1.0.1",
|
|
5
|
-
"description": "Postgres bytea parser",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"repository": "bendrucker/postgres-bytea",
|
|
8
|
-
"author": {
|
|
9
|
-
"name": "Ben Drucker",
|
|
10
|
-
"email": "bvdrucker@gmail.com",
|
|
11
|
-
"url": "bendrucker.me"
|
|
12
|
-
},
|
|
13
|
-
"engines": {
|
|
14
|
-
"node": ">=0.10.0"
|
|
15
|
-
},
|
|
16
|
-
"scripts": {
|
|
17
|
-
"test": "standard && tape test.js"
|
|
18
|
-
},
|
|
19
|
-
"keywords": [
|
|
20
|
-
"bytea",
|
|
21
|
-
"postgres",
|
|
22
|
-
"binary",
|
|
23
|
-
"parser"
|
|
24
|
-
],
|
|
25
|
-
"dependencies": {},
|
|
26
|
-
"devDependencies": {
|
|
27
|
-
"tape": "^4.0.0",
|
|
28
|
-
"standard": "^4.0.0"
|
|
29
|
-
},
|
|
30
|
-
"files": [
|
|
31
|
-
"index.js",
|
|
32
|
-
"readme.md"
|
|
33
|
-
]
|
|
34
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# postgres-bytea [](https://travis-ci.org/bendrucker/postgres-bytea)
|
|
2
|
-
|
|
3
|
-
> Postgres bytea parser
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
## Install
|
|
7
|
-
|
|
8
|
-
```
|
|
9
|
-
$ npm install --save postgres-bytea
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
## Usage
|
|
14
|
-
|
|
15
|
-
```js
|
|
16
|
-
var bytea = require('postgres-bytea');
|
|
17
|
-
bytea('\\000\\100\\200')
|
|
18
|
-
//=> buffer
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## API
|
|
22
|
-
|
|
23
|
-
#### `bytea(input)` -> `buffer`
|
|
24
|
-
|
|
25
|
-
##### input
|
|
26
|
-
|
|
27
|
-
*Required*
|
|
28
|
-
Type: `string`
|
|
29
|
-
|
|
30
|
-
A Postgres bytea binary string.
|
|
31
|
-
|
|
32
|
-
## License
|
|
33
|
-
|
|
34
|
-
MIT © [Ben Drucker](http://bendrucker.me)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import process from 'node:process';
|
|
2
|
-
import onetime from 'onetime';
|
|
3
|
-
import signalExit from 'signal-exit';
|
|
4
|
-
|
|
5
|
-
const restoreCursor = onetime(() => {
|
|
6
|
-
signalExit(() => {
|
|
7
|
-
process.stderr.write('\u001B[?25h');
|
|
8
|
-
}, {alwaysLast: true});
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
export default restoreCursor;
|
|
@@ -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.
|