orcaq 1.0.33 → 1.1.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/.output/nitro.json +1 -1
- package/.output/public/_nuxt/63YtjFEq.js +1 -0
- package/.output/public/_nuxt/8tyEaimf.js +30 -0
- package/.output/public/_nuxt/AymhMj9v.js +1 -0
- package/.output/public/_nuxt/B2IKcIj2.js +1 -0
- package/.output/public/_nuxt/B46blMXm.js +7 -0
- package/.output/public/_nuxt/B5WGo5x7.js +1 -0
- package/.output/public/_nuxt/B6MkNyZd.js +132 -0
- package/.output/public/_nuxt/B73IHAoF.js +1 -0
- package/.output/public/_nuxt/B8TrrBEb.js +189 -0
- package/.output/public/_nuxt/B9uki8o2.js +1 -0
- package/.output/public/_nuxt/BEyCol50.js +1 -0
- package/.output/public/_nuxt/BJCrbji-.js +24 -0
- package/.output/public/_nuxt/BJVPtt2X.js +24 -0
- package/.output/public/_nuxt/BL__uYa3.js +1 -0
- package/.output/public/_nuxt/BPACuoI0.js +1 -0
- package/.output/public/_nuxt/BRFPdiIh.js +1 -0
- package/.output/public/_nuxt/BS-LtKx4.js +1 -0
- package/.output/public/_nuxt/BTYBVtfa.js +70 -0
- package/.output/public/_nuxt/BTheloyh.js +1 -0
- package/.output/public/_nuxt/BVUHbgGW.js +27 -0
- package/.output/public/_nuxt/BWZ7atse.js +1 -0
- package/.output/public/_nuxt/BWebIWit.js +39 -0
- package/.output/public/_nuxt/BcsKoAPU.js +984 -0
- package/.output/public/_nuxt/Bf6Q3Zl5.js +89 -0
- package/.output/public/_nuxt/Bj7ctTfH.js +1 -0
- package/.output/public/_nuxt/BjqbQLK3.js +1 -0
- package/.output/public/_nuxt/Bmgr9uz4.js +36 -0
- package/.output/public/_nuxt/Bmx1kTaZ.js +139 -0
- package/.output/public/_nuxt/BoIj4dtd.js +1 -0
- package/.output/public/_nuxt/BoMjapT5.js +220 -0
- package/.output/public/_nuxt/BogEzQi9.js +12 -0
- package/.output/public/_nuxt/BpLDGvqy.js +1 -0
- package/.output/public/_nuxt/BpUSbMUb.js +1 -0
- package/.output/public/_nuxt/BpvGVfME.js +1 -0
- package/.output/public/_nuxt/Bq47tjcm.js +1 -0
- package/.output/public/_nuxt/Bq7OeLM1.js +1 -0
- package/.output/public/_nuxt/BqU89KuH.js +2 -0
- package/.output/public/_nuxt/BrNfge84.js +34 -0
- package/.output/public/_nuxt/BtyzMl9p.js +1 -0
- package/.output/public/_nuxt/ByiJDSw8.js +68 -0
- package/.output/public/_nuxt/ByibjLZn.js +43 -0
- package/.output/public/_nuxt/BzvSm28k.js +67 -0
- package/.output/public/_nuxt/C2XHqDOf.js +1 -0
- package/.output/public/_nuxt/C3ZBsVV_.js +2 -0
- package/.output/public/_nuxt/C6dIAdHr.js +1 -0
- package/.output/public/_nuxt/C7BQpy74.js +1 -0
- package/.output/public/_nuxt/CAnr3OhD.js +1 -0
- package/.output/public/_nuxt/CDJKw_ak.js +1 -0
- package/.output/public/_nuxt/CHEpbbGc.js +1 -0
- package/.output/public/_nuxt/CMkzSwnO.js +61 -0
- package/.output/public/_nuxt/COAycMg4.js +1 -0
- package/.output/public/_nuxt/COHOh4Oe.js +1 -0
- package/.output/public/_nuxt/COq7mAG7.js +10 -0
- package/.output/public/_nuxt/CS5akSNT.js +1 -0
- package/.output/public/_nuxt/CS9hqyP3.js +1 -0
- package/.output/public/_nuxt/CSQ0xnqv.js +6 -0
- package/.output/public/_nuxt/C_7gtl40.js +1 -0
- package/.output/public/_nuxt/Ca0KO9Xq.js +9 -0
- package/.output/public/_nuxt/CerLmMsC.js +22 -0
- package/.output/public/_nuxt/Ci5B19-c.js +15 -0
- package/.output/public/_nuxt/Cnfx1zWl.js +10 -0
- package/.output/public/_nuxt/Cq-MDPLE.js +53 -0
- package/.output/public/_nuxt/CrNLwdoE.js +145 -0
- package/.output/public/_nuxt/CsRSZpa6.js +15 -0
- package/.output/public/_nuxt/CtWq1MER.js +7 -0
- package/.output/public/_nuxt/Cww9dXBK.js +1 -0
- package/.output/public/_nuxt/CycELG5y.js +65 -0
- package/.output/public/_nuxt/CzB2y8br.js +18 -0
- package/.output/public/_nuxt/D-9vaM6z.js +4 -0
- package/.output/public/_nuxt/D4pAW_0T.js +152 -0
- package/.output/public/_nuxt/DAr5YiBT.js +1 -0
- package/.output/public/_nuxt/DDebxXP-.js +1 -0
- package/.output/public/_nuxt/DEZMnZ2r.js +292 -0
- package/.output/public/_nuxt/DGvAu532.js +1 -0
- package/.output/public/_nuxt/DHAL8jJG.js +255 -0
- package/.output/public/_nuxt/DJH-4SVI.js +1 -0
- package/.output/public/_nuxt/DMmjWR_K.js +10 -0
- package/.output/public/_nuxt/DNB4Xmyo.js +37 -0
- package/.output/public/_nuxt/DNoTlUiY.js +7 -0
- package/.output/public/_nuxt/DPIEiNwW.js +1 -0
- package/.output/public/_nuxt/DSaBCmOg.js +162 -0
- package/.output/public/_nuxt/DVnDb6ua.js +1 -0
- package/.output/public/_nuxt/DWqOZJe7.js +1 -0
- package/.output/public/_nuxt/DcCF9IZB.js +1 -0
- package/.output/public/_nuxt/DfNTLojg.js +1 -0
- package/.output/public/_nuxt/DkD29_YA.js +73 -0
- package/.output/public/_nuxt/DpEV6S2O.js +1 -0
- package/.output/public/_nuxt/DpT8FO1Q.js +70 -0
- package/.output/public/_nuxt/Dq1JM9WZ.js +1 -0
- package/.output/public/_nuxt/DsmBazLf.js +20 -0
- package/.output/public/_nuxt/DuCDilAk.js +1 -0
- package/.output/public/_nuxt/FDw04QOj.js +2 -0
- package/.output/public/_nuxt/JOg_XIAv.js +1 -0
- package/.output/public/_nuxt/L2I3LmpB.js +68 -0
- package/.output/public/_nuxt/M6bBaUHa.js +1 -0
- package/.output/public/_nuxt/MW5K_zef.js +1 -0
- package/.output/public/_nuxt/MeLWmO7R.js +162 -0
- package/.output/public/_nuxt/Oe2GG0Lt.js +9 -0
- package/.output/public/_nuxt/S1qa1a4x.js +1 -0
- package/.output/public/_nuxt/Sf02B6Pt.js +3 -0
- package/.output/public/_nuxt/Y1gXUmjt.js +1 -0
- package/.output/public/_nuxt/_qKPTuua.js +1 -0
- package/.output/public/_nuxt/atdCACH-.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/7c171291-8bbd-4c4c-8904-0afae065b82e.json +1 -0
- package/.output/public/_nuxt/dNPwafbq.js +1 -0
- package/.output/public/_nuxt/dWu56FdP.js +3867 -0
- package/.output/public/_nuxt/default.B0xlD4Sl.css +1 -0
- package/.output/public/_nuxt/entry.DxCQuGXb.css +1 -0
- package/.output/public/_nuxt/iNy-Nl0_.js +1 -0
- package/.output/public/_nuxt/ioXB9E2w.js +1 -0
- package/.output/public/_nuxt/kvtnkChG.js +1 -0
- package/.output/public/_nuxt/qzrMNYut.js +1 -0
- package/.output/public/_nuxt/sk7V7xQl.js +1 -0
- package/.output/public/_nuxt/vhkvHdfO.js +1 -0
- package/.output/public/_nuxt/wRAs0MDn.js +2 -0
- package/.output/public/_nuxt/xOD4Ev56.js +1 -0
- package/.output/public/_nuxt/xp7rFxcm.js +1 -0
- package/.output/server/chunks/_/create-adapter.mjs +38 -7
- package/.output/server/chunks/_/create-adapter.mjs.map +1 -1
- package/.output/server/chunks/_/database-error.mjs +10 -0
- package/.output/server/chunks/_/database-error.mjs.map +1 -1
- package/.output/server/chunks/_/database-roles.factory.mjs +126 -22
- package/.output/server/chunks/_/database-roles.factory.mjs.map +1 -1
- package/.output/server/chunks/_/db-connection.mjs +1202 -81
- package/.output/server/chunks/_/db-connection.mjs.map +1 -1
- package/.output/server/chunks/_/functions.factory.mjs +97 -6
- package/.output/server/chunks/_/functions.factory.mjs.map +1 -1
- package/.output/server/chunks/_/instance-insights.factory.mjs +2130 -8
- package/.output/server/chunks/_/instance-insights.factory.mjs.map +1 -1
- package/.output/server/chunks/_/metadata.factory.mjs +1192 -43
- package/.output/server/chunks/_/metadata.factory.mjs.map +1 -1
- package/.output/server/chunks/_/native-backup-jobs.mjs +1302 -0
- package/.output/server/chunks/_/native-backup-jobs.mjs.map +1 -0
- package/.output/server/chunks/_/query.factory.mjs +536 -14
- package/.output/server/chunks/_/query.factory.mjs.map +1 -1
- package/.output/server/chunks/_/redis-browser.service.mjs +513 -0
- package/.output/server/chunks/_/redis-browser.service.mjs.map +1 -0
- package/.output/server/chunks/_/redis-instance-insights.service.mjs +442 -0
- package/.output/server/chunks/_/redis-instance-insights.service.mjs.map +1 -0
- package/.output/server/chunks/_/redis-pubsub.service.mjs +227 -0
- package/.output/server/chunks/_/redis-pubsub.service.mjs.map +1 -0
- package/.output/server/chunks/_/redis.client.mjs +129 -0
- package/.output/server/chunks/_/redis.client.mjs.map +1 -0
- package/.output/server/chunks/_/schemaMeta.type.mjs +13 -0
- package/.output/server/chunks/_/schemaMeta.type.mjs.map +1 -0
- package/.output/server/chunks/_/tables.factory.mjs +917 -37
- package/.output/server/chunks/_/tables.factory.mjs.map +1 -1
- package/.output/server/chunks/_/type-alias.constants.mjs +242 -0
- package/.output/server/chunks/_/type-alias.constants.mjs.map +1 -0
- package/.output/server/chunks/_/views.factory.mjs +106 -8
- package/.output/server/chunks/_/views.factory.mjs.map +1 -1
- package/.output/server/chunks/build/client.manifest.mjs +776 -659
- package/.output/server/chunks/build/client.manifest.mjs.map +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +1152 -749
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/api/ai/agent.mjs +33 -79
- package/.output/server/chunks/routes/api/ai/agent.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-export/export-database.mjs +29 -124
- package/.output/server/chunks/routes/api/database-export/export-database.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-export/jobs/_jobId/download.get.mjs +55 -0
- package/.output/server/chunks/routes/api/database-export/jobs/_jobId/download.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-export/jobs/_jobId_.get.mjs +46 -0
- package/.output/server/chunks/routes/api/database-export/jobs/_jobId_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-import/import-database.mjs +72 -134
- package/.output/server/chunks/routes/api/database-import/import-database.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-import/jobs/_jobId_.get.mjs +46 -0
- package/.output/server/chunks/routes/api/database-import/jobs/_jobId_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-roles/create-role.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/create-role.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/delete-role.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/delete-role.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-databases-with-permissions.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/get-databases-with-permissions.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-databases.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/get-databases.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-permissions.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/get-permissions.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-role-inheritance.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/get-role-inheritance.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-role.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/get-role.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-roles.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/get-roles.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-schema-objects.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/get-schema-objects.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-schemas.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/get-schemas.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/grant-bulk-permissions.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/grant-bulk-permissions.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/grant-permission.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/grant-permission.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/revoke-permission.mjs +5 -0
- package/.output/server/chunks/routes/api/database-roles/revoke-permission.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/definition.post.mjs +6 -1
- package/.output/server/chunks/routes/api/functions/definition.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/delete.post.mjs +6 -1
- package/.output/server/chunks/routes/api/functions/delete.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/overview.post.mjs +6 -1
- package/.output/server/chunks/routes/api/functions/overview.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/rename.post.mjs +6 -1
- package/.output/server/chunks/routes/api/functions/rename.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/signature.post.mjs +6 -1
- package/.output/server/chunks/routes/api/functions/signature.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/update.post.mjs +27 -6
- package/.output/server/chunks/routes/api/functions/update.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/index.post.mjs +66 -0
- package/.output/server/chunks/routes/api/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/instance-insights/cancel-query.post.mjs +6 -1
- package/.output/server/chunks/routes/api/instance-insights/cancel-query.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/configuration.post.mjs +6 -1
- package/.output/server/chunks/routes/api/instance-insights/configuration.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/dashboard.post.mjs +6 -1
- package/.output/server/chunks/routes/api/instance-insights/dashboard.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/drop-slot.post.mjs +6 -1
- package/.output/server/chunks/routes/api/instance-insights/drop-slot.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/replication.post.mjs +6 -1
- package/.output/server/chunks/routes/api/instance-insights/replication.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/state.post.mjs +6 -1
- package/.output/server/chunks/routes/api/instance-insights/state.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/terminate-connection.post.mjs +6 -1
- package/.output/server/chunks/routes/api/instance-insights/terminate-connection.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/toggle-slot-status.post.mjs +6 -1
- package/.output/server/chunks/routes/api/instance-insights/toggle-slot-status.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/view.post.mjs +66 -0
- package/.output/server/chunks/routes/api/instance-insights/view.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/managment-connection/health-check.mjs +16 -4
- package/.output/server/chunks/routes/api/managment-connection/health-check.mjs.map +1 -1
- package/.output/server/chunks/routes/api/metadata/erd.post.mjs +10 -1
- package/.output/server/chunks/routes/api/metadata/erd.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/metadata/meta-data.post.mjs +9 -0
- package/.output/server/chunks/routes/api/metadata/meta-data.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/metadata/reverse-schemas.post.mjs +10 -1
- package/.output/server/chunks/routes/api/metadata/reverse-schemas.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/metrics/monitor.post.mjs +83 -7
- package/.output/server/chunks/routes/api/metrics/monitor.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/query/execute.post.mjs +8 -1
- package/.output/server/chunks/routes/api/query/execute.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/query/raw-execute-stream.post.mjs +17 -3
- package/.output/server/chunks/routes/api/query/raw-execute-stream.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/query/raw-execute.post.mjs +10 -1
- package/.output/server/chunks/routes/api/query/raw-execute.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/redis/browser/databases.post.mjs +25 -0
- package/.output/server/chunks/routes/api/redis/browser/databases.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/browser/value.patch.mjs +39 -0
- package/.output/server/chunks/routes/api/redis/browser/value.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/browser/value.post.mjs +25 -0
- package/.output/server/chunks/routes/api/redis/browser/value.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/index.post.mjs +37 -0
- package/.output/server/chunks/routes/api/redis/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/instance-insights/kill-client.post.mjs +38 -0
- package/.output/server/chunks/routes/api/redis/instance-insights/kill-client.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/instance-insights/overview.post.mjs +35 -0
- package/.output/server/chunks/routes/api/redis/instance-insights/overview.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/pubsub/messages.post.mjs +24 -0
- package/.output/server/chunks/routes/api/redis/pubsub/messages.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/pubsub/overview.post.mjs +38 -0
- package/.output/server/chunks/routes/api/redis/pubsub/overview.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/pubsub/publish.post.mjs +39 -0
- package/.output/server/chunks/routes/api/redis/pubsub/publish.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/pubsub/subscribe.post.mjs +39 -0
- package/.output/server/chunks/routes/api/redis/pubsub/subscribe.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/pubsub/unsubscribe.post.mjs +24 -0
- package/.output/server/chunks/routes/api/redis/pubsub/unsubscribe.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/workbench/execute.post.mjs +60 -0
- package/.output/server/chunks/routes/api/redis/workbench/execute.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/tables/bulk-delete.post.mjs +12 -6
- package/.output/server/chunks/routes/api/tables/bulk-delete.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/bulk-update.post.mjs +12 -6
- package/.output/server/chunks/routes/api/tables/bulk-update.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/ddl.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/ddl.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/export.post.mjs +8 -3
- package/.output/server/chunks/routes/api/tables/export.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/indexes.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/indexes.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/meta.post.mjs +10 -3
- package/.output/server/chunks/routes/api/tables/meta.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/overview.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/overview.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/rls.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/rls.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/rules.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/rules.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/size.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/size.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/structure.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/structure.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/triggers.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/triggers.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/definition.post.mjs +5 -0
- package/.output/server/chunks/routes/api/views/definition.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/dependencies.post.mjs +5 -0
- package/.output/server/chunks/routes/api/views/dependencies.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/explain.post.mjs +5 -0
- package/.output/server/chunks/routes/api/views/explain.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/indexes.post.mjs +5 -0
- package/.output/server/chunks/routes/api/views/indexes.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/meta.post.mjs +5 -0
- package/.output/server/chunks/routes/api/views/meta.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/overview.post.mjs +5 -0
- package/.output/server/chunks/routes/api/views/overview.post.mjs.map +1 -1
- package/.output/server/chunks/routes/renderer.mjs +1 -1
- package/.output/server/index.mjs +1 -1
- package/.output/server/node_modules/@libsql/client/lib-esm/hrana.js +310 -0
- package/.output/server/node_modules/@libsql/client/lib-esm/http.js +230 -0
- package/.output/server/node_modules/@libsql/client/lib-esm/sql_cache.js +87 -0
- package/.output/server/node_modules/@libsql/client/package.json +123 -0
- package/.output/server/node_modules/@libsql/core/lib-esm/api.js +16 -0
- package/.output/server/node_modules/@libsql/core/lib-esm/config.js +136 -0
- package/.output/server/node_modules/@libsql/core/lib-esm/uri.js +120 -0
- package/.output/server/node_modules/@libsql/core/lib-esm/util.js +55 -0
- package/.output/server/node_modules/@libsql/core/package.json +91 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/batch.js +271 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/byte_queue.js +45 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/client.js +13 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/cursor.js +2 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/describe.js +8 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/index.js +4 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/json/decode.js +59 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/json/encode.js +72 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/decode.js +150 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/encode.js +95 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/util.js +6 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/errors.js +102 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/client.js +124 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/cursor.js +135 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/json_decode.js +62 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/json_encode.js +55 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/protobuf_decode.js +44 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/protobuf_encode.js +78 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/stream.js +363 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/id_alloc.js +47 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/index.js +42 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/libsql_url.js +75 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/queue.js +26 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/queue_microtask.js +13 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/result.js +48 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/json_decode.js +106 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/json_encode.js +71 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/protobuf_decode.js +115 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/protobuf_encode.js +85 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/sql.js +46 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/stmt.js +76 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/stream.js +57 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/util.js +4 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/value.js +83 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/client.js +318 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/cursor.js +80 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/json_decode.js +74 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/json_encode.js +77 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/protobuf_decode.js +60 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/protobuf_encode.js +115 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/stream.js +211 -0
- package/.output/server/node_modules/@libsql/hrana-client/package.json +60 -0
- package/.output/server/node_modules/@libsql/isomorphic-fetch/node.js +6 -0
- package/.output/server/node_modules/@libsql/isomorphic-fetch/package.json +51 -0
- package/.output/server/node_modules/@libsql/isomorphic-ws/node.mjs +2 -0
- package/.output/server/node_modules/@libsql/isomorphic-ws/package.json +53 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/ADD.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/CARD.js +16 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/EXISTS.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/INFO.js +22 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/INSERT.js +41 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/LOADCHUNK.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/MADD.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/MEXISTS.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/RESERVE.js +28 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/SCANDUMP.js +23 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/helpers.js +28 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/index.js +53 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INCRBY.js +28 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INFO.js +22 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INITBYDIM.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INITBYPROB.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/MERGE.js +33 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/QUERY.js +18 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/index.js +26 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/ADD.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/ADDNX.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/COUNT.js +18 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/DEL.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/EXISTS.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/INFO.js +22 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/INSERT.js +34 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/INSERTNX.js +44 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/LOADCHUNK.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/RESERVE.js +31 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/SCANDUMP.js +23 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/index.js +41 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/index.js +18 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/ADD.js +20 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/BYRANK.js +26 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/BYREVRANK.js +41 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/CDF.js +21 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/CREATE.js +21 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/INFO.js +22 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/MAX.js +17 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/MERGE.js +27 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/MIN.js +17 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/QUANTILE.js +21 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/RANK.js +25 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/RESET.js +16 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/REVRANK.js +41 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/TRIMMED_MEAN.js +20 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/index.js +50 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/ADD.js +18 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/COUNT.js +18 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/INCRBY.js +28 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/INFO.js +24 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/LIST.js +16 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/LIST_WITHCOUNT.js +26 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/QUERY.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/RESERVE.js +25 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/index.js +32 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/index.js +9 -0
- package/.output/server/node_modules/@redis/bloom/package.json +36 -0
- package/.output/server/node_modules/@redis/client/dist/index.js +53 -0
- package/.output/server/node_modules/@redis/client/dist/lib/RESP/decoder.js +727 -0
- package/.output/server/node_modules/@redis/client/dist/lib/RESP/encoder.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/RESP/verbatim-string.js +12 -0
- package/.output/server/node_modules/@redis/client/dist/lib/authx/credentials-provider.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/authx/index.js +12 -0
- package/.output/server/node_modules/@redis/client/dist/lib/authx/token-manager.js +184 -0
- package/.output/server/node_modules/@redis/client/dist/lib/authx/token.js +32 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/cache.js +634 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/commands-queue.js +497 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/enterprise-maintenance-manager.js +387 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/identity.js +65 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/index.js +1118 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/legacy-mode.js +119 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/linked-list.js +212 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/multi-command.js +118 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/parser.js +83 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/pool.js +373 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/pub-sub.js +351 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/socket.js +336 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/tracing.js +122 -0
- package/.output/server/node_modules/@redis/client/dist/lib/cluster/cluster-slots.js +657 -0
- package/.output/server/node_modules/@redis/client/dist/lib/cluster/index.js +425 -0
- package/.output/server/node_modules/@redis/client/dist/lib/cluster/multi-command.js +124 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commander.js +91 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_CAT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_DELUSER.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_DRYRUN.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_GENPASS.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_GETUSER.js +33 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LIST.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LOAD.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LOG.js +39 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LOG_RESET.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_SAVE.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_SETUSER.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_USERS.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_WHOAMI.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/APPEND.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ASKING.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/AUTH.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BGREWRITEAOF.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BGSAVE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BITCOUNT.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BITFIELD.js +33 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BITFIELD_RO.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BITOP.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BITPOS.js +31 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BLMOVE.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BLMPOP.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BLPOP.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BRPOP.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BRPOPLPUSH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BZMPOP.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BZPOPMAX.js +34 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BZPOPMIN.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_CACHING.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_GETNAME.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_GETREDIR.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_ID.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_INFO.js +62 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_KILL.js +66 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_LIST.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_NO-EVICT.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_NO-TOUCH.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_PAUSE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_SETNAME.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_TRACKING.js +53 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_TRACKINGINFO.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_UNPAUSE.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_ADDSLOTS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_ADDSLOTSRANGE.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_BUMPEPOCH.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_COUNT-FAILURE-REPORTS.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_COUNTKEYSINSLOT.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_DELSLOTS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_DELSLOTSRANGE.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_FAILOVER.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_FLUSHSLOTS.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_FORGET.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_GETKEYSINSLOT.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_INFO.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_KEYSLOT.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_LINKS.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_MEET.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_MYID.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_MYSHARDID.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_NODES.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_REPLICAS.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_REPLICATE.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_RESET.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SAVECONFIG.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SET-CONFIG-EPOCH.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SETSLOT.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SLOTS.js +30 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_COUNT.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_GETKEYS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_GETKEYSANDFLAGS.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_INFO.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_LIST.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_GET.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_RESETSTAT.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_REWRITE.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_SET.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COPY.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DBSIZE.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DECR.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DECRBY.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DEL.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DELEX.js +43 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DIGEST.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DUMP.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ECHO.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EVAL.js +31 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EVALSHA.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EVALSHA_RO.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EVAL_RO.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EXISTS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EXPIRE.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EXPIREAT.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EXPIRETIME.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FCALL.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FCALL_RO.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FLUSHALL.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FLUSHDB.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_DELETE.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_DUMP.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_FLUSH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_KILL.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_LIST.js +38 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_LIST_WITHCODE.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_LOAD.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_RESTORE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_STATS.js +47 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOADD.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEODIST.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOHASH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOPOS.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_RO.js +46 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_RO_WITH.js +46 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_STORE.js +53 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_WITH.js +36 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_RO.js +45 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_RO_WITH.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_STORE.js +53 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_WITH.js +56 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOSEARCH.js +54 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOSEARCHSTORE.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOSEARCH_WITH.js +55 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GET.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GETBIT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GETDEL.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GETEX.js +50 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GETRANGE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GETSET.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HDEL.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HELLO.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXISTS.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXPIRE.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXPIREAT.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXPIRETIME.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HGET.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HGETALL.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HGETDEL.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HGETEX.js +30 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HINCRBY.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HINCRBYFLOAT.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HKEYS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HLEN.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HMGET.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_GET.js +131 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_RESET.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_START.js +60 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_STOP.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HPERSIST.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HPEXPIRE.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HPEXPIREAT.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HPEXPIRETIME.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HPTTL.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HRANDFIELD.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HRANDFIELD_COUNT.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HRANDFIELD_COUNT_WITHVALUES.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSCAN.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSCAN_NOVALUES.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSET.js +55 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSETEX.js +81 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSETNX.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSTRLEN.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HTTL.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HVALS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/INCR.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/INCRBY.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/INCRBYFLOAT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/INFO.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/KEYS.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LASTSAVE.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_DOCTOR.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_GRAPH.js +37 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_HISTOGRAM.js +39 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_HISTORY.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_LATEST.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_RESET.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS_IDX.js +33 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS_IDX_WITHMATCHLEN.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS_LEN.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LINDEX.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LINSERT.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LLEN.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LMOVE.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LMPOP.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LOLWUT.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOP.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOP_COUNT.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOS.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOS_COUNT.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPUSH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPUSHX.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LRANGE.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LREM.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LSET.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LTRIM.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_DOCTOR.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_MALLOC-STATS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_PURGE.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_STATS.js +39 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_USAGE.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MGET.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MIGRATE.js +48 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MODULE_LIST.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MODULE_LOAD.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MODULE_UNLOAD.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MOVE.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MSET.js +46 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MSETEX.js +104 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MSETNX.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_ENCODING.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_FREQ.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_IDLETIME.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_REFCOUNT.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PERSIST.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PEXPIRE.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PEXPIREAT.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PEXPIRETIME.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PFADD.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PFCOUNT.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PFMERGE.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PING.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PSETEX.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PTTL.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBLISH.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_CHANNELS.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_NUMPAT.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_NUMSUB.js +34 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_SHARDCHANNELS.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_SHARDNUMSUB.js +32 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RANDOMKEY.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/READONLY.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RENAME.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RENAMENX.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/REPLICAOF.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RESTORE-ASKING.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RESTORE.js +34 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ROLE.js +60 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RPOP.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RPOPLPUSH.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RPOP_COUNT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RPUSH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RPUSHX.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SADD.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCAN.js +71 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCARD.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_DEBUG.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_EXISTS.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_FLUSH.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_KILL.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_LOAD.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SDIFF.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SDIFFSTORE.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SET.js +61 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SETBIT.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SETEX.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SETNX.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SETRANGE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SINTER.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SINTERCARD.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SINTERSTORE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SISMEMBER.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SMEMBERS.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SMISMEMBER.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SMOVE.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SORT.js +53 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SORT_RO.js +40 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SORT_STORE.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SPOP.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SPOP_COUNT.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SPUBLISH.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SRANDMEMBER.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SRANDMEMBER_COUNT.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SREM.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SSCAN.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/STRLEN.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SUNION.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SUNIONSTORE.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SWAPDB.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/TIME.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/TOUCH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/TTL.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/TYPE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/UNLINK.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VADD.js +42 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VCARD.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VDIM.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VEMB.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VEMB_RAW.js +42 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VGETATTR.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VINFO.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VLINKS.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VLINKS_WITHSCORES.js +39 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VRANDMEMBER.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VRANGE.js +31 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VREM.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VSETATTR.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VSIM.js +51 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VSIM_WITHSCORES.js +32 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/WAIT.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XACK.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XACKDEL.js +31 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XADD.js +71 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XADD_NOMKSTREAM.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XAUTOCLAIM.js +43 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XAUTOCLAIM_JUSTID.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XCFGSET.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XCLAIM.js +52 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XCLAIM_JUSTID.js +31 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XDEL.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XDELEX.js +29 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_CREATE.js +29 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_CREATECONSUMER.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_DELCONSUMER.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_DESTROY.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_SETID.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XINFO_CONSUMERS.js +40 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XINFO_GROUPS.js +46 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XINFO_STREAM.js +72 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XLEN.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XPENDING.js +42 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XPENDING_RANGE.js +49 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XRANGE.js +50 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XREAD.js +57 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XREADGROUP.js +42 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XREVRANGE.js +49 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XSETID.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XTRIM.js +36 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZADD.js +73 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZADD_INCR.js +36 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZCARD.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZCOUNT.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZDIFF.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZDIFFSTORE.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZDIFF_WITHSCORES.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINCRBY.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTER.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTERCARD.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTERSTORE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTER_WITHSCORES.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZLEXCOUNT.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZMPOP.js +47 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZMSCORE.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMAX.js +34 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMAX_COUNT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMIN.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMIN_COUNT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANDMEMBER.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANDMEMBER_COUNT.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANDMEMBER_COUNT_WITHSCORES.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGE.js +45 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGEBYLEX.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGEBYSCORE.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGEBYSCORE_WITHSCORES.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGESTORE.js +37 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGE_WITHSCORES.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANK.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANK_WITHSCORE.js +38 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREM.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREMRANGEBYLEX.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREMRANGEBYRANK.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREMRANGEBYSCORE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREVRANK.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZSCAN.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZSCORE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZUNION.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZUNIONSTORE.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZUNION_WITHSCORES.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/generic-transformers.js +492 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/index.js +1161 -0
- package/.output/server/node_modules/@redis/client/dist/lib/errors.js +110 -0
- package/.output/server/node_modules/@redis/client/dist/lib/lua-script.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/multi-command.js +48 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/client-registry.js +84 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/index.js +81 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/metrics.js +647 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/types.js +120 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/utils/error.util.js +199 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/utils/index.js +32 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_MASTER.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_MONITOR.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_REPLICAS.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_SENTINELS.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_SET.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/index.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/index.js +1229 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/module.js +10 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/multi-commands.js +115 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/pub-sub-proxy.js +150 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/utils.js +98 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/wait-queue.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/single-entry-cache.js +38 -0
- package/.output/server/node_modules/@redis/client/dist/lib/utils/digest.js +34 -0
- package/.output/server/node_modules/@redis/client/dist/package.json +52 -0
- package/.output/server/node_modules/@redis/client/package.json +52 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRAPPEND.js +26 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRINDEX.js +31 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRINSERT.js +27 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRLEN.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRPOP.js +32 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRTRIM.js +22 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/CLEAR.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/DEBUG_MEMORY.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/DEL.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/FORGET.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/GET.js +24 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/MERGE.js +22 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/MGET.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/MSET.js +25 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/NUMINCRBY.js +26 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/NUMMULTBY.js +25 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/OBJKEYS.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/OBJLEN.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/SET.js +35 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/STRAPPEND.js +26 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/STRLEN.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/TOGGLE.js +20 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/TYPE.js +29 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/index.js +91 -0
- package/.output/server/node_modules/@redis/json/dist/lib/index.js +9 -0
- package/.output/server/node_modules/@redis/json/package.json +36 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/AGGREGATE.js +212 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/AGGREGATE_WITHCURSOR.js +40 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/ALIASADD.js +17 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/ALIASDEL.js +16 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/ALIASUPDATE.js +17 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/ALTER.js +19 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/CONFIG_GET.js +23 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/CONFIG_SET.js +17 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/CREATE.js +277 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/CURSOR_DEL.js +17 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/CURSOR_READ.js +27 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/DICTADD.js +18 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/DICTDEL.js +18 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/DICTDUMP.js +19 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/DROPINDEX.js +24 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/EXPLAIN.js +29 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/EXPLAINCLI.js +26 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/HYBRID.js +273 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/INFO.js +106 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/PROFILE_AGGREGATE.js +58 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/PROFILE_SEARCH.js +58 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SEARCH.js +160 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SEARCH_NOCONTENT.js +34 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SPELLCHECK.js +56 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGADD.js +28 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGDEL.js +18 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET.js +27 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET_WITHPAYLOADS.js +36 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET_WITHSCORES.js +51 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET_WITHSCORES_WITHPAYLOADS.js +53 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGLEN.js +15 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SYNDUMP.js +27 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SYNUPDATE.js +24 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/TAGVALS.js +20 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/_LIST.js +18 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/index.js +125 -0
- package/.output/server/node_modules/@redis/search/dist/lib/dialect/default.js +5 -0
- package/.output/server/node_modules/@redis/search/dist/lib/index.js +17 -0
- package/.output/server/node_modules/@redis/search/package.json +37 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/ADD.js +29 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/ALTER.js +23 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/CREATE.js +24 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/CREATERULE.js +48 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/DECRBY.js +40 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/DEL.js +20 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/DELETERULE.js +17 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/GET.js +33 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/INCRBY.js +40 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/INFO.js +58 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/INFO_DEBUG.js +46 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MADD.js +20 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MGET.js +57 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MGET_SELECTED_LABELS.js +23 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MGET_WITHLABELS.js +43 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE.js +44 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_GROUPBY.js +96 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_SELECTED_LABELS.js +51 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_SELECTED_LABELS_GROUPBY.js +52 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_WITHLABELS.js +59 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_WITHLABELS_GROUPBY.js +52 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE.js +41 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_GROUPBY.js +41 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_SELECTED_LABELS.js +41 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_SELECTED_LABELS_GROUPBY.js +42 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_WITHLABELS.js +41 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_WITHLABELS_GROUPBY.js +41 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/QUERYINDEX.js +20 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/RANGE.js +66 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/REVRANGE.js +40 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/helpers.js +237 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/index.js +113 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/index.js +17 -0
- package/.output/server/node_modules/@redis/time-series/package.json +36 -0
- package/.output/server/node_modules/aws-ssl-profiles/lib/index.js +13 -0
- package/.output/server/node_modules/aws-ssl-profiles/lib/profiles/ca/defaults.js +2888 -0
- package/.output/server/node_modules/aws-ssl-profiles/lib/profiles/ca/proxies.js +111 -0
- package/.output/server/node_modules/aws-ssl-profiles/package.json +52 -0
- package/.output/server/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
- package/.output/server/node_modules/better-sqlite3/lib/database.js +90 -0
- package/.output/server/node_modules/better-sqlite3/lib/index.js +3 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/aggregate.js +43 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/backup.js +67 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/function.js +31 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/inspect.js +7 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/pragma.js +12 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/serialize.js +16 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/table.js +189 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/transaction.js +78 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/wrappers.js +54 -0
- package/.output/server/node_modules/better-sqlite3/lib/sqlite-error.js +20 -0
- package/.output/server/node_modules/better-sqlite3/lib/util.js +12 -0
- package/.output/server/node_modules/better-sqlite3/package.json +59 -0
- package/.output/server/node_modules/cluster-key-slot/lib/index.js +166 -0
- package/.output/server/node_modules/cluster-key-slot/package.json +56 -0
- package/.output/server/node_modules/cpu-features/build/Release/cpufeatures.node +0 -0
- package/.output/server/node_modules/cpu-features/lib/index.js +5 -0
- package/.output/server/node_modules/cpu-features/package.json +40 -0
- package/.output/server/node_modules/denque/index.js +481 -0
- package/.output/server/node_modules/denque/package.json +58 -0
- package/.output/server/node_modules/generate-function/index.js +181 -0
- package/.output/server/node_modules/generate-function/package.json +32 -0
- package/.output/server/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
- package/.output/server/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
- package/.output/server/node_modules/iconv-lite/encodings/index.js +23 -0
- package/.output/server/node_modules/iconv-lite/encodings/internal.js +218 -0
- package/.output/server/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
- package/.output/server/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/.output/server/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/.output/server/node_modules/iconv-lite/encodings/utf16.js +187 -0
- package/.output/server/node_modules/iconv-lite/encodings/utf32.js +307 -0
- package/.output/server/node_modules/iconv-lite/encodings/utf7.js +283 -0
- package/.output/server/node_modules/iconv-lite/lib/bom-handling.js +48 -0
- package/.output/server/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
- package/.output/server/node_modules/iconv-lite/lib/index.js +182 -0
- package/.output/server/node_modules/iconv-lite/lib/streams.js +105 -0
- package/.output/server/node_modules/iconv-lite/package.json +70 -0
- package/.output/server/node_modules/is-property/is-property.js +5 -0
- package/.output/server/node_modules/is-property/package.json +36 -0
- package/.output/server/node_modules/js-base64/base64.mjs +301 -0
- package/.output/server/node_modules/js-base64/package.json +43 -0
- package/.output/server/node_modules/long/package.json +58 -0
- package/.output/server/node_modules/long/umd/index.js +1622 -0
- package/.output/server/node_modules/long/umd/package.json +3 -0
- package/.output/server/node_modules/lru.min/lib/index.js +248 -0
- package/.output/server/node_modules/lru.min/package.json +87 -0
- package/.output/server/node_modules/mysql2/index.js +77 -0
- package/.output/server/node_modules/mysql2/lib/auth_41.js +95 -0
- package/.output/server/node_modules/mysql2/lib/auth_plugins/caching_sha2_password.js +115 -0
- package/.output/server/node_modules/mysql2/lib/auth_plugins/index.js +8 -0
- package/.output/server/node_modules/mysql2/lib/auth_plugins/mysql_clear_password.js +17 -0
- package/.output/server/node_modules/mysql2/lib/auth_plugins/mysql_native_password.js +34 -0
- package/.output/server/node_modules/mysql2/lib/auth_plugins/sha256_password.js +74 -0
- package/.output/server/node_modules/mysql2/lib/base/connection.js +1139 -0
- package/.output/server/node_modules/mysql2/lib/base/pool.js +343 -0
- package/.output/server/node_modules/mysql2/lib/commands/auth_switch.js +151 -0
- package/.output/server/node_modules/mysql2/lib/commands/binlog_dump.js +109 -0
- package/.output/server/node_modules/mysql2/lib/commands/change_user.js +68 -0
- package/.output/server/node_modules/mysql2/lib/commands/client_handshake.js +386 -0
- package/.output/server/node_modules/mysql2/lib/commands/close_statement.js +18 -0
- package/.output/server/node_modules/mysql2/lib/commands/command.js +54 -0
- package/.output/server/node_modules/mysql2/lib/commands/execute.js +116 -0
- package/.output/server/node_modules/mysql2/lib/commands/index.js +29 -0
- package/.output/server/node_modules/mysql2/lib/commands/ping.js +36 -0
- package/.output/server/node_modules/mysql2/lib/commands/prepare.js +143 -0
- package/.output/server/node_modules/mysql2/lib/commands/query.js +365 -0
- package/.output/server/node_modules/mysql2/lib/commands/quit.js +29 -0
- package/.output/server/node_modules/mysql2/lib/commands/register_slave.js +27 -0
- package/.output/server/node_modules/mysql2/lib/commands/reset_connection.js +29 -0
- package/.output/server/node_modules/mysql2/lib/commands/server_handshake.js +205 -0
- package/.output/server/node_modules/mysql2/lib/compressed_protocol.js +153 -0
- package/.output/server/node_modules/mysql2/lib/connection.js +12 -0
- package/.output/server/node_modules/mysql2/lib/connection_config.js +299 -0
- package/.output/server/node_modules/mysql2/lib/constants/charset_encodings.js +317 -0
- package/.output/server/node_modules/mysql2/lib/constants/charsets.js +317 -0
- package/.output/server/node_modules/mysql2/lib/constants/client.js +39 -0
- package/.output/server/node_modules/mysql2/lib/constants/commands.js +37 -0
- package/.output/server/node_modules/mysql2/lib/constants/cursor.js +9 -0
- package/.output/server/node_modules/mysql2/lib/constants/encoding_charset.js +50 -0
- package/.output/server/node_modules/mysql2/lib/constants/errors.js +3973 -0
- package/.output/server/node_modules/mysql2/lib/constants/field_flags.js +20 -0
- package/.output/server/node_modules/mysql2/lib/constants/server_status.js +44 -0
- package/.output/server/node_modules/mysql2/lib/constants/session_track.js +11 -0
- package/.output/server/node_modules/mysql2/lib/constants/ssl_profiles.js +11 -0
- package/.output/server/node_modules/mysql2/lib/constants/types.js +64 -0
- package/.output/server/node_modules/mysql2/lib/create_connection.js +10 -0
- package/.output/server/node_modules/mysql2/lib/create_pool.js +10 -0
- package/.output/server/node_modules/mysql2/lib/create_pool_cluster.js +9 -0
- package/.output/server/node_modules/mysql2/lib/helpers.js +83 -0
- package/.output/server/node_modules/mysql2/lib/packet_parser.js +195 -0
- package/.output/server/node_modules/mysql2/lib/packets/auth_next_factor.js +35 -0
- package/.output/server/node_modules/mysql2/lib/packets/auth_switch_request.js +38 -0
- package/.output/server/node_modules/mysql2/lib/packets/auth_switch_request_more_data.js +33 -0
- package/.output/server/node_modules/mysql2/lib/packets/auth_switch_response.js +30 -0
- package/.output/server/node_modules/mysql2/lib/packets/binary_row.js +95 -0
- package/.output/server/node_modules/mysql2/lib/packets/binlog_dump.js +33 -0
- package/.output/server/node_modules/mysql2/lib/packets/binlog_query_statusvars.js +115 -0
- package/.output/server/node_modules/mysql2/lib/packets/change_user.js +97 -0
- package/.output/server/node_modules/mysql2/lib/packets/close_statement.js +21 -0
- package/.output/server/node_modules/mysql2/lib/packets/column_definition.js +291 -0
- package/.output/server/node_modules/mysql2/lib/packets/encode_parameter.js +69 -0
- package/.output/server/node_modules/mysql2/lib/packets/execute.js +177 -0
- package/.output/server/node_modules/mysql2/lib/packets/handshake.js +112 -0
- package/.output/server/node_modules/mysql2/lib/packets/handshake_response.js +173 -0
- package/.output/server/node_modules/mysql2/lib/packets/index.js +154 -0
- package/.output/server/node_modules/mysql2/lib/packets/packet.js +978 -0
- package/.output/server/node_modules/mysql2/lib/packets/prepare_statement.js +27 -0
- package/.output/server/node_modules/mysql2/lib/packets/prepared_statement_header.js +16 -0
- package/.output/server/node_modules/mysql2/lib/packets/query.js +102 -0
- package/.output/server/node_modules/mysql2/lib/packets/register_slave.js +46 -0
- package/.output/server/node_modules/mysql2/lib/packets/reset_connection.js +17 -0
- package/.output/server/node_modules/mysql2/lib/packets/resultset_header.js +124 -0
- package/.output/server/node_modules/mysql2/lib/packets/ssl_request.js +25 -0
- package/.output/server/node_modules/mysql2/lib/packets/text_row.js +47 -0
- package/.output/server/node_modules/mysql2/lib/parsers/binary_parser.js +235 -0
- package/.output/server/node_modules/mysql2/lib/parsers/parser_cache.js +68 -0
- package/.output/server/node_modules/mysql2/lib/parsers/static_binary_parser.js +213 -0
- package/.output/server/node_modules/mysql2/lib/parsers/static_text_parser.js +152 -0
- package/.output/server/node_modules/mysql2/lib/parsers/string.js +50 -0
- package/.output/server/node_modules/mysql2/lib/parsers/text_parser.js +214 -0
- package/.output/server/node_modules/mysql2/lib/pool.js +12 -0
- package/.output/server/node_modules/mysql2/lib/pool_cluster.js +375 -0
- package/.output/server/node_modules/mysql2/lib/pool_config.js +34 -0
- package/.output/server/node_modules/mysql2/lib/pool_connection.js +81 -0
- package/.output/server/node_modules/mysql2/lib/promise/capture_local_err.js +25 -0
- package/.output/server/node_modules/mysql2/lib/promise/connection.js +237 -0
- package/.output/server/node_modules/mysql2/lib/promise/inherit_events.js +27 -0
- package/.output/server/node_modules/mysql2/lib/promise/make_done_cb.js +16 -0
- package/.output/server/node_modules/mysql2/lib/promise/pool.js +118 -0
- package/.output/server/node_modules/mysql2/lib/promise/pool_cluster.js +59 -0
- package/.output/server/node_modules/mysql2/lib/promise/pool_connection.js +19 -0
- package/.output/server/node_modules/mysql2/lib/promise/prepared_statement_info.js +35 -0
- package/.output/server/node_modules/mysql2/lib/server.js +37 -0
- package/.output/server/node_modules/mysql2/lib/tracing.js +81 -0
- package/.output/server/node_modules/mysql2/package.json +95 -0
- package/.output/server/node_modules/mysql2/promise.js +209 -0
- package/.output/server/node_modules/named-placeholders/index.js +179 -0
- package/.output/server/node_modules/named-placeholders/package.json +36 -0
- package/.output/server/node_modules/oracledb/index.js +27 -0
- package/.output/server/node_modules/oracledb/lib/aqDeqOptions.js +186 -0
- package/.output/server/node_modules/oracledb/lib/aqEnqOptions.js +81 -0
- package/.output/server/node_modules/oracledb/lib/aqMessage.js +149 -0
- package/.output/server/node_modules/oracledb/lib/aqQueue.js +293 -0
- package/.output/server/node_modules/oracledb/lib/connection.js +1842 -0
- package/.output/server/node_modules/oracledb/lib/constants.js +210 -0
- package/.output/server/node_modules/oracledb/lib/dbObject.js +606 -0
- package/.output/server/node_modules/oracledb/lib/errors.js +1046 -0
- package/.output/server/node_modules/oracledb/lib/future.js +53 -0
- package/.output/server/node_modules/oracledb/lib/impl/aqDeqOptions.js +206 -0
- package/.output/server/node_modules/oracledb/lib/impl/aqEnqOptions.js +89 -0
- package/.output/server/node_modules/oracledb/lib/impl/aqMessage.js +134 -0
- package/.output/server/node_modules/oracledb/lib/impl/aqQueue.js +82 -0
- package/.output/server/node_modules/oracledb/lib/impl/base.js +45 -0
- package/.output/server/node_modules/oracledb/lib/impl/connection.js +671 -0
- package/.output/server/node_modules/oracledb/lib/impl/datahandlers/buffer.js +1214 -0
- package/.output/server/node_modules/oracledb/lib/impl/datahandlers/constants.js +110 -0
- package/.output/server/node_modules/oracledb/lib/impl/datahandlers/oson.js +852 -0
- package/.output/server/node_modules/oracledb/lib/impl/datahandlers/vector.js +197 -0
- package/.output/server/node_modules/oracledb/lib/impl/dbObject.js +159 -0
- package/.output/server/node_modules/oracledb/lib/impl/index.js +59 -0
- package/.output/server/node_modules/oracledb/lib/impl/lob.js +113 -0
- package/.output/server/node_modules/oracledb/lib/impl/pool.js +230 -0
- package/.output/server/node_modules/oracledb/lib/impl/resultset.js +307 -0
- package/.output/server/node_modules/oracledb/lib/impl/sodaCollection.js +175 -0
- package/.output/server/node_modules/oracledb/lib/impl/sodaDatabase.js +82 -0
- package/.output/server/node_modules/oracledb/lib/impl/sodaDocCursor.js +64 -0
- package/.output/server/node_modules/oracledb/lib/impl/sodaDocument.js +89 -0
- package/.output/server/node_modules/oracledb/lib/impl/sodaOperation.js +110 -0
- package/.output/server/node_modules/oracledb/lib/lob.js +315 -0
- package/.output/server/node_modules/oracledb/lib/oracledb.js +1716 -0
- package/.output/server/node_modules/oracledb/lib/pool.js +873 -0
- package/.output/server/node_modules/oracledb/lib/poolStatistics.js +143 -0
- package/.output/server/node_modules/oracledb/lib/queryStream.js +119 -0
- package/.output/server/node_modules/oracledb/lib/resultset.js +368 -0
- package/.output/server/node_modules/oracledb/lib/settings.js +221 -0
- package/.output/server/node_modules/oracledb/lib/sodaCollection.js +284 -0
- package/.output/server/node_modules/oracledb/lib/sodaDatabase.js +176 -0
- package/.output/server/node_modules/oracledb/lib/sodaDocCursor.js +82 -0
- package/.output/server/node_modules/oracledb/lib/sodaDocument.js +125 -0
- package/.output/server/node_modules/oracledb/lib/sodaOperation.js +236 -0
- package/.output/server/node_modules/oracledb/lib/thin/aq.js +475 -0
- package/.output/server/node_modules/oracledb/lib/thin/connection.js +1504 -0
- package/.output/server/node_modules/oracledb/lib/thin/dbObject.js +737 -0
- package/.output/server/node_modules/oracledb/lib/thin/index.js +40 -0
- package/.output/server/node_modules/oracledb/lib/thin/lob.js +380 -0
- package/.output/server/node_modules/oracledb/lib/thin/pool.js +738 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/capabilities.js +145 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/constants.js +872 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/encryptDecrypt.js +197 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/aqArray.js +238 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/aqBase.js +305 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/aqDeq.js +164 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/aqEnq.js +135 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/auth.js +376 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/base.js +568 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/commit.js +56 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/dataType.js +401 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/execute.js +358 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/fastAuth.js +83 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/fetch.js +64 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/index.js +59 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/lobOp.js +195 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/logOff.js +52 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/ping.js +56 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/protocol.js +97 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/rollback.js +56 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/sessionRelease.js +60 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/transactionChangeState.js +99 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/transactionSwitch.js +147 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/withData.js +920 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/packet.js +631 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/protocol.js +240 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/utils.js +82 -0
- package/.output/server/node_modules/oracledb/lib/thin/resultSet.js +122 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/ANO.js +438 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/connStrategy.js +316 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/constants.js +210 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/ezConnectResolver.js +466 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/navNodes.js +904 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/networkSession.js +733 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js +609 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/nvStrToNvPair.js +780 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/packet.js +439 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/paramParser.js +239 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/sessionAtts.js +198 -0
- package/.output/server/node_modules/oracledb/lib/thin/statement.js +573 -0
- package/.output/server/node_modules/oracledb/lib/thin/statementCache.js +195 -0
- package/.output/server/node_modules/oracledb/lib/thin/util.js +254 -0
- package/.output/server/node_modules/oracledb/lib/traceHandler.js +133 -0
- package/.output/server/node_modules/oracledb/lib/transformer.js +279 -0
- package/.output/server/node_modules/oracledb/lib/types.js +592 -0
- package/.output/server/node_modules/oracledb/lib/util.js +648 -0
- package/.output/server/node_modules/oracledb/lib/version.js +36 -0
- package/.output/server/node_modules/oracledb/package.json +48 -0
- package/.output/server/node_modules/promise-limit/index.js +88 -0
- package/.output/server/node_modules/promise-limit/package.json +39 -0
- package/.output/server/node_modules/redis/dist/index.js +77 -0
- package/.output/server/node_modules/redis/package.json +36 -0
- package/.output/server/node_modules/sql-escaper/lib/index.js +398 -0
- package/.output/server/node_modules/sql-escaper/package.json +81 -0
- package/.output/server/node_modules/sqlite3/build/Release/node_sqlite3.node +0 -0
- package/.output/server/node_modules/ssh2/lib/protocol/crypto/build/Release/sshcrypto.node +0 -0
- package/.output/server/node_modules/ws/lib/buffer-util.js +131 -0
- package/.output/server/node_modules/ws/lib/constants.js +19 -0
- package/.output/server/node_modules/ws/lib/event-target.js +292 -0
- package/.output/server/node_modules/ws/lib/extension.js +203 -0
- package/.output/server/node_modules/ws/lib/limiter.js +55 -0
- package/.output/server/node_modules/ws/lib/permessage-deflate.js +528 -0
- package/.output/server/node_modules/ws/lib/receiver.js +706 -0
- package/.output/server/node_modules/ws/lib/sender.js +602 -0
- package/.output/server/node_modules/ws/lib/stream.js +161 -0
- package/.output/server/node_modules/ws/lib/subprotocol.js +62 -0
- package/.output/server/node_modules/ws/lib/validation.js +152 -0
- package/.output/server/node_modules/ws/lib/websocket-server.js +554 -0
- package/.output/server/node_modules/ws/lib/websocket.js +1393 -0
- package/.output/server/node_modules/ws/package.json +69 -0
- package/.output/server/node_modules/ws/wrapper.mjs +8 -0
- package/.output/server/package.json +29 -18
- package/package.json +9 -3
- package/.output/public/_nuxt/0-wJGyFY.js +0 -2
- package/.output/public/_nuxt/1ntlIJ3J.js +0 -61
- package/.output/public/_nuxt/3c6UPAJG.js +0 -73
- package/.output/public/_nuxt/ACQvpkWm.js +0 -15
- package/.output/public/_nuxt/B-5Px-78.js +0 -1
- package/.output/public/_nuxt/B2GYb2Zp.js +0 -34
- package/.output/public/_nuxt/B2RqwDKD.js +0 -1
- package/.output/public/_nuxt/B8ibHW1N.js +0 -53
- package/.output/public/_nuxt/B9-NZWuC.js +0 -4
- package/.output/public/_nuxt/BBGY5Dij.js +0 -70
- package/.output/public/_nuxt/BC7xWBZm.js +0 -1
- package/.output/public/_nuxt/BCC0qnRS.js +0 -1
- package/.output/public/_nuxt/BEqwcled.js +0 -65
- package/.output/public/_nuxt/BHBluah9.js +0 -39
- package/.output/public/_nuxt/BKKBkPNN.js +0 -160
- package/.output/public/_nuxt/BKltSiU0.js +0 -1
- package/.output/public/_nuxt/BKokR8_i.js +0 -2
- package/.output/public/_nuxt/BL9A1tZd.js +0 -7
- package/.output/public/_nuxt/BOzTRnyW.js +0 -1
- package/.output/public/_nuxt/BP3TGvlW.js +0 -36
- package/.output/public/_nuxt/BPj7cOdr.js +0 -9
- package/.output/public/_nuxt/BSs9H74b.js +0 -1
- package/.output/public/_nuxt/BTp4hJJX.js +0 -30
- package/.output/public/_nuxt/BUolzwzd.js +0 -1
- package/.output/public/_nuxt/BWSKnXVC.js +0 -1
- package/.output/public/_nuxt/BX8ZW8Wz.js +0 -1
- package/.output/public/_nuxt/BZOx0xl6.js +0 -1
- package/.output/public/_nuxt/B_IzdKBm.js +0 -1
- package/.output/public/_nuxt/BaseCodeEditor.SAr2eD8R.css +0 -1
- package/.output/public/_nuxt/BbHeTL4H.js +0 -1
- package/.output/public/_nuxt/Bdd_MGHp.js +0 -1
- package/.output/public/_nuxt/Bdtn2mn5.js +0 -1
- package/.output/public/_nuxt/Bf6dfiAn.js +0 -1
- package/.output/public/_nuxt/BfStSYv5.js +0 -10
- package/.output/public/_nuxt/BiCaG3fA.js +0 -1
- package/.output/public/_nuxt/BiZhfq--.js +0 -1
- package/.output/public/_nuxt/Bj9pfQd-.js +0 -10
- package/.output/public/_nuxt/BjU0QAaV.js +0 -732
- package/.output/public/_nuxt/Bpvd5Z9l.js +0 -132
- package/.output/public/_nuxt/BvXVax75.js +0 -162
- package/.output/public/_nuxt/BwI9KIOm.js +0 -255
- package/.output/public/_nuxt/C-3-JfbB.js +0 -1
- package/.output/public/_nuxt/C-xlKweX.js +0 -1
- package/.output/public/_nuxt/CEj-unU2.js +0 -1
- package/.output/public/_nuxt/CEza5aSi.js +0 -1
- package/.output/public/_nuxt/CJWptbcK.js +0 -1
- package/.output/public/_nuxt/CKSjfllY.js +0 -1
- package/.output/public/_nuxt/CMpNcsXd.js +0 -12
- package/.output/public/_nuxt/CPabAXsJ.js +0 -24
- package/.output/public/_nuxt/CPipTUnI.js +0 -152
- package/.output/public/_nuxt/CQ45OBWa.js +0 -89
- package/.output/public/_nuxt/CQAA248G.js +0 -1
- package/.output/public/_nuxt/CRM1vXw3.js +0 -2
- package/.output/public/_nuxt/CUIMPQKu.js +0 -70
- package/.output/public/_nuxt/CUvvUJMD.js +0 -1
- package/.output/public/_nuxt/CWE6B2ZO.js +0 -1
- package/.output/public/_nuxt/CY1oztNj.js +0 -1
- package/.output/public/_nuxt/Cb_5VLq-.js +0 -1
- package/.output/public/_nuxt/Cc9Pv3NC.js +0 -67
- package/.output/public/_nuxt/CdeKF_Y5.js +0 -1
- package/.output/public/_nuxt/Ceqb0tnW.js +0 -9
- package/.output/public/_nuxt/Cf4SYIMN.js +0 -15
- package/.output/public/_nuxt/CfJy-WiZ.js +0 -2
- package/.output/public/_nuxt/Ch9DdZ1v.js +0 -1
- package/.output/public/_nuxt/Chnnd034.js +0 -1
- package/.output/public/_nuxt/CmPpU8kK.js +0 -7
- package/.output/public/_nuxt/CoTGLOo-.js +0 -10
- package/.output/public/_nuxt/CqvBmMuN.js +0 -1
- package/.output/public/_nuxt/CtJG7C0n.js +0 -1
- package/.output/public/_nuxt/Cv13FokC.js +0 -24
- package/.output/public/_nuxt/CyIart-B.js +0 -1
- package/.output/public/_nuxt/Czb-ugrz.js +0 -1
- package/.output/public/_nuxt/D0HVzqS-.js +0 -1
- package/.output/public/_nuxt/D5MxrHN6.js +0 -1
- package/.output/public/_nuxt/DBC_DJ4H.js +0 -292
- package/.output/public/_nuxt/DD0_MMyC.js +0 -22
- package/.output/public/_nuxt/DLBa45iT.js +0 -68
- package/.output/public/_nuxt/DNX5WjhQ.js +0 -1
- package/.output/public/_nuxt/DS5KvVtc.js +0 -1
- package/.output/public/_nuxt/DeHEBoXc.js +0 -43
- package/.output/public/_nuxt/DiVOI330.js +0 -1
- package/.output/public/_nuxt/DkFAxPAy.js +0 -162
- package/.output/public/_nuxt/DonU4d08.js +0 -3
- package/.output/public/_nuxt/Dsj6LIQK.js +0 -220
- package/.output/public/_nuxt/DuEMN8L_.js +0 -189
- package/.output/public/_nuxt/Dv-XdIM2.js +0 -68
- package/.output/public/_nuxt/DyxiJtlL.js +0 -72
- package/.output/public/_nuxt/Dzy5OQn7.js +0 -139
- package/.output/public/_nuxt/EJAhTysQ.js +0 -1
- package/.output/public/_nuxt/GoTwJjoS.js +0 -39
- package/.output/public/_nuxt/L22G0LO0.js +0 -2
- package/.output/public/_nuxt/MT_t-3iM.js +0 -145
- package/.output/public/_nuxt/NPxge8Vj.js +0 -1
- package/.output/public/_nuxt/PuW66QXY.js +0 -6
- package/.output/public/_nuxt/RVJfUWby.js +0 -1
- package/.output/public/_nuxt/Vvsm7Zcb.js +0 -1
- package/.output/public/_nuxt/Yhg2AuOM.js +0 -1
- package/.output/public/_nuxt/Yzrsuije.js +0 -1
- package/.output/public/_nuxt/_pURwnjj.js +0 -1
- package/.output/public/_nuxt/ak-AMfNO.js +0 -1
- package/.output/public/_nuxt/bTGk4NZ_.js +0 -1
- package/.output/public/_nuxt/builds/meta/b0b2d3d7-8491-43b2-b747-bf8ac00fec15.json +0 -1
- package/.output/public/_nuxt/default.DC7ec2JI.css +0 -1
- package/.output/public/_nuxt/entry.kqv_Ayaq.css +0 -1
- package/.output/public/_nuxt/kehy-5uo.js +0 -1
- package/.output/public/_nuxt/newKnrX1.js +0 -1
- package/.output/public/_nuxt/oXG7qeES.js +0 -1
- package/.output/public/_nuxt/rOvrJUdX.js +0 -1
- package/.output/public/_nuxt/vnfYlYqV.js +0 -1
- package/.output/public/_nuxt/x9AB1FGL.js +0 -3867
- package/.output/server/node_modules/cross-spawn/index.js +0 -39
- package/.output/server/node_modules/cross-spawn/lib/enoent.js +0 -59
- package/.output/server/node_modules/cross-spawn/lib/parse.js +0 -91
- package/.output/server/node_modules/cross-spawn/lib/util/escape.js +0 -47
- package/.output/server/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
- package/.output/server/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
- package/.output/server/node_modules/cross-spawn/package.json +0 -73
- package/.output/server/node_modules/execa/index.js +0 -268
- package/.output/server/node_modules/execa/lib/command.js +0 -52
- package/.output/server/node_modules/execa/lib/error.js +0 -88
- package/.output/server/node_modules/execa/lib/kill.js +0 -115
- package/.output/server/node_modules/execa/lib/promise.js +0 -46
- package/.output/server/node_modules/execa/lib/stdio.js +0 -52
- package/.output/server/node_modules/execa/lib/stream.js +0 -97
- package/.output/server/node_modules/execa/package.json +0 -74
- package/.output/server/node_modules/get-stream/buffer-stream.js +0 -52
- package/.output/server/node_modules/get-stream/index.js +0 -61
- package/.output/server/node_modules/get-stream/package.json +0 -47
- package/.output/server/node_modules/human-signals/build/src/core.js +0 -273
- package/.output/server/node_modules/human-signals/build/src/main.js +0 -71
- package/.output/server/node_modules/human-signals/build/src/realtime.js +0 -19
- package/.output/server/node_modules/human-signals/build/src/signals.js +0 -35
- package/.output/server/node_modules/human-signals/package.json +0 -64
- package/.output/server/node_modules/is-stream/index.js +0 -28
- package/.output/server/node_modules/is-stream/package.json +0 -42
- package/.output/server/node_modules/isexe/index.js +0 -57
- package/.output/server/node_modules/isexe/mode.js +0 -41
- package/.output/server/node_modules/isexe/package.json +0 -31
- package/.output/server/node_modules/isexe/windows.js +0 -42
- package/.output/server/node_modules/merge-stream/index.js +0 -41
- package/.output/server/node_modules/merge-stream/package.json +0 -19
- package/.output/server/node_modules/mimic-fn/index.js +0 -13
- package/.output/server/node_modules/mimic-fn/package.json +0 -42
- package/.output/server/node_modules/npm-run-path/index.js +0 -47
- package/.output/server/node_modules/npm-run-path/package.json +0 -44
- package/.output/server/node_modules/onetime/index.js +0 -44
- package/.output/server/node_modules/onetime/package.json +0 -43
- package/.output/server/node_modules/path-key/index.js +0 -16
- package/.output/server/node_modules/path-key/package.json +0 -39
- package/.output/server/node_modules/pg-dump-restore/lib/common.js +0 -33
- package/.output/server/node_modules/pg-dump-restore/lib/index.js +0 -9
- package/.output/server/node_modules/pg-dump-restore/lib/pg-dump.js +0 -95
- package/.output/server/node_modules/pg-dump-restore/lib/pg-restore.js +0 -87
- package/.output/server/node_modules/pg-dump-restore/package.json +0 -66
- package/.output/server/node_modules/shebang-command/index.js +0 -19
- package/.output/server/node_modules/shebang-command/package.json +0 -34
- package/.output/server/node_modules/shebang-regex/index.js +0 -2
- package/.output/server/node_modules/shebang-regex/package.json +0 -35
- package/.output/server/node_modules/signal-exit/index.js +0 -202
- package/.output/server/node_modules/signal-exit/package.json +0 -38
- package/.output/server/node_modules/signal-exit/signals.js +0 -53
- package/.output/server/node_modules/strip-final-newline/index.js +0 -16
- package/.output/server/node_modules/strip-final-newline/package.json +0 -40
- package/.output/server/node_modules/which/package.json +0 -43
- package/.output/server/node_modules/which/which.js +0 -125
|
@@ -0,0 +1,1139 @@
|
|
|
1
|
+
// This file was modified by Oracle on June 1, 2021.
|
|
2
|
+
// The changes involve new logic to handle an additional ERR Packet sent by
|
|
3
|
+
// the MySQL server when the connection is closed unexpectedly.
|
|
4
|
+
// Modifications copyright (c) 2021, Oracle and/or its affiliates.
|
|
5
|
+
|
|
6
|
+
// This file was modified by Oracle on June 17, 2021.
|
|
7
|
+
// The changes involve logic to ensure the socket connection is closed when
|
|
8
|
+
// there is a fatal error.
|
|
9
|
+
// Modifications copyright (c) 2021, Oracle and/or its affiliates.
|
|
10
|
+
|
|
11
|
+
// This file was modified by Oracle on September 21, 2021.
|
|
12
|
+
// The changes involve passing additional authentication factor passwords
|
|
13
|
+
// to the ChangeUser Command instance.
|
|
14
|
+
// Modifications copyright (c) 2021, Oracle and/or its affiliates.
|
|
15
|
+
|
|
16
|
+
'use strict';
|
|
17
|
+
|
|
18
|
+
const Net = require('net');
|
|
19
|
+
const Tls = require('tls');
|
|
20
|
+
const Timers = require('timers');
|
|
21
|
+
const EventEmitter = require('events').EventEmitter;
|
|
22
|
+
const Readable = require('stream').Readable;
|
|
23
|
+
const Queue = require('denque');
|
|
24
|
+
const SqlString = require('sql-escaper');
|
|
25
|
+
const { createLRU } = require('lru.min');
|
|
26
|
+
const PacketParser = require('../packet_parser.js');
|
|
27
|
+
const Packets = require('../packets/index.js');
|
|
28
|
+
const Commands = require('../commands/index.js');
|
|
29
|
+
const ConnectionConfig = require('../connection_config.js');
|
|
30
|
+
const CharsetToEncoding = require('../constants/charset_encodings.js');
|
|
31
|
+
const {
|
|
32
|
+
traceCallback,
|
|
33
|
+
tracePromise,
|
|
34
|
+
getServerContext,
|
|
35
|
+
shouldTrace,
|
|
36
|
+
queryChannel,
|
|
37
|
+
executeChannel,
|
|
38
|
+
connectChannel,
|
|
39
|
+
} = require('../tracing.js');
|
|
40
|
+
|
|
41
|
+
let _connectionId = 0;
|
|
42
|
+
|
|
43
|
+
let convertNamedPlaceholders = null;
|
|
44
|
+
|
|
45
|
+
class BaseConnection extends EventEmitter {
|
|
46
|
+
constructor(opts) {
|
|
47
|
+
super();
|
|
48
|
+
this.config = opts.config;
|
|
49
|
+
// TODO: fill defaults
|
|
50
|
+
// if no params, connect to /var/lib/mysql/mysql.sock ( /tmp/mysql.sock on OSX )
|
|
51
|
+
// if host is given, connect to host:3306
|
|
52
|
+
// TODO: use `/usr/local/mysql/bin/mysql_config --socket` output? as default socketPath
|
|
53
|
+
// if there is no host/port and no socketPath parameters?
|
|
54
|
+
if (!opts.config.stream) {
|
|
55
|
+
if (opts.config.socketPath) {
|
|
56
|
+
this.stream = Net.connect(opts.config.socketPath);
|
|
57
|
+
} else {
|
|
58
|
+
this.stream = Net.connect(opts.config.port, opts.config.host);
|
|
59
|
+
|
|
60
|
+
// Optionally enable keep-alive on the socket.
|
|
61
|
+
if (this.config.enableKeepAlive) {
|
|
62
|
+
this.stream.on('connect', () => {
|
|
63
|
+
this.stream.setKeepAlive(true, this.config.keepAliveInitialDelay);
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// Enable TCP_NODELAY flag. This is needed so that the network packets
|
|
68
|
+
// are sent immediately to the server
|
|
69
|
+
this.stream.setNoDelay(true);
|
|
70
|
+
}
|
|
71
|
+
// if stream is a function, treat it as "stream agent / factory"
|
|
72
|
+
} else if (typeof opts.config.stream === 'function') {
|
|
73
|
+
this.stream = opts.config.stream(opts);
|
|
74
|
+
} else {
|
|
75
|
+
this.stream = opts.config.stream;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
this._internalId = _connectionId++;
|
|
79
|
+
this._commands = new Queue();
|
|
80
|
+
this._command = null;
|
|
81
|
+
this._paused = false;
|
|
82
|
+
this._paused_packets = new Queue();
|
|
83
|
+
this._statements = createLRU({
|
|
84
|
+
max: this.config.maxPreparedStatements,
|
|
85
|
+
onEviction: function (_, statement) {
|
|
86
|
+
statement.close();
|
|
87
|
+
},
|
|
88
|
+
});
|
|
89
|
+
this.serverCapabilityFlags = 0;
|
|
90
|
+
this.authorized = false;
|
|
91
|
+
this.sequenceId = 0;
|
|
92
|
+
this.compressedSequenceId = 0;
|
|
93
|
+
this.threadId = null;
|
|
94
|
+
this._handshakePacket = null;
|
|
95
|
+
this._fatalError = null;
|
|
96
|
+
this._protocolError = null;
|
|
97
|
+
this._outOfOrderPackets = [];
|
|
98
|
+
this.clientEncoding = CharsetToEncoding[this.config.charsetNumber];
|
|
99
|
+
this.stream.on('error', this._handleNetworkError.bind(this));
|
|
100
|
+
// see https://gist.github.com/khoomeister/4985691#use-that-instead-of-bind
|
|
101
|
+
this.packetParser = new PacketParser((p) => {
|
|
102
|
+
this.handlePacket(p);
|
|
103
|
+
});
|
|
104
|
+
this.stream.on('data', (data) => {
|
|
105
|
+
if (this.connectTimeout) {
|
|
106
|
+
Timers.clearTimeout(this.connectTimeout);
|
|
107
|
+
this.connectTimeout = null;
|
|
108
|
+
}
|
|
109
|
+
this.packetParser.execute(data);
|
|
110
|
+
});
|
|
111
|
+
this.stream.on('end', () => {
|
|
112
|
+
// emit the end event so that the pooled connection can close the connection
|
|
113
|
+
this.emit('end');
|
|
114
|
+
});
|
|
115
|
+
this.stream.on('close', () => {
|
|
116
|
+
// we need to set this flag everywhere where we want connection to close
|
|
117
|
+
if (this._closing) {
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
if (!this._protocolError) {
|
|
121
|
+
// no particular error message before disconnect
|
|
122
|
+
this._protocolError = new Error(
|
|
123
|
+
'Connection lost: The server closed the connection.'
|
|
124
|
+
);
|
|
125
|
+
this._protocolError.fatal = true;
|
|
126
|
+
this._protocolError.code = 'PROTOCOL_CONNECTION_LOST';
|
|
127
|
+
}
|
|
128
|
+
this._notifyError(this._protocolError);
|
|
129
|
+
});
|
|
130
|
+
let handshakeCommand;
|
|
131
|
+
if (!this.config.isServer) {
|
|
132
|
+
handshakeCommand = new Commands.ClientHandshake(this.config.clientFlags);
|
|
133
|
+
handshakeCommand.on('end', () => {
|
|
134
|
+
// this happens when handshake finishes early either because there was
|
|
135
|
+
// some fatal error or the server sent an error packet instead of
|
|
136
|
+
// an hello packet (for example, 'Too many connections' error)
|
|
137
|
+
if (
|
|
138
|
+
!handshakeCommand.handshake ||
|
|
139
|
+
this._fatalError ||
|
|
140
|
+
this._protocolError
|
|
141
|
+
) {
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
this._handshakePacket = handshakeCommand.handshake;
|
|
145
|
+
this.threadId = handshakeCommand.handshake.connectionId;
|
|
146
|
+
this.emit('connect', handshakeCommand.handshake);
|
|
147
|
+
});
|
|
148
|
+
handshakeCommand.on('error', (err) => {
|
|
149
|
+
this._closing = true;
|
|
150
|
+
this._notifyError(err);
|
|
151
|
+
});
|
|
152
|
+
this.addCommand(handshakeCommand);
|
|
153
|
+
|
|
154
|
+
// Trace the connection handshake
|
|
155
|
+
if (shouldTrace(connectChannel)) {
|
|
156
|
+
const config = this.config;
|
|
157
|
+
tracePromise(
|
|
158
|
+
connectChannel,
|
|
159
|
+
() =>
|
|
160
|
+
new Promise((resolve, reject) => {
|
|
161
|
+
/* eslint-disable prefer-const */
|
|
162
|
+
let onConnect, onError;
|
|
163
|
+
onConnect = (param) => {
|
|
164
|
+
this.removeListener('error', onError);
|
|
165
|
+
resolve(param);
|
|
166
|
+
};
|
|
167
|
+
onError = (err) => {
|
|
168
|
+
this.removeListener('connect', onConnect);
|
|
169
|
+
reject(err);
|
|
170
|
+
};
|
|
171
|
+
/* eslint-enable prefer-const */
|
|
172
|
+
this.once('connect', onConnect);
|
|
173
|
+
this.once('error', onError);
|
|
174
|
+
}),
|
|
175
|
+
() => {
|
|
176
|
+
const server = getServerContext(config);
|
|
177
|
+
return {
|
|
178
|
+
database: config.database || '',
|
|
179
|
+
serverAddress: server.serverAddress,
|
|
180
|
+
serverPort: server.serverPort,
|
|
181
|
+
user: config.user || '',
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
).catch(() => {
|
|
185
|
+
// errors are already handled by the handshake error listener
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
// in case there was no initial handshake but we need to read sting, assume it utf-8
|
|
190
|
+
// most common example: "Too many connections" error ( packet is sent immediately on connection attempt, we don't know server encoding yet)
|
|
191
|
+
// will be overwritten with actual encoding value as soon as server handshake packet is received
|
|
192
|
+
this.serverEncoding = 'utf8';
|
|
193
|
+
if (this.config.connectTimeout) {
|
|
194
|
+
const timeoutHandler = this._handleTimeoutError.bind(this);
|
|
195
|
+
this.connectTimeout = Timers.setTimeout(
|
|
196
|
+
timeoutHandler,
|
|
197
|
+
this.config.connectTimeout
|
|
198
|
+
);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
_addCommandClosedState(cmd) {
|
|
203
|
+
const err = new Error(
|
|
204
|
+
"Can't add new command when connection is in closed state"
|
|
205
|
+
);
|
|
206
|
+
err.fatal = true;
|
|
207
|
+
if (cmd.onResult) {
|
|
208
|
+
cmd.onResult(err);
|
|
209
|
+
} else {
|
|
210
|
+
this.emit('error', err);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
_handleFatalError(err) {
|
|
215
|
+
err.fatal = true;
|
|
216
|
+
// stop receiving packets
|
|
217
|
+
this.stream.removeAllListeners('data');
|
|
218
|
+
this.addCommand = this._addCommandClosedState;
|
|
219
|
+
this.write = () => {
|
|
220
|
+
this.emit('error', new Error("Can't write in closed state"));
|
|
221
|
+
};
|
|
222
|
+
this._notifyError(err);
|
|
223
|
+
this._fatalError = err;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
_handleNetworkError(err) {
|
|
227
|
+
if (this.connectTimeout) {
|
|
228
|
+
Timers.clearTimeout(this.connectTimeout);
|
|
229
|
+
this.connectTimeout = null;
|
|
230
|
+
}
|
|
231
|
+
// Do not throw an error when a connection ends with a RST,ACK packet
|
|
232
|
+
if (err.code === 'ECONNRESET' && this._closing) {
|
|
233
|
+
return;
|
|
234
|
+
}
|
|
235
|
+
this._handleFatalError(err);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
_handleTimeoutError() {
|
|
239
|
+
if (this.connectTimeout) {
|
|
240
|
+
Timers.clearTimeout(this.connectTimeout);
|
|
241
|
+
this.connectTimeout = null;
|
|
242
|
+
}
|
|
243
|
+
this.stream.destroy && this.stream.destroy();
|
|
244
|
+
const err = new Error('connect ETIMEDOUT');
|
|
245
|
+
err.errorno = 'ETIMEDOUT';
|
|
246
|
+
err.code = 'ETIMEDOUT';
|
|
247
|
+
err.syscall = 'connect';
|
|
248
|
+
this._handleNetworkError(err);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
// notify all commands in the queue and bubble error as connection "error"
|
|
252
|
+
// called on stream error or unexpected termination
|
|
253
|
+
_notifyError(err) {
|
|
254
|
+
if (this.connectTimeout) {
|
|
255
|
+
Timers.clearTimeout(this.connectTimeout);
|
|
256
|
+
this.connectTimeout = null;
|
|
257
|
+
}
|
|
258
|
+
// prevent from emitting 'PROTOCOL_CONNECTION_LOST' after EPIPE or ECONNRESET
|
|
259
|
+
if (this._fatalError) {
|
|
260
|
+
return;
|
|
261
|
+
}
|
|
262
|
+
let command;
|
|
263
|
+
// if there is no active command, notify connection
|
|
264
|
+
// if there are commands and all of them have callbacks, pass error via callback
|
|
265
|
+
let bubbleErrorToConnection = !this._command;
|
|
266
|
+
if (this._command && this._command.onResult) {
|
|
267
|
+
this._command.onResult(err);
|
|
268
|
+
this._command = null;
|
|
269
|
+
// connection handshake is special because we allow it to be implicit
|
|
270
|
+
// if error happened during handshake, but there are others commands in queue
|
|
271
|
+
// then bubble error to other commands and not to connection
|
|
272
|
+
} else if (
|
|
273
|
+
!(
|
|
274
|
+
this._command &&
|
|
275
|
+
this._command.constructor === Commands.ClientHandshake &&
|
|
276
|
+
this._commands.length > 0
|
|
277
|
+
)
|
|
278
|
+
) {
|
|
279
|
+
bubbleErrorToConnection = true;
|
|
280
|
+
}
|
|
281
|
+
while ((command = this._commands.shift())) {
|
|
282
|
+
if (command.onResult) {
|
|
283
|
+
command.onResult(err);
|
|
284
|
+
} else {
|
|
285
|
+
bubbleErrorToConnection = true;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
// notify connection if some comands in the queue did not have callbacks
|
|
289
|
+
// or if this is pool connection ( so it can be removed from pool )
|
|
290
|
+
if (bubbleErrorToConnection || this._pool) {
|
|
291
|
+
this.emit('error', err);
|
|
292
|
+
}
|
|
293
|
+
// close connection after emitting the event in case of a fatal error
|
|
294
|
+
if (err.fatal) {
|
|
295
|
+
this.close();
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
write(buffer) {
|
|
300
|
+
const result = this.stream.write(buffer, (err) => {
|
|
301
|
+
if (err) {
|
|
302
|
+
this._handleNetworkError(err);
|
|
303
|
+
}
|
|
304
|
+
});
|
|
305
|
+
|
|
306
|
+
if (!result) {
|
|
307
|
+
this.stream.emit('pause');
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
// http://dev.mysql.com/doc/internals/en/sequence-id.html
|
|
312
|
+
//
|
|
313
|
+
// The sequence-id is incremented with each packet and may wrap around.
|
|
314
|
+
// It starts at 0 and is reset to 0 when a new command
|
|
315
|
+
// begins in the Command Phase.
|
|
316
|
+
// http://dev.mysql.com/doc/internals/en/example-several-mysql-packets.html
|
|
317
|
+
_resetSequenceId() {
|
|
318
|
+
this.sequenceId = 0;
|
|
319
|
+
this.compressedSequenceId = 0;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
_bumpCompressedSequenceId(numPackets) {
|
|
323
|
+
this.compressedSequenceId += numPackets;
|
|
324
|
+
this.compressedSequenceId %= 256;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
_bumpSequenceId(numPackets) {
|
|
328
|
+
this.sequenceId += numPackets;
|
|
329
|
+
this.sequenceId %= 256;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
writePacket(packet) {
|
|
333
|
+
const MAX_PACKET_LENGTH = 16777215;
|
|
334
|
+
const length = packet.length();
|
|
335
|
+
let chunk, offset, header;
|
|
336
|
+
if (length < MAX_PACKET_LENGTH) {
|
|
337
|
+
packet.writeHeader(this.sequenceId);
|
|
338
|
+
if (this.config.debug) {
|
|
339
|
+
console.log(
|
|
340
|
+
`${this._internalId} ${this.connectionId} <== ${this._command._commandName}#${this._command.stateName()}(${[this.sequenceId, packet._name, packet.length()].join(',')})`
|
|
341
|
+
);
|
|
342
|
+
console.log(
|
|
343
|
+
`${this._internalId} ${this.connectionId} <== ${packet.buffer.toString('hex')}`
|
|
344
|
+
);
|
|
345
|
+
}
|
|
346
|
+
this._bumpSequenceId(1);
|
|
347
|
+
this.write(packet.buffer);
|
|
348
|
+
} else {
|
|
349
|
+
if (this.config.debug) {
|
|
350
|
+
console.log(
|
|
351
|
+
`${this._internalId} ${this.connectionId} <== Writing large packet, raw content not written:`
|
|
352
|
+
);
|
|
353
|
+
console.log(
|
|
354
|
+
`${this._internalId} ${this.connectionId} <== ${this._command._commandName}#${this._command.stateName()}(${[this.sequenceId, packet._name, packet.length()].join(',')})`
|
|
355
|
+
);
|
|
356
|
+
}
|
|
357
|
+
for (offset = 4; offset < 4 + length; offset += MAX_PACKET_LENGTH) {
|
|
358
|
+
chunk = packet.buffer.slice(offset, offset + MAX_PACKET_LENGTH);
|
|
359
|
+
if (chunk.length === MAX_PACKET_LENGTH) {
|
|
360
|
+
header = Buffer.from([0xff, 0xff, 0xff, this.sequenceId]);
|
|
361
|
+
} else {
|
|
362
|
+
header = Buffer.from([
|
|
363
|
+
chunk.length & 0xff,
|
|
364
|
+
(chunk.length >> 8) & 0xff,
|
|
365
|
+
(chunk.length >> 16) & 0xff,
|
|
366
|
+
this.sequenceId,
|
|
367
|
+
]);
|
|
368
|
+
}
|
|
369
|
+
this._bumpSequenceId(1);
|
|
370
|
+
this.write(header);
|
|
371
|
+
this.write(chunk);
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
// 0.11+ environment
|
|
377
|
+
startTLS(onSecure) {
|
|
378
|
+
if (this.config.debug) {
|
|
379
|
+
console.log('Upgrading connection to TLS');
|
|
380
|
+
}
|
|
381
|
+
const secureContext = Tls.createSecureContext({
|
|
382
|
+
ca: this.config.ssl.ca,
|
|
383
|
+
cert: this.config.ssl.cert,
|
|
384
|
+
ciphers: this.config.ssl.ciphers,
|
|
385
|
+
key: this.config.ssl.key,
|
|
386
|
+
passphrase: this.config.ssl.passphrase,
|
|
387
|
+
minVersion: this.config.ssl.minVersion,
|
|
388
|
+
maxVersion: this.config.ssl.maxVersion,
|
|
389
|
+
});
|
|
390
|
+
const rejectUnauthorized = this.config.ssl.rejectUnauthorized;
|
|
391
|
+
const verifyIdentity = this.config.ssl.verifyIdentity;
|
|
392
|
+
const servername = Net.isIP(this.config.host)
|
|
393
|
+
? undefined
|
|
394
|
+
: this.config.host;
|
|
395
|
+
|
|
396
|
+
let secureEstablished = false;
|
|
397
|
+
this.stream.removeAllListeners('data');
|
|
398
|
+
const secureSocket = Tls.connect(
|
|
399
|
+
{
|
|
400
|
+
rejectUnauthorized,
|
|
401
|
+
requestCert: rejectUnauthorized,
|
|
402
|
+
checkServerIdentity: verifyIdentity
|
|
403
|
+
? Tls.checkServerIdentity
|
|
404
|
+
: function () {
|
|
405
|
+
return undefined;
|
|
406
|
+
},
|
|
407
|
+
secureContext,
|
|
408
|
+
isServer: false,
|
|
409
|
+
socket: this.stream,
|
|
410
|
+
servername,
|
|
411
|
+
},
|
|
412
|
+
() => {
|
|
413
|
+
secureEstablished = true;
|
|
414
|
+
if (rejectUnauthorized) {
|
|
415
|
+
if (typeof servername === 'string' && verifyIdentity) {
|
|
416
|
+
const cert = secureSocket.getPeerCertificate(true);
|
|
417
|
+
const serverIdentityCheckError = Tls.checkServerIdentity(
|
|
418
|
+
servername,
|
|
419
|
+
cert
|
|
420
|
+
);
|
|
421
|
+
if (serverIdentityCheckError) {
|
|
422
|
+
onSecure(serverIdentityCheckError);
|
|
423
|
+
return;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
onSecure();
|
|
428
|
+
}
|
|
429
|
+
);
|
|
430
|
+
// error handler for secure socket
|
|
431
|
+
secureSocket.on('error', (err) => {
|
|
432
|
+
if (secureEstablished) {
|
|
433
|
+
this._handleNetworkError(err);
|
|
434
|
+
} else {
|
|
435
|
+
onSecure(err);
|
|
436
|
+
}
|
|
437
|
+
});
|
|
438
|
+
secureSocket.on('data', (data) => {
|
|
439
|
+
this.packetParser.execute(data);
|
|
440
|
+
});
|
|
441
|
+
this.stream = secureSocket;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
protocolError(message, code) {
|
|
445
|
+
// Starting with MySQL 8.0.24, if the client closes the connection
|
|
446
|
+
// unexpectedly, the server will send a last ERR Packet, which we can
|
|
447
|
+
// safely ignore.
|
|
448
|
+
// https://dev.mysql.com/worklog/task/?id=12999
|
|
449
|
+
if (this._closing) {
|
|
450
|
+
return;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
const err = new Error(message);
|
|
454
|
+
err.fatal = true;
|
|
455
|
+
err.code = code || 'PROTOCOL_ERROR';
|
|
456
|
+
this.emit('error', err);
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
get state() {
|
|
460
|
+
// Error state has highest priority
|
|
461
|
+
if (this._fatalError || this._protocolError) {
|
|
462
|
+
return 'error';
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
// Closing state has second priority
|
|
466
|
+
if (this._closing || (this.stream && this.stream.destroyed)) {
|
|
467
|
+
return 'disconnected';
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
// Authenticated state has third priority
|
|
471
|
+
if (this.authorized) {
|
|
472
|
+
return 'authenticated';
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
// Connected state: handshake completed but not yet authorized
|
|
476
|
+
// This matches the original mysql driver's 'connected' state
|
|
477
|
+
if (this._handshakePacket) {
|
|
478
|
+
return 'connected';
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
// Protocol handshake state: connection established, handshake in progress
|
|
482
|
+
if (this.stream && !this.stream.destroyed) {
|
|
483
|
+
return 'protocol_handshake';
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
// Default: not connected
|
|
487
|
+
return 'disconnected';
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
get fatalError() {
|
|
491
|
+
return this._fatalError;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
handlePacket(packet) {
|
|
495
|
+
if (this._paused) {
|
|
496
|
+
this._paused_packets.push(packet);
|
|
497
|
+
return;
|
|
498
|
+
}
|
|
499
|
+
if (this.config.debug) {
|
|
500
|
+
if (packet) {
|
|
501
|
+
console.log(
|
|
502
|
+
` raw: ${packet.buffer
|
|
503
|
+
.slice(packet.offset, packet.offset + packet.length())
|
|
504
|
+
.toString('hex')}`
|
|
505
|
+
);
|
|
506
|
+
console.trace();
|
|
507
|
+
const commandName = this._command
|
|
508
|
+
? this._command._commandName
|
|
509
|
+
: '(no command)';
|
|
510
|
+
const stateName = this._command
|
|
511
|
+
? this._command.stateName()
|
|
512
|
+
: '(no command)';
|
|
513
|
+
console.log(
|
|
514
|
+
`${this._internalId} ${this.connectionId} ==> ${commandName}#${stateName}(${[packet.sequenceId, packet.type(), packet.length()].join(',')})`
|
|
515
|
+
);
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
if (!this._command) {
|
|
519
|
+
const marker = packet.peekByte();
|
|
520
|
+
// If it's an Err Packet, we should use it.
|
|
521
|
+
if (marker === 0xff) {
|
|
522
|
+
const error = Packets.Error.fromPacket(packet);
|
|
523
|
+
this.protocolError(error.message, error.code);
|
|
524
|
+
} else {
|
|
525
|
+
// Otherwise, it means it's some other unexpected packet.
|
|
526
|
+
this.protocolError(
|
|
527
|
+
'Unexpected packet while no commands in the queue',
|
|
528
|
+
'PROTOCOL_UNEXPECTED_PACKET'
|
|
529
|
+
);
|
|
530
|
+
}
|
|
531
|
+
this.close();
|
|
532
|
+
return;
|
|
533
|
+
}
|
|
534
|
+
if (packet) {
|
|
535
|
+
// Note: when server closes connection due to inactivity, Err packet ER_CLIENT_INTERACTION_TIMEOUT from MySQL 8.0.24, sequenceId will be 0
|
|
536
|
+
if (this.sequenceId !== packet.sequenceId) {
|
|
537
|
+
const err = new Error(
|
|
538
|
+
`Warning: got packets out of order. Expected ${this.sequenceId} but received ${packet.sequenceId}`
|
|
539
|
+
);
|
|
540
|
+
err.expected = this.sequenceId;
|
|
541
|
+
err.received = packet.sequenceId;
|
|
542
|
+
this.emit('warn', err); // REVIEW
|
|
543
|
+
console.error(err.message);
|
|
544
|
+
}
|
|
545
|
+
this._bumpSequenceId(packet.numPackets);
|
|
546
|
+
}
|
|
547
|
+
try {
|
|
548
|
+
if (this._fatalError) {
|
|
549
|
+
// skip remaining packets after client is in the error state
|
|
550
|
+
return;
|
|
551
|
+
}
|
|
552
|
+
const done = this._command.execute(packet, this);
|
|
553
|
+
if (done) {
|
|
554
|
+
this._command = this._commands.shift();
|
|
555
|
+
if (this._command) {
|
|
556
|
+
this.sequenceId = 0;
|
|
557
|
+
this.compressedSequenceId = 0;
|
|
558
|
+
this.handlePacket();
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
} catch (err) {
|
|
562
|
+
this._handleFatalError(err);
|
|
563
|
+
this.stream.destroy();
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
addCommand(cmd) {
|
|
568
|
+
// this.compressedSequenceId = 0;
|
|
569
|
+
// this.sequenceId = 0;
|
|
570
|
+
if (this.config.debug) {
|
|
571
|
+
const commandName = cmd.constructor.name;
|
|
572
|
+
console.log(`Add command: ${commandName}`);
|
|
573
|
+
cmd._commandName = commandName;
|
|
574
|
+
}
|
|
575
|
+
if (!this._command) {
|
|
576
|
+
this._command = cmd;
|
|
577
|
+
this.handlePacket();
|
|
578
|
+
} else {
|
|
579
|
+
this._commands.push(cmd);
|
|
580
|
+
}
|
|
581
|
+
return cmd;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
format(sql, values) {
|
|
585
|
+
if (typeof this.config.queryFormat === 'function') {
|
|
586
|
+
return this.config.queryFormat.call(
|
|
587
|
+
this,
|
|
588
|
+
sql,
|
|
589
|
+
values,
|
|
590
|
+
this.config.timezone
|
|
591
|
+
);
|
|
592
|
+
}
|
|
593
|
+
const opts = {
|
|
594
|
+
sql: sql,
|
|
595
|
+
values: values,
|
|
596
|
+
};
|
|
597
|
+
this._resolveNamedPlaceholders(opts);
|
|
598
|
+
return SqlString.format(
|
|
599
|
+
opts.sql,
|
|
600
|
+
opts.values,
|
|
601
|
+
this.config.stringifyObjects,
|
|
602
|
+
this.config.timezone
|
|
603
|
+
);
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
escape(value) {
|
|
607
|
+
return SqlString.escape(value, false, this.config.timezone);
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
escapeId(value) {
|
|
611
|
+
return SqlString.escapeId(value, false);
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
raw(sql) {
|
|
615
|
+
return SqlString.raw(sql);
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
_resolveNamedPlaceholders(options) {
|
|
619
|
+
let unnamed;
|
|
620
|
+
if (this.config.namedPlaceholders || options.namedPlaceholders) {
|
|
621
|
+
if (Array.isArray(options.values)) {
|
|
622
|
+
// if an array is provided as the values, assume the conversion is not necessary.
|
|
623
|
+
// this allows the usage of unnamed placeholders even if the namedPlaceholders flag is enabled.
|
|
624
|
+
return;
|
|
625
|
+
}
|
|
626
|
+
if (convertNamedPlaceholders === null) {
|
|
627
|
+
convertNamedPlaceholders = require('named-placeholders')();
|
|
628
|
+
}
|
|
629
|
+
unnamed = convertNamedPlaceholders(options.sql, options.values);
|
|
630
|
+
options.sql = unnamed[0];
|
|
631
|
+
options.values = unnamed[1];
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
query(sql, values, cb) {
|
|
636
|
+
let cmdQuery;
|
|
637
|
+
if (sql.constructor === Commands.Query) {
|
|
638
|
+
cmdQuery = sql;
|
|
639
|
+
} else {
|
|
640
|
+
cmdQuery = BaseConnection.createQuery(sql, values, cb, this.config);
|
|
641
|
+
}
|
|
642
|
+
this._resolveNamedPlaceholders(cmdQuery);
|
|
643
|
+
const rawSql = this.format(
|
|
644
|
+
cmdQuery.sql,
|
|
645
|
+
cmdQuery.values !== undefined ? cmdQuery.values : []
|
|
646
|
+
);
|
|
647
|
+
cmdQuery.sql = rawSql;
|
|
648
|
+
|
|
649
|
+
if (cmdQuery.onResult) {
|
|
650
|
+
// Callback mode: traceCallback wraps the callback with tracing lifecycle, or calls through directly when no subscribers are registered
|
|
651
|
+
traceCallback(
|
|
652
|
+
queryChannel,
|
|
653
|
+
(wrappedCb) => {
|
|
654
|
+
cmdQuery.onResult = wrappedCb;
|
|
655
|
+
this.addCommand(cmdQuery);
|
|
656
|
+
},
|
|
657
|
+
0,
|
|
658
|
+
() => {
|
|
659
|
+
const server = getServerContext(this.config);
|
|
660
|
+
return {
|
|
661
|
+
query: cmdQuery.sql,
|
|
662
|
+
values: cmdQuery.values,
|
|
663
|
+
database: this.config.database || '',
|
|
664
|
+
serverAddress: server.serverAddress,
|
|
665
|
+
serverPort: server.serverPort,
|
|
666
|
+
};
|
|
667
|
+
},
|
|
668
|
+
null,
|
|
669
|
+
cmdQuery.onResult
|
|
670
|
+
);
|
|
671
|
+
} else if (shouldTrace(queryChannel)) {
|
|
672
|
+
// Event-emitter mode: tracePromise wraps the async lifecycle
|
|
673
|
+
tracePromise(
|
|
674
|
+
queryChannel,
|
|
675
|
+
() =>
|
|
676
|
+
new Promise((resolve, reject) => {
|
|
677
|
+
cmdQuery.once('error', reject);
|
|
678
|
+
cmdQuery.once('end', () => resolve());
|
|
679
|
+
this.addCommand(cmdQuery);
|
|
680
|
+
}),
|
|
681
|
+
() => {
|
|
682
|
+
const server = getServerContext(this.config);
|
|
683
|
+
return {
|
|
684
|
+
query: cmdQuery.sql,
|
|
685
|
+
values: cmdQuery.values,
|
|
686
|
+
database: this.config.database || '',
|
|
687
|
+
serverAddress: server.serverAddress,
|
|
688
|
+
serverPort: server.serverPort,
|
|
689
|
+
};
|
|
690
|
+
}
|
|
691
|
+
).catch(() => {
|
|
692
|
+
// errors are already emitted on the command
|
|
693
|
+
});
|
|
694
|
+
} else {
|
|
695
|
+
this.addCommand(cmdQuery);
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
return cmdQuery;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
pause() {
|
|
702
|
+
this._paused = true;
|
|
703
|
+
this.stream.pause();
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
resume() {
|
|
707
|
+
let packet;
|
|
708
|
+
this._paused = false;
|
|
709
|
+
while ((packet = this._paused_packets.shift())) {
|
|
710
|
+
this.handlePacket(packet);
|
|
711
|
+
// don't resume if packet handler paused connection
|
|
712
|
+
if (this._paused) {
|
|
713
|
+
return;
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
this.stream.resume();
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
// TODO: named placeholders support
|
|
720
|
+
prepare(options, cb) {
|
|
721
|
+
if (typeof options === 'string') {
|
|
722
|
+
options = { sql: options };
|
|
723
|
+
}
|
|
724
|
+
return this.addCommand(new Commands.Prepare(options, cb));
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
unprepare(sql) {
|
|
728
|
+
let options = {};
|
|
729
|
+
if (typeof sql === 'object') {
|
|
730
|
+
options = sql;
|
|
731
|
+
} else {
|
|
732
|
+
options.sql = sql;
|
|
733
|
+
}
|
|
734
|
+
const key = BaseConnection.statementKey(options);
|
|
735
|
+
const stmt = this._statements.get(key);
|
|
736
|
+
if (stmt) {
|
|
737
|
+
this._statements.delete(key);
|
|
738
|
+
stmt.close();
|
|
739
|
+
}
|
|
740
|
+
return stmt;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
execute(sql, values, cb) {
|
|
744
|
+
let options = {
|
|
745
|
+
infileStreamFactory: this.config.infileStreamFactory,
|
|
746
|
+
};
|
|
747
|
+
if (typeof sql === 'object') {
|
|
748
|
+
// execute(options, cb)
|
|
749
|
+
options = {
|
|
750
|
+
...options,
|
|
751
|
+
...sql,
|
|
752
|
+
sql: sql.sql,
|
|
753
|
+
values: sql.values,
|
|
754
|
+
};
|
|
755
|
+
if (typeof values === 'function') {
|
|
756
|
+
cb = values;
|
|
757
|
+
} else {
|
|
758
|
+
options.values = options.values || values;
|
|
759
|
+
}
|
|
760
|
+
} else if (typeof values === 'function') {
|
|
761
|
+
// execute(sql, cb)
|
|
762
|
+
cb = values;
|
|
763
|
+
options.sql = sql;
|
|
764
|
+
options.values = undefined;
|
|
765
|
+
} else {
|
|
766
|
+
// execute(sql, values, cb)
|
|
767
|
+
options.sql = sql;
|
|
768
|
+
options.values = values;
|
|
769
|
+
}
|
|
770
|
+
this._resolveNamedPlaceholders(options);
|
|
771
|
+
// check for values containing undefined
|
|
772
|
+
if (options.values) {
|
|
773
|
+
//If namedPlaceholder is not enabled and object is passed as bind parameters
|
|
774
|
+
if (!Array.isArray(options.values)) {
|
|
775
|
+
throw new TypeError(
|
|
776
|
+
'Bind parameters must be array if namedPlaceholders parameter is not enabled'
|
|
777
|
+
);
|
|
778
|
+
}
|
|
779
|
+
options.values.forEach((val) => {
|
|
780
|
+
//If namedPlaceholder is not enabled and object is passed as bind parameters
|
|
781
|
+
if (!Array.isArray(options.values)) {
|
|
782
|
+
throw new TypeError(
|
|
783
|
+
'Bind parameters must be array if namedPlaceholders parameter is not enabled'
|
|
784
|
+
);
|
|
785
|
+
}
|
|
786
|
+
if (val === undefined) {
|
|
787
|
+
throw new TypeError(
|
|
788
|
+
'Bind parameters must not contain undefined. To pass SQL NULL specify JS null'
|
|
789
|
+
);
|
|
790
|
+
}
|
|
791
|
+
if (typeof val === 'function') {
|
|
792
|
+
throw new TypeError(
|
|
793
|
+
'Bind parameters must not contain function(s). To pass the body of a function as a string call .toString() first'
|
|
794
|
+
);
|
|
795
|
+
}
|
|
796
|
+
});
|
|
797
|
+
}
|
|
798
|
+
const executeCommand = new Commands.Execute(options, cb);
|
|
799
|
+
|
|
800
|
+
const prepareAndExecute = (errorCb) => {
|
|
801
|
+
const prepareCommand = new Commands.Prepare(options, (err, stmt) => {
|
|
802
|
+
if (err) {
|
|
803
|
+
// skip execute command if prepare failed
|
|
804
|
+
executeCommand.start = function () {
|
|
805
|
+
return null;
|
|
806
|
+
};
|
|
807
|
+
errorCb(err);
|
|
808
|
+
executeCommand.emit('end');
|
|
809
|
+
return;
|
|
810
|
+
}
|
|
811
|
+
executeCommand.statement = stmt;
|
|
812
|
+
});
|
|
813
|
+
this.addCommand(prepareCommand);
|
|
814
|
+
this.addCommand(executeCommand);
|
|
815
|
+
};
|
|
816
|
+
|
|
817
|
+
if (executeCommand.onResult) {
|
|
818
|
+
// Callback mode: traceCallback wraps the callback with tracing lifecycle, or calls through directly when no subscribers are registered
|
|
819
|
+
const origExecCb = executeCommand.onResult;
|
|
820
|
+
traceCallback(
|
|
821
|
+
executeChannel,
|
|
822
|
+
(wrappedCb) => {
|
|
823
|
+
executeCommand.onResult = wrappedCb;
|
|
824
|
+
prepareAndExecute(wrappedCb);
|
|
825
|
+
},
|
|
826
|
+
0,
|
|
827
|
+
() => {
|
|
828
|
+
const server = getServerContext(this.config);
|
|
829
|
+
return {
|
|
830
|
+
query: options.sql,
|
|
831
|
+
values: options.values,
|
|
832
|
+
database: this.config.database || '',
|
|
833
|
+
serverAddress: server.serverAddress,
|
|
834
|
+
serverPort: server.serverPort,
|
|
835
|
+
};
|
|
836
|
+
},
|
|
837
|
+
null,
|
|
838
|
+
origExecCb
|
|
839
|
+
);
|
|
840
|
+
} else if (shouldTrace(executeChannel)) {
|
|
841
|
+
// Event-emitter mode: tracePromise wraps the async lifecycle
|
|
842
|
+
tracePromise(
|
|
843
|
+
executeChannel,
|
|
844
|
+
() =>
|
|
845
|
+
new Promise((resolve, reject) => {
|
|
846
|
+
prepareAndExecute((err) => {
|
|
847
|
+
executeCommand.emit('error', err);
|
|
848
|
+
});
|
|
849
|
+
executeCommand.once('error', reject);
|
|
850
|
+
executeCommand.once('end', () => resolve());
|
|
851
|
+
}),
|
|
852
|
+
() => {
|
|
853
|
+
const server = getServerContext(this.config);
|
|
854
|
+
return {
|
|
855
|
+
query: options.sql,
|
|
856
|
+
values: options.values,
|
|
857
|
+
database: this.config.database || '',
|
|
858
|
+
serverAddress: server.serverAddress,
|
|
859
|
+
serverPort: server.serverPort,
|
|
860
|
+
};
|
|
861
|
+
}
|
|
862
|
+
).catch(() => {
|
|
863
|
+
// errors are already emitted on the command
|
|
864
|
+
});
|
|
865
|
+
} else {
|
|
866
|
+
prepareAndExecute((err) => {
|
|
867
|
+
executeCommand.emit('error', err);
|
|
868
|
+
});
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
return executeCommand;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
changeUser(options, callback) {
|
|
875
|
+
if (!callback && typeof options === 'function') {
|
|
876
|
+
callback = options;
|
|
877
|
+
options = {};
|
|
878
|
+
}
|
|
879
|
+
const charsetNumber = options.charset
|
|
880
|
+
? ConnectionConfig.getCharsetNumber(options.charset)
|
|
881
|
+
: this.config.charsetNumber;
|
|
882
|
+
return this.addCommand(
|
|
883
|
+
new Commands.ChangeUser(
|
|
884
|
+
{
|
|
885
|
+
user: options.user || this.config.user,
|
|
886
|
+
// for the purpose of multi-factor authentication, or not, the main
|
|
887
|
+
// password (used for the 1st authentication factor) can also be
|
|
888
|
+
// provided via the "password1" option
|
|
889
|
+
password:
|
|
890
|
+
options.password ||
|
|
891
|
+
options.password1 ||
|
|
892
|
+
this.config.password ||
|
|
893
|
+
this.config.password1,
|
|
894
|
+
password2: options.password2 || this.config.password2,
|
|
895
|
+
password3: options.password3 || this.config.password3,
|
|
896
|
+
passwordSha1: options.passwordSha1 || this.config.passwordSha1,
|
|
897
|
+
database: options.database || this.config.database,
|
|
898
|
+
timeout: options.timeout,
|
|
899
|
+
charsetNumber: charsetNumber,
|
|
900
|
+
currentConfig: this.config,
|
|
901
|
+
},
|
|
902
|
+
(err) => {
|
|
903
|
+
if (err) {
|
|
904
|
+
err.fatal = true;
|
|
905
|
+
}
|
|
906
|
+
if (callback) {
|
|
907
|
+
callback(err);
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
)
|
|
911
|
+
);
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
// transaction helpers
|
|
915
|
+
beginTransaction(cb) {
|
|
916
|
+
return this.query('START TRANSACTION', cb);
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
commit(cb) {
|
|
920
|
+
return this.query('COMMIT', cb);
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
rollback(cb) {
|
|
924
|
+
return this.query('ROLLBACK', cb);
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
ping(cb) {
|
|
928
|
+
return this.addCommand(new Commands.Ping(cb));
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
reset(cb) {
|
|
932
|
+
return this.addCommand(new Commands.ResetConnection(cb));
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
_registerSlave(opts, cb) {
|
|
936
|
+
return this.addCommand(new Commands.RegisterSlave(opts, cb));
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
_binlogDump(opts, cb) {
|
|
940
|
+
return this.addCommand(new Commands.BinlogDump(opts, cb));
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
// currently just alias to close
|
|
944
|
+
destroy() {
|
|
945
|
+
this.close();
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
close() {
|
|
949
|
+
if (this.connectTimeout) {
|
|
950
|
+
Timers.clearTimeout(this.connectTimeout);
|
|
951
|
+
this.connectTimeout = null;
|
|
952
|
+
}
|
|
953
|
+
this._closing = true;
|
|
954
|
+
this.stream.end();
|
|
955
|
+
this.addCommand = this._addCommandClosedState;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
createBinlogStream(opts) {
|
|
959
|
+
// TODO: create proper stream class
|
|
960
|
+
// TODO: use through2
|
|
961
|
+
let test = 1;
|
|
962
|
+
const stream = new Readable({ objectMode: true });
|
|
963
|
+
stream._read = function () {
|
|
964
|
+
return {
|
|
965
|
+
data: test++,
|
|
966
|
+
};
|
|
967
|
+
};
|
|
968
|
+
this._registerSlave(opts, () => {
|
|
969
|
+
const dumpCmd = this._binlogDump(opts);
|
|
970
|
+
dumpCmd.on('event', (ev) => {
|
|
971
|
+
stream.push(ev);
|
|
972
|
+
});
|
|
973
|
+
dumpCmd.on('eof', () => {
|
|
974
|
+
stream.push(null);
|
|
975
|
+
// if non-blocking, then close stream to prevent errors
|
|
976
|
+
if (opts.flags && opts.flags & 0x01) {
|
|
977
|
+
this.close();
|
|
978
|
+
}
|
|
979
|
+
});
|
|
980
|
+
// TODO: pipe errors as well
|
|
981
|
+
});
|
|
982
|
+
return stream;
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
connect(cb) {
|
|
986
|
+
if (!cb) {
|
|
987
|
+
return;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
if (this._fatalError || this._protocolError) {
|
|
991
|
+
return cb(this._fatalError || this._protocolError);
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
if (this._handshakePacket) {
|
|
995
|
+
return cb(null, this);
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
/* eslint-disable prefer-const */
|
|
999
|
+
let onError, onConnect;
|
|
1000
|
+
|
|
1001
|
+
onError = (param) => {
|
|
1002
|
+
this.removeListener('connect', onConnect);
|
|
1003
|
+
cb(param);
|
|
1004
|
+
};
|
|
1005
|
+
|
|
1006
|
+
onConnect = (param) => {
|
|
1007
|
+
this.removeListener('error', onError);
|
|
1008
|
+
cb(null, param);
|
|
1009
|
+
};
|
|
1010
|
+
/* eslint-enable prefer-const */
|
|
1011
|
+
|
|
1012
|
+
this.once('error', onError);
|
|
1013
|
+
this.once('connect', onConnect);
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
// ===================================
|
|
1017
|
+
// outgoing server connection methods
|
|
1018
|
+
// ===================================
|
|
1019
|
+
writeColumns(columns) {
|
|
1020
|
+
this.writePacket(Packets.ResultSetHeader.toPacket(columns.length));
|
|
1021
|
+
columns.forEach((column) => {
|
|
1022
|
+
this.writePacket(
|
|
1023
|
+
Packets.ColumnDefinition.toPacket(column, this.serverConfig.encoding)
|
|
1024
|
+
);
|
|
1025
|
+
});
|
|
1026
|
+
this.writeEof();
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
// row is array of columns, not hash
|
|
1030
|
+
writeTextRow(column) {
|
|
1031
|
+
this.writePacket(
|
|
1032
|
+
Packets.TextRow.toPacket(column, this.serverConfig.encoding)
|
|
1033
|
+
);
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
writeBinaryRow(column) {
|
|
1037
|
+
this.writePacket(
|
|
1038
|
+
Packets.BinaryRow.toPacket(column, this.serverConfig.encoding)
|
|
1039
|
+
);
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
writeTextResult(rows, columns, binary = false) {
|
|
1043
|
+
this.writeColumns(columns);
|
|
1044
|
+
rows.forEach((row) => {
|
|
1045
|
+
const arrayRow = new Array(columns.length);
|
|
1046
|
+
columns.forEach((column) => {
|
|
1047
|
+
arrayRow.push(row[column.name]);
|
|
1048
|
+
});
|
|
1049
|
+
if (binary) {
|
|
1050
|
+
this.writeBinaryRow(arrayRow);
|
|
1051
|
+
} else this.writeTextRow(arrayRow);
|
|
1052
|
+
});
|
|
1053
|
+
this.writeEof();
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
writeEof(warnings, statusFlags) {
|
|
1057
|
+
this.writePacket(Packets.EOF.toPacket(warnings, statusFlags));
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
writeOk(args) {
|
|
1061
|
+
if (!args) {
|
|
1062
|
+
args = { affectedRows: 0 };
|
|
1063
|
+
}
|
|
1064
|
+
this.writePacket(Packets.OK.toPacket(args, this.serverConfig.encoding));
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
writeError(args) {
|
|
1068
|
+
// if we want to send error before initial hello was sent, use default encoding
|
|
1069
|
+
const encoding = this.serverConfig ? this.serverConfig.encoding : 'cesu8';
|
|
1070
|
+
this.writePacket(Packets.Error.toPacket(args, encoding));
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
serverHandshake(args) {
|
|
1074
|
+
this.serverConfig = args;
|
|
1075
|
+
this.serverConfig.encoding =
|
|
1076
|
+
CharsetToEncoding[this.serverConfig.characterSet];
|
|
1077
|
+
return this.addCommand(new Commands.ServerHandshake(args));
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
[Symbol.dispose]() {
|
|
1081
|
+
if (!this._closing) {
|
|
1082
|
+
this.end();
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
// ===============================================================
|
|
1087
|
+
end(callback) {
|
|
1088
|
+
if (this.config.isServer) {
|
|
1089
|
+
this._closing = true;
|
|
1090
|
+
const quitCmd = new EventEmitter();
|
|
1091
|
+
setImmediate(() => {
|
|
1092
|
+
this.stream.end();
|
|
1093
|
+
quitCmd.emit('end');
|
|
1094
|
+
});
|
|
1095
|
+
return quitCmd;
|
|
1096
|
+
}
|
|
1097
|
+
// trigger error if more commands enqueued after end command
|
|
1098
|
+
const quitCmd = this.addCommand(new Commands.Quit(callback));
|
|
1099
|
+
this.addCommand = this._addCommandClosedState;
|
|
1100
|
+
return quitCmd;
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
static createQuery(sql, values, cb, config) {
|
|
1104
|
+
let options = {
|
|
1105
|
+
rowsAsArray: config.rowsAsArray,
|
|
1106
|
+
infileStreamFactory: config.infileStreamFactory,
|
|
1107
|
+
};
|
|
1108
|
+
if (typeof sql === 'object') {
|
|
1109
|
+
// query(options, cb)
|
|
1110
|
+
options = {
|
|
1111
|
+
...options,
|
|
1112
|
+
...sql,
|
|
1113
|
+
sql: sql.sql,
|
|
1114
|
+
values: sql.values,
|
|
1115
|
+
};
|
|
1116
|
+
if (typeof values === 'function') {
|
|
1117
|
+
cb = values;
|
|
1118
|
+
} else if (values !== undefined) {
|
|
1119
|
+
options.values = values;
|
|
1120
|
+
}
|
|
1121
|
+
} else if (typeof values === 'function') {
|
|
1122
|
+
// query(sql, cb)
|
|
1123
|
+
cb = values;
|
|
1124
|
+
options.sql = sql;
|
|
1125
|
+
options.values = undefined;
|
|
1126
|
+
} else {
|
|
1127
|
+
// query(sql, values, cb)
|
|
1128
|
+
options.sql = sql;
|
|
1129
|
+
options.values = values;
|
|
1130
|
+
}
|
|
1131
|
+
return new Commands.Query(options, cb);
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
static statementKey(options) {
|
|
1135
|
+
return `${typeof options.nestTables}/${options.nestTables}/${options.rowsAsArray}${options.sql}`;
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
module.exports = BaseConnection;
|