decocms 2.281.2 → 2.281.4-alpha.1
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-BeQFaTo3.js → AlertCircle-7JjFgLc7.js} +1 -1
- package/dist/client/assets/{ArrowNarrowLeft-C-IANgnQ.js → ArrowNarrowLeft-Dede_Ne2.js} +1 -1
- package/dist/client/assets/{CheckCircle-Dh4A5tI_.js → CheckCircle-CTW72EON.js} +1 -1
- package/dist/client/assets/{ChevronDown-D9aZn2Hi.js → ChevronDown-kxc5hHzL.js} +1 -1
- package/dist/client/assets/{ChevronRight-CkL59Zuk.js → ChevronRight-DDbSh6n1.js} +1 -1
- package/dist/client/assets/{ChevronUp-C7hCnblE.js → ChevronUp-Dp8gBsiQ.js} +1 -1
- package/dist/client/assets/{Container-CSvdcipc.js → Container-DbPEBCPd.js} +1 -1
- package/dist/client/assets/{LinkExternal01-sdvrsKlM.js → LinkExternal01-DGpodMuQ.js} +1 -1
- package/dist/client/assets/{Lock01-CneVnDQd.js → Lock01-DWeyLAgC.js} +1 -1
- package/dist/client/assets/{Palette-Bo0ad1R6.js → Palette-9DjyOnf4.js} +1 -1
- package/dist/client/assets/{Play-BhoAd8Uu.js → Play-CGVWyYId.js} +1 -1
- package/dist/client/assets/{Plus-79r9zazJ.js → Plus-BZ8TfrO6.js} +1 -1
- package/dist/client/assets/{SearchMd-00qF-7Ba.js → SearchMd-DiHiiShh.js} +1 -1
- package/dist/client/assets/{Settings02-B6cIpcv6.js → Settings02-BrMLRmyq.js} +1 -1
- package/dist/client/assets/{Star01-RArWROxo.js → Star01-DOZUyUGI.js} +1 -1
- package/dist/client/assets/{Sun-CaIYIMZ6.js → Sun-D9NMWxb1.js} +1 -1
- package/dist/client/assets/{Tool01-BK4G_l0X.js → Tool01-CPwXEQb5.js} +1 -1
- package/dist/client/assets/{Trash01-PNv-fbRK.js → Trash01-JJPVWHIh.js} +1 -1
- package/dist/client/assets/{Upload01-BeVyQxbB.js → Upload01-CAASdeK2.js} +1 -1
- package/dist/client/assets/{User01-BirINwKI.js → User01-DzewYYcp.js} +1 -1
- package/dist/client/assets/{Users03-Dpk7x7z4.js → Users03-1bfUrVZT.js} +1 -1
- package/dist/client/assets/{X-KSz9xyi5.js → X-CyqBZIBt.js} +1 -1
- package/dist/client/assets/{XCircle-uU-3aWe3.js → XCircle-C0Pb9VbS.js} +1 -1
- package/dist/client/assets/{Zap-DvQy6Azt.js → Zap-WS6KKy8N.js} +1 -1
- package/dist/client/assets/{ZapSquare-Dk1UmO2a.js → ZapSquare-DBz9qdVm.js} +1 -1
- package/dist/client/assets/{accordion-w6xYXziw.js → accordion-iHKIJir4.js} +1 -1
- package/dist/client/assets/{agent-icon-CMOX8nfk.js → agent-icon-OPgA0_xh.js} +1 -1
- package/dist/client/assets/{agents-list-CeEeRXns.js → agents-list-EtMSypXC.js} +1 -1
- package/dist/client/assets/ai-providers-BkPyz71b.js +1 -0
- package/dist/client/assets/{alert-dialog-DtwmYIx7.js → alert-dialog-CvUq9c2l.js} +1 -1
- package/dist/client/assets/{auth-catchall-CMH1u4oJ.js → auth-catchall-C2AFIXKV.js} +1 -1
- package/dist/client/assets/{automation-list-row-Sb9JaQY9.js → automation-list-row-srgvCKZh.js} +1 -1
- package/dist/client/assets/{automations-Dmw1cKQC.js → automations-Dp2hsJvG.js} +1 -1
- package/dist/client/assets/{avatar-BSJnhSPL.js → avatar-BAGLgwIy.js} +1 -1
- package/dist/client/assets/{badge-BbahYJz-.js → badge-Csg5fgRc.js} +1 -1
- package/dist/client/assets/{brand-context-9yJi8LtT.js → brand-context-D7GISA6v.js} +1 -1
- package/dist/client/assets/{card-BBjkVedQ.js → card-bx_QeXw_.js} +1 -1
- package/dist/client/assets/{chat-context-BVA22TkC.js → chat-context-OvrSchhz.js} +1 -1
- package/dist/client/assets/{checkbox-BNYrEZke.js → checkbox-C7KSBfZr.js} +1 -1
- package/dist/client/assets/{collection-detail-WDWjdfFo.js → collection-detail-BcTctJfQ.js} +1 -1
- package/dist/client/assets/{collection-display-button-C_SpzkVL.js → collection-display-button-B4SGVjCw.js} +1 -1
- package/dist/client/assets/{collection-search-3gkmMFfK.js → collection-search-DOj_zhXC.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-Nq245ZaG.js → collection-table-wrapper-C7ZPBElG.js} +1 -1
- package/dist/client/assets/{collection-tabs-DQAAB0E9.js → collection-tabs-DrO0tDqW.js} +1 -1
- package/dist/client/assets/{collections-CvC03WFa.js → collections-DRefuj7X.js} +1 -1
- package/dist/client/assets/{command-COmac0HY.js → command-CGYZopFY.js} +1 -1
- package/dist/client/assets/{connection-card-C-lcUJmx.js → connection-card-x5-U4xYO.js} +1 -1
- package/dist/client/assets/{connection-detail-DXUAuxOs.js → connection-detail-DNT7n-qD.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-Beczk_I1.js → connection-form-helpers-Cieg3At7.js} +1 -1
- package/dist/client/assets/{connections-jiDZ88zc.js → connections-CcMp0k3e.js} +1 -1
- package/dist/client/assets/{constants-K9p6sFeA.js → constants-BTGWOBGG.js} +1 -1
- package/dist/client/assets/{constants-BXYBvBo8.js → constants-DfNucTio.js} +1 -1
- package/dist/client/assets/{dialog-Cu_M3bSF.js → dialog-CDZoEVTf.js} +1 -1
- package/dist/client/assets/{drawer-C0zWk4g_.js → drawer-BtA5XqsS.js} +1 -1
- package/dist/client/assets/{dropdown-menu-DVLrmulo.js → dropdown-menu-DU8JG2pk.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-4eAl2fmh.js → dynamic-plugin-layout-DI-gMMKE.js} +1 -1
- package/dist/client/assets/{empty-state-BKZHnGIj.js → empty-state-B2WkME-3.js} +1 -1
- package/dist/client/assets/{empty-state-CUC0Gkix.js → empty-state-BxCE5vnH.js} +1 -1
- package/dist/client/assets/{extract-connection-data-CvyRIMCz.js → extract-connection-data-DBjTfzuX.js} +1 -1
- package/dist/client/assets/{features-XCvz9PLL.js → features-BTMuaR90.js} +1 -1
- package/dist/client/assets/{form-Ddm04alF.js → form-nehB0yqt.js} +1 -1
- package/dist/client/assets/{general-DUSBEOfs.js → general-aaZSKs7j.js} +1 -1
- package/dist/client/assets/{index-Cg0hncqj.js → index-0Nuumosr.js} +1 -1
- package/dist/client/assets/{index-BPDAXzpD.js → index-A1TjNoro.js} +1 -1
- package/dist/client/assets/{index-BdfTJahg.js → index-BD-lTLoS.js} +1 -1
- package/dist/client/assets/{index-FLw-zxvs.js → index-BFKRaI9q.js} +1 -1
- package/dist/client/assets/{index-BrtLQXUh.js → index-C7LpArfe.js} +1 -1
- package/dist/client/assets/{index-uAQGGxtu.js → index-CFqkoEQr.js} +1 -1
- package/dist/client/assets/{index-BhIzdEY1.js → index-DkLXfxeF.js} +2 -2
- package/dist/client/assets/{index-BH8gPP0f.js → index-DvGOE4TR.js} +1 -1
- package/dist/client/assets/{index-CU16qbkD.js → index-FCEJcMKv.js} +4 -4
- package/dist/client/assets/{index-BHskyDSR.js → index-nsskrYaZ.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-BO26Xlha.js → infiniteQueryObserver-VUPo5ONC.js} +1 -1
- package/dist/client/assets/{input-Bz8fx1AG.js → input-Dxp3-aWz.js} +1 -1
- package/dist/client/assets/{integration-icon-Byenx_4j.js → integration-icon-DUduEF01.js} +1 -1
- package/dist/client/assets/{label-DaHwCWWB.js → label-BVoDYtUr.js} +1 -1
- package/dist/client/assets/{layout-C8AFQnZg.js → layout-C9Y7P28P.js} +1 -1
- package/dist/client/assets/{lean-canvas-recruit-modal-mykHJAKm.js → lean-canvas-recruit-modal-N8EVMVv5.js} +1 -1
- package/dist/client/assets/{login-DwiMJDl5.js → login-kx3MQEcu.js} +1 -1
- package/dist/client/assets/{members-Cd_WsIS9.js → members-BucBnRu5.js} +1 -1
- package/dist/client/assets/{monaco-editor-D27CWon0.js → monaco-editor-WwGGEq4E.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-C-XRpFjl.js → monitoring-stats-row-D5uhoKE2.js} +1 -1
- package/dist/client/assets/{oauth-callback-GuSY-vSr.js → oauth-callback-BB1bfQ0C.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-D3FgevI5.js → oauth-callback-ai-provider-Cx11JY4J.js} +1 -1
- package/dist/client/assets/{onboarding-PM_BE0uA.js → onboarding-CRDp-7ts.js} +1 -1
- package/dist/client/assets/{org-layout-C251Cbcv.js → org-layout-DWgxefUR.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-BwQLOazi.js → org-plugin-layout-B0IS-vI9.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-DLXHjQeu.js → plugin-empty-state-C9Il8L-B.js} +1 -1
- package/dist/client/assets/{plugin-header-BddmOg85.js → plugin-header-DF-027xA.js} +1 -1
- package/dist/client/assets/{plugin-layout-RqfANRb_.js → plugin-layout-CQviDmLQ.js} +1 -1
- package/dist/client/assets/{popover-BEF8mI0w.js → popover-_s_tQK3Z.js} +1 -1
- package/dist/client/assets/{profile-DrdPa8Y7.js → profile-BAAvq5PA.js} +1 -1
- package/dist/client/assets/{project-app-view-XrA_5t6Q.js → project-app-view-CWfRTdtF.js} +1 -1
- package/dist/client/assets/registry-BO9_rH5u.js +2 -0
- package/dist/client/assets/{registry-layout-CwCyJT-v.js → registry-layout-DQKjQh-i.js} +1 -1
- package/dist/client/assets/{required-auth-layout-Cxviv7yN.js → required-auth-layout-CXhuopzx.js} +1 -1
- package/dist/client/assets/{reset-password-DYbWh4Wq.js → reset-password-DZzWPbSN.js} +1 -1
- package/dist/client/assets/{scroll-area-_gjorSmM.js → scroll-area-hAa33XcH.js} +1 -1
- package/dist/client/assets/{search-input-Dflevf_r.js → search-input-C61ZvpPR.js} +1 -1
- package/dist/client/assets/{select-ruUaRI3f.js → select-DRB8tE_p.js} +1 -1
- package/dist/client/assets/{select-model-BgS5BYlp.js → select-model-CP81c55I.js} +1 -1
- package/dist/client/assets/settings-layout-UJNERdUa.js +1 -0
- package/dist/client/assets/{shell-layout-Lnkya_bN.js → shell-layout-DAhaxub0.js} +1 -1
- package/dist/client/assets/{skeleton-CvZ1yhmk.js → skeleton-3sAmljB_.js} +1 -1
- package/dist/client/assets/{sso-DVCm0NAv.js → sso-BmmBRsro.js} +1 -1
- package/dist/client/assets/{store-BAtOk8g6.js → store-Dq5sv0Ed.js} +1 -1
- package/dist/client/assets/store-registry-BfCS4xd0.js +2 -0
- package/dist/client/assets/{switch-C4VRxkon.js → switch-DL640Ue6.js} +1 -1
- package/dist/client/assets/{table-C1xMho2l.js → table-Dbi2W1JY.js} +1 -1
- package/dist/client/assets/{tabs-MUC8gGmo.js → tabs-BByMWKiD.js} +1 -1
- package/dist/client/assets/{task-status-DBTk3ApD.js → task-status-CmmBYEnr.js} +1 -1
- package/dist/client/assets/{textarea-Dh5aI-9Q.js → textarea-DHlYLEvo.js} +1 -1
- package/dist/client/assets/{toggle-group-qqPb8p7Z.js → toggle-group-CZBEspMS.js} +1 -1
- package/dist/client/assets/{tools-list-5INqbH2J.js → tools-list-DuX1kehi.js} +1 -1
- package/dist/client/assets/{types-Bp-YI7R5.js → types-DvTqSron.js} +1 -1
- package/dist/client/assets/{use-ai-providers-BXn7VXga.js → use-ai-providers-ClS89y7X.js} +1 -1
- package/dist/client/assets/{use-collections-Dg7sh01O.js → use-collections-Dv9KwC2D.js} +1 -1
- package/dist/client/assets/{use-connection-DhM_x-jA.js → use-connection-BmcG6E0P.js} +1 -1
- package/dist/client/assets/{use-copy-BuEIWb6s.js → use-copy-BkRNxEwn.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-KKiF-MXD.js → use-create-virtual-mcp-CH8VJize.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-BSRQhWTI.js → use-decopilot-events-BwyevFSM.js} +1 -1
- package/dist/client/assets/{use-delete-connection-EjeBh_jx.js → use-delete-connection-DfVzQzgY.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-BvRRlmDj.js → use-infinite-scroll-C0yn-Y6f.js} +1 -1
- package/dist/client/assets/{use-list-state-DJ8S20f9.js → use-list-state-D4yuEOh_.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-C0kKBiKr.js → use-mcp-tools-B1TR0GK5.js} +1 -1
- package/dist/client/assets/{use-members-D4VPX3yK.js → use-members-BSe-l5RV.js} +1 -1
- package/dist/client/assets/{use-mobile-BXRLCdzR.js → use-mobile-D7gj1mMa.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-C1QNfHMd.js → use-navigate-to-agent-BOFYFzjJ.js} +1 -1
- package/dist/client/assets/{use-org-sso-C1E2S5f1.js → use-org-sso-BIx4Rk_Y.js} +1 -1
- package/dist/client/assets/{use-organization-settings-NQDr_YDe.js → use-organization-settings-CcY3Vn-c.js} +1 -1
- package/dist/client/assets/{use-registry-connections-2buwPIEr.js → use-registry-connections-G41Zams2.js} +1 -1
- package/dist/client/assets/{use-status-sounds-C5rJSnr7.js → use-status-sounds-Cq0X5c0g.js} +1 -1
- package/dist/client/assets/{use-tasks-DoJvFu21.js → use-tasks-DqpLygvk.js} +1 -1
- package/dist/client/assets/{use-view-mode-eHr1pnSD.js → use-view-mode-hEZSGIRN.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-DPQanfrd.js → use-virtual-mcp-B0nMlTA1.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-D-Fu49PN.js +1 -0
- package/dist/client/assets/{user-D-0Dg4hb.js → user-B-lqJM9i.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-C9JdTAIx.js → view-mode-toggle-DSiIUGAP.js} +1 -1
- package/dist/client/assets/{workflow-Bo7CKW-_.js → workflow-C2B3R0BC.js} +1 -1
- package/dist/client/assets/workflow-detail-EmQ0YEuI.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +4 -2
- package/dist/server/node_modules/postgres-date/index.js +116 -0
- package/dist/server/node_modules/{postgres-bytea → postgres-date}/package.json +7 -8
- package/dist/server/node_modules/postgres-date/readme.md +49 -0
- package/dist/server/node_modules/split2/LICENSE +13 -0
- package/dist/server/node_modules/split2/README.md +85 -0
- package/dist/server/node_modules/split2/bench.js +27 -0
- package/dist/server/node_modules/split2/index.js +141 -0
- package/dist/server/node_modules/split2/package.json +39 -0
- package/dist/server/node_modules/split2/test.js +409 -0
- package/dist/server/server.js +3 -1
- package/package.json +1 -1
- package/dist/client/assets/ai-providers-_ruFOoFf.js +0 -1
- package/dist/client/assets/registry-hvW8DAlR.js +0 -2
- package/dist/client/assets/settings-layout-C9QCDWL8.js +0 -1
- package/dist/client/assets/store-registry-DyRkwg3g.js +0 -2
- package/dist/client/assets/useInfiniteQuery-Cozeocmy.js +0 -1
- package/dist/client/assets/workflow-detail-cv-DGPKy.js +0 -1
- 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/onetime/index.d.ts +0 -64
- package/dist/server/node_modules/onetime/index.js +0 -44
- package/dist/server/node_modules/onetime/license +0 -9
- package/dist/server/node_modules/onetime/package.json +0 -43
- package/dist/server/node_modules/onetime/readme.md +0 -94
- package/dist/server/node_modules/pg/LICENSE +0 -21
- package/dist/server/node_modules/pg/README.md +0 -95
- package/dist/server/node_modules/pg/esm/index.mjs +0 -20
- package/dist/server/node_modules/pg/lib/client.js +0 -743
- package/dist/server/node_modules/pg/lib/connection-parameters.js +0 -171
- package/dist/server/node_modules/pg/lib/connection.js +0 -221
- package/dist/server/node_modules/pg/lib/crypto/cert-signatures.js +0 -122
- package/dist/server/node_modules/pg/lib/crypto/sasl.js +0 -212
- package/dist/server/node_modules/pg/lib/crypto/utils-legacy.js +0 -43
- package/dist/server/node_modules/pg/lib/crypto/utils-webcrypto.js +0 -89
- package/dist/server/node_modules/pg/lib/crypto/utils.js +0 -9
- package/dist/server/node_modules/pg/lib/defaults.js +0 -91
- package/dist/server/node_modules/pg/lib/index.js +0 -73
- package/dist/server/node_modules/pg/lib/native/client.js +0 -323
- package/dist/server/node_modules/pg/lib/native/index.js +0 -2
- package/dist/server/node_modules/pg/lib/native/query.js +0 -165
- package/dist/server/node_modules/pg/lib/query.js +0 -252
- package/dist/server/node_modules/pg/lib/result.js +0 -109
- package/dist/server/node_modules/pg/lib/stream.js +0 -83
- package/dist/server/node_modules/pg/lib/type-overrides.js +0 -35
- package/dist/server/node_modules/pg/lib/utils.js +0 -217
- package/dist/server/node_modules/pg/package.json +0 -76
- 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/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/readme.md +0 -34
- /package/dist/server/node_modules/{postgres-array → postgres-date}/license +0 -0
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "pg",
|
|
3
|
-
"version": "8.20.0",
|
|
4
|
-
"description": "PostgreSQL client - pure javascript & libpq with the same API",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"database",
|
|
7
|
-
"libpq",
|
|
8
|
-
"pg",
|
|
9
|
-
"postgre",
|
|
10
|
-
"postgres",
|
|
11
|
-
"postgresql",
|
|
12
|
-
"rdbms"
|
|
13
|
-
],
|
|
14
|
-
"homepage": "https://github.com/brianc/node-postgres",
|
|
15
|
-
"repository": {
|
|
16
|
-
"type": "git",
|
|
17
|
-
"url": "git://github.com/brianc/node-postgres.git",
|
|
18
|
-
"directory": "packages/pg"
|
|
19
|
-
},
|
|
20
|
-
"author": "Brian Carlson <brian.m.carlson@gmail.com>",
|
|
21
|
-
"main": "./lib",
|
|
22
|
-
"exports": {
|
|
23
|
-
".": {
|
|
24
|
-
"import": "./esm/index.mjs",
|
|
25
|
-
"require": "./lib/index.js",
|
|
26
|
-
"default": "./lib/index.js"
|
|
27
|
-
},
|
|
28
|
-
"./package.json": {
|
|
29
|
-
"default": "./package.json"
|
|
30
|
-
},
|
|
31
|
-
"./lib/*": "./lib/*.js",
|
|
32
|
-
"./lib/*.js": "./lib/*.js"
|
|
33
|
-
},
|
|
34
|
-
"dependencies": {
|
|
35
|
-
"pg-connection-string": "^2.12.0",
|
|
36
|
-
"pg-pool": "^3.13.0",
|
|
37
|
-
"pg-protocol": "^1.13.0",
|
|
38
|
-
"pg-types": "2.2.0",
|
|
39
|
-
"pgpass": "1.0.5"
|
|
40
|
-
},
|
|
41
|
-
"devDependencies": {
|
|
42
|
-
"@cloudflare/vitest-pool-workers": "0.8.23",
|
|
43
|
-
"@cloudflare/workers-types": "^4.20230404.0",
|
|
44
|
-
"async": "2.6.4",
|
|
45
|
-
"bluebird": "3.7.2",
|
|
46
|
-
"co": "4.6.0",
|
|
47
|
-
"pg-copy-streams": "0.3.0",
|
|
48
|
-
"typescript": "^4.0.3",
|
|
49
|
-
"vitest": "~3.0.9",
|
|
50
|
-
"wrangler": "^3.x"
|
|
51
|
-
},
|
|
52
|
-
"optionalDependencies": {
|
|
53
|
-
"pg-cloudflare": "^1.3.0"
|
|
54
|
-
},
|
|
55
|
-
"peerDependencies": {
|
|
56
|
-
"pg-native": ">=3.0.1"
|
|
57
|
-
},
|
|
58
|
-
"peerDependenciesMeta": {
|
|
59
|
-
"pg-native": {
|
|
60
|
-
"optional": true
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
"scripts": {
|
|
64
|
-
"test": "make test-all"
|
|
65
|
-
},
|
|
66
|
-
"files": [
|
|
67
|
-
"lib",
|
|
68
|
-
"esm",
|
|
69
|
-
"SPONSORS.md"
|
|
70
|
-
],
|
|
71
|
-
"license": "MIT",
|
|
72
|
-
"engines": {
|
|
73
|
-
"node": ">= 16.0.0"
|
|
74
|
-
},
|
|
75
|
-
"gitHead": "c9070cc8d526fca65780cedc25c1966b57cf7532"
|
|
76
|
-
}
|
|
@@ -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,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
|
-
# 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)
|
|
File without changes
|