pecunia-root 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/prisma-adapter/index.d.mts +1 -1
- package/dist/adapters/prisma-adapter/index.mjs +1 -1
- package/dist/adapters/prisma-adapter/index.mjs.map +1 -1
- package/dist/context/index.mjs +1 -1
- package/dist/context/index.mjs.map +1 -1
- package/dist/index.d.mts +1 -2
- package/dist/index.mjs +1 -2
- package/package.json +2 -16
- package/dist/_virtual/rolldown_runtime.mjs +0 -8
- package/dist/adapters/mongodb-adapter/index.d.mts +0 -35
- package/dist/adapters/mongodb-adapter/index.mjs +0 -314
- package/dist/adapters/mongodb-adapter/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/code-points-data.mjs +0 -14
- package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/code-points-data.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/index.mjs +0 -54
- package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/memory-code-points.mjs +0 -36
- package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/memory-code-points.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/node.mjs +0 -27
- package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/node.mjs.map +0 -1
- package/dist/node_modules/.pnpm/bson@6.10.4/node_modules/bson/lib/bson.mjs +0 -3728
- package/dist/node_modules/.pnpm/bson@6.10.4/node_modules/bson/lib/bson.mjs.map +0 -1
- package/dist/node_modules/.pnpm/memory-pager@1.5.0/node_modules/memory-pager/index.mjs +0 -137
- package/dist/node_modules/.pnpm/memory-pager@1.5.0/node_modules/memory-pager/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb-connection-string-url@3.0.2/node_modules/mongodb-connection-string-url/lib/index.mjs +0 -211
- package/dist/node_modules/.pnpm/mongodb-connection-string-url@3.0.2/node_modules/mongodb-connection-string-url/lib/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb-connection-string-url@3.0.2/node_modules/mongodb-connection-string-url/lib/redact.mjs +0 -95
- package/dist/node_modules/.pnpm/mongodb-connection-string-url@3.0.2/node_modules/mongodb-connection-string-url/lib/redact.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/admin.mjs +0 -158
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/admin.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bson.mjs +0 -195
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bson.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/common.mjs +0 -710
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/common.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/ordered.mjs +0 -53
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/ordered.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/unordered.mjs +0 -63
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/unordered.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/change_stream.mjs +0 -368
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/change_stream.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/auto_encrypter.mjs +0 -234
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/auto_encrypter.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/client_encryption.mjs +0 -545
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/client_encryption.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/crypto_callbacks.mjs +0 -83
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/crypto_callbacks.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/errors.mjs +0 -146
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/errors.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/mongocryptd_manager.mjs +0 -58
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/mongocryptd_manager.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/aws.mjs +0 -30
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/aws.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/azure.mjs +0 -135
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/azure.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/gcp.mjs +0 -25
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/gcp.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/index.mjs +0 -47
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/state_machine.mjs +0 -362
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/state_machine.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/auth_provider.mjs +0 -58
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/auth_provider.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/aws_temporary_credentials.mjs +0 -123
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/aws_temporary_credentials.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/gssapi.mjs +0 -128
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/gssapi.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongo_credentials.mjs +0 -133
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongo_credentials.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_aws.mjs +0 -126
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_aws.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/automated_callback_workflow.mjs +0 -79
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/automated_callback_workflow.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_machine_workflow.mjs +0 -65
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_machine_workflow.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_workflow.mjs +0 -127
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_workflow.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/command_builders.mjs +0 -47
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/command_builders.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/gcp_machine_workflow.mjs +0 -44
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/gcp_machine_workflow.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/human_callback_workflow.mjs +0 -101
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/human_callback_workflow.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/k8s_machine_workflow.mjs +0 -33
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/k8s_machine_workflow.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_cache.mjs +0 -53
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_cache.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_machine_workflow.mjs +0 -29
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_machine_workflow.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.mjs +0 -83
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/plain.mjs +0 -36
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/plain.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/providers.mjs +0 -32
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/providers.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/scram.mjs +0 -206
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/scram.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/x509.mjs +0 -45
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/x509.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/command_monitoring_events.mjs +0 -213
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/command_monitoring_events.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/commands.mjs +0 -411
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/commands.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connect.mjs +0 -288
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connect.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection.mjs +0 -423
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection_pool.mjs +0 -483
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection_pool.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection_pool_events.mjs +0 -207
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection_pool_events.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/errors.mjs +0 -116
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/errors.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/handshake/client_metadata.mjs +0 -183
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/handshake/client_metadata.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/metrics.mjs +0 -55
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/metrics.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/stream_description.mjs +0 -60
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/stream_description.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/compression.mjs +0 -139
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/compression.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/constants.mjs +0 -28
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/constants.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/on_data.mjs +0 -117
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/on_data.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/on_demand/document.mjs +0 -182
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/on_demand/document.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/responses.mjs +0 -304
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/responses.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/shared.mjs +0 -34
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/shared.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/collection.mjs +0 -739
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/collection.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/connection_string.mjs +0 -805
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/connection_string.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/constants.mjs +0 -174
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/constants.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/abstract_cursor.mjs +0 -726
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/abstract_cursor.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/aggregation_cursor.mjs +0 -172
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/aggregation_cursor.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/change_stream_cursor.mjs +0 -103
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/change_stream_cursor.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/client_bulk_write_cursor.mjs +0 -66
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/client_bulk_write_cursor.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/explainable_cursor.mjs +0 -41
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/explainable_cursor.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/find_cursor.mjs +0 -365
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/find_cursor.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_collections_cursor.mjs +0 -50
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_collections_cursor.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_indexes_cursor.mjs +0 -48
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_indexes_cursor.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_search_indexes_cursor.mjs +0 -23
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_search_indexes_cursor.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/run_command_cursor.mjs +0 -106
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/run_command_cursor.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/db.mjs +0 -428
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/db.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/deps.mjs +0 -124
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/deps.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/encrypter.mjs +0 -95
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/encrypter.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/error.mjs +0 -1305
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/error.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/explain.mjs +0 -59
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/explain.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/download.mjs +0 -250
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/download.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/index.mjs +0 -170
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/upload.mjs +0 -315
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/upload.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/index.mjs +0 -925
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_client.mjs +0 -520
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_client.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_client_auth_providers.mjs +0 -90
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_client_auth_providers.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_logger.mjs +0 -582
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_logger.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_types.mjs +0 -64
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_types.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/aggregate.mjs +0 -86
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/aggregate.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/client_bulk_write.mjs +0 -60
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/client_bulk_write.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/command_builder.mjs +0 -264
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/command_builder.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/executor.mjs +0 -109
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/executor.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/results_merger.mjs +0 -172
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/results_merger.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/command.mjs +0 -68
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/command.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/count.mjs +0 -53
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/count.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/create_collection.mjs +0 -123
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/create_collection.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/delete.mjs +0 -119
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/delete.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/distinct.mjs +0 -65
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/distinct.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/drop.mjs +0 -97
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/drop.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/estimated_document_count.mjs +0 -47
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/estimated_document_count.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/execute_operation.mjs +0 -188
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/execute_operation.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/find.mjs +0 -103
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/find.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/find_and_modify.mjs +0 -136
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/find_and_modify.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/get_more.mjs +0 -61
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/get_more.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/indexes.mjs +0 -179
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/indexes.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/insert.mjs +0 -77
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/insert.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/kill_cursors.mjs +0 -48
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/kill_cursors.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/list_collections.mjs +0 -60
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/list_collections.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/list_databases.mjs +0 -43
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/list_databases.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/operation.mjs +0 -105
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/operation.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/profiling_level.mjs +0 -50
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/profiling_level.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/remove_user.mjs +0 -39
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/remove_user.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/rename.mjs +0 -49
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/rename.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/run_command.mjs +0 -58
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/run_command.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/create.mjs +0 -46
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/create.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/drop.mjs +0 -48
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/drop.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/update.mjs +0 -46
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/update.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/set_profiling_level.mjs +0 -67
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/set_profiling_level.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/stats.mjs +0 -37
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/stats.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/update.mjs +0 -171
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/update.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/validate_collection.mjs +0 -45
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/validate_collection.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/read_concern.mjs +0 -71
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/read_concern.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/read_preference.mjs +0 -165
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/read_preference.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/resource_management.mjs +0 -62
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/resource_management.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/common.mjs +0 -51
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/common.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/events.mjs +0 -156
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/events.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/monitor.mjs +0 -477
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/monitor.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server.mjs +0 -315
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_description.mjs +0 -157
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_description.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_selection.mjs +0 -184
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_selection.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_selection_events.mjs +0 -96
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_selection_events.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/srv_polling.mjs +0 -107
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/srv_polling.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/topology.mjs +0 -540
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/topology.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/topology_description.mjs +0 -298
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/topology_description.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sessions.mjs +0 -623
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sessions.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sort.mjs +0 -91
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sort.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/timeout.mjs +0 -254
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/timeout.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/transactions.mjs +0 -138
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/transactions.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/utils.mjs +0 -993
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/utils.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/write_concern.mjs +0 -81
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/write_concern.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/package.mjs +0 -171
- package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/package.mjs.map +0 -1
- package/dist/node_modules/.pnpm/punycode@2.3.1/node_modules/punycode/punycode.mjs +0 -295
- package/dist/node_modules/.pnpm/punycode@2.3.1/node_modules/punycode/punycode.mjs.map +0 -1
- package/dist/node_modules/.pnpm/sparse-bitfield@3.0.3/node_modules/sparse-bitfield/index.mjs +0 -81
- package/dist/node_modules/.pnpm/sparse-bitfield@3.0.3/node_modules/sparse-bitfield/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/index.mjs +0 -206
- package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/mappingTable.mjs +0 -33590
- package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/mappingTable.mjs.map +0 -1
- package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/regexes.mjs +0 -37
- package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/regexes.mjs.map +0 -1
- package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/statusMapping.mjs +0 -18
- package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/statusMapping.mjs.map +0 -1
- package/dist/node_modules/.pnpm/webidl-conversions@7.0.0/node_modules/webidl-conversions/lib/index.mjs +0 -252
- package/dist/node_modules/.pnpm/webidl-conversions@7.0.0/node_modules/webidl-conversions/lib/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/index.mjs +0 -41
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/Function.mjs +0 -41
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/Function.mjs.map +0 -1
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URL-impl.mjs +0 -173
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URL-impl.mjs.map +0 -1
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URL.mjs +0 -334
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URL.mjs.map +0 -1
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URLSearchParams-impl.mjs +0 -90
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URLSearchParams-impl.mjs.map +0 -1
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URLSearchParams.mjs +0 -356
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URLSearchParams.mjs.map +0 -1
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/encoding.mjs +0 -23
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/encoding.mjs.map +0 -1
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/infra.mjs +0 -29
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/infra.mjs.map +0 -1
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/percent-encoding.mjs +0 -140
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/percent-encoding.mjs.map +0 -1
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/url-state-machine.mjs +0 -831
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/url-state-machine.mjs.map +0 -1
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/urlencoded.mjs +0 -77
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/urlencoded.mjs.map +0 -1
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/utils.mjs +0 -147
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/utils.mjs.map +0 -1
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/webidl2js-wrapper.mjs +0 -17
- package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/webidl2js-wrapper.mjs.map +0 -1
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
-
import { require_constants } from "../constants.mjs";
|
|
3
|
-
import { require_utils } from "../utils.mjs";
|
|
4
|
-
|
|
5
|
-
//#region ../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection_pool_events.js
|
|
6
|
-
var require_connection_pool_events = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.ConnectionPoolClearedEvent = exports.ConnectionCheckedInEvent = exports.ConnectionCheckedOutEvent = exports.ConnectionCheckOutFailedEvent = exports.ConnectionCheckOutStartedEvent = exports.ConnectionClosedEvent = exports.ConnectionReadyEvent = exports.ConnectionCreatedEvent = exports.ConnectionPoolClosedEvent = exports.ConnectionPoolReadyEvent = exports.ConnectionPoolCreatedEvent = exports.ConnectionPoolMonitoringEvent = void 0;
|
|
9
|
-
const constants_1 = require_constants();
|
|
10
|
-
const utils_1 = require_utils();
|
|
11
|
-
/**
|
|
12
|
-
* The base export class for all monitoring events published from the connection pool
|
|
13
|
-
* @public
|
|
14
|
-
* @category Event
|
|
15
|
-
*/
|
|
16
|
-
var ConnectionPoolMonitoringEvent = class {
|
|
17
|
-
/** @internal */
|
|
18
|
-
constructor(pool) {
|
|
19
|
-
this.time = /* @__PURE__ */ new Date();
|
|
20
|
-
this.address = pool.address;
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
exports.ConnectionPoolMonitoringEvent = ConnectionPoolMonitoringEvent;
|
|
24
|
-
/**
|
|
25
|
-
* An event published when a connection pool is created
|
|
26
|
-
* @public
|
|
27
|
-
* @category Event
|
|
28
|
-
*/
|
|
29
|
-
var ConnectionPoolCreatedEvent = class extends ConnectionPoolMonitoringEvent {
|
|
30
|
-
/** @internal */
|
|
31
|
-
constructor(pool) {
|
|
32
|
-
super(pool);
|
|
33
|
-
/** @internal */
|
|
34
|
-
this.name = constants_1.CONNECTION_POOL_CREATED;
|
|
35
|
-
const { maxConnecting, maxPoolSize, minPoolSize, maxIdleTimeMS, waitQueueTimeoutMS } = pool.options;
|
|
36
|
-
this.options = {
|
|
37
|
-
maxConnecting,
|
|
38
|
-
maxPoolSize,
|
|
39
|
-
minPoolSize,
|
|
40
|
-
maxIdleTimeMS,
|
|
41
|
-
waitQueueTimeoutMS
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
exports.ConnectionPoolCreatedEvent = ConnectionPoolCreatedEvent;
|
|
46
|
-
/**
|
|
47
|
-
* An event published when a connection pool is ready
|
|
48
|
-
* @public
|
|
49
|
-
* @category Event
|
|
50
|
-
*/
|
|
51
|
-
var ConnectionPoolReadyEvent = class extends ConnectionPoolMonitoringEvent {
|
|
52
|
-
/** @internal */
|
|
53
|
-
constructor(pool) {
|
|
54
|
-
super(pool);
|
|
55
|
-
/** @internal */
|
|
56
|
-
this.name = constants_1.CONNECTION_POOL_READY;
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
exports.ConnectionPoolReadyEvent = ConnectionPoolReadyEvent;
|
|
60
|
-
/**
|
|
61
|
-
* An event published when a connection pool is closed
|
|
62
|
-
* @public
|
|
63
|
-
* @category Event
|
|
64
|
-
*/
|
|
65
|
-
var ConnectionPoolClosedEvent = class extends ConnectionPoolMonitoringEvent {
|
|
66
|
-
/** @internal */
|
|
67
|
-
constructor(pool) {
|
|
68
|
-
super(pool);
|
|
69
|
-
/** @internal */
|
|
70
|
-
this.name = constants_1.CONNECTION_POOL_CLOSED;
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
exports.ConnectionPoolClosedEvent = ConnectionPoolClosedEvent;
|
|
74
|
-
/**
|
|
75
|
-
* An event published when a connection pool creates a new connection
|
|
76
|
-
* @public
|
|
77
|
-
* @category Event
|
|
78
|
-
*/
|
|
79
|
-
var ConnectionCreatedEvent = class extends ConnectionPoolMonitoringEvent {
|
|
80
|
-
/** @internal */
|
|
81
|
-
constructor(pool, connection) {
|
|
82
|
-
super(pool);
|
|
83
|
-
/** @internal */
|
|
84
|
-
this.name = constants_1.CONNECTION_CREATED;
|
|
85
|
-
this.connectionId = connection.id;
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
exports.ConnectionCreatedEvent = ConnectionCreatedEvent;
|
|
89
|
-
/**
|
|
90
|
-
* An event published when a connection is ready for use
|
|
91
|
-
* @public
|
|
92
|
-
* @category Event
|
|
93
|
-
*/
|
|
94
|
-
var ConnectionReadyEvent = class extends ConnectionPoolMonitoringEvent {
|
|
95
|
-
/** @internal */
|
|
96
|
-
constructor(pool, connection, connectionCreatedEventTime) {
|
|
97
|
-
super(pool);
|
|
98
|
-
/** @internal */
|
|
99
|
-
this.name = constants_1.CONNECTION_READY;
|
|
100
|
-
this.durationMS = (0, utils_1.now)() - connectionCreatedEventTime;
|
|
101
|
-
this.connectionId = connection.id;
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
exports.ConnectionReadyEvent = ConnectionReadyEvent;
|
|
105
|
-
/**
|
|
106
|
-
* An event published when a connection is closed
|
|
107
|
-
* @public
|
|
108
|
-
* @category Event
|
|
109
|
-
*/
|
|
110
|
-
var ConnectionClosedEvent = class extends ConnectionPoolMonitoringEvent {
|
|
111
|
-
/** @internal */
|
|
112
|
-
constructor(pool, connection, reason, error) {
|
|
113
|
-
super(pool);
|
|
114
|
-
/** @internal */
|
|
115
|
-
this.name = constants_1.CONNECTION_CLOSED;
|
|
116
|
-
this.connectionId = connection.id;
|
|
117
|
-
this.reason = reason;
|
|
118
|
-
this.serviceId = connection.serviceId;
|
|
119
|
-
this.error = error ?? null;
|
|
120
|
-
}
|
|
121
|
-
};
|
|
122
|
-
exports.ConnectionClosedEvent = ConnectionClosedEvent;
|
|
123
|
-
/**
|
|
124
|
-
* An event published when a request to check a connection out begins
|
|
125
|
-
* @public
|
|
126
|
-
* @category Event
|
|
127
|
-
*/
|
|
128
|
-
var ConnectionCheckOutStartedEvent = class extends ConnectionPoolMonitoringEvent {
|
|
129
|
-
/** @internal */
|
|
130
|
-
constructor(pool) {
|
|
131
|
-
super(pool);
|
|
132
|
-
/** @internal */
|
|
133
|
-
this.name = constants_1.CONNECTION_CHECK_OUT_STARTED;
|
|
134
|
-
}
|
|
135
|
-
};
|
|
136
|
-
exports.ConnectionCheckOutStartedEvent = ConnectionCheckOutStartedEvent;
|
|
137
|
-
/**
|
|
138
|
-
* An event published when a request to check a connection out fails
|
|
139
|
-
* @public
|
|
140
|
-
* @category Event
|
|
141
|
-
*/
|
|
142
|
-
var ConnectionCheckOutFailedEvent = class extends ConnectionPoolMonitoringEvent {
|
|
143
|
-
/** @internal */
|
|
144
|
-
constructor(pool, reason, checkoutTime, error) {
|
|
145
|
-
super(pool);
|
|
146
|
-
/** @internal */
|
|
147
|
-
this.name = constants_1.CONNECTION_CHECK_OUT_FAILED;
|
|
148
|
-
this.durationMS = (0, utils_1.now)() - checkoutTime;
|
|
149
|
-
this.reason = reason;
|
|
150
|
-
this.error = error;
|
|
151
|
-
}
|
|
152
|
-
};
|
|
153
|
-
exports.ConnectionCheckOutFailedEvent = ConnectionCheckOutFailedEvent;
|
|
154
|
-
/**
|
|
155
|
-
* An event published when a connection is checked out of the connection pool
|
|
156
|
-
* @public
|
|
157
|
-
* @category Event
|
|
158
|
-
*/
|
|
159
|
-
var ConnectionCheckedOutEvent = class extends ConnectionPoolMonitoringEvent {
|
|
160
|
-
/** @internal */
|
|
161
|
-
constructor(pool, connection, checkoutTime) {
|
|
162
|
-
super(pool);
|
|
163
|
-
/** @internal */
|
|
164
|
-
this.name = constants_1.CONNECTION_CHECKED_OUT;
|
|
165
|
-
this.durationMS = (0, utils_1.now)() - checkoutTime;
|
|
166
|
-
this.connectionId = connection.id;
|
|
167
|
-
}
|
|
168
|
-
};
|
|
169
|
-
exports.ConnectionCheckedOutEvent = ConnectionCheckedOutEvent;
|
|
170
|
-
/**
|
|
171
|
-
* An event published when a connection is checked into the connection pool
|
|
172
|
-
* @public
|
|
173
|
-
* @category Event
|
|
174
|
-
*/
|
|
175
|
-
var ConnectionCheckedInEvent = class extends ConnectionPoolMonitoringEvent {
|
|
176
|
-
/** @internal */
|
|
177
|
-
constructor(pool, connection) {
|
|
178
|
-
super(pool);
|
|
179
|
-
/** @internal */
|
|
180
|
-
this.name = constants_1.CONNECTION_CHECKED_IN;
|
|
181
|
-
this.connectionId = connection.id;
|
|
182
|
-
}
|
|
183
|
-
};
|
|
184
|
-
exports.ConnectionCheckedInEvent = ConnectionCheckedInEvent;
|
|
185
|
-
/**
|
|
186
|
-
* An event published when a connection pool is cleared
|
|
187
|
-
* @public
|
|
188
|
-
* @category Event
|
|
189
|
-
*/
|
|
190
|
-
var ConnectionPoolClearedEvent = class extends ConnectionPoolMonitoringEvent {
|
|
191
|
-
/** @internal */
|
|
192
|
-
constructor(pool, options = {}) {
|
|
193
|
-
super(pool);
|
|
194
|
-
/** @internal */
|
|
195
|
-
this.name = constants_1.CONNECTION_POOL_CLEARED;
|
|
196
|
-
this.serviceId = options.serviceId;
|
|
197
|
-
this.interruptInUseConnections = options.interruptInUseConnections;
|
|
198
|
-
}
|
|
199
|
-
};
|
|
200
|
-
exports.ConnectionPoolClearedEvent = ConnectionPoolClearedEvent;
|
|
201
|
-
}));
|
|
202
|
-
|
|
203
|
-
//#endregion
|
|
204
|
-
export default require_connection_pool_events();
|
|
205
|
-
|
|
206
|
-
export { require_connection_pool_events };
|
|
207
|
-
//# sourceMappingURL=connection_pool_events.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"connection_pool_events.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection_pool_events.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ConnectionPoolClearedEvent = exports.ConnectionCheckedInEvent = exports.ConnectionCheckedOutEvent = exports.ConnectionCheckOutFailedEvent = exports.ConnectionCheckOutStartedEvent = exports.ConnectionClosedEvent = exports.ConnectionReadyEvent = exports.ConnectionCreatedEvent = exports.ConnectionPoolClosedEvent = exports.ConnectionPoolReadyEvent = exports.ConnectionPoolCreatedEvent = exports.ConnectionPoolMonitoringEvent = void 0;\nconst constants_1 = require(\"../constants\");\nconst utils_1 = require(\"../utils\");\n/**\n * The base export class for all monitoring events published from the connection pool\n * @public\n * @category Event\n */\nclass ConnectionPoolMonitoringEvent {\n /** @internal */\n constructor(pool) {\n this.time = new Date();\n this.address = pool.address;\n }\n}\nexports.ConnectionPoolMonitoringEvent = ConnectionPoolMonitoringEvent;\n/**\n * An event published when a connection pool is created\n * @public\n * @category Event\n */\nclass ConnectionPoolCreatedEvent extends ConnectionPoolMonitoringEvent {\n /** @internal */\n constructor(pool) {\n super(pool);\n /** @internal */\n this.name = constants_1.CONNECTION_POOL_CREATED;\n const { maxConnecting, maxPoolSize, minPoolSize, maxIdleTimeMS, waitQueueTimeoutMS } = pool.options;\n this.options = { maxConnecting, maxPoolSize, minPoolSize, maxIdleTimeMS, waitQueueTimeoutMS };\n }\n}\nexports.ConnectionPoolCreatedEvent = ConnectionPoolCreatedEvent;\n/**\n * An event published when a connection pool is ready\n * @public\n * @category Event\n */\nclass ConnectionPoolReadyEvent extends ConnectionPoolMonitoringEvent {\n /** @internal */\n constructor(pool) {\n super(pool);\n /** @internal */\n this.name = constants_1.CONNECTION_POOL_READY;\n }\n}\nexports.ConnectionPoolReadyEvent = ConnectionPoolReadyEvent;\n/**\n * An event published when a connection pool is closed\n * @public\n * @category Event\n */\nclass ConnectionPoolClosedEvent extends ConnectionPoolMonitoringEvent {\n /** @internal */\n constructor(pool) {\n super(pool);\n /** @internal */\n this.name = constants_1.CONNECTION_POOL_CLOSED;\n }\n}\nexports.ConnectionPoolClosedEvent = ConnectionPoolClosedEvent;\n/**\n * An event published when a connection pool creates a new connection\n * @public\n * @category Event\n */\nclass ConnectionCreatedEvent extends ConnectionPoolMonitoringEvent {\n /** @internal */\n constructor(pool, connection) {\n super(pool);\n /** @internal */\n this.name = constants_1.CONNECTION_CREATED;\n this.connectionId = connection.id;\n }\n}\nexports.ConnectionCreatedEvent = ConnectionCreatedEvent;\n/**\n * An event published when a connection is ready for use\n * @public\n * @category Event\n */\nclass ConnectionReadyEvent extends ConnectionPoolMonitoringEvent {\n /** @internal */\n constructor(pool, connection, connectionCreatedEventTime) {\n super(pool);\n /** @internal */\n this.name = constants_1.CONNECTION_READY;\n this.durationMS = (0, utils_1.now)() - connectionCreatedEventTime;\n this.connectionId = connection.id;\n }\n}\nexports.ConnectionReadyEvent = ConnectionReadyEvent;\n/**\n * An event published when a connection is closed\n * @public\n * @category Event\n */\nclass ConnectionClosedEvent extends ConnectionPoolMonitoringEvent {\n /** @internal */\n constructor(pool, connection, reason, error) {\n super(pool);\n /** @internal */\n this.name = constants_1.CONNECTION_CLOSED;\n this.connectionId = connection.id;\n this.reason = reason;\n this.serviceId = connection.serviceId;\n this.error = error ?? null;\n }\n}\nexports.ConnectionClosedEvent = ConnectionClosedEvent;\n/**\n * An event published when a request to check a connection out begins\n * @public\n * @category Event\n */\nclass ConnectionCheckOutStartedEvent extends ConnectionPoolMonitoringEvent {\n /** @internal */\n constructor(pool) {\n super(pool);\n /** @internal */\n this.name = constants_1.CONNECTION_CHECK_OUT_STARTED;\n }\n}\nexports.ConnectionCheckOutStartedEvent = ConnectionCheckOutStartedEvent;\n/**\n * An event published when a request to check a connection out fails\n * @public\n * @category Event\n */\nclass ConnectionCheckOutFailedEvent extends ConnectionPoolMonitoringEvent {\n /** @internal */\n constructor(pool, reason, checkoutTime, error) {\n super(pool);\n /** @internal */\n this.name = constants_1.CONNECTION_CHECK_OUT_FAILED;\n this.durationMS = (0, utils_1.now)() - checkoutTime;\n this.reason = reason;\n this.error = error;\n }\n}\nexports.ConnectionCheckOutFailedEvent = ConnectionCheckOutFailedEvent;\n/**\n * An event published when a connection is checked out of the connection pool\n * @public\n * @category Event\n */\nclass ConnectionCheckedOutEvent extends ConnectionPoolMonitoringEvent {\n /** @internal */\n constructor(pool, connection, checkoutTime) {\n super(pool);\n /** @internal */\n this.name = constants_1.CONNECTION_CHECKED_OUT;\n this.durationMS = (0, utils_1.now)() - checkoutTime;\n this.connectionId = connection.id;\n }\n}\nexports.ConnectionCheckedOutEvent = ConnectionCheckedOutEvent;\n/**\n * An event published when a connection is checked into the connection pool\n * @public\n * @category Event\n */\nclass ConnectionCheckedInEvent extends ConnectionPoolMonitoringEvent {\n /** @internal */\n constructor(pool, connection) {\n super(pool);\n /** @internal */\n this.name = constants_1.CONNECTION_CHECKED_IN;\n this.connectionId = connection.id;\n }\n}\nexports.ConnectionCheckedInEvent = ConnectionCheckedInEvent;\n/**\n * An event published when a connection pool is cleared\n * @public\n * @category Event\n */\nclass ConnectionPoolClearedEvent extends ConnectionPoolMonitoringEvent {\n /** @internal */\n constructor(pool, options = {}) {\n super(pool);\n /** @internal */\n this.name = constants_1.CONNECTION_POOL_CLEARED;\n this.serviceId = options.serviceId;\n this.interruptInUseConnections = options.interruptInUseConnections;\n }\n}\nexports.ConnectionPoolClearedEvent = ConnectionPoolClearedEvent;\n//# sourceMappingURL=connection_pool_events.js.map"],"x_google_ignoreList":[0],"mappings":"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"}
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
-
import { require_error } from "../error.mjs";
|
|
3
|
-
|
|
4
|
-
//#region ../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/errors.js
|
|
5
|
-
var require_errors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.WaitQueueTimeoutError = exports.PoolClearedOnNetworkError = exports.PoolClearedError = exports.PoolClosedError = void 0;
|
|
8
|
-
const error_1 = require_error();
|
|
9
|
-
/**
|
|
10
|
-
* An error indicating a connection pool is closed
|
|
11
|
-
* @category Error
|
|
12
|
-
*/
|
|
13
|
-
var PoolClosedError = class extends error_1.MongoDriverError {
|
|
14
|
-
/**
|
|
15
|
-
* **Do not use this constructor!**
|
|
16
|
-
*
|
|
17
|
-
* Meant for internal use only.
|
|
18
|
-
*
|
|
19
|
-
* @remarks
|
|
20
|
-
* This class is only meant to be constructed within the driver. This constructor is
|
|
21
|
-
* not subject to semantic versioning compatibility guarantees and may change at any time.
|
|
22
|
-
*
|
|
23
|
-
* @public
|
|
24
|
-
**/
|
|
25
|
-
constructor(pool) {
|
|
26
|
-
super("Attempted to check out a connection from closed connection pool");
|
|
27
|
-
this.address = pool.address;
|
|
28
|
-
}
|
|
29
|
-
get name() {
|
|
30
|
-
return "MongoPoolClosedError";
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
exports.PoolClosedError = PoolClosedError;
|
|
34
|
-
/**
|
|
35
|
-
* An error indicating a connection pool is currently paused
|
|
36
|
-
* @category Error
|
|
37
|
-
*/
|
|
38
|
-
var PoolClearedError = class extends error_1.MongoNetworkError {
|
|
39
|
-
/**
|
|
40
|
-
* **Do not use this constructor!**
|
|
41
|
-
*
|
|
42
|
-
* Meant for internal use only.
|
|
43
|
-
*
|
|
44
|
-
* @remarks
|
|
45
|
-
* This class is only meant to be constructed within the driver. This constructor is
|
|
46
|
-
* not subject to semantic versioning compatibility guarantees and may change at any time.
|
|
47
|
-
*
|
|
48
|
-
* @public
|
|
49
|
-
**/
|
|
50
|
-
constructor(pool, message) {
|
|
51
|
-
const errorMessage = message ? message : `Connection pool for ${pool.address} was cleared because another operation failed with: "${pool.serverError?.message}"`;
|
|
52
|
-
super(errorMessage, pool.serverError ? { cause: pool.serverError } : void 0);
|
|
53
|
-
this.address = pool.address;
|
|
54
|
-
this.addErrorLabel(error_1.MongoErrorLabel.PoolRequstedRetry);
|
|
55
|
-
}
|
|
56
|
-
get name() {
|
|
57
|
-
return "MongoPoolClearedError";
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
exports.PoolClearedError = PoolClearedError;
|
|
61
|
-
/**
|
|
62
|
-
* An error indicating that a connection pool has been cleared after the monitor for that server timed out.
|
|
63
|
-
* @category Error
|
|
64
|
-
*/
|
|
65
|
-
var PoolClearedOnNetworkError = class extends PoolClearedError {
|
|
66
|
-
/**
|
|
67
|
-
* **Do not use this constructor!**
|
|
68
|
-
*
|
|
69
|
-
* Meant for internal use only.
|
|
70
|
-
*
|
|
71
|
-
* @remarks
|
|
72
|
-
* This class is only meant to be constructed within the driver. This constructor is
|
|
73
|
-
* not subject to semantic versioning compatibility guarantees and may change at any time.
|
|
74
|
-
*
|
|
75
|
-
* @public
|
|
76
|
-
**/
|
|
77
|
-
constructor(pool) {
|
|
78
|
-
super(pool, `Connection to ${pool.address} interrupted due to server monitor timeout`);
|
|
79
|
-
}
|
|
80
|
-
get name() {
|
|
81
|
-
return "PoolClearedOnNetworkError";
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
exports.PoolClearedOnNetworkError = PoolClearedOnNetworkError;
|
|
85
|
-
/**
|
|
86
|
-
* An error thrown when a request to check out a connection times out
|
|
87
|
-
* @category Error
|
|
88
|
-
*/
|
|
89
|
-
var WaitQueueTimeoutError = class extends error_1.MongoDriverError {
|
|
90
|
-
/**
|
|
91
|
-
* **Do not use this constructor!**
|
|
92
|
-
*
|
|
93
|
-
* Meant for internal use only.
|
|
94
|
-
*
|
|
95
|
-
* @remarks
|
|
96
|
-
* This class is only meant to be constructed within the driver. This constructor is
|
|
97
|
-
* not subject to semantic versioning compatibility guarantees and may change at any time.
|
|
98
|
-
*
|
|
99
|
-
* @public
|
|
100
|
-
**/
|
|
101
|
-
constructor(message, address) {
|
|
102
|
-
super(message);
|
|
103
|
-
this.address = address;
|
|
104
|
-
}
|
|
105
|
-
get name() {
|
|
106
|
-
return "MongoWaitQueueTimeoutError";
|
|
107
|
-
}
|
|
108
|
-
};
|
|
109
|
-
exports.WaitQueueTimeoutError = WaitQueueTimeoutError;
|
|
110
|
-
}));
|
|
111
|
-
|
|
112
|
-
//#endregion
|
|
113
|
-
export default require_errors();
|
|
114
|
-
|
|
115
|
-
export { require_errors };
|
|
116
|
-
//# sourceMappingURL=errors.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/errors.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WaitQueueTimeoutError = exports.PoolClearedOnNetworkError = exports.PoolClearedError = exports.PoolClosedError = void 0;\nconst error_1 = require(\"../error\");\n/**\n * An error indicating a connection pool is closed\n * @category Error\n */\nclass PoolClosedError extends error_1.MongoDriverError {\n /**\n * **Do not use this constructor!**\n *\n * Meant for internal use only.\n *\n * @remarks\n * This class is only meant to be constructed within the driver. This constructor is\n * not subject to semantic versioning compatibility guarantees and may change at any time.\n *\n * @public\n **/\n constructor(pool) {\n super('Attempted to check out a connection from closed connection pool');\n this.address = pool.address;\n }\n get name() {\n return 'MongoPoolClosedError';\n }\n}\nexports.PoolClosedError = PoolClosedError;\n/**\n * An error indicating a connection pool is currently paused\n * @category Error\n */\nclass PoolClearedError extends error_1.MongoNetworkError {\n /**\n * **Do not use this constructor!**\n *\n * Meant for internal use only.\n *\n * @remarks\n * This class is only meant to be constructed within the driver. This constructor is\n * not subject to semantic versioning compatibility guarantees and may change at any time.\n *\n * @public\n **/\n constructor(pool, message) {\n const errorMessage = message\n ? message\n : `Connection pool for ${pool.address} was cleared because another operation failed with: \"${pool.serverError?.message}\"`;\n super(errorMessage, pool.serverError ? { cause: pool.serverError } : undefined);\n this.address = pool.address;\n this.addErrorLabel(error_1.MongoErrorLabel.PoolRequstedRetry);\n }\n get name() {\n return 'MongoPoolClearedError';\n }\n}\nexports.PoolClearedError = PoolClearedError;\n/**\n * An error indicating that a connection pool has been cleared after the monitor for that server timed out.\n * @category Error\n */\nclass PoolClearedOnNetworkError extends PoolClearedError {\n /**\n * **Do not use this constructor!**\n *\n * Meant for internal use only.\n *\n * @remarks\n * This class is only meant to be constructed within the driver. This constructor is\n * not subject to semantic versioning compatibility guarantees and may change at any time.\n *\n * @public\n **/\n constructor(pool) {\n super(pool, `Connection to ${pool.address} interrupted due to server monitor timeout`);\n }\n get name() {\n return 'PoolClearedOnNetworkError';\n }\n}\nexports.PoolClearedOnNetworkError = PoolClearedOnNetworkError;\n/**\n * An error thrown when a request to check out a connection times out\n * @category Error\n */\nclass WaitQueueTimeoutError extends error_1.MongoDriverError {\n /**\n * **Do not use this constructor!**\n *\n * Meant for internal use only.\n *\n * @remarks\n * This class is only meant to be constructed within the driver. This constructor is\n * not subject to semantic versioning compatibility guarantees and may change at any time.\n *\n * @public\n **/\n constructor(message, address) {\n super(message);\n this.address = address;\n }\n get name() {\n return 'MongoWaitQueueTimeoutError';\n }\n}\nexports.WaitQueueTimeoutError = WaitQueueTimeoutError;\n//# sourceMappingURL=errors.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;AACA,QAAO,eAAe,SAAS,cAAc,EAAE,OAAO,MAAM,CAAC;AAC7D,SAAQ,wBAAwB,QAAQ,4BAA4B,QAAQ,mBAAmB,QAAQ,kBAAkB,KAAK;CAC9H,MAAM;;;;;CAKN,IAAM,kBAAN,cAA8B,QAAQ,iBAAiB;;;;;;;;;;;;EAYnD,YAAY,MAAM;AACd,SAAM,kEAAkE;AACxE,QAAK,UAAU,KAAK;;EAExB,IAAI,OAAO;AACP,UAAO;;;AAGf,SAAQ,kBAAkB;;;;;CAK1B,IAAM,mBAAN,cAA+B,QAAQ,kBAAkB;;;;;;;;;;;;EAYrD,YAAY,MAAM,SAAS;GACvB,MAAM,eAAe,UACf,UACA,uBAAuB,KAAK,QAAQ,uDAAuD,KAAK,aAAa,QAAQ;AAC3H,SAAM,cAAc,KAAK,cAAc,EAAE,OAAO,KAAK,aAAa,GAAG,OAAU;AAC/E,QAAK,UAAU,KAAK;AACpB,QAAK,cAAc,QAAQ,gBAAgB,kBAAkB;;EAEjE,IAAI,OAAO;AACP,UAAO;;;AAGf,SAAQ,mBAAmB;;;;;CAK3B,IAAM,4BAAN,cAAwC,iBAAiB;;;;;;;;;;;;EAYrD,YAAY,MAAM;AACd,SAAM,MAAM,iBAAiB,KAAK,QAAQ,4CAA4C;;EAE1F,IAAI,OAAO;AACP,UAAO;;;AAGf,SAAQ,4BAA4B;;;;;CAKpC,IAAM,wBAAN,cAAoC,QAAQ,iBAAiB;;;;;;;;;;;;EAYzD,YAAY,SAAS,SAAS;AAC1B,SAAM,QAAQ;AACd,QAAK,UAAU;;EAEnB,IAAI,OAAO;AACP,UAAO;;;AAGf,SAAQ,wBAAwB"}
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin, __require } from "../../../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
-
import { require_bson } from "../../bson.mjs";
|
|
3
|
-
import { require_error } from "../../error.mjs";
|
|
4
|
-
import { require_utils } from "../../utils.mjs";
|
|
5
|
-
import { require_package } from "../../../package.mjs";
|
|
6
|
-
|
|
7
|
-
//#region ../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/handshake/client_metadata.js
|
|
8
|
-
var require_client_metadata = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.LimitedSizeDocument = void 0;
|
|
11
|
-
exports.isDriverInfoEqual = isDriverInfoEqual;
|
|
12
|
-
exports.makeClientMetadata = makeClientMetadata;
|
|
13
|
-
exports.addContainerMetadata = addContainerMetadata;
|
|
14
|
-
exports.getFAASEnv = getFAASEnv;
|
|
15
|
-
const os = __require("os");
|
|
16
|
-
const process = __require("process");
|
|
17
|
-
const bson_1 = require_bson();
|
|
18
|
-
const error_1 = require_error();
|
|
19
|
-
const utils_1 = require_utils();
|
|
20
|
-
const NODE_DRIVER_VERSION = require_package().version;
|
|
21
|
-
/** @internal */
|
|
22
|
-
function isDriverInfoEqual(info1, info2) {
|
|
23
|
-
/** for equality comparison, we consider "" as unset */
|
|
24
|
-
const nonEmptyCmp = (s1, s2) => {
|
|
25
|
-
s1 ||= void 0;
|
|
26
|
-
s2 ||= void 0;
|
|
27
|
-
return s1 === s2;
|
|
28
|
-
};
|
|
29
|
-
return nonEmptyCmp(info1.name, info2.name) && nonEmptyCmp(info1.platform, info2.platform) && nonEmptyCmp(info1.version, info2.version);
|
|
30
|
-
}
|
|
31
|
-
/** @internal */
|
|
32
|
-
var LimitedSizeDocument = class {
|
|
33
|
-
constructor(maxSize) {
|
|
34
|
-
this.document = /* @__PURE__ */ new Map();
|
|
35
|
-
/** BSON overhead: Int32 + Null byte */
|
|
36
|
-
this.documentSize = 5;
|
|
37
|
-
this.maxSize = maxSize;
|
|
38
|
-
}
|
|
39
|
-
/** Only adds key/value if the bsonByteLength is less than MAX_SIZE */
|
|
40
|
-
ifItFitsItSits(key, value) {
|
|
41
|
-
const newElementSize = bson_1.BSON.serialize((/* @__PURE__ */ new Map()).set(key, value)).byteLength - 5;
|
|
42
|
-
if (newElementSize + this.documentSize > this.maxSize) return false;
|
|
43
|
-
this.documentSize += newElementSize;
|
|
44
|
-
this.document.set(key, value);
|
|
45
|
-
return true;
|
|
46
|
-
}
|
|
47
|
-
toObject() {
|
|
48
|
-
return bson_1.BSON.deserialize(bson_1.BSON.serialize(this.document), {
|
|
49
|
-
promoteLongs: false,
|
|
50
|
-
promoteBuffers: false,
|
|
51
|
-
promoteValues: false,
|
|
52
|
-
useBigInt64: false
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
exports.LimitedSizeDocument = LimitedSizeDocument;
|
|
57
|
-
/**
|
|
58
|
-
* From the specs:
|
|
59
|
-
* Implementors SHOULD cumulatively update fields in the following order until the document is under the size limit:
|
|
60
|
-
* 1. Omit fields from `env` except `env.name`.
|
|
61
|
-
* 2. Omit fields from `os` except `os.type`.
|
|
62
|
-
* 3. Omit the `env` document entirely.
|
|
63
|
-
* 4. Truncate `platform`. -- special we do not truncate this field
|
|
64
|
-
*/
|
|
65
|
-
function makeClientMetadata(driverInfoList, { appName = "" }) {
|
|
66
|
-
const metadataDocument = new LimitedSizeDocument(512);
|
|
67
|
-
if (appName.length > 0) {
|
|
68
|
-
const name = Buffer.byteLength(appName, "utf8") <= 128 ? appName : Buffer.from(appName, "utf8").subarray(0, 128).toString("utf8");
|
|
69
|
-
metadataDocument.ifItFitsItSits("application", { name });
|
|
70
|
-
}
|
|
71
|
-
const driverInfo = {
|
|
72
|
-
name: "nodejs",
|
|
73
|
-
version: NODE_DRIVER_VERSION
|
|
74
|
-
};
|
|
75
|
-
for (const { name: n = "", version: v = "" } of driverInfoList) {
|
|
76
|
-
if (n.length > 0) driverInfo.name = `${driverInfo.name}|${n}`;
|
|
77
|
-
if (v.length > 0) driverInfo.version = `${driverInfo.version}|${v}`;
|
|
78
|
-
}
|
|
79
|
-
if (!metadataDocument.ifItFitsItSits("driver", driverInfo)) throw new error_1.MongoInvalidArgumentError("Unable to include driverInfo name and version, metadata cannot exceed 512 bytes");
|
|
80
|
-
let runtimeInfo = getRuntimeInfo();
|
|
81
|
-
for (const { platform = "" } of driverInfoList) if (platform.length > 0) runtimeInfo = `${runtimeInfo}|${platform}`;
|
|
82
|
-
if (!metadataDocument.ifItFitsItSits("platform", runtimeInfo)) throw new error_1.MongoInvalidArgumentError("Unable to include driverInfo platform, metadata cannot exceed 512 bytes");
|
|
83
|
-
const osInfo = (/* @__PURE__ */ new Map()).set("name", process.platform).set("architecture", process.arch).set("version", os.release()).set("type", os.type());
|
|
84
|
-
if (!metadataDocument.ifItFitsItSits("os", osInfo)) for (const key of osInfo.keys()) {
|
|
85
|
-
osInfo.delete(key);
|
|
86
|
-
if (osInfo.size === 0) break;
|
|
87
|
-
if (metadataDocument.ifItFitsItSits("os", osInfo)) break;
|
|
88
|
-
}
|
|
89
|
-
const faasEnv = getFAASEnv();
|
|
90
|
-
if (faasEnv != null) {
|
|
91
|
-
if (!metadataDocument.ifItFitsItSits("env", faasEnv)) for (const key of faasEnv.keys()) {
|
|
92
|
-
faasEnv.delete(key);
|
|
93
|
-
if (faasEnv.size === 0) break;
|
|
94
|
-
if (metadataDocument.ifItFitsItSits("env", faasEnv)) break;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
return metadataDocument.toObject();
|
|
98
|
-
}
|
|
99
|
-
let dockerPromise;
|
|
100
|
-
/** @internal */
|
|
101
|
-
async function getContainerMetadata() {
|
|
102
|
-
const containerMetadata = {};
|
|
103
|
-
dockerPromise ??= (0, utils_1.fileIsAccessible)("/.dockerenv");
|
|
104
|
-
const isDocker = await dockerPromise;
|
|
105
|
-
const { KUBERNETES_SERVICE_HOST = "" } = process.env;
|
|
106
|
-
const isKubernetes = KUBERNETES_SERVICE_HOST.length > 0 ? true : false;
|
|
107
|
-
if (isDocker) containerMetadata.runtime = "docker";
|
|
108
|
-
if (isKubernetes) containerMetadata.orchestrator = "kubernetes";
|
|
109
|
-
return containerMetadata;
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* @internal
|
|
113
|
-
* Re-add each metadata value.
|
|
114
|
-
* Attempt to add new env container metadata, but keep old data if it does not fit.
|
|
115
|
-
*/
|
|
116
|
-
async function addContainerMetadata(originalMetadata) {
|
|
117
|
-
const containerMetadata = await getContainerMetadata();
|
|
118
|
-
if (Object.keys(containerMetadata).length === 0) return originalMetadata;
|
|
119
|
-
const extendedMetadata = new LimitedSizeDocument(512);
|
|
120
|
-
const extendedEnvMetadata = {
|
|
121
|
-
...originalMetadata?.env,
|
|
122
|
-
container: containerMetadata
|
|
123
|
-
};
|
|
124
|
-
for (const [key, val] of Object.entries(originalMetadata)) if (key !== "env") extendedMetadata.ifItFitsItSits(key, val);
|
|
125
|
-
else if (!extendedMetadata.ifItFitsItSits("env", extendedEnvMetadata)) extendedMetadata.ifItFitsItSits("env", val);
|
|
126
|
-
if (!("env" in originalMetadata)) extendedMetadata.ifItFitsItSits("env", extendedEnvMetadata);
|
|
127
|
-
return extendedMetadata.toObject();
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* Collects FaaS metadata.
|
|
131
|
-
* - `name` MUST be the last key in the Map returned.
|
|
132
|
-
*/
|
|
133
|
-
function getFAASEnv() {
|
|
134
|
-
const { AWS_EXECUTION_ENV = "", AWS_LAMBDA_RUNTIME_API = "", FUNCTIONS_WORKER_RUNTIME = "", K_SERVICE = "", FUNCTION_NAME = "", VERCEL = "", AWS_LAMBDA_FUNCTION_MEMORY_SIZE = "", AWS_REGION = "", FUNCTION_MEMORY_MB = "", FUNCTION_REGION = "", FUNCTION_TIMEOUT_SEC = "", VERCEL_REGION = "" } = process.env;
|
|
135
|
-
const isAWSFaaS = AWS_EXECUTION_ENV.startsWith("AWS_Lambda_") || AWS_LAMBDA_RUNTIME_API.length > 0;
|
|
136
|
-
const isAzureFaaS = FUNCTIONS_WORKER_RUNTIME.length > 0;
|
|
137
|
-
const isGCPFaaS = K_SERVICE.length > 0 || FUNCTION_NAME.length > 0;
|
|
138
|
-
const isVercelFaaS = VERCEL.length > 0;
|
|
139
|
-
const faasEnv = /* @__PURE__ */ new Map();
|
|
140
|
-
if (isVercelFaaS && !(isAzureFaaS || isGCPFaaS)) {
|
|
141
|
-
if (VERCEL_REGION.length > 0) faasEnv.set("region", VERCEL_REGION);
|
|
142
|
-
faasEnv.set("name", "vercel");
|
|
143
|
-
return faasEnv;
|
|
144
|
-
}
|
|
145
|
-
if (isAWSFaaS && !(isAzureFaaS || isGCPFaaS || isVercelFaaS)) {
|
|
146
|
-
if (AWS_REGION.length > 0) faasEnv.set("region", AWS_REGION);
|
|
147
|
-
if (AWS_LAMBDA_FUNCTION_MEMORY_SIZE.length > 0 && Number.isInteger(+AWS_LAMBDA_FUNCTION_MEMORY_SIZE)) faasEnv.set("memory_mb", new bson_1.Int32(AWS_LAMBDA_FUNCTION_MEMORY_SIZE));
|
|
148
|
-
faasEnv.set("name", "aws.lambda");
|
|
149
|
-
return faasEnv;
|
|
150
|
-
}
|
|
151
|
-
if (isAzureFaaS && !(isGCPFaaS || isAWSFaaS || isVercelFaaS)) {
|
|
152
|
-
faasEnv.set("name", "azure.func");
|
|
153
|
-
return faasEnv;
|
|
154
|
-
}
|
|
155
|
-
if (isGCPFaaS && !(isAzureFaaS || isAWSFaaS || isVercelFaaS)) {
|
|
156
|
-
if (FUNCTION_REGION.length > 0) faasEnv.set("region", FUNCTION_REGION);
|
|
157
|
-
if (FUNCTION_MEMORY_MB.length > 0 && Number.isInteger(+FUNCTION_MEMORY_MB)) faasEnv.set("memory_mb", new bson_1.Int32(FUNCTION_MEMORY_MB));
|
|
158
|
-
if (FUNCTION_TIMEOUT_SEC.length > 0 && Number.isInteger(+FUNCTION_TIMEOUT_SEC)) faasEnv.set("timeout_sec", new bson_1.Int32(FUNCTION_TIMEOUT_SEC));
|
|
159
|
-
faasEnv.set("name", "gcp.func");
|
|
160
|
-
return faasEnv;
|
|
161
|
-
}
|
|
162
|
-
return null;
|
|
163
|
-
}
|
|
164
|
-
/**
|
|
165
|
-
* @internal
|
|
166
|
-
* Get current JavaScript runtime platform
|
|
167
|
-
*
|
|
168
|
-
* NOTE: The version information fetching is intentionally written defensively
|
|
169
|
-
* to avoid having a released driver version that becomes incompatible
|
|
170
|
-
* with a future change to these global objects.
|
|
171
|
-
*/
|
|
172
|
-
function getRuntimeInfo() {
|
|
173
|
-
if ("Deno" in globalThis) return `Deno v${typeof Deno?.version?.deno === "string" ? Deno?.version?.deno : "0.0.0-unknown"}, ${os.endianness()}`;
|
|
174
|
-
if ("Bun" in globalThis) return `Bun v${typeof Bun?.version === "string" ? Bun?.version : "0.0.0-unknown"}, ${os.endianness()}`;
|
|
175
|
-
return `Node.js ${process.version}, ${os.endianness()}`;
|
|
176
|
-
}
|
|
177
|
-
}));
|
|
178
|
-
|
|
179
|
-
//#endregion
|
|
180
|
-
export default require_client_metadata();
|
|
181
|
-
|
|
182
|
-
export { require_client_metadata };
|
|
183
|
-
//# sourceMappingURL=client_metadata.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client_metadata.mjs","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/handshake/client_metadata.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LimitedSizeDocument = void 0;\nexports.isDriverInfoEqual = isDriverInfoEqual;\nexports.makeClientMetadata = makeClientMetadata;\nexports.addContainerMetadata = addContainerMetadata;\nexports.getFAASEnv = getFAASEnv;\nconst os = require(\"os\");\nconst process = require(\"process\");\nconst bson_1 = require(\"../../bson\");\nconst error_1 = require(\"../../error\");\nconst utils_1 = require(\"../../utils\");\n// eslint-disable-next-line @typescript-eslint/no-require-imports\nconst NODE_DRIVER_VERSION = require('../../../package.json').version;\n/** @internal */\nfunction isDriverInfoEqual(info1, info2) {\n /** for equality comparison, we consider \"\" as unset */\n const nonEmptyCmp = (s1, s2) => {\n s1 ||= undefined;\n s2 ||= undefined;\n return s1 === s2;\n };\n return (nonEmptyCmp(info1.name, info2.name) &&\n nonEmptyCmp(info1.platform, info2.platform) &&\n nonEmptyCmp(info1.version, info2.version));\n}\n/** @internal */\nclass LimitedSizeDocument {\n constructor(maxSize) {\n this.document = new Map();\n /** BSON overhead: Int32 + Null byte */\n this.documentSize = 5;\n this.maxSize = maxSize;\n }\n /** Only adds key/value if the bsonByteLength is less than MAX_SIZE */\n ifItFitsItSits(key, value) {\n // The BSON byteLength of the new element is the same as serializing it to its own document\n // subtracting the document size int32 and the null terminator.\n const newElementSize = bson_1.BSON.serialize(new Map().set(key, value)).byteLength - 5;\n if (newElementSize + this.documentSize > this.maxSize) {\n return false;\n }\n this.documentSize += newElementSize;\n this.document.set(key, value);\n return true;\n }\n toObject() {\n return bson_1.BSON.deserialize(bson_1.BSON.serialize(this.document), {\n promoteLongs: false,\n promoteBuffers: false,\n promoteValues: false,\n useBigInt64: false\n });\n }\n}\nexports.LimitedSizeDocument = LimitedSizeDocument;\n/**\n * From the specs:\n * Implementors SHOULD cumulatively update fields in the following order until the document is under the size limit:\n * 1. Omit fields from `env` except `env.name`.\n * 2. Omit fields from `os` except `os.type`.\n * 3. Omit the `env` document entirely.\n * 4. Truncate `platform`. -- special we do not truncate this field\n */\nfunction makeClientMetadata(driverInfoList, { appName = '' }) {\n const metadataDocument = new LimitedSizeDocument(512);\n // Add app name first, it must be sent\n if (appName.length > 0) {\n const name = Buffer.byteLength(appName, 'utf8') <= 128\n ? appName\n : Buffer.from(appName, 'utf8').subarray(0, 128).toString('utf8');\n metadataDocument.ifItFitsItSits('application', { name });\n }\n const driverInfo = {\n name: 'nodejs',\n version: NODE_DRIVER_VERSION\n };\n // This is where we handle additional driver info added after client construction.\n for (const { name: n = '', version: v = '' } of driverInfoList) {\n if (n.length > 0) {\n driverInfo.name = `${driverInfo.name}|${n}`;\n }\n if (v.length > 0) {\n driverInfo.version = `${driverInfo.version}|${v}`;\n }\n }\n if (!metadataDocument.ifItFitsItSits('driver', driverInfo)) {\n throw new error_1.MongoInvalidArgumentError('Unable to include driverInfo name and version, metadata cannot exceed 512 bytes');\n }\n let runtimeInfo = getRuntimeInfo();\n // This is where we handle additional driver info added after client construction.\n for (const { platform = '' } of driverInfoList) {\n if (platform.length > 0) {\n runtimeInfo = `${runtimeInfo}|${platform}`;\n }\n }\n if (!metadataDocument.ifItFitsItSits('platform', runtimeInfo)) {\n throw new error_1.MongoInvalidArgumentError('Unable to include driverInfo platform, metadata cannot exceed 512 bytes');\n }\n // Note: order matters, os.type is last so it will be removed last if we're at maxSize\n const osInfo = new Map()\n .set('name', process.platform)\n .set('architecture', process.arch)\n .set('version', os.release())\n .set('type', os.type());\n if (!metadataDocument.ifItFitsItSits('os', osInfo)) {\n for (const key of osInfo.keys()) {\n osInfo.delete(key);\n if (osInfo.size === 0)\n break;\n if (metadataDocument.ifItFitsItSits('os', osInfo))\n break;\n }\n }\n const faasEnv = getFAASEnv();\n if (faasEnv != null) {\n if (!metadataDocument.ifItFitsItSits('env', faasEnv)) {\n for (const key of faasEnv.keys()) {\n faasEnv.delete(key);\n if (faasEnv.size === 0)\n break;\n if (metadataDocument.ifItFitsItSits('env', faasEnv))\n break;\n }\n }\n }\n return metadataDocument.toObject();\n}\nlet dockerPromise;\n/** @internal */\nasync function getContainerMetadata() {\n const containerMetadata = {};\n dockerPromise ??= (0, utils_1.fileIsAccessible)('/.dockerenv');\n const isDocker = await dockerPromise;\n const { KUBERNETES_SERVICE_HOST = '' } = process.env;\n const isKubernetes = KUBERNETES_SERVICE_HOST.length > 0 ? true : false;\n if (isDocker)\n containerMetadata.runtime = 'docker';\n if (isKubernetes)\n containerMetadata.orchestrator = 'kubernetes';\n return containerMetadata;\n}\n/**\n * @internal\n * Re-add each metadata value.\n * Attempt to add new env container metadata, but keep old data if it does not fit.\n */\nasync function addContainerMetadata(originalMetadata) {\n const containerMetadata = await getContainerMetadata();\n if (Object.keys(containerMetadata).length === 0)\n return originalMetadata;\n const extendedMetadata = new LimitedSizeDocument(512);\n const extendedEnvMetadata = { ...originalMetadata?.env, container: containerMetadata };\n for (const [key, val] of Object.entries(originalMetadata)) {\n if (key !== 'env') {\n extendedMetadata.ifItFitsItSits(key, val);\n }\n else {\n if (!extendedMetadata.ifItFitsItSits('env', extendedEnvMetadata)) {\n // add in old data if newer / extended metadata does not fit\n extendedMetadata.ifItFitsItSits('env', val);\n }\n }\n }\n if (!('env' in originalMetadata)) {\n extendedMetadata.ifItFitsItSits('env', extendedEnvMetadata);\n }\n return extendedMetadata.toObject();\n}\n/**\n * Collects FaaS metadata.\n * - `name` MUST be the last key in the Map returned.\n */\nfunction getFAASEnv() {\n const { AWS_EXECUTION_ENV = '', AWS_LAMBDA_RUNTIME_API = '', FUNCTIONS_WORKER_RUNTIME = '', K_SERVICE = '', FUNCTION_NAME = '', VERCEL = '', AWS_LAMBDA_FUNCTION_MEMORY_SIZE = '', AWS_REGION = '', FUNCTION_MEMORY_MB = '', FUNCTION_REGION = '', FUNCTION_TIMEOUT_SEC = '', VERCEL_REGION = '' } = process.env;\n const isAWSFaaS = AWS_EXECUTION_ENV.startsWith('AWS_Lambda_') || AWS_LAMBDA_RUNTIME_API.length > 0;\n const isAzureFaaS = FUNCTIONS_WORKER_RUNTIME.length > 0;\n const isGCPFaaS = K_SERVICE.length > 0 || FUNCTION_NAME.length > 0;\n const isVercelFaaS = VERCEL.length > 0;\n // Note: order matters, name must always be the last key\n const faasEnv = new Map();\n // When isVercelFaaS is true so is isAWSFaaS; Vercel inherits the AWS env\n if (isVercelFaaS && !(isAzureFaaS || isGCPFaaS)) {\n if (VERCEL_REGION.length > 0) {\n faasEnv.set('region', VERCEL_REGION);\n }\n faasEnv.set('name', 'vercel');\n return faasEnv;\n }\n if (isAWSFaaS && !(isAzureFaaS || isGCPFaaS || isVercelFaaS)) {\n if (AWS_REGION.length > 0) {\n faasEnv.set('region', AWS_REGION);\n }\n if (AWS_LAMBDA_FUNCTION_MEMORY_SIZE.length > 0 &&\n Number.isInteger(+AWS_LAMBDA_FUNCTION_MEMORY_SIZE)) {\n faasEnv.set('memory_mb', new bson_1.Int32(AWS_LAMBDA_FUNCTION_MEMORY_SIZE));\n }\n faasEnv.set('name', 'aws.lambda');\n return faasEnv;\n }\n if (isAzureFaaS && !(isGCPFaaS || isAWSFaaS || isVercelFaaS)) {\n faasEnv.set('name', 'azure.func');\n return faasEnv;\n }\n if (isGCPFaaS && !(isAzureFaaS || isAWSFaaS || isVercelFaaS)) {\n if (FUNCTION_REGION.length > 0) {\n faasEnv.set('region', FUNCTION_REGION);\n }\n if (FUNCTION_MEMORY_MB.length > 0 && Number.isInteger(+FUNCTION_MEMORY_MB)) {\n faasEnv.set('memory_mb', new bson_1.Int32(FUNCTION_MEMORY_MB));\n }\n if (FUNCTION_TIMEOUT_SEC.length > 0 && Number.isInteger(+FUNCTION_TIMEOUT_SEC)) {\n faasEnv.set('timeout_sec', new bson_1.Int32(FUNCTION_TIMEOUT_SEC));\n }\n faasEnv.set('name', 'gcp.func');\n return faasEnv;\n }\n return null;\n}\n/**\n * @internal\n * Get current JavaScript runtime platform\n *\n * NOTE: The version information fetching is intentionally written defensively\n * to avoid having a released driver version that becomes incompatible\n * with a future change to these global objects.\n */\nfunction getRuntimeInfo() {\n if ('Deno' in globalThis) {\n const version = typeof Deno?.version?.deno === 'string' ? Deno?.version?.deno : '0.0.0-unknown';\n return `Deno v${version}, ${os.endianness()}`;\n }\n if ('Bun' in globalThis) {\n const version = typeof Bun?.version === 'string' ? Bun?.version : '0.0.0-unknown';\n return `Bun v${version}, ${os.endianness()}`;\n }\n return `Node.js ${process.version}, ${os.endianness()}`;\n}\n//# sourceMappingURL=client_metadata.js.map"],"x_google_ignoreList":[0],"mappings":"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"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
-
|
|
3
|
-
//#region ../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/metrics.js
|
|
4
|
-
var require_metrics = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ConnectionPoolMetrics = void 0;
|
|
7
|
-
/** @internal */
|
|
8
|
-
var ConnectionPoolMetrics = class ConnectionPoolMetrics {
|
|
9
|
-
constructor() {
|
|
10
|
-
this.txnConnections = 0;
|
|
11
|
-
this.cursorConnections = 0;
|
|
12
|
-
this.otherConnections = 0;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Mark a connection as pinned for a specific operation.
|
|
16
|
-
*/
|
|
17
|
-
markPinned(pinType) {
|
|
18
|
-
if (pinType === ConnectionPoolMetrics.TXN) this.txnConnections += 1;
|
|
19
|
-
else if (pinType === ConnectionPoolMetrics.CURSOR) this.cursorConnections += 1;
|
|
20
|
-
else this.otherConnections += 1;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Unmark a connection as pinned for an operation.
|
|
24
|
-
*/
|
|
25
|
-
markUnpinned(pinType) {
|
|
26
|
-
if (pinType === ConnectionPoolMetrics.TXN) this.txnConnections -= 1;
|
|
27
|
-
else if (pinType === ConnectionPoolMetrics.CURSOR) this.cursorConnections -= 1;
|
|
28
|
-
else this.otherConnections -= 1;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Return information about the cmap metrics as a string.
|
|
32
|
-
*/
|
|
33
|
-
info(maxPoolSize) {
|
|
34
|
-
return `Timed out while checking out a connection from connection pool: maxPoolSize: ${maxPoolSize}, connections in use by cursors: ${this.cursorConnections}, connections in use by transactions: ${this.txnConnections}, connections in use by other operations: ${this.otherConnections}`;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Reset the metrics to the initial values.
|
|
38
|
-
*/
|
|
39
|
-
reset() {
|
|
40
|
-
this.txnConnections = 0;
|
|
41
|
-
this.cursorConnections = 0;
|
|
42
|
-
this.otherConnections = 0;
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
exports.ConnectionPoolMetrics = ConnectionPoolMetrics;
|
|
46
|
-
ConnectionPoolMetrics.TXN = "txn";
|
|
47
|
-
ConnectionPoolMetrics.CURSOR = "cursor";
|
|
48
|
-
ConnectionPoolMetrics.OTHER = "other";
|
|
49
|
-
}));
|
|
50
|
-
|
|
51
|
-
//#endregion
|
|
52
|
-
export default require_metrics();
|
|
53
|
-
|
|
54
|
-
export { require_metrics };
|
|
55
|
-
//# sourceMappingURL=metrics.mjs.map
|
package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/metrics.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"metrics.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/metrics.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ConnectionPoolMetrics = void 0;\n/** @internal */\nclass ConnectionPoolMetrics {\n constructor() {\n this.txnConnections = 0;\n this.cursorConnections = 0;\n this.otherConnections = 0;\n }\n /**\n * Mark a connection as pinned for a specific operation.\n */\n markPinned(pinType) {\n if (pinType === ConnectionPoolMetrics.TXN) {\n this.txnConnections += 1;\n }\n else if (pinType === ConnectionPoolMetrics.CURSOR) {\n this.cursorConnections += 1;\n }\n else {\n this.otherConnections += 1;\n }\n }\n /**\n * Unmark a connection as pinned for an operation.\n */\n markUnpinned(pinType) {\n if (pinType === ConnectionPoolMetrics.TXN) {\n this.txnConnections -= 1;\n }\n else if (pinType === ConnectionPoolMetrics.CURSOR) {\n this.cursorConnections -= 1;\n }\n else {\n this.otherConnections -= 1;\n }\n }\n /**\n * Return information about the cmap metrics as a string.\n */\n info(maxPoolSize) {\n return ('Timed out while checking out a connection from connection pool: ' +\n `maxPoolSize: ${maxPoolSize}, ` +\n `connections in use by cursors: ${this.cursorConnections}, ` +\n `connections in use by transactions: ${this.txnConnections}, ` +\n `connections in use by other operations: ${this.otherConnections}`);\n }\n /**\n * Reset the metrics to the initial values.\n */\n reset() {\n this.txnConnections = 0;\n this.cursorConnections = 0;\n this.otherConnections = 0;\n }\n}\nexports.ConnectionPoolMetrics = ConnectionPoolMetrics;\nConnectionPoolMetrics.TXN = 'txn';\nConnectionPoolMetrics.CURSOR = 'cursor';\nConnectionPoolMetrics.OTHER = 'other';\n//# sourceMappingURL=metrics.js.map"],"x_google_ignoreList":[0],"mappings":";;;;AACA,QAAO,eAAe,SAAS,cAAc,EAAE,OAAO,MAAM,CAAC;AAC7D,SAAQ,wBAAwB,KAAK;;CAErC,IAAM,wBAAN,MAAM,sBAAsB;EACxB,cAAc;AACV,QAAK,iBAAiB;AACtB,QAAK,oBAAoB;AACzB,QAAK,mBAAmB;;;;;EAK5B,WAAW,SAAS;AAChB,OAAI,YAAY,sBAAsB,IAClC,MAAK,kBAAkB;YAElB,YAAY,sBAAsB,OACvC,MAAK,qBAAqB;OAG1B,MAAK,oBAAoB;;;;;EAMjC,aAAa,SAAS;AAClB,OAAI,YAAY,sBAAsB,IAClC,MAAK,kBAAkB;YAElB,YAAY,sBAAsB,OACvC,MAAK,qBAAqB;OAG1B,MAAK,oBAAoB;;;;;EAMjC,KAAK,aAAa;AACd,UAAQ,gFACY,YAAY,mCACM,KAAK,kBAAkB,wCAClB,KAAK,eAAe,4CAChB,KAAK;;;;;EAKxD,QAAQ;AACJ,QAAK,iBAAiB;AACtB,QAAK,oBAAoB;AACzB,QAAK,mBAAmB;;;AAGhC,SAAQ,wBAAwB;AAChC,uBAAsB,MAAM;AAC5B,uBAAsB,SAAS;AAC/B,uBAAsB,QAAQ"}
|