@colyseus/core 0.14.21 → 0.14.25
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/build/Logger.d.ts +9 -0
- package/build/Logger.js +12 -0
- package/build/Logger.js.map +1 -0
- package/build/Logger.mjs +8 -0
- package/build/Logger.mjs.map +1 -0
- package/build/Room.js +2 -0
- package/build/Room.js.map +1 -1
- package/build/Room.mjs +2 -0
- package/build/Room.mjs.map +1 -1
- package/build/Server.js +1 -1
- package/build/Server.js.map +1 -1
- package/build/Server.mjs +1 -1
- package/build/Server.mjs.map +1 -1
- package/build/_virtual/AggregationCursor.js_commonjs-proxy +3 -0
- package/build/_virtual/AggregationCursor.js_commonjs-proxy.map +1 -0
- package/build/_virtual/BufferList.js_commonjs-proxy +3 -0
- package/build/_virtual/BufferList.js_commonjs-proxy.map +1 -0
- package/build/_virtual/ChangeStream.js_commonjs-proxy +3 -0
- package/build/_virtual/ChangeStream.js_commonjs-proxy.map +1 -0
- package/build/_virtual/PopulateOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/PopulateOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/QueryCursor.js_commonjs-proxy +3 -0
- package/build/_virtual/QueryCursor.js_commonjs-proxy.map +1 -0
- package/build/_virtual/ReadPreference.js_commonjs-proxy +3 -0
- package/build/_virtual/ReadPreference.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SchemaArrayOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/SchemaArrayOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SchemaBufferOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/SchemaBufferOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SchemaDateOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/SchemaDateOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SchemaDocumentArrayOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/SchemaDocumentArrayOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SchemaMapOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/SchemaMapOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SchemaNumberOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/SchemaNumberOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SchemaObjectIdOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/SchemaObjectIdOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SchemaSingleNestedOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/SchemaSingleNestedOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SchemaStringOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/SchemaStringOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SchemaTypeOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/SchemaTypeOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SingleNestedPath.js_commonjs-proxy +3 -0
- package/build/_virtual/SingleNestedPath.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SkipPopulateValue.js_commonjs-proxy +3 -0
- package/build/_virtual/SkipPopulateValue.js_commonjs-proxy.map +1 -0
- package/build/_virtual/VirtualOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/VirtualOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/_commonjsHelpers.js +28 -0
- package/build/_virtual/_commonjsHelpers.js.map +1 -0
- package/build/_virtual/_stream_duplex.js_commonjs-proxy +3 -0
- package/build/_virtual/_stream_duplex.js_commonjs-proxy.map +1 -0
- package/build/_virtual/_stream_passthrough.js_commonjs-proxy +3 -0
- package/build/_virtual/_stream_passthrough.js_commonjs-proxy.map +1 -0
- package/build/_virtual/_stream_readable.js_commonjs-proxy +3 -0
- package/build/_virtual/_stream_readable.js_commonjs-proxy.map +1 -0
- package/build/_virtual/_stream_transform.js_commonjs-proxy +3 -0
- package/build/_virtual/_stream_transform.js_commonjs-proxy.map +1 -0
- package/build/_virtual/_stream_writable.js_commonjs-proxy +3 -0
- package/build/_virtual/_stream_writable.js_commonjs-proxy.map +1 -0
- package/build/_virtual/addAutoId.js_commonjs-proxy +3 -0
- package/build/_virtual/addAutoId.js_commonjs-proxy.map +1 -0
- package/build/_virtual/add_user.js_commonjs-proxy +3 -0
- package/build/_virtual/add_user.js_commonjs-proxy.map +1 -0
- package/build/_virtual/admin.js_commonjs-proxy +3 -0
- package/build/_virtual/admin.js_commonjs-proxy.map +1 -0
- package/build/_virtual/aggregate.js_commonjs-proxy +3 -0
- package/build/_virtual/aggregate.js_commonjs-proxy.map +1 -0
- package/build/_virtual/aggregate2.js_commonjs-proxy +3 -0
- package/build/_virtual/aggregate2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/aggregation_cursor.js_commonjs-proxy +3 -0
- package/build/_virtual/aggregation_cursor.js_commonjs-proxy.map +1 -0
- package/build/_virtual/allServersUnknown.js_commonjs-proxy +3 -0
- package/build/_virtual/allServersUnknown.js_commonjs-proxy.map +1 -0
- package/build/_virtual/any.js_commonjs-proxy +3 -0
- package/build/_virtual/any.js_commonjs-proxy.map +1 -0
- package/build/_virtual/apm.js_commonjs-proxy +3 -0
- package/build/_virtual/apm.js_commonjs-proxy.map +1 -0
- package/build/_virtual/apm2.js_commonjs-proxy +3 -0
- package/build/_virtual/apm2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/applyGlobalMaxTimeMS.js_commonjs-proxy +3 -0
- package/build/_virtual/applyGlobalMaxTimeMS.js_commonjs-proxy.map +1 -0
- package/build/_virtual/applyHooks.js_commonjs-proxy +3 -0
- package/build/_virtual/applyHooks.js_commonjs-proxy.map +1 -0
- package/build/_virtual/applyMethods.js_commonjs-proxy +3 -0
- package/build/_virtual/applyMethods.js_commonjs-proxy.map +1 -0
- package/build/_virtual/applyPlugins.js_commonjs-proxy +3 -0
- package/build/_virtual/applyPlugins.js_commonjs-proxy.map +1 -0
- package/build/_virtual/applyQueryMiddleware.js_commonjs-proxy +3 -0
- package/build/_virtual/applyQueryMiddleware.js_commonjs-proxy.map +1 -0
- package/build/_virtual/applyStaticHooks.js_commonjs-proxy +3 -0
- package/build/_virtual/applyStaticHooks.js_commonjs-proxy.map +1 -0
- package/build/_virtual/applyStatics.js_commonjs-proxy +3 -0
- package/build/_virtual/applyStatics.js_commonjs-proxy.map +1 -0
- package/build/_virtual/applyTimestampsToChildren.js_commonjs-proxy +3 -0
- package/build/_virtual/applyTimestampsToChildren.js_commonjs-proxy.map +1 -0
- package/build/_virtual/applyTimestampsToUpdate.js_commonjs-proxy +3 -0
- package/build/_virtual/applyTimestampsToUpdate.js_commonjs-proxy.map +1 -0
- package/build/_virtual/applyWriteConcern.js_commonjs-proxy +3 -0
- package/build/_virtual/applyWriteConcern.js_commonjs-proxy.map +1 -0
- package/build/_virtual/areDiscriminatorValuesEqual.js_commonjs-proxy +3 -0
- package/build/_virtual/areDiscriminatorValuesEqual.js_commonjs-proxy.map +1 -0
- package/build/_virtual/array.js_commonjs-proxy +3 -0
- package/build/_virtual/array.js_commonjs-proxy.map +1 -0
- package/build/_virtual/array2.js_commonjs-proxy +3 -0
- package/build/_virtual/array2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/arrayDepth.js_commonjs-proxy +3 -0
- package/build/_virtual/arrayDepth.js_commonjs-proxy.map +1 -0
- package/build/_virtual/assignRawDocsToIdStructure.js_commonjs-proxy +3 -0
- package/build/_virtual/assignRawDocsToIdStructure.js_commonjs-proxy.map +1 -0
- package/build/_virtual/assignVals.js_commonjs-proxy +3 -0
- package/build/_virtual/assignVals.js_commonjs-proxy.map +1 -0
- package/build/_virtual/async.js_commonjs-proxy +3 -0
- package/build/_virtual/async.js_commonjs-proxy.map +1 -0
- package/build/_virtual/async_iterator.js_commonjs-proxy +3 -0
- package/build/_virtual/async_iterator.js_commonjs-proxy.map +1 -0
- package/build/_virtual/auth_provider.js_commonjs-proxy +3 -0
- package/build/_virtual/auth_provider.js_commonjs-proxy.map +1 -0
- package/build/_virtual/aws4.js_commonjs-proxy +3 -0
- package/build/_virtual/aws4.js_commonjs-proxy.map +1 -0
- package/build/_virtual/binary.js_commonjs-proxy +3 -0
- package/build/_virtual/binary.js_commonjs-proxy.map +1 -0
- package/build/_virtual/binary2.js_commonjs-proxy +3 -0
- package/build/_virtual/binary2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/bind.js_commonjs-proxy +3 -0
- package/build/_virtual/bind.js_commonjs-proxy.map +1 -0
- package/build/_virtual/bitwise.js_commonjs-proxy +3 -0
- package/build/_virtual/bitwise.js_commonjs-proxy.map +1 -0
- package/build/_virtual/bl.js_commonjs-proxy +3 -0
- package/build/_virtual/bl.js_commonjs-proxy.map +1 -0
- package/build/_virtual/bluebird.js_commonjs-proxy +3 -0
- package/build/_virtual/bluebird.js_commonjs-proxy.map +1 -0
- package/build/_virtual/boolean.js_commonjs-proxy +3 -0
- package/build/_virtual/boolean.js_commonjs-proxy.map +1 -0
- package/build/_virtual/boolean2.js_commonjs-proxy +3 -0
- package/build/_virtual/boolean2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/browserDocument.js_commonjs-proxy +3 -0
- package/build/_virtual/browserDocument.js_commonjs-proxy.map +1 -0
- package/build/_virtual/bson.js_commonjs-proxy +3 -0
- package/build/_virtual/bson.js_commonjs-proxy.map +1 -0
- package/build/_virtual/buffer-util.js_commonjs-proxy +3 -0
- package/build/_virtual/buffer-util.js_commonjs-proxy.map +1 -0
- package/build/_virtual/buffer.js_commonjs-proxy +3 -0
- package/build/_virtual/buffer.js_commonjs-proxy.map +1 -0
- package/build/_virtual/buffer2.js_commonjs-proxy +3 -0
- package/build/_virtual/buffer2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/bulk_write.js_commonjs-proxy +3 -0
- package/build/_virtual/bulk_write.js_commonjs-proxy.map +1 -0
- package/build/_virtual/calculate_size.js_commonjs-proxy +3 -0
- package/build/_virtual/calculate_size.js_commonjs-proxy.map +1 -0
- package/build/_virtual/call_get.js_commonjs-proxy +3 -0
- package/build/_virtual/call_get.js_commonjs-proxy.map +1 -0
- package/build/_virtual/cancel.js_commonjs-proxy +3 -0
- package/build/_virtual/cancel.js_commonjs-proxy.map +1 -0
- package/build/_virtual/cast.js_commonjs-proxy +3 -0
- package/build/_virtual/cast.js_commonjs-proxy.map +1 -0
- package/build/_virtual/cast2.js_commonjs-proxy +3 -0
- package/build/_virtual/cast2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/castArrayFilters.js_commonjs-proxy +3 -0
- package/build/_virtual/castArrayFilters.js_commonjs-proxy.map +1 -0
- package/build/_virtual/castBulkWrite.js_commonjs-proxy +3 -0
- package/build/_virtual/castBulkWrite.js_commonjs-proxy.map +1 -0
- package/build/_virtual/castFilterPath.js_commonjs-proxy +3 -0
- package/build/_virtual/castFilterPath.js_commonjs-proxy.map +1 -0
- package/build/_virtual/castUpdate.js_commonjs-proxy +3 -0
- package/build/_virtual/castUpdate.js_commonjs-proxy.map +1 -0
- package/build/_virtual/catch_filter.js_commonjs-proxy +3 -0
- package/build/_virtual/catch_filter.js_commonjs-proxy.map +1 -0
- package/build/_virtual/change_stream.js_commonjs-proxy +3 -0
- package/build/_virtual/change_stream.js_commonjs-proxy.map +1 -0
- package/build/_virtual/checkEmbeddedDiscriminatorKeyProjection.js_commonjs-proxy +3 -0
- package/build/_virtual/checkEmbeddedDiscriminatorKeyProjection.js_commonjs-proxy.map +1 -0
- package/build/_virtual/chunk.js_commonjs-proxy +3 -0
- package/build/_virtual/chunk.js_commonjs-proxy.map +1 -0
- package/build/_virtual/cleanModifiedSubpaths.js_commonjs-proxy +3 -0
- package/build/_virtual/cleanModifiedSubpaths.js_commonjs-proxy.map +1 -0
- package/build/_virtual/cleanPositionalOperators.js_commonjs-proxy +3 -0
- package/build/_virtual/cleanPositionalOperators.js_commonjs-proxy.map +1 -0
- package/build/_virtual/clone.js_commonjs-proxy +3 -0
- package/build/_virtual/clone.js_commonjs-proxy.map +1 -0
- package/build/_virtual/code.js_commonjs-proxy +3 -0
- package/build/_virtual/code.js_commonjs-proxy.map +1 -0
- package/build/_virtual/collection.js_commonjs-proxy +3 -0
- package/build/_virtual/collection.js_commonjs-proxy.map +1 -0
- package/build/_virtual/collection2.js_commonjs-proxy +3 -0
- package/build/_virtual/collection2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/collection3.js_commonjs-proxy +3 -0
- package/build/_virtual/collection3.js_commonjs-proxy.map +1 -0
- package/build/_virtual/collection4.js_commonjs-proxy +3 -0
- package/build/_virtual/collection4.js_commonjs-proxy.map +1 -0
- package/build/_virtual/collection_ops.js_commonjs-proxy +3 -0
- package/build/_virtual/collection_ops.js_commonjs-proxy.map +1 -0
- package/build/_virtual/collections.js_commonjs-proxy +3 -0
- package/build/_virtual/collections.js_commonjs-proxy.map +1 -0
- package/build/_virtual/command.js_commonjs-proxy +3 -0
- package/build/_virtual/command.js_commonjs-proxy.map +1 -0
- package/build/_virtual/command2.js_commonjs-proxy +3 -0
- package/build/_virtual/command2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/command3.js_commonjs-proxy +3 -0
- package/build/_virtual/command3.js_commonjs-proxy.map +1 -0
- package/build/_virtual/command_cursor.js_commonjs-proxy +3 -0
- package/build/_virtual/command_cursor.js_commonjs-proxy.map +1 -0
- package/build/_virtual/command_result.js_commonjs-proxy +3 -0
- package/build/_virtual/command_result.js_commonjs-proxy.map +1 -0
- package/build/_virtual/command_v2.js_commonjs-proxy +3 -0
- package/build/_virtual/command_v2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/commands.js_commonjs-proxy +3 -0
- package/build/_virtual/commands.js_commonjs-proxy.map +1 -0
- package/build/_virtual/commands2.js_commonjs-proxy +3 -0
- package/build/_virtual/commands2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/common.js_commonjs-proxy +3 -0
- package/build/_virtual/common.js_commonjs-proxy.map +1 -0
- package/build/_virtual/common2.js_commonjs-proxy +3 -0
- package/build/_virtual/common2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/common3.js_commonjs-proxy +3 -0
- package/build/_virtual/common3.js_commonjs-proxy.map +1 -0
- package/build/_virtual/common_functions.js_commonjs-proxy +3 -0
- package/build/_virtual/common_functions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/compile.js_commonjs-proxy +3 -0
- package/build/_virtual/compile.js_commonjs-proxy.map +1 -0
- package/build/_virtual/completeMany.js_commonjs-proxy +3 -0
- package/build/_virtual/completeMany.js_commonjs-proxy.map +1 -0
- package/build/_virtual/compression.js_commonjs-proxy +3 -0
- package/build/_virtual/compression.js_commonjs-proxy.map +1 -0
- package/build/_virtual/connect.js_commonjs-proxy +3 -0
- package/build/_virtual/connect.js_commonjs-proxy.map +1 -0
- package/build/_virtual/connect2.js_commonjs-proxy +3 -0
- package/build/_virtual/connect2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/connection.js_commonjs-proxy +3 -0
- package/build/_virtual/connection.js_commonjs-proxy.map +1 -0
- package/build/_virtual/connection2.js_commonjs-proxy +3 -0
- package/build/_virtual/connection2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/connection3.js_commonjs-proxy +3 -0
- package/build/_virtual/connection3.js_commonjs-proxy.map +1 -0
- package/build/_virtual/connection4.js_commonjs-proxy +3 -0
- package/build/_virtual/connection4.js_commonjs-proxy.map +1 -0
- package/build/_virtual/connection_pool.js_commonjs-proxy +3 -0
- package/build/_virtual/connection_pool.js_commonjs-proxy.map +1 -0
- package/build/_virtual/connectionstate.js_commonjs-proxy +3 -0
- package/build/_virtual/connectionstate.js_commonjs-proxy.map +1 -0
- package/build/_virtual/constants.js_commonjs-proxy +3 -0
- package/build/_virtual/constants.js_commonjs-proxy.map +1 -0
- package/build/_virtual/constants2.js_commonjs-proxy +3 -0
- package/build/_virtual/constants2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/constants3.js_commonjs-proxy +3 -0
- package/build/_virtual/constants3.js_commonjs-proxy.map +1 -0
- package/build/_virtual/context.js_commonjs-proxy +3 -0
- package/build/_virtual/context.js_commonjs-proxy.map +1 -0
- package/build/_virtual/core_array.js_commonjs-proxy +3 -0
- package/build/_virtual/core_array.js_commonjs-proxy.map +1 -0
- package/build/_virtual/count.js_commonjs-proxy +3 -0
- package/build/_virtual/count.js_commonjs-proxy.map +1 -0
- package/build/_virtual/count_documents.js_commonjs-proxy +3 -0
- package/build/_virtual/count_documents.js_commonjs-proxy.map +1 -0
- package/build/_virtual/createClient.js_commonjs-proxy +3 -0
- package/build/_virtual/createClient.js_commonjs-proxy.map +1 -0
- package/build/_virtual/createPopulateQueryFilter.js_commonjs-proxy +3 -0
- package/build/_virtual/createPopulateQueryFilter.js_commonjs-proxy.map +1 -0
- package/build/_virtual/create_collection.js_commonjs-proxy +3 -0
- package/build/_virtual/create_collection.js_commonjs-proxy.map +1 -0
- package/build/_virtual/create_indexes.js_commonjs-proxy +3 -0
- package/build/_virtual/create_indexes.js_commonjs-proxy.map +1 -0
- package/build/_virtual/cursor.js_commonjs-proxy +3 -0
- package/build/_virtual/cursor.js_commonjs-proxy.map +1 -0
- package/build/_virtual/cursor2.js_commonjs-proxy +3 -0
- package/build/_virtual/cursor2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/cursor_ops.js_commonjs-proxy +3 -0
- package/build/_virtual/cursor_ops.js_commonjs-proxy.map +1 -0
- package/build/_virtual/customErrors.js_commonjs-proxy +3 -0
- package/build/_virtual/customErrors.js_commonjs-proxy.map +1 -0
- package/build/_virtual/date.js_commonjs-proxy +3 -0
- package/build/_virtual/date.js_commonjs-proxy.map +1 -0
- package/build/_virtual/date2.js_commonjs-proxy +3 -0
- package/build/_virtual/date2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/db.js_commonjs-proxy +3 -0
- package/build/_virtual/db.js_commonjs-proxy.map +1 -0
- package/build/_virtual/db_ops.js_commonjs-proxy +3 -0
- package/build/_virtual/db_ops.js_commonjs-proxy.map +1 -0
- package/build/_virtual/db_ref.js_commonjs-proxy +3 -0
- package/build/_virtual/db_ref.js_commonjs-proxy.map +1 -0
- package/build/_virtual/debug.js_commonjs-proxy +3 -0
- package/build/_virtual/debug.js_commonjs-proxy.map +1 -0
- package/build/_virtual/debuggability.js_commonjs-proxy +3 -0
- package/build/_virtual/debuggability.js_commonjs-proxy.map +1 -0
- package/build/_virtual/decimal128.js_commonjs-proxy +3 -0
- package/build/_virtual/decimal128.js_commonjs-proxy.map +1 -0
- package/build/_virtual/decimal1282.js_commonjs-proxy +3 -0
- package/build/_virtual/decimal1282.js_commonjs-proxy.map +1 -0
- package/build/_virtual/decimal1283.js_commonjs-proxy +3 -0
- package/build/_virtual/decimal1283.js_commonjs-proxy.map +1 -0
- package/build/_virtual/decimal1284.js_commonjs-proxy +3 -0
- package/build/_virtual/decimal1284.js_commonjs-proxy.map +1 -0
- package/build/_virtual/decimal1285.js_commonjs-proxy +3 -0
- package/build/_virtual/decimal1285.js_commonjs-proxy.map +1 -0
- package/build/_virtual/defaultAuthProviders.js_commonjs-proxy +3 -0
- package/build/_virtual/defaultAuthProviders.js_commonjs-proxy.map +1 -0
- package/build/_virtual/delete_many.js_commonjs-proxy +3 -0
- package/build/_virtual/delete_many.js_commonjs-proxy.map +1 -0
- package/build/_virtual/delete_one.js_commonjs-proxy +3 -0
- package/build/_virtual/delete_one.js_commonjs-proxy.map +1 -0
- package/build/_virtual/deque.js_commonjs-proxy +3 -0
- package/build/_virtual/deque.js_commonjs-proxy.map +1 -0
- package/build/_virtual/deserializer.js_commonjs-proxy +3 -0
- package/build/_virtual/deserializer.js_commonjs-proxy.map +1 -0
- package/build/_virtual/destroy.js_commonjs-proxy +3 -0
- package/build/_virtual/destroy.js_commonjs-proxy.map +1 -0
- package/build/_virtual/direct_resolve.js_commonjs-proxy +3 -0
- package/build/_virtual/direct_resolve.js_commonjs-proxy.map +1 -0
- package/build/_virtual/discriminator.js_commonjs-proxy +3 -0
- package/build/_virtual/discriminator.js_commonjs-proxy.map +1 -0
- package/build/_virtual/distinct.js_commonjs-proxy +3 -0
- package/build/_virtual/distinct.js_commonjs-proxy.map +1 -0
- package/build/_virtual/divergentArray.js_commonjs-proxy +3 -0
- package/build/_virtual/divergentArray.js_commonjs-proxy.map +1 -0
- package/build/_virtual/document.js_commonjs-proxy +3 -0
- package/build/_virtual/document.js_commonjs-proxy.map +1 -0
- package/build/_virtual/document_provider.js_commonjs-proxy +3 -0
- package/build/_virtual/document_provider.js_commonjs-proxy.map +1 -0
- package/build/_virtual/documentarray.js_commonjs-proxy +3 -0
- package/build/_virtual/documentarray.js_commonjs-proxy.map +1 -0
- package/build/_virtual/documentarray2.js_commonjs-proxy +3 -0
- package/build/_virtual/documentarray2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/double.js_commonjs-proxy +3 -0
- package/build/_virtual/double.js_commonjs-proxy.map +1 -0
- package/build/_virtual/download.js_commonjs-proxy +3 -0
- package/build/_virtual/download.js_commonjs-proxy.map +1 -0
- package/build/_virtual/driver.js_commonjs-proxy +3 -0
- package/build/_virtual/driver.js_commonjs-proxy.map +1 -0
- package/build/_virtual/drop.js_commonjs-proxy +3 -0
- package/build/_virtual/drop.js_commonjs-proxy.map +1 -0
- package/build/_virtual/drop_index.js_commonjs-proxy +3 -0
- package/build/_virtual/drop_index.js_commonjs-proxy.map +1 -0
- package/build/_virtual/drop_indexes.js_commonjs-proxy +3 -0
- package/build/_virtual/drop_indexes.js_commonjs-proxy.map +1 -0
- package/build/_virtual/dynamic_loaders.js_commonjs-proxy +3 -0
- package/build/_virtual/dynamic_loaders.js_commonjs-proxy.map +1 -0
- package/build/_virtual/each.js_commonjs-proxy +3 -0
- package/build/_virtual/each.js_commonjs-proxy.map +1 -0
- package/build/_virtual/each2.js_commonjs-proxy +3 -0
- package/build/_virtual/each2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/eachAsync.js_commonjs-proxy +3 -0
- package/build/_virtual/eachAsync.js_commonjs-proxy.map +1 -0
- package/build/_virtual/embedded.js_commonjs-proxy +3 -0
- package/build/_virtual/embedded.js_commonjs-proxy.map +1 -0
- package/build/_virtual/encrypter.js_commonjs-proxy +3 -0
- package/build/_virtual/encrypter.js_commonjs-proxy.map +1 -0
- package/build/_virtual/env.js_commonjs-proxy +3 -0
- package/build/_virtual/env.js_commonjs-proxy.map +1 -0
- package/build/_virtual/error.js_commonjs-proxy +3 -0
- package/build/_virtual/error.js_commonjs-proxy.map +1 -0
- package/build/_virtual/error2.js_commonjs-proxy +3 -0
- package/build/_virtual/error2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/errors.js_commonjs-proxy +3 -0
- package/build/_virtual/errors.js_commonjs-proxy.map +1 -0
- package/build/_virtual/errors2.js_commonjs-proxy +3 -0
- package/build/_virtual/errors2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/es5.js_commonjs-proxy +3 -0
- package/build/_virtual/es5.js_commonjs-proxy.map +1 -0
- package/build/_virtual/estimated_document_count.js_commonjs-proxy +3 -0
- package/build/_virtual/estimated_document_count.js_commonjs-proxy.map +1 -0
- package/build/_virtual/event-target.js_commonjs-proxy +3 -0
- package/build/_virtual/event-target.js_commonjs-proxy.map +1 -0
- package/build/_virtual/events.js_commonjs-proxy +3 -0
- package/build/_virtual/events.js_commonjs-proxy.map +1 -0
- package/build/_virtual/events2.js_commonjs-proxy +3 -0
- package/build/_virtual/events2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/execute_db_admin_command.js_commonjs-proxy +3 -0
- package/build/_virtual/execute_db_admin_command.js_commonjs-proxy.map +1 -0
- package/build/_virtual/execute_operation.js_commonjs-proxy +3 -0
- package/build/_virtual/execute_operation.js_commonjs-proxy.map +1 -0
- package/build/_virtual/exists.js_commonjs-proxy +3 -0
- package/build/_virtual/exists.js_commonjs-proxy.map +1 -0
- package/build/_virtual/explain.js_commonjs-proxy +3 -0
- package/build/_virtual/explain.js_commonjs-proxy.map +1 -0
- package/build/_virtual/extension.js_commonjs-proxy +3 -0
- package/build/_virtual/extension.js_commonjs-proxy.map +1 -0
- package/build/_virtual/filter.js_commonjs-proxy +3 -0
- package/build/_virtual/filter.js_commonjs-proxy.map +1 -0
- package/build/_virtual/finally.js_commonjs-proxy +3 -0
- package/build/_virtual/finally.js_commonjs-proxy.map +1 -0
- package/build/_virtual/find.js_commonjs-proxy +3 -0
- package/build/_virtual/find.js_commonjs-proxy.map +1 -0
- package/build/_virtual/find_and_modify.js_commonjs-proxy +3 -0
- package/build/_virtual/find_and_modify.js_commonjs-proxy.map +1 -0
- package/build/_virtual/find_one.js_commonjs-proxy +3 -0
- package/build/_virtual/find_one.js_commonjs-proxy.map +1 -0
- package/build/_virtual/find_one_and_delete.js_commonjs-proxy +3 -0
- package/build/_virtual/find_one_and_delete.js_commonjs-proxy.map +1 -0
- package/build/_virtual/find_one_and_replace.js_commonjs-proxy +3 -0
- package/build/_virtual/find_one_and_replace.js_commonjs-proxy.map +1 -0
- package/build/_virtual/find_one_and_update.js_commonjs-proxy +3 -0
- package/build/_virtual/find_one_and_update.js_commonjs-proxy.map +1 -0
- package/build/_virtual/float_parser.js_commonjs-proxy +3 -0
- package/build/_virtual/float_parser.js_commonjs-proxy.map +1 -0
- package/build/_virtual/generators.js_commonjs-proxy +3 -0
- package/build/_virtual/generators.js_commonjs-proxy.map +1 -0
- package/build/_virtual/geo_haystack_search.js_commonjs-proxy +3 -0
- package/build/_virtual/geo_haystack_search.js_commonjs-proxy.map +1 -0
- package/build/_virtual/geospatial.js_commonjs-proxy +3 -0
- package/build/_virtual/geospatial.js_commonjs-proxy.map +1 -0
- package/build/_virtual/get.js_commonjs-proxy +3 -0
- package/build/_virtual/get.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getConstructor.js_commonjs-proxy +3 -0
- package/build/_virtual/getConstructor.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getDefaultBulkwriteResult.js_commonjs-proxy +3 -0
- package/build/_virtual/getDefaultBulkwriteResult.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getDiscriminatorByValue.js_commonjs-proxy +3 -0
- package/build/_virtual/getDiscriminatorByValue.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getEmbeddedDiscriminatorPath.js_commonjs-proxy +3 -0
- package/build/_virtual/getEmbeddedDiscriminatorPath.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getEmbeddedDiscriminatorPath2.js_commonjs-proxy +3 -0
- package/build/_virtual/getEmbeddedDiscriminatorPath2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getFunctionName.js_commonjs-proxy +3 -0
- package/build/_virtual/getFunctionName.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getIndexes.js_commonjs-proxy +3 -0
- package/build/_virtual/getIndexes.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getModelsMapForPopulate.js_commonjs-proxy +3 -0
- package/build/_virtual/getModelsMapForPopulate.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getPath.js_commonjs-proxy +3 -0
- package/build/_virtual/getPath.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getSchemaDiscriminatorByValue.js_commonjs-proxy +3 -0
- package/build/_virtual/getSchemaDiscriminatorByValue.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getSchemaTypes.js_commonjs-proxy +3 -0
- package/build/_virtual/getSchemaTypes.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getVirtual.js_commonjs-proxy +3 -0
- package/build/_virtual/getVirtual.js_commonjs-proxy.map +1 -0
- package/build/_virtual/get_more.js_commonjs-proxy +3 -0
- package/build/_virtual/get_more.js_commonjs-proxy.map +1 -0
- package/build/_virtual/grid_store.js_commonjs-proxy +3 -0
- package/build/_virtual/grid_store.js_commonjs-proxy.map +1 -0
- package/build/_virtual/gssapi.js_commonjs-proxy +3 -0
- package/build/_virtual/gssapi.js_commonjs-proxy.map +1 -0
- package/build/_virtual/handleIdOption.js_commonjs-proxy +3 -0
- package/build/_virtual/handleIdOption.js_commonjs-proxy.map +1 -0
- package/build/_virtual/handleImmutable.js_commonjs-proxy +3 -0
- package/build/_virtual/handleImmutable.js_commonjs-proxy.map +1 -0
- package/build/_virtual/handleImmutable2.js_commonjs-proxy +3 -0
- package/build/_virtual/handleImmutable2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/handleSpreadDoc.js_commonjs-proxy +3 -0
- package/build/_virtual/handleSpreadDoc.js_commonjs-proxy.map +1 -0
- package/build/_virtual/handleTimestampOption.js_commonjs-proxy +3 -0
- package/build/_virtual/handleTimestampOption.js_commonjs-proxy.map +1 -0
- package/build/_virtual/hasDollarKeys.js_commonjs-proxy +3 -0
- package/build/_virtual/hasDollarKeys.js_commonjs-proxy.map +1 -0
- package/build/_virtual/helpers.js_commonjs-proxy +3 -0
- package/build/_virtual/helpers.js_commonjs-proxy.map +1 -0
- package/build/_virtual/hiredis.js_commonjs-proxy +3 -0
- package/build/_virtual/hiredis.js_commonjs-proxy.map +1 -0
- package/build/_virtual/idGetter.js_commonjs-proxy +3 -0
- package/build/_virtual/idGetter.js_commonjs-proxy.map +1 -0
- package/build/_virtual/immediate.js_commonjs-proxy +3 -0
- package/build/_virtual/immediate.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index.js_commonjs-proxy +3 -0
- package/build/_virtual/index.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index10.js_commonjs-proxy +3 -0
- package/build/_virtual/index10.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index11.js_commonjs-proxy +3 -0
- package/build/_virtual/index11.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index12.js_commonjs-proxy +3 -0
- package/build/_virtual/index12.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index13.js_commonjs-proxy +3 -0
- package/build/_virtual/index13.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index14.js_commonjs-proxy +3 -0
- package/build/_virtual/index14.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index15.js_commonjs-proxy +3 -0
- package/build/_virtual/index15.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index16.js_commonjs-proxy +3 -0
- package/build/_virtual/index16.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index17.js_commonjs-proxy +3 -0
- package/build/_virtual/index17.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index18.js_commonjs-proxy +3 -0
- package/build/_virtual/index18.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index19.js_commonjs-proxy +3 -0
- package/build/_virtual/index19.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index2.js_commonjs-proxy +3 -0
- package/build/_virtual/index2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index20.js_commonjs-proxy +3 -0
- package/build/_virtual/index20.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index21.js_commonjs-proxy +7 -0
- package/build/_virtual/index21.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index22.js_commonjs-proxy +3 -0
- package/build/_virtual/index22.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index23.js_commonjs-proxy +3 -0
- package/build/_virtual/index23.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index24.js_commonjs-proxy +3 -0
- package/build/_virtual/index24.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index25.js_commonjs-proxy +3 -0
- package/build/_virtual/index25.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index26.js_commonjs-proxy +3 -0
- package/build/_virtual/index26.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index27.js_commonjs-proxy +3 -0
- package/build/_virtual/index27.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index28.js_commonjs-proxy +3 -0
- package/build/_virtual/index28.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index29.js_commonjs-proxy +3 -0
- package/build/_virtual/index29.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index3.js_commonjs-proxy +3 -0
- package/build/_virtual/index3.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index30.js_commonjs-proxy +3 -0
- package/build/_virtual/index30.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index31.js_commonjs-proxy +3 -0
- package/build/_virtual/index31.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index4.js_commonjs-proxy +3 -0
- package/build/_virtual/index4.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index5.js_commonjs-proxy +3 -0
- package/build/_virtual/index5.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index6.js_commonjs-proxy +3 -0
- package/build/_virtual/index6.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index7.js_commonjs-proxy +3 -0
- package/build/_virtual/index7.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index8.js_commonjs-proxy +3 -0
- package/build/_virtual/index8.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index9.js_commonjs-proxy +3 -0
- package/build/_virtual/index9.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index_exists.js_commonjs-proxy +3 -0
- package/build/_virtual/index_exists.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index_information.js_commonjs-proxy +3 -0
- package/build/_virtual/index_information.js_commonjs-proxy.map +1 -0
- package/build/_virtual/indexes.js_commonjs-proxy +3 -0
- package/build/_virtual/indexes.js_commonjs-proxy.map +1 -0
- package/build/_virtual/inherits.js_commonjs-proxy +3 -0
- package/build/_virtual/inherits.js_commonjs-proxy.map +1 -0
- package/build/_virtual/inherits_browser.js_commonjs-proxy +3 -0
- package/build/_virtual/inherits_browser.js_commonjs-proxy.map +1 -0
- package/build/_virtual/insert_many.js_commonjs-proxy +3 -0
- package/build/_virtual/insert_many.js_commonjs-proxy.map +1 -0
- package/build/_virtual/insert_one.js_commonjs-proxy +3 -0
- package/build/_virtual/insert_one.js_commonjs-proxy.map +1 -0
- package/build/_virtual/int_32.js_commonjs-proxy +3 -0
- package/build/_virtual/int_32.js_commonjs-proxy.map +1 -0
- package/build/_virtual/internal.js_commonjs-proxy +3 -0
- package/build/_virtual/internal.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isAtlas.js_commonjs-proxy +3 -0
- package/build/_virtual/isAtlas.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isBsonType.js_commonjs-proxy +3 -0
- package/build/_virtual/isBsonType.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isDefaultIdIndex.js_commonjs-proxy +3 -0
- package/build/_virtual/isDefaultIdIndex.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isDefiningProjection.js_commonjs-proxy +3 -0
- package/build/_virtual/isDefiningProjection.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isExclusive.js_commonjs-proxy +3 -0
- package/build/_virtual/isExclusive.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isInclusive.js_commonjs-proxy +3 -0
- package/build/_virtual/isInclusive.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isIndexEqual.js_commonjs-proxy +3 -0
- package/build/_virtual/isIndexEqual.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isMongooseObject.js_commonjs-proxy +3 -0
- package/build/_virtual/isMongooseObject.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isObject.js_commonjs-proxy +3 -0
- package/build/_virtual/isObject.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isOperator.js_commonjs-proxy +3 -0
- package/build/_virtual/isOperator.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isPathExcluded.js_commonjs-proxy +3 -0
- package/build/_virtual/isPathExcluded.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isPathSelectedInclusive.js_commonjs-proxy +3 -0
- package/build/_virtual/isPathSelectedInclusive.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isPromise.js_commonjs-proxy +3 -0
- package/build/_virtual/isPromise.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isSSLError.js_commonjs-proxy +3 -0
- package/build/_virtual/isSSLError.js_commonjs-proxy.map +1 -0
- package/build/_virtual/is_capped.js_commonjs-proxy +3 -0
- package/build/_virtual/is_capped.js_commonjs-proxy.map +1 -0
- package/build/_virtual/join.js_commonjs-proxy +3 -0
- package/build/_virtual/join.js_commonjs-proxy.map +1 -0
- package/build/_virtual/kill_cursors.js_commonjs-proxy +3 -0
- package/build/_virtual/kill_cursors.js_commonjs-proxy.map +1 -0
- package/build/_virtual/leanPopulateMap.js_commonjs-proxy +3 -0
- package/build/_virtual/leanPopulateMap.js_commonjs-proxy.map +1 -0
- package/build/_virtual/limiter.js_commonjs-proxy +3 -0
- package/build/_virtual/limiter.js_commonjs-proxy.map +1 -0
- package/build/_virtual/list_collections.js_commonjs-proxy +3 -0
- package/build/_virtual/list_collections.js_commonjs-proxy.map +1 -0
- package/build/_virtual/list_databases.js_commonjs-proxy +3 -0
- package/build/_virtual/list_databases.js_commonjs-proxy.map +1 -0
- package/build/_virtual/list_indexes.js_commonjs-proxy +3 -0
- package/build/_virtual/list_indexes.js_commonjs-proxy.map +1 -0
- package/build/_virtual/logger.js_commonjs-proxy +3 -0
- package/build/_virtual/logger.js_commonjs-proxy.map +1 -0
- package/build/_virtual/long.js_commonjs-proxy +3 -0
- package/build/_virtual/long.js_commonjs-proxy.map +1 -0
- package/build/_virtual/lookupLocalFields.js_commonjs-proxy +3 -0
- package/build/_virtual/lookupLocalFields.js_commonjs-proxy.map +1 -0
- package/build/_virtual/lru.js_commonjs-proxy +3 -0
- package/build/_virtual/lru.js_commonjs-proxy.map +1 -0
- package/build/_virtual/map.js_commonjs-proxy +3 -0
- package/build/_virtual/map.js_commonjs-proxy.map +1 -0
- package/build/_virtual/map2.js_commonjs-proxy +3 -0
- package/build/_virtual/map2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/map3.js_commonjs-proxy +3 -0
- package/build/_virtual/map3.js_commonjs-proxy.map +1 -0
- package/build/_virtual/map4.js_commonjs-proxy +3 -0
- package/build/_virtual/map4.js_commonjs-proxy.map +1 -0
- package/build/_virtual/map_reduce.js_commonjs-proxy +3 -0
- package/build/_virtual/map_reduce.js_commonjs-proxy.map +1 -0
- package/build/_virtual/max_key.js_commonjs-proxy +3 -0
- package/build/_virtual/max_key.js_commonjs-proxy.map +1 -0
- package/build/_virtual/memory-code-points.js_commonjs-proxy +3 -0
- package/build/_virtual/memory-code-points.js_commonjs-proxy.map +1 -0
- package/build/_virtual/merge.js_commonjs-proxy +3 -0
- package/build/_virtual/merge.js_commonjs-proxy.map +1 -0
- package/build/_virtual/message_stream.js_commonjs-proxy +3 -0
- package/build/_virtual/message_stream.js_commonjs-proxy.map +1 -0
- package/build/_virtual/messages.js_commonjs-proxy +3 -0
- package/build/_virtual/messages.js_commonjs-proxy.map +1 -0
- package/build/_virtual/method.js_commonjs-proxy +3 -0
- package/build/_virtual/method.js_commonjs-proxy.map +1 -0
- package/build/_virtual/min_key.js_commonjs-proxy +3 -0
- package/build/_virtual/min_key.js_commonjs-proxy.map +1 -0
- package/build/_virtual/missingSchema.js_commonjs-proxy +3 -0
- package/build/_virtual/missingSchema.js_commonjs-proxy.map +1 -0
- package/build/_virtual/mixed.js_commonjs-proxy +3 -0
- package/build/_virtual/mixed.js_commonjs-proxy.map +1 -0
- package/build/_virtual/model.js_commonjs-proxy +3 -0
- package/build/_virtual/model.js_commonjs-proxy.map +1 -0
- package/build/_virtual/modifiedPaths.js_commonjs-proxy +3 -0
- package/build/_virtual/modifiedPaths.js_commonjs-proxy.map +1 -0
- package/build/_virtual/mongo_client.js_commonjs-proxy +3 -0
- package/build/_virtual/mongo_client.js_commonjs-proxy.map +1 -0
- package/build/_virtual/mongo_credentials.js_commonjs-proxy +3 -0
- package/build/_virtual/mongo_credentials.js_commonjs-proxy.map +1 -0
- package/build/_virtual/mongocr.js_commonjs-proxy +3 -0
- package/build/_virtual/mongocr.js_commonjs-proxy.map +1 -0
- package/build/_virtual/mongodb_aws.js_commonjs-proxy +3 -0
- package/build/_virtual/mongodb_aws.js_commonjs-proxy.map +1 -0
- package/build/_virtual/mongooseError.js_commonjs-proxy +3 -0
- package/build/_virtual/mongooseError.js_commonjs-proxy.map +1 -0
- package/build/_virtual/mongos.js_commonjs-proxy +3 -0
- package/build/_virtual/mongos.js_commonjs-proxy.map +1 -0
- package/build/_virtual/mongos2.js_commonjs-proxy +3 -0
- package/build/_virtual/mongos2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/monitor.js_commonjs-proxy +3 -0
- package/build/_virtual/monitor.js_commonjs-proxy.map +1 -0
- package/build/_virtual/moveImmutableProperties.js_commonjs-proxy +3 -0
- package/build/_virtual/moveImmutableProperties.js_commonjs-proxy.map +1 -0
- package/build/_virtual/mquery.js_commonjs-proxy +3 -0
- package/build/_virtual/mquery.js_commonjs-proxy.map +1 -0
- package/build/_virtual/msg.js_commonjs-proxy +3 -0
- package/build/_virtual/msg.js_commonjs-proxy.map +1 -0
- package/build/_virtual/multi.js_commonjs-proxy +3 -0
- package/build/_virtual/multi.js_commonjs-proxy.map +1 -0
- package/build/_virtual/native_topology.js_commonjs-proxy +3 -0
- package/build/_virtual/native_topology.js_commonjs-proxy.map +1 -0
- package/build/_virtual/node.js_commonjs-proxy +3 -0
- package/build/_virtual/node.js_commonjs-proxy.map +1 -0
- package/build/_virtual/node2.js_commonjs-proxy +3 -0
- package/build/_virtual/node2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/nodeback.js_commonjs-proxy +3 -0
- package/build/_virtual/nodeback.js_commonjs-proxy.map +1 -0
- package/build/_virtual/nodeify.js_commonjs-proxy +3 -0
- package/build/_virtual/nodeify.js_commonjs-proxy.map +1 -0
- package/build/_virtual/normalizeRefPath.js_commonjs-proxy +3 -0
- package/build/_virtual/normalizeRefPath.js_commonjs-proxy.map +1 -0
- package/build/_virtual/notFound.js_commonjs-proxy +3 -0
- package/build/_virtual/notFound.js_commonjs-proxy.map +1 -0
- package/build/_virtual/number.js_commonjs-proxy +3 -0
- package/build/_virtual/number.js_commonjs-proxy.map +1 -0
- package/build/_virtual/number2.js_commonjs-proxy +3 -0
- package/build/_virtual/number2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/objectExpected.js_commonjs-proxy +3 -0
- package/build/_virtual/objectExpected.js_commonjs-proxy.map +1 -0
- package/build/_virtual/objectParameter.js_commonjs-proxy +3 -0
- package/build/_virtual/objectParameter.js_commonjs-proxy.map +1 -0
- package/build/_virtual/objectid.js_commonjs-proxy +3 -0
- package/build/_virtual/objectid.js_commonjs-proxy.map +1 -0
- package/build/_virtual/objectid2.js_commonjs-proxy +3 -0
- package/build/_virtual/objectid2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/objectid3.js_commonjs-proxy +3 -0
- package/build/_virtual/objectid3.js_commonjs-proxy.map +1 -0
- package/build/_virtual/objectid4.js_commonjs-proxy +3 -0
- package/build/_virtual/objectid4.js_commonjs-proxy.map +1 -0
- package/build/_virtual/objectid5.js_commonjs-proxy +3 -0
- package/build/_virtual/objectid5.js_commonjs-proxy.map +1 -0
- package/build/_virtual/operation.js_commonjs-proxy +3 -0
- package/build/_virtual/operation.js_commonjs-proxy.map +1 -0
- package/build/_virtual/options.js_commonjs-proxy +3 -0
- package/build/_virtual/options.js_commonjs-proxy.map +1 -0
- package/build/_virtual/options_operation.js_commonjs-proxy +3 -0
- package/build/_virtual/options_operation.js_commonjs-proxy.map +1 -0
- package/build/_virtual/ordered.js_commonjs-proxy +3 -0
- package/build/_virtual/ordered.js_commonjs-proxy.map +1 -0
- package/build/_virtual/overwriteModel.js_commonjs-proxy +3 -0
- package/build/_virtual/overwriteModel.js_commonjs-proxy.map +1 -0
- package/build/_virtual/parallelLimit.js_commonjs-proxy +3 -0
- package/build/_virtual/parallelLimit.js_commonjs-proxy.map +1 -0
- package/build/_virtual/parallelSave.js_commonjs-proxy +3 -0
- package/build/_virtual/parallelSave.js_commonjs-proxy.map +1 -0
- package/build/_virtual/parallelValidate.js_commonjs-proxy +3 -0
- package/build/_virtual/parallelValidate.js_commonjs-proxy.map +1 -0
- package/build/_virtual/parentPaths.js_commonjs-proxy +3 -0
- package/build/_virtual/parentPaths.js_commonjs-proxy.map +1 -0
- package/build/_virtual/parseProjection.js_commonjs-proxy +3 -0
- package/build/_virtual/parseProjection.js_commonjs-proxy.map +1 -0
- package/build/_virtual/parser.js_commonjs-proxy +3 -0
- package/build/_virtual/parser.js_commonjs-proxy.map +1 -0
- package/build/_virtual/parserError.js_commonjs-proxy +3 -0
- package/build/_virtual/parserError.js_commonjs-proxy.map +1 -0
- package/build/_virtual/permessage-deflate.js_commonjs-proxy +3 -0
- package/build/_virtual/permessage-deflate.js_commonjs-proxy.map +1 -0
- package/build/_virtual/permissions.js_commonjs-proxy +3 -0
- package/build/_virtual/permissions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/plain.js_commonjs-proxy +3 -0
- package/build/_virtual/plain.js_commonjs-proxy.map +1 -0
- package/build/_virtual/pool.js_commonjs-proxy +3 -0
- package/build/_virtual/pool.js_commonjs-proxy.map +1 -0
- package/build/_virtual/profiling_level.js_commonjs-proxy +3 -0
- package/build/_virtual/profiling_level.js_commonjs-proxy.map +1 -0
- package/build/_virtual/promise.js_commonjs-proxy +3 -0
- package/build/_virtual/promise.js_commonjs-proxy.map +1 -0
- package/build/_virtual/promiseOrCallback.js_commonjs-proxy +3 -0
- package/build/_virtual/promiseOrCallback.js_commonjs-proxy.map +1 -0
- package/build/_virtual/promise_array.js_commonjs-proxy +3 -0
- package/build/_virtual/promise_array.js_commonjs-proxy.map +1 -0
- package/build/_virtual/promise_provider.js_commonjs-proxy +3 -0
- package/build/_virtual/promise_provider.js_commonjs-proxy.map +1 -0
- package/build/_virtual/promisify.js_commonjs-proxy +3 -0
- package/build/_virtual/promisify.js_commonjs-proxy.map +1 -0
- package/build/_virtual/propertyOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/propertyOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/props.js_commonjs-proxy +3 -0
- package/build/_virtual/props.js_commonjs-proxy.map +1 -0
- package/build/_virtual/query.js_commonjs-proxy +3 -0
- package/build/_virtual/query.js_commonjs-proxy.map +1 -0
- package/build/_virtual/query2.js_commonjs-proxy +3 -0
- package/build/_virtual/query2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/queryhelpers.js_commonjs-proxy +3 -0
- package/build/_virtual/queryhelpers.js_commonjs-proxy.map +1 -0
- package/build/_virtual/queue.js_commonjs-proxy +3 -0
- package/build/_virtual/queue.js_commonjs-proxy.map +1 -0
- package/build/_virtual/race.js_commonjs-proxy +3 -0
- package/build/_virtual/race.js_commonjs-proxy.map +1 -0
- package/build/_virtual/re_index.js_commonjs-proxy +3 -0
- package/build/_virtual/re_index.js_commonjs-proxy.map +1 -0
- package/build/_virtual/read_concern.js_commonjs-proxy +3 -0
- package/build/_virtual/read_concern.js_commonjs-proxy.map +1 -0
- package/build/_virtual/read_preference.js_commonjs-proxy +3 -0
- package/build/_virtual/read_preference.js_commonjs-proxy.map +1 -0
- package/build/_virtual/readable.js_commonjs-proxy +3 -0
- package/build/_virtual/readable.js_commonjs-proxy.map +1 -0
- package/build/_virtual/receiver.js_commonjs-proxy +3 -0
- package/build/_virtual/receiver.js_commonjs-proxy.map +1 -0
- package/build/_virtual/redisError.js_commonjs-proxy +3 -0
- package/build/_virtual/redisError.js_commonjs-proxy.map +1 -0
- package/build/_virtual/reduce.js_commonjs-proxy +3 -0
- package/build/_virtual/reduce.js_commonjs-proxy.map +1 -0
- package/build/_virtual/regexp.js_commonjs-proxy +3 -0
- package/build/_virtual/regexp.js_commonjs-proxy.map +1 -0
- package/build/_virtual/removeDeselectedForeignField.js_commonjs-proxy +3 -0
- package/build/_virtual/removeDeselectedForeignField.js_commonjs-proxy.map +1 -0
- package/build/_virtual/removeOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/removeOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/removeSubdocs.js_commonjs-proxy +3 -0
- package/build/_virtual/removeSubdocs.js_commonjs-proxy.map +1 -0
- package/build/_virtual/removeUnusedArrayFilters.js_commonjs-proxy +3 -0
- package/build/_virtual/removeUnusedArrayFilters.js_commonjs-proxy.map +1 -0
- package/build/_virtual/remove_user.js_commonjs-proxy +3 -0
- package/build/_virtual/remove_user.js_commonjs-proxy.map +1 -0
- package/build/_virtual/rename.js_commonjs-proxy +3 -0
- package/build/_virtual/rename.js_commonjs-proxy.map +1 -0
- package/build/_virtual/replace_one.js_commonjs-proxy +3 -0
- package/build/_virtual/replace_one.js_commonjs-proxy.map +1 -0
- package/build/_virtual/replset.js_commonjs-proxy +3 -0
- package/build/_virtual/replset.js_commonjs-proxy.map +1 -0
- package/build/_virtual/replset2.js_commonjs-proxy +3 -0
- package/build/_virtual/replset2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/replset_state.js_commonjs-proxy +3 -0
- package/build/_virtual/replset_state.js_commonjs-proxy.map +1 -0
- package/build/_virtual/replyError.js_commonjs-proxy +3 -0
- package/build/_virtual/replyError.js_commonjs-proxy.map +1 -0
- package/build/_virtual/run_command.js_commonjs-proxy +3 -0
- package/build/_virtual/run_command.js_commonjs-proxy.map +1 -0
- package/build/_virtual/sanitizeProjection.js_commonjs-proxy +3 -0
- package/build/_virtual/sanitizeProjection.js_commonjs-proxy.map +1 -0
- package/build/_virtual/saveOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/saveOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/saveSubdocs.js_commonjs-proxy +3 -0
- package/build/_virtual/saveSubdocs.js_commonjs-proxy.map +1 -0
- package/build/_virtual/schedule.js_commonjs-proxy +3 -0
- package/build/_virtual/schedule.js_commonjs-proxy.map +1 -0
- package/build/_virtual/schema.js_commonjs-proxy +3 -0
- package/build/_virtual/schema.js_commonjs-proxy.map +1 -0
- package/build/_virtual/schematype.js_commonjs-proxy +3 -0
- package/build/_virtual/schematype.js_commonjs-proxy.map +1 -0
- package/build/_virtual/scram.js_commonjs-proxy +3 -0
- package/build/_virtual/scram.js_commonjs-proxy.map +1 -0
- package/build/_virtual/selectPopulatedFields.js_commonjs-proxy +3 -0
- package/build/_virtual/selectPopulatedFields.js_commonjs-proxy.map +1 -0
- package/build/_virtual/sender.js_commonjs-proxy +3 -0
- package/build/_virtual/sender.js_commonjs-proxy.map +1 -0
- package/build/_virtual/serializer.js_commonjs-proxy +3 -0
- package/build/_virtual/serializer.js_commonjs-proxy.map +1 -0
- package/build/_virtual/server.js_commonjs-proxy +3 -0
- package/build/_virtual/server.js_commonjs-proxy.map +1 -0
- package/build/_virtual/server2.js_commonjs-proxy +3 -0
- package/build/_virtual/server2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/server3.js_commonjs-proxy +3 -0
- package/build/_virtual/server3.js_commonjs-proxy.map +1 -0
- package/build/_virtual/serverSelection.js_commonjs-proxy +3 -0
- package/build/_virtual/serverSelection.js_commonjs-proxy.map +1 -0
- package/build/_virtual/server_description.js_commonjs-proxy +3 -0
- package/build/_virtual/server_description.js_commonjs-proxy.map +1 -0
- package/build/_virtual/server_selection.js_commonjs-proxy +3 -0
- package/build/_virtual/server_selection.js_commonjs-proxy.map +1 -0
- package/build/_virtual/sessions.js_commonjs-proxy +3 -0
- package/build/_virtual/sessions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/setDefaultsOnInsert.js_commonjs-proxy +3 -0
- package/build/_virtual/setDefaultsOnInsert.js_commonjs-proxy.map +1 -0
- package/build/_virtual/setDottedPath.js_commonjs-proxy +3 -0
- package/build/_virtual/setDottedPath.js_commonjs-proxy.map +1 -0
- package/build/_virtual/set_profiling_level.js_commonjs-proxy +3 -0
- package/build/_virtual/set_profiling_level.js_commonjs-proxy.map +1 -0
- package/build/_virtual/settle.js_commonjs-proxy +3 -0
- package/build/_virtual/settle.js_commonjs-proxy.map +1 -0
- package/build/_virtual/setupTimestamps.js_commonjs-proxy +3 -0
- package/build/_virtual/setupTimestamps.js_commonjs-proxy.map +1 -0
- package/build/_virtual/sharding.js_commonjs-proxy +3 -0
- package/build/_virtual/sharding.js_commonjs-proxy.map +1 -0
- package/build/_virtual/shared.js_commonjs-proxy +3 -0
- package/build/_virtual/shared.js_commonjs-proxy.map +1 -0
- package/build/_virtual/shared2.js_commonjs-proxy +3 -0
- package/build/_virtual/shared2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/some.js_commonjs-proxy +3 -0
- package/build/_virtual/some.js_commonjs-proxy.map +1 -0
- package/build/_virtual/specialProperties.js_commonjs-proxy +3 -0
- package/build/_virtual/specialProperties.js_commonjs-proxy.map +1 -0
- package/build/_virtual/srv_polling.js_commonjs-proxy +3 -0
- package/build/_virtual/srv_polling.js_commonjs-proxy.map +1 -0
- package/build/_virtual/statemachine.js_commonjs-proxy +3 -0
- package/build/_virtual/statemachine.js_commonjs-proxy.map +1 -0
- package/build/_virtual/stats.js_commonjs-proxy +3 -0
- package/build/_virtual/stats.js_commonjs-proxy.map +1 -0
- package/build/_virtual/stream.js_commonjs-proxy +3 -0
- package/build/_virtual/stream.js_commonjs-proxy.map +1 -0
- package/build/_virtual/stream2.js_commonjs-proxy +3 -0
- package/build/_virtual/stream2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/stream_description.js_commonjs-proxy +3 -0
- package/build/_virtual/stream_description.js_commonjs-proxy.map +1 -0
- package/build/_virtual/strict.js_commonjs-proxy +3 -0
- package/build/_virtual/strict.js_commonjs-proxy.map +1 -0
- package/build/_virtual/string.js_commonjs-proxy +3 -0
- package/build/_virtual/string.js_commonjs-proxy.map +1 -0
- package/build/_virtual/string2.js_commonjs-proxy +3 -0
- package/build/_virtual/string2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/stringToParts.js_commonjs-proxy +3 -0
- package/build/_virtual/stringToParts.js_commonjs-proxy.map +1 -0
- package/build/_virtual/string_decoder.js_commonjs-proxy +3 -0
- package/build/_virtual/string_decoder.js_commonjs-proxy.map +1 -0
- package/build/_virtual/stringifyFunctionOperators.js_commonjs-proxy +3 -0
- package/build/_virtual/stringifyFunctionOperators.js_commonjs-proxy.map +1 -0
- package/build/_virtual/subdocument.js_commonjs-proxy +3 -0
- package/build/_virtual/subdocument.js_commonjs-proxy.map +1 -0
- package/build/_virtual/symbol.js_commonjs-proxy +3 -0
- package/build/_virtual/symbol.js_commonjs-proxy.map +1 -0
- package/build/_virtual/symbols.js_commonjs-proxy +3 -0
- package/build/_virtual/symbols.js_commonjs-proxy.map +1 -0
- package/build/_virtual/symbols2.js_commonjs-proxy +3 -0
- package/build/_virtual/symbols2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/synchronous_inspection.js_commonjs-proxy +3 -0
- package/build/_virtual/synchronous_inspection.js_commonjs-proxy.map +1 -0
- package/build/_virtual/text.js_commonjs-proxy +3 -0
- package/build/_virtual/text.js_commonjs-proxy.map +1 -0
- package/build/_virtual/thenables.js_commonjs-proxy +3 -0
- package/build/_virtual/thenables.js_commonjs-proxy.map +1 -0
- package/build/_virtual/timers.js_commonjs-proxy +3 -0
- package/build/_virtual/timers.js_commonjs-proxy.map +1 -0
- package/build/_virtual/timers2.js_commonjs-proxy +3 -0
- package/build/_virtual/timers2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/timestamp.js_commonjs-proxy +3 -0
- package/build/_virtual/timestamp.js_commonjs-proxy.map +1 -0
- package/build/_virtual/topology.js_commonjs-proxy +3 -0
- package/build/_virtual/topology.js_commonjs-proxy.map +1 -0
- package/build/_virtual/topology_base.js_commonjs-proxy +3 -0
- package/build/_virtual/topology_base.js_commonjs-proxy.map +1 -0
- package/build/_virtual/topology_description.js_commonjs-proxy +3 -0
- package/build/_virtual/topology_description.js_commonjs-proxy.map +1 -0
- package/build/_virtual/trackTransaction.js_commonjs-proxy +3 -0
- package/build/_virtual/trackTransaction.js_commonjs-proxy.map +1 -0
- package/build/_virtual/transactions.js_commonjs-proxy +3 -0
- package/build/_virtual/transactions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/type.js_commonjs-proxy +3 -0
- package/build/_virtual/type.js_commonjs-proxy.map +1 -0
- package/build/_virtual/unordered.js_commonjs-proxy +3 -0
- package/build/_virtual/unordered.js_commonjs-proxy.map +1 -0
- package/build/_virtual/updateValidators.js_commonjs-proxy +3 -0
- package/build/_virtual/updateValidators.js_commonjs-proxy.map +1 -0
- package/build/_virtual/update_many.js_commonjs-proxy +3 -0
- package/build/_virtual/update_many.js_commonjs-proxy.map +1 -0
- package/build/_virtual/update_one.js_commonjs-proxy +3 -0
- package/build/_virtual/update_one.js_commonjs-proxy.map +1 -0
- package/build/_virtual/updatedPathsByArrayFilter.js_commonjs-proxy +3 -0
- package/build/_virtual/updatedPathsByArrayFilter.js_commonjs-proxy.map +1 -0
- package/build/_virtual/upload.js_commonjs-proxy +3 -0
- package/build/_virtual/upload.js_commonjs-proxy.map +1 -0
- package/build/_virtual/uri_parser.js_commonjs-proxy +3 -0
- package/build/_virtual/uri_parser.js_commonjs-proxy.map +1 -0
- package/build/_virtual/url_parser.js_commonjs-proxy +3 -0
- package/build/_virtual/url_parser.js_commonjs-proxy.map +1 -0
- package/build/_virtual/using.js_commonjs-proxy +3 -0
- package/build/_virtual/using.js_commonjs-proxy.map +1 -0
- package/build/_virtual/util.js_commonjs-proxy +3 -0
- package/build/_virtual/util.js_commonjs-proxy.map +1 -0
- package/build/_virtual/util2.js_commonjs-proxy +3 -0
- package/build/_virtual/util2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/utils.js_commonjs-proxy +3 -0
- package/build/_virtual/utils.js_commonjs-proxy.map +1 -0
- package/build/_virtual/utils2.js_commonjs-proxy +3 -0
- package/build/_virtual/utils2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/utils3.js_commonjs-proxy +3 -0
- package/build/_virtual/utils3.js_commonjs-proxy.map +1 -0
- package/build/_virtual/utils4.js_commonjs-proxy +3 -0
- package/build/_virtual/utils4.js_commonjs-proxy.map +1 -0
- package/build/_virtual/utils5.js_commonjs-proxy +3 -0
- package/build/_virtual/utils5.js_commonjs-proxy.map +1 -0
- package/build/_virtual/utils6.js_commonjs-proxy +3 -0
- package/build/_virtual/utils6.js_commonjs-proxy.map +1 -0
- package/build/_virtual/utils7.js_commonjs-proxy +3 -0
- package/build/_virtual/utils7.js_commonjs-proxy.map +1 -0
- package/build/_virtual/validateBeforeSave.js_commonjs-proxy +3 -0
- package/build/_virtual/validateBeforeSave.js_commonjs-proxy.map +1 -0
- package/build/_virtual/validateRef.js_commonjs-proxy +3 -0
- package/build/_virtual/validateRef.js_commonjs-proxy.map +1 -0
- package/build/_virtual/validate_collection.js_commonjs-proxy +3 -0
- package/build/_virtual/validate_collection.js_commonjs-proxy.map +1 -0
- package/build/_virtual/validation.js_commonjs-proxy +3 -0
- package/build/_virtual/validation.js_commonjs-proxy.map +1 -0
- package/build/_virtual/validation2.js_commonjs-proxy +3 -0
- package/build/_virtual/validation2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/validator.js_commonjs-proxy +3 -0
- package/build/_virtual/validator.js_commonjs-proxy.map +1 -0
- package/build/_virtual/validoptions.js_commonjs-proxy +3 -0
- package/build/_virtual/validoptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/version.js_commonjs-proxy +3 -0
- package/build/_virtual/version.js_commonjs-proxy.map +1 -0
- package/build/_virtual/virtualtype.js_commonjs-proxy +3 -0
- package/build/_virtual/virtualtype.js_commonjs-proxy.map +1 -0
- package/build/_virtual/websocket-server.js_commonjs-proxy +3 -0
- package/build/_virtual/websocket-server.js_commonjs-proxy.map +1 -0
- package/build/_virtual/websocket.js_commonjs-proxy +3 -0
- package/build/_virtual/websocket.js_commonjs-proxy.map +1 -0
- package/build/_virtual/wrapThunk.js_commonjs-proxy +3 -0
- package/build/_virtual/wrapThunk.js_commonjs-proxy.map +1 -0
- package/build/_virtual/write_command.js_commonjs-proxy +3 -0
- package/build/_virtual/write_command.js_commonjs-proxy.map +1 -0
- package/build/_virtual/write_concern.js_commonjs-proxy +3 -0
- package/build/_virtual/write_concern.js_commonjs-proxy.map +1 -0
- package/build/_virtual/x509.js_commonjs-proxy +3 -0
- package/build/_virtual/x509.js_commonjs-proxy.map +1 -0
- package/build/bundles/colyseus/build/index.mjs +13 -0
- package/build/bundles/colyseus/build/index.mjs.js +25 -0
- package/build/bundles/colyseus/build/index.mjs.js.map +1 -0
- package/build/bundles/colyseus/build/index.mjs.map +1 -0
- package/build/matchmaker/controller.js +3 -1
- package/build/matchmaker/controller.js.map +1 -1
- package/build/matchmaker/controller.mjs +3 -1
- package/build/matchmaker/controller.mjs.map +1 -1
- package/build/node_modules/aws4/aws4.js +388 -0
- package/build/node_modules/aws4/aws4.js.map +1 -0
- package/build/node_modules/aws4/aws4.mjs +380 -0
- package/build/node_modules/aws4/aws4.mjs.map +1 -0
- package/build/node_modules/aws4/lru.js +101 -0
- package/build/node_modules/aws4/lru.js.map +1 -0
- package/build/node_modules/aws4/lru.mjs +99 -0
- package/build/node_modules/aws4/lru.mjs.map +1 -0
- package/build/node_modules/bl/bl.js +403 -0
- package/build/node_modules/bl/bl.js.map +1 -0
- package/build/node_modules/bl/bl.mjs +397 -0
- package/build/node_modules/bl/bl.mjs.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js +114 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.mjs +112 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.mjs.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js +29 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.mjs +27 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.mjs.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js +1020 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.mjs +1013 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.mjs.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js +158 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.mjs +156 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.mjs.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js +667 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.mjs +665 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.mjs.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/BufferList.js +93 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/BufferList.js.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/BufferList.mjs +87 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/BufferList.mjs.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.js +79 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.js.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.mjs +77 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.mjs.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream.js +12 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream.js.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream.mjs +6 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream.mjs.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/readable.js +37 -0
- package/build/node_modules/bl/node_modules/readable-stream/readable.js.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/readable.mjs +31 -0
- package/build/node_modules/bl/node_modules/readable-stream/readable.mjs.map +1 -0
- package/build/node_modules/bl/node_modules/string_decoder/lib/string_decoder.js +286 -0
- package/build/node_modules/bl/node_modules/string_decoder/lib/string_decoder.js.map +1 -0
- package/build/node_modules/bl/node_modules/string_decoder/lib/string_decoder.mjs +282 -0
- package/build/node_modules/bl/node_modules/string_decoder/lib/string_decoder.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/any.js +25 -0
- package/build/node_modules/bluebird/js/release/any.js.map +1 -0
- package/build/node_modules/bluebird/js/release/any.mjs +23 -0
- package/build/node_modules/bluebird/js/release/any.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/async.js +173 -0
- package/build/node_modules/bluebird/js/release/async.js.map +1 -0
- package/build/node_modules/bluebird/js/release/async.mjs +169 -0
- package/build/node_modules/bluebird/js/release/async.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/bind.js +71 -0
- package/build/node_modules/bluebird/js/release/bind.js.map +1 -0
- package/build/node_modules/bluebird/js/release/bind.mjs +69 -0
- package/build/node_modules/bluebird/js/release/bind.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/bluebird.js +17 -0
- package/build/node_modules/bluebird/js/release/bluebird.js.map +1 -0
- package/build/node_modules/bluebird/js/release/bluebird.mjs +15 -0
- package/build/node_modules/bluebird/js/release/bluebird.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/call_get.js +128 -0
- package/build/node_modules/bluebird/js/release/call_get.js.map +1 -0
- package/build/node_modules/bluebird/js/release/call_get.mjs +126 -0
- package/build/node_modules/bluebird/js/release/call_get.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/cancel.js +135 -0
- package/build/node_modules/bluebird/js/release/cancel.js.map +1 -0
- package/build/node_modules/bluebird/js/release/cancel.mjs +133 -0
- package/build/node_modules/bluebird/js/release/cancel.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/catch_filter.js +49 -0
- package/build/node_modules/bluebird/js/release/catch_filter.js.map +1 -0
- package/build/node_modules/bluebird/js/release/catch_filter.mjs +47 -0
- package/build/node_modules/bluebird/js/release/catch_filter.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/context.js +73 -0
- package/build/node_modules/bluebird/js/release/context.js.map +1 -0
- package/build/node_modules/bluebird/js/release/context.mjs +71 -0
- package/build/node_modules/bluebird/js/release/context.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/debuggability.js +922 -0
- package/build/node_modules/bluebird/js/release/debuggability.js.map +1 -0
- package/build/node_modules/bluebird/js/release/debuggability.mjs +920 -0
- package/build/node_modules/bluebird/js/release/debuggability.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/direct_resolve.js +50 -0
- package/build/node_modules/bluebird/js/release/direct_resolve.js.map +1 -0
- package/build/node_modules/bluebird/js/release/direct_resolve.mjs +48 -0
- package/build/node_modules/bluebird/js/release/direct_resolve.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/each.js +33 -0
- package/build/node_modules/bluebird/js/release/each.js.map +1 -0
- package/build/node_modules/bluebird/js/release/each.mjs +31 -0
- package/build/node_modules/bluebird/js/release/each.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/errors.js +122 -0
- package/build/node_modules/bluebird/js/release/errors.js.map +1 -0
- package/build/node_modules/bluebird/js/release/errors.mjs +120 -0
- package/build/node_modules/bluebird/js/release/errors.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/es5.js +88 -0
- package/build/node_modules/bluebird/js/release/es5.js.map +1 -0
- package/build/node_modules/bluebird/js/release/es5.mjs +86 -0
- package/build/node_modules/bluebird/js/release/es5.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/filter.js +16 -0
- package/build/node_modules/bluebird/js/release/filter.js.map +1 -0
- package/build/node_modules/bluebird/js/release/filter.mjs +14 -0
- package/build/node_modules/bluebird/js/release/filter.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/finally.js +153 -0
- package/build/node_modules/bluebird/js/release/finally.js.map +1 -0
- package/build/node_modules/bluebird/js/release/finally.mjs +151 -0
- package/build/node_modules/bluebird/js/release/finally.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/generators.js +229 -0
- package/build/node_modules/bluebird/js/release/generators.js.map +1 -0
- package/build/node_modules/bluebird/js/release/generators.mjs +227 -0
- package/build/node_modules/bluebird/js/release/generators.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/join.js +172 -0
- package/build/node_modules/bluebird/js/release/join.js.map +1 -0
- package/build/node_modules/bluebird/js/release/join.mjs +170 -0
- package/build/node_modules/bluebird/js/release/join.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/map.js +173 -0
- package/build/node_modules/bluebird/js/release/map.js.map +1 -0
- package/build/node_modules/bluebird/js/release/map.mjs +171 -0
- package/build/node_modules/bluebird/js/release/map.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/method.js +61 -0
- package/build/node_modules/bluebird/js/release/method.js.map +1 -0
- package/build/node_modules/bluebird/js/release/method.mjs +59 -0
- package/build/node_modules/bluebird/js/release/method.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/nodeback.js +57 -0
- package/build/node_modules/bluebird/js/release/nodeback.js.map +1 -0
- package/build/node_modules/bluebird/js/release/nodeback.mjs +55 -0
- package/build/node_modules/bluebird/js/release/nodeback.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/nodeify.js +64 -0
- package/build/node_modules/bluebird/js/release/nodeify.js.map +1 -0
- package/build/node_modules/bluebird/js/release/nodeify.mjs +62 -0
- package/build/node_modules/bluebird/js/release/nodeify.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/promise.js +815 -0
- package/build/node_modules/bluebird/js/release/promise.js.map +1 -0
- package/build/node_modules/bluebird/js/release/promise.mjs +813 -0
- package/build/node_modules/bluebird/js/release/promise.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/promise_array.js +190 -0
- package/build/node_modules/bluebird/js/release/promise_array.js.map +1 -0
- package/build/node_modules/bluebird/js/release/promise_array.mjs +188 -0
- package/build/node_modules/bluebird/js/release/promise_array.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/promisify.js +321 -0
- package/build/node_modules/bluebird/js/release/promisify.js.map +1 -0
- package/build/node_modules/bluebird/js/release/promisify.mjs +319 -0
- package/build/node_modules/bluebird/js/release/promisify.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/props.js +125 -0
- package/build/node_modules/bluebird/js/release/props.js.map +1 -0
- package/build/node_modules/bluebird/js/release/props.mjs +123 -0
- package/build/node_modules/bluebird/js/release/props.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/queue.js +77 -0
- package/build/node_modules/bluebird/js/release/queue.js.map +1 -0
- package/build/node_modules/bluebird/js/release/queue.mjs +75 -0
- package/build/node_modules/bluebird/js/release/queue.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/race.js +55 -0
- package/build/node_modules/bluebird/js/release/race.js.map +1 -0
- package/build/node_modules/bluebird/js/release/race.mjs +53 -0
- package/build/node_modules/bluebird/js/release/race.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/reduce.js +178 -0
- package/build/node_modules/bluebird/js/release/reduce.js.map +1 -0
- package/build/node_modules/bluebird/js/release/reduce.mjs +176 -0
- package/build/node_modules/bluebird/js/release/reduce.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/schedule.js +67 -0
- package/build/node_modules/bluebird/js/release/schedule.js.map +1 -0
- package/build/node_modules/bluebird/js/release/schedule.mjs +65 -0
- package/build/node_modules/bluebird/js/release/schedule.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/settle.js +49 -0
- package/build/node_modules/bluebird/js/release/settle.js.map +1 -0
- package/build/node_modules/bluebird/js/release/settle.mjs +47 -0
- package/build/node_modules/bluebird/js/release/settle.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/some.js +155 -0
- package/build/node_modules/bluebird/js/release/some.js.map +1 -0
- package/build/node_modules/bluebird/js/release/some.mjs +153 -0
- package/build/node_modules/bluebird/js/release/some.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/synchronous_inspection.js +107 -0
- package/build/node_modules/bluebird/js/release/synchronous_inspection.js.map +1 -0
- package/build/node_modules/bluebird/js/release/synchronous_inspection.mjs +105 -0
- package/build/node_modules/bluebird/js/release/synchronous_inspection.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/thenables.js +92 -0
- package/build/node_modules/bluebird/js/release/thenables.js.map +1 -0
- package/build/node_modules/bluebird/js/release/thenables.mjs +90 -0
- package/build/node_modules/bluebird/js/release/thenables.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/timers.js +99 -0
- package/build/node_modules/bluebird/js/release/timers.js.map +1 -0
- package/build/node_modules/bluebird/js/release/timers.mjs +97 -0
- package/build/node_modules/bluebird/js/release/timers.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/using.js +233 -0
- package/build/node_modules/bluebird/js/release/using.js.map +1 -0
- package/build/node_modules/bluebird/js/release/using.mjs +231 -0
- package/build/node_modules/bluebird/js/release/using.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/util.js +380 -0
- package/build/node_modules/bluebird/js/release/util.js.map +1 -0
- package/build/node_modules/bluebird/js/release/util.mjs +378 -0
- package/build/node_modules/bluebird/js/release/util.mjs.map +1 -0
- package/build/node_modules/bson/index.js +51 -0
- package/build/node_modules/bson/index.js.map +1 -0
- package/build/node_modules/bson/index.mjs +49 -0
- package/build/node_modules/bson/index.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/binary.js +401 -0
- package/build/node_modules/bson/lib/bson/binary.js.map +1 -0
- package/build/node_modules/bson/lib/bson/binary.mjs +393 -0
- package/build/node_modules/bson/lib/bson/binary.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/bson.js +422 -0
- package/build/node_modules/bson/lib/bson/bson.js.map +1 -0
- package/build/node_modules/bson/lib/bson/bson.mjs +404 -0
- package/build/node_modules/bson/lib/bson/bson.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/code.js +33 -0
- package/build/node_modules/bson/lib/bson/code.js.map +1 -0
- package/build/node_modules/bson/lib/bson/code.mjs +29 -0
- package/build/node_modules/bson/lib/bson/code.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/db_ref.js +41 -0
- package/build/node_modules/bson/lib/bson/db_ref.js.map +1 -0
- package/build/node_modules/bson/lib/bson/db_ref.mjs +37 -0
- package/build/node_modules/bson/lib/bson/db_ref.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/decimal128.js +826 -0
- package/build/node_modules/bson/lib/bson/decimal128.js.map +1 -0
- package/build/node_modules/bson/lib/bson/decimal128.mjs +822 -0
- package/build/node_modules/bson/lib/bson/decimal128.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/double.js +42 -0
- package/build/node_modules/bson/lib/bson/double.js.map +1 -0
- package/build/node_modules/bson/lib/bson/double.mjs +38 -0
- package/build/node_modules/bson/lib/bson/double.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/float_parser.js +138 -0
- package/build/node_modules/bson/lib/bson/float_parser.js.map +1 -0
- package/build/node_modules/bson/lib/bson/float_parser.mjs +133 -0
- package/build/node_modules/bson/lib/bson/float_parser.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/int_32.js +42 -0
- package/build/node_modules/bson/lib/bson/int_32.js.map +1 -0
- package/build/node_modules/bson/lib/bson/int_32.mjs +38 -0
- package/build/node_modules/bson/lib/bson/int_32.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/long.js +874 -0
- package/build/node_modules/bson/lib/bson/long.js.map +1 -0
- package/build/node_modules/bson/lib/bson/long.mjs +870 -0
- package/build/node_modules/bson/lib/bson/long.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/map.js +136 -0
- package/build/node_modules/bson/lib/bson/map.js.map +1 -0
- package/build/node_modules/bson/lib/bson/map.mjs +134 -0
- package/build/node_modules/bson/lib/bson/map.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/max_key.js +23 -0
- package/build/node_modules/bson/lib/bson/max_key.js.map +1 -0
- package/build/node_modules/bson/lib/bson/max_key.mjs +19 -0
- package/build/node_modules/bson/lib/bson/max_key.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/min_key.js +23 -0
- package/build/node_modules/bson/lib/bson/min_key.js.map +1 -0
- package/build/node_modules/bson/lib/bson/min_key.mjs +19 -0
- package/build/node_modules/bson/lib/bson/min_key.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/objectid.js +410 -0
- package/build/node_modules/bson/lib/bson/objectid.js.map +1 -0
- package/build/node_modules/bson/lib/bson/objectid.mjs +401 -0
- package/build/node_modules/bson/lib/bson/objectid.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/parser/calculate_size.js +271 -0
- package/build/node_modules/bson/lib/bson/parser/calculate_size.js.map +1 -0
- package/build/node_modules/bson/lib/bson/parser/calculate_size.mjs +269 -0
- package/build/node_modules/bson/lib/bson/parser/calculate_size.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/parser/deserializer.js +798 -0
- package/build/node_modules/bson/lib/bson/parser/deserializer.js.map +1 -0
- package/build/node_modules/bson/lib/bson/parser/deserializer.mjs +796 -0
- package/build/node_modules/bson/lib/bson/parser/deserializer.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/parser/serializer.js +1200 -0
- package/build/node_modules/bson/lib/bson/parser/serializer.js.map +1 -0
- package/build/node_modules/bson/lib/bson/parser/serializer.mjs +1198 -0
- package/build/node_modules/bson/lib/bson/parser/serializer.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/parser/utils.js +30 -0
- package/build/node_modules/bson/lib/bson/parser/utils.js.map +1 -0
- package/build/node_modules/bson/lib/bson/parser/utils.mjs +28 -0
- package/build/node_modules/bson/lib/bson/parser/utils.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/regexp.js +42 -0
- package/build/node_modules/bson/lib/bson/regexp.js.map +1 -0
- package/build/node_modules/bson/lib/bson/regexp.mjs +38 -0
- package/build/node_modules/bson/lib/bson/regexp.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/symbol.js +65 -0
- package/build/node_modules/bson/lib/bson/symbol.js.map +1 -0
- package/build/node_modules/bson/lib/bson/symbol.mjs +57 -0
- package/build/node_modules/bson/lib/bson/symbol.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/timestamp.js +863 -0
- package/build/node_modules/bson/lib/bson/timestamp.js.map +1 -0
- package/build/node_modules/bson/lib/bson/timestamp.mjs +859 -0
- package/build/node_modules/bson/lib/bson/timestamp.mjs.map +1 -0
- package/build/node_modules/core-util-is/lib/util.js +147 -0
- package/build/node_modules/core-util-is/lib/util.js.map +1 -0
- package/build/node_modules/core-util-is/lib/util.mjs +129 -0
- package/build/node_modules/core-util-is/lib/util.mjs.map +1 -0
- package/build/node_modules/denque/index.js +446 -0
- package/build/node_modules/denque/index.js.map +1 -0
- package/build/node_modules/denque/index.mjs +444 -0
- package/build/node_modules/denque/index.mjs.map +1 -0
- package/build/node_modules/double-ended-queue/js/deque.js +279 -0
- package/build/node_modules/double-ended-queue/js/deque.js.map +1 -0
- package/build/node_modules/double-ended-queue/js/deque.mjs +277 -0
- package/build/node_modules/double-ended-queue/js/deque.mjs.map +1 -0
- package/build/node_modules/inherits/inherits.js +24 -0
- package/build/node_modules/inherits/inherits.js.map +1 -0
- package/build/node_modules/inherits/inherits.mjs +18 -0
- package/build/node_modules/inherits/inherits.mjs.map +1 -0
- package/build/node_modules/inherits/inherits_browser.js +36 -0
- package/build/node_modules/inherits/inherits_browser.js.map +1 -0
- package/build/node_modules/inherits/inherits_browser.mjs +34 -0
- package/build/node_modules/inherits/inherits_browser.mjs.map +1 -0
- package/build/node_modules/isarray/index.js +10 -0
- package/build/node_modules/isarray/index.js.map +1 -0
- package/build/node_modules/isarray/index.mjs +8 -0
- package/build/node_modules/isarray/index.mjs.map +1 -0
- package/build/node_modules/kareem/index.js +514 -0
- package/build/node_modules/kareem/index.js.map +1 -0
- package/build/node_modules/kareem/index.mjs +512 -0
- package/build/node_modules/kareem/index.mjs.map +1 -0
- package/build/node_modules/memory-pager/index.js +165 -0
- package/build/node_modules/memory-pager/index.js.map +1 -0
- package/build/node_modules/memory-pager/index.mjs +163 -0
- package/build/node_modules/memory-pager/index.mjs.map +1 -0
- package/build/node_modules/mongodb/index.js +93 -0
- package/build/node_modules/mongodb/index.js.map +1 -0
- package/build/node_modules/mongodb/index.mjs +91 -0
- package/build/node_modules/mongodb/index.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/admin.js +307 -0
- package/build/node_modules/mongodb/lib/admin.js.map +1 -0
- package/build/node_modules/mongodb/lib/admin.mjs +305 -0
- package/build/node_modules/mongodb/lib/admin.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/aggregation_cursor.js +376 -0
- package/build/node_modules/mongodb/lib/aggregation_cursor.js.map +1 -0
- package/build/node_modules/mongodb/lib/aggregation_cursor.mjs +374 -0
- package/build/node_modules/mongodb/lib/aggregation_cursor.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/apm.js +41 -0
- package/build/node_modules/mongodb/lib/apm.js.map +1 -0
- package/build/node_modules/mongodb/lib/apm.mjs +35 -0
- package/build/node_modules/mongodb/lib/apm.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/async/async_iterator.js +43 -0
- package/build/node_modules/mongodb/lib/async/async_iterator.js.map +1 -0
- package/build/node_modules/mongodb/lib/async/async_iterator.mjs +39 -0
- package/build/node_modules/mongodb/lib/async/async_iterator.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/bulk/common.js +1381 -0
- package/build/node_modules/mongodb/lib/bulk/common.js.map +1 -0
- package/build/node_modules/mongodb/lib/bulk/common.mjs +1379 -0
- package/build/node_modules/mongodb/lib/bulk/common.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/bulk/ordered.js +119 -0
- package/build/node_modules/mongodb/lib/bulk/ordered.js.map +1 -0
- package/build/node_modules/mongodb/lib/bulk/ordered.mjs +115 -0
- package/build/node_modules/mongodb/lib/bulk/ordered.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/bulk/unordered.js +140 -0
- package/build/node_modules/mongodb/lib/bulk/unordered.js.map +1 -0
- package/build/node_modules/mongodb/lib/bulk/unordered.mjs +136 -0
- package/build/node_modules/mongodb/lib/bulk/unordered.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/change_stream.js +640 -0
- package/build/node_modules/mongodb/lib/change_stream.js.map +1 -0
- package/build/node_modules/mongodb/lib/change_stream.mjs +634 -0
- package/build/node_modules/mongodb/lib/change_stream.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/connection.js +404 -0
- package/build/node_modules/mongodb/lib/cmap/connection.js.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/connection.mjs +398 -0
- package/build/node_modules/mongodb/lib/cmap/connection.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/connection_pool.js +608 -0
- package/build/node_modules/mongodb/lib/cmap/connection_pool.js.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/connection_pool.mjs +602 -0
- package/build/node_modules/mongodb/lib/cmap/connection_pool.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/errors.js +41 -0
- package/build/node_modules/mongodb/lib/cmap/errors.js.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/errors.mjs +39 -0
- package/build/node_modules/mongodb/lib/cmap/errors.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/events.js +157 -0
- package/build/node_modules/mongodb/lib/cmap/events.js.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/events.mjs +155 -0
- package/build/node_modules/mongodb/lib/cmap/events.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/message_stream.js +211 -0
- package/build/node_modules/mongodb/lib/cmap/message_stream.js.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/message_stream.mjs +205 -0
- package/build/node_modules/mongodb/lib/cmap/message_stream.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/stream_description.js +51 -0
- package/build/node_modules/mongodb/lib/cmap/stream_description.js.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/stream_description.mjs +49 -0
- package/build/node_modules/mongodb/lib/cmap/stream_description.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/collection.js +2294 -0
- package/build/node_modules/mongodb/lib/collection.js.map +1 -0
- package/build/node_modules/mongodb/lib/collection.mjs +2288 -0
- package/build/node_modules/mongodb/lib/collection.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/command_cursor.js +276 -0
- package/build/node_modules/mongodb/lib/command_cursor.js.map +1 -0
- package/build/node_modules/mongodb/lib/command_cursor.mjs +274 -0
- package/build/node_modules/mongodb/lib/command_cursor.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/constants.js +13 -0
- package/build/node_modules/mongodb/lib/constants.js.map +1 -0
- package/build/node_modules/mongodb/lib/constants.mjs +11 -0
- package/build/node_modules/mongodb/lib/constants.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/auth_provider.js +58 -0
- package/build/node_modules/mongodb/lib/core/auth/auth_provider.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/auth_provider.mjs +56 -0
- package/build/node_modules/mongodb/lib/core/auth/auth_provider.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/defaultAuthProviders.js +35 -0
- package/build/node_modules/mongodb/lib/core/auth/defaultAuthProviders.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/defaultAuthProviders.mjs +33 -0
- package/build/node_modules/mongodb/lib/core/auth/defaultAuthProviders.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/gssapi.js +162 -0
- package/build/node_modules/mongodb/lib/core/auth/gssapi.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/gssapi.mjs +156 -0
- package/build/node_modules/mongodb/lib/core/auth/gssapi.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/mongo_credentials.js +110 -0
- package/build/node_modules/mongodb/lib/core/auth/mongo_credentials.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/mongo_credentials.mjs +108 -0
- package/build/node_modules/mongodb/lib/core/auth/mongo_credentials.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/mongocr.js +54 -0
- package/build/node_modules/mongodb/lib/core/auth/mongocr.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/mongocr.mjs +48 -0
- package/build/node_modules/mongodb/lib/core/auth/mongocr.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/mongodb_aws.js +275 -0
- package/build/node_modules/mongodb/lib/core/auth/mongodb_aws.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/mongodb_aws.mjs +267 -0
- package/build/node_modules/mongodb/lib/core/auth/mongodb_aws.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/plain.js +35 -0
- package/build/node_modules/mongodb/lib/core/auth/plain.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/plain.mjs +33 -0
- package/build/node_modules/mongodb/lib/core/auth/plain.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/scram.js +362 -0
- package/build/node_modules/mongodb/lib/core/auth/scram.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/scram.mjs +356 -0
- package/build/node_modules/mongodb/lib/core/auth/scram.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/x509.js +41 -0
- package/build/node_modules/mongodb/lib/core/auth/x509.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/x509.mjs +39 -0
- package/build/node_modules/mongodb/lib/core/auth/x509.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/apm.js +259 -0
- package/build/node_modules/mongodb/lib/core/connection/apm.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/apm.mjs +257 -0
- package/build/node_modules/mongodb/lib/core/connection/apm.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/command_result.js +39 -0
- package/build/node_modules/mongodb/lib/core/connection/command_result.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/command_result.mjs +37 -0
- package/build/node_modules/mongodb/lib/core/connection/command_result.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/commands.js +514 -0
- package/build/node_modules/mongodb/lib/core/connection/commands.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/commands.mjs +512 -0
- package/build/node_modules/mongodb/lib/core/connection/commands.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/connect.js +367 -0
- package/build/node_modules/mongodb/lib/core/connection/connect.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/connect.mjs +360 -0
- package/build/node_modules/mongodb/lib/core/connection/connect.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/connection.js +731 -0
- package/build/node_modules/mongodb/lib/core/connection/connection.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/connection.mjs +724 -0
- package/build/node_modules/mongodb/lib/core/connection/connection.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/logger.js +262 -0
- package/build/node_modules/mongodb/lib/core/connection/logger.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/logger.mjs +256 -0
- package/build/node_modules/mongodb/lib/core/connection/logger.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/msg.js +232 -0
- package/build/node_modules/mongodb/lib/core/connection/msg.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/msg.mjs +230 -0
- package/build/node_modules/mongodb/lib/core/connection/msg.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/pool.js +1304 -0
- package/build/node_modules/mongodb/lib/core/connection/pool.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/pool.mjs +1297 -0
- package/build/node_modules/mongodb/lib/core/connection/pool.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/utils.js +59 -0
- package/build/node_modules/mongodb/lib/core/connection/utils.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/utils.mjs +57 -0
- package/build/node_modules/mongodb/lib/core/connection/utils.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/cursor.js +891 -0
- package/build/node_modules/mongodb/lib/core/cursor.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/cursor.mjs +885 -0
- package/build/node_modules/mongodb/lib/core/cursor.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/error.js +354 -0
- package/build/node_modules/mongodb/lib/core/error.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/error.mjs +352 -0
- package/build/node_modules/mongodb/lib/core/error.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/index.js +77 -0
- package/build/node_modules/mongodb/lib/core/index.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/index.mjs +75 -0
- package/build/node_modules/mongodb/lib/core/index.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/common.js +70 -0
- package/build/node_modules/mongodb/lib/core/sdam/common.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/common.mjs +68 -0
- package/build/node_modules/mongodb/lib/core/sdam/common.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/events.js +127 -0
- package/build/node_modules/mongodb/lib/core/sdam/events.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/events.mjs +125 -0
- package/build/node_modules/mongodb/lib/core/sdam/events.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/monitor.js +430 -0
- package/build/node_modules/mongodb/lib/core/sdam/monitor.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/monitor.mjs +424 -0
- package/build/node_modules/mongodb/lib/core/sdam/monitor.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/server.js +584 -0
- package/build/node_modules/mongodb/lib/core/sdam/server.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/server.mjs +578 -0
- package/build/node_modules/mongodb/lib/core/sdam/server.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/server_description.js +234 -0
- package/build/node_modules/mongodb/lib/core/sdam/server_description.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/server_description.mjs +232 -0
- package/build/node_modules/mongodb/lib/core/sdam/server_description.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/server_selection.js +246 -0
- package/build/node_modules/mongodb/lib/core/sdam/server_selection.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/server_selection.mjs +244 -0
- package/build/node_modules/mongodb/lib/core/sdam/server_selection.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/srv_polling.js +155 -0
- package/build/node_modules/mongodb/lib/core/sdam/srv_polling.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/srv_polling.mjs +145 -0
- package/build/node_modules/mongodb/lib/core/sdam/srv_polling.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/topology.js +1170 -0
- package/build/node_modules/mongodb/lib/core/sdam/topology.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/topology.mjs +1163 -0
- package/build/node_modules/mongodb/lib/core/sdam/topology.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/topology_description.js +468 -0
- package/build/node_modules/mongodb/lib/core/sdam/topology_description.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/topology_description.mjs +466 -0
- package/build/node_modules/mongodb/lib/core/sdam/topology_description.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/sessions.js +797 -0
- package/build/node_modules/mongodb/lib/core/sessions.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/sessions.mjs +791 -0
- package/build/node_modules/mongodb/lib/core/sessions.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/mongos.js +1415 -0
- package/build/node_modules/mongodb/lib/core/topologies/mongos.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/mongos.mjs +1408 -0
- package/build/node_modules/mongodb/lib/core/topologies/mongos.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/read_preference.js +273 -0
- package/build/node_modules/mongodb/lib/core/topologies/read_preference.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/read_preference.mjs +271 -0
- package/build/node_modules/mongodb/lib/core/topologies/read_preference.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/replset.js +1586 -0
- package/build/node_modules/mongodb/lib/core/topologies/replset.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/replset.mjs +1579 -0
- package/build/node_modules/mongodb/lib/core/topologies/replset.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/replset_state.js +1135 -0
- package/build/node_modules/mongodb/lib/core/topologies/replset_state.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/replset_state.mjs +1128 -0
- package/build/node_modules/mongodb/lib/core/topologies/replset_state.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/server.js +1006 -0
- package/build/node_modules/mongodb/lib/core/topologies/server.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/server.mjs +999 -0
- package/build/node_modules/mongodb/lib/core/topologies/server.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/shared.js +464 -0
- package/build/node_modules/mongodb/lib/core/topologies/shared.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/shared.mjs +462 -0
- package/build/node_modules/mongodb/lib/core/topologies/shared.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/transactions.js +188 -0
- package/build/node_modules/mongodb/lib/core/transactions.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/transactions.mjs +186 -0
- package/build/node_modules/mongodb/lib/core/transactions.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/uri_parser.js +745 -0
- package/build/node_modules/mongodb/lib/core/uri_parser.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/uri_parser.mjs +737 -0
- package/build/node_modules/mongodb/lib/core/uri_parser.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/utils.js +307 -0
- package/build/node_modules/mongodb/lib/core/utils.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/utils.mjs +300 -0
- package/build/node_modules/mongodb/lib/core/utils.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/command.js +193 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/command.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/command.mjs +191 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/command.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/compression.js +83 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/compression.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/compression.mjs +77 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/compression.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/constants.js +16 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/constants.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/constants.mjs +14 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/constants.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/get_more.js +105 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/get_more.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/get_more.mjs +103 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/get_more.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/index.js +26 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/index.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/index.mjs +24 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/index.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/kill_cursors.js +80 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/kill_cursors.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/kill_cursors.mjs +78 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/kill_cursors.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/query.js +247 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/query.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/query.mjs +245 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/query.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/shared.js +122 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/shared.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/shared.mjs +120 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/shared.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/write_command.js +68 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/write_command.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/write_command.mjs +66 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/write_command.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/cursor.js +1156 -0
- package/build/node_modules/mongodb/lib/cursor.js.map +1 -0
- package/build/node_modules/mongodb/lib/cursor.mjs +1149 -0
- package/build/node_modules/mongodb/lib/cursor.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/db.js +1092 -0
- package/build/node_modules/mongodb/lib/db.js.map +1 -0
- package/build/node_modules/mongodb/lib/db.mjs +1085 -0
- package/build/node_modules/mongodb/lib/db.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/dynamic_loaders.js +39 -0
- package/build/node_modules/mongodb/lib/dynamic_loaders.js.map +1 -0
- package/build/node_modules/mongodb/lib/dynamic_loaders.mjs +37 -0
- package/build/node_modules/mongodb/lib/dynamic_loaders.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/encrypter.js +176 -0
- package/build/node_modules/mongodb/lib/encrypter.js.map +1 -0
- package/build/node_modules/mongodb/lib/encrypter.mjs +170 -0
- package/build/node_modules/mongodb/lib/encrypter.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/error.js +48 -0
- package/build/node_modules/mongodb/lib/error.js.map +1 -0
- package/build/node_modules/mongodb/lib/error.mjs +46 -0
- package/build/node_modules/mongodb/lib/error.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/explain.js +60 -0
- package/build/node_modules/mongodb/lib/explain.js.map +1 -0
- package/build/node_modules/mongodb/lib/explain.mjs +58 -0
- package/build/node_modules/mongodb/lib/explain.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/gridfs/chunk.js +242 -0
- package/build/node_modules/mongodb/lib/gridfs/chunk.js.map +1 -0
- package/build/node_modules/mongodb/lib/gridfs/chunk.mjs +240 -0
- package/build/node_modules/mongodb/lib/gridfs/chunk.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/gridfs/grid_store.js +1940 -0
- package/build/node_modules/mongodb/lib/gridfs/grid_store.js.map +1 -0
- package/build/node_modules/mongodb/lib/gridfs/grid_store.mjs +1932 -0
- package/build/node_modules/mongodb/lib/gridfs/grid_store.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/download.js +441 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/download.js.map +1 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/download.mjs +434 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/download.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/index.js +366 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/index.js.map +1 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/index.mjs +359 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/index.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/upload.js +552 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/upload.js.map +1 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/upload.mjs +544 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/upload.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/mongo_client.js +514 -0
- package/build/node_modules/mongodb/lib/mongo_client.js.map +1 -0
- package/build/node_modules/mongodb/lib/mongo_client.mjs +507 -0
- package/build/node_modules/mongodb/lib/mongo_client.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/add_user.js +111 -0
- package/build/node_modules/mongodb/lib/operations/add_user.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/add_user.mjs +105 -0
- package/build/node_modules/mongodb/lib/operations/add_user.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/aggregate.js +111 -0
- package/build/node_modules/mongodb/lib/operations/aggregate.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/aggregate.mjs +109 -0
- package/build/node_modules/mongodb/lib/operations/aggregate.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/bulk_write.js +103 -0
- package/build/node_modules/mongodb/lib/operations/bulk_write.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/bulk_write.mjs +101 -0
- package/build/node_modules/mongodb/lib/operations/bulk_write.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/collection_ops.js +361 -0
- package/build/node_modules/mongodb/lib/operations/collection_ops.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/collection_ops.mjs +359 -0
- package/build/node_modules/mongodb/lib/operations/collection_ops.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/collections.js +62 -0
- package/build/node_modules/mongodb/lib/operations/collections.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/collections.mjs +60 -0
- package/build/node_modules/mongodb/lib/operations/collections.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/command.js +126 -0
- package/build/node_modules/mongodb/lib/operations/command.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/command.mjs +124 -0
- package/build/node_modules/mongodb/lib/operations/command.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/command_v2.js +131 -0
- package/build/node_modules/mongodb/lib/operations/command_v2.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/command_v2.mjs +129 -0
- package/build/node_modules/mongodb/lib/operations/command_v2.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/common_functions.js +408 -0
- package/build/node_modules/mongodb/lib/operations/common_functions.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/common_functions.mjs +406 -0
- package/build/node_modules/mongodb/lib/operations/common_functions.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/connect.js +805 -0
- package/build/node_modules/mongodb/lib/operations/connect.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/connect.mjs +798 -0
- package/build/node_modules/mongodb/lib/operations/connect.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/count.js +74 -0
- package/build/node_modules/mongodb/lib/operations/count.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/count.mjs +72 -0
- package/build/node_modules/mongodb/lib/operations/count.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/count_documents.js +44 -0
- package/build/node_modules/mongodb/lib/operations/count_documents.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/count_documents.mjs +42 -0
- package/build/node_modules/mongodb/lib/operations/count_documents.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/create_collection.js +111 -0
- package/build/node_modules/mongodb/lib/operations/create_collection.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/create_collection.mjs +109 -0
- package/build/node_modules/mongodb/lib/operations/create_collection.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/create_indexes.js +146 -0
- package/build/node_modules/mongodb/lib/operations/create_indexes.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/create_indexes.mjs +144 -0
- package/build/node_modules/mongodb/lib/operations/create_indexes.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/cursor_ops.js +175 -0
- package/build/node_modules/mongodb/lib/operations/cursor_ops.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/cursor_ops.mjs +173 -0
- package/build/node_modules/mongodb/lib/operations/cursor_ops.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/db_ops.js +474 -0
- package/build/node_modules/mongodb/lib/operations/db_ops.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/db_ops.mjs +472 -0
- package/build/node_modules/mongodb/lib/operations/db_ops.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/delete_many.js +44 -0
- package/build/node_modules/mongodb/lib/operations/delete_many.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/delete_many.mjs +42 -0
- package/build/node_modules/mongodb/lib/operations/delete_many.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/delete_one.js +44 -0
- package/build/node_modules/mongodb/lib/operations/delete_one.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/delete_one.mjs +42 -0
- package/build/node_modules/mongodb/lib/operations/delete_one.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/distinct.js +102 -0
- package/build/node_modules/mongodb/lib/operations/distinct.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/distinct.mjs +100 -0
- package/build/node_modules/mongodb/lib/operations/distinct.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/drop.js +60 -0
- package/build/node_modules/mongodb/lib/operations/drop.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/drop.mjs +58 -0
- package/build/node_modules/mongodb/lib/operations/drop.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/drop_index.js +49 -0
- package/build/node_modules/mongodb/lib/operations/drop_index.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/drop_index.mjs +47 -0
- package/build/node_modules/mongodb/lib/operations/drop_index.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/drop_indexes.js +30 -0
- package/build/node_modules/mongodb/lib/operations/drop_indexes.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/drop_indexes.mjs +28 -0
- package/build/node_modules/mongodb/lib/operations/drop_indexes.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/estimated_document_count.js +64 -0
- package/build/node_modules/mongodb/lib/operations/estimated_document_count.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/estimated_document_count.mjs +62 -0
- package/build/node_modules/mongodb/lib/operations/estimated_document_count.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/execute_db_admin_command.js +41 -0
- package/build/node_modules/mongodb/lib/operations/execute_db_admin_command.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/execute_db_admin_command.mjs +39 -0
- package/build/node_modules/mongodb/lib/operations/execute_db_admin_command.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/execute_operation.js +173 -0
- package/build/node_modules/mongodb/lib/operations/execute_operation.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/execute_operation.mjs +171 -0
- package/build/node_modules/mongodb/lib/operations/execute_operation.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find.js +57 -0
- package/build/node_modules/mongodb/lib/operations/find.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find.mjs +55 -0
- package/build/node_modules/mongodb/lib/operations/find.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find_and_modify.js +138 -0
- package/build/node_modules/mongodb/lib/operations/find_and_modify.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find_and_modify.mjs +136 -0
- package/build/node_modules/mongodb/lib/operations/find_and_modify.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find_one.js +47 -0
- package/build/node_modules/mongodb/lib/operations/find_one.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find_one.mjs +45 -0
- package/build/node_modules/mongodb/lib/operations/find_one.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_delete.js +24 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_delete.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_delete.mjs +22 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_delete.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_replace.js +44 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_replace.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_replace.mjs +42 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_replace.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_update.js +44 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_update.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_update.mjs +42 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_update.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/geo_haystack_search.js +87 -0
- package/build/node_modules/mongodb/lib/operations/geo_haystack_search.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/geo_haystack_search.mjs +85 -0
- package/build/node_modules/mongodb/lib/operations/geo_haystack_search.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/index_exists.js +46 -0
- package/build/node_modules/mongodb/lib/operations/index_exists.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/index_exists.mjs +44 -0
- package/build/node_modules/mongodb/lib/operations/index_exists.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/index_information.js +29 -0
- package/build/node_modules/mongodb/lib/operations/index_information.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/index_information.mjs +27 -0
- package/build/node_modules/mongodb/lib/operations/index_information.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/indexes.js +28 -0
- package/build/node_modules/mongodb/lib/operations/indexes.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/indexes.mjs +26 -0
- package/build/node_modules/mongodb/lib/operations/indexes.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/insert_many.js +67 -0
- package/build/node_modules/mongodb/lib/operations/insert_many.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/insert_many.mjs +65 -0
- package/build/node_modules/mongodb/lib/operations/insert_many.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/insert_one.js +46 -0
- package/build/node_modules/mongodb/lib/operations/insert_one.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/insert_one.mjs +44 -0
- package/build/node_modules/mongodb/lib/operations/insert_one.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/is_capped.js +24 -0
- package/build/node_modules/mongodb/lib/operations/is_capped.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/is_capped.mjs +22 -0
- package/build/node_modules/mongodb/lib/operations/is_capped.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/list_collections.js +113 -0
- package/build/node_modules/mongodb/lib/operations/list_collections.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/list_collections.mjs +111 -0
- package/build/node_modules/mongodb/lib/operations/list_collections.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/list_databases.js +44 -0
- package/build/node_modules/mongodb/lib/operations/list_databases.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/list_databases.mjs +42 -0
- package/build/node_modules/mongodb/lib/operations/list_databases.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/list_indexes.js +48 -0
- package/build/node_modules/mongodb/lib/operations/list_indexes.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/list_indexes.mjs +46 -0
- package/build/node_modules/mongodb/lib/operations/list_indexes.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/map_reduce.js +220 -0
- package/build/node_modules/mongodb/lib/operations/map_reduce.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/map_reduce.mjs +218 -0
- package/build/node_modules/mongodb/lib/operations/map_reduce.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/operation.js +82 -0
- package/build/node_modules/mongodb/lib/operations/operation.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/operation.mjs +80 -0
- package/build/node_modules/mongodb/lib/operations/operation.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/options_operation.js +39 -0
- package/build/node_modules/mongodb/lib/operations/options_operation.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/options_operation.mjs +37 -0
- package/build/node_modules/mongodb/lib/operations/options_operation.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/profiling_level.js +34 -0
- package/build/node_modules/mongodb/lib/operations/profiling_level.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/profiling_level.mjs +32 -0
- package/build/node_modules/mongodb/lib/operations/profiling_level.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/re_index.js +41 -0
- package/build/node_modules/mongodb/lib/operations/re_index.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/re_index.mjs +39 -0
- package/build/node_modules/mongodb/lib/operations/re_index.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/remove_user.js +60 -0
- package/build/node_modules/mongodb/lib/operations/remove_user.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/remove_user.mjs +58 -0
- package/build/node_modules/mongodb/lib/operations/remove_user.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/rename.js +69 -0
- package/build/node_modules/mongodb/lib/operations/rename.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/rename.mjs +67 -0
- package/build/node_modules/mongodb/lib/operations/rename.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/replace_one.js +61 -0
- package/build/node_modules/mongodb/lib/operations/replace_one.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/replace_one.mjs +59 -0
- package/build/node_modules/mongodb/lib/operations/replace_one.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/run_command.js +24 -0
- package/build/node_modules/mongodb/lib/operations/run_command.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/run_command.mjs +22 -0
- package/build/node_modules/mongodb/lib/operations/run_command.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/set_profiling_level.js +52 -0
- package/build/node_modules/mongodb/lib/operations/set_profiling_level.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/set_profiling_level.mjs +50 -0
- package/build/node_modules/mongodb/lib/operations/set_profiling_level.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/stats.js +51 -0
- package/build/node_modules/mongodb/lib/operations/stats.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/stats.mjs +49 -0
- package/build/node_modules/mongodb/lib/operations/stats.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/update_many.js +62 -0
- package/build/node_modules/mongodb/lib/operations/update_many.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/update_many.mjs +60 -0
- package/build/node_modules/mongodb/lib/operations/update_many.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/update_one.js +62 -0
- package/build/node_modules/mongodb/lib/operations/update_one.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/update_one.mjs +60 -0
- package/build/node_modules/mongodb/lib/operations/update_one.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/validate_collection.js +42 -0
- package/build/node_modules/mongodb/lib/operations/validate_collection.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/validate_collection.mjs +40 -0
- package/build/node_modules/mongodb/lib/operations/validate_collection.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/read_concern.js +64 -0
- package/build/node_modules/mongodb/lib/read_concern.js.map +1 -0
- package/build/node_modules/mongodb/lib/read_concern.mjs +62 -0
- package/build/node_modules/mongodb/lib/read_concern.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/topologies/mongos.js +454 -0
- package/build/node_modules/mongodb/lib/topologies/mongos.js.map +1 -0
- package/build/node_modules/mongodb/lib/topologies/mongos.mjs +452 -0
- package/build/node_modules/mongodb/lib/topologies/mongos.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/topologies/native_topology.js +86 -0
- package/build/node_modules/mongodb/lib/topologies/native_topology.js.map +1 -0
- package/build/node_modules/mongodb/lib/topologies/native_topology.mjs +84 -0
- package/build/node_modules/mongodb/lib/topologies/native_topology.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/topologies/replset.js +496 -0
- package/build/node_modules/mongodb/lib/topologies/replset.js.map +1 -0
- package/build/node_modules/mongodb/lib/topologies/replset.mjs +494 -0
- package/build/node_modules/mongodb/lib/topologies/replset.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/topologies/server.js +456 -0
- package/build/node_modules/mongodb/lib/topologies/server.js.map +1 -0
- package/build/node_modules/mongodb/lib/topologies/server.mjs +454 -0
- package/build/node_modules/mongodb/lib/topologies/server.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/topologies/topology_base.js +439 -0
- package/build/node_modules/mongodb/lib/topologies/topology_base.js.map +1 -0
- package/build/node_modules/mongodb/lib/topologies/topology_base.mjs +428 -0
- package/build/node_modules/mongodb/lib/topologies/topology_base.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/url_parser.js +646 -0
- package/build/node_modules/mongodb/lib/url_parser.js.map +1 -0
- package/build/node_modules/mongodb/lib/url_parser.mjs +637 -0
- package/build/node_modules/mongodb/lib/url_parser.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/utils.js +919 -0
- package/build/node_modules/mongodb/lib/utils.js.map +1 -0
- package/build/node_modules/mongodb/lib/utils.mjs +917 -0
- package/build/node_modules/mongodb/lib/utils.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/write_concern.js +99 -0
- package/build/node_modules/mongodb/lib/write_concern.js.map +1 -0
- package/build/node_modules/mongodb/lib/write_concern.mjs +97 -0
- package/build/node_modules/mongodb/lib/write_concern.mjs.map +1 -0
- package/build/node_modules/mongodb/package.json.js +146 -0
- package/build/node_modules/mongodb/package.json.js.map +1 -0
- package/build/node_modules/mongodb/package.mjs +127 -0
- package/build/node_modules/mongodb/package.mjs.map +1 -0
- package/build/node_modules/mongoose/index.js +8 -0
- package/build/node_modules/mongoose/index.js.map +1 -0
- package/build/node_modules/mongoose/index.mjs +6 -0
- package/build/node_modules/mongoose/index.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/aggregate.js +1176 -0
- package/build/node_modules/mongoose/lib/aggregate.js.map +1 -0
- package/build/node_modules/mongoose/lib/aggregate.mjs +1170 -0
- package/build/node_modules/mongoose/lib/aggregate.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/browserDocument.js +119 -0
- package/build/node_modules/mongoose/lib/browserDocument.js.map +1 -0
- package/build/node_modules/mongoose/lib/browserDocument.mjs +113 -0
- package/build/node_modules/mongoose/lib/browserDocument.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/cast/boolean.js +41 -0
- package/build/node_modules/mongoose/lib/cast/boolean.js.map +1 -0
- package/build/node_modules/mongoose/lib/cast/boolean.mjs +39 -0
- package/build/node_modules/mongoose/lib/cast/boolean.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/cast/date.js +48 -0
- package/build/node_modules/mongoose/lib/cast/date.js.map +1 -0
- package/build/node_modules/mongoose/lib/cast/date.mjs +42 -0
- package/build/node_modules/mongoose/lib/cast/date.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/cast/decimal128.js +43 -0
- package/build/node_modules/mongoose/lib/cast/decimal128.js.map +1 -0
- package/build/node_modules/mongoose/lib/cast/decimal128.mjs +37 -0
- package/build/node_modules/mongoose/lib/cast/decimal128.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/cast/number.js +50 -0
- package/build/node_modules/mongoose/lib/cast/number.js.map +1 -0
- package/build/node_modules/mongoose/lib/cast/number.mjs +44 -0
- package/build/node_modules/mongoose/lib/cast/number.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/cast/objectid.js +39 -0
- package/build/node_modules/mongoose/lib/cast/objectid.js.map +1 -0
- package/build/node_modules/mongoose/lib/cast/objectid.mjs +33 -0
- package/build/node_modules/mongoose/lib/cast/objectid.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/cast/string.js +40 -0
- package/build/node_modules/mongoose/lib/cast/string.js.map +1 -0
- package/build/node_modules/mongoose/lib/cast/string.mjs +38 -0
- package/build/node_modules/mongoose/lib/cast/string.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/cast.js +382 -0
- package/build/node_modules/mongoose/lib/cast.js.map +1 -0
- package/build/node_modules/mongoose/lib/cast.mjs +376 -0
- package/build/node_modules/mongoose/lib/cast.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/collection.js +333 -0
- package/build/node_modules/mongoose/lib/collection.js.map +1 -0
- package/build/node_modules/mongoose/lib/collection.mjs +327 -0
- package/build/node_modules/mongoose/lib/collection.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/connection.js +1534 -0
- package/build/node_modules/mongoose/lib/connection.js.map +1 -0
- package/build/node_modules/mongoose/lib/connection.mjs +1528 -0
- package/build/node_modules/mongoose/lib/connection.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/connectionstate.js +29 -0
- package/build/node_modules/mongoose/lib/connectionstate.js.map +1 -0
- package/build/node_modules/mongoose/lib/connectionstate.mjs +27 -0
- package/build/node_modules/mongoose/lib/connectionstate.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/cursor/AggregationCursor.js +384 -0
- package/build/node_modules/mongoose/lib/cursor/AggregationCursor.js.map +1 -0
- package/build/node_modules/mongoose/lib/cursor/AggregationCursor.mjs +377 -0
- package/build/node_modules/mongoose/lib/cursor/AggregationCursor.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/cursor/ChangeStream.js +70 -0
- package/build/node_modules/mongoose/lib/cursor/ChangeStream.js.map +1 -0
- package/build/node_modules/mongoose/lib/cursor/ChangeStream.mjs +64 -0
- package/build/node_modules/mongoose/lib/cursor/ChangeStream.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/cursor/QueryCursor.js +522 -0
- package/build/node_modules/mongoose/lib/cursor/QueryCursor.js.map +1 -0
- package/build/node_modules/mongoose/lib/cursor/QueryCursor.mjs +515 -0
- package/build/node_modules/mongoose/lib/cursor/QueryCursor.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/document.js +4305 -0
- package/build/node_modules/mongoose/lib/document.js.map +1 -0
- package/build/node_modules/mongoose/lib/document.mjs +4298 -0
- package/build/node_modules/mongoose/lib/document.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/document_provider.js +40 -0
- package/build/node_modules/mongoose/lib/document_provider.js.map +1 -0
- package/build/node_modules/mongoose/lib/document_provider.mjs +36 -0
- package/build/node_modules/mongoose/lib/document_provider.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/driver.js +27 -0
- package/build/node_modules/mongoose/lib/driver.js.map +1 -0
- package/build/node_modules/mongoose/lib/driver.mjs +22 -0
- package/build/node_modules/mongoose/lib/driver.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/ReadPreference.js +52 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/ReadPreference.js.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/ReadPreference.mjs +50 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/ReadPreference.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/binary.js +14 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/binary.js.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/binary.mjs +12 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/binary.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js +470 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.mjs +463 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js +219 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.mjs +217 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/decimal128.js +12 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/decimal128.js.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/decimal128.mjs +10 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/decimal128.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/index.js +39 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/index.js.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/index.mjs +30 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/index.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/objectid.js +18 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/objectid.js.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/objectid.mjs +16 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/objectid.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/cast.js +161 -0
- package/build/node_modules/mongoose/lib/error/cast.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/cast.mjs +155 -0
- package/build/node_modules/mongoose/lib/error/cast.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/divergentArray.js +35 -0
- package/build/node_modules/mongoose/lib/error/divergentArray.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/divergentArray.mjs +33 -0
- package/build/node_modules/mongoose/lib/error/divergentArray.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/index.js +225 -0
- package/build/node_modules/mongoose/lib/error/index.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/index.mjs +223 -0
- package/build/node_modules/mongoose/lib/error/index.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/messages.js +32 -0
- package/build/node_modules/mongoose/lib/error/messages.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/messages.mjs +30 -0
- package/build/node_modules/mongoose/lib/error/messages.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/missingSchema.js +28 -0
- package/build/node_modules/mongoose/lib/error/missingSchema.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/missingSchema.mjs +26 -0
- package/build/node_modules/mongoose/lib/error/missingSchema.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/mongooseError.js +16 -0
- package/build/node_modules/mongoose/lib/error/mongooseError.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/mongooseError.mjs +14 -0
- package/build/node_modules/mongoose/lib/error/mongooseError.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/notFound.js +54 -0
- package/build/node_modules/mongoose/lib/error/notFound.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/notFound.mjs +48 -0
- package/build/node_modules/mongoose/lib/error/notFound.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/objectExpected.js +35 -0
- package/build/node_modules/mongoose/lib/error/objectExpected.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/objectExpected.mjs +33 -0
- package/build/node_modules/mongoose/lib/error/objectExpected.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/objectParameter.js +35 -0
- package/build/node_modules/mongoose/lib/error/objectParameter.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/objectParameter.mjs +33 -0
- package/build/node_modules/mongoose/lib/error/objectParameter.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/overwriteModel.js +26 -0
- package/build/node_modules/mongoose/lib/error/overwriteModel.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/overwriteModel.mjs +24 -0
- package/build/node_modules/mongoose/lib/error/overwriteModel.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/parallelSave.js +35 -0
- package/build/node_modules/mongoose/lib/error/parallelSave.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/parallelSave.mjs +33 -0
- package/build/node_modules/mongoose/lib/error/parallelSave.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/parallelValidate.js +36 -0
- package/build/node_modules/mongoose/lib/error/parallelValidate.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/parallelValidate.mjs +34 -0
- package/build/node_modules/mongoose/lib/error/parallelValidate.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/serverSelection.js +69 -0
- package/build/node_modules/mongoose/lib/error/serverSelection.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/serverSelection.mjs +67 -0
- package/build/node_modules/mongoose/lib/error/serverSelection.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/strict.js +38 -0
- package/build/node_modules/mongoose/lib/error/strict.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/strict.mjs +36 -0
- package/build/node_modules/mongoose/lib/error/strict.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/validation.js +121 -0
- package/build/node_modules/mongoose/lib/error/validation.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/validation.mjs +115 -0
- package/build/node_modules/mongoose/lib/error/validation.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/validator.js +99 -0
- package/build/node_modules/mongoose/lib/error/validator.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/validator.mjs +97 -0
- package/build/node_modules/mongoose/lib/error/validator.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/version.js +41 -0
- package/build/node_modules/mongoose/lib/error/version.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/version.mjs +39 -0
- package/build/node_modules/mongoose/lib/error/version.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/aggregate/stringifyFunctionOperators.js +53 -0
- package/build/node_modules/mongoose/lib/helpers/aggregate/stringifyFunctionOperators.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/aggregate/stringifyFunctionOperators.mjs +51 -0
- package/build/node_modules/mongoose/lib/helpers/aggregate/stringifyFunctionOperators.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/arrayDepth.js +36 -0
- package/build/node_modules/mongoose/lib/helpers/arrayDepth.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/arrayDepth.mjs +34 -0
- package/build/node_modules/mongoose/lib/helpers/arrayDepth.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/clone.js +141 -0
- package/build/node_modules/mongoose/lib/helpers/clone.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/clone.mjs +139 -0
- package/build/node_modules/mongoose/lib/helpers/clone.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/common.js +123 -0
- package/build/node_modules/mongoose/lib/helpers/common.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/common.mjs +118 -0
- package/build/node_modules/mongoose/lib/helpers/common.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/cursor/eachAsync.js +163 -0
- package/build/node_modules/mongoose/lib/helpers/cursor/eachAsync.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/cursor/eachAsync.mjs +161 -0
- package/build/node_modules/mongoose/lib/helpers/cursor/eachAsync.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/areDiscriminatorValuesEqual.js +19 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/areDiscriminatorValuesEqual.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/areDiscriminatorValuesEqual.mjs +17 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/areDiscriminatorValuesEqual.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/checkEmbeddedDiscriminatorKeyProjection.js +15 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/checkEmbeddedDiscriminatorKeyProjection.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/checkEmbeddedDiscriminatorKeyProjection.mjs +13 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/checkEmbeddedDiscriminatorKeyProjection.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getConstructor.js +28 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getConstructor.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getConstructor.mjs +26 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getConstructor.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getDiscriminatorByValue.js +30 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getDiscriminatorByValue.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getDiscriminatorByValue.mjs +28 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getDiscriminatorByValue.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getSchemaDiscriminatorByValue.js +29 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getSchemaDiscriminatorByValue.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getSchemaDiscriminatorByValue.mjs +27 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getSchemaDiscriminatorByValue.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/document/cleanModifiedSubpaths.js +31 -0
- package/build/node_modules/mongoose/lib/helpers/document/cleanModifiedSubpaths.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/document/cleanModifiedSubpaths.mjs +29 -0
- package/build/node_modules/mongoose/lib/helpers/document/cleanModifiedSubpaths.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/document/compile.js +229 -0
- package/build/node_modules/mongoose/lib/helpers/document/compile.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/document/compile.mjs +224 -0
- package/build/node_modules/mongoose/lib/helpers/document/compile.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/document/getEmbeddedDiscriminatorPath.js +46 -0
- package/build/node_modules/mongoose/lib/helpers/document/getEmbeddedDiscriminatorPath.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/document/getEmbeddedDiscriminatorPath.mjs +44 -0
- package/build/node_modules/mongoose/lib/helpers/document/getEmbeddedDiscriminatorPath.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/document/handleSpreadDoc.js +20 -0
- package/build/node_modules/mongoose/lib/helpers/document/handleSpreadDoc.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/document/handleSpreadDoc.mjs +18 -0
- package/build/node_modules/mongoose/lib/helpers/document/handleSpreadDoc.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/each.js +28 -0
- package/build/node_modules/mongoose/lib/helpers/each.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/each.mjs +26 -0
- package/build/node_modules/mongoose/lib/helpers/each.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/get.js +67 -0
- package/build/node_modules/mongoose/lib/helpers/get.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/get.mjs +65 -0
- package/build/node_modules/mongoose/lib/helpers/get.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/getDefaultBulkwriteResult.js +31 -0
- package/build/node_modules/mongoose/lib/helpers/getDefaultBulkwriteResult.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/getDefaultBulkwriteResult.mjs +29 -0
- package/build/node_modules/mongoose/lib/helpers/getDefaultBulkwriteResult.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/getFunctionName.js +11 -0
- package/build/node_modules/mongoose/lib/helpers/getFunctionName.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/getFunctionName.mjs +9 -0
- package/build/node_modules/mongoose/lib/helpers/getFunctionName.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/immediate.js +17 -0
- package/build/node_modules/mongoose/lib/helpers/immediate.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/immediate.mjs +15 -0
- package/build/node_modules/mongoose/lib/helpers/immediate.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/indexes/isDefaultIdIndex.js +21 -0
- package/build/node_modules/mongoose/lib/helpers/indexes/isDefaultIdIndex.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/indexes/isDefaultIdIndex.mjs +19 -0
- package/build/node_modules/mongoose/lib/helpers/indexes/isDefaultIdIndex.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/indexes/isIndexEqual.js +98 -0
- package/build/node_modules/mongoose/lib/helpers/indexes/isIndexEqual.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/indexes/isIndexEqual.mjs +96 -0
- package/build/node_modules/mongoose/lib/helpers/indexes/isIndexEqual.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/isBsonType.js +16 -0
- package/build/node_modules/mongoose/lib/helpers/isBsonType.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/isBsonType.mjs +14 -0
- package/build/node_modules/mongoose/lib/helpers/isBsonType.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/isMongooseObject.js +24 -0
- package/build/node_modules/mongoose/lib/helpers/isMongooseObject.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/isMongooseObject.mjs +22 -0
- package/build/node_modules/mongoose/lib/helpers/isMongooseObject.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/isObject.js +19 -0
- package/build/node_modules/mongoose/lib/helpers/isObject.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/isObject.mjs +17 -0
- package/build/node_modules/mongoose/lib/helpers/isObject.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/isPromise.js +10 -0
- package/build/node_modules/mongoose/lib/helpers/isPromise.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/isPromise.mjs +8 -0
- package/build/node_modules/mongoose/lib/helpers/isPromise.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyHooks.js +141 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyHooks.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyHooks.mjs +139 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyHooks.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyMethods.js +59 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyMethods.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyMethods.mjs +57 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyMethods.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyStaticHooks.js +77 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyStaticHooks.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyStaticHooks.mjs +75 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyStaticHooks.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyStatics.js +15 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyStatics.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyStatics.mjs +13 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyStatics.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/castBulkWrite.js +227 -0
- package/build/node_modules/mongoose/lib/helpers/model/castBulkWrite.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/castBulkWrite.mjs +225 -0
- package/build/node_modules/mongoose/lib/helpers/model/castBulkWrite.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/discriminator.js +212 -0
- package/build/node_modules/mongoose/lib/helpers/model/discriminator.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/discriminator.mjs +210 -0
- package/build/node_modules/mongoose/lib/helpers/model/discriminator.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/parallelLimit.js +58 -0
- package/build/node_modules/mongoose/lib/helpers/parallelLimit.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/parallelLimit.mjs +56 -0
- package/build/node_modules/mongoose/lib/helpers/parallelLimit.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/path/parentPaths.js +16 -0
- package/build/node_modules/mongoose/lib/helpers/path/parentPaths.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/path/parentPaths.mjs +14 -0
- package/build/node_modules/mongoose/lib/helpers/path/parentPaths.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/path/setDottedPath.js +19 -0
- package/build/node_modules/mongoose/lib/helpers/path/setDottedPath.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/path/setDottedPath.mjs +17 -0
- package/build/node_modules/mongoose/lib/helpers/path/setDottedPath.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/SkipPopulateValue.js +13 -0
- package/build/node_modules/mongoose/lib/helpers/populate/SkipPopulateValue.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/SkipPopulateValue.mjs +11 -0
- package/build/node_modules/mongoose/lib/helpers/populate/SkipPopulateValue.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/assignRawDocsToIdStructure.js +104 -0
- package/build/node_modules/mongoose/lib/helpers/populate/assignRawDocsToIdStructure.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/assignRawDocsToIdStructure.mjs +102 -0
- package/build/node_modules/mongoose/lib/helpers/populate/assignRawDocsToIdStructure.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/assignVals.js +291 -0
- package/build/node_modules/mongoose/lib/helpers/populate/assignVals.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/assignVals.mjs +289 -0
- package/build/node_modules/mongoose/lib/helpers/populate/assignVals.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/createPopulateQueryFilter.js +82 -0
- package/build/node_modules/mongoose/lib/helpers/populate/createPopulateQueryFilter.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/createPopulateQueryFilter.mjs +80 -0
- package/build/node_modules/mongoose/lib/helpers/populate/createPopulateQueryFilter.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.js +550 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.mjs +544 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getSchemaTypes.js +218 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getSchemaTypes.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getSchemaTypes.mjs +216 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getSchemaTypes.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getVirtual.js +75 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getVirtual.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getVirtual.mjs +73 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getVirtual.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/leanPopulateMap.js +10 -0
- package/build/node_modules/mongoose/lib/helpers/populate/leanPopulateMap.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/leanPopulateMap.mjs +8 -0
- package/build/node_modules/mongoose/lib/helpers/populate/leanPopulateMap.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/lookupLocalFields.js +31 -0
- package/build/node_modules/mongoose/lib/helpers/populate/lookupLocalFields.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/lookupLocalFields.mjs +29 -0
- package/build/node_modules/mongoose/lib/helpers/populate/lookupLocalFields.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/normalizeRefPath.js +48 -0
- package/build/node_modules/mongoose/lib/helpers/populate/normalizeRefPath.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/normalizeRefPath.mjs +46 -0
- package/build/node_modules/mongoose/lib/helpers/populate/normalizeRefPath.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/removeDeselectedForeignField.js +34 -0
- package/build/node_modules/mongoose/lib/helpers/populate/removeDeselectedForeignField.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/removeDeselectedForeignField.mjs +32 -0
- package/build/node_modules/mongoose/lib/helpers/populate/removeDeselectedForeignField.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/validateRef.js +26 -0
- package/build/node_modules/mongoose/lib/helpers/populate/validateRef.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/validateRef.mjs +20 -0
- package/build/node_modules/mongoose/lib/helpers/populate/validateRef.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/printJestWarning.js +16 -0
- package/build/node_modules/mongoose/lib/helpers/printJestWarning.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/printJestWarning.mjs +14 -0
- package/build/node_modules/mongoose/lib/helpers/printJestWarning.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isDefiningProjection.js +21 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isDefiningProjection.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isDefiningProjection.mjs +19 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isDefiningProjection.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isExclusive.js +35 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isExclusive.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isExclusive.mjs +33 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isExclusive.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isInclusive.js +37 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isInclusive.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isInclusive.mjs +35 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isInclusive.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isPathExcluded.js +38 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isPathExcluded.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isPathExcluded.mjs +36 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isPathExcluded.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isPathSelectedInclusive.js +31 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isPathSelectedInclusive.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isPathSelectedInclusive.mjs +29 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isPathSelectedInclusive.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/parseProjection.js +36 -0
- package/build/node_modules/mongoose/lib/helpers/projection/parseProjection.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/parseProjection.mjs +34 -0
- package/build/node_modules/mongoose/lib/helpers/projection/parseProjection.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/promiseOrCallback.js +49 -0
- package/build/node_modules/mongoose/lib/helpers/promiseOrCallback.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/promiseOrCallback.mjs +47 -0
- package/build/node_modules/mongoose/lib/helpers/promiseOrCallback.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/applyGlobalMaxTimeMS.js +18 -0
- package/build/node_modules/mongoose/lib/helpers/query/applyGlobalMaxTimeMS.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/applyGlobalMaxTimeMS.mjs +16 -0
- package/build/node_modules/mongoose/lib/helpers/query/applyGlobalMaxTimeMS.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/applyQueryMiddleware.js +96 -0
- package/build/node_modules/mongoose/lib/helpers/query/applyQueryMiddleware.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/applyQueryMiddleware.mjs +94 -0
- package/build/node_modules/mongoose/lib/helpers/query/applyQueryMiddleware.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/castFilterPath.js +58 -0
- package/build/node_modules/mongoose/lib/helpers/query/castFilterPath.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/castFilterPath.mjs +56 -0
- package/build/node_modules/mongoose/lib/helpers/query/castFilterPath.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/castUpdate.js +561 -0
- package/build/node_modules/mongoose/lib/helpers/query/castUpdate.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/castUpdate.mjs +559 -0
- package/build/node_modules/mongoose/lib/helpers/query/castUpdate.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/completeMany.js +54 -0
- package/build/node_modules/mongoose/lib/helpers/query/completeMany.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/completeMany.mjs +52 -0
- package/build/node_modules/mongoose/lib/helpers/query/completeMany.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/getEmbeddedDiscriminatorPath.js +87 -0
- package/build/node_modules/mongoose/lib/helpers/query/getEmbeddedDiscriminatorPath.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/getEmbeddedDiscriminatorPath.mjs +85 -0
- package/build/node_modules/mongoose/lib/helpers/query/getEmbeddedDiscriminatorPath.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/handleImmutable.js +31 -0
- package/build/node_modules/mongoose/lib/helpers/query/handleImmutable.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/handleImmutable.mjs +29 -0
- package/build/node_modules/mongoose/lib/helpers/query/handleImmutable.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/hasDollarKeys.js +22 -0
- package/build/node_modules/mongoose/lib/helpers/query/hasDollarKeys.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/hasDollarKeys.mjs +20 -0
- package/build/node_modules/mongoose/lib/helpers/query/hasDollarKeys.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/isOperator.js +14 -0
- package/build/node_modules/mongoose/lib/helpers/query/isOperator.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/isOperator.mjs +12 -0
- package/build/node_modules/mongoose/lib/helpers/query/isOperator.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/sanitizeProjection.js +17 -0
- package/build/node_modules/mongoose/lib/helpers/query/sanitizeProjection.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/sanitizeProjection.mjs +15 -0
- package/build/node_modules/mongoose/lib/helpers/query/sanitizeProjection.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/selectPopulatedFields.js +52 -0
- package/build/node_modules/mongoose/lib/helpers/query/selectPopulatedFields.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/selectPopulatedFields.mjs +50 -0
- package/build/node_modules/mongoose/lib/helpers/query/selectPopulatedFields.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/wrapThunk.js +21 -0
- package/build/node_modules/mongoose/lib/helpers/query/wrapThunk.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/wrapThunk.mjs +19 -0
- package/build/node_modules/mongoose/lib/helpers/query/wrapThunk.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/addAutoId.js +10 -0
- package/build/node_modules/mongoose/lib/helpers/schema/addAutoId.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/addAutoId.mjs +8 -0
- package/build/node_modules/mongoose/lib/helpers/schema/addAutoId.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/applyPlugins.js +47 -0
- package/build/node_modules/mongoose/lib/helpers/schema/applyPlugins.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/applyPlugins.mjs +45 -0
- package/build/node_modules/mongoose/lib/helpers/schema/applyPlugins.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/applyWriteConcern.js +33 -0
- package/build/node_modules/mongoose/lib/helpers/schema/applyWriteConcern.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/applyWriteConcern.mjs +31 -0
- package/build/node_modules/mongoose/lib/helpers/schema/applyWriteConcern.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/cleanPositionalOperators.js +15 -0
- package/build/node_modules/mongoose/lib/helpers/schema/cleanPositionalOperators.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/cleanPositionalOperators.mjs +13 -0
- package/build/node_modules/mongoose/lib/helpers/schema/cleanPositionalOperators.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/getIndexes.js +158 -0
- package/build/node_modules/mongoose/lib/helpers/schema/getIndexes.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/getIndexes.mjs +156 -0
- package/build/node_modules/mongoose/lib/helpers/schema/getIndexes.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/getPath.js +38 -0
- package/build/node_modules/mongoose/lib/helpers/schema/getPath.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/getPath.mjs +36 -0
- package/build/node_modules/mongoose/lib/helpers/schema/getPath.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/handleIdOption.js +23 -0
- package/build/node_modules/mongoose/lib/helpers/schema/handleIdOption.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/handleIdOption.mjs +21 -0
- package/build/node_modules/mongoose/lib/helpers/schema/handleIdOption.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/handleTimestampOption.js +27 -0
- package/build/node_modules/mongoose/lib/helpers/schema/handleTimestampOption.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/handleTimestampOption.mjs +25 -0
- package/build/node_modules/mongoose/lib/helpers/schema/handleTimestampOption.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/merge.js +30 -0
- package/build/node_modules/mongoose/lib/helpers/schema/merge.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/merge.mjs +28 -0
- package/build/node_modules/mongoose/lib/helpers/schema/merge.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schematype/handleImmutable.js +48 -0
- package/build/node_modules/mongoose/lib/helpers/schematype/handleImmutable.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schematype/handleImmutable.mjs +46 -0
- package/build/node_modules/mongoose/lib/helpers/schematype/handleImmutable.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/setDefaultsOnInsert.js +134 -0
- package/build/node_modules/mongoose/lib/helpers/setDefaultsOnInsert.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/setDefaultsOnInsert.mjs +132 -0
- package/build/node_modules/mongoose/lib/helpers/setDefaultsOnInsert.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/specialProperties.js +6 -0
- package/build/node_modules/mongoose/lib/helpers/specialProperties.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/specialProperties.mjs +4 -0
- package/build/node_modules/mongoose/lib/helpers/specialProperties.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/symbols.js +61 -0
- package/build/node_modules/mongoose/lib/helpers/symbols.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/symbols.mjs +41 -0
- package/build/node_modules/mongoose/lib/helpers/symbols.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/timers.js +13 -0
- package/build/node_modules/mongoose/lib/helpers/timers.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/timers.mjs +9 -0
- package/build/node_modules/mongoose/lib/helpers/timers.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/timestamps/setupTimestamps.js +114 -0
- package/build/node_modules/mongoose/lib/helpers/timestamps/setupTimestamps.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/timestamps/setupTimestamps.mjs +112 -0
- package/build/node_modules/mongoose/lib/helpers/timestamps/setupTimestamps.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/topology/allServersUnknown.js +14 -0
- package/build/node_modules/mongoose/lib/helpers/topology/allServersUnknown.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/topology/allServersUnknown.mjs +12 -0
- package/build/node_modules/mongoose/lib/helpers/topology/allServersUnknown.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/topology/isAtlas.js +15 -0
- package/build/node_modules/mongoose/lib/helpers/topology/isAtlas.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/topology/isAtlas.mjs +13 -0
- package/build/node_modules/mongoose/lib/helpers/topology/isAtlas.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/topology/isSSLError.js +18 -0
- package/build/node_modules/mongoose/lib/helpers/topology/isSSLError.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/topology/isSSLError.mjs +16 -0
- package/build/node_modules/mongoose/lib/helpers/topology/isSSLError.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToChildren.js +175 -0
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToChildren.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToChildren.mjs +173 -0
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToChildren.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToUpdate.js +124 -0
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToUpdate.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToUpdate.mjs +122 -0
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToUpdate.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/castArrayFilters.js +63 -0
- package/build/node_modules/mongoose/lib/helpers/update/castArrayFilters.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/castArrayFilters.mjs +61 -0
- package/build/node_modules/mongoose/lib/helpers/update/castArrayFilters.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/modifiedPaths.js +38 -0
- package/build/node_modules/mongoose/lib/helpers/update/modifiedPaths.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/modifiedPaths.mjs +36 -0
- package/build/node_modules/mongoose/lib/helpers/update/modifiedPaths.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/moveImmutableProperties.js +56 -0
- package/build/node_modules/mongoose/lib/helpers/update/moveImmutableProperties.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/moveImmutableProperties.mjs +54 -0
- package/build/node_modules/mongoose/lib/helpers/update/moveImmutableProperties.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/removeUnusedArrayFilters.js +21 -0
- package/build/node_modules/mongoose/lib/helpers/update/removeUnusedArrayFilters.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/removeUnusedArrayFilters.mjs +19 -0
- package/build/node_modules/mongoose/lib/helpers/update/removeUnusedArrayFilters.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/updatedPathsByArrayFilter.js +27 -0
- package/build/node_modules/mongoose/lib/helpers/update/updatedPathsByArrayFilter.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/updatedPathsByArrayFilter.mjs +25 -0
- package/build/node_modules/mongoose/lib/helpers/update/updatedPathsByArrayFilter.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/updateValidators.js +263 -0
- package/build/node_modules/mongoose/lib/helpers/updateValidators.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/updateValidators.mjs +261 -0
- package/build/node_modules/mongoose/lib/helpers/updateValidators.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/index.js +1208 -0
- package/build/node_modules/mongoose/lib/index.js.map +1 -0
- package/build/node_modules/mongoose/lib/index.mjs +1201 -0
- package/build/node_modules/mongoose/lib/index.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/internal.js +47 -0
- package/build/node_modules/mongoose/lib/internal.js.map +1 -0
- package/build/node_modules/mongoose/lib/internal.mjs +45 -0
- package/build/node_modules/mongoose/lib/internal.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/model.js +5089 -0
- package/build/node_modules/mongoose/lib/model.js.map +1 -0
- package/build/node_modules/mongoose/lib/model.mjs +5082 -0
- package/build/node_modules/mongoose/lib/model.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/PopulateOptions.js +39 -0
- package/build/node_modules/mongoose/lib/options/PopulateOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/PopulateOptions.mjs +37 -0
- package/build/node_modules/mongoose/lib/options/PopulateOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaArrayOptions.js +63 -0
- package/build/node_modules/mongoose/lib/options/SchemaArrayOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaArrayOptions.mjs +61 -0
- package/build/node_modules/mongoose/lib/options/SchemaArrayOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaBufferOptions.js +42 -0
- package/build/node_modules/mongoose/lib/options/SchemaBufferOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaBufferOptions.mjs +40 -0
- package/build/node_modules/mongoose/lib/options/SchemaBufferOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaDateOptions.js +68 -0
- package/build/node_modules/mongoose/lib/options/SchemaDateOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaDateOptions.mjs +66 -0
- package/build/node_modules/mongoose/lib/options/SchemaDateOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaDocumentArrayOptions.js +72 -0
- package/build/node_modules/mongoose/lib/options/SchemaDocumentArrayOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaDocumentArrayOptions.mjs +70 -0
- package/build/node_modules/mongoose/lib/options/SchemaDocumentArrayOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaMapOptions.js +47 -0
- package/build/node_modules/mongoose/lib/options/SchemaMapOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaMapOptions.mjs +45 -0
- package/build/node_modules/mongoose/lib/options/SchemaMapOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaNumberOptions.js +103 -0
- package/build/node_modules/mongoose/lib/options/SchemaNumberOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaNumberOptions.mjs +101 -0
- package/build/node_modules/mongoose/lib/options/SchemaNumberOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaObjectIdOptions.js +67 -0
- package/build/node_modules/mongoose/lib/options/SchemaObjectIdOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaObjectIdOptions.mjs +65 -0
- package/build/node_modules/mongoose/lib/options/SchemaObjectIdOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaSingleNestedOptions.js +46 -0
- package/build/node_modules/mongoose/lib/options/SchemaSingleNestedOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaSingleNestedOptions.mjs +44 -0
- package/build/node_modules/mongoose/lib/options/SchemaSingleNestedOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaStringOptions.js +142 -0
- package/build/node_modules/mongoose/lib/options/SchemaStringOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaStringOptions.mjs +140 -0
- package/build/node_modules/mongoose/lib/options/SchemaStringOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaTypeOptions.js +235 -0
- package/build/node_modules/mongoose/lib/options/SchemaTypeOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaTypeOptions.mjs +233 -0
- package/build/node_modules/mongoose/lib/options/SchemaTypeOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/VirtualOptions.js +167 -0
- package/build/node_modules/mongoose/lib/options/VirtualOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/VirtualOptions.mjs +165 -0
- package/build/node_modules/mongoose/lib/options/VirtualOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/propertyOptions.js +11 -0
- package/build/node_modules/mongoose/lib/options/propertyOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/propertyOptions.mjs +9 -0
- package/build/node_modules/mongoose/lib/options/propertyOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/removeOptions.js +17 -0
- package/build/node_modules/mongoose/lib/options/removeOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/removeOptions.mjs +15 -0
- package/build/node_modules/mongoose/lib/options/removeOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/saveOptions.js +17 -0
- package/build/node_modules/mongoose/lib/options/saveOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/saveOptions.mjs +15 -0
- package/build/node_modules/mongoose/lib/options/saveOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options.js +25 -0
- package/build/node_modules/mongoose/lib/options.js.map +1 -0
- package/build/node_modules/mongoose/lib/options.mjs +21 -0
- package/build/node_modules/mongoose/lib/options.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/idGetter.js +31 -0
- package/build/node_modules/mongoose/lib/plugins/idGetter.js.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/idGetter.mjs +29 -0
- package/build/node_modules/mongoose/lib/plugins/idGetter.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/removeSubdocs.js +34 -0
- package/build/node_modules/mongoose/lib/plugins/removeSubdocs.js.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/removeSubdocs.mjs +32 -0
- package/build/node_modules/mongoose/lib/plugins/removeSubdocs.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/saveSubdocs.js +69 -0
- package/build/node_modules/mongoose/lib/plugins/saveSubdocs.js.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/saveSubdocs.mjs +67 -0
- package/build/node_modules/mongoose/lib/plugins/saveSubdocs.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/sharding.js +93 -0
- package/build/node_modules/mongoose/lib/plugins/sharding.js.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/sharding.mjs +89 -0
- package/build/node_modules/mongoose/lib/plugins/sharding.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/trackTransaction.js +96 -0
- package/build/node_modules/mongoose/lib/plugins/trackTransaction.js.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/trackTransaction.mjs +94 -0
- package/build/node_modules/mongoose/lib/plugins/trackTransaction.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/validateBeforeSave.js +48 -0
- package/build/node_modules/mongoose/lib/plugins/validateBeforeSave.js.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/validateBeforeSave.mjs +46 -0
- package/build/node_modules/mongoose/lib/plugins/validateBeforeSave.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/promise_provider.js +60 -0
- package/build/node_modules/mongoose/lib/promise_provider.js.map +1 -0
- package/build/node_modules/mongoose/lib/promise_provider.mjs +54 -0
- package/build/node_modules/mongoose/lib/promise_provider.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/query.js +5588 -0
- package/build/node_modules/mongoose/lib/query.js.map +1 -0
- package/build/node_modules/mongoose/lib/query.mjs +5582 -0
- package/build/node_modules/mongoose/lib/query.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/queryhelpers.js +341 -0
- package/build/node_modules/mongoose/lib/queryhelpers.js.map +1 -0
- package/build/node_modules/mongoose/lib/queryhelpers.mjs +339 -0
- package/build/node_modules/mongoose/lib/queryhelpers.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/SingleNestedPath.js +358 -0
- package/build/node_modules/mongoose/lib/schema/SingleNestedPath.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/SingleNestedPath.mjs +352 -0
- package/build/node_modules/mongoose/lib/schema/SingleNestedPath.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/array.js +676 -0
- package/build/node_modules/mongoose/lib/schema/array.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/array.mjs +670 -0
- package/build/node_modules/mongoose/lib/schema/array.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/boolean.js +278 -0
- package/build/node_modules/mongoose/lib/schema/boolean.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/boolean.mjs +276 -0
- package/build/node_modules/mongoose/lib/schema/boolean.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/buffer.js +276 -0
- package/build/node_modules/mongoose/lib/schema/buffer.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/buffer.mjs +274 -0
- package/build/node_modules/mongoose/lib/schema/buffer.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/date.js +411 -0
- package/build/node_modules/mongoose/lib/schema/date.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/date.mjs +409 -0
- package/build/node_modules/mongoose/lib/schema/date.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/decimal128.js +218 -0
- package/build/node_modules/mongoose/lib/schema/decimal128.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/decimal128.mjs +216 -0
- package/build/node_modules/mongoose/lib/schema/decimal128.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/documentarray.js +591 -0
- package/build/node_modules/mongoose/lib/schema/documentarray.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/documentarray.mjs +584 -0
- package/build/node_modules/mongoose/lib/schema/documentarray.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/index.js +52 -0
- package/build/node_modules/mongoose/lib/schema/index.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/index.mjs +50 -0
- package/build/node_modules/mongoose/lib/schema/index.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/map.js +84 -0
- package/build/node_modules/mongoose/lib/schema/map.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/map.mjs +82 -0
- package/build/node_modules/mongoose/lib/schema/map.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/mixed.js +140 -0
- package/build/node_modules/mongoose/lib/schema/mixed.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/mixed.mjs +138 -0
- package/build/node_modules/mongoose/lib/schema/mixed.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/number.js +443 -0
- package/build/node_modules/mongoose/lib/schema/number.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/number.mjs +441 -0
- package/build/node_modules/mongoose/lib/schema/number.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/objectid.js +307 -0
- package/build/node_modules/mongoose/lib/schema/objectid.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/objectid.mjs +305 -0
- package/build/node_modules/mongoose/lib/schema/objectid.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/bitwise.js +43 -0
- package/build/node_modules/mongoose/lib/schema/operators/bitwise.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/bitwise.mjs +41 -0
- package/build/node_modules/mongoose/lib/schema/operators/bitwise.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/exists.js +15 -0
- package/build/node_modules/mongoose/lib/schema/operators/exists.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/exists.mjs +13 -0
- package/build/node_modules/mongoose/lib/schema/operators/exists.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/geospatial.js +121 -0
- package/build/node_modules/mongoose/lib/schema/operators/geospatial.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/geospatial.mjs +115 -0
- package/build/node_modules/mongoose/lib/schema/operators/geospatial.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/helpers.js +46 -0
- package/build/node_modules/mongoose/lib/schema/operators/helpers.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/helpers.mjs +41 -0
- package/build/node_modules/mongoose/lib/schema/operators/helpers.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/text.js +42 -0
- package/build/node_modules/mongoose/lib/schema/operators/text.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/text.mjs +40 -0
- package/build/node_modules/mongoose/lib/schema/operators/text.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/type.js +23 -0
- package/build/node_modules/mongoose/lib/schema/operators/type.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/type.mjs +21 -0
- package/build/node_modules/mongoose/lib/schema/operators/type.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/string.js +681 -0
- package/build/node_modules/mongoose/lib/schema/string.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/string.mjs +679 -0
- package/build/node_modules/mongoose/lib/schema/string.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/symbols.js +17 -0
- package/build/node_modules/mongoose/lib/schema/symbols.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/symbols.mjs +12 -0
- package/build/node_modules/mongoose/lib/schema/symbols.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema.js +2205 -0
- package/build/node_modules/mongoose/lib/schema.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema.mjs +2198 -0
- package/build/node_modules/mongoose/lib/schema.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schematype.js +1694 -0
- package/build/node_modules/mongoose/lib/schematype.js.map +1 -0
- package/build/node_modules/mongoose/lib/schematype.mjs +1688 -0
- package/build/node_modules/mongoose/lib/schematype.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/statemachine.js +184 -0
- package/build/node_modules/mongoose/lib/statemachine.js.map +1 -0
- package/build/node_modules/mongoose/lib/statemachine.mjs +182 -0
- package/build/node_modules/mongoose/lib/statemachine.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/types/array.js +91 -0
- package/build/node_modules/mongoose/lib/types/array.js.map +1 -0
- package/build/node_modules/mongoose/lib/types/array.mjs +89 -0
- package/build/node_modules/mongoose/lib/types/array.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/types/buffer.js +283 -0
- package/build/node_modules/mongoose/lib/types/buffer.js.map +1 -0
- package/build/node_modules/mongoose/lib/types/buffer.mjs +281 -0
- package/build/node_modules/mongoose/lib/types/buffer.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/types/core_array.js +982 -0
- package/build/node_modules/mongoose/lib/types/core_array.js.map +1 -0
- package/build/node_modules/mongoose/lib/types/core_array.mjs +976 -0
- package/build/node_modules/mongoose/lib/types/core_array.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/types/decimal128.js +18 -0
- package/build/node_modules/mongoose/lib/types/decimal128.js.map +1 -0
- package/build/node_modules/mongoose/lib/types/decimal128.mjs +16 -0
- package/build/node_modules/mongoose/lib/types/decimal128.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/types/documentarray.js +462 -0
- package/build/node_modules/mongoose/lib/types/documentarray.js.map +1 -0
- package/build/node_modules/mongoose/lib/types/documentarray.mjs +456 -0
- package/build/node_modules/mongoose/lib/types/documentarray.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/types/embedded.js +474 -0
- package/build/node_modules/mongoose/lib/types/embedded.js.map +1 -0
- package/build/node_modules/mongoose/lib/types/embedded.mjs +467 -0
- package/build/node_modules/mongoose/lib/types/embedded.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/types/index.js +31 -0
- package/build/node_modules/mongoose/lib/types/index.js.map +1 -0
- package/build/node_modules/mongoose/lib/types/index.mjs +29 -0
- package/build/node_modules/mongoose/lib/types/index.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/types/map.js +252 -0
- package/build/node_modules/mongoose/lib/types/map.js.map +1 -0
- package/build/node_modules/mongoose/lib/types/map.mjs +246 -0
- package/build/node_modules/mongoose/lib/types/map.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/types/objectid.js +36 -0
- package/build/node_modules/mongoose/lib/types/objectid.js.map +1 -0
- package/build/node_modules/mongoose/lib/types/objectid.mjs +34 -0
- package/build/node_modules/mongoose/lib/types/objectid.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/types/subdocument.js +308 -0
- package/build/node_modules/mongoose/lib/types/subdocument.js.map +1 -0
- package/build/node_modules/mongoose/lib/types/subdocument.mjs +306 -0
- package/build/node_modules/mongoose/lib/types/subdocument.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/utils.js +962 -0
- package/build/node_modules/mongoose/lib/utils.js.map +1 -0
- package/build/node_modules/mongoose/lib/utils.mjs +960 -0
- package/build/node_modules/mongoose/lib/utils.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/validoptions.js +39 -0
- package/build/node_modules/mongoose/lib/validoptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/validoptions.mjs +37 -0
- package/build/node_modules/mongoose/lib/validoptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/virtualtype.js +179 -0
- package/build/node_modules/mongoose/lib/virtualtype.js.map +1 -0
- package/build/node_modules/mongoose/lib/virtualtype.mjs +177 -0
- package/build/node_modules/mongoose/lib/virtualtype.mjs.map +1 -0
- package/build/node_modules/mongoose/node_modules/safe-buffer/index.js +80 -0
- package/build/node_modules/mongoose/node_modules/safe-buffer/index.js.map +1 -0
- package/build/node_modules/mongoose/node_modules/safe-buffer/index.mjs +74 -0
- package/build/node_modules/mongoose/node_modules/safe-buffer/index.mjs.map +1 -0
- package/build/node_modules/mongoose/package.json.js +299 -0
- package/build/node_modules/mongoose/package.json.js.map +1 -0
- package/build/node_modules/mongoose/package.mjs +277 -0
- package/build/node_modules/mongoose/package.mjs.map +1 -0
- package/build/node_modules/mongoose-legacy-pluralize/index.js +104 -0
- package/build/node_modules/mongoose-legacy-pluralize/index.js.map +1 -0
- package/build/node_modules/mongoose-legacy-pluralize/index.mjs +102 -0
- package/build/node_modules/mongoose-legacy-pluralize/index.mjs.map +1 -0
- package/build/node_modules/mpath/index.js +12 -0
- package/build/node_modules/mpath/index.js.map +1 -0
- package/build/node_modules/mpath/index.mjs +10 -0
- package/build/node_modules/mpath/index.mjs.map +1 -0
- package/build/node_modules/mpath/lib/index.js +325 -0
- package/build/node_modules/mpath/lib/index.js.map +1 -0
- package/build/node_modules/mpath/lib/index.mjs +323 -0
- package/build/node_modules/mpath/lib/index.mjs.map +1 -0
- package/build/node_modules/mpath/lib/stringToParts.js +51 -0
- package/build/node_modules/mpath/lib/stringToParts.js.map +1 -0
- package/build/node_modules/mpath/lib/stringToParts.mjs +49 -0
- package/build/node_modules/mpath/lib/stringToParts.mjs.map +1 -0
- package/build/node_modules/mquery/lib/collection/collection.js +54 -0
- package/build/node_modules/mquery/lib/collection/collection.js.map +1 -0
- package/build/node_modules/mquery/lib/collection/collection.mjs +52 -0
- package/build/node_modules/mquery/lib/collection/collection.mjs.map +1 -0
- package/build/node_modules/mquery/lib/collection/index.js +17 -0
- package/build/node_modules/mquery/lib/collection/index.js.map +1 -0
- package/build/node_modules/mquery/lib/collection/index.mjs +15 -0
- package/build/node_modules/mquery/lib/collection/index.mjs.map +1 -0
- package/build/node_modules/mquery/lib/collection/node.js +161 -0
- package/build/node_modules/mquery/lib/collection/node.js.map +1 -0
- package/build/node_modules/mquery/lib/collection/node.mjs +159 -0
- package/build/node_modules/mquery/lib/collection/node.mjs.map +1 -0
- package/build/node_modules/mquery/lib/env.js +30 -0
- package/build/node_modules/mquery/lib/env.js.map +1 -0
- package/build/node_modules/mquery/lib/env.mjs +28 -0
- package/build/node_modules/mquery/lib/env.mjs.map +1 -0
- package/build/node_modules/mquery/lib/mquery.js +3276 -0
- package/build/node_modules/mquery/lib/mquery.js.map +1 -0
- package/build/node_modules/mquery/lib/mquery.mjs +3268 -0
- package/build/node_modules/mquery/lib/mquery.mjs.map +1 -0
- package/build/node_modules/mquery/lib/permissions.js +96 -0
- package/build/node_modules/mquery/lib/permissions.js.map +1 -0
- package/build/node_modules/mquery/lib/permissions.mjs +94 -0
- package/build/node_modules/mquery/lib/permissions.mjs.map +1 -0
- package/build/node_modules/mquery/lib/utils.js +373 -0
- package/build/node_modules/mquery/lib/utils.js.map +1 -0
- package/build/node_modules/mquery/lib/utils.mjs +371 -0
- package/build/node_modules/mquery/lib/utils.mjs.map +1 -0
- package/build/node_modules/ms/index.js +166 -0
- package/build/node_modules/ms/index.js.map +1 -0
- package/build/node_modules/ms/index.mjs +164 -0
- package/build/node_modules/ms/index.mjs.map +1 -0
- package/build/node_modules/optional-require/index.js +82 -0
- package/build/node_modules/optional-require/index.js.map +1 -0
- package/build/node_modules/optional-require/index.mjs +76 -0
- package/build/node_modules/optional-require/index.mjs.map +1 -0
- package/build/node_modules/process-nextick-args/index.js +52 -0
- package/build/node_modules/process-nextick-args/index.js.map +1 -0
- package/build/node_modules/process-nextick-args/index.mjs +50 -0
- package/build/node_modules/process-nextick-args/index.mjs.map +1 -0
- package/build/node_modules/redis/index.js +1136 -0
- package/build/node_modules/redis/index.js.map +1 -0
- package/build/node_modules/redis/index.mjs +1127 -0
- package/build/node_modules/redis/index.mjs.map +1 -0
- package/build/node_modules/redis/lib/command.js +19 -0
- package/build/node_modules/redis/lib/command.js.map +1 -0
- package/build/node_modules/redis/lib/command.mjs +17 -0
- package/build/node_modules/redis/lib/command.mjs.map +1 -0
- package/build/node_modules/redis/lib/commands.js +127 -0
- package/build/node_modules/redis/lib/commands.js.map +1 -0
- package/build/node_modules/redis/lib/commands.mjs +125 -0
- package/build/node_modules/redis/lib/commands.mjs.map +1 -0
- package/build/node_modules/redis/lib/createClient.js +87 -0
- package/build/node_modules/redis/lib/createClient.js.map +1 -0
- package/build/node_modules/redis/lib/createClient.mjs +81 -0
- package/build/node_modules/redis/lib/createClient.mjs.map +1 -0
- package/build/node_modules/redis/lib/customErrors.js +69 -0
- package/build/node_modules/redis/lib/customErrors.js.map +1 -0
- package/build/node_modules/redis/lib/customErrors.mjs +62 -0
- package/build/node_modules/redis/lib/customErrors.mjs.map +1 -0
- package/build/node_modules/redis/lib/debug.js +14 -0
- package/build/node_modules/redis/lib/debug.js.map +1 -0
- package/build/node_modules/redis/lib/debug.mjs +12 -0
- package/build/node_modules/redis/lib/debug.mjs.map +1 -0
- package/build/node_modules/redis/lib/extendedApi.js +117 -0
- package/build/node_modules/redis/lib/extendedApi.js.map +1 -0
- package/build/node_modules/redis/lib/extendedApi.mjs +115 -0
- package/build/node_modules/redis/lib/extendedApi.mjs.map +1 -0
- package/build/node_modules/redis/lib/individualCommands.js +620 -0
- package/build/node_modules/redis/lib/individualCommands.js.map +1 -0
- package/build/node_modules/redis/lib/individualCommands.mjs +618 -0
- package/build/node_modules/redis/lib/individualCommands.mjs.map +1 -0
- package/build/node_modules/redis/lib/multi.js +190 -0
- package/build/node_modules/redis/lib/multi.js.map +1 -0
- package/build/node_modules/redis/lib/multi.mjs +188 -0
- package/build/node_modules/redis/lib/multi.mjs.map +1 -0
- package/build/node_modules/redis/lib/utils.js +137 -0
- package/build/node_modules/redis/lib/utils.js.map +1 -0
- package/build/node_modules/redis/lib/utils.mjs +135 -0
- package/build/node_modules/redis/lib/utils.mjs.map +1 -0
- package/build/node_modules/redis-commands/commands.json.js +2785 -0
- package/build/node_modules/redis-commands/commands.json.js.map +1 -0
- package/build/node_modules/redis-commands/commands.mjs +2560 -0
- package/build/node_modules/redis-commands/commands.mjs.map +1 -0
- package/build/node_modules/redis-commands/index.js +177 -0
- package/build/node_modules/redis-commands/index.js.map +1 -0
- package/build/node_modules/redis-commands/index.mjs +175 -0
- package/build/node_modules/redis-commands/index.mjs.map +1 -0
- package/build/node_modules/redis-parser/index.js +21 -0
- package/build/node_modules/redis-parser/index.js.map +1 -0
- package/build/node_modules/redis-parser/index.mjs +15 -0
- package/build/node_modules/redis-parser/index.mjs.map +1 -0
- package/build/node_modules/redis-parser/lib/hiredis.js +69 -0
- package/build/node_modules/redis-parser/lib/hiredis.js.map +1 -0
- package/build/node_modules/redis-parser/lib/hiredis.mjs +63 -0
- package/build/node_modules/redis-parser/lib/hiredis.mjs.map +1 -0
- package/build/node_modules/redis-parser/lib/parser.js +593 -0
- package/build/node_modules/redis-parser/lib/parser.js.map +1 -0
- package/build/node_modules/redis-parser/lib/parser.mjs +587 -0
- package/build/node_modules/redis-parser/lib/parser.mjs.map +1 -0
- package/build/node_modules/redis-parser/lib/parserError.js +34 -0
- package/build/node_modules/redis-parser/lib/parserError.js.map +1 -0
- package/build/node_modules/redis-parser/lib/parserError.mjs +27 -0
- package/build/node_modules/redis-parser/lib/parserError.mjs.map +1 -0
- package/build/node_modules/redis-parser/lib/redisError.js +31 -0
- package/build/node_modules/redis-parser/lib/redisError.js.map +1 -0
- package/build/node_modules/redis-parser/lib/redisError.mjs +25 -0
- package/build/node_modules/redis-parser/lib/redisError.mjs.map +1 -0
- package/build/node_modules/redis-parser/lib/replyError.js +31 -0
- package/build/node_modules/redis-parser/lib/replyError.js.map +1 -0
- package/build/node_modules/redis-parser/lib/replyError.mjs +25 -0
- package/build/node_modules/redis-parser/lib/replyError.mjs.map +1 -0
- package/build/node_modules/regexp-clone/index.js +34 -0
- package/build/node_modules/regexp-clone/index.js.map +1 -0
- package/build/node_modules/regexp-clone/index.mjs +32 -0
- package/build/node_modules/regexp-clone/index.mjs.map +1 -0
- package/build/node_modules/safe-buffer/index.js +76 -0
- package/build/node_modules/safe-buffer/index.js.map +1 -0
- package/build/node_modules/safe-buffer/index.mjs +70 -0
- package/build/node_modules/safe-buffer/index.mjs.map +1 -0
- package/build/node_modules/saslprep/index.js +162 -0
- package/build/node_modules/saslprep/index.js.map +1 -0
- package/build/node_modules/saslprep/index.mjs +160 -0
- package/build/node_modules/saslprep/index.mjs.map +1 -0
- package/build/node_modules/saslprep/lib/memory-code-points.js +47 -0
- package/build/node_modules/saslprep/lib/memory-code-points.js.map +1 -0
- package/build/node_modules/saslprep/lib/memory-code-points.mjs +40 -0
- package/build/node_modules/saslprep/lib/memory-code-points.mjs.map +1 -0
- package/build/node_modules/sift/es5m/index.js +683 -0
- package/build/node_modules/sift/es5m/index.js.map +1 -0
- package/build/node_modules/sift/es5m/index.mjs +652 -0
- package/build/node_modules/sift/es5m/index.mjs.map +1 -0
- package/build/node_modules/sliced/index.js +36 -0
- package/build/node_modules/sliced/index.js.map +1 -0
- package/build/node_modules/sliced/index.mjs +34 -0
- package/build/node_modules/sliced/index.mjs.map +1 -0
- package/build/node_modules/sparse-bitfield/index.js +100 -0
- package/build/node_modules/sparse-bitfield/index.js.map +1 -0
- package/build/node_modules/sparse-bitfield/index.mjs +98 -0
- package/build/node_modules/sparse-bitfield/index.mjs.map +1 -0
- package/build/node_modules/util-deprecate/node.js +16 -0
- package/build/node_modules/util-deprecate/node.js.map +1 -0
- package/build/node_modules/util-deprecate/node.mjs +10 -0
- package/build/node_modules/util-deprecate/node.mjs.map +1 -0
- package/build/node_modules/ws/index.js +17 -0
- package/build/node_modules/ws/index.js.map +1 -0
- package/build/node_modules/ws/index.mjs +15 -0
- package/build/node_modules/ws/index.mjs.map +1 -0
- package/build/node_modules/ws/lib/buffer-util.js +143 -0
- package/build/node_modules/ws/lib/buffer-util.js.map +1 -0
- package/build/node_modules/ws/lib/buffer-util.mjs +137 -0
- package/build/node_modules/ws/lib/buffer-util.mjs.map +1 -0
- package/build/node_modules/ws/lib/constants.js +13 -0
- package/build/node_modules/ws/lib/constants.js.map +1 -0
- package/build/node_modules/ws/lib/constants.mjs +11 -0
- package/build/node_modules/ws/lib/constants.mjs.map +1 -0
- package/build/node_modules/ws/lib/event-target.js +187 -0
- package/build/node_modules/ws/lib/event-target.js.map +1 -0
- package/build/node_modules/ws/lib/event-target.mjs +185 -0
- package/build/node_modules/ws/lib/event-target.mjs.map +1 -0
- package/build/node_modules/ws/lib/extension.js +226 -0
- package/build/node_modules/ws/lib/extension.js.map +1 -0
- package/build/node_modules/ws/lib/extension.mjs +224 -0
- package/build/node_modules/ws/lib/extension.mjs.map +1 -0
- package/build/node_modules/ws/lib/limiter.js +58 -0
- package/build/node_modules/ws/lib/limiter.js.map +1 -0
- package/build/node_modules/ws/lib/limiter.mjs +56 -0
- package/build/node_modules/ws/lib/limiter.mjs.map +1 -0
- package/build/node_modules/ws/lib/permessage-deflate.js +526 -0
- package/build/node_modules/ws/lib/permessage-deflate.js.map +1 -0
- package/build/node_modules/ws/lib/permessage-deflate.mjs +520 -0
- package/build/node_modules/ws/lib/permessage-deflate.mjs.map +1 -0
- package/build/node_modules/ws/lib/receiver.js +620 -0
- package/build/node_modules/ws/lib/receiver.js.map +1 -0
- package/build/node_modules/ws/lib/receiver.mjs +614 -0
- package/build/node_modules/ws/lib/receiver.mjs.map +1 -0
- package/build/node_modules/ws/lib/sender.js +424 -0
- package/build/node_modules/ws/lib/sender.js.map +1 -0
- package/build/node_modules/ws/lib/sender.mjs +418 -0
- package/build/node_modules/ws/lib/sender.mjs.map +1 -0
- package/build/node_modules/ws/lib/stream.js +186 -0
- package/build/node_modules/ws/lib/stream.js.map +1 -0
- package/build/node_modules/ws/lib/stream.mjs +180 -0
- package/build/node_modules/ws/lib/stream.mjs.map +1 -0
- package/build/node_modules/ws/lib/validation.js +117 -0
- package/build/node_modules/ws/lib/validation.js.map +1 -0
- package/build/node_modules/ws/lib/validation.mjs +111 -0
- package/build/node_modules/ws/lib/validation.mjs.map +1 -0
- package/build/node_modules/ws/lib/websocket-server.js +467 -0
- package/build/node_modules/ws/lib/websocket-server.js.map +1 -0
- package/build/node_modules/ws/lib/websocket-server.mjs +459 -0
- package/build/node_modules/ws/lib/websocket-server.mjs.map +1 -0
- package/build/node_modules/ws/lib/websocket.js +1138 -0
- package/build/node_modules/ws/lib/websocket.js.map +1 -0
- package/build/node_modules/ws/lib/websocket.mjs +1126 -0
- package/build/node_modules/ws/lib/websocket.mjs.map +1 -0
- package/build/packages/core/src/Debug.js +34 -0
- package/build/packages/core/src/Debug.js.map +1 -0
- package/build/packages/core/src/Debug.mjs +20 -0
- package/build/packages/core/src/Debug.mjs.map +1 -0
- package/build/packages/core/src/IPC.js +65 -0
- package/build/packages/core/src/IPC.js.map +1 -0
- package/build/packages/core/src/IPC.mjs +60 -0
- package/build/packages/core/src/IPC.mjs.map +1 -0
- package/build/packages/core/src/Logger.js +12 -0
- package/build/packages/core/src/Logger.js.map +1 -0
- package/build/packages/core/src/Logger.mjs +8 -0
- package/build/packages/core/src/Logger.mjs.map +1 -0
- package/build/packages/core/src/MatchMaker.js +401 -0
- package/build/packages/core/src/MatchMaker.js.map +1 -0
- package/build/packages/core/src/MatchMaker.mjs +382 -0
- package/build/packages/core/src/MatchMaker.mjs.map +1 -0
- package/build/packages/core/src/Protocol.js +164 -0
- package/build/packages/core/src/Protocol.js.map +1 -0
- package/build/packages/core/src/Protocol.mjs +154 -0
- package/build/packages/core/src/Protocol.mjs.map +1 -0
- package/build/packages/core/src/Room.js +569 -0
- package/build/packages/core/src/Room.js.map +1 -0
- package/build/packages/core/src/Room.mjs +559 -0
- package/build/packages/core/src/Room.mjs.map +1 -0
- package/build/packages/core/src/Server.js +222 -0
- package/build/packages/core/src/Server.js.map +1 -0
- package/build/packages/core/src/Server.mjs +218 -0
- package/build/packages/core/src/Server.mjs.map +1 -0
- package/build/packages/core/src/Transport.js +17 -0
- package/build/packages/core/src/Transport.js.map +1 -0
- package/build/packages/core/src/Transport.mjs +13 -0
- package/build/packages/core/src/Transport.mjs.map +1 -0
- package/build/packages/core/src/Utils.js +225 -0
- package/build/packages/core/src/Utils.js.map +1 -0
- package/build/packages/core/src/Utils.mjs +209 -0
- package/build/packages/core/src/Utils.mjs.map +1 -0
- package/build/packages/core/src/discovery/index.js +31 -0
- package/build/packages/core/src/discovery/index.js.map +1 -0
- package/build/packages/core/src/discovery/index.mjs +22 -0
- package/build/packages/core/src/discovery/index.mjs.map +1 -0
- package/build/packages/core/src/errors/SeatReservationError.js +12 -0
- package/build/packages/core/src/errors/SeatReservationError.js.map +1 -0
- package/build/packages/core/src/errors/SeatReservationError.mjs +8 -0
- package/build/packages/core/src/errors/SeatReservationError.mjs.map +1 -0
- package/build/packages/core/src/errors/ServerError.js +21 -0
- package/build/packages/core/src/errors/ServerError.js.map +1 -0
- package/build/packages/core/src/errors/ServerError.mjs +17 -0
- package/build/packages/core/src/errors/ServerError.mjs.map +1 -0
- package/build/packages/core/src/index.js +96 -0
- package/build/packages/core/src/index.js.map +1 -0
- package/build/packages/core/src/index.mjs +19 -0
- package/build/packages/core/src/index.mjs.map +1 -0
- package/build/packages/core/src/matchmaker/Lobby.js +31 -0
- package/build/packages/core/src/matchmaker/Lobby.js.map +1 -0
- package/build/packages/core/src/matchmaker/Lobby.mjs +26 -0
- package/build/packages/core/src/matchmaker/Lobby.mjs.map +1 -0
- package/build/packages/core/src/matchmaker/RegisteredHandler.js +72 -0
- package/build/packages/core/src/matchmaker/RegisteredHandler.js.map +1 -0
- package/build/packages/core/src/matchmaker/RegisteredHandler.mjs +67 -0
- package/build/packages/core/src/matchmaker/RegisteredHandler.mjs.map +1 -0
- package/build/packages/core/src/matchmaker/controller.js +46 -0
- package/build/packages/core/src/matchmaker/controller.js.map +1 -0
- package/build/packages/core/src/matchmaker/controller.mjs +39 -0
- package/build/packages/core/src/matchmaker/controller.mjs.map +1 -0
- package/build/packages/core/src/matchmaker/driver/Query.js +53 -0
- package/build/packages/core/src/matchmaker/driver/Query.js.map +1 -0
- package/build/packages/core/src/matchmaker/driver/Query.mjs +49 -0
- package/build/packages/core/src/matchmaker/driver/Query.mjs.map +1 -0
- package/build/packages/core/src/matchmaker/driver/RoomData.js +80 -0
- package/build/packages/core/src/matchmaker/driver/RoomData.js.map +1 -0
- package/build/packages/core/src/matchmaker/driver/RoomData.mjs +76 -0
- package/build/packages/core/src/matchmaker/driver/RoomData.mjs.map +1 -0
- package/build/packages/core/src/matchmaker/driver/index.js +34 -0
- package/build/packages/core/src/matchmaker/driver/index.js.map +1 -0
- package/build/packages/core/src/matchmaker/driver/index.mjs +30 -0
- package/build/packages/core/src/matchmaker/driver/index.mjs.map +1 -0
- package/build/packages/core/src/presence/LocalPresence.js +156 -0
- package/build/packages/core/src/presence/LocalPresence.js.map +1 -0
- package/build/packages/core/src/presence/LocalPresence.mjs +152 -0
- package/build/packages/core/src/presence/LocalPresence.mjs.map +1 -0
- package/build/packages/core/src/rooms/LobbyRoom.js +101 -0
- package/build/packages/core/src/rooms/LobbyRoom.js.map +1 -0
- package/build/packages/core/src/rooms/LobbyRoom.mjs +97 -0
- package/build/packages/core/src/rooms/LobbyRoom.mjs.map +1 -0
- package/build/packages/core/src/rooms/RelayRoom.js +79 -0
- package/build/packages/core/src/rooms/RelayRoom.js.map +1 -0
- package/build/packages/core/src/rooms/RelayRoom.mjs +75 -0
- package/build/packages/core/src/rooms/RelayRoom.mjs.map +1 -0
- package/build/packages/core/src/serializer/NoneSerializer.js +19 -0
- package/build/packages/core/src/serializer/NoneSerializer.js.map +1 -0
- package/build/packages/core/src/serializer/NoneSerializer.mjs +15 -0
- package/build/packages/core/src/serializer/NoneSerializer.mjs.map +1 -0
- package/build/packages/core/src/serializer/SchemaSerializer.js +85 -0
- package/build/packages/core/src/serializer/SchemaSerializer.js.map +1 -0
- package/build/packages/core/src/serializer/SchemaSerializer.mjs +81 -0
- package/build/packages/core/src/serializer/SchemaSerializer.mjs.map +1 -0
- package/build/packages/drivers/mongoose-driver/build/index.mjs +23 -0
- package/build/packages/drivers/mongoose-driver/build/index.mjs.js +25 -0
- package/build/packages/drivers/mongoose-driver/build/index.mjs.js.map +1 -0
- package/build/packages/drivers/mongoose-driver/build/index.mjs.map +1 -0
- package/build/packages/transport/ws-transport/build/WebSocketClient.mjs +70 -0
- package/build/packages/transport/ws-transport/build/WebSocketClient.mjs.js +74 -0
- package/build/packages/transport/ws-transport/build/WebSocketClient.mjs.js.map +1 -0
- package/build/packages/transport/ws-transport/build/WebSocketClient.mjs.map +1 -0
- package/build/packages/transport/ws-transport/build/WebSocketTransport.mjs +102 -0
- package/build/packages/transport/ws-transport/build/WebSocketTransport.mjs.js +110 -0
- package/build/packages/transport/ws-transport/build/WebSocketTransport.mjs.js.map +1 -0
- package/build/packages/transport/ws-transport/build/WebSocketTransport.mjs.map +1 -0
- package/build/rooms/LobbyRoom.js +4 -4
- package/build/rooms/LobbyRoom.js.map +1 -1
- package/build/rooms/LobbyRoom.mjs +4 -4
- package/build/rooms/LobbyRoom.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"db_ops.js","sources":["../../../../../../../node_modules/mongodb/lib/operations/db_ops.js"],"sourcesContent":["'use strict';\n\nconst applyWriteConcern = require('../utils').applyWriteConcern;\nconst Code = require('../core').BSON.Code;\nconst debugOptions = require('../utils').debugOptions;\nconst handleCallback = require('../utils').handleCallback;\nconst MongoError = require('../core').MongoError;\nconst parseIndexOptions = require('../utils').parseIndexOptions;\nconst ReadPreference = require('../core').ReadPreference;\nconst toError = require('../utils').toError;\nconst CONSTANTS = require('../constants');\nconst MongoDBNamespace = require('../utils').MongoDBNamespace;\n\nconst debugFields = [\n 'authSource',\n 'w',\n 'wtimeout',\n 'j',\n 'native_parser',\n 'forceServerObjectId',\n 'serializeFunctions',\n 'raw',\n 'promoteLongs',\n 'promoteValues',\n 'promoteBuffers',\n 'bufferMaxEntries',\n 'numberOfRetries',\n 'retryMiliSeconds',\n 'readPreference',\n 'pkFactory',\n 'parentDb',\n 'promiseLibrary',\n 'noListener'\n];\n\n/**\n * Creates an index on the db and collection.\n * @method\n * @param {Db} db The Db instance on which to create an index.\n * @param {string} name Name of the collection to create the index on.\n * @param {(string|object)} fieldOrSpec Defines the index.\n * @param {object} [options] Optional settings. See Db.prototype.createIndex for a list of options.\n * @param {Db~resultCallback} [callback] The command result callback\n */\nfunction createIndex(db, name, fieldOrSpec, options, callback) {\n // Get the write concern options\n let finalOptions = Object.assign({}, { readPreference: ReadPreference.PRIMARY }, options);\n finalOptions = applyWriteConcern(finalOptions, { db }, options);\n\n // Ensure we have a callback\n if (finalOptions.writeConcern && typeof callback !== 'function') {\n throw MongoError.create({\n message: 'Cannot use a writeConcern without a provided callback',\n driver: true\n });\n }\n\n // Did the user destroy the topology\n if (db.serverConfig && db.serverConfig.isDestroyed())\n return callback(new MongoError('topology was destroyed'));\n\n // Attempt to run using createIndexes command\n createIndexUsingCreateIndexes(db, name, fieldOrSpec, finalOptions, (err, result) => {\n if (err == null) return handleCallback(callback, err, result);\n\n /**\n * The following errors mean that the server recognized `createIndex` as a command so we don't need to fallback to an insert:\n * 67 = 'CannotCreateIndex' (malformed index options)\n * 85 = 'IndexOptionsConflict' (index already exists with different options)\n * 86 = 'IndexKeySpecsConflict' (index already exists with the same name)\n * 11000 = 'DuplicateKey' (couldn't build unique index because of dupes)\n * 11600 = 'InterruptedAtShutdown' (interrupted at shutdown)\n * 197 = 'InvalidIndexSpecificationOption' (`_id` with `background: true`)\n */\n if (\n err.code === 67 ||\n err.code === 11000 ||\n err.code === 85 ||\n err.code === 86 ||\n err.code === 11600 ||\n err.code === 197\n ) {\n return handleCallback(callback, err, result);\n }\n\n // Create command\n const doc = createCreateIndexCommand(db, name, fieldOrSpec, options);\n // Set no key checking\n finalOptions.checkKeys = false;\n // Insert document\n db.s.topology.insert(\n db.s.namespace.withCollection(CONSTANTS.SYSTEM_INDEX_COLLECTION),\n doc,\n finalOptions,\n (err, result) => {\n if (callback == null) return;\n if (err) return handleCallback(callback, err);\n if (result == null) return handleCallback(callback, null, null);\n if (result.result.writeErrors)\n return handleCallback(callback, MongoError.create(result.result.writeErrors[0]), null);\n handleCallback(callback, null, doc.name);\n }\n );\n });\n}\n\n// Add listeners to topology\nfunction createListener(db, e, object) {\n function listener(err) {\n if (object.listeners(e).length > 0) {\n object.emit(e, err, db);\n\n // Emit on all associated db's if available\n for (let i = 0; i < db.s.children.length; i++) {\n db.s.children[i].emit(e, err, db.s.children[i]);\n }\n }\n }\n return listener;\n}\n\n/**\n * Ensures that an index exists. If it does not, creates it.\n *\n * @method\n * @param {Db} db The Db instance on which to ensure the index.\n * @param {string} name The index name\n * @param {(string|object)} fieldOrSpec Defines the index.\n * @param {object} [options] Optional settings. See Db.prototype.ensureIndex for a list of options.\n * @param {Db~resultCallback} [callback] The command result callback\n */\nfunction ensureIndex(db, name, fieldOrSpec, options, callback) {\n // Get the write concern options\n const finalOptions = applyWriteConcern({}, { db }, options);\n // Create command\n const selector = createCreateIndexCommand(db, name, fieldOrSpec, options);\n const index_name = selector.name;\n\n // Did the user destroy the topology\n if (db.serverConfig && db.serverConfig.isDestroyed())\n return callback(new MongoError('topology was destroyed'));\n\n // Merge primary readPreference\n finalOptions.readPreference = ReadPreference.PRIMARY;\n\n // Check if the index already exists\n indexInformation(db, name, finalOptions, (err, indexInformation) => {\n if (err != null && err.code !== 26) return handleCallback(callback, err, null);\n // If the index does not exist, create it\n if (indexInformation == null || !indexInformation[index_name]) {\n createIndex(db, name, fieldOrSpec, options, callback);\n } else {\n if (typeof callback === 'function') return handleCallback(callback, null, index_name);\n }\n });\n}\n\n/**\n * Evaluate JavaScript on the server\n *\n * @method\n * @param {Db} db The Db instance.\n * @param {Code} code JavaScript to execute on server.\n * @param {(object|array)} parameters The parameters for the call.\n * @param {object} [options] Optional settings. See Db.prototype.eval for a list of options.\n * @param {Db~resultCallback} [callback] The results callback\n * @deprecated Eval is deprecated on MongoDB 3.2 and forward\n */\nfunction evaluate(db, code, parameters, options, callback) {\n let finalCode = code;\n let finalParameters = [];\n\n // Did the user destroy the topology\n if (db.serverConfig && db.serverConfig.isDestroyed())\n return callback(new MongoError('topology was destroyed'));\n\n // If not a code object translate to one\n if (!(finalCode && finalCode._bsontype === 'Code')) finalCode = new Code(finalCode);\n // Ensure the parameters are correct\n if (parameters != null && !Array.isArray(parameters) && typeof parameters !== 'function') {\n finalParameters = [parameters];\n } else if (parameters != null && Array.isArray(parameters) && typeof parameters !== 'function') {\n finalParameters = parameters;\n }\n\n // Create execution selector\n let cmd = { $eval: finalCode, args: finalParameters };\n // Check if the nolock parameter is passed in\n if (options['nolock']) {\n cmd['nolock'] = options['nolock'];\n }\n\n // Set primary read preference\n options.readPreference = new ReadPreference(ReadPreference.PRIMARY);\n\n // Execute the command\n executeCommand(db, cmd, options, (err, result) => {\n if (err) return handleCallback(callback, err, null);\n if (result && result.ok === 1) return handleCallback(callback, null, result.retval);\n if (result)\n return handleCallback(\n callback,\n MongoError.create({ message: `eval failed: ${result.errmsg}`, driver: true }),\n null\n );\n handleCallback(callback, err, result);\n });\n}\n\n/**\n * Execute a command\n *\n * @method\n * @param {Db} db The Db instance on which to execute the command.\n * @param {object} command The command hash\n * @param {object} [options] Optional settings. See Db.prototype.command for a list of options.\n * @param {Db~resultCallback} [callback] The command result callback\n */\nfunction executeCommand(db, command, options, callback) {\n // Did the user destroy the topology\n if (db.serverConfig && db.serverConfig.isDestroyed())\n return callback(new MongoError('topology was destroyed'));\n // Get the db name we are executing against\n const dbName = options.dbName || options.authdb || db.databaseName;\n\n // Convert the readPreference if its not a write\n options.readPreference = ReadPreference.resolve(db, options);\n\n // Debug information\n if (db.s.logger.isDebug())\n db.s.logger.debug(\n `executing command ${JSON.stringify(\n command\n )} against ${dbName}.$cmd with options [${JSON.stringify(\n debugOptions(debugFields, options)\n )}]`\n );\n\n // Execute command\n db.s.topology.command(db.s.namespace.withCollection('$cmd'), command, options, (err, result) => {\n if (err) return handleCallback(callback, err);\n if (options.full) return handleCallback(callback, null, result);\n handleCallback(callback, null, result.result);\n });\n}\n\n/**\n * Runs a command on the database as admin.\n *\n * @method\n * @param {Db} db The Db instance on which to execute the command.\n * @param {object} command The command hash\n * @param {object} [options] Optional settings. See Db.prototype.executeDbAdminCommand for a list of options.\n * @param {Db~resultCallback} [callback] The command result callback\n */\nfunction executeDbAdminCommand(db, command, options, callback) {\n const namespace = new MongoDBNamespace('admin', '$cmd');\n\n db.s.topology.command(namespace, command, options, (err, result) => {\n // Did the user destroy the topology\n if (db.serverConfig && db.serverConfig.isDestroyed()) {\n return callback(new MongoError('topology was destroyed'));\n }\n\n if (err) return handleCallback(callback, err);\n handleCallback(callback, null, result.result);\n });\n}\n\n/**\n * Retrieves this collections index info.\n *\n * @method\n * @param {Db} db The Db instance on which to retrieve the index info.\n * @param {string} name The name of the collection.\n * @param {object} [options] Optional settings. See Db.prototype.indexInformation for a list of options.\n * @param {Db~resultCallback} [callback] The command result callback\n */\nfunction indexInformation(db, name, options, callback) {\n // If we specified full information\n const full = options['full'] == null ? false : options['full'];\n\n // Did the user destroy the topology\n if (db.serverConfig && db.serverConfig.isDestroyed())\n return callback(new MongoError('topology was destroyed'));\n // Process all the results from the index command and collection\n function processResults(indexes) {\n // Contains all the information\n let info = {};\n // Process all the indexes\n for (let i = 0; i < indexes.length; i++) {\n const index = indexes[i];\n // Let's unpack the object\n info[index.name] = [];\n for (let name in index.key) {\n info[index.name].push([name, index.key[name]]);\n }\n }\n\n return info;\n }\n\n // Get the list of indexes of the specified collection\n db.collection(name)\n .listIndexes(options)\n .toArray((err, indexes) => {\n if (err) return callback(toError(err));\n if (!Array.isArray(indexes)) return handleCallback(callback, null, []);\n if (full) return handleCallback(callback, null, indexes);\n handleCallback(callback, null, processResults(indexes));\n });\n}\n\n/**\n * Retrieve the current profiling information for MongoDB\n *\n * @method\n * @param {Db} db The Db instance on which to retrieve the profiling info.\n * @param {Object} [options] Optional settings. See Db.protoype.profilingInfo for a list of options.\n * @param {Db~resultCallback} [callback] The command result callback.\n * @deprecated Query the system.profile collection directly.\n */\nfunction profilingInfo(db, options, callback) {\n try {\n db.collection('system.profile')\n .find({}, options)\n .toArray(callback);\n } catch (err) {\n return callback(err, null);\n }\n}\n\n// Validate the database name\nfunction validateDatabaseName(databaseName) {\n if (typeof databaseName !== 'string')\n throw MongoError.create({ message: 'database name must be a string', driver: true });\n if (databaseName.length === 0)\n throw MongoError.create({ message: 'database name cannot be the empty string', driver: true });\n if (databaseName === '$external') return;\n\n const invalidChars = [' ', '.', '$', '/', '\\\\'];\n for (let i = 0; i < invalidChars.length; i++) {\n if (databaseName.indexOf(invalidChars[i]) !== -1)\n throw MongoError.create({\n message: \"database names cannot contain the character '\" + invalidChars[i] + \"'\",\n driver: true\n });\n }\n}\n\n/**\n * Create the command object for Db.prototype.createIndex.\n *\n * @param {Db} db The Db instance on which to create the command.\n * @param {string} name Name of the collection to create the index on.\n * @param {(string|object)} fieldOrSpec Defines the index.\n * @param {Object} [options] Optional settings. See Db.prototype.createIndex for a list of options.\n * @return {Object} The insert command object.\n */\nfunction createCreateIndexCommand(db, name, fieldOrSpec, options) {\n const indexParameters = parseIndexOptions(fieldOrSpec);\n const fieldHash = indexParameters.fieldHash;\n\n // Generate the index name\n const indexName = typeof options.name === 'string' ? options.name : indexParameters.name;\n const selector = {\n ns: db.s.namespace.withCollection(name).toString(),\n key: fieldHash,\n name: indexName\n };\n\n // Ensure we have a correct finalUnique\n const finalUnique = options == null || 'object' === typeof options ? false : options;\n // Set up options\n options = options == null || typeof options === 'boolean' ? {} : options;\n\n // Add all the options\n const keysToOmit = Object.keys(selector);\n for (let optionName in options) {\n if (keysToOmit.indexOf(optionName) === -1) {\n selector[optionName] = options[optionName];\n }\n }\n\n if (selector['unique'] == null) selector['unique'] = finalUnique;\n\n // Remove any write concern operations\n const removeKeys = ['w', 'wtimeout', 'j', 'fsync', 'readPreference', 'session'];\n for (let i = 0; i < removeKeys.length; i++) {\n delete selector[removeKeys[i]];\n }\n\n // Return the command creation selector\n return selector;\n}\n\n/**\n * Create index using the createIndexes command.\n *\n * @param {Db} db The Db instance on which to execute the command.\n * @param {string} name Name of the collection to create the index on.\n * @param {(string|object)} fieldOrSpec Defines the index.\n * @param {Object} [options] Optional settings. See Db.prototype.createIndex for a list of options.\n * @param {Db~resultCallback} [callback] The command result callback.\n */\nfunction createIndexUsingCreateIndexes(db, name, fieldOrSpec, options, callback) {\n // Build the index\n const indexParameters = parseIndexOptions(fieldOrSpec);\n // Generate the index name\n const indexName = typeof options.name === 'string' ? options.name : indexParameters.name;\n // Set up the index\n const indexes = [{ name: indexName, key: indexParameters.fieldHash }];\n // merge all the options\n const keysToOmit = Object.keys(indexes[0]).concat([\n 'writeConcern',\n 'w',\n 'wtimeout',\n 'j',\n 'fsync',\n 'readPreference',\n 'session'\n ]);\n\n for (let optionName in options) {\n if (keysToOmit.indexOf(optionName) === -1) {\n indexes[0][optionName] = options[optionName];\n }\n }\n\n // Get capabilities\n const capabilities = db.s.topology.capabilities();\n\n // Did the user pass in a collation, check if our write server supports it\n if (indexes[0].collation && capabilities && !capabilities.commandsTakeCollation) {\n // Create a new error\n const error = new MongoError('server/primary/mongos does not support collation');\n error.code = 67;\n // Return the error\n return callback(error);\n }\n\n // Create command, apply write concern to command\n const cmd = applyWriteConcern({ createIndexes: name, indexes }, { db }, options);\n\n // ReadPreference primary\n options.readPreference = ReadPreference.PRIMARY;\n\n // Build the command\n executeCommand(db, cmd, options, (err, result) => {\n if (err) return handleCallback(callback, err, null);\n if (result.ok === 0) return handleCallback(callback, toError(result), null);\n // Return the indexName for backward compatibility\n handleCallback(callback, null, indexName);\n });\n}\n\nmodule.exports = {\n createListener,\n createIndex,\n ensureIndex,\n evaluate,\n executeCommand,\n executeDbAdminCommand,\n indexInformation,\n profilingInfo,\n validateDatabaseName\n};\n"],"names":["require$$0","require$$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kD,CAAC,CAAC;AACrF,IAAI,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC;AACpB;AACA,IAAI,OAAO,QAAQ,CAAC,KAAK,CAAC,CAAC;AAC3B,GAAG;AACH;AACA;AACA,EAAE,MAAM,GAAG,GAAG,iBAAiB,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;AACnF;AACA;AACA,EAAE,OAAO,CAAC,cAAc,GAAG,cAAc,CAAC,OAAO,CAAC;AAClD;AACA;AACA,EAAE,cAAc,CAAC,EAAE,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK;AACpD,IAAI,IAAI,GAAG,EAAE,OAAO,cAAc,CAAC,QAAQ,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;AACxD,IAAI,IAAI,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,OAAO,cAAc,CAAC,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC;AAChF;AACA,IAAI,cAAc,CAAC,QAAQ,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;AAC9C,GAAG,CAAC,CAAC;AACL,CAAC;AACD;UACc,GAAG;AACjB,EAAE,cAAc;AAChB,EAAE,WAAW;AACb,EAAE,WAAW;AACb,EAAE,QAAQ;AACV,EAAE,cAAc;AAChB,EAAE,qBAAqB;AACvB,EAAE,gBAAgB;AAClB,EAAE,aAAa;AACf,EAAE,oBAAoB;AACtB;;;;"}
|
|
@@ -0,0 +1,472 @@
|
|
|
1
|
+
import utils from '../utils.mjs';
|
|
2
|
+
import core from '../core/index.mjs';
|
|
3
|
+
import constants from '../constants.mjs';
|
|
4
|
+
|
|
5
|
+
const applyWriteConcern = utils.applyWriteConcern;
|
|
6
|
+
const Code = core.BSON.Code;
|
|
7
|
+
const debugOptions = utils.debugOptions;
|
|
8
|
+
const handleCallback = utils.handleCallback;
|
|
9
|
+
const MongoError = core.MongoError;
|
|
10
|
+
const parseIndexOptions = utils.parseIndexOptions;
|
|
11
|
+
const ReadPreference = core.ReadPreference;
|
|
12
|
+
const toError = utils.toError;
|
|
13
|
+
|
|
14
|
+
const MongoDBNamespace = utils.MongoDBNamespace;
|
|
15
|
+
|
|
16
|
+
const debugFields = [
|
|
17
|
+
'authSource',
|
|
18
|
+
'w',
|
|
19
|
+
'wtimeout',
|
|
20
|
+
'j',
|
|
21
|
+
'native_parser',
|
|
22
|
+
'forceServerObjectId',
|
|
23
|
+
'serializeFunctions',
|
|
24
|
+
'raw',
|
|
25
|
+
'promoteLongs',
|
|
26
|
+
'promoteValues',
|
|
27
|
+
'promoteBuffers',
|
|
28
|
+
'bufferMaxEntries',
|
|
29
|
+
'numberOfRetries',
|
|
30
|
+
'retryMiliSeconds',
|
|
31
|
+
'readPreference',
|
|
32
|
+
'pkFactory',
|
|
33
|
+
'parentDb',
|
|
34
|
+
'promiseLibrary',
|
|
35
|
+
'noListener'
|
|
36
|
+
];
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Creates an index on the db and collection.
|
|
40
|
+
* @method
|
|
41
|
+
* @param {Db} db The Db instance on which to create an index.
|
|
42
|
+
* @param {string} name Name of the collection to create the index on.
|
|
43
|
+
* @param {(string|object)} fieldOrSpec Defines the index.
|
|
44
|
+
* @param {object} [options] Optional settings. See Db.prototype.createIndex for a list of options.
|
|
45
|
+
* @param {Db~resultCallback} [callback] The command result callback
|
|
46
|
+
*/
|
|
47
|
+
function createIndex(db, name, fieldOrSpec, options, callback) {
|
|
48
|
+
// Get the write concern options
|
|
49
|
+
let finalOptions = Object.assign({}, { readPreference: ReadPreference.PRIMARY }, options);
|
|
50
|
+
finalOptions = applyWriteConcern(finalOptions, { db }, options);
|
|
51
|
+
|
|
52
|
+
// Ensure we have a callback
|
|
53
|
+
if (finalOptions.writeConcern && typeof callback !== 'function') {
|
|
54
|
+
throw MongoError.create({
|
|
55
|
+
message: 'Cannot use a writeConcern without a provided callback',
|
|
56
|
+
driver: true
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// Did the user destroy the topology
|
|
61
|
+
if (db.serverConfig && db.serverConfig.isDestroyed())
|
|
62
|
+
return callback(new MongoError('topology was destroyed'));
|
|
63
|
+
|
|
64
|
+
// Attempt to run using createIndexes command
|
|
65
|
+
createIndexUsingCreateIndexes(db, name, fieldOrSpec, finalOptions, (err, result) => {
|
|
66
|
+
if (err == null) return handleCallback(callback, err, result);
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* The following errors mean that the server recognized `createIndex` as a command so we don't need to fallback to an insert:
|
|
70
|
+
* 67 = 'CannotCreateIndex' (malformed index options)
|
|
71
|
+
* 85 = 'IndexOptionsConflict' (index already exists with different options)
|
|
72
|
+
* 86 = 'IndexKeySpecsConflict' (index already exists with the same name)
|
|
73
|
+
* 11000 = 'DuplicateKey' (couldn't build unique index because of dupes)
|
|
74
|
+
* 11600 = 'InterruptedAtShutdown' (interrupted at shutdown)
|
|
75
|
+
* 197 = 'InvalidIndexSpecificationOption' (`_id` with `background: true`)
|
|
76
|
+
*/
|
|
77
|
+
if (
|
|
78
|
+
err.code === 67 ||
|
|
79
|
+
err.code === 11000 ||
|
|
80
|
+
err.code === 85 ||
|
|
81
|
+
err.code === 86 ||
|
|
82
|
+
err.code === 11600 ||
|
|
83
|
+
err.code === 197
|
|
84
|
+
) {
|
|
85
|
+
return handleCallback(callback, err, result);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// Create command
|
|
89
|
+
const doc = createCreateIndexCommand(db, name, fieldOrSpec, options);
|
|
90
|
+
// Set no key checking
|
|
91
|
+
finalOptions.checkKeys = false;
|
|
92
|
+
// Insert document
|
|
93
|
+
db.s.topology.insert(
|
|
94
|
+
db.s.namespace.withCollection(constants.SYSTEM_INDEX_COLLECTION),
|
|
95
|
+
doc,
|
|
96
|
+
finalOptions,
|
|
97
|
+
(err, result) => {
|
|
98
|
+
if (callback == null) return;
|
|
99
|
+
if (err) return handleCallback(callback, err);
|
|
100
|
+
if (result == null) return handleCallback(callback, null, null);
|
|
101
|
+
if (result.result.writeErrors)
|
|
102
|
+
return handleCallback(callback, MongoError.create(result.result.writeErrors[0]), null);
|
|
103
|
+
handleCallback(callback, null, doc.name);
|
|
104
|
+
}
|
|
105
|
+
);
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// Add listeners to topology
|
|
110
|
+
function createListener(db, e, object) {
|
|
111
|
+
function listener(err) {
|
|
112
|
+
if (object.listeners(e).length > 0) {
|
|
113
|
+
object.emit(e, err, db);
|
|
114
|
+
|
|
115
|
+
// Emit on all associated db's if available
|
|
116
|
+
for (let i = 0; i < db.s.children.length; i++) {
|
|
117
|
+
db.s.children[i].emit(e, err, db.s.children[i]);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
return listener;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Ensures that an index exists. If it does not, creates it.
|
|
126
|
+
*
|
|
127
|
+
* @method
|
|
128
|
+
* @param {Db} db The Db instance on which to ensure the index.
|
|
129
|
+
* @param {string} name The index name
|
|
130
|
+
* @param {(string|object)} fieldOrSpec Defines the index.
|
|
131
|
+
* @param {object} [options] Optional settings. See Db.prototype.ensureIndex for a list of options.
|
|
132
|
+
* @param {Db~resultCallback} [callback] The command result callback
|
|
133
|
+
*/
|
|
134
|
+
function ensureIndex(db, name, fieldOrSpec, options, callback) {
|
|
135
|
+
// Get the write concern options
|
|
136
|
+
const finalOptions = applyWriteConcern({}, { db }, options);
|
|
137
|
+
// Create command
|
|
138
|
+
const selector = createCreateIndexCommand(db, name, fieldOrSpec, options);
|
|
139
|
+
const index_name = selector.name;
|
|
140
|
+
|
|
141
|
+
// Did the user destroy the topology
|
|
142
|
+
if (db.serverConfig && db.serverConfig.isDestroyed())
|
|
143
|
+
return callback(new MongoError('topology was destroyed'));
|
|
144
|
+
|
|
145
|
+
// Merge primary readPreference
|
|
146
|
+
finalOptions.readPreference = ReadPreference.PRIMARY;
|
|
147
|
+
|
|
148
|
+
// Check if the index already exists
|
|
149
|
+
indexInformation(db, name, finalOptions, (err, indexInformation) => {
|
|
150
|
+
if (err != null && err.code !== 26) return handleCallback(callback, err, null);
|
|
151
|
+
// If the index does not exist, create it
|
|
152
|
+
if (indexInformation == null || !indexInformation[index_name]) {
|
|
153
|
+
createIndex(db, name, fieldOrSpec, options, callback);
|
|
154
|
+
} else {
|
|
155
|
+
if (typeof callback === 'function') return handleCallback(callback, null, index_name);
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Evaluate JavaScript on the server
|
|
162
|
+
*
|
|
163
|
+
* @method
|
|
164
|
+
* @param {Db} db The Db instance.
|
|
165
|
+
* @param {Code} code JavaScript to execute on server.
|
|
166
|
+
* @param {(object|array)} parameters The parameters for the call.
|
|
167
|
+
* @param {object} [options] Optional settings. See Db.prototype.eval for a list of options.
|
|
168
|
+
* @param {Db~resultCallback} [callback] The results callback
|
|
169
|
+
* @deprecated Eval is deprecated on MongoDB 3.2 and forward
|
|
170
|
+
*/
|
|
171
|
+
function evaluate(db, code, parameters, options, callback) {
|
|
172
|
+
let finalCode = code;
|
|
173
|
+
let finalParameters = [];
|
|
174
|
+
|
|
175
|
+
// Did the user destroy the topology
|
|
176
|
+
if (db.serverConfig && db.serverConfig.isDestroyed())
|
|
177
|
+
return callback(new MongoError('topology was destroyed'));
|
|
178
|
+
|
|
179
|
+
// If not a code object translate to one
|
|
180
|
+
if (!(finalCode && finalCode._bsontype === 'Code')) finalCode = new Code(finalCode);
|
|
181
|
+
// Ensure the parameters are correct
|
|
182
|
+
if (parameters != null && !Array.isArray(parameters) && typeof parameters !== 'function') {
|
|
183
|
+
finalParameters = [parameters];
|
|
184
|
+
} else if (parameters != null && Array.isArray(parameters) && typeof parameters !== 'function') {
|
|
185
|
+
finalParameters = parameters;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
// Create execution selector
|
|
189
|
+
let cmd = { $eval: finalCode, args: finalParameters };
|
|
190
|
+
// Check if the nolock parameter is passed in
|
|
191
|
+
if (options['nolock']) {
|
|
192
|
+
cmd['nolock'] = options['nolock'];
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
// Set primary read preference
|
|
196
|
+
options.readPreference = new ReadPreference(ReadPreference.PRIMARY);
|
|
197
|
+
|
|
198
|
+
// Execute the command
|
|
199
|
+
executeCommand(db, cmd, options, (err, result) => {
|
|
200
|
+
if (err) return handleCallback(callback, err, null);
|
|
201
|
+
if (result && result.ok === 1) return handleCallback(callback, null, result.retval);
|
|
202
|
+
if (result)
|
|
203
|
+
return handleCallback(
|
|
204
|
+
callback,
|
|
205
|
+
MongoError.create({ message: `eval failed: ${result.errmsg}`, driver: true }),
|
|
206
|
+
null
|
|
207
|
+
);
|
|
208
|
+
handleCallback(callback, err, result);
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Execute a command
|
|
214
|
+
*
|
|
215
|
+
* @method
|
|
216
|
+
* @param {Db} db The Db instance on which to execute the command.
|
|
217
|
+
* @param {object} command The command hash
|
|
218
|
+
* @param {object} [options] Optional settings. See Db.prototype.command for a list of options.
|
|
219
|
+
* @param {Db~resultCallback} [callback] The command result callback
|
|
220
|
+
*/
|
|
221
|
+
function executeCommand(db, command, options, callback) {
|
|
222
|
+
// Did the user destroy the topology
|
|
223
|
+
if (db.serverConfig && db.serverConfig.isDestroyed())
|
|
224
|
+
return callback(new MongoError('topology was destroyed'));
|
|
225
|
+
// Get the db name we are executing against
|
|
226
|
+
const dbName = options.dbName || options.authdb || db.databaseName;
|
|
227
|
+
|
|
228
|
+
// Convert the readPreference if its not a write
|
|
229
|
+
options.readPreference = ReadPreference.resolve(db, options);
|
|
230
|
+
|
|
231
|
+
// Debug information
|
|
232
|
+
if (db.s.logger.isDebug())
|
|
233
|
+
db.s.logger.debug(
|
|
234
|
+
`executing command ${JSON.stringify(
|
|
235
|
+
command
|
|
236
|
+
)} against ${dbName}.$cmd with options [${JSON.stringify(
|
|
237
|
+
debugOptions(debugFields, options)
|
|
238
|
+
)}]`
|
|
239
|
+
);
|
|
240
|
+
|
|
241
|
+
// Execute command
|
|
242
|
+
db.s.topology.command(db.s.namespace.withCollection('$cmd'), command, options, (err, result) => {
|
|
243
|
+
if (err) return handleCallback(callback, err);
|
|
244
|
+
if (options.full) return handleCallback(callback, null, result);
|
|
245
|
+
handleCallback(callback, null, result.result);
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Runs a command on the database as admin.
|
|
251
|
+
*
|
|
252
|
+
* @method
|
|
253
|
+
* @param {Db} db The Db instance on which to execute the command.
|
|
254
|
+
* @param {object} command The command hash
|
|
255
|
+
* @param {object} [options] Optional settings. See Db.prototype.executeDbAdminCommand for a list of options.
|
|
256
|
+
* @param {Db~resultCallback} [callback] The command result callback
|
|
257
|
+
*/
|
|
258
|
+
function executeDbAdminCommand(db, command, options, callback) {
|
|
259
|
+
const namespace = new MongoDBNamespace('admin', '$cmd');
|
|
260
|
+
|
|
261
|
+
db.s.topology.command(namespace, command, options, (err, result) => {
|
|
262
|
+
// Did the user destroy the topology
|
|
263
|
+
if (db.serverConfig && db.serverConfig.isDestroyed()) {
|
|
264
|
+
return callback(new MongoError('topology was destroyed'));
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
if (err) return handleCallback(callback, err);
|
|
268
|
+
handleCallback(callback, null, result.result);
|
|
269
|
+
});
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Retrieves this collections index info.
|
|
274
|
+
*
|
|
275
|
+
* @method
|
|
276
|
+
* @param {Db} db The Db instance on which to retrieve the index info.
|
|
277
|
+
* @param {string} name The name of the collection.
|
|
278
|
+
* @param {object} [options] Optional settings. See Db.prototype.indexInformation for a list of options.
|
|
279
|
+
* @param {Db~resultCallback} [callback] The command result callback
|
|
280
|
+
*/
|
|
281
|
+
function indexInformation(db, name, options, callback) {
|
|
282
|
+
// If we specified full information
|
|
283
|
+
const full = options['full'] == null ? false : options['full'];
|
|
284
|
+
|
|
285
|
+
// Did the user destroy the topology
|
|
286
|
+
if (db.serverConfig && db.serverConfig.isDestroyed())
|
|
287
|
+
return callback(new MongoError('topology was destroyed'));
|
|
288
|
+
// Process all the results from the index command and collection
|
|
289
|
+
function processResults(indexes) {
|
|
290
|
+
// Contains all the information
|
|
291
|
+
let info = {};
|
|
292
|
+
// Process all the indexes
|
|
293
|
+
for (let i = 0; i < indexes.length; i++) {
|
|
294
|
+
const index = indexes[i];
|
|
295
|
+
// Let's unpack the object
|
|
296
|
+
info[index.name] = [];
|
|
297
|
+
for (let name in index.key) {
|
|
298
|
+
info[index.name].push([name, index.key[name]]);
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
return info;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
// Get the list of indexes of the specified collection
|
|
306
|
+
db.collection(name)
|
|
307
|
+
.listIndexes(options)
|
|
308
|
+
.toArray((err, indexes) => {
|
|
309
|
+
if (err) return callback(toError(err));
|
|
310
|
+
if (!Array.isArray(indexes)) return handleCallback(callback, null, []);
|
|
311
|
+
if (full) return handleCallback(callback, null, indexes);
|
|
312
|
+
handleCallback(callback, null, processResults(indexes));
|
|
313
|
+
});
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Retrieve the current profiling information for MongoDB
|
|
318
|
+
*
|
|
319
|
+
* @method
|
|
320
|
+
* @param {Db} db The Db instance on which to retrieve the profiling info.
|
|
321
|
+
* @param {Object} [options] Optional settings. See Db.protoype.profilingInfo for a list of options.
|
|
322
|
+
* @param {Db~resultCallback} [callback] The command result callback.
|
|
323
|
+
* @deprecated Query the system.profile collection directly.
|
|
324
|
+
*/
|
|
325
|
+
function profilingInfo(db, options, callback) {
|
|
326
|
+
try {
|
|
327
|
+
db.collection('system.profile')
|
|
328
|
+
.find({}, options)
|
|
329
|
+
.toArray(callback);
|
|
330
|
+
} catch (err) {
|
|
331
|
+
return callback(err, null);
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
// Validate the database name
|
|
336
|
+
function validateDatabaseName(databaseName) {
|
|
337
|
+
if (typeof databaseName !== 'string')
|
|
338
|
+
throw MongoError.create({ message: 'database name must be a string', driver: true });
|
|
339
|
+
if (databaseName.length === 0)
|
|
340
|
+
throw MongoError.create({ message: 'database name cannot be the empty string', driver: true });
|
|
341
|
+
if (databaseName === '$external') return;
|
|
342
|
+
|
|
343
|
+
const invalidChars = [' ', '.', '$', '/', '\\'];
|
|
344
|
+
for (let i = 0; i < invalidChars.length; i++) {
|
|
345
|
+
if (databaseName.indexOf(invalidChars[i]) !== -1)
|
|
346
|
+
throw MongoError.create({
|
|
347
|
+
message: "database names cannot contain the character '" + invalidChars[i] + "'",
|
|
348
|
+
driver: true
|
|
349
|
+
});
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* Create the command object for Db.prototype.createIndex.
|
|
355
|
+
*
|
|
356
|
+
* @param {Db} db The Db instance on which to create the command.
|
|
357
|
+
* @param {string} name Name of the collection to create the index on.
|
|
358
|
+
* @param {(string|object)} fieldOrSpec Defines the index.
|
|
359
|
+
* @param {Object} [options] Optional settings. See Db.prototype.createIndex for a list of options.
|
|
360
|
+
* @return {Object} The insert command object.
|
|
361
|
+
*/
|
|
362
|
+
function createCreateIndexCommand(db, name, fieldOrSpec, options) {
|
|
363
|
+
const indexParameters = parseIndexOptions(fieldOrSpec);
|
|
364
|
+
const fieldHash = indexParameters.fieldHash;
|
|
365
|
+
|
|
366
|
+
// Generate the index name
|
|
367
|
+
const indexName = typeof options.name === 'string' ? options.name : indexParameters.name;
|
|
368
|
+
const selector = {
|
|
369
|
+
ns: db.s.namespace.withCollection(name).toString(),
|
|
370
|
+
key: fieldHash,
|
|
371
|
+
name: indexName
|
|
372
|
+
};
|
|
373
|
+
|
|
374
|
+
// Ensure we have a correct finalUnique
|
|
375
|
+
const finalUnique = options == null || 'object' === typeof options ? false : options;
|
|
376
|
+
// Set up options
|
|
377
|
+
options = options == null || typeof options === 'boolean' ? {} : options;
|
|
378
|
+
|
|
379
|
+
// Add all the options
|
|
380
|
+
const keysToOmit = Object.keys(selector);
|
|
381
|
+
for (let optionName in options) {
|
|
382
|
+
if (keysToOmit.indexOf(optionName) === -1) {
|
|
383
|
+
selector[optionName] = options[optionName];
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
if (selector['unique'] == null) selector['unique'] = finalUnique;
|
|
388
|
+
|
|
389
|
+
// Remove any write concern operations
|
|
390
|
+
const removeKeys = ['w', 'wtimeout', 'j', 'fsync', 'readPreference', 'session'];
|
|
391
|
+
for (let i = 0; i < removeKeys.length; i++) {
|
|
392
|
+
delete selector[removeKeys[i]];
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
// Return the command creation selector
|
|
396
|
+
return selector;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* Create index using the createIndexes command.
|
|
401
|
+
*
|
|
402
|
+
* @param {Db} db The Db instance on which to execute the command.
|
|
403
|
+
* @param {string} name Name of the collection to create the index on.
|
|
404
|
+
* @param {(string|object)} fieldOrSpec Defines the index.
|
|
405
|
+
* @param {Object} [options] Optional settings. See Db.prototype.createIndex for a list of options.
|
|
406
|
+
* @param {Db~resultCallback} [callback] The command result callback.
|
|
407
|
+
*/
|
|
408
|
+
function createIndexUsingCreateIndexes(db, name, fieldOrSpec, options, callback) {
|
|
409
|
+
// Build the index
|
|
410
|
+
const indexParameters = parseIndexOptions(fieldOrSpec);
|
|
411
|
+
// Generate the index name
|
|
412
|
+
const indexName = typeof options.name === 'string' ? options.name : indexParameters.name;
|
|
413
|
+
// Set up the index
|
|
414
|
+
const indexes = [{ name: indexName, key: indexParameters.fieldHash }];
|
|
415
|
+
// merge all the options
|
|
416
|
+
const keysToOmit = Object.keys(indexes[0]).concat([
|
|
417
|
+
'writeConcern',
|
|
418
|
+
'w',
|
|
419
|
+
'wtimeout',
|
|
420
|
+
'j',
|
|
421
|
+
'fsync',
|
|
422
|
+
'readPreference',
|
|
423
|
+
'session'
|
|
424
|
+
]);
|
|
425
|
+
|
|
426
|
+
for (let optionName in options) {
|
|
427
|
+
if (keysToOmit.indexOf(optionName) === -1) {
|
|
428
|
+
indexes[0][optionName] = options[optionName];
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
// Get capabilities
|
|
433
|
+
const capabilities = db.s.topology.capabilities();
|
|
434
|
+
|
|
435
|
+
// Did the user pass in a collation, check if our write server supports it
|
|
436
|
+
if (indexes[0].collation && capabilities && !capabilities.commandsTakeCollation) {
|
|
437
|
+
// Create a new error
|
|
438
|
+
const error = new MongoError('server/primary/mongos does not support collation');
|
|
439
|
+
error.code = 67;
|
|
440
|
+
// Return the error
|
|
441
|
+
return callback(error);
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
// Create command, apply write concern to command
|
|
445
|
+
const cmd = applyWriteConcern({ createIndexes: name, indexes }, { db }, options);
|
|
446
|
+
|
|
447
|
+
// ReadPreference primary
|
|
448
|
+
options.readPreference = ReadPreference.PRIMARY;
|
|
449
|
+
|
|
450
|
+
// Build the command
|
|
451
|
+
executeCommand(db, cmd, options, (err, result) => {
|
|
452
|
+
if (err) return handleCallback(callback, err, null);
|
|
453
|
+
if (result.ok === 0) return handleCallback(callback, toError(result), null);
|
|
454
|
+
// Return the indexName for backward compatibility
|
|
455
|
+
handleCallback(callback, null, indexName);
|
|
456
|
+
});
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
var db_ops = {
|
|
460
|
+
createListener,
|
|
461
|
+
createIndex,
|
|
462
|
+
ensureIndex,
|
|
463
|
+
evaluate,
|
|
464
|
+
executeCommand,
|
|
465
|
+
executeDbAdminCommand,
|
|
466
|
+
indexInformation,
|
|
467
|
+
profilingInfo,
|
|
468
|
+
validateDatabaseName
|
|
469
|
+
};
|
|
470
|
+
|
|
471
|
+
export default db_ops;
|
|
472
|
+
//# sourceMappingURL=db_ops.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"db_ops.mjs","sources":["../../../../../../../node_modules/mongodb/lib/operations/db_ops.js"],"sourcesContent":["'use strict';\n\nconst applyWriteConcern = require('../utils').applyWriteConcern;\nconst Code = require('../core').BSON.Code;\nconst debugOptions = require('../utils').debugOptions;\nconst handleCallback = require('../utils').handleCallback;\nconst MongoError = require('../core').MongoError;\nconst parseIndexOptions = require('../utils').parseIndexOptions;\nconst ReadPreference = require('../core').ReadPreference;\nconst toError = require('../utils').toError;\nconst CONSTANTS = require('../constants');\nconst MongoDBNamespace = require('../utils').MongoDBNamespace;\n\nconst debugFields = [\n 'authSource',\n 'w',\n 'wtimeout',\n 'j',\n 'native_parser',\n 'forceServerObjectId',\n 'serializeFunctions',\n 'raw',\n 'promoteLongs',\n 'promoteValues',\n 'promoteBuffers',\n 'bufferMaxEntries',\n 'numberOfRetries',\n 'retryMiliSeconds',\n 'readPreference',\n 'pkFactory',\n 'parentDb',\n 'promiseLibrary',\n 'noListener'\n];\n\n/**\n * Creates an index on the db and collection.\n * @method\n * @param {Db} db The Db instance on which to create an index.\n * @param {string} name Name of the collection to create the index on.\n * @param {(string|object)} fieldOrSpec Defines the index.\n * @param {object} [options] Optional settings. See Db.prototype.createIndex for a list of options.\n * @param {Db~resultCallback} [callback] The command result callback\n */\nfunction createIndex(db, name, fieldOrSpec, options, callback) {\n // Get the write concern options\n let finalOptions = Object.assign({}, { readPreference: ReadPreference.PRIMARY }, options);\n finalOptions = applyWriteConcern(finalOptions, { db }, options);\n\n // Ensure we have a callback\n if (finalOptions.writeConcern && typeof callback !== 'function') {\n throw MongoError.create({\n message: 'Cannot use a writeConcern without a provided callback',\n driver: true\n });\n }\n\n // Did the user destroy the topology\n if (db.serverConfig && db.serverConfig.isDestroyed())\n return callback(new MongoError('topology was destroyed'));\n\n // Attempt to run using createIndexes command\n createIndexUsingCreateIndexes(db, name, fieldOrSpec, finalOptions, (err, result) => {\n if (err == null) return handleCallback(callback, err, result);\n\n /**\n * The following errors mean that the server recognized `createIndex` as a command so we don't need to fallback to an insert:\n * 67 = 'CannotCreateIndex' (malformed index options)\n * 85 = 'IndexOptionsConflict' (index already exists with different options)\n * 86 = 'IndexKeySpecsConflict' (index already exists with the same name)\n * 11000 = 'DuplicateKey' (couldn't build unique index because of dupes)\n * 11600 = 'InterruptedAtShutdown' (interrupted at shutdown)\n * 197 = 'InvalidIndexSpecificationOption' (`_id` with `background: true`)\n */\n if (\n err.code === 67 ||\n err.code === 11000 ||\n err.code === 85 ||\n err.code === 86 ||\n err.code === 11600 ||\n err.code === 197\n ) {\n return handleCallback(callback, err, result);\n }\n\n // Create command\n const doc = createCreateIndexCommand(db, name, fieldOrSpec, options);\n // Set no key checking\n finalOptions.checkKeys = false;\n // Insert document\n db.s.topology.insert(\n db.s.namespace.withCollection(CONSTANTS.SYSTEM_INDEX_COLLECTION),\n doc,\n finalOptions,\n (err, result) => {\n if (callback == null) return;\n if (err) return handleCallback(callback, err);\n if (result == null) return handleCallback(callback, null, null);\n if (result.result.writeErrors)\n return handleCallback(callback, MongoError.create(result.result.writeErrors[0]), null);\n handleCallback(callback, null, doc.name);\n }\n );\n });\n}\n\n// Add listeners to topology\nfunction createListener(db, e, object) {\n function listener(err) {\n if (object.listeners(e).length > 0) {\n object.emit(e, err, db);\n\n // Emit on all associated db's if available\n for (let i = 0; i < db.s.children.length; i++) {\n db.s.children[i].emit(e, err, db.s.children[i]);\n }\n }\n }\n return listener;\n}\n\n/**\n * Ensures that an index exists. If it does not, creates it.\n *\n * @method\n * @param {Db} db The Db instance on which to ensure the index.\n * @param {string} name The index name\n * @param {(string|object)} fieldOrSpec Defines the index.\n * @param {object} [options] Optional settings. See Db.prototype.ensureIndex for a list of options.\n * @param {Db~resultCallback} [callback] The command result callback\n */\nfunction ensureIndex(db, name, fieldOrSpec, options, callback) {\n // Get the write concern options\n const finalOptions = applyWriteConcern({}, { db }, options);\n // Create command\n const selector = createCreateIndexCommand(db, name, fieldOrSpec, options);\n const index_name = selector.name;\n\n // Did the user destroy the topology\n if (db.serverConfig && db.serverConfig.isDestroyed())\n return callback(new MongoError('topology was destroyed'));\n\n // Merge primary readPreference\n finalOptions.readPreference = ReadPreference.PRIMARY;\n\n // Check if the index already exists\n indexInformation(db, name, finalOptions, (err, indexInformation) => {\n if (err != null && err.code !== 26) return handleCallback(callback, err, null);\n // If the index does not exist, create it\n if (indexInformation == null || !indexInformation[index_name]) {\n createIndex(db, name, fieldOrSpec, options, callback);\n } else {\n if (typeof callback === 'function') return handleCallback(callback, null, index_name);\n }\n });\n}\n\n/**\n * Evaluate JavaScript on the server\n *\n * @method\n * @param {Db} db The Db instance.\n * @param {Code} code JavaScript to execute on server.\n * @param {(object|array)} parameters The parameters for the call.\n * @param {object} [options] Optional settings. See Db.prototype.eval for a list of options.\n * @param {Db~resultCallback} [callback] The results callback\n * @deprecated Eval is deprecated on MongoDB 3.2 and forward\n */\nfunction evaluate(db, code, parameters, options, callback) {\n let finalCode = code;\n let finalParameters = [];\n\n // Did the user destroy the topology\n if (db.serverConfig && db.serverConfig.isDestroyed())\n return callback(new MongoError('topology was destroyed'));\n\n // If not a code object translate to one\n if (!(finalCode && finalCode._bsontype === 'Code')) finalCode = new Code(finalCode);\n // Ensure the parameters are correct\n if (parameters != null && !Array.isArray(parameters) && typeof parameters !== 'function') {\n finalParameters = [parameters];\n } else if (parameters != null && Array.isArray(parameters) && typeof parameters !== 'function') {\n finalParameters = parameters;\n }\n\n // Create execution selector\n let cmd = { $eval: finalCode, args: finalParameters };\n // Check if the nolock parameter is passed in\n if (options['nolock']) {\n cmd['nolock'] = options['nolock'];\n }\n\n // Set primary read preference\n options.readPreference = new ReadPreference(ReadPreference.PRIMARY);\n\n // Execute the command\n executeCommand(db, cmd, options, (err, result) => {\n if (err) return handleCallback(callback, err, null);\n if (result && result.ok === 1) return handleCallback(callback, null, result.retval);\n if (result)\n return handleCallback(\n callback,\n MongoError.create({ message: `eval failed: ${result.errmsg}`, driver: true }),\n null\n );\n handleCallback(callback, err, result);\n });\n}\n\n/**\n * Execute a command\n *\n * @method\n * @param {Db} db The Db instance on which to execute the command.\n * @param {object} command The command hash\n * @param {object} [options] Optional settings. See Db.prototype.command for a list of options.\n * @param {Db~resultCallback} [callback] The command result callback\n */\nfunction executeCommand(db, command, options, callback) {\n // Did the user destroy the topology\n if (db.serverConfig && db.serverConfig.isDestroyed())\n return callback(new MongoError('topology was destroyed'));\n // Get the db name we are executing against\n const dbName = options.dbName || options.authdb || db.databaseName;\n\n // Convert the readPreference if its not a write\n options.readPreference = ReadPreference.resolve(db, options);\n\n // Debug information\n if (db.s.logger.isDebug())\n db.s.logger.debug(\n `executing command ${JSON.stringify(\n command\n )} against ${dbName}.$cmd with options [${JSON.stringify(\n debugOptions(debugFields, options)\n )}]`\n );\n\n // Execute command\n db.s.topology.command(db.s.namespace.withCollection('$cmd'), command, options, (err, result) => {\n if (err) return handleCallback(callback, err);\n if (options.full) return handleCallback(callback, null, result);\n handleCallback(callback, null, result.result);\n });\n}\n\n/**\n * Runs a command on the database as admin.\n *\n * @method\n * @param {Db} db The Db instance on which to execute the command.\n * @param {object} command The command hash\n * @param {object} [options] Optional settings. See Db.prototype.executeDbAdminCommand for a list of options.\n * @param {Db~resultCallback} [callback] The command result callback\n */\nfunction executeDbAdminCommand(db, command, options, callback) {\n const namespace = new MongoDBNamespace('admin', '$cmd');\n\n db.s.topology.command(namespace, command, options, (err, result) => {\n // Did the user destroy the topology\n if (db.serverConfig && db.serverConfig.isDestroyed()) {\n return callback(new MongoError('topology was destroyed'));\n }\n\n if (err) return handleCallback(callback, err);\n handleCallback(callback, null, result.result);\n });\n}\n\n/**\n * Retrieves this collections index info.\n *\n * @method\n * @param {Db} db The Db instance on which to retrieve the index info.\n * @param {string} name The name of the collection.\n * @param {object} [options] Optional settings. See Db.prototype.indexInformation for a list of options.\n * @param {Db~resultCallback} [callback] The command result callback\n */\nfunction indexInformation(db, name, options, callback) {\n // If we specified full information\n const full = options['full'] == null ? false : options['full'];\n\n // Did the user destroy the topology\n if (db.serverConfig && db.serverConfig.isDestroyed())\n return callback(new MongoError('topology was destroyed'));\n // Process all the results from the index command and collection\n function processResults(indexes) {\n // Contains all the information\n let info = {};\n // Process all the indexes\n for (let i = 0; i < indexes.length; i++) {\n const index = indexes[i];\n // Let's unpack the object\n info[index.name] = [];\n for (let name in index.key) {\n info[index.name].push([name, index.key[name]]);\n }\n }\n\n return info;\n }\n\n // Get the list of indexes of the specified collection\n db.collection(name)\n .listIndexes(options)\n .toArray((err, indexes) => {\n if (err) return callback(toError(err));\n if (!Array.isArray(indexes)) return handleCallback(callback, null, []);\n if (full) return handleCallback(callback, null, indexes);\n handleCallback(callback, null, processResults(indexes));\n });\n}\n\n/**\n * Retrieve the current profiling information for MongoDB\n *\n * @method\n * @param {Db} db The Db instance on which to retrieve the profiling info.\n * @param {Object} [options] Optional settings. See Db.protoype.profilingInfo for a list of options.\n * @param {Db~resultCallback} [callback] The command result callback.\n * @deprecated Query the system.profile collection directly.\n */\nfunction profilingInfo(db, options, callback) {\n try {\n db.collection('system.profile')\n .find({}, options)\n .toArray(callback);\n } catch (err) {\n return callback(err, null);\n }\n}\n\n// Validate the database name\nfunction validateDatabaseName(databaseName) {\n if (typeof databaseName !== 'string')\n throw MongoError.create({ message: 'database name must be a string', driver: true });\n if (databaseName.length === 0)\n throw MongoError.create({ message: 'database name cannot be the empty string', driver: true });\n if (databaseName === '$external') return;\n\n const invalidChars = [' ', '.', '$', '/', '\\\\'];\n for (let i = 0; i < invalidChars.length; i++) {\n if (databaseName.indexOf(invalidChars[i]) !== -1)\n throw MongoError.create({\n message: \"database names cannot contain the character '\" + invalidChars[i] + \"'\",\n driver: true\n });\n }\n}\n\n/**\n * Create the command object for Db.prototype.createIndex.\n *\n * @param {Db} db The Db instance on which to create the command.\n * @param {string} name Name of the collection to create the index on.\n * @param {(string|object)} fieldOrSpec Defines the index.\n * @param {Object} [options] Optional settings. See Db.prototype.createIndex for a list of options.\n * @return {Object} The insert command object.\n */\nfunction createCreateIndexCommand(db, name, fieldOrSpec, options) {\n const indexParameters = parseIndexOptions(fieldOrSpec);\n const fieldHash = indexParameters.fieldHash;\n\n // Generate the index name\n const indexName = typeof options.name === 'string' ? options.name : indexParameters.name;\n const selector = {\n ns: db.s.namespace.withCollection(name).toString(),\n key: fieldHash,\n name: indexName\n };\n\n // Ensure we have a correct finalUnique\n const finalUnique = options == null || 'object' === typeof options ? false : options;\n // Set up options\n options = options == null || typeof options === 'boolean' ? {} : options;\n\n // Add all the options\n const keysToOmit = Object.keys(selector);\n for (let optionName in options) {\n if (keysToOmit.indexOf(optionName) === -1) {\n selector[optionName] = options[optionName];\n }\n }\n\n if (selector['unique'] == null) selector['unique'] = finalUnique;\n\n // Remove any write concern operations\n const removeKeys = ['w', 'wtimeout', 'j', 'fsync', 'readPreference', 'session'];\n for (let i = 0; i < removeKeys.length; i++) {\n delete selector[removeKeys[i]];\n }\n\n // Return the command creation selector\n return selector;\n}\n\n/**\n * Create index using the createIndexes command.\n *\n * @param {Db} db The Db instance on which to execute the command.\n * @param {string} name Name of the collection to create the index on.\n * @param {(string|object)} fieldOrSpec Defines the index.\n * @param {Object} [options] Optional settings. See Db.prototype.createIndex for a list of options.\n * @param {Db~resultCallback} [callback] The command result callback.\n */\nfunction createIndexUsingCreateIndexes(db, name, fieldOrSpec, options, callback) {\n // Build the index\n const indexParameters = parseIndexOptions(fieldOrSpec);\n // Generate the index name\n const indexName = typeof options.name === 'string' ? options.name : indexParameters.name;\n // Set up the index\n const indexes = [{ name: indexName, key: indexParameters.fieldHash }];\n // merge all the options\n const keysToOmit = Object.keys(indexes[0]).concat([\n 'writeConcern',\n 'w',\n 'wtimeout',\n 'j',\n 'fsync',\n 'readPreference',\n 'session'\n ]);\n\n for (let optionName in options) {\n if (keysToOmit.indexOf(optionName) === -1) {\n indexes[0][optionName] = options[optionName];\n }\n }\n\n // Get capabilities\n const capabilities = db.s.topology.capabilities();\n\n // Did the user pass in a collation, check if our write server supports it\n if (indexes[0].collation && capabilities && !capabilities.commandsTakeCollation) {\n // Create a new error\n const error = new MongoError('server/primary/mongos does not support collation');\n error.code = 67;\n // Return the error\n return callback(error);\n }\n\n // Create command, apply write concern to command\n const cmd = applyWriteConcern({ createIndexes: name, indexes }, { db }, options);\n\n // ReadPreference primary\n options.readPreference = ReadPreference.PRIMARY;\n\n // Build the command\n executeCommand(db, cmd, options, (err, result) => {\n if (err) return handleCallback(callback, err, null);\n if (result.ok === 0) return handleCallback(callback, toError(result), null);\n // Return the indexName for backward compatibility\n handleCallback(callback, null, indexName);\n });\n}\n\nmodule.exports = {\n createListener,\n createIndex,\n ensureIndex,\n evaluate,\n executeCommand,\n executeDbAdminCommand,\n indexInformation,\n profilingInfo,\n validateDatabaseName\n};\n"],"names":["require$$0","require$$1","CONSTANTS"],"mappings":";;;;AAEA,MAAM,iBAAiB,GAAGA,KAAmB,CAAC,iBAAiB,CAAC;AAChE,MAAM,IAAI,GAAGC,IAAkB,CAAC,IAAI,CAAC,IAAI,CAAC;AAC1C,MAAM,YAAY,GAAGD,KAAmB,CAAC,YAAY,CAAC;AACtD,MAAM,cAAc,GAAGA,KAAmB,CAAC,cAAc,CAAC;AAC1D,MAAM,UAAU,GAAGC,IAAkB,CAAC,UAAU,CAAC;AACjD,MAAM,iBAAiB,GAAGD,KAAmB,CAAC,iBAAiB,CAAC;AAChE,MAAM,cAAc,GAAGC,IAAkB,CAAC,cAAc,CAAC;AACzD,MAAM,OAAO,GAAGD,KAAmB,CAAC,OAAO,CAAC;AACF;AAC1C,MAAM,gBAAgB,GAAGA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AAC,QAAQ,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;AACxD,IAAI,IAAI,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,OAAO,cAAc,CAAC,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC;AAChF;AACA,IAAI,cAAc,CAAC,QAAQ,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;AAC9C,GAAG,CAAC,CAAC;AACL,CAAC;AACD;UACc,GAAG;AACjB,EAAE,cAAc;AAChB,EAAE,WAAW;AACb,EAAE,WAAW;AACb,EAAE,QAAQ;AACV,EAAE,cAAc;AAChB,EAAE,qBAAqB;AACvB,EAAE,gBAAgB;AAClB,EAAE,aAAa;AACf,EAAE,oBAAoB;AACtB;;;;"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var operation = require('./operation.js');
|
|
4
|
+
var common_functions = require('./common_functions.js');
|
|
5
|
+
|
|
6
|
+
const OperationBase = operation.OperationBase;
|
|
7
|
+
const removeDocuments = common_functions.removeDocuments;
|
|
8
|
+
const Aspect = operation.Aspect;
|
|
9
|
+
const defineAspects = operation.defineAspects;
|
|
10
|
+
|
|
11
|
+
class DeleteManyOperation extends OperationBase {
|
|
12
|
+
constructor(collection, filter, options) {
|
|
13
|
+
super(options);
|
|
14
|
+
|
|
15
|
+
this.collection = collection;
|
|
16
|
+
this.filter = filter;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
execute(callback) {
|
|
20
|
+
const coll = this.collection;
|
|
21
|
+
const filter = this.filter;
|
|
22
|
+
const options = this.options;
|
|
23
|
+
|
|
24
|
+
options.single = false;
|
|
25
|
+
removeDocuments(coll, filter, options, (err, r) => {
|
|
26
|
+
if (callback == null) return;
|
|
27
|
+
if (err && callback) return callback(err);
|
|
28
|
+
if (r == null) return callback(null, { result: { ok: 1 } });
|
|
29
|
+
|
|
30
|
+
// If an explain operation was executed, don't process the server results
|
|
31
|
+
if (this.explain) return callback(undefined, r.result);
|
|
32
|
+
|
|
33
|
+
r.deletedCount = r.result.n;
|
|
34
|
+
callback(null, r);
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
defineAspects(DeleteManyOperation, [Aspect.EXPLAINABLE]);
|
|
40
|
+
|
|
41
|
+
var delete_many = DeleteManyOperation;
|
|
42
|
+
|
|
43
|
+
module.exports = delete_many;
|
|
44
|
+
//# sourceMappingURL=delete_many.js.map
|