decocms 2.304.0 → 2.304.2
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-BeiDn4Fp.js → AlertCircle-9O6VvAfH.js} +1 -1
- package/dist/client/assets/{ArrowNarrowLeft-hulNygQd.js → ArrowNarrowLeft-CG2ODQbf.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-lTwxwkJA.js → ArrowUpRight-C7hCAEbW.js} +1 -1
- package/dist/client/assets/{CheckCircle-3TB25Bcb.js → CheckCircle-BbvAf9Bo.js} +1 -1
- package/dist/client/assets/{ChevronDown-_b59faTm.js → ChevronDown-DTujp_Ze.js} +1 -1
- package/dist/client/assets/{ChevronRight-DEybByBs.js → ChevronRight-DmfKIycz.js} +1 -1
- package/dist/client/assets/{ChevronUp-B_td_jK6.js → ChevronUp-k_xkdO-G.js} +1 -1
- package/dist/client/assets/{Container-d8d36LPk.js → Container-Dwj81gCC.js} +1 -1
- package/dist/client/assets/{DotsVertical-9AuPT8gf.js → DotsVertical-BSgCnoHf.js} +1 -1
- package/dist/client/assets/{LinkExternal01-BMrJcbl6.js → LinkExternal01-DceZ2oEY.js} +1 -1
- package/dist/client/assets/{Lock01-C5rgxGgu.js → Lock01-NMXz4ptn.js} +1 -1
- package/dist/client/assets/{Palette-DfnmIo6d.js → Palette-dLUnn7-k.js} +1 -1
- package/dist/client/assets/{Play-BGW505UY.js → Play-DBJO09gj.js} +1 -1
- package/dist/client/assets/{Plus-DlISHBLe.js → Plus-D5DLeNpq.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-Dbq2QLAC.js → RefreshCcw01-B6WkaYVq.js} +1 -1
- package/dist/client/assets/{SearchMd-C8WDOhfc.js → SearchMd-CCDT-gCm.js} +1 -1
- package/dist/client/assets/{Settings02-BIpL5e3f.js → Settings02-CnaVYpiu.js} +1 -1
- package/dist/client/assets/{Shield01-DCoI7_zY.js → Shield01-Bqcf2bTH.js} +1 -1
- package/dist/client/assets/{Star01-Chns_B29.js → Star01-SeWnXAup.js} +1 -1
- package/dist/client/assets/{Sun-CgSsJ8OX.js → Sun-0NoCfqDs.js} +1 -1
- package/dist/client/assets/{Tool01-B8RjIhe4.js → Tool01-CNtQXBy4.js} +1 -1
- package/dist/client/assets/{Trash01-CFncShuD.js → Trash01-UTo49HDl.js} +1 -1
- package/dist/client/assets/{User01-Bq8r53VC.js → User01-CVlz7odd.js} +1 -1
- package/dist/client/assets/{Users03-qD8JWxak.js → Users03-X35A5ADD.js} +1 -1
- package/dist/client/assets/{X-BNOerUAB.js → X-CeTLIvc6.js} +1 -1
- package/dist/client/assets/{XCircle-B-JS14_e.js → XCircle-DtPL7zg0.js} +1 -1
- package/dist/client/assets/{XClose-vOlmnMjZ.js → XClose-C2Cy4nwy.js} +1 -1
- package/dist/client/assets/{Zap-BPHOFmqu.js → Zap-D1n1nJno.js} +1 -1
- package/dist/client/assets/{ZapSquare-CX9zqrxv.js → ZapSquare-Wt7N_ZY-.js} +1 -1
- package/dist/client/assets/{accordion-DIyksd99.js → accordion-DPxobU6V.js} +1 -1
- package/dist/client/assets/{agent-icon-CLQAOsUE.js → agent-icon-rfR6G8ak.js} +1 -1
- package/dist/client/assets/{agents-list-D0BQglaf.js → agents-list-CSAgVNG9.js} +1 -1
- package/dist/client/assets/ai-providers-BWpsfrqy.js +1 -0
- package/dist/client/assets/{alert-dialog-BWduFhy-.js → alert-dialog-FP3uTtqS.js} +1 -1
- package/dist/client/assets/{auth-catchall-D-v4q1Qx.js → auth-catchall-x57v3jqK.js} +1 -1
- package/dist/client/assets/{automation-list-row-DPkrb87t.js → automation-list-row-DG25MDBi.js} +1 -1
- package/dist/client/assets/{automations-BCzY9gmM.js → automations-Dvzmj3cQ.js} +1 -1
- package/dist/client/assets/{avatar-C6HNjGDg.js → avatar-jxKfgW3P.js} +1 -1
- package/dist/client/assets/{badge-CZCn9Wwi.js → badge-DSbZ2xYh.js} +1 -1
- package/dist/client/assets/{brand-context-DcqBJ41j.js → brand-context-BnZBvexH.js} +1 -1
- package/dist/client/assets/{card-oNblR0HO.js → card-DxIIO9TM.js} +1 -1
- package/dist/client/assets/{chat-context-RcvBJBC7.js → chat-context-BFu5v0t2.js} +1 -1
- package/dist/client/assets/{checkbox-JSEUVCMB.js → checkbox-BC2-36Db.js} +1 -1
- package/dist/client/assets/{collection-detail-C5pV1mWu.js → collection-detail-CD-QyUWU.js} +1 -1
- package/dist/client/assets/{collection-display-button-DQSPcJBz.js → collection-display-button-C_CtGElp.js} +1 -1
- package/dist/client/assets/{collection-search-CLoorkFj.js → collection-search-C4byKAjw.js} +1 -1
- package/dist/client/assets/{collection-search-DGO6_1o7.js → collection-search-D4u3PzGA.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-P7sXgSq0.js → collection-table-wrapper-C_-94CeK.js} +1 -1
- package/dist/client/assets/{collection-tabs-6c5Oz0MD.js → collection-tabs-gMfs6Afq.js} +1 -1
- package/dist/client/assets/{collections-CcBlrCx6.js → collections-D7GHHPCg.js} +1 -1
- package/dist/client/assets/{command-C666DFpg.js → command-rz34Ys0W.js} +1 -1
- package/dist/client/assets/{connection-card-DbGlMaON.js → connection-card-B9DKOCXt.js} +1 -1
- package/dist/client/assets/{connection-detail-DOFWK_LZ.js → connection-detail-DsF7Nr0a.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-S9iwzj4v.js → connection-form-helpers-Dr9CZ_1s.js} +1 -1
- package/dist/client/assets/{connections-DZgnlfnc.js → connections-C8H8V7wn.js} +1 -1
- package/dist/client/assets/{constants-B22iOAkD.js → constants-DzBa_pVv.js} +1 -1
- package/dist/client/assets/{constants-DRQ2x-Dp.js → constants-ZacFr8c8.js} +1 -1
- package/dist/client/assets/{dialog-ReVTOuxu.js → dialog-DJXnl186.js} +1 -1
- package/dist/client/assets/{domain-settings-_aY4XST2.js → domain-settings-B6gsJfGm.js} +1 -1
- package/dist/client/assets/{drawer-BYHJ-8Om.js → drawer-CKRLj2vr.js} +1 -1
- package/dist/client/assets/{dropdown-menu-y8iKrNsS.js → dropdown-menu-BxJLGp-F.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-BxzD5223.js → dynamic-plugin-layout-EgA1-G6Q.js} +1 -1
- package/dist/client/assets/{empty-state-B4rhh1dc.js → empty-state-DP9kvNKh.js} +1 -1
- package/dist/client/assets/{empty-state-ByRM_QUo.js → empty-state-VyFb4d0_.js} +1 -1
- package/dist/client/assets/{extract-connection-data-CbVt8VgN.js → extract-connection-data-DV87vwuC.js} +1 -1
- package/dist/client/assets/{features-BMKDqpeL.js → features-CKG88lyc.js} +1 -1
- package/dist/client/assets/{form-D8QDPjk9.js → form-Crn7uG02.js} +1 -1
- package/dist/client/assets/{general-WpQ82n-X.js → general-DN5VLZqF.js} +1 -1
- package/dist/client/assets/{index-D4IWA9IU.js → index-B3pJqV9Y.js} +2 -2
- package/dist/client/assets/{index-CgURykwj.js → index-B6JiqoZb.js} +1 -1
- package/dist/client/assets/index-B8vmm8Mh.js +1 -0
- package/dist/client/assets/{index-U5YmU8lc.js → index-BAGdGx2X.js} +1 -1
- package/dist/client/assets/{index-Bpod-O0_.js → index-BQYge0uD.js} +1 -1
- package/dist/client/assets/{index-BuLwXk3-.js → index-BUmhrApd.js} +15 -15
- package/dist/client/assets/{index-CPmmcxsi.js → index-Bw6Vawnl.js} +1 -1
- package/dist/client/assets/{index-BET8kMZe.js → index-C7apxcAd.js} +1 -1
- package/dist/client/assets/{index-CTWz6nN8.js → index-CD0IZENy.js} +1 -1
- package/dist/client/assets/{index-Bi-e-UKp.js → index-Cg6ppcFr.js} +1 -1
- package/dist/client/assets/{index-D9Q6YnJH.js → index-Crppsl-8.js} +1 -1
- package/dist/client/assets/{index-CeC26NPv.js → index-DMLydKBU.js} +1 -1
- package/dist/client/assets/{index-Cf5saV1q.js → index-DPV7Oao4.js} +1 -1
- package/dist/client/assets/{index-DXXI9MyH.js → index-DkUpgHdS.js} +1 -1
- package/dist/client/assets/{index-DBj2qw-o.js → index-Dql_sPLp.js} +1 -1
- package/dist/client/assets/{index-D8dvMQZl.js → index-vUSuyfsm.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-ClYEJj89.js → infiniteQueryObserver-FXpIkCb9.js} +1 -1
- package/dist/client/assets/{input-DhXllgVP.js → input-DylFJb_s.js} +1 -1
- package/dist/client/assets/{integration-icon-CNQIPioy.js → integration-icon-BrsREj94.js} +1 -1
- package/dist/client/assets/{label-BDcPRk17.js → label-BMcf8C3G.js} +1 -1
- package/dist/client/assets/{layout-DBK70FJ7.js → layout-Dp2Exmc7.js} +1 -1
- package/dist/client/assets/{lean-canvas-recruit-modal-Cosr7uB6.js → lean-canvas-recruit-modal-DrBzPrQ5.js} +1 -1
- package/dist/client/assets/{login-uRApKgz7.js → login-B4OITSYv.js} +1 -1
- package/dist/client/assets/{members-CgYS1Zxe.js → members-CyDwQ7ZL.js} +1 -1
- package/dist/client/assets/{monaco-editor-D34bkcWL.js → monaco-editor-CQLG9APn.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-Rw8mxMr8.js → monitoring-stats-row-Mv3iWLF5.js} +1 -1
- package/dist/client/assets/{oauth-callback-DLWU7IjL.js → oauth-callback-D86cP5gF.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-5FDIcGBj.js → oauth-callback-ai-provider-B2xTvzHM.js} +1 -1
- package/dist/client/assets/{onboarding-jyaCV8uq.js → onboarding-BVoZJerk.js} +1 -1
- package/dist/client/assets/{org-layout-DxW3YApR.js → org-layout-DvQadC0N.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-B-uqLn5y.js → org-plugin-layout-CZcCVNv6.js} +1 -1
- package/dist/client/assets/{pair-CM7Z5dgt.js → pair-D0CyaFmX.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-C-o1hhqY.js → plugin-empty-state-BYazHRIg.js} +1 -1
- package/dist/client/assets/{plugin-header-BTFD2Tcj.js → plugin-header-BNYKRXC9.js} +1 -1
- package/dist/client/assets/{plugin-layout-BiJEtvKW.js → plugin-layout-BWoK3Wuc.js} +1 -1
- package/dist/client/assets/{popover-DQq9bf6V.js → popover-CUnDbgJ2.js} +1 -1
- package/dist/client/assets/{profile-PICkTEdT.js → profile-CzybNlff.js} +1 -1
- package/dist/client/assets/{project-app-view-B1QcPr4W.js → project-app-view-CJwFT9Ix.js} +1 -1
- package/dist/client/assets/registry-Dfum406p.js +2 -0
- package/dist/client/assets/{registry-layout-DGmSzwah.js → registry-layout-DRAqgrZS.js} +1 -1
- package/dist/client/assets/{required-auth-layout-CfAoaltR.js → required-auth-layout-BqWuvVf2.js} +1 -1
- package/dist/client/assets/{reset-password-NMO08kVP.js → reset-password-kytluBmt.js} +1 -1
- package/dist/client/assets/{roles-CCaqodZQ.js → roles-Ds1RHbZR.js} +1 -1
- package/dist/client/assets/{scroll-area-AhoYMTSF.js → scroll-area-3cZxZboM.js} +1 -1
- package/dist/client/assets/{search-input-BSmmjMtR.js → search-input-BmVPc4RV.js} +1 -1
- package/dist/client/assets/{select-dTphD0ES.js → select-FyLwzc48.js} +1 -1
- package/dist/client/assets/{select-model-D2H_jWcd.js → select-model-67avCsXE.js} +1 -1
- package/dist/client/assets/{settings-layout-Bn3d6rRU.js → settings-layout-BqPzbZI_.js} +1 -1
- package/dist/client/assets/{settings-section-DkPpouMA.js → settings-section-XEp6UNJA.js} +1 -1
- package/dist/client/assets/{shell-layout-DLX5f9iI.js → shell-layout-BiL6-6W9.js} +1 -1
- package/dist/client/assets/{skeleton-DCMX-VkN.js → skeleton-BWYBZf7m.js} +1 -1
- package/dist/client/assets/{sso-BeQadTWm.js → sso-CuSDTfdG.js} +1 -1
- package/dist/client/assets/{store-D-lrayyv.js → store-CHGpyb-m.js} +1 -1
- package/dist/client/assets/store-registry-BtOOqHJ7.js +2 -0
- package/dist/client/assets/{switch-D9uEYoPa.js → switch-BL_ICveF.js} +1 -1
- package/dist/client/assets/{table-BIcJswmk.js → table-Cri7VAeb.js} +1 -1
- package/dist/client/assets/{tabs-Bbs5xG17.js → tabs-DGNL4gIl.js} +1 -1
- package/dist/client/assets/{task-status-1zFON5T4.js → task-status-BsVHYvla.js} +1 -1
- package/dist/client/assets/{textarea-BMU9fnHG.js → textarea-B1YgZKSW.js} +1 -1
- package/dist/client/assets/{toggle-group-juphd3c4.js → toggle-group-cD20__YI.js} +1 -1
- package/dist/client/assets/{tools-list-BP78dRI3.js → tools-list-B1QLvdRl.js} +1 -1
- package/dist/client/assets/{tooltip-B5FrLY14.js → tooltip-DZIo6YZX.js} +1 -1
- package/dist/client/assets/{types-DmM_J5U9.js → types-PzC3rVhv.js} +1 -1
- package/dist/client/assets/{use-ai-providers-CVAGId9e.js → use-ai-providers-Dsmx4U8L.js} +1 -1
- package/dist/client/assets/{use-collections-DKWG5Tun.js → use-collections-DcamXjGg.js} +1 -1
- package/dist/client/assets/{use-connection-Dy5vq_5j.js → use-connection-CesZaYzK.js} +1 -1
- package/dist/client/assets/{use-copy-BSYEct5q.js → use-copy-Chq89Uhn.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-ifW0Pllw.js → use-create-virtual-mcp-B0T0urBu.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-DVXCv4R8.js → use-decopilot-events-BCUB3DhH.js} +1 -1
- package/dist/client/assets/{use-delete-connection-CRe3MUPe.js → use-delete-connection-CqpWV7PJ.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-4DQHfv5o.js → use-infinite-scroll-D6FvdXof.js} +1 -1
- package/dist/client/assets/{use-list-state-CihFBhY3.js → use-list-state-D_NiaDpI.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-Bog3rGRX.js → use-mcp-tools-oIEGFyCT.js} +1 -1
- package/dist/client/assets/{use-members-eWVl2b1I.js → use-members-C3jq0flu.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent--7ajKHhy.js → use-navigate-to-agent-DNFfIi8H.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-C-BGwXKo.js → use-org-auth-client-BniQTMze.js} +1 -1
- package/dist/client/assets/{use-org-sso-2mlDJ8c4.js → use-org-sso-SjyAvOWA.js} +1 -1
- package/dist/client/assets/{use-organization-roles-PByiiFjp.js → use-organization-roles-CLHZHSel.js} +1 -1
- package/dist/client/assets/{use-organization-settings-DngIHmBy.js → use-organization-settings-C8pMgrh-.js} +1 -1
- package/dist/client/assets/{use-registry-connections-CDM-gpri.js → use-registry-connections-CPKTZHrX.js} +1 -1
- package/dist/client/assets/{use-status-sounds-BzXaoVC8.js → use-status-sounds-BYyaVEdO.js} +1 -1
- package/dist/client/assets/{use-tasks-M1RmMNT7.js → use-tasks-D-yLjF43.js} +1 -1
- package/dist/client/assets/{use-view-mode-DRDlksJe.js → use-view-mode-C06qcP9p.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-CDCK02Yj.js → use-virtual-mcp-CEUQCho1.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-ANrroW8x.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-CgFHp-eh.js +1 -0
- package/dist/client/assets/{user-WYGHhGxH.js → user-DlFqYjZ6.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-CK1VLDTo.js → view-mode-toggle-CiYPbOW7.js} +1 -1
- package/dist/client/assets/{workflow-DkcKupEW.js → workflow-CYF9ayPN.js} +1 -1
- package/dist/client/assets/workflow-detail-DVsv_zWc.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +387 -387
- package/dist/server/node_modules/get-east-asian-width/index.d.ts +60 -0
- package/dist/server/node_modules/get-east-asian-width/index.js +30 -0
- package/dist/server/node_modules/get-east-asian-width/lookup-data.js +18 -0
- package/dist/server/node_modules/get-east-asian-width/lookup.js +135 -0
- package/dist/server/node_modules/get-east-asian-width/package.json +71 -0
- package/dist/server/node_modules/get-east-asian-width/readme.md +65 -0
- package/dist/server/node_modules/get-east-asian-width/utilities.js +24 -0
- package/dist/server/node_modules/is-unicode-supported/index.d.ts +12 -0
- package/dist/server/node_modules/is-unicode-supported/index.js +21 -0
- package/dist/server/node_modules/{slice-ansi → is-unicode-supported}/license +0 -1
- package/dist/server/node_modules/is-unicode-supported/package.json +47 -0
- package/dist/server/node_modules/is-unicode-supported/readme.md +35 -0
- 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/dist/server/node_modules/restore-cursor/index.d.ts +11 -0
- package/dist/server/node_modules/restore-cursor/index.js +11 -0
- package/dist/server/node_modules/restore-cursor/license +9 -0
- package/dist/server/node_modules/restore-cursor/package.json +55 -0
- package/dist/server/node_modules/restore-cursor/readme.md +31 -0
- package/dist/server/node_modules/string-width/index.d.ts +39 -0
- package/dist/server/node_modules/string-width/index.js +82 -0
- package/dist/server/node_modules/string-width/license +9 -0
- package/dist/server/node_modules/string-width/package.json +64 -0
- package/dist/server/node_modules/string-width/readme.md +66 -0
- 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/license +9 -0
- package/dist/server/node_modules/{ansi-regex → strip-ansi}/package.json +18 -20
- package/dist/server/node_modules/strip-ansi/readme.md +37 -0
- package/package.json +1 -1
- package/dist/client/assets/ai-providers-BnclkXxt.js +0 -1
- package/dist/client/assets/index-BB2bR64l.js +0 -1
- package/dist/client/assets/registry-Dr9Q687k.js +0 -2
- package/dist/client/assets/store-registry-dKQp57q_.js +0 -2
- package/dist/client/assets/useInfiniteQuery-DtJBa4_2.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-G-zitmER.js +0 -1
- package/dist/client/assets/workflow-detail-BtHvU2Pd.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/readme.md +0 -66
- package/dist/server/node_modules/convert-to-spaces/dist/index.d.ts +0 -2
- package/dist/server/node_modules/convert-to-spaces/dist/index.js +0 -4
- package/dist/server/node_modules/convert-to-spaces/license +0 -21
- package/dist/server/node_modules/convert-to-spaces/package.json +0 -40
- package/dist/server/node_modules/convert-to-spaces/readme.md +0 -39
- 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/pg-cloudflare/README.md +0 -112
- package/dist/server/node_modules/pg-cloudflare/dist/empty.d.ts +0 -2
- package/dist/server/node_modules/pg-cloudflare/dist/empty.js +0 -6
- package/dist/server/node_modules/pg-cloudflare/dist/empty.js.map +0 -1
- package/dist/server/node_modules/pg-cloudflare/dist/index.d.ts +0 -31
- package/dist/server/node_modules/pg-cloudflare/dist/index.js +0 -152
- package/dist/server/node_modules/pg-cloudflare/dist/index.js.map +0 -1
- package/dist/server/node_modules/pg-cloudflare/esm/index.mjs +0 -3
- package/dist/server/node_modules/pg-cloudflare/package.json +0 -39
- package/dist/server/node_modules/pg-cloudflare/src/empty.ts +0 -3
- package/dist/server/node_modules/pg-cloudflare/src/index.ts +0 -166
- package/dist/server/node_modules/pg-cloudflare/src/types.d.ts +0 -25
- package/dist/server/node_modules/pg-connection-string/LICENSE +0 -21
- package/dist/server/node_modules/pg-connection-string/README.md +0 -105
- package/dist/server/node_modules/pg-connection-string/esm/index.mjs +0 -8
- package/dist/server/node_modules/pg-connection-string/index.d.ts +0 -36
- package/dist/server/node_modules/pg-connection-string/index.js +0 -231
- package/dist/server/node_modules/pg-connection-string/package.json +0 -52
- 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-protocol/LICENSE +0 -21
- package/dist/server/node_modules/pg-protocol/README.md +0 -3
- package/dist/server/node_modules/pg-protocol/dist/b.d.ts +0 -1
- package/dist/server/node_modules/pg-protocol/dist/b.js +0 -23
- package/dist/server/node_modules/pg-protocol/dist/b.js.map +0 -1
- package/dist/server/node_modules/pg-protocol/dist/buffer-reader.d.ts +0 -15
- package/dist/server/node_modules/pg-protocol/dist/buffer-reader.js +0 -55
- package/dist/server/node_modules/pg-protocol/dist/buffer-reader.js.map +0 -1
- package/dist/server/node_modules/pg-protocol/dist/buffer-writer.d.ts +0 -16
- package/dist/server/node_modules/pg-protocol/dist/buffer-writer.js +0 -81
- package/dist/server/node_modules/pg-protocol/dist/buffer-writer.js.map +0 -1
- package/dist/server/node_modules/pg-protocol/dist/inbound-parser.test.d.ts +0 -1
- package/dist/server/node_modules/pg-protocol/dist/inbound-parser.test.js +0 -530
- package/dist/server/node_modules/pg-protocol/dist/inbound-parser.test.js.map +0 -1
- package/dist/server/node_modules/pg-protocol/dist/index.d.ts +0 -6
- package/dist/server/node_modules/pg-protocol/dist/index.js +0 -15
- package/dist/server/node_modules/pg-protocol/dist/index.js.map +0 -1
- package/dist/server/node_modules/pg-protocol/dist/messages.d.ts +0 -162
- package/dist/server/node_modules/pg-protocol/dist/messages.js +0 -160
- package/dist/server/node_modules/pg-protocol/dist/messages.js.map +0 -1
- package/dist/server/node_modules/pg-protocol/dist/outbound-serializer.test.d.ts +0 -1
- package/dist/server/node_modules/pg-protocol/dist/outbound-serializer.test.js +0 -252
- package/dist/server/node_modules/pg-protocol/dist/outbound-serializer.test.js.map +0 -1
- package/dist/server/node_modules/pg-protocol/dist/parser.d.ts +0 -24
- package/dist/server/node_modules/pg-protocol/dist/parser.js +0 -324
- package/dist/server/node_modules/pg-protocol/dist/parser.js.map +0 -1
- package/dist/server/node_modules/pg-protocol/dist/serializer.d.ts +0 -42
- package/dist/server/node_modules/pg-protocol/dist/serializer.js +0 -189
- package/dist/server/node_modules/pg-protocol/dist/serializer.js.map +0 -1
- package/dist/server/node_modules/pg-protocol/esm/index.js +0 -11
- package/dist/server/node_modules/pg-protocol/package.json +0 -45
- package/dist/server/node_modules/pg-protocol/src/b.ts +0 -25
- package/dist/server/node_modules/pg-protocol/src/buffer-reader.ts +0 -58
- package/dist/server/node_modules/pg-protocol/src/buffer-writer.ts +0 -85
- package/dist/server/node_modules/pg-protocol/src/inbound-parser.test.ts +0 -575
- package/dist/server/node_modules/pg-protocol/src/index.ts +0 -11
- package/dist/server/node_modules/pg-protocol/src/messages.ts +0 -262
- package/dist/server/node_modules/pg-protocol/src/outbound-serializer.test.ts +0 -276
- package/dist/server/node_modules/pg-protocol/src/parser.ts +0 -413
- package/dist/server/node_modules/pg-protocol/src/serializer.ts +0 -274
- package/dist/server/node_modules/pg-protocol/src/testing/buffer-list.ts +0 -67
- package/dist/server/node_modules/pg-protocol/src/testing/test-buffers.ts +0 -166
- package/dist/server/node_modules/pg-protocol/src/types/chunky.d.ts +0 -1
- package/dist/server/node_modules/pg-types/.travis.yml +0 -7
- package/dist/server/node_modules/pg-types/Makefile +0 -14
- package/dist/server/node_modules/pg-types/README.md +0 -75
- package/dist/server/node_modules/pg-types/index.d.ts +0 -137
- package/dist/server/node_modules/pg-types/index.js +0 -47
- package/dist/server/node_modules/pg-types/index.test-d.ts +0 -21
- package/dist/server/node_modules/pg-types/lib/arrayParser.js +0 -11
- package/dist/server/node_modules/pg-types/lib/binaryParsers.js +0 -257
- package/dist/server/node_modules/pg-types/lib/builtins.js +0 -73
- package/dist/server/node_modules/pg-types/lib/textParsers.js +0 -215
- package/dist/server/node_modules/pg-types/package.json +0 -42
- package/dist/server/node_modules/pg-types/test/index.js +0 -24
- package/dist/server/node_modules/pg-types/test/types.js +0 -597
- package/dist/server/node_modules/pgpass/README.md +0 -74
- package/dist/server/node_modules/pgpass/lib/helper.js +0 -233
- package/dist/server/node_modules/pgpass/lib/index.js +0 -23
- package/dist/server/node_modules/pgpass/package.json +0 -41
- 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/slice-ansi/index.d.ts +0 -19
- package/dist/server/node_modules/slice-ansi/index.js +0 -260
- package/dist/server/node_modules/slice-ansi/package.json +0 -59
- package/dist/server/node_modules/slice-ansi/readme.md +0 -54
- package/dist/server/node_modules/slice-ansi/tokenize-ansi.js +0 -752
- 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/{ansi-regex → get-east-asian-width}/license +0 -0
- /package/dist/server/node_modules/{pg-cloudflare → pg}/LICENSE +0 -0
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
//Parse method copied from https://github.com/brianc/node-postgres
|
|
4
|
-
//Copyright (c) 2010-2014 Brian Carlson (brian.m.carlson@gmail.com)
|
|
5
|
-
//MIT License
|
|
6
|
-
|
|
7
|
-
//parses a connection string
|
|
8
|
-
function parse(str, options = {}) {
|
|
9
|
-
//unix socket
|
|
10
|
-
if (str.charAt(0) === '/') {
|
|
11
|
-
const config = str.split(' ')
|
|
12
|
-
return { host: config[0], database: config[1] }
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
// Check for empty host in URL
|
|
16
|
-
|
|
17
|
-
const config = {}
|
|
18
|
-
let result
|
|
19
|
-
let dummyHost = false
|
|
20
|
-
if (/ |%[^a-f0-9]|%[a-f0-9][^a-f0-9]/i.test(str)) {
|
|
21
|
-
// Ensure spaces are encoded as %20
|
|
22
|
-
str = encodeURI(str).replace(/%25(\d\d)/g, '%$1')
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
try {
|
|
26
|
-
try {
|
|
27
|
-
result = new URL(str, 'postgres://base')
|
|
28
|
-
} catch (e) {
|
|
29
|
-
// The URL is invalid so try again with a dummy host
|
|
30
|
-
result = new URL(str.replace('@/', '@___DUMMY___/'), 'postgres://base')
|
|
31
|
-
dummyHost = true
|
|
32
|
-
}
|
|
33
|
-
} catch (err) {
|
|
34
|
-
// Remove the input from the error message to avoid leaking sensitive information
|
|
35
|
-
err.input && (err.input = '*****REDACTED*****')
|
|
36
|
-
throw err
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
// We'd like to use Object.fromEntries() here but Node.js 10 does not support it
|
|
40
|
-
for (const entry of result.searchParams.entries()) {
|
|
41
|
-
config[entry[0]] = entry[1]
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
config.user = config.user || decodeURIComponent(result.username)
|
|
45
|
-
config.password = config.password || decodeURIComponent(result.password)
|
|
46
|
-
|
|
47
|
-
if (result.protocol == 'socket:') {
|
|
48
|
-
config.host = decodeURI(result.pathname)
|
|
49
|
-
config.database = result.searchParams.get('db')
|
|
50
|
-
config.client_encoding = result.searchParams.get('encoding')
|
|
51
|
-
return config
|
|
52
|
-
}
|
|
53
|
-
const hostname = dummyHost ? '' : result.hostname
|
|
54
|
-
if (!config.host) {
|
|
55
|
-
// Only set the host if there is no equivalent query param.
|
|
56
|
-
config.host = decodeURIComponent(hostname)
|
|
57
|
-
} else if (hostname && /^%2f/i.test(hostname)) {
|
|
58
|
-
// Only prepend the hostname to the pathname if it is not a URL encoded Unix socket host.
|
|
59
|
-
result.pathname = hostname + result.pathname
|
|
60
|
-
}
|
|
61
|
-
if (!config.port) {
|
|
62
|
-
// Only set the port if there is no equivalent query param.
|
|
63
|
-
config.port = result.port
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
const pathname = result.pathname.slice(1) || null
|
|
67
|
-
config.database = pathname ? decodeURI(pathname) : null
|
|
68
|
-
|
|
69
|
-
if (config.ssl === 'true' || config.ssl === '1') {
|
|
70
|
-
config.ssl = true
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
if (config.ssl === '0') {
|
|
74
|
-
config.ssl = false
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
if (config.sslcert || config.sslkey || config.sslrootcert || config.sslmode) {
|
|
78
|
-
config.ssl = {}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
// Only try to load fs if we expect to read from the disk
|
|
82
|
-
const fs = config.sslcert || config.sslkey || config.sslrootcert ? require('fs') : null
|
|
83
|
-
|
|
84
|
-
if (config.sslcert) {
|
|
85
|
-
config.ssl.cert = fs.readFileSync(config.sslcert).toString()
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
if (config.sslkey) {
|
|
89
|
-
config.ssl.key = fs.readFileSync(config.sslkey).toString()
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
if (config.sslrootcert) {
|
|
93
|
-
config.ssl.ca = fs.readFileSync(config.sslrootcert).toString()
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
if (options.useLibpqCompat && config.uselibpqcompat) {
|
|
97
|
-
throw new Error('Both useLibpqCompat and uselibpqcompat are set. Please use only one of them.')
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
if (config.uselibpqcompat === 'true' || options.useLibpqCompat) {
|
|
101
|
-
switch (config.sslmode) {
|
|
102
|
-
case 'disable': {
|
|
103
|
-
config.ssl = false
|
|
104
|
-
break
|
|
105
|
-
}
|
|
106
|
-
case 'prefer': {
|
|
107
|
-
config.ssl.rejectUnauthorized = false
|
|
108
|
-
break
|
|
109
|
-
}
|
|
110
|
-
case 'require': {
|
|
111
|
-
if (config.sslrootcert) {
|
|
112
|
-
// If a root CA is specified, behavior of `sslmode=require` will be the same as that of `verify-ca`
|
|
113
|
-
config.ssl.checkServerIdentity = function () {}
|
|
114
|
-
} else {
|
|
115
|
-
config.ssl.rejectUnauthorized = false
|
|
116
|
-
}
|
|
117
|
-
break
|
|
118
|
-
}
|
|
119
|
-
case 'verify-ca': {
|
|
120
|
-
if (!config.ssl.ca) {
|
|
121
|
-
throw new Error(
|
|
122
|
-
'SECURITY WARNING: Using sslmode=verify-ca requires specifying a CA with sslrootcert. If a public CA is used, verify-ca allows connections to a server that somebody else may have registered with the CA, making you vulnerable to Man-in-the-Middle attacks. Either specify a custom CA certificate with sslrootcert parameter or use sslmode=verify-full for proper security.'
|
|
123
|
-
)
|
|
124
|
-
}
|
|
125
|
-
config.ssl.checkServerIdentity = function () {}
|
|
126
|
-
break
|
|
127
|
-
}
|
|
128
|
-
case 'verify-full': {
|
|
129
|
-
break
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
} else {
|
|
133
|
-
switch (config.sslmode) {
|
|
134
|
-
case 'disable': {
|
|
135
|
-
config.ssl = false
|
|
136
|
-
break
|
|
137
|
-
}
|
|
138
|
-
case 'prefer':
|
|
139
|
-
case 'require':
|
|
140
|
-
case 'verify-ca':
|
|
141
|
-
case 'verify-full': {
|
|
142
|
-
if (config.sslmode !== 'verify-full') {
|
|
143
|
-
deprecatedSslModeWarning(config.sslmode)
|
|
144
|
-
}
|
|
145
|
-
break
|
|
146
|
-
}
|
|
147
|
-
case 'no-verify': {
|
|
148
|
-
config.ssl.rejectUnauthorized = false
|
|
149
|
-
break
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
return config
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
// convert pg-connection-string ssl config to a ClientConfig.ConnectionOptions
|
|
158
|
-
function toConnectionOptions(sslConfig) {
|
|
159
|
-
const connectionOptions = Object.entries(sslConfig).reduce((c, [key, value]) => {
|
|
160
|
-
// we explicitly check for undefined and null instead of `if (value)` because some
|
|
161
|
-
// options accept falsy values. Example: `ssl.rejectUnauthorized = false`
|
|
162
|
-
if (value !== undefined && value !== null) {
|
|
163
|
-
c[key] = value
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
return c
|
|
167
|
-
}, {})
|
|
168
|
-
|
|
169
|
-
return connectionOptions
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
// convert pg-connection-string config to a ClientConfig
|
|
173
|
-
function toClientConfig(config) {
|
|
174
|
-
const poolConfig = Object.entries(config).reduce((c, [key, value]) => {
|
|
175
|
-
if (key === 'ssl') {
|
|
176
|
-
const sslConfig = value
|
|
177
|
-
|
|
178
|
-
if (typeof sslConfig === 'boolean') {
|
|
179
|
-
c[key] = sslConfig
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
if (typeof sslConfig === 'object') {
|
|
183
|
-
c[key] = toConnectionOptions(sslConfig)
|
|
184
|
-
}
|
|
185
|
-
} else if (value !== undefined && value !== null) {
|
|
186
|
-
if (key === 'port') {
|
|
187
|
-
// when port is not specified, it is converted into an empty string
|
|
188
|
-
// we want to avoid NaN or empty string as a values in ClientConfig
|
|
189
|
-
if (value !== '') {
|
|
190
|
-
const v = parseInt(value, 10)
|
|
191
|
-
if (isNaN(v)) {
|
|
192
|
-
throw new Error(`Invalid ${key}: ${value}`)
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
c[key] = v
|
|
196
|
-
}
|
|
197
|
-
} else {
|
|
198
|
-
c[key] = value
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
return c
|
|
203
|
-
}, {})
|
|
204
|
-
|
|
205
|
-
return poolConfig
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
// parses a connection string into ClientConfig
|
|
209
|
-
function parseIntoClientConfig(str) {
|
|
210
|
-
return toClientConfig(parse(str))
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
function deprecatedSslModeWarning(sslmode) {
|
|
214
|
-
if (!deprecatedSslModeWarning.warned && typeof process !== 'undefined' && process.emitWarning) {
|
|
215
|
-
deprecatedSslModeWarning.warned = true
|
|
216
|
-
process.emitWarning(`SECURITY WARNING: The SSL modes 'prefer', 'require', and 'verify-ca' are treated as aliases for 'verify-full'.
|
|
217
|
-
In the next major version (pg-connection-string v3.0.0 and pg v9.0.0), these modes will adopt standard libpq semantics, which have weaker security guarantees.
|
|
218
|
-
|
|
219
|
-
To prepare for this change:
|
|
220
|
-
- If you want the current behavior, explicitly use 'sslmode=verify-full'
|
|
221
|
-
- If you want libpq compatibility now, use 'uselibpqcompat=true&sslmode=${sslmode}'
|
|
222
|
-
|
|
223
|
-
See https://www.postgresql.org/docs/current/libpq-ssl.html for libpq SSL mode definitions.`)
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
module.exports = parse
|
|
228
|
-
|
|
229
|
-
parse.parse = parse
|
|
230
|
-
parse.toClientConfig = toClientConfig
|
|
231
|
-
parse.parseIntoClientConfig = parseIntoClientConfig
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "pg-connection-string",
|
|
3
|
-
"version": "2.12.0",
|
|
4
|
-
"description": "Functions for dealing with a PostgresSQL connection string",
|
|
5
|
-
"main": "./index.js",
|
|
6
|
-
"types": "./index.d.ts",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": {
|
|
9
|
-
"types": "./index.d.ts",
|
|
10
|
-
"import": "./esm/index.mjs",
|
|
11
|
-
"require": "./index.js",
|
|
12
|
-
"default": "./index.js"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"scripts": {
|
|
16
|
-
"test": "nyc --reporter=lcov mocha && npm run check-coverage",
|
|
17
|
-
"check-coverage": "nyc check-coverage --statements 100 --branches 100 --lines 100 --functions 100"
|
|
18
|
-
},
|
|
19
|
-
"repository": {
|
|
20
|
-
"type": "git",
|
|
21
|
-
"url": "git://github.com/brianc/node-postgres.git",
|
|
22
|
-
"directory": "packages/pg-connection-string"
|
|
23
|
-
},
|
|
24
|
-
"keywords": [
|
|
25
|
-
"pg",
|
|
26
|
-
"connection",
|
|
27
|
-
"string",
|
|
28
|
-
"parse"
|
|
29
|
-
],
|
|
30
|
-
"author": "Blaine Bublitz <blaine@iceddev.com> (http://iceddev.com/)",
|
|
31
|
-
"license": "MIT",
|
|
32
|
-
"bugs": {
|
|
33
|
-
"url": "https://github.com/brianc/node-postgres/issues"
|
|
34
|
-
},
|
|
35
|
-
"homepage": "https://github.com/brianc/node-postgres/tree/master/packages/pg-connection-string",
|
|
36
|
-
"devDependencies": {
|
|
37
|
-
"@types/pg": "^8.12.0",
|
|
38
|
-
"chai": "^4.1.1",
|
|
39
|
-
"coveralls": "^3.0.4",
|
|
40
|
-
"istanbul": "^0.4.5",
|
|
41
|
-
"mocha": "^11.7.5",
|
|
42
|
-
"nyc": "^15",
|
|
43
|
-
"tsx": "^4.19.4",
|
|
44
|
-
"typescript": "^4.0.3"
|
|
45
|
-
},
|
|
46
|
-
"files": [
|
|
47
|
-
"index.js",
|
|
48
|
-
"index.d.ts",
|
|
49
|
-
"esm"
|
|
50
|
-
],
|
|
51
|
-
"gitHead": "c9070cc8d526fca65780cedc25c1966b57cf7532"
|
|
52
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
Copyright © 2017, Charmander <~@charmander.me>
|
|
2
|
-
|
|
3
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
4
|
-
purpose with or without fee is hereby granted, provided that the above
|
|
5
|
-
copyright notice and this permission notice appear in all copies.
|
|
6
|
-
|
|
7
|
-
THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
9
|
-
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
[![Build status][ci image]][ci]
|
|
2
|
-
|
|
3
|
-
64-bit big-endian signed integer-to-string conversion designed for [pg][].
|
|
4
|
-
|
|
5
|
-
```js
|
|
6
|
-
const readInt8 = require('pg-int8');
|
|
7
|
-
|
|
8
|
-
readInt8(Buffer.from([0, 1, 2, 3, 4, 5, 6, 7]))
|
|
9
|
-
// '283686952306183'
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
[pg]: https://github.com/brianc/node-postgres
|
|
14
|
-
|
|
15
|
-
[ci]: https://travis-ci.org/charmander/pg-int8
|
|
16
|
-
[ci image]: https://api.travis-ci.org/charmander/pg-int8.svg
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
// selected so (BASE - 1) * 0x100000000 + 0xffffffff is a safe integer
|
|
4
|
-
var BASE = 1000000;
|
|
5
|
-
|
|
6
|
-
function readInt8(buffer) {
|
|
7
|
-
var high = buffer.readInt32BE(0);
|
|
8
|
-
var low = buffer.readUInt32BE(4);
|
|
9
|
-
var sign = '';
|
|
10
|
-
|
|
11
|
-
if (high < 0) {
|
|
12
|
-
high = ~high + (low === 0);
|
|
13
|
-
low = (~low + 1) >>> 0;
|
|
14
|
-
sign = '-';
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
var result = '';
|
|
18
|
-
var carry;
|
|
19
|
-
var t;
|
|
20
|
-
var digits;
|
|
21
|
-
var pad;
|
|
22
|
-
var l;
|
|
23
|
-
var i;
|
|
24
|
-
|
|
25
|
-
{
|
|
26
|
-
carry = high % BASE;
|
|
27
|
-
high = high / BASE >>> 0;
|
|
28
|
-
|
|
29
|
-
t = 0x100000000 * carry + low;
|
|
30
|
-
low = t / BASE >>> 0;
|
|
31
|
-
digits = '' + (t - BASE * low);
|
|
32
|
-
|
|
33
|
-
if (low === 0 && high === 0) {
|
|
34
|
-
return sign + digits + result;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
pad = '';
|
|
38
|
-
l = 6 - digits.length;
|
|
39
|
-
|
|
40
|
-
for (i = 0; i < l; i++) {
|
|
41
|
-
pad += '0';
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
result = pad + digits + result;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
{
|
|
48
|
-
carry = high % BASE;
|
|
49
|
-
high = high / BASE >>> 0;
|
|
50
|
-
|
|
51
|
-
t = 0x100000000 * carry + low;
|
|
52
|
-
low = t / BASE >>> 0;
|
|
53
|
-
digits = '' + (t - BASE * low);
|
|
54
|
-
|
|
55
|
-
if (low === 0 && high === 0) {
|
|
56
|
-
return sign + digits + result;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
pad = '';
|
|
60
|
-
l = 6 - digits.length;
|
|
61
|
-
|
|
62
|
-
for (i = 0; i < l; i++) {
|
|
63
|
-
pad += '0';
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
result = pad + digits + result;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
{
|
|
70
|
-
carry = high % BASE;
|
|
71
|
-
high = high / BASE >>> 0;
|
|
72
|
-
|
|
73
|
-
t = 0x100000000 * carry + low;
|
|
74
|
-
low = t / BASE >>> 0;
|
|
75
|
-
digits = '' + (t - BASE * low);
|
|
76
|
-
|
|
77
|
-
if (low === 0 && high === 0) {
|
|
78
|
-
return sign + digits + result;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
pad = '';
|
|
82
|
-
l = 6 - digits.length;
|
|
83
|
-
|
|
84
|
-
for (i = 0; i < l; i++) {
|
|
85
|
-
pad += '0';
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
result = pad + digits + result;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
{
|
|
92
|
-
carry = high % BASE;
|
|
93
|
-
t = 0x100000000 * carry + low;
|
|
94
|
-
digits = '' + t % BASE;
|
|
95
|
-
|
|
96
|
-
return sign + digits + result;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
module.exports = readInt8;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "pg-int8",
|
|
3
|
-
"version": "1.0.1",
|
|
4
|
-
"description": "64-bit big-endian signed integer-to-string conversion",
|
|
5
|
-
"bugs": "https://github.com/charmander/pg-int8/issues",
|
|
6
|
-
"license": "ISC",
|
|
7
|
-
"files": [
|
|
8
|
-
"index.js"
|
|
9
|
-
],
|
|
10
|
-
"repository": {
|
|
11
|
-
"type": "git",
|
|
12
|
-
"url": "https://github.com/charmander/pg-int8"
|
|
13
|
-
},
|
|
14
|
-
"scripts": {
|
|
15
|
-
"test": "tap test"
|
|
16
|
-
},
|
|
17
|
-
"devDependencies": {
|
|
18
|
-
"@charmander/eslint-config-base": "1.0.2",
|
|
19
|
-
"tap": "10.7.3"
|
|
20
|
-
},
|
|
21
|
-
"engines": {
|
|
22
|
-
"node": ">=4.0.0"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2010 - 2021 Brian Carlson
|
|
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 all
|
|
13
|
-
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 THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// file for microbenchmarking
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
const buffer_reader_1 = require("./buffer-reader");
|
|
5
|
-
const LOOPS = 1000;
|
|
6
|
-
let count = 0;
|
|
7
|
-
const start = performance.now();
|
|
8
|
-
const reader = new buffer_reader_1.BufferReader();
|
|
9
|
-
const buffer = Buffer.from([33, 33, 33, 33, 33, 33, 33, 0]);
|
|
10
|
-
const run = () => {
|
|
11
|
-
if (count > LOOPS) {
|
|
12
|
-
console.log(performance.now() - start);
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
count++;
|
|
16
|
-
for (let i = 0; i < LOOPS; i++) {
|
|
17
|
-
reader.setBuffer(0, buffer);
|
|
18
|
-
reader.cstring();
|
|
19
|
-
}
|
|
20
|
-
setImmediate(run);
|
|
21
|
-
};
|
|
22
|
-
run();
|
|
23
|
-
//# sourceMappingURL=b.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"b.js","sourceRoot":"","sources":["../src/b.ts"],"names":[],"mappings":";AAAA,6BAA6B;;AAE7B,mDAA8C;AAE9C,MAAM,KAAK,GAAG,IAAI,CAAA;AAClB,IAAI,KAAK,GAAG,CAAC,CAAA;AACb,MAAM,KAAK,GAAG,WAAW,CAAC,GAAG,EAAE,CAAA;AAE/B,MAAM,MAAM,GAAG,IAAI,4BAAY,EAAE,CAAA;AACjC,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,CAAA;AAE3D,MAAM,GAAG,GAAG,GAAG,EAAE;IACf,IAAI,KAAK,GAAG,KAAK,EAAE;QACjB,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG,KAAK,CAAC,CAAA;QACtC,OAAM;KACP;IACD,KAAK,EAAE,CAAA;IACP,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE,EAAE;QAC9B,MAAM,CAAC,SAAS,CAAC,CAAC,EAAE,MAAM,CAAC,CAAA;QAC3B,MAAM,CAAC,OAAO,EAAE,CAAA;KACjB;IACD,YAAY,CAAC,GAAG,CAAC,CAAA;AACnB,CAAC,CAAA;AAED,GAAG,EAAE,CAAA"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
export declare class BufferReader {
|
|
3
|
-
private offset;
|
|
4
|
-
private buffer;
|
|
5
|
-
private encoding;
|
|
6
|
-
constructor(offset?: number);
|
|
7
|
-
setBuffer(offset: number, buffer: Buffer): void;
|
|
8
|
-
int16(): number;
|
|
9
|
-
byte(): number;
|
|
10
|
-
int32(): number;
|
|
11
|
-
uint32(): number;
|
|
12
|
-
string(length: number): string;
|
|
13
|
-
cstring(): string;
|
|
14
|
-
bytes(length: number): Buffer;
|
|
15
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BufferReader = void 0;
|
|
4
|
-
class BufferReader {
|
|
5
|
-
constructor(offset = 0) {
|
|
6
|
-
this.offset = offset;
|
|
7
|
-
this.buffer = Buffer.allocUnsafe(0);
|
|
8
|
-
// TODO(bmc): support non-utf8 encoding?
|
|
9
|
-
this.encoding = 'utf-8';
|
|
10
|
-
}
|
|
11
|
-
setBuffer(offset, buffer) {
|
|
12
|
-
this.offset = offset;
|
|
13
|
-
this.buffer = buffer;
|
|
14
|
-
}
|
|
15
|
-
int16() {
|
|
16
|
-
const result = this.buffer.readInt16BE(this.offset);
|
|
17
|
-
this.offset += 2;
|
|
18
|
-
return result;
|
|
19
|
-
}
|
|
20
|
-
byte() {
|
|
21
|
-
const result = this.buffer[this.offset];
|
|
22
|
-
this.offset++;
|
|
23
|
-
return result;
|
|
24
|
-
}
|
|
25
|
-
int32() {
|
|
26
|
-
const result = this.buffer.readInt32BE(this.offset);
|
|
27
|
-
this.offset += 4;
|
|
28
|
-
return result;
|
|
29
|
-
}
|
|
30
|
-
uint32() {
|
|
31
|
-
const result = this.buffer.readUInt32BE(this.offset);
|
|
32
|
-
this.offset += 4;
|
|
33
|
-
return result;
|
|
34
|
-
}
|
|
35
|
-
string(length) {
|
|
36
|
-
const result = this.buffer.toString(this.encoding, this.offset, this.offset + length);
|
|
37
|
-
this.offset += length;
|
|
38
|
-
return result;
|
|
39
|
-
}
|
|
40
|
-
cstring() {
|
|
41
|
-
const start = this.offset;
|
|
42
|
-
let end = start;
|
|
43
|
-
// eslint-disable-next-line no-empty
|
|
44
|
-
while (this.buffer[end++] !== 0) { }
|
|
45
|
-
this.offset = end;
|
|
46
|
-
return this.buffer.toString(this.encoding, start, end - 1);
|
|
47
|
-
}
|
|
48
|
-
bytes(length) {
|
|
49
|
-
const result = this.buffer.slice(this.offset, this.offset + length);
|
|
50
|
-
this.offset += length;
|
|
51
|
-
return result;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
exports.BufferReader = BufferReader;
|
|
55
|
-
//# sourceMappingURL=buffer-reader.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version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I,CAAC,MAAM,GAAG,MAAM,CAAC,CAAA;QACrF,IAAI,CAAC,MAAM,IAAI,MAAM,CAAA;QACrB,OAAO,MAAM,CAAA;IACf,CAAC;IAEM,OAAO;QACZ,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAA;QACzB,IAAI,GAAG,GAAG,KAAK,CAAA;QACf,oCAAoC;QACpC,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,EAAE,GAAE;QACnC,IAAI,CAAC,MAAM,GAAG,GAAG,CAAA;QACjB,OAAO,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,EAAE,KAAK,EAAE,GAAG,GAAG,CAAC,CAAC,CAAA;IAC5D,CAAC;IAEM,KAAK,CAAC,MAAc;QACzB,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,CAAA;QACnE,IAAI,CAAC,MAAM,IAAI,MAAM,CAAA;QACrB,OAAO,MAAM,CAAA;IACf,CAAC;CACF;AAzDD,oCAyDC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
export declare class Writer {
|
|
3
|
-
private size;
|
|
4
|
-
private buffer;
|
|
5
|
-
private offset;
|
|
6
|
-
private headerPosition;
|
|
7
|
-
constructor(size?: number);
|
|
8
|
-
private ensure;
|
|
9
|
-
addInt32(num: number): Writer;
|
|
10
|
-
addInt16(num: number): Writer;
|
|
11
|
-
addCString(string: string): Writer;
|
|
12
|
-
addString(string?: string): Writer;
|
|
13
|
-
add(otherBuffer: Buffer): Writer;
|
|
14
|
-
private join;
|
|
15
|
-
flush(code?: number): Buffer;
|
|
16
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
//binary data writer tuned for encoding binary specific to the postgres binary protocol
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Writer = void 0;
|
|
5
|
-
class Writer {
|
|
6
|
-
constructor(size = 256) {
|
|
7
|
-
this.size = size;
|
|
8
|
-
this.offset = 5;
|
|
9
|
-
this.headerPosition = 0;
|
|
10
|
-
this.buffer = Buffer.allocUnsafe(size);
|
|
11
|
-
}
|
|
12
|
-
ensure(size) {
|
|
13
|
-
const remaining = this.buffer.length - this.offset;
|
|
14
|
-
if (remaining < size) {
|
|
15
|
-
const oldBuffer = this.buffer;
|
|
16
|
-
// exponential growth factor of around ~ 1.5
|
|
17
|
-
// https://stackoverflow.com/questions/2269063/buffer-growth-strategy
|
|
18
|
-
const newSize = oldBuffer.length + (oldBuffer.length >> 1) + size;
|
|
19
|
-
this.buffer = Buffer.allocUnsafe(newSize);
|
|
20
|
-
oldBuffer.copy(this.buffer);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
addInt32(num) {
|
|
24
|
-
this.ensure(4);
|
|
25
|
-
this.buffer[this.offset++] = (num >>> 24) & 0xff;
|
|
26
|
-
this.buffer[this.offset++] = (num >>> 16) & 0xff;
|
|
27
|
-
this.buffer[this.offset++] = (num >>> 8) & 0xff;
|
|
28
|
-
this.buffer[this.offset++] = (num >>> 0) & 0xff;
|
|
29
|
-
return this;
|
|
30
|
-
}
|
|
31
|
-
addInt16(num) {
|
|
32
|
-
this.ensure(2);
|
|
33
|
-
this.buffer[this.offset++] = (num >>> 8) & 0xff;
|
|
34
|
-
this.buffer[this.offset++] = (num >>> 0) & 0xff;
|
|
35
|
-
return this;
|
|
36
|
-
}
|
|
37
|
-
addCString(string) {
|
|
38
|
-
if (!string) {
|
|
39
|
-
this.ensure(1);
|
|
40
|
-
}
|
|
41
|
-
else {
|
|
42
|
-
const len = Buffer.byteLength(string);
|
|
43
|
-
this.ensure(len + 1); // +1 for null terminator
|
|
44
|
-
this.buffer.write(string, this.offset, 'utf-8');
|
|
45
|
-
this.offset += len;
|
|
46
|
-
}
|
|
47
|
-
this.buffer[this.offset++] = 0; // null terminator
|
|
48
|
-
return this;
|
|
49
|
-
}
|
|
50
|
-
addString(string = '') {
|
|
51
|
-
const len = Buffer.byteLength(string);
|
|
52
|
-
this.ensure(len);
|
|
53
|
-
this.buffer.write(string, this.offset);
|
|
54
|
-
this.offset += len;
|
|
55
|
-
return this;
|
|
56
|
-
}
|
|
57
|
-
add(otherBuffer) {
|
|
58
|
-
this.ensure(otherBuffer.length);
|
|
59
|
-
otherBuffer.copy(this.buffer, this.offset);
|
|
60
|
-
this.offset += otherBuffer.length;
|
|
61
|
-
return this;
|
|
62
|
-
}
|
|
63
|
-
join(code) {
|
|
64
|
-
if (code) {
|
|
65
|
-
this.buffer[this.headerPosition] = code;
|
|
66
|
-
//length is everything in this packet minus the code
|
|
67
|
-
const length = this.offset - (this.headerPosition + 1);
|
|
68
|
-
this.buffer.writeInt32BE(length, this.headerPosition + 1);
|
|
69
|
-
}
|
|
70
|
-
return this.buffer.slice(code ? 0 : 5, this.offset);
|
|
71
|
-
}
|
|
72
|
-
flush(code) {
|
|
73
|
-
const result = this.join(code);
|
|
74
|
-
this.offset = 5;
|
|
75
|
-
this.headerPosition = 0;
|
|
76
|
-
this.buffer = Buffer.allocUnsafe(this.size);
|
|
77
|
-
return result;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
exports.Writer = Writer;
|
|
81
|
-
//# sourceMappingURL=buffer-writer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buffer-writer.js","sourceRoot":"","sources":["../src/buffer-writer.ts"],"names":[],"mappings":";AAAA,uFAAuF;;;AAEvF,MAAa,MAAM;IAIjB,YAAoB,OAAO,GAAG;QAAV,SAAI,GAAJ,IAAI,CAAM;QAFtB,WAAM,GAAW,CAAC,CAAA;QAClB,mBAAc,GAAW,CAAC,CAAA;QAEhC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;IACxC,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