orcaq 1.0.32 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +1 -1
- package/.output/public/_nuxt/4by6-f6q.js +982 -0
- package/.output/public/_nuxt/8Ppmjv9D.js +1 -0
- package/.output/public/_nuxt/B1qjkRVO.js +1 -0
- package/.output/public/_nuxt/B3KEisfc.js +1 -0
- package/.output/public/_nuxt/B4ebLeWY.js +9 -0
- package/.output/public/_nuxt/{IitECNfD.js → B6hH0qos.js} +1 -1
- package/.output/public/_nuxt/{BUDtG__q.js → B7HEMfgt.js} +1 -1
- package/.output/public/_nuxt/B84SvUzr.js +1 -0
- package/.output/public/_nuxt/BDXvbRNW.js +1 -0
- package/.output/public/_nuxt/BGRcizqy.js +1 -0
- package/.output/public/_nuxt/{ClYziJpO.js → BGVGiigU.js} +1 -1
- package/.output/public/_nuxt/{ZdjmUBoX.js → BJYf67_H.js} +1 -1
- package/.output/public/_nuxt/BOK5ZFNK.js +1 -0
- package/.output/public/_nuxt/BPY2ud8g.js +1 -0
- package/.output/public/_nuxt/BSONoRG4.js +2 -0
- package/.output/public/_nuxt/BT53m-su.js +1 -0
- package/.output/public/_nuxt/BTJSh8in.js +2 -0
- package/.output/public/_nuxt/BVpt8J3a.js +1 -0
- package/.output/public/_nuxt/{BhUkpIlA.js → BdDEVolW.js} +1 -1
- package/.output/public/_nuxt/{C27bL9Es.js → BeNILdbT.js} +1 -1
- package/.output/public/_nuxt/{Dnx67EG9.js → BmU9CNkM.js} +1 -1
- package/.output/public/_nuxt/{DLHYqHwF.js → BnFDcr74.js} +1 -1
- package/.output/public/_nuxt/{sE-55p4e.js → BprXyYdv.js} +1 -1
- package/.output/public/_nuxt/{BCcTASq_.js → Bq7otXBA.js} +1 -1
- package/.output/public/_nuxt/{B_PBOfFN.js → BqyO8OjC.js} +93 -93
- package/.output/public/_nuxt/Bs1og3h1.js +10 -0
- package/.output/public/_nuxt/Bs2DgR_z.js +1 -0
- package/.output/public/_nuxt/{BsoQBloB.js → BvUhrUEH.js} +1 -1
- package/.output/public/_nuxt/{DkggUtNN.js → BxDrCsPf.js} +1 -1
- package/.output/public/_nuxt/BxrwrGYE.js +1 -0
- package/.output/public/_nuxt/By0aUn7N.js +1 -0
- package/.output/public/_nuxt/{C07rlnlv.js → ByOuUnNS.js} +1 -1
- package/.output/public/_nuxt/C177_GoB.js +1 -0
- package/.output/public/_nuxt/{DcfsxCxL.js → C1jMZ4hc.js} +1 -1
- package/.output/public/_nuxt/C5bgdIOp.js +1 -0
- package/.output/public/_nuxt/C69a9jD3.js +67 -0
- package/.output/public/_nuxt/C8AyZ3_X.js +2 -0
- package/.output/public/_nuxt/C8KplD68.js +1 -0
- package/.output/public/_nuxt/CA99KAte.js +3 -0
- package/.output/public/_nuxt/{CvTHaPAO.js → CE8aasoy.js} +1 -1
- package/.output/public/_nuxt/{DkY69STm.js → CEvNlevo.js} +1 -1
- package/.output/public/_nuxt/{B8JnYxjr.js → CKqvNpN3.js} +1 -1
- package/.output/public/_nuxt/CNF1h1lI.js +1 -0
- package/.output/public/_nuxt/COAycMg4.js +1 -0
- package/.output/public/_nuxt/CR6_eO9a.js +6 -0
- package/.output/public/_nuxt/{D4jn2f-6.js → CREZ9f0O.js} +4 -4
- package/.output/public/_nuxt/CS5ItJPR.js +39 -0
- package/.output/public/_nuxt/CcK14gfI.js +1 -0
- package/.output/public/_nuxt/{DnxDSFih.js → Ci43mke5.js} +3 -3
- package/.output/public/_nuxt/CjouDEjz.js +1 -0
- package/.output/public/_nuxt/Cp5lMcfd.js +1 -0
- package/.output/public/_nuxt/CpYiq1Wv.js +1 -0
- package/.output/public/_nuxt/{DVxTxYP4.js → CrLqg4B0.js} +1 -1
- package/.output/public/_nuxt/{BJxYuvXF.js → CvcedJeQ.js} +1 -1
- package/.output/public/_nuxt/{FIJP2AmN.js → Cvq07PgE.js} +1 -1
- package/.output/public/_nuxt/CwmbX4-U.js +1 -0
- package/.output/public/_nuxt/{B27ECqWz.js → Cx6s86aR.js} +1 -1
- package/.output/public/_nuxt/{DDYV6jDr.js → CybtvDjH.js} +1 -1
- package/.output/public/_nuxt/CzB2y8br.js +18 -0
- package/.output/public/_nuxt/{-p9JbKy8.js → D-YUpbah.js} +3 -3
- package/.output/public/_nuxt/D60Pzl_V.js +1 -0
- package/.output/public/_nuxt/D9BYd7AV.js +1 -0
- package/.output/public/_nuxt/D9dEqMyH.js +152 -0
- package/.output/public/_nuxt/DCJ49Fnq.js +1 -0
- package/.output/public/_nuxt/{gO22NLpn.js → DESYlybj.js} +1 -1
- package/.output/public/_nuxt/DFM-aCBX.js +1 -0
- package/.output/public/_nuxt/{DRKnK1N_.js → DHnNoguE.js} +1 -1
- package/.output/public/_nuxt/{ChkFTcxr.js → DJqZzQsX.js} +1 -1
- package/.output/public/_nuxt/DNNdcUH4.js +1 -0
- package/.output/public/_nuxt/{LFK46Fls.js → DNdM2ZyK.js} +1 -1
- package/.output/public/_nuxt/{CVliJ52o.js → DQT4eICL.js} +1 -1
- package/.output/public/_nuxt/{CffFK_qY.js → DWBoXz89.js} +1 -1
- package/.output/public/_nuxt/DXp9fCib.js +20 -0
- package/.output/public/_nuxt/{ACOLmAuq.js → DaKikgWm.js} +1 -1
- package/.output/public/_nuxt/{B9zSkyFO.js → DaMyovpr.js} +1 -1
- package/.output/public/_nuxt/DeBdxlx0.js +1 -0
- package/.output/public/_nuxt/{trZyeId5.js → DhKwXzSk.js} +1 -1
- package/.output/public/_nuxt/{C6Vqzp-9.js → DkadXn5U.js} +1 -1
- package/.output/public/_nuxt/Dkikh2OC.js +22 -0
- package/.output/public/_nuxt/DlOyXrKK.js +1 -0
- package/.output/public/_nuxt/{UqWhjgOc.js → Dpl6-lqE.js} +1 -1
- package/.output/public/_nuxt/DqA_edEU.js +1 -0
- package/.output/public/_nuxt/DqxL2Lpl.js +1 -0
- package/.output/public/_nuxt/Dt3rfvTn.js +1 -0
- package/.output/public/_nuxt/Dt5h0Tys.js +1 -0
- package/.output/public/_nuxt/DwrSZ8Vj.js +1 -0
- package/.output/public/_nuxt/DwyFZZT6.js +1 -0
- package/.output/public/_nuxt/EM8J-XL1.js +7 -0
- package/.output/public/_nuxt/ESKvsKwc.js +1 -0
- package/.output/public/_nuxt/{CWGdTiOD.js → F5lCgNdb.js} +1 -1
- package/.output/public/_nuxt/H5m89x1B.js +1 -0
- package/.output/public/_nuxt/{CwdIiq6J.js → PUe8M07P.js} +2 -2
- package/.output/public/_nuxt/{Cjgqfl1g.js → TEF-nDfP.js} +1 -1
- package/.output/public/_nuxt/{DNZpxuwM.js → TuKV3Ilv.js} +1 -1
- package/.output/public/_nuxt/V5LvXMJl.js +1 -0
- package/.output/public/_nuxt/{c_huf6xz.js → YJvNy3iu.js} +27 -27
- package/.output/public/_nuxt/{C7C8tPlA.js → ZObQcd0X.js} +1 -1
- package/.output/public/_nuxt/{CHOD7i6O.js → b_MfGg1c.js} +1 -1
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/455d4da4-6357-4478-8703-78a79ccbbc0f.json +1 -0
- package/.output/public/_nuxt/entry.qdzR7QFr.css +1 -0
- package/.output/public/_nuxt/fpuEgQ7C.js +12 -0
- package/.output/public/_nuxt/jU7fkvuR.js +1 -0
- package/.output/public/_nuxt/{CSTzT9hP.js → lHkFwi3L.js} +1 -1
- package/.output/public/_nuxt/{BQOaPJzs.js → minLMBmY.js} +1 -1
- package/.output/public/_nuxt/pQ8l8BR2.js +1 -0
- package/.output/public/_nuxt/xYXqL1eV.js +1 -0
- package/.output/public/_nuxt/xxfb8w7n.js +1 -0
- package/.output/server/chunks/_/create-adapter.mjs +36 -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 +721 -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 +106 -7
- package/.output/server/chunks/_/instance-insights.factory.mjs.map +1 -1
- package/.output/server/chunks/_/metadata.factory.mjs +912 -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/_/schemaMeta.type.mjs +13 -0
- package/.output/server/chunks/_/schemaMeta.type.mjs.map +1 -0
- package/.output/server/chunks/_/tables.factory.mjs +905 -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 +676 -672
- package/.output/server/chunks/build/client.manifest.mjs.map +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +1046 -751
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/api/ai/agent.mjs +30 -79
- package/.output/server/chunks/routes/api/ai/agent.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-export/export-database.mjs +26 -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 +52 -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 +43 -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 +69 -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 +43 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +2 -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 +3 -1
- package/.output/server/chunks/routes/api/functions/definition.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/delete.post.mjs +3 -1
- package/.output/server/chunks/routes/api/functions/delete.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/overview.post.mjs +3 -1
- package/.output/server/chunks/routes/api/functions/overview.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/rename.post.mjs +3 -1
- package/.output/server/chunks/routes/api/functions/rename.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/signature.post.mjs +3 -1
- package/.output/server/chunks/routes/api/functions/signature.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/update.post.mjs +24 -6
- package/.output/server/chunks/routes/api/functions/update.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/index.post.mjs +63 -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 +2 -0
- 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 +2 -0
- 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 +2 -0
- 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 +2 -0
- 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 +2 -0
- 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 +2 -0
- 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 +2 -0
- 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 +2 -0
- package/.output/server/chunks/routes/api/instance-insights/toggle-slot-status.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/managment-connection/health-check.mjs +10 -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 +4 -0
- package/.output/server/chunks/routes/api/metadata/erd.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/metadata/meta-data.post.mjs +4 -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 +4 -0
- package/.output/server/chunks/routes/api/metadata/reverse-schemas.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/metrics/monitor.post.mjs +80 -7
- package/.output/server/chunks/routes/api/metrics/monitor.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/query/execute.post.mjs +3 -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 +3 -1
- 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 +3 -1
- package/.output/server/chunks/routes/api/query/raw-execute.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/bulk-delete.post.mjs +3 -1
- 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 +3 -1
- package/.output/server/chunks/routes/api/tables/bulk-update.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/ddl.post.mjs +3 -1
- package/.output/server/chunks/routes/api/tables/ddl.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/export.post.mjs +4 -2
- package/.output/server/chunks/routes/api/tables/export.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/indexes.post.mjs +3 -1
- package/.output/server/chunks/routes/api/tables/indexes.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/meta.post.mjs +3 -1
- package/.output/server/chunks/routes/api/tables/meta.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/overview.post.mjs +3 -1
- package/.output/server/chunks/routes/api/tables/overview.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/rls.post.mjs +3 -1
- package/.output/server/chunks/routes/api/tables/rls.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/rules.post.mjs +3 -1
- package/.output/server/chunks/routes/api/tables/rules.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/size.post.mjs +3 -1
- package/.output/server/chunks/routes/api/tables/size.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/structure.post.mjs +3 -1
- package/.output/server/chunks/routes/api/tables/structure.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/triggers.post.mjs +3 -1
- package/.output/server/chunks/routes/api/tables/triggers.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/definition.post.mjs +2 -0
- package/.output/server/chunks/routes/api/views/definition.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/dependencies.post.mjs +2 -0
- package/.output/server/chunks/routes/api/views/dependencies.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/explain.post.mjs +2 -0
- package/.output/server/chunks/routes/api/views/explain.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/indexes.post.mjs +2 -0
- package/.output/server/chunks/routes/api/views/indexes.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/meta.post.mjs +2 -0
- package/.output/server/chunks/routes/api/views/meta.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/overview.post.mjs +2 -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/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/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/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/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/package.json +14 -18
- package/package.json +2 -2
- package/.output/public/_nuxt/019vQzZn.js +0 -1
- package/.output/public/_nuxt/0lRW_xjL.js +0 -1
- package/.output/public/_nuxt/B6EI6PpE.js +0 -1
- package/.output/public/_nuxt/B9Mt45db.js +0 -1
- package/.output/public/_nuxt/BKltSiU0.js +0 -1
- package/.output/public/_nuxt/BM4vnZvX.js +0 -732
- package/.output/public/_nuxt/BNYR501z.js +0 -1
- package/.output/public/_nuxt/BVLVn__t.js +0 -9
- package/.output/public/_nuxt/BY1l0S_M.js +0 -1
- package/.output/public/_nuxt/BaseCodeEditor.SAr2eD8R.css +0 -1
- package/.output/public/_nuxt/BcvJQkv0.js +0 -1
- package/.output/public/_nuxt/BdN9B2_l.js +0 -160
- package/.output/public/_nuxt/BflvengI.js +0 -1
- package/.output/public/_nuxt/BgolbRTO.js +0 -1
- package/.output/public/_nuxt/BwISH3M4.js +0 -1
- package/.output/public/_nuxt/C-M4q4KX.js +0 -1
- package/.output/public/_nuxt/C2Ziircr.js +0 -1
- package/.output/public/_nuxt/C3NWXcpd.js +0 -39
- package/.output/public/_nuxt/C5p44jKD.js +0 -1
- package/.output/public/_nuxt/C617vhDd.js +0 -1
- package/.output/public/_nuxt/C8S0o4Gy.js +0 -1
- package/.output/public/_nuxt/CNlsVoWh.js +0 -1
- package/.output/public/_nuxt/CWkPMmwS.js +0 -2
- package/.output/public/_nuxt/Cgy4ijjN.js +0 -67
- package/.output/public/_nuxt/ClBBUcFW.js +0 -1
- package/.output/public/_nuxt/CuRyxljq.js +0 -1
- package/.output/public/_nuxt/Cx4Bnfq1.js +0 -2
- package/.output/public/_nuxt/D-H6_V16.js +0 -1
- package/.output/public/_nuxt/D-SDqguC.js +0 -1
- package/.output/public/_nuxt/D-XwprNU.js +0 -6
- package/.output/public/_nuxt/D3G5Xy_-.js +0 -1
- package/.output/public/_nuxt/D9o5Pdvp.js +0 -1
- package/.output/public/_nuxt/DFArp87o.js +0 -1
- package/.output/public/_nuxt/DFZIXzfU.js +0 -1
- package/.output/public/_nuxt/DHRNt0p9.js +0 -1
- package/.output/public/_nuxt/DLKku6fV.js +0 -1
- package/.output/public/_nuxt/DWgjNKGq.js +0 -152
- package/.output/public/_nuxt/DYm57BZk.js +0 -2
- package/.output/public/_nuxt/DaQw8gVp.js +0 -1
- package/.output/public/_nuxt/DgnsV5Qb.js +0 -1
- package/.output/public/_nuxt/Do5Fyo7J.js +0 -1
- package/.output/public/_nuxt/Dqirx7MF.js +0 -1
- package/.output/public/_nuxt/GoTwJjoS.js +0 -39
- package/.output/public/_nuxt/Hs25HoUO.js +0 -22
- package/.output/public/_nuxt/J2CvNR3L.js +0 -1
- package/.output/public/_nuxt/LK6Q8l0D.js +0 -1
- package/.output/public/_nuxt/Oh9SO2qg.js +0 -1
- package/.output/public/_nuxt/P_8UoGnr.js +0 -72
- package/.output/public/_nuxt/V5yaR3hv.js +0 -2
- package/.output/public/_nuxt/XWTuAj6n.js +0 -1
- package/.output/public/_nuxt/XqwbcqcW.js +0 -1
- package/.output/public/_nuxt/Yzrsuije.js +0 -1
- package/.output/public/_nuxt/_8UrUcVF.js +0 -1
- package/.output/public/_nuxt/builds/meta/27a307c3-bfc5-4ccd-94b8-387eb94981bb.json +0 -1
- package/.output/public/_nuxt/cKBf5-av.js +0 -1
- package/.output/public/_nuxt/entry.DeK5kcSi.css +0 -1
- package/.output/public/_nuxt/kc-op4gz.js +0 -12
- package/.output/public/_nuxt/kehy-5uo.js +0 -1
- package/.output/public/_nuxt/lSaGvORn.js +0 -10
- package/.output/public/_nuxt/lY3EyFEK.js +0 -1
- package/.output/public/_nuxt/tMhdAKU2.js +0 -3
- package/.output/public/_nuxt/uyCIL8xw.js +0 -1
- 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,481 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Custom implementation of a double ended queue.
|
|
5
|
+
*/
|
|
6
|
+
function Denque(array, options) {
|
|
7
|
+
var options = options || {};
|
|
8
|
+
this._capacity = options.capacity;
|
|
9
|
+
|
|
10
|
+
this._head = 0;
|
|
11
|
+
this._tail = 0;
|
|
12
|
+
|
|
13
|
+
if (Array.isArray(array)) {
|
|
14
|
+
this._fromArray(array);
|
|
15
|
+
} else {
|
|
16
|
+
this._capacityMask = 0x3;
|
|
17
|
+
this._list = new Array(4);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* --------------
|
|
23
|
+
* PUBLIC API
|
|
24
|
+
* -------------
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Returns the item at the specified index from the list.
|
|
29
|
+
* 0 is the first element, 1 is the second, and so on...
|
|
30
|
+
* Elements at negative values are that many from the end: -1 is one before the end
|
|
31
|
+
* (the last element), -2 is two before the end (one before last), etc.
|
|
32
|
+
* @param index
|
|
33
|
+
* @returns {*}
|
|
34
|
+
*/
|
|
35
|
+
Denque.prototype.peekAt = function peekAt(index) {
|
|
36
|
+
var i = index;
|
|
37
|
+
// expect a number or return undefined
|
|
38
|
+
if ((i !== (i | 0))) {
|
|
39
|
+
return void 0;
|
|
40
|
+
}
|
|
41
|
+
var len = this.size();
|
|
42
|
+
if (i >= len || i < -len) return undefined;
|
|
43
|
+
if (i < 0) i += len;
|
|
44
|
+
i = (this._head + i) & this._capacityMask;
|
|
45
|
+
return this._list[i];
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Alias for peekAt()
|
|
50
|
+
* @param i
|
|
51
|
+
* @returns {*}
|
|
52
|
+
*/
|
|
53
|
+
Denque.prototype.get = function get(i) {
|
|
54
|
+
return this.peekAt(i);
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Returns the first item in the list without removing it.
|
|
59
|
+
* @returns {*}
|
|
60
|
+
*/
|
|
61
|
+
Denque.prototype.peek = function peek() {
|
|
62
|
+
if (this._head === this._tail) return undefined;
|
|
63
|
+
return this._list[this._head];
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Alias for peek()
|
|
68
|
+
* @returns {*}
|
|
69
|
+
*/
|
|
70
|
+
Denque.prototype.peekFront = function peekFront() {
|
|
71
|
+
return this.peek();
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Returns the item that is at the back of the queue without removing it.
|
|
76
|
+
* Uses peekAt(-1)
|
|
77
|
+
*/
|
|
78
|
+
Denque.prototype.peekBack = function peekBack() {
|
|
79
|
+
return this.peekAt(-1);
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Returns the current length of the queue
|
|
84
|
+
* @return {Number}
|
|
85
|
+
*/
|
|
86
|
+
Object.defineProperty(Denque.prototype, 'length', {
|
|
87
|
+
get: function length() {
|
|
88
|
+
return this.size();
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Return the number of items on the list, or 0 if empty.
|
|
94
|
+
* @returns {number}
|
|
95
|
+
*/
|
|
96
|
+
Denque.prototype.size = function size() {
|
|
97
|
+
if (this._head === this._tail) return 0;
|
|
98
|
+
if (this._head < this._tail) return this._tail - this._head;
|
|
99
|
+
else return this._capacityMask + 1 - (this._head - this._tail);
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Add an item at the beginning of the list.
|
|
104
|
+
* @param item
|
|
105
|
+
*/
|
|
106
|
+
Denque.prototype.unshift = function unshift(item) {
|
|
107
|
+
if (arguments.length === 0) return this.size();
|
|
108
|
+
var len = this._list.length;
|
|
109
|
+
this._head = (this._head - 1 + len) & this._capacityMask;
|
|
110
|
+
this._list[this._head] = item;
|
|
111
|
+
if (this._tail === this._head) this._growArray();
|
|
112
|
+
if (this._capacity && this.size() > this._capacity) this.pop();
|
|
113
|
+
if (this._head < this._tail) return this._tail - this._head;
|
|
114
|
+
else return this._capacityMask + 1 - (this._head - this._tail);
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Remove and return the first item on the list,
|
|
119
|
+
* Returns undefined if the list is empty.
|
|
120
|
+
* @returns {*}
|
|
121
|
+
*/
|
|
122
|
+
Denque.prototype.shift = function shift() {
|
|
123
|
+
var head = this._head;
|
|
124
|
+
if (head === this._tail) return undefined;
|
|
125
|
+
var item = this._list[head];
|
|
126
|
+
this._list[head] = undefined;
|
|
127
|
+
this._head = (head + 1) & this._capacityMask;
|
|
128
|
+
if (head < 2 && this._tail > 10000 && this._tail <= this._list.length >>> 2) this._shrinkArray();
|
|
129
|
+
return item;
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Add an item to the bottom of the list.
|
|
134
|
+
* @param item
|
|
135
|
+
*/
|
|
136
|
+
Denque.prototype.push = function push(item) {
|
|
137
|
+
if (arguments.length === 0) return this.size();
|
|
138
|
+
var tail = this._tail;
|
|
139
|
+
this._list[tail] = item;
|
|
140
|
+
this._tail = (tail + 1) & this._capacityMask;
|
|
141
|
+
if (this._tail === this._head) {
|
|
142
|
+
this._growArray();
|
|
143
|
+
}
|
|
144
|
+
if (this._capacity && this.size() > this._capacity) {
|
|
145
|
+
this.shift();
|
|
146
|
+
}
|
|
147
|
+
if (this._head < this._tail) return this._tail - this._head;
|
|
148
|
+
else return this._capacityMask + 1 - (this._head - this._tail);
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Remove and return the last item on the list.
|
|
153
|
+
* Returns undefined if the list is empty.
|
|
154
|
+
* @returns {*}
|
|
155
|
+
*/
|
|
156
|
+
Denque.prototype.pop = function pop() {
|
|
157
|
+
var tail = this._tail;
|
|
158
|
+
if (tail === this._head) return undefined;
|
|
159
|
+
var len = this._list.length;
|
|
160
|
+
this._tail = (tail - 1 + len) & this._capacityMask;
|
|
161
|
+
var item = this._list[this._tail];
|
|
162
|
+
this._list[this._tail] = undefined;
|
|
163
|
+
if (this._head < 2 && tail > 10000 && tail <= len >>> 2) this._shrinkArray();
|
|
164
|
+
return item;
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Remove and return the item at the specified index from the list.
|
|
169
|
+
* Returns undefined if the list is empty.
|
|
170
|
+
* @param index
|
|
171
|
+
* @returns {*}
|
|
172
|
+
*/
|
|
173
|
+
Denque.prototype.removeOne = function removeOne(index) {
|
|
174
|
+
var i = index;
|
|
175
|
+
// expect a number or return undefined
|
|
176
|
+
if ((i !== (i | 0))) {
|
|
177
|
+
return void 0;
|
|
178
|
+
}
|
|
179
|
+
if (this._head === this._tail) return void 0;
|
|
180
|
+
var size = this.size();
|
|
181
|
+
var len = this._list.length;
|
|
182
|
+
if (i >= size || i < -size) return void 0;
|
|
183
|
+
if (i < 0) i += size;
|
|
184
|
+
i = (this._head + i) & this._capacityMask;
|
|
185
|
+
var item = this._list[i];
|
|
186
|
+
var k;
|
|
187
|
+
if (index < size / 2) {
|
|
188
|
+
for (k = index; k > 0; k--) {
|
|
189
|
+
this._list[i] = this._list[i = (i - 1 + len) & this._capacityMask];
|
|
190
|
+
}
|
|
191
|
+
this._list[i] = void 0;
|
|
192
|
+
this._head = (this._head + 1 + len) & this._capacityMask;
|
|
193
|
+
} else {
|
|
194
|
+
for (k = size - 1 - index; k > 0; k--) {
|
|
195
|
+
this._list[i] = this._list[i = (i + 1 + len) & this._capacityMask];
|
|
196
|
+
}
|
|
197
|
+
this._list[i] = void 0;
|
|
198
|
+
this._tail = (this._tail - 1 + len) & this._capacityMask;
|
|
199
|
+
}
|
|
200
|
+
return item;
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Remove number of items from the specified index from the list.
|
|
205
|
+
* Returns array of removed items.
|
|
206
|
+
* Returns undefined if the list is empty.
|
|
207
|
+
* @param index
|
|
208
|
+
* @param count
|
|
209
|
+
* @returns {array}
|
|
210
|
+
*/
|
|
211
|
+
Denque.prototype.remove = function remove(index, count) {
|
|
212
|
+
var i = index;
|
|
213
|
+
var removed;
|
|
214
|
+
var del_count = count;
|
|
215
|
+
// expect a number or return undefined
|
|
216
|
+
if ((i !== (i | 0))) {
|
|
217
|
+
return void 0;
|
|
218
|
+
}
|
|
219
|
+
if (this._head === this._tail) return void 0;
|
|
220
|
+
var size = this.size();
|
|
221
|
+
var len = this._list.length;
|
|
222
|
+
if (i >= size || i < -size || count < 1) return void 0;
|
|
223
|
+
if (i < 0) i += size;
|
|
224
|
+
if (count === 1 || !count) {
|
|
225
|
+
removed = new Array(1);
|
|
226
|
+
removed[0] = this.removeOne(i);
|
|
227
|
+
return removed;
|
|
228
|
+
}
|
|
229
|
+
if (i === 0 && i + count >= size) {
|
|
230
|
+
removed = this.toArray();
|
|
231
|
+
this.clear();
|
|
232
|
+
return removed;
|
|
233
|
+
}
|
|
234
|
+
if (i + count > size) count = size - i;
|
|
235
|
+
var k;
|
|
236
|
+
removed = new Array(count);
|
|
237
|
+
for (k = 0; k < count; k++) {
|
|
238
|
+
removed[k] = this._list[(this._head + i + k) & this._capacityMask];
|
|
239
|
+
}
|
|
240
|
+
i = (this._head + i) & this._capacityMask;
|
|
241
|
+
if (index + count === size) {
|
|
242
|
+
this._tail = (this._tail - count + len) & this._capacityMask;
|
|
243
|
+
for (k = count; k > 0; k--) {
|
|
244
|
+
this._list[i = (i + 1 + len) & this._capacityMask] = void 0;
|
|
245
|
+
}
|
|
246
|
+
return removed;
|
|
247
|
+
}
|
|
248
|
+
if (index === 0) {
|
|
249
|
+
this._head = (this._head + count + len) & this._capacityMask;
|
|
250
|
+
for (k = count - 1; k > 0; k--) {
|
|
251
|
+
this._list[i = (i + 1 + len) & this._capacityMask] = void 0;
|
|
252
|
+
}
|
|
253
|
+
return removed;
|
|
254
|
+
}
|
|
255
|
+
if (i < size / 2) {
|
|
256
|
+
this._head = (this._head + index + count + len) & this._capacityMask;
|
|
257
|
+
for (k = index; k > 0; k--) {
|
|
258
|
+
this.unshift(this._list[i = (i - 1 + len) & this._capacityMask]);
|
|
259
|
+
}
|
|
260
|
+
i = (this._head - 1 + len) & this._capacityMask;
|
|
261
|
+
while (del_count > 0) {
|
|
262
|
+
this._list[i = (i - 1 + len) & this._capacityMask] = void 0;
|
|
263
|
+
del_count--;
|
|
264
|
+
}
|
|
265
|
+
if (index < 0) this._tail = i;
|
|
266
|
+
} else {
|
|
267
|
+
this._tail = i;
|
|
268
|
+
i = (i + count + len) & this._capacityMask;
|
|
269
|
+
for (k = size - (count + index); k > 0; k--) {
|
|
270
|
+
this.push(this._list[i++]);
|
|
271
|
+
}
|
|
272
|
+
i = this._tail;
|
|
273
|
+
while (del_count > 0) {
|
|
274
|
+
this._list[i = (i + 1 + len) & this._capacityMask] = void 0;
|
|
275
|
+
del_count--;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
if (this._head < 2 && this._tail > 10000 && this._tail <= len >>> 2) this._shrinkArray();
|
|
279
|
+
return removed;
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Native splice implementation.
|
|
284
|
+
* Remove number of items from the specified index from the list and/or add new elements.
|
|
285
|
+
* Returns array of removed items or empty array if count == 0.
|
|
286
|
+
* Returns undefined if the list is empty.
|
|
287
|
+
*
|
|
288
|
+
* @param index
|
|
289
|
+
* @param count
|
|
290
|
+
* @param {...*} [elements]
|
|
291
|
+
* @returns {array}
|
|
292
|
+
*/
|
|
293
|
+
Denque.prototype.splice = function splice(index, count) {
|
|
294
|
+
var i = index;
|
|
295
|
+
// expect a number or return undefined
|
|
296
|
+
if ((i !== (i | 0))) {
|
|
297
|
+
return void 0;
|
|
298
|
+
}
|
|
299
|
+
var size = this.size();
|
|
300
|
+
if (i < 0) i += size;
|
|
301
|
+
if (i > size) return void 0;
|
|
302
|
+
if (arguments.length > 2) {
|
|
303
|
+
var k;
|
|
304
|
+
var temp;
|
|
305
|
+
var removed;
|
|
306
|
+
var arg_len = arguments.length;
|
|
307
|
+
var len = this._list.length;
|
|
308
|
+
var arguments_index = 2;
|
|
309
|
+
if (!size || i < size / 2) {
|
|
310
|
+
temp = new Array(i);
|
|
311
|
+
for (k = 0; k < i; k++) {
|
|
312
|
+
temp[k] = this._list[(this._head + k) & this._capacityMask];
|
|
313
|
+
}
|
|
314
|
+
if (count === 0) {
|
|
315
|
+
removed = [];
|
|
316
|
+
if (i > 0) {
|
|
317
|
+
this._head = (this._head + i + len) & this._capacityMask;
|
|
318
|
+
}
|
|
319
|
+
} else {
|
|
320
|
+
removed = this.remove(i, count);
|
|
321
|
+
this._head = (this._head + i + len) & this._capacityMask;
|
|
322
|
+
}
|
|
323
|
+
while (arg_len > arguments_index) {
|
|
324
|
+
this.unshift(arguments[--arg_len]);
|
|
325
|
+
}
|
|
326
|
+
for (k = i; k > 0; k--) {
|
|
327
|
+
this.unshift(temp[k - 1]);
|
|
328
|
+
}
|
|
329
|
+
} else {
|
|
330
|
+
temp = new Array(size - (i + count));
|
|
331
|
+
var leng = temp.length;
|
|
332
|
+
for (k = 0; k < leng; k++) {
|
|
333
|
+
temp[k] = this._list[(this._head + i + count + k) & this._capacityMask];
|
|
334
|
+
}
|
|
335
|
+
if (count === 0) {
|
|
336
|
+
removed = [];
|
|
337
|
+
if (i != size) {
|
|
338
|
+
this._tail = (this._head + i + len) & this._capacityMask;
|
|
339
|
+
}
|
|
340
|
+
} else {
|
|
341
|
+
removed = this.remove(i, count);
|
|
342
|
+
this._tail = (this._tail - leng + len) & this._capacityMask;
|
|
343
|
+
}
|
|
344
|
+
while (arguments_index < arg_len) {
|
|
345
|
+
this.push(arguments[arguments_index++]);
|
|
346
|
+
}
|
|
347
|
+
for (k = 0; k < leng; k++) {
|
|
348
|
+
this.push(temp[k]);
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
return removed;
|
|
352
|
+
} else {
|
|
353
|
+
return this.remove(i, count);
|
|
354
|
+
}
|
|
355
|
+
};
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* Soft clear - does not reset capacity.
|
|
359
|
+
*/
|
|
360
|
+
Denque.prototype.clear = function clear() {
|
|
361
|
+
this._list = new Array(this._list.length);
|
|
362
|
+
this._head = 0;
|
|
363
|
+
this._tail = 0;
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Returns true or false whether the list is empty.
|
|
368
|
+
* @returns {boolean}
|
|
369
|
+
*/
|
|
370
|
+
Denque.prototype.isEmpty = function isEmpty() {
|
|
371
|
+
return this._head === this._tail;
|
|
372
|
+
};
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* Returns an array of all queue items.
|
|
376
|
+
* @returns {Array}
|
|
377
|
+
*/
|
|
378
|
+
Denque.prototype.toArray = function toArray() {
|
|
379
|
+
return this._copyArray(false);
|
|
380
|
+
};
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* -------------
|
|
384
|
+
* INTERNALS
|
|
385
|
+
* -------------
|
|
386
|
+
*/
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* Fills the queue with items from an array
|
|
390
|
+
* For use in the constructor
|
|
391
|
+
* @param array
|
|
392
|
+
* @private
|
|
393
|
+
*/
|
|
394
|
+
Denque.prototype._fromArray = function _fromArray(array) {
|
|
395
|
+
var length = array.length;
|
|
396
|
+
var capacity = this._nextPowerOf2(length);
|
|
397
|
+
|
|
398
|
+
this._list = new Array(capacity);
|
|
399
|
+
this._capacityMask = capacity - 1;
|
|
400
|
+
this._tail = length;
|
|
401
|
+
|
|
402
|
+
for (var i = 0; i < length; i++) this._list[i] = array[i];
|
|
403
|
+
};
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
*
|
|
407
|
+
* @param fullCopy
|
|
408
|
+
* @param size Initialize the array with a specific size. Will default to the current list size
|
|
409
|
+
* @returns {Array}
|
|
410
|
+
* @private
|
|
411
|
+
*/
|
|
412
|
+
Denque.prototype._copyArray = function _copyArray(fullCopy, size) {
|
|
413
|
+
var src = this._list;
|
|
414
|
+
var capacity = src.length;
|
|
415
|
+
var length = this.length;
|
|
416
|
+
size = size | length;
|
|
417
|
+
|
|
418
|
+
// No prealloc requested and the buffer is contiguous
|
|
419
|
+
if (size == length && this._head < this._tail) {
|
|
420
|
+
// Simply do a fast slice copy
|
|
421
|
+
return this._list.slice(this._head, this._tail);
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
var dest = new Array(size);
|
|
425
|
+
|
|
426
|
+
var k = 0;
|
|
427
|
+
var i;
|
|
428
|
+
if (fullCopy || this._head > this._tail) {
|
|
429
|
+
for (i = this._head; i < capacity; i++) dest[k++] = src[i];
|
|
430
|
+
for (i = 0; i < this._tail; i++) dest[k++] = src[i];
|
|
431
|
+
} else {
|
|
432
|
+
for (i = this._head; i < this._tail; i++) dest[k++] = src[i];
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
return dest;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* Grows the internal list array.
|
|
440
|
+
* @private
|
|
441
|
+
*/
|
|
442
|
+
Denque.prototype._growArray = function _growArray() {
|
|
443
|
+
if (this._head != 0) {
|
|
444
|
+
// double array size and copy existing data, head to end, then beginning to tail.
|
|
445
|
+
var newList = this._copyArray(true, this._list.length << 1);
|
|
446
|
+
|
|
447
|
+
this._tail = this._list.length;
|
|
448
|
+
this._head = 0;
|
|
449
|
+
|
|
450
|
+
this._list = newList;
|
|
451
|
+
} else {
|
|
452
|
+
this._tail = this._list.length;
|
|
453
|
+
this._list.length <<= 1;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
this._capacityMask = (this._capacityMask << 1) | 1;
|
|
457
|
+
};
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* Shrinks the internal list array.
|
|
461
|
+
* @private
|
|
462
|
+
*/
|
|
463
|
+
Denque.prototype._shrinkArray = function _shrinkArray() {
|
|
464
|
+
this._list.length >>>= 1;
|
|
465
|
+
this._capacityMask >>>= 1;
|
|
466
|
+
};
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* Find the next power of 2, at least 4
|
|
470
|
+
* @private
|
|
471
|
+
* @param {number} num
|
|
472
|
+
* @returns {number}
|
|
473
|
+
*/
|
|
474
|
+
Denque.prototype._nextPowerOf2 = function _nextPowerOf2(num) {
|
|
475
|
+
var log2 = Math.log(num) / Math.log(2);
|
|
476
|
+
var nextPow2 = 1 << (log2 + 1);
|
|
477
|
+
|
|
478
|
+
return Math.max(nextPow2, 4);
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
module.exports = Denque;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "denque",
|
|
3
|
+
"version": "2.1.0",
|
|
4
|
+
"description": "The fastest javascript implementation of a double-ended queue. Used by the official Redis, MongoDB, MariaDB & MySQL libraries for Node.js and many other libraries. Maintains compatability with deque.",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": ">=0.10"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [
|
|
10
|
+
"data-structure",
|
|
11
|
+
"data-structures",
|
|
12
|
+
"queue",
|
|
13
|
+
"double",
|
|
14
|
+
"end",
|
|
15
|
+
"ended",
|
|
16
|
+
"deque",
|
|
17
|
+
"denque",
|
|
18
|
+
"double-ended-queue"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"test": "istanbul cover --report lcov _mocha && npm run typescript",
|
|
22
|
+
"coveralls": "cat ./coverage/lcov.info | coveralls",
|
|
23
|
+
"typescript": "tsc --project ./test/type/tsconfig.json",
|
|
24
|
+
"benchmark_thousand": "node benchmark/thousand",
|
|
25
|
+
"benchmark_2mil": "node benchmark/two_million",
|
|
26
|
+
"benchmark_splice": "node benchmark/splice",
|
|
27
|
+
"benchmark_remove": "node benchmark/remove",
|
|
28
|
+
"benchmark_removeOne": "node benchmark/removeOne",
|
|
29
|
+
"benchmark_growth": "node benchmark/growth",
|
|
30
|
+
"benchmark_toArray": "node benchmark/toArray",
|
|
31
|
+
"benchmark_fromArray": "node benchmark/fromArray"
|
|
32
|
+
},
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "git+https://github.com/invertase/denque.git"
|
|
36
|
+
},
|
|
37
|
+
"license": "Apache-2.0",
|
|
38
|
+
"author": {
|
|
39
|
+
"name": "Invertase",
|
|
40
|
+
"email": "oss@invertase.io",
|
|
41
|
+
"url": "http://github.com/invertase/"
|
|
42
|
+
},
|
|
43
|
+
"contributors": [
|
|
44
|
+
"Mike Diarmid (Salakar) <mike@invertase.io>"
|
|
45
|
+
],
|
|
46
|
+
"bugs": {
|
|
47
|
+
"url": "https://github.com/invertase/denque/issues"
|
|
48
|
+
},
|
|
49
|
+
"homepage": "https://docs.page/invertase/denque",
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"benchmark": "^2.1.4",
|
|
52
|
+
"codecov": "^3.8.3",
|
|
53
|
+
"double-ended-queue": "^2.1.0-0",
|
|
54
|
+
"istanbul": "^0.4.5",
|
|
55
|
+
"mocha": "^3.5.3",
|
|
56
|
+
"typescript": "^3.4.1"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
var util = require('util')
|
|
2
|
+
var isProperty = require('is-property')
|
|
3
|
+
|
|
4
|
+
var INDENT_START = /[\{\[]/
|
|
5
|
+
var INDENT_END = /[\}\]]/
|
|
6
|
+
|
|
7
|
+
// from https://mathiasbynens.be/notes/reserved-keywords
|
|
8
|
+
var RESERVED = [
|
|
9
|
+
'do',
|
|
10
|
+
'if',
|
|
11
|
+
'in',
|
|
12
|
+
'for',
|
|
13
|
+
'let',
|
|
14
|
+
'new',
|
|
15
|
+
'try',
|
|
16
|
+
'var',
|
|
17
|
+
'case',
|
|
18
|
+
'else',
|
|
19
|
+
'enum',
|
|
20
|
+
'eval',
|
|
21
|
+
'null',
|
|
22
|
+
'this',
|
|
23
|
+
'true',
|
|
24
|
+
'void',
|
|
25
|
+
'with',
|
|
26
|
+
'await',
|
|
27
|
+
'break',
|
|
28
|
+
'catch',
|
|
29
|
+
'class',
|
|
30
|
+
'const',
|
|
31
|
+
'false',
|
|
32
|
+
'super',
|
|
33
|
+
'throw',
|
|
34
|
+
'while',
|
|
35
|
+
'yield',
|
|
36
|
+
'delete',
|
|
37
|
+
'export',
|
|
38
|
+
'import',
|
|
39
|
+
'public',
|
|
40
|
+
'return',
|
|
41
|
+
'static',
|
|
42
|
+
'switch',
|
|
43
|
+
'typeof',
|
|
44
|
+
'default',
|
|
45
|
+
'extends',
|
|
46
|
+
'finally',
|
|
47
|
+
'package',
|
|
48
|
+
'private',
|
|
49
|
+
'continue',
|
|
50
|
+
'debugger',
|
|
51
|
+
'function',
|
|
52
|
+
'arguments',
|
|
53
|
+
'interface',
|
|
54
|
+
'protected',
|
|
55
|
+
'implements',
|
|
56
|
+
'instanceof',
|
|
57
|
+
'NaN',
|
|
58
|
+
'undefined'
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
var RESERVED_MAP = {}
|
|
62
|
+
|
|
63
|
+
for (var i = 0; i < RESERVED.length; i++) {
|
|
64
|
+
RESERVED_MAP[RESERVED[i]] = true
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
var isVariable = function (name) {
|
|
68
|
+
return isProperty(name) && !RESERVED_MAP.hasOwnProperty(name)
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
var formats = {
|
|
72
|
+
s: function(s) {
|
|
73
|
+
return '' + s
|
|
74
|
+
},
|
|
75
|
+
d: function(d) {
|
|
76
|
+
return '' + Number(d)
|
|
77
|
+
},
|
|
78
|
+
o: function(o) {
|
|
79
|
+
return JSON.stringify(o)
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
var genfun = function() {
|
|
84
|
+
var lines = []
|
|
85
|
+
var indent = 0
|
|
86
|
+
var vars = {}
|
|
87
|
+
|
|
88
|
+
var push = function(str) {
|
|
89
|
+
var spaces = ''
|
|
90
|
+
while (spaces.length < indent*2) spaces += ' '
|
|
91
|
+
lines.push(spaces+str)
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
var pushLine = function(line) {
|
|
95
|
+
if (INDENT_END.test(line.trim()[0]) && INDENT_START.test(line[line.length-1])) {
|
|
96
|
+
indent--
|
|
97
|
+
push(line)
|
|
98
|
+
indent++
|
|
99
|
+
return
|
|
100
|
+
}
|
|
101
|
+
if (INDENT_START.test(line[line.length-1])) {
|
|
102
|
+
push(line)
|
|
103
|
+
indent++
|
|
104
|
+
return
|
|
105
|
+
}
|
|
106
|
+
if (INDENT_END.test(line.trim()[0])) {
|
|
107
|
+
indent--
|
|
108
|
+
push(line)
|
|
109
|
+
return
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
push(line)
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
var line = function(fmt) {
|
|
116
|
+
if (!fmt) return line
|
|
117
|
+
|
|
118
|
+
if (arguments.length === 1 && fmt.indexOf('\n') > -1) {
|
|
119
|
+
var lines = fmt.trim().split('\n')
|
|
120
|
+
for (var i = 0; i < lines.length; i++) {
|
|
121
|
+
pushLine(lines[i].trim())
|
|
122
|
+
}
|
|
123
|
+
} else {
|
|
124
|
+
pushLine(util.format.apply(util, arguments))
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
return line
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
line.scope = {}
|
|
131
|
+
line.formats = formats
|
|
132
|
+
|
|
133
|
+
line.sym = function(name) {
|
|
134
|
+
if (!name || !isVariable(name)) name = 'tmp'
|
|
135
|
+
if (!vars[name]) vars[name] = 0
|
|
136
|
+
return name + (vars[name]++ || '')
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
line.property = function(obj, name) {
|
|
140
|
+
if (arguments.length === 1) {
|
|
141
|
+
name = obj
|
|
142
|
+
obj = ''
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
name = name + ''
|
|
146
|
+
|
|
147
|
+
if (isProperty(name)) return (obj ? obj + '.' + name : name)
|
|
148
|
+
return obj ? obj + '[' + JSON.stringify(name) + ']' : JSON.stringify(name)
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
line.toString = function() {
|
|
152
|
+
return lines.join('\n')
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
line.toFunction = function(scope) {
|
|
156
|
+
if (!scope) scope = {}
|
|
157
|
+
|
|
158
|
+
var src = 'return ('+line.toString()+')'
|
|
159
|
+
|
|
160
|
+
Object.keys(line.scope).forEach(function (key) {
|
|
161
|
+
if (!scope[key]) scope[key] = line.scope[key]
|
|
162
|
+
})
|
|
163
|
+
|
|
164
|
+
var keys = Object.keys(scope).map(function(key) {
|
|
165
|
+
return key
|
|
166
|
+
})
|
|
167
|
+
|
|
168
|
+
var vals = keys.map(function(key) {
|
|
169
|
+
return scope[key]
|
|
170
|
+
})
|
|
171
|
+
|
|
172
|
+
return Function.apply(null, keys.concat(src)).apply(null, vals)
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
if (arguments.length) line.apply(null, arguments)
|
|
176
|
+
|
|
177
|
+
return line
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
genfun.formats = formats
|
|
181
|
+
module.exports = genfun
|