decocms 2.293.3 → 2.293.4
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-CIx89Apb.js → AlertCircle-BjOZmb3_.js} +1 -1
- package/dist/client/assets/{ArrowNarrowLeft-PgYyeJWl.js → ArrowNarrowLeft-BcLjzBdj.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-CqN535dh.js → ArrowUpRight-K-qOhs5U.js} +1 -1
- package/dist/client/assets/{CheckCircle-BhiO4WdX.js → CheckCircle-idEJRWqm.js} +1 -1
- package/dist/client/assets/{ChevronDown-Db-gmG7O.js → ChevronDown-8gFfkCAT.js} +1 -1
- package/dist/client/assets/{ChevronRight-CmGw-A25.js → ChevronRight-jn2TY6bg.js} +1 -1
- package/dist/client/assets/{ChevronUp-B41MwFvS.js → ChevronUp-GCRvOXUm.js} +1 -1
- package/dist/client/assets/{Container-DAtuVNy6.js → Container-Oz2YNmUh.js} +1 -1
- package/dist/client/assets/{DotsVertical-hWFRyHd1.js → DotsVertical-Db4taJ9K.js} +1 -1
- package/dist/client/assets/{LinkExternal01-Bu7u-Eob.js → LinkExternal01-BCvnibSo.js} +1 -1
- package/dist/client/assets/{Lock01-k4k9TKMB.js → Lock01-Q6LUoAej.js} +1 -1
- package/dist/client/assets/{Palette-DrEKbW5c.js → Palette-DeXO2UD-.js} +1 -1
- package/dist/client/assets/{Play-DLybXiWm.js → Play-DQtgluIz.js} +1 -1
- package/dist/client/assets/{Plus-BfAkipL9.js → Plus--NQ8Lzv-.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-D1k-pKwO.js → RefreshCcw01-C_DCJmlp.js} +1 -1
- package/dist/client/assets/{SearchMd-COZ39qjs.js → SearchMd-BSaOo_JL.js} +1 -1
- package/dist/client/assets/{Settings02-J0FMQBzv.js → Settings02-Dqsstum2.js} +1 -1
- package/dist/client/assets/{Shield01-CQHxlRmE.js → Shield01-s7fnlBYV.js} +1 -1
- package/dist/client/assets/{Star01-GJ5xWOOH.js → Star01-UkNlRUFe.js} +1 -1
- package/dist/client/assets/{Sun-B-vK5-Nm.js → Sun-BbHWHHyR.js} +1 -1
- package/dist/client/assets/{Tool01-B7K1aaB2.js → Tool01-DbnLjlM2.js} +1 -1
- package/dist/client/assets/{Trash01-DMclmk7S.js → Trash01-zq3BxN1h.js} +1 -1
- package/dist/client/assets/{User01-D09p5XL5.js → User01-BMocx1Ia.js} +1 -1
- package/dist/client/assets/{Users03-Sy5wLq8j.js → Users03-C4e5uWHr.js} +1 -1
- package/dist/client/assets/{X-OfCuqj53.js → X-D3ENSJsC.js} +1 -1
- package/dist/client/assets/{XCircle-BAVoYWB9.js → XCircle-CaQruiTo.js} +1 -1
- package/dist/client/assets/{XClose-gJmfUeV7.js → XClose-CgOLivFw.js} +1 -1
- package/dist/client/assets/{Zap-Bj86P1ET.js → Zap-1gz6p0Ma.js} +1 -1
- package/dist/client/assets/{ZapSquare-hgkmHr_y.js → ZapSquare-BfOpflPt.js} +1 -1
- package/dist/client/assets/{accordion-DXEvAFYv.js → accordion-W_paWQqo.js} +1 -1
- package/dist/client/assets/{agent-icon-DTFpS0xZ.js → agent-icon-Cn5oclCs.js} +1 -1
- package/dist/client/assets/{agents-list-DW1dEf7q.js → agents-list-Bq1lupYm.js} +1 -1
- package/dist/client/assets/ai-providers-FTRlEUdE.js +1 -0
- package/dist/client/assets/{alert-dialog-B7uM1lCU.js → alert-dialog-D3pi5b6N.js} +1 -1
- package/dist/client/assets/{auth-catchall-CvBg3t1k.js → auth-catchall-fKkOuHdo.js} +1 -1
- package/dist/client/assets/{automation-list-row-BC-I7cVs.js → automation-list-row-DMHIeTUi.js} +1 -1
- package/dist/client/assets/{automations-BYCCK82U.js → automations-BXoe1Q0T.js} +1 -1
- package/dist/client/assets/{avatar-CuNZafwS.js → avatar-BhPS0sEl.js} +1 -1
- package/dist/client/assets/{badge-DfNcEjkd.js → badge-CDfiJQQR.js} +1 -1
- package/dist/client/assets/{brand-context-eFKJrZEs.js → brand-context-DoPWwJ4r.js} +1 -1
- package/dist/client/assets/{card-oYLOQvvo.js → card-CP805zsI.js} +1 -1
- package/dist/client/assets/{chat-context-A-JOluw-.js → chat-context-DI872wNm.js} +1 -1
- package/dist/client/assets/{checkbox-saEBp-lK.js → checkbox-CKpV5oyn.js} +1 -1
- package/dist/client/assets/{collection-detail-BMIHgG32.js → collection-detail-DbpaXe2t.js} +1 -1
- package/dist/client/assets/{collection-display-button-8IHPrrYr.js → collection-display-button-k9crQV9d.js} +1 -1
- package/dist/client/assets/{collection-search-Df4hHVFM.js → collection-search-4JBAiA2C.js} +1 -1
- package/dist/client/assets/{collection-search-fTLWXm7f.js → collection-search-BpswMTjk.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-fevnDENq.js → collection-table-wrapper-BHZQvL_J.js} +1 -1
- package/dist/client/assets/{collection-tabs-CAujq2od.js → collection-tabs-B3lthMg8.js} +1 -1
- package/dist/client/assets/{collections-DJ0ntg_M.js → collections-DBXLtq3P.js} +1 -1
- package/dist/client/assets/{command-Fkh3FZhz.js → command-CRl-8DjA.js} +1 -1
- package/dist/client/assets/{connection-card-BcotJ1Rm.js → connection-card-CdhlAzve.js} +1 -1
- package/dist/client/assets/{connection-detail-DWDpHx-3.js → connection-detail-Cf4BNVC3.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-CO2E1C67.js → connection-form-helpers-Dj6Xs5eA.js} +1 -1
- package/dist/client/assets/{connections-DpVtV2LA.js → connections-C72dpEi8.js} +1 -1
- package/dist/client/assets/{constants-CN9N1Puc.js → constants-BXf9ANTR.js} +1 -1
- package/dist/client/assets/{constants-CPvpLYAH.js → constants-tJ81fG25.js} +1 -1
- package/dist/client/assets/{dialog-p-sir-g3.js → dialog-RLyF4eg5.js} +1 -1
- package/dist/client/assets/{domain-settings-D9DP_u_p.js → domain-settings-BfKS_avD.js} +1 -1
- package/dist/client/assets/{drawer-BbX5ZB2M.js → drawer-CG78q1nt.js} +1 -1
- package/dist/client/assets/{dropdown-menu-VNMrmxHT.js → dropdown-menu-BDa5fLDC.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-DpKXbZcD.js → dynamic-plugin-layout-wXXoe_5G.js} +1 -1
- package/dist/client/assets/{empty-state-Dg0Xz4N6.js → empty-state-ErnajtAj.js} +1 -1
- package/dist/client/assets/{empty-state-BMnPJeQb.js → empty-state-L95wna48.js} +1 -1
- package/dist/client/assets/{extract-connection-data-PGaxyxV3.js → extract-connection-data-BPBT-cx0.js} +1 -1
- package/dist/client/assets/{features-BPN8lpYa.js → features-DMy2j_1-.js} +1 -1
- package/dist/client/assets/{form-DCPNmSOZ.js → form-BhTWNirH.js} +1 -1
- package/dist/client/assets/{general-OG8PGpz2.js → general-X1U_18Wj.js} +1 -1
- package/dist/client/assets/index-BIAsUusp.js +1 -0
- package/dist/client/assets/{index-B9klNKS9.js → index-BKqtR3N2.js} +2 -2
- package/dist/client/assets/{index-Dpclwca6.js → index-BSi_7pdx.js} +1 -1
- package/dist/client/assets/{index-BnWcqzKT.js → index-C3bqKLs_.js} +1 -1
- package/dist/client/assets/{index-Xq4tdZoL.js → index-C4mKQp91.js} +1 -1
- package/dist/client/assets/{index-B8gqOkyP.js → index-CBpHmYGS.js} +1 -1
- package/dist/client/assets/{index-B6OpPchB.js → index-CycJh0eW.js} +1 -1
- package/dist/client/assets/{index-C42Je7bg.js → index-D1bA9zIu.js} +1 -1
- package/dist/client/assets/{index-BrsCow3J.js → index-DCHTg4LB.js} +1 -1
- package/dist/client/assets/{index-BekCQBSn.js → index-DO0uF7Gp.js} +1 -1
- package/dist/client/assets/{index-sPzyhX11.js → index-DfvjXpA6.js} +1 -1
- package/dist/client/assets/{index-DwzpcSkR.js → index-DlmBTdhU.js} +1 -1
- package/dist/client/assets/{index-CQe8hUpC.js → index-DsGCV5t1.js} +1 -1
- package/dist/client/assets/{index--ZCwSHGm.js → index-DyOW0RUm.js} +1 -1
- package/dist/client/assets/{index-DVicicqt.js → index-SvQIjOEI.js} +1 -1
- package/dist/client/assets/{index-btC0ATOJ.js → index-kw8l6ykm.js} +3 -3
- package/dist/client/assets/{infiniteQueryObserver-CJCxlxdb.js → infiniteQueryObserver-BDzPf9xQ.js} +1 -1
- package/dist/client/assets/{input-C46Lapnu.js → input-DdZFm5QD.js} +1 -1
- package/dist/client/assets/{integration-icon-DYiNCsPc.js → integration-icon-GgmeOaov.js} +1 -1
- package/dist/client/assets/{label-DkwMSFhl.js → label-BfGjYD3l.js} +1 -1
- package/dist/client/assets/{layout-BuS9HM_n.js → layout-C8Q8lJIU.js} +1 -1
- package/dist/client/assets/{lean-canvas-recruit-modal-C7NtzzyV.js → lean-canvas-recruit-modal-DS8lrn_0.js} +1 -1
- package/dist/client/assets/{login-D7Jikqkx.js → login-3GauQMNJ.js} +1 -1
- package/dist/client/assets/{members-CbrqVZD0.js → members-wC3LaYXM.js} +1 -1
- package/dist/client/assets/{monaco-editor-BQ7pW5ff.js → monaco-editor-DEH3BQYV.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-SXq2jHo-.js → monitoring-stats-row-p4rwLqzV.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-B5rmdYO6.js → oauth-callback-ai-provider-fZrOq5Z5.js} +1 -1
- package/dist/client/assets/{oauth-callback-D9z1glg_.js → oauth-callback-cXl4wz4V.js} +1 -1
- package/dist/client/assets/{onboarding-DJg6jzBo.js → onboarding-pK8C-td_.js} +1 -1
- package/dist/client/assets/{org-layout-DNMh9CA8.js → org-layout-BjvDCQaj.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-C4mBMD9Y.js → org-plugin-layout-BsxDAG3R.js} +1 -1
- package/dist/client/assets/{pair-Djwe0G6A.js → pair-BjuR1Vev.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-DXGvnmHS.js → plugin-empty-state-Yj66KVWm.js} +1 -1
- package/dist/client/assets/{plugin-header-DMi6NssO.js → plugin-header-Cl0DmTkb.js} +1 -1
- package/dist/client/assets/{plugin-layout-DyoLqtto.js → plugin-layout-DyHctLfj.js} +1 -1
- package/dist/client/assets/{popover-B3ZJkv1X.js → popover-Ck8t9DNd.js} +1 -1
- package/dist/client/assets/{profile-bwpSCXK8.js → profile-ClJRsqlz.js} +1 -1
- package/dist/client/assets/{project-app-view-C28Lu6JW.js → project-app-view-PrZuri_l.js} +1 -1
- package/dist/client/assets/registry-ChBuKs9l.js +2 -0
- package/dist/client/assets/{registry-layout-WdDYCZVo.js → registry-layout-CzSdO28_.js} +1 -1
- package/dist/client/assets/{required-auth-layout-BfqeenZD.js → required-auth-layout-CXpY2cQd.js} +1 -1
- package/dist/client/assets/{reset-password-DdfHxDeE.js → reset-password-CMm6pkup.js} +1 -1
- package/dist/client/assets/{roles-vnRYdV1f.js → roles-O8p4CFWf.js} +1 -1
- package/dist/client/assets/{scroll-area-DrFl9U4a.js → scroll-area-DJUXiZ9b.js} +1 -1
- package/dist/client/assets/{search-input-CMLJ3Wsm.js → search-input-D9rgJLcT.js} +1 -1
- package/dist/client/assets/{select-DzIYCXFe.js → select-BtT3gpc8.js} +1 -1
- package/dist/client/assets/{select-model-CiWRE-HR.js → select-model-BYU8vEdG.js} +1 -1
- package/dist/client/assets/{settings-layout-CXmawVKq.js → settings-layout-DVDnaToH.js} +1 -1
- package/dist/client/assets/{settings-section-lOrDfOLA.js → settings-section-A8NDDpFq.js} +1 -1
- package/dist/client/assets/{shell-layout-3sPXMC2q.js → shell-layout-BzqO6QrK.js} +1 -1
- package/dist/client/assets/{skeleton-BB6q1Jf0.js → skeleton-BkW87z8Y.js} +1 -1
- package/dist/client/assets/{sso-DBghkAxa.js → sso-DtYY3WTz.js} +1 -1
- package/dist/client/assets/{store-CMzaWJlh.js → store-CbZ5JO_W.js} +1 -1
- package/dist/client/assets/store-registry-gwif4zfV.js +2 -0
- package/dist/client/assets/{switch-Dw6ZsUQv.js → switch-CeIz4a0t.js} +1 -1
- package/dist/client/assets/{table-nndVTIcn.js → table-BW-rIPEf.js} +1 -1
- package/dist/client/assets/{tabs-CkABefLh.js → tabs-C5GRvtY8.js} +1 -1
- package/dist/client/assets/{task-status-CsAoWRGS.js → task-status-ChvkxFoN.js} +1 -1
- package/dist/client/assets/{textarea-Bqwvzz4k.js → textarea-DLbi42IX.js} +1 -1
- package/dist/client/assets/{toggle-group-CxuD5z8Q.js → toggle-group-D9s6Qnlj.js} +1 -1
- package/dist/client/assets/{tools-list-fJoQpcpH.js → tools-list-Bl0UtEt-.js} +1 -1
- package/dist/client/assets/{tooltip-BqbpHyUI.js → tooltip-Dmy1JK40.js} +1 -1
- package/dist/client/assets/{types-BbqjsGJC.js → types-BJMFxBFM.js} +1 -1
- package/dist/client/assets/{use-ai-providers-CtlaBybr.js → use-ai-providers-CrOxHqDh.js} +1 -1
- package/dist/client/assets/{use-collections-9h_90sOV.js → use-collections-D6UN6Et8.js} +1 -1
- package/dist/client/assets/{use-connection-BeUrKc-W.js → use-connection-okJtNg-z.js} +1 -1
- package/dist/client/assets/{use-copy-DByDW6i6.js → use-copy-GhMNNjgc.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-DugmwWw7.js → use-create-virtual-mcp-BK5MfCsr.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-Is-qrULZ.js → use-decopilot-events-CH_hOp3h.js} +1 -1
- package/dist/client/assets/{use-delete-connection-CIDS_oeV.js → use-delete-connection-CFVqRzdi.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-D66tpKhl.js → use-infinite-scroll-BJayiynP.js} +1 -1
- package/dist/client/assets/{use-list-state-oQu7t2wW.js → use-list-state-jGWeHOcg.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-68tSGJbm.js → use-mcp-tools-DrTCTUYm.js} +1 -1
- package/dist/client/assets/{use-members-DD578ib8.js → use-members-DdbTjqv-.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-CT4zY_xl.js → use-navigate-to-agent-BYNqqJQ5.js} +1 -1
- package/dist/client/assets/{use-org-sso-CyfjhApb.js → use-org-sso-Bsg_IZFZ.js} +1 -1
- package/dist/client/assets/{use-organization-roles-DbZZzk9o.js → use-organization-roles-BmLHoXKs.js} +1 -1
- package/dist/client/assets/{use-organization-settings-67oQZCDS.js → use-organization-settings-j6PDzIGz.js} +1 -1
- package/dist/client/assets/{use-registry-connections-Bvrsf4lw.js → use-registry-connections-CgQyGHAH.js} +1 -1
- package/dist/client/assets/{use-status-sounds-DM-ULvaW.js → use-status-sounds-_L8GZOUh.js} +1 -1
- package/dist/client/assets/{use-tasks-CuTHQpto.js → use-tasks-DK2by51E.js} +1 -1
- package/dist/client/assets/{use-view-mode-jTFzVxXe.js → use-view-mode-DZXCRWHN.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-V1mPdN3N.js → use-virtual-mcp-D50Foh5R.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-DXe6VMYm.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-CO9lgsHl.js +1 -0
- package/dist/client/assets/{user-DNrniKSb.js → user-DLXr9rpE.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-DaD8j7dr.js → view-mode-toggle-C03hOMgr.js} +1 -1
- package/dist/client/assets/{workflow-DsgwzBJD.js → workflow-CX2neNEp.js} +1 -1
- package/dist/client/assets/workflow-detail-ichjN1O3.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +2 -2
- package/dist/server/node_modules/xtend/.jshintrc +30 -0
- package/dist/server/node_modules/{postgres-array/license → xtend/LICENSE} +1 -2
- package/dist/server/node_modules/xtend/README.md +32 -0
- package/dist/server/node_modules/xtend/immutable.js +19 -0
- package/dist/server/node_modules/xtend/mutable.js +17 -0
- package/dist/server/node_modules/xtend/package.json +55 -0
- package/dist/server/node_modules/xtend/test.js +103 -0
- package/dist/server/server.js +1 -1
- package/package.json +1 -1
- package/dist/client/assets/ai-providers-Dhg51hJN.js +0 -1
- package/dist/client/assets/index-DtZpCbYZ.js +0 -1
- package/dist/client/assets/registry-BCl-B74Z.js +0 -2
- package/dist/client/assets/store-registry-hLm8uJ3u.js +0 -2
- package/dist/client/assets/useInfiniteQuery-OuGeiI1N.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-DN5xf-y2.js +0 -1
- package/dist/client/assets/workflow-detail-BqCAg3E0.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/mimic-fn/index.d.ts +0 -54
- package/dist/server/node_modules/mimic-fn/index.js +0 -13
- package/dist/server/node_modules/mimic-fn/license +0 -9
- package/dist/server/node_modules/mimic-fn/package.json +0 -42
- package/dist/server/node_modules/mimic-fn/readme.md +0 -69
- package/dist/server/node_modules/pg/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/package.json +0 -34
- package/dist/server/node_modules/postgres-bytea/readme.md +0 -34
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
# ansi-styles
|
|
2
|
-
|
|
3
|
-
> [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles) for styling strings in the terminal
|
|
4
|
-
|
|
5
|
-
You probably want the higher-level [chalk](https://github.com/chalk/chalk) module for styling your strings.
|
|
6
|
-
|
|
7
|
-

|
|
8
|
-
|
|
9
|
-
## Install
|
|
10
|
-
|
|
11
|
-
```sh
|
|
12
|
-
npm install ansi-styles
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Usage
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
import styles from 'ansi-styles';
|
|
19
|
-
|
|
20
|
-
console.log(`${styles.green.open}Hello world!${styles.green.close}`);
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
// Color conversion between 256/truecolor
|
|
24
|
-
// NOTE: When converting from truecolor to 256 colors, the original color
|
|
25
|
-
// may be degraded to fit the new color palette. This means terminals
|
|
26
|
-
// that do not support 16 million colors will best-match the
|
|
27
|
-
// original color.
|
|
28
|
-
console.log(`${styles.color.ansi(styles.rgbToAnsi(199, 20, 250))}Hello World${styles.color.close}`)
|
|
29
|
-
console.log(`${styles.color.ansi256(styles.rgbToAnsi256(199, 20, 250))}Hello World${styles.color.close}`)
|
|
30
|
-
console.log(`${styles.color.ansi16m(...styles.hexToRgb('#abcdef'))}Hello World${styles.color.close}`)
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
## API
|
|
34
|
-
|
|
35
|
-
### `open` and `close`
|
|
36
|
-
|
|
37
|
-
Each style has an `open` and `close` property.
|
|
38
|
-
|
|
39
|
-
### `modifierNames`, `foregroundColorNames`, `backgroundColorNames`, and `colorNames`
|
|
40
|
-
|
|
41
|
-
All supported style strings are exposed as an array of strings for convenience. `colorNames` is the combination of `foregroundColorNames` and `backgroundColorNames`.
|
|
42
|
-
|
|
43
|
-
This can be useful if you need to validate input:
|
|
44
|
-
|
|
45
|
-
```js
|
|
46
|
-
import {modifierNames, foregroundColorNames} from 'ansi-styles';
|
|
47
|
-
|
|
48
|
-
console.log(modifierNames.includes('bold'));
|
|
49
|
-
//=> true
|
|
50
|
-
|
|
51
|
-
console.log(foregroundColorNames.includes('pink'));
|
|
52
|
-
//=> false
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
## Styles
|
|
56
|
-
|
|
57
|
-
### Modifiers
|
|
58
|
-
|
|
59
|
-
- `reset`
|
|
60
|
-
- `bold`
|
|
61
|
-
- `dim`
|
|
62
|
-
- `italic` *(Not widely supported)*
|
|
63
|
-
- `underline`
|
|
64
|
-
- `overline` *Supported on VTE-based terminals, the GNOME terminal, mintty, and Git Bash.*
|
|
65
|
-
- `inverse`
|
|
66
|
-
- `hidden`
|
|
67
|
-
- `strikethrough` *(Not widely supported)*
|
|
68
|
-
|
|
69
|
-
### Colors
|
|
70
|
-
|
|
71
|
-
- `black`
|
|
72
|
-
- `red`
|
|
73
|
-
- `green`
|
|
74
|
-
- `yellow`
|
|
75
|
-
- `blue`
|
|
76
|
-
- `magenta`
|
|
77
|
-
- `cyan`
|
|
78
|
-
- `white`
|
|
79
|
-
- `blackBright` (alias: `gray`, `grey`)
|
|
80
|
-
- `redBright`
|
|
81
|
-
- `greenBright`
|
|
82
|
-
- `yellowBright`
|
|
83
|
-
- `blueBright`
|
|
84
|
-
- `magentaBright`
|
|
85
|
-
- `cyanBright`
|
|
86
|
-
- `whiteBright`
|
|
87
|
-
|
|
88
|
-
### Background colors
|
|
89
|
-
|
|
90
|
-
- `bgBlack`
|
|
91
|
-
- `bgRed`
|
|
92
|
-
- `bgGreen`
|
|
93
|
-
- `bgYellow`
|
|
94
|
-
- `bgBlue`
|
|
95
|
-
- `bgMagenta`
|
|
96
|
-
- `bgCyan`
|
|
97
|
-
- `bgWhite`
|
|
98
|
-
- `bgBlackBright` (alias: `bgGray`, `bgGrey`)
|
|
99
|
-
- `bgRedBright`
|
|
100
|
-
- `bgGreenBright`
|
|
101
|
-
- `bgYellowBright`
|
|
102
|
-
- `bgBlueBright`
|
|
103
|
-
- `bgMagentaBright`
|
|
104
|
-
- `bgCyanBright`
|
|
105
|
-
- `bgWhiteBright`
|
|
106
|
-
|
|
107
|
-
## Advanced usage
|
|
108
|
-
|
|
109
|
-
By default, you get a map of styles, but the styles are also available as groups. They are non-enumerable so they don't show up unless you access them explicitly. This makes it easier to expose only a subset in a higher-level module.
|
|
110
|
-
|
|
111
|
-
- `styles.modifier`
|
|
112
|
-
- `styles.color`
|
|
113
|
-
- `styles.bgColor`
|
|
114
|
-
|
|
115
|
-
###### Example
|
|
116
|
-
|
|
117
|
-
```js
|
|
118
|
-
import styles from 'ansi-styles';
|
|
119
|
-
|
|
120
|
-
console.log(styles.color.green.open);
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
Raw escape codes (i.e. without the CSI escape prefix `\u001B[` and render mode postfix `m`) are available under `styles.codes`, which returns a `Map` with the open codes as keys and close codes as values.
|
|
124
|
-
|
|
125
|
-
###### Example
|
|
126
|
-
|
|
127
|
-
```js
|
|
128
|
-
import styles from 'ansi-styles';
|
|
129
|
-
|
|
130
|
-
console.log(styles.codes.get(36));
|
|
131
|
-
//=> 39
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
## 16 / 256 / 16 million (TrueColor) support
|
|
135
|
-
|
|
136
|
-
`ansi-styles` allows converting between various color formats and ANSI escapes, with support for 16, 256 and [16 million colors](https://gist.github.com/XVilka/8346728).
|
|
137
|
-
|
|
138
|
-
The following color spaces are supported:
|
|
139
|
-
|
|
140
|
-
- `rgb`
|
|
141
|
-
- `hex`
|
|
142
|
-
- `ansi256`
|
|
143
|
-
- `ansi`
|
|
144
|
-
|
|
145
|
-
To use these, call the associated conversion function with the intended output, for example:
|
|
146
|
-
|
|
147
|
-
```js
|
|
148
|
-
import styles from 'ansi-styles';
|
|
149
|
-
|
|
150
|
-
styles.color.ansi(styles.rgbToAnsi(100, 200, 15)); // RGB to 16 color ansi foreground code
|
|
151
|
-
styles.bgColor.ansi(styles.hexToAnsi('#C0FFEE')); // HEX to 16 color ansi foreground code
|
|
152
|
-
|
|
153
|
-
styles.color.ansi256(styles.rgbToAnsi256(100, 200, 15)); // RGB to 256 color ansi foreground code
|
|
154
|
-
styles.bgColor.ansi256(styles.hexToAnsi256('#C0FFEE')); // HEX to 256 color ansi foreground code
|
|
155
|
-
|
|
156
|
-
styles.color.ansi16m(100, 200, 15); // RGB to 16 million color foreground code
|
|
157
|
-
styles.bgColor.ansi16m(...styles.hexToRgb('#C0FFEE')); // Hex (RGB) to 16 million color foreground code
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
## Related
|
|
161
|
-
|
|
162
|
-
- [ansi-escapes](https://github.com/sindresorhus/ansi-escapes) - ANSI escape codes for manipulating the terminal
|
|
163
|
-
|
|
164
|
-
## Maintainers
|
|
165
|
-
|
|
166
|
-
- [Sindre Sorhus](https://github.com/sindresorhus)
|
|
167
|
-
- [Josh Junon](https://github.com/qix-)
|
|
168
|
-
|
|
169
|
-
## For enterprise
|
|
170
|
-
|
|
171
|
-
Available as part of the Tidelift Subscription.
|
|
172
|
-
|
|
173
|
-
The maintainers of `ansi-styles` and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-ansi-styles?utm_source=npm-ansi-styles&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
declare const mimicFn: {
|
|
2
|
-
/**
|
|
3
|
-
Make a function mimic another one. It will copy over the properties `name`, `length`, `displayName`, and any custom properties you may have set.
|
|
4
|
-
|
|
5
|
-
@param to - Mimicking function.
|
|
6
|
-
@param from - Function to mimic.
|
|
7
|
-
@returns The modified `to` function.
|
|
8
|
-
|
|
9
|
-
@example
|
|
10
|
-
```
|
|
11
|
-
import mimicFn = require('mimic-fn');
|
|
12
|
-
|
|
13
|
-
function foo() {}
|
|
14
|
-
foo.unicorn = '🦄';
|
|
15
|
-
|
|
16
|
-
function wrapper() {
|
|
17
|
-
return foo();
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
console.log(wrapper.name);
|
|
21
|
-
//=> 'wrapper'
|
|
22
|
-
|
|
23
|
-
mimicFn(wrapper, foo);
|
|
24
|
-
|
|
25
|
-
console.log(wrapper.name);
|
|
26
|
-
//=> 'foo'
|
|
27
|
-
|
|
28
|
-
console.log(wrapper.unicorn);
|
|
29
|
-
//=> '🦄'
|
|
30
|
-
```
|
|
31
|
-
*/
|
|
32
|
-
<
|
|
33
|
-
ArgumentsType extends unknown[],
|
|
34
|
-
ReturnType,
|
|
35
|
-
FunctionType extends (...arguments: ArgumentsType) => ReturnType
|
|
36
|
-
>(
|
|
37
|
-
to: (...arguments: ArgumentsType) => ReturnType,
|
|
38
|
-
from: FunctionType
|
|
39
|
-
): FunctionType;
|
|
40
|
-
|
|
41
|
-
// TODO: Remove this for the next major release, refactor the whole definition to:
|
|
42
|
-
// declare function mimicFn<
|
|
43
|
-
// ArgumentsType extends unknown[],
|
|
44
|
-
// ReturnType,
|
|
45
|
-
// FunctionType extends (...arguments: ArgumentsType) => ReturnType
|
|
46
|
-
// >(
|
|
47
|
-
// to: (...arguments: ArgumentsType) => ReturnType,
|
|
48
|
-
// from: FunctionType
|
|
49
|
-
// ): FunctionType;
|
|
50
|
-
// export = mimicFn;
|
|
51
|
-
default: typeof mimicFn;
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
export = mimicFn;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const mimicFn = (to, from) => {
|
|
4
|
-
for (const prop of Reflect.ownKeys(from)) {
|
|
5
|
-
Object.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
return to;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
module.exports = mimicFn;
|
|
12
|
-
// TODO: Remove this for the next major release
|
|
13
|
-
module.exports.default = mimicFn;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "mimic-fn",
|
|
3
|
-
"version": "2.1.0",
|
|
4
|
-
"description": "Make a function mimic another one",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/mimic-fn",
|
|
7
|
-
"author": {
|
|
8
|
-
"name": "Sindre Sorhus",
|
|
9
|
-
"email": "sindresorhus@gmail.com",
|
|
10
|
-
"url": "sindresorhus.com"
|
|
11
|
-
},
|
|
12
|
-
"engines": {
|
|
13
|
-
"node": ">=6"
|
|
14
|
-
},
|
|
15
|
-
"scripts": {
|
|
16
|
-
"test": "xo && ava && tsd"
|
|
17
|
-
},
|
|
18
|
-
"files": [
|
|
19
|
-
"index.js",
|
|
20
|
-
"index.d.ts"
|
|
21
|
-
],
|
|
22
|
-
"keywords": [
|
|
23
|
-
"function",
|
|
24
|
-
"mimic",
|
|
25
|
-
"imitate",
|
|
26
|
-
"rename",
|
|
27
|
-
"copy",
|
|
28
|
-
"inherit",
|
|
29
|
-
"properties",
|
|
30
|
-
"name",
|
|
31
|
-
"func",
|
|
32
|
-
"fn",
|
|
33
|
-
"set",
|
|
34
|
-
"infer",
|
|
35
|
-
"change"
|
|
36
|
-
],
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"ava": "^1.4.1",
|
|
39
|
-
"tsd": "^0.7.1",
|
|
40
|
-
"xo": "^0.24.0"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
# mimic-fn [](https://travis-ci.org/sindresorhus/mimic-fn)
|
|
2
|
-
|
|
3
|
-
> Make a function mimic another one
|
|
4
|
-
|
|
5
|
-
Useful when you wrap a function in another function and like to preserve the original name and other properties.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
## Install
|
|
9
|
-
|
|
10
|
-
```
|
|
11
|
-
$ npm install mimic-fn
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
## Usage
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
const mimicFn = require('mimic-fn');
|
|
19
|
-
|
|
20
|
-
function foo() {}
|
|
21
|
-
foo.unicorn = '🦄';
|
|
22
|
-
|
|
23
|
-
function wrapper() {
|
|
24
|
-
return foo();
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
console.log(wrapper.name);
|
|
28
|
-
//=> 'wrapper'
|
|
29
|
-
|
|
30
|
-
mimicFn(wrapper, foo);
|
|
31
|
-
|
|
32
|
-
console.log(wrapper.name);
|
|
33
|
-
//=> 'foo'
|
|
34
|
-
|
|
35
|
-
console.log(wrapper.unicorn);
|
|
36
|
-
//=> '🦄'
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
## API
|
|
41
|
-
|
|
42
|
-
It will copy over the properties `name`, `length`, `displayName`, and any custom properties you may have set.
|
|
43
|
-
|
|
44
|
-
### mimicFn(to, from)
|
|
45
|
-
|
|
46
|
-
Modifies the `to` function and returns it.
|
|
47
|
-
|
|
48
|
-
#### to
|
|
49
|
-
|
|
50
|
-
Type: `Function`
|
|
51
|
-
|
|
52
|
-
Mimicking function.
|
|
53
|
-
|
|
54
|
-
#### from
|
|
55
|
-
|
|
56
|
-
Type: `Function`
|
|
57
|
-
|
|
58
|
-
Function to mimic.
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
## Related
|
|
62
|
-
|
|
63
|
-
- [rename-fn](https://github.com/sindresorhus/rename-fn) - Rename a function
|
|
64
|
-
- [keep-func-props](https://github.com/ehmicky/keep-func-props) - Wrap a function without changing its name, length and other properties
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
## License
|
|
68
|
-
|
|
69
|
-
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
|
@@ -1,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,95 +0,0 @@
|
|
|
1
|
-
# node-postgres
|
|
2
|
-
|
|
3
|
-
[](http://travis-ci.org/brianc/node-postgres)
|
|
4
|
-
<span class="badge-npmversion"><a href="https://npmjs.org/package/pg" title="View this project on NPM"><img src="https://img.shields.io/npm/v/pg.svg" alt="NPM version" /></a></span>
|
|
5
|
-
<span class="badge-npmdownloads"><a href="https://npmjs.org/package/pg" title="View this project on NPM"><img src="https://img.shields.io/npm/dm/pg.svg" alt="NPM downloads" /></a></span>
|
|
6
|
-
|
|
7
|
-
Non-blocking PostgreSQL client for Node.js. Pure JavaScript and optional native libpq bindings.
|
|
8
|
-
|
|
9
|
-
## Install
|
|
10
|
-
|
|
11
|
-
```sh
|
|
12
|
-
$ npm install pg
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
## :star: [Documentation](https://node-postgres.com) :star:
|
|
18
|
-
|
|
19
|
-
### Features
|
|
20
|
-
|
|
21
|
-
- Pure JavaScript client and native libpq bindings share _the same API_
|
|
22
|
-
- Connection pooling
|
|
23
|
-
- Extensible JS ↔ PostgreSQL data-type coercion
|
|
24
|
-
- Supported PostgreSQL features
|
|
25
|
-
- Parameterized queries
|
|
26
|
-
- Named statements with query plan caching
|
|
27
|
-
- Async notifications with `LISTEN/NOTIFY`
|
|
28
|
-
- Bulk import & export with `COPY TO/COPY FROM`
|
|
29
|
-
|
|
30
|
-
### Extras
|
|
31
|
-
|
|
32
|
-
node-postgres is by design pretty light on abstractions. These are some handy modules we've been using over the years to complete the picture.
|
|
33
|
-
The entire list can be found on our [wiki](https://github.com/brianc/node-postgres/wiki/Extras).
|
|
34
|
-
|
|
35
|
-
## Support
|
|
36
|
-
|
|
37
|
-
node-postgres is free software. If you encounter a bug with the library please open an issue on the [GitHub repo](https://github.com/brianc/node-postgres). If you have questions unanswered by the documentation please open an issue pointing out how the documentation was unclear & I will do my best to make it better!
|
|
38
|
-
|
|
39
|
-
When you open an issue please provide:
|
|
40
|
-
|
|
41
|
-
- version of Node
|
|
42
|
-
- version of Postgres
|
|
43
|
-
- smallest possible snippet of code to reproduce the problem
|
|
44
|
-
|
|
45
|
-
You can also follow me [@briancarlson](https://twitter.com/briancarlson) if that's your thing. I try to always announce noteworthy changes & developments with node-postgres on Twitter.
|
|
46
|
-
|
|
47
|
-
## Sponsorship :two_hearts:
|
|
48
|
-
|
|
49
|
-
node-postgres's continued development has been made possible in part by generous financial support from [the community](https://github.com/brianc/node-postgres/blob/master/SPONSORS.md).
|
|
50
|
-
|
|
51
|
-
If you or your company are benefiting from node-postgres and would like to help keep the project financially sustainable [please consider supporting](https://github.com/sponsors/brianc) its development.
|
|
52
|
-
|
|
53
|
-
### Featured sponsor
|
|
54
|
-
|
|
55
|
-
Special thanks to [medplum](https://medplum.com) for their generous and thoughtful support of node-postgres!
|
|
56
|
-
|
|
57
|
-

|
|
58
|
-
|
|
59
|
-
## Contributing
|
|
60
|
-
|
|
61
|
-
**:heart: contributions!**
|
|
62
|
-
|
|
63
|
-
I will **happily** accept your pull request if it:
|
|
64
|
-
|
|
65
|
-
- **has tests**
|
|
66
|
-
- looks reasonable
|
|
67
|
-
- does not break backwards compatibility
|
|
68
|
-
|
|
69
|
-
If your change involves breaking backwards compatibility please please point that out in the pull request & we can discuss & plan when and how to release it and what type of documentation or communicate it will require.
|
|
70
|
-
|
|
71
|
-
## Troubleshooting and FAQ
|
|
72
|
-
|
|
73
|
-
The causes and solutions to common errors can be found among the [Frequently Asked Questions (FAQ)](https://github.com/brianc/node-postgres/wiki/FAQ)
|
|
74
|
-
|
|
75
|
-
## License
|
|
76
|
-
|
|
77
|
-
Copyright (c) 2010-2020 Brian Carlson (brian.m.carlson@gmail.com)
|
|
78
|
-
|
|
79
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
80
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
81
|
-
in the Software without restriction, including without limitation the rights
|
|
82
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
83
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
84
|
-
furnished to do so, subject to the following conditions:
|
|
85
|
-
|
|
86
|
-
The above copyright notice and this permission notice shall be included in
|
|
87
|
-
all copies or substantial portions of the Software.
|
|
88
|
-
|
|
89
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
90
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
91
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
92
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
93
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
94
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
95
|
-
THE SOFTWARE.
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// ESM wrapper for pg
|
|
2
|
-
import pg from '../lib/index.js'
|
|
3
|
-
|
|
4
|
-
// Re-export all the properties
|
|
5
|
-
export const Client = pg.Client
|
|
6
|
-
export const Pool = pg.Pool
|
|
7
|
-
export const Connection = pg.Connection
|
|
8
|
-
export const types = pg.types
|
|
9
|
-
export const Query = pg.Query
|
|
10
|
-
export const DatabaseError = pg.DatabaseError
|
|
11
|
-
export const escapeIdentifier = pg.escapeIdentifier
|
|
12
|
-
export const escapeLiteral = pg.escapeLiteral
|
|
13
|
-
export const Result = pg.Result
|
|
14
|
-
export const TypeOverrides = pg.TypeOverrides
|
|
15
|
-
|
|
16
|
-
// Also export the defaults
|
|
17
|
-
export const defaults = pg.defaults
|
|
18
|
-
|
|
19
|
-
// Re-export the default
|
|
20
|
-
export default pg
|