@colyseus/core 0.14.26 → 0.14.29
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/README.md +26 -18
- package/build/Logger.js +49 -10
- package/build/Logger.js.map +7 -1
- package/build/Logger.mjs +23 -5
- package/build/Logger.mjs.map +7 -1
- package/build/Server.js +5 -5
- package/build/Server.js.map +1 -1
- package/build/Server.mjs +5 -5
- package/build/Server.mjs.map +1 -1
- package/build/Transport.d.ts +2 -1
- package/build/Transport.js.map +1 -1
- package/build/Transport.mjs.map +1 -1
- package/build/Utils.d.ts +10 -0
- package/build/Utils.js +4 -0
- package/build/Utils.js.map +1 -1
- package/build/Utils.mjs +4 -1
- package/build/Utils.mjs.map +1 -1
- package/build/index.d.ts +1 -1
- package/build/index.js +1 -0
- package/build/index.js.map +1 -1
- package/build/index.mjs +1 -1
- package/build/matchmaker/driver/interfaces.js +15 -0
- package/build/matchmaker/driver/interfaces.js.map +7 -0
- package/build/matchmaker/driver/interfaces.mjs +0 -0
- package/build/matchmaker/driver/interfaces.mjs.map +7 -0
- package/build/presence/Presence.js +15 -0
- package/build/presence/Presence.js.map +7 -0
- package/build/presence/Presence.mjs +0 -0
- package/build/presence/Presence.mjs.map +7 -0
- package/build/serializer/Serializer.js +15 -0
- package/build/serializer/Serializer.js.map +7 -0
- package/build/serializer/Serializer.mjs +0 -0
- package/build/serializer/Serializer.mjs.map +7 -0
- package/build/types.js +15 -0
- package/build/types.js.map +7 -0
- package/build/types.mjs +0 -0
- package/build/types.mjs.map +7 -0
- package/build/utils/DevMode.d.ts +12 -0
- package/build/utils/DevMode.js +108 -0
- package/build/utils/DevMode.js.map +7 -0
- package/build/utils/DevMode.mjs +75 -0
- package/build/utils/DevMode.mjs.map +7 -0
- package/build/utils/Utils.d.ts +49 -0
- package/build/utils/Utils.js +226 -0
- package/build/utils/Utils.js.map +7 -0
- package/build/utils/Utils.mjs +192 -0
- package/build/utils/Utils.mjs.map +7 -0
- package/package.json +2 -2
- package/build/_virtual/AggregationCursor.js_commonjs-proxy +0 -3
- package/build/_virtual/AggregationCursor.js_commonjs-proxy.map +0 -1
- package/build/_virtual/BufferList.js_commonjs-proxy +0 -3
- package/build/_virtual/BufferList.js_commonjs-proxy.map +0 -1
- package/build/_virtual/ChangeStream.js_commonjs-proxy +0 -3
- package/build/_virtual/ChangeStream.js_commonjs-proxy.map +0 -1
- package/build/_virtual/PopulateOptions.js_commonjs-proxy +0 -3
- package/build/_virtual/PopulateOptions.js_commonjs-proxy.map +0 -1
- package/build/_virtual/QueryCursor.js_commonjs-proxy +0 -3
- package/build/_virtual/QueryCursor.js_commonjs-proxy.map +0 -1
- package/build/_virtual/ReadPreference.js_commonjs-proxy +0 -3
- package/build/_virtual/ReadPreference.js_commonjs-proxy.map +0 -1
- package/build/_virtual/SchemaArrayOptions.js_commonjs-proxy +0 -3
- package/build/_virtual/SchemaArrayOptions.js_commonjs-proxy.map +0 -1
- package/build/_virtual/SchemaBufferOptions.js_commonjs-proxy +0 -3
- package/build/_virtual/SchemaBufferOptions.js_commonjs-proxy.map +0 -1
- package/build/_virtual/SchemaDateOptions.js_commonjs-proxy +0 -3
- package/build/_virtual/SchemaDateOptions.js_commonjs-proxy.map +0 -1
- package/build/_virtual/SchemaDocumentArrayOptions.js_commonjs-proxy +0 -3
- package/build/_virtual/SchemaDocumentArrayOptions.js_commonjs-proxy.map +0 -1
- package/build/_virtual/SchemaMapOptions.js_commonjs-proxy +0 -3
- package/build/_virtual/SchemaMapOptions.js_commonjs-proxy.map +0 -1
- package/build/_virtual/SchemaNumberOptions.js_commonjs-proxy +0 -3
- package/build/_virtual/SchemaNumberOptions.js_commonjs-proxy.map +0 -1
- package/build/_virtual/SchemaObjectIdOptions.js_commonjs-proxy +0 -3
- package/build/_virtual/SchemaObjectIdOptions.js_commonjs-proxy.map +0 -1
- package/build/_virtual/SchemaSingleNestedOptions.js_commonjs-proxy +0 -3
- package/build/_virtual/SchemaSingleNestedOptions.js_commonjs-proxy.map +0 -1
- package/build/_virtual/SchemaStringOptions.js_commonjs-proxy +0 -3
- package/build/_virtual/SchemaStringOptions.js_commonjs-proxy.map +0 -1
- package/build/_virtual/SchemaTypeOptions.js_commonjs-proxy +0 -3
- package/build/_virtual/SchemaTypeOptions.js_commonjs-proxy.map +0 -1
- package/build/_virtual/SingleNestedPath.js_commonjs-proxy +0 -3
- package/build/_virtual/SingleNestedPath.js_commonjs-proxy.map +0 -1
- package/build/_virtual/SkipPopulateValue.js_commonjs-proxy +0 -3
- package/build/_virtual/SkipPopulateValue.js_commonjs-proxy.map +0 -1
- package/build/_virtual/VirtualOptions.js_commonjs-proxy +0 -3
- package/build/_virtual/VirtualOptions.js_commonjs-proxy.map +0 -1
- package/build/_virtual/_commonjsHelpers.js +0 -28
- package/build/_virtual/_commonjsHelpers.js.map +0 -1
- package/build/_virtual/_stream_duplex.js_commonjs-proxy +0 -3
- package/build/_virtual/_stream_duplex.js_commonjs-proxy.map +0 -1
- package/build/_virtual/_stream_passthrough.js_commonjs-proxy +0 -3
- package/build/_virtual/_stream_passthrough.js_commonjs-proxy.map +0 -1
- package/build/_virtual/_stream_readable.js_commonjs-proxy +0 -3
- package/build/_virtual/_stream_readable.js_commonjs-proxy.map +0 -1
- package/build/_virtual/_stream_transform.js_commonjs-proxy +0 -3
- package/build/_virtual/_stream_transform.js_commonjs-proxy.map +0 -1
- package/build/_virtual/_stream_writable.js_commonjs-proxy +0 -3
- package/build/_virtual/_stream_writable.js_commonjs-proxy.map +0 -1
- package/build/_virtual/addAutoId.js_commonjs-proxy +0 -3
- package/build/_virtual/addAutoId.js_commonjs-proxy.map +0 -1
- package/build/_virtual/add_user.js_commonjs-proxy +0 -3
- package/build/_virtual/add_user.js_commonjs-proxy.map +0 -1
- package/build/_virtual/admin.js_commonjs-proxy +0 -3
- package/build/_virtual/admin.js_commonjs-proxy.map +0 -1
- package/build/_virtual/aggregate.js_commonjs-proxy +0 -3
- package/build/_virtual/aggregate.js_commonjs-proxy.map +0 -1
- package/build/_virtual/aggregate2.js_commonjs-proxy +0 -3
- package/build/_virtual/aggregate2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/aggregation_cursor.js_commonjs-proxy +0 -3
- package/build/_virtual/aggregation_cursor.js_commonjs-proxy.map +0 -1
- package/build/_virtual/allServersUnknown.js_commonjs-proxy +0 -3
- package/build/_virtual/allServersUnknown.js_commonjs-proxy.map +0 -1
- package/build/_virtual/any.js_commonjs-proxy +0 -3
- package/build/_virtual/any.js_commonjs-proxy.map +0 -1
- package/build/_virtual/apm.js_commonjs-proxy +0 -3
- package/build/_virtual/apm.js_commonjs-proxy.map +0 -1
- package/build/_virtual/apm2.js_commonjs-proxy +0 -3
- package/build/_virtual/apm2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/applyGlobalMaxTimeMS.js_commonjs-proxy +0 -3
- package/build/_virtual/applyGlobalMaxTimeMS.js_commonjs-proxy.map +0 -1
- package/build/_virtual/applyHooks.js_commonjs-proxy +0 -3
- package/build/_virtual/applyHooks.js_commonjs-proxy.map +0 -1
- package/build/_virtual/applyMethods.js_commonjs-proxy +0 -3
- package/build/_virtual/applyMethods.js_commonjs-proxy.map +0 -1
- package/build/_virtual/applyPlugins.js_commonjs-proxy +0 -3
- package/build/_virtual/applyPlugins.js_commonjs-proxy.map +0 -1
- package/build/_virtual/applyQueryMiddleware.js_commonjs-proxy +0 -3
- package/build/_virtual/applyQueryMiddleware.js_commonjs-proxy.map +0 -1
- package/build/_virtual/applyStaticHooks.js_commonjs-proxy +0 -3
- package/build/_virtual/applyStaticHooks.js_commonjs-proxy.map +0 -1
- package/build/_virtual/applyStatics.js_commonjs-proxy +0 -3
- package/build/_virtual/applyStatics.js_commonjs-proxy.map +0 -1
- package/build/_virtual/applyTimestampsToChildren.js_commonjs-proxy +0 -3
- package/build/_virtual/applyTimestampsToChildren.js_commonjs-proxy.map +0 -1
- package/build/_virtual/applyTimestampsToUpdate.js_commonjs-proxy +0 -3
- package/build/_virtual/applyTimestampsToUpdate.js_commonjs-proxy.map +0 -1
- package/build/_virtual/applyWriteConcern.js_commonjs-proxy +0 -3
- package/build/_virtual/applyWriteConcern.js_commonjs-proxy.map +0 -1
- package/build/_virtual/areDiscriminatorValuesEqual.js_commonjs-proxy +0 -3
- package/build/_virtual/areDiscriminatorValuesEqual.js_commonjs-proxy.map +0 -1
- package/build/_virtual/array.js_commonjs-proxy +0 -3
- package/build/_virtual/array.js_commonjs-proxy.map +0 -1
- package/build/_virtual/array2.js_commonjs-proxy +0 -3
- package/build/_virtual/array2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/arrayDepth.js_commonjs-proxy +0 -3
- package/build/_virtual/arrayDepth.js_commonjs-proxy.map +0 -1
- package/build/_virtual/assignRawDocsToIdStructure.js_commonjs-proxy +0 -3
- package/build/_virtual/assignRawDocsToIdStructure.js_commonjs-proxy.map +0 -1
- package/build/_virtual/assignVals.js_commonjs-proxy +0 -3
- package/build/_virtual/assignVals.js_commonjs-proxy.map +0 -1
- package/build/_virtual/async.js_commonjs-proxy +0 -3
- package/build/_virtual/async.js_commonjs-proxy.map +0 -1
- package/build/_virtual/async_iterator.js_commonjs-proxy +0 -3
- package/build/_virtual/async_iterator.js_commonjs-proxy.map +0 -1
- package/build/_virtual/auth_provider.js_commonjs-proxy +0 -3
- package/build/_virtual/auth_provider.js_commonjs-proxy.map +0 -1
- package/build/_virtual/aws4.js_commonjs-proxy +0 -3
- package/build/_virtual/aws4.js_commonjs-proxy.map +0 -1
- package/build/_virtual/binary.js_commonjs-proxy +0 -3
- package/build/_virtual/binary.js_commonjs-proxy.map +0 -1
- package/build/_virtual/binary2.js_commonjs-proxy +0 -3
- package/build/_virtual/binary2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/bind.js_commonjs-proxy +0 -3
- package/build/_virtual/bind.js_commonjs-proxy.map +0 -1
- package/build/_virtual/bitwise.js_commonjs-proxy +0 -3
- package/build/_virtual/bitwise.js_commonjs-proxy.map +0 -1
- package/build/_virtual/bl.js_commonjs-proxy +0 -3
- package/build/_virtual/bl.js_commonjs-proxy.map +0 -1
- package/build/_virtual/bluebird.js_commonjs-proxy +0 -3
- package/build/_virtual/bluebird.js_commonjs-proxy.map +0 -1
- package/build/_virtual/boolean.js_commonjs-proxy +0 -3
- package/build/_virtual/boolean.js_commonjs-proxy.map +0 -1
- package/build/_virtual/boolean2.js_commonjs-proxy +0 -3
- package/build/_virtual/boolean2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/browserDocument.js_commonjs-proxy +0 -3
- package/build/_virtual/browserDocument.js_commonjs-proxy.map +0 -1
- package/build/_virtual/bson.js_commonjs-proxy +0 -3
- package/build/_virtual/bson.js_commonjs-proxy.map +0 -1
- package/build/_virtual/buffer-util.js_commonjs-proxy +0 -3
- package/build/_virtual/buffer-util.js_commonjs-proxy.map +0 -1
- package/build/_virtual/buffer.js_commonjs-proxy +0 -3
- package/build/_virtual/buffer.js_commonjs-proxy.map +0 -1
- package/build/_virtual/buffer2.js_commonjs-proxy +0 -3
- package/build/_virtual/buffer2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/bulk_write.js_commonjs-proxy +0 -3
- package/build/_virtual/bulk_write.js_commonjs-proxy.map +0 -1
- package/build/_virtual/calculate_size.js_commonjs-proxy +0 -3
- package/build/_virtual/calculate_size.js_commonjs-proxy.map +0 -1
- package/build/_virtual/call_get.js_commonjs-proxy +0 -3
- package/build/_virtual/call_get.js_commonjs-proxy.map +0 -1
- package/build/_virtual/cancel.js_commonjs-proxy +0 -3
- package/build/_virtual/cancel.js_commonjs-proxy.map +0 -1
- package/build/_virtual/cast.js_commonjs-proxy +0 -3
- package/build/_virtual/cast.js_commonjs-proxy.map +0 -1
- package/build/_virtual/cast2.js_commonjs-proxy +0 -3
- package/build/_virtual/cast2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/castArrayFilters.js_commonjs-proxy +0 -3
- package/build/_virtual/castArrayFilters.js_commonjs-proxy.map +0 -1
- package/build/_virtual/castBulkWrite.js_commonjs-proxy +0 -3
- package/build/_virtual/castBulkWrite.js_commonjs-proxy.map +0 -1
- package/build/_virtual/castFilterPath.js_commonjs-proxy +0 -3
- package/build/_virtual/castFilterPath.js_commonjs-proxy.map +0 -1
- package/build/_virtual/castUpdate.js_commonjs-proxy +0 -3
- package/build/_virtual/castUpdate.js_commonjs-proxy.map +0 -1
- package/build/_virtual/catch_filter.js_commonjs-proxy +0 -3
- package/build/_virtual/catch_filter.js_commonjs-proxy.map +0 -1
- package/build/_virtual/change_stream.js_commonjs-proxy +0 -3
- package/build/_virtual/change_stream.js_commonjs-proxy.map +0 -1
- package/build/_virtual/checkEmbeddedDiscriminatorKeyProjection.js_commonjs-proxy +0 -3
- package/build/_virtual/checkEmbeddedDiscriminatorKeyProjection.js_commonjs-proxy.map +0 -1
- package/build/_virtual/chunk.js_commonjs-proxy +0 -3
- package/build/_virtual/chunk.js_commonjs-proxy.map +0 -1
- package/build/_virtual/cleanModifiedSubpaths.js_commonjs-proxy +0 -3
- package/build/_virtual/cleanModifiedSubpaths.js_commonjs-proxy.map +0 -1
- package/build/_virtual/cleanPositionalOperators.js_commonjs-proxy +0 -3
- package/build/_virtual/cleanPositionalOperators.js_commonjs-proxy.map +0 -1
- package/build/_virtual/clone.js_commonjs-proxy +0 -3
- package/build/_virtual/clone.js_commonjs-proxy.map +0 -1
- package/build/_virtual/code.js_commonjs-proxy +0 -3
- package/build/_virtual/code.js_commonjs-proxy.map +0 -1
- package/build/_virtual/collection.js_commonjs-proxy +0 -3
- package/build/_virtual/collection.js_commonjs-proxy.map +0 -1
- package/build/_virtual/collection2.js_commonjs-proxy +0 -3
- package/build/_virtual/collection2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/collection3.js_commonjs-proxy +0 -3
- package/build/_virtual/collection3.js_commonjs-proxy.map +0 -1
- package/build/_virtual/collection4.js_commonjs-proxy +0 -3
- package/build/_virtual/collection4.js_commonjs-proxy.map +0 -1
- package/build/_virtual/collection_ops.js_commonjs-proxy +0 -3
- package/build/_virtual/collection_ops.js_commonjs-proxy.map +0 -1
- package/build/_virtual/collections.js_commonjs-proxy +0 -3
- package/build/_virtual/collections.js_commonjs-proxy.map +0 -1
- package/build/_virtual/command.js_commonjs-proxy +0 -3
- package/build/_virtual/command.js_commonjs-proxy.map +0 -1
- package/build/_virtual/command2.js_commonjs-proxy +0 -3
- package/build/_virtual/command2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/command3.js_commonjs-proxy +0 -3
- package/build/_virtual/command3.js_commonjs-proxy.map +0 -1
- package/build/_virtual/command_cursor.js_commonjs-proxy +0 -3
- package/build/_virtual/command_cursor.js_commonjs-proxy.map +0 -1
- package/build/_virtual/command_result.js_commonjs-proxy +0 -3
- package/build/_virtual/command_result.js_commonjs-proxy.map +0 -1
- package/build/_virtual/command_v2.js_commonjs-proxy +0 -3
- package/build/_virtual/command_v2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/commands.js_commonjs-proxy +0 -3
- package/build/_virtual/commands.js_commonjs-proxy.map +0 -1
- package/build/_virtual/commands2.js_commonjs-proxy +0 -3
- package/build/_virtual/commands2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/common.js_commonjs-proxy +0 -3
- package/build/_virtual/common.js_commonjs-proxy.map +0 -1
- package/build/_virtual/common2.js_commonjs-proxy +0 -3
- package/build/_virtual/common2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/common3.js_commonjs-proxy +0 -3
- package/build/_virtual/common3.js_commonjs-proxy.map +0 -1
- package/build/_virtual/common_functions.js_commonjs-proxy +0 -3
- package/build/_virtual/common_functions.js_commonjs-proxy.map +0 -1
- package/build/_virtual/compile.js_commonjs-proxy +0 -3
- package/build/_virtual/compile.js_commonjs-proxy.map +0 -1
- package/build/_virtual/completeMany.js_commonjs-proxy +0 -3
- package/build/_virtual/completeMany.js_commonjs-proxy.map +0 -1
- package/build/_virtual/compression.js_commonjs-proxy +0 -3
- package/build/_virtual/compression.js_commonjs-proxy.map +0 -1
- package/build/_virtual/connect.js_commonjs-proxy +0 -3
- package/build/_virtual/connect.js_commonjs-proxy.map +0 -1
- package/build/_virtual/connect2.js_commonjs-proxy +0 -3
- package/build/_virtual/connect2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/connection.js_commonjs-proxy +0 -3
- package/build/_virtual/connection.js_commonjs-proxy.map +0 -1
- package/build/_virtual/connection2.js_commonjs-proxy +0 -3
- package/build/_virtual/connection2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/connection3.js_commonjs-proxy +0 -3
- package/build/_virtual/connection3.js_commonjs-proxy.map +0 -1
- package/build/_virtual/connection4.js_commonjs-proxy +0 -3
- package/build/_virtual/connection4.js_commonjs-proxy.map +0 -1
- package/build/_virtual/connection_pool.js_commonjs-proxy +0 -3
- package/build/_virtual/connection_pool.js_commonjs-proxy.map +0 -1
- package/build/_virtual/connectionstate.js_commonjs-proxy +0 -3
- package/build/_virtual/connectionstate.js_commonjs-proxy.map +0 -1
- package/build/_virtual/constants.js_commonjs-proxy +0 -3
- package/build/_virtual/constants.js_commonjs-proxy.map +0 -1
- package/build/_virtual/constants2.js_commonjs-proxy +0 -3
- package/build/_virtual/constants2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/constants3.js_commonjs-proxy +0 -3
- package/build/_virtual/constants3.js_commonjs-proxy.map +0 -1
- package/build/_virtual/context.js_commonjs-proxy +0 -3
- package/build/_virtual/context.js_commonjs-proxy.map +0 -1
- package/build/_virtual/core_array.js_commonjs-proxy +0 -3
- package/build/_virtual/core_array.js_commonjs-proxy.map +0 -1
- package/build/_virtual/count.js_commonjs-proxy +0 -3
- package/build/_virtual/count.js_commonjs-proxy.map +0 -1
- package/build/_virtual/count_documents.js_commonjs-proxy +0 -3
- package/build/_virtual/count_documents.js_commonjs-proxy.map +0 -1
- package/build/_virtual/createClient.js_commonjs-proxy +0 -3
- package/build/_virtual/createClient.js_commonjs-proxy.map +0 -1
- package/build/_virtual/createPopulateQueryFilter.js_commonjs-proxy +0 -3
- package/build/_virtual/createPopulateQueryFilter.js_commonjs-proxy.map +0 -1
- package/build/_virtual/create_collection.js_commonjs-proxy +0 -3
- package/build/_virtual/create_collection.js_commonjs-proxy.map +0 -1
- package/build/_virtual/create_indexes.js_commonjs-proxy +0 -3
- package/build/_virtual/create_indexes.js_commonjs-proxy.map +0 -1
- package/build/_virtual/cursor.js_commonjs-proxy +0 -3
- package/build/_virtual/cursor.js_commonjs-proxy.map +0 -1
- package/build/_virtual/cursor2.js_commonjs-proxy +0 -3
- package/build/_virtual/cursor2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/cursor_ops.js_commonjs-proxy +0 -3
- package/build/_virtual/cursor_ops.js_commonjs-proxy.map +0 -1
- package/build/_virtual/customErrors.js_commonjs-proxy +0 -3
- package/build/_virtual/customErrors.js_commonjs-proxy.map +0 -1
- package/build/_virtual/date.js_commonjs-proxy +0 -3
- package/build/_virtual/date.js_commonjs-proxy.map +0 -1
- package/build/_virtual/date2.js_commonjs-proxy +0 -3
- package/build/_virtual/date2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/db.js_commonjs-proxy +0 -3
- package/build/_virtual/db.js_commonjs-proxy.map +0 -1
- package/build/_virtual/db_ops.js_commonjs-proxy +0 -3
- package/build/_virtual/db_ops.js_commonjs-proxy.map +0 -1
- package/build/_virtual/db_ref.js_commonjs-proxy +0 -3
- package/build/_virtual/db_ref.js_commonjs-proxy.map +0 -1
- package/build/_virtual/debug.js_commonjs-proxy +0 -3
- package/build/_virtual/debug.js_commonjs-proxy.map +0 -1
- package/build/_virtual/debuggability.js_commonjs-proxy +0 -3
- package/build/_virtual/debuggability.js_commonjs-proxy.map +0 -1
- package/build/_virtual/decimal128.js_commonjs-proxy +0 -3
- package/build/_virtual/decimal128.js_commonjs-proxy.map +0 -1
- package/build/_virtual/decimal1282.js_commonjs-proxy +0 -3
- package/build/_virtual/decimal1282.js_commonjs-proxy.map +0 -1
- package/build/_virtual/decimal1283.js_commonjs-proxy +0 -3
- package/build/_virtual/decimal1283.js_commonjs-proxy.map +0 -1
- package/build/_virtual/decimal1284.js_commonjs-proxy +0 -3
- package/build/_virtual/decimal1284.js_commonjs-proxy.map +0 -1
- package/build/_virtual/decimal1285.js_commonjs-proxy +0 -3
- package/build/_virtual/decimal1285.js_commonjs-proxy.map +0 -1
- package/build/_virtual/defaultAuthProviders.js_commonjs-proxy +0 -3
- package/build/_virtual/defaultAuthProviders.js_commonjs-proxy.map +0 -1
- package/build/_virtual/delete_many.js_commonjs-proxy +0 -3
- package/build/_virtual/delete_many.js_commonjs-proxy.map +0 -1
- package/build/_virtual/delete_one.js_commonjs-proxy +0 -3
- package/build/_virtual/delete_one.js_commonjs-proxy.map +0 -1
- package/build/_virtual/deque.js_commonjs-proxy +0 -3
- package/build/_virtual/deque.js_commonjs-proxy.map +0 -1
- package/build/_virtual/deserializer.js_commonjs-proxy +0 -3
- package/build/_virtual/deserializer.js_commonjs-proxy.map +0 -1
- package/build/_virtual/destroy.js_commonjs-proxy +0 -3
- package/build/_virtual/destroy.js_commonjs-proxy.map +0 -1
- package/build/_virtual/direct_resolve.js_commonjs-proxy +0 -3
- package/build/_virtual/direct_resolve.js_commonjs-proxy.map +0 -1
- package/build/_virtual/discriminator.js_commonjs-proxy +0 -3
- package/build/_virtual/discriminator.js_commonjs-proxy.map +0 -1
- package/build/_virtual/distinct.js_commonjs-proxy +0 -3
- package/build/_virtual/distinct.js_commonjs-proxy.map +0 -1
- package/build/_virtual/divergentArray.js_commonjs-proxy +0 -3
- package/build/_virtual/divergentArray.js_commonjs-proxy.map +0 -1
- package/build/_virtual/document.js_commonjs-proxy +0 -3
- package/build/_virtual/document.js_commonjs-proxy.map +0 -1
- package/build/_virtual/document_provider.js_commonjs-proxy +0 -3
- package/build/_virtual/document_provider.js_commonjs-proxy.map +0 -1
- package/build/_virtual/documentarray.js_commonjs-proxy +0 -3
- package/build/_virtual/documentarray.js_commonjs-proxy.map +0 -1
- package/build/_virtual/documentarray2.js_commonjs-proxy +0 -3
- package/build/_virtual/documentarray2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/double.js_commonjs-proxy +0 -3
- package/build/_virtual/double.js_commonjs-proxy.map +0 -1
- package/build/_virtual/download.js_commonjs-proxy +0 -3
- package/build/_virtual/download.js_commonjs-proxy.map +0 -1
- package/build/_virtual/driver.js_commonjs-proxy +0 -3
- package/build/_virtual/driver.js_commonjs-proxy.map +0 -1
- package/build/_virtual/drop.js_commonjs-proxy +0 -3
- package/build/_virtual/drop.js_commonjs-proxy.map +0 -1
- package/build/_virtual/drop_index.js_commonjs-proxy +0 -3
- package/build/_virtual/drop_index.js_commonjs-proxy.map +0 -1
- package/build/_virtual/drop_indexes.js_commonjs-proxy +0 -3
- package/build/_virtual/drop_indexes.js_commonjs-proxy.map +0 -1
- package/build/_virtual/dynamic_loaders.js_commonjs-proxy +0 -3
- package/build/_virtual/dynamic_loaders.js_commonjs-proxy.map +0 -1
- package/build/_virtual/each.js_commonjs-proxy +0 -3
- package/build/_virtual/each.js_commonjs-proxy.map +0 -1
- package/build/_virtual/each2.js_commonjs-proxy +0 -3
- package/build/_virtual/each2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/eachAsync.js_commonjs-proxy +0 -3
- package/build/_virtual/eachAsync.js_commonjs-proxy.map +0 -1
- package/build/_virtual/embedded.js_commonjs-proxy +0 -3
- package/build/_virtual/embedded.js_commonjs-proxy.map +0 -1
- package/build/_virtual/encrypter.js_commonjs-proxy +0 -3
- package/build/_virtual/encrypter.js_commonjs-proxy.map +0 -1
- package/build/_virtual/env.js_commonjs-proxy +0 -3
- package/build/_virtual/env.js_commonjs-proxy.map +0 -1
- package/build/_virtual/error.js_commonjs-proxy +0 -3
- package/build/_virtual/error.js_commonjs-proxy.map +0 -1
- package/build/_virtual/error2.js_commonjs-proxy +0 -3
- package/build/_virtual/error2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/errors.js_commonjs-proxy +0 -3
- package/build/_virtual/errors.js_commonjs-proxy.map +0 -1
- package/build/_virtual/errors2.js_commonjs-proxy +0 -3
- package/build/_virtual/errors2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/es5.js_commonjs-proxy +0 -3
- package/build/_virtual/es5.js_commonjs-proxy.map +0 -1
- package/build/_virtual/estimated_document_count.js_commonjs-proxy +0 -3
- package/build/_virtual/estimated_document_count.js_commonjs-proxy.map +0 -1
- package/build/_virtual/event-target.js_commonjs-proxy +0 -3
- package/build/_virtual/event-target.js_commonjs-proxy.map +0 -1
- package/build/_virtual/events.js_commonjs-proxy +0 -3
- package/build/_virtual/events.js_commonjs-proxy.map +0 -1
- package/build/_virtual/events2.js_commonjs-proxy +0 -3
- package/build/_virtual/events2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/execute_db_admin_command.js_commonjs-proxy +0 -3
- package/build/_virtual/execute_db_admin_command.js_commonjs-proxy.map +0 -1
- package/build/_virtual/execute_operation.js_commonjs-proxy +0 -3
- package/build/_virtual/execute_operation.js_commonjs-proxy.map +0 -1
- package/build/_virtual/exists.js_commonjs-proxy +0 -3
- package/build/_virtual/exists.js_commonjs-proxy.map +0 -1
- package/build/_virtual/explain.js_commonjs-proxy +0 -3
- package/build/_virtual/explain.js_commonjs-proxy.map +0 -1
- package/build/_virtual/extension.js_commonjs-proxy +0 -3
- package/build/_virtual/extension.js_commonjs-proxy.map +0 -1
- package/build/_virtual/filter.js_commonjs-proxy +0 -3
- package/build/_virtual/filter.js_commonjs-proxy.map +0 -1
- package/build/_virtual/finally.js_commonjs-proxy +0 -3
- package/build/_virtual/finally.js_commonjs-proxy.map +0 -1
- package/build/_virtual/find.js_commonjs-proxy +0 -3
- package/build/_virtual/find.js_commonjs-proxy.map +0 -1
- package/build/_virtual/find_and_modify.js_commonjs-proxy +0 -3
- package/build/_virtual/find_and_modify.js_commonjs-proxy.map +0 -1
- package/build/_virtual/find_one.js_commonjs-proxy +0 -3
- package/build/_virtual/find_one.js_commonjs-proxy.map +0 -1
- package/build/_virtual/find_one_and_delete.js_commonjs-proxy +0 -3
- package/build/_virtual/find_one_and_delete.js_commonjs-proxy.map +0 -1
- package/build/_virtual/find_one_and_replace.js_commonjs-proxy +0 -3
- package/build/_virtual/find_one_and_replace.js_commonjs-proxy.map +0 -1
- package/build/_virtual/find_one_and_update.js_commonjs-proxy +0 -3
- package/build/_virtual/find_one_and_update.js_commonjs-proxy.map +0 -1
- package/build/_virtual/float_parser.js_commonjs-proxy +0 -3
- package/build/_virtual/float_parser.js_commonjs-proxy.map +0 -1
- package/build/_virtual/generators.js_commonjs-proxy +0 -3
- package/build/_virtual/generators.js_commonjs-proxy.map +0 -1
- package/build/_virtual/geo_haystack_search.js_commonjs-proxy +0 -3
- package/build/_virtual/geo_haystack_search.js_commonjs-proxy.map +0 -1
- package/build/_virtual/geospatial.js_commonjs-proxy +0 -3
- package/build/_virtual/geospatial.js_commonjs-proxy.map +0 -1
- package/build/_virtual/get.js_commonjs-proxy +0 -3
- package/build/_virtual/get.js_commonjs-proxy.map +0 -1
- package/build/_virtual/getConstructor.js_commonjs-proxy +0 -3
- package/build/_virtual/getConstructor.js_commonjs-proxy.map +0 -1
- package/build/_virtual/getDefaultBulkwriteResult.js_commonjs-proxy +0 -3
- package/build/_virtual/getDefaultBulkwriteResult.js_commonjs-proxy.map +0 -1
- package/build/_virtual/getDiscriminatorByValue.js_commonjs-proxy +0 -3
- package/build/_virtual/getDiscriminatorByValue.js_commonjs-proxy.map +0 -1
- package/build/_virtual/getEmbeddedDiscriminatorPath.js_commonjs-proxy +0 -3
- package/build/_virtual/getEmbeddedDiscriminatorPath.js_commonjs-proxy.map +0 -1
- package/build/_virtual/getEmbeddedDiscriminatorPath2.js_commonjs-proxy +0 -3
- package/build/_virtual/getEmbeddedDiscriminatorPath2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/getFunctionName.js_commonjs-proxy +0 -3
- package/build/_virtual/getFunctionName.js_commonjs-proxy.map +0 -1
- package/build/_virtual/getIndexes.js_commonjs-proxy +0 -3
- package/build/_virtual/getIndexes.js_commonjs-proxy.map +0 -1
- package/build/_virtual/getModelsMapForPopulate.js_commonjs-proxy +0 -3
- package/build/_virtual/getModelsMapForPopulate.js_commonjs-proxy.map +0 -1
- package/build/_virtual/getPath.js_commonjs-proxy +0 -3
- package/build/_virtual/getPath.js_commonjs-proxy.map +0 -1
- package/build/_virtual/getSchemaDiscriminatorByValue.js_commonjs-proxy +0 -3
- package/build/_virtual/getSchemaDiscriminatorByValue.js_commonjs-proxy.map +0 -1
- package/build/_virtual/getSchemaTypes.js_commonjs-proxy +0 -3
- package/build/_virtual/getSchemaTypes.js_commonjs-proxy.map +0 -1
- package/build/_virtual/getVirtual.js_commonjs-proxy +0 -3
- package/build/_virtual/getVirtual.js_commonjs-proxy.map +0 -1
- package/build/_virtual/get_more.js_commonjs-proxy +0 -3
- package/build/_virtual/get_more.js_commonjs-proxy.map +0 -1
- package/build/_virtual/grid_store.js_commonjs-proxy +0 -3
- package/build/_virtual/grid_store.js_commonjs-proxy.map +0 -1
- package/build/_virtual/gssapi.js_commonjs-proxy +0 -3
- package/build/_virtual/gssapi.js_commonjs-proxy.map +0 -1
- package/build/_virtual/handleIdOption.js_commonjs-proxy +0 -3
- package/build/_virtual/handleIdOption.js_commonjs-proxy.map +0 -1
- package/build/_virtual/handleImmutable.js_commonjs-proxy +0 -3
- package/build/_virtual/handleImmutable.js_commonjs-proxy.map +0 -1
- package/build/_virtual/handleImmutable2.js_commonjs-proxy +0 -3
- package/build/_virtual/handleImmutable2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/handleSpreadDoc.js_commonjs-proxy +0 -3
- package/build/_virtual/handleSpreadDoc.js_commonjs-proxy.map +0 -1
- package/build/_virtual/handleTimestampOption.js_commonjs-proxy +0 -3
- package/build/_virtual/handleTimestampOption.js_commonjs-proxy.map +0 -1
- package/build/_virtual/hasDollarKeys.js_commonjs-proxy +0 -3
- package/build/_virtual/hasDollarKeys.js_commonjs-proxy.map +0 -1
- package/build/_virtual/helpers.js_commonjs-proxy +0 -3
- package/build/_virtual/helpers.js_commonjs-proxy.map +0 -1
- package/build/_virtual/hiredis.js_commonjs-proxy +0 -3
- package/build/_virtual/hiredis.js_commonjs-proxy.map +0 -1
- package/build/_virtual/idGetter.js_commonjs-proxy +0 -3
- package/build/_virtual/idGetter.js_commonjs-proxy.map +0 -1
- package/build/_virtual/immediate.js_commonjs-proxy +0 -3
- package/build/_virtual/immediate.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index.js_commonjs-proxy +0 -3
- package/build/_virtual/index.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index10.js_commonjs-proxy +0 -3
- package/build/_virtual/index10.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index11.js_commonjs-proxy +0 -3
- package/build/_virtual/index11.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index12.js_commonjs-proxy +0 -3
- package/build/_virtual/index12.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index13.js_commonjs-proxy +0 -3
- package/build/_virtual/index13.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index14.js_commonjs-proxy +0 -3
- package/build/_virtual/index14.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index15.js_commonjs-proxy +0 -3
- package/build/_virtual/index15.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index16.js_commonjs-proxy +0 -3
- package/build/_virtual/index16.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index17.js_commonjs-proxy +0 -3
- package/build/_virtual/index17.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index18.js_commonjs-proxy +0 -3
- package/build/_virtual/index18.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index19.js_commonjs-proxy +0 -3
- package/build/_virtual/index19.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index2.js_commonjs-proxy +0 -3
- package/build/_virtual/index2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index20.js_commonjs-proxy +0 -3
- package/build/_virtual/index20.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index21.js_commonjs-proxy +0 -7
- package/build/_virtual/index21.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index22.js_commonjs-proxy +0 -3
- package/build/_virtual/index22.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index23.js_commonjs-proxy +0 -3
- package/build/_virtual/index23.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index24.js_commonjs-proxy +0 -3
- package/build/_virtual/index24.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index25.js_commonjs-proxy +0 -3
- package/build/_virtual/index25.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index26.js_commonjs-proxy +0 -3
- package/build/_virtual/index26.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index27.js_commonjs-proxy +0 -3
- package/build/_virtual/index27.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index28.js_commonjs-proxy +0 -3
- package/build/_virtual/index28.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index29.js_commonjs-proxy +0 -3
- package/build/_virtual/index29.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index3.js_commonjs-proxy +0 -3
- package/build/_virtual/index3.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index30.js_commonjs-proxy +0 -3
- package/build/_virtual/index30.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index31.js_commonjs-proxy +0 -3
- package/build/_virtual/index31.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index4.js_commonjs-proxy +0 -3
- package/build/_virtual/index4.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index5.js_commonjs-proxy +0 -3
- package/build/_virtual/index5.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index6.js_commonjs-proxy +0 -3
- package/build/_virtual/index6.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index7.js_commonjs-proxy +0 -3
- package/build/_virtual/index7.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index8.js_commonjs-proxy +0 -3
- package/build/_virtual/index8.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index9.js_commonjs-proxy +0 -3
- package/build/_virtual/index9.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index_exists.js_commonjs-proxy +0 -3
- package/build/_virtual/index_exists.js_commonjs-proxy.map +0 -1
- package/build/_virtual/index_information.js_commonjs-proxy +0 -3
- package/build/_virtual/index_information.js_commonjs-proxy.map +0 -1
- package/build/_virtual/indexes.js_commonjs-proxy +0 -3
- package/build/_virtual/indexes.js_commonjs-proxy.map +0 -1
- package/build/_virtual/inherits.js_commonjs-proxy +0 -3
- package/build/_virtual/inherits.js_commonjs-proxy.map +0 -1
- package/build/_virtual/inherits_browser.js_commonjs-proxy +0 -3
- package/build/_virtual/inherits_browser.js_commonjs-proxy.map +0 -1
- package/build/_virtual/insert_many.js_commonjs-proxy +0 -3
- package/build/_virtual/insert_many.js_commonjs-proxy.map +0 -1
- package/build/_virtual/insert_one.js_commonjs-proxy +0 -3
- package/build/_virtual/insert_one.js_commonjs-proxy.map +0 -1
- package/build/_virtual/int_32.js_commonjs-proxy +0 -3
- package/build/_virtual/int_32.js_commonjs-proxy.map +0 -1
- package/build/_virtual/internal.js_commonjs-proxy +0 -3
- package/build/_virtual/internal.js_commonjs-proxy.map +0 -1
- package/build/_virtual/isAtlas.js_commonjs-proxy +0 -3
- package/build/_virtual/isAtlas.js_commonjs-proxy.map +0 -1
- package/build/_virtual/isBsonType.js_commonjs-proxy +0 -3
- package/build/_virtual/isBsonType.js_commonjs-proxy.map +0 -1
- package/build/_virtual/isDefaultIdIndex.js_commonjs-proxy +0 -3
- package/build/_virtual/isDefaultIdIndex.js_commonjs-proxy.map +0 -1
- package/build/_virtual/isDefiningProjection.js_commonjs-proxy +0 -3
- package/build/_virtual/isDefiningProjection.js_commonjs-proxy.map +0 -1
- package/build/_virtual/isExclusive.js_commonjs-proxy +0 -3
- package/build/_virtual/isExclusive.js_commonjs-proxy.map +0 -1
- package/build/_virtual/isInclusive.js_commonjs-proxy +0 -3
- package/build/_virtual/isInclusive.js_commonjs-proxy.map +0 -1
- package/build/_virtual/isIndexEqual.js_commonjs-proxy +0 -3
- package/build/_virtual/isIndexEqual.js_commonjs-proxy.map +0 -1
- package/build/_virtual/isMongooseObject.js_commonjs-proxy +0 -3
- package/build/_virtual/isMongooseObject.js_commonjs-proxy.map +0 -1
- package/build/_virtual/isObject.js_commonjs-proxy +0 -3
- package/build/_virtual/isObject.js_commonjs-proxy.map +0 -1
- package/build/_virtual/isOperator.js_commonjs-proxy +0 -3
- package/build/_virtual/isOperator.js_commonjs-proxy.map +0 -1
- package/build/_virtual/isPathExcluded.js_commonjs-proxy +0 -3
- package/build/_virtual/isPathExcluded.js_commonjs-proxy.map +0 -1
- package/build/_virtual/isPathSelectedInclusive.js_commonjs-proxy +0 -3
- package/build/_virtual/isPathSelectedInclusive.js_commonjs-proxy.map +0 -1
- package/build/_virtual/isPromise.js_commonjs-proxy +0 -3
- package/build/_virtual/isPromise.js_commonjs-proxy.map +0 -1
- package/build/_virtual/isSSLError.js_commonjs-proxy +0 -3
- package/build/_virtual/isSSLError.js_commonjs-proxy.map +0 -1
- package/build/_virtual/is_capped.js_commonjs-proxy +0 -3
- package/build/_virtual/is_capped.js_commonjs-proxy.map +0 -1
- package/build/_virtual/join.js_commonjs-proxy +0 -3
- package/build/_virtual/join.js_commonjs-proxy.map +0 -1
- package/build/_virtual/kill_cursors.js_commonjs-proxy +0 -3
- package/build/_virtual/kill_cursors.js_commonjs-proxy.map +0 -1
- package/build/_virtual/leanPopulateMap.js_commonjs-proxy +0 -3
- package/build/_virtual/leanPopulateMap.js_commonjs-proxy.map +0 -1
- package/build/_virtual/limiter.js_commonjs-proxy +0 -3
- package/build/_virtual/limiter.js_commonjs-proxy.map +0 -1
- package/build/_virtual/list_collections.js_commonjs-proxy +0 -3
- package/build/_virtual/list_collections.js_commonjs-proxy.map +0 -1
- package/build/_virtual/list_databases.js_commonjs-proxy +0 -3
- package/build/_virtual/list_databases.js_commonjs-proxy.map +0 -1
- package/build/_virtual/list_indexes.js_commonjs-proxy +0 -3
- package/build/_virtual/list_indexes.js_commonjs-proxy.map +0 -1
- package/build/_virtual/logger.js_commonjs-proxy +0 -3
- package/build/_virtual/logger.js_commonjs-proxy.map +0 -1
- package/build/_virtual/long.js_commonjs-proxy +0 -3
- package/build/_virtual/long.js_commonjs-proxy.map +0 -1
- package/build/_virtual/lookupLocalFields.js_commonjs-proxy +0 -3
- package/build/_virtual/lookupLocalFields.js_commonjs-proxy.map +0 -1
- package/build/_virtual/lru.js_commonjs-proxy +0 -3
- package/build/_virtual/lru.js_commonjs-proxy.map +0 -1
- package/build/_virtual/map.js_commonjs-proxy +0 -3
- package/build/_virtual/map.js_commonjs-proxy.map +0 -1
- package/build/_virtual/map2.js_commonjs-proxy +0 -3
- package/build/_virtual/map2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/map3.js_commonjs-proxy +0 -3
- package/build/_virtual/map3.js_commonjs-proxy.map +0 -1
- package/build/_virtual/map4.js_commonjs-proxy +0 -3
- package/build/_virtual/map4.js_commonjs-proxy.map +0 -1
- package/build/_virtual/map_reduce.js_commonjs-proxy +0 -3
- package/build/_virtual/map_reduce.js_commonjs-proxy.map +0 -1
- package/build/_virtual/max_key.js_commonjs-proxy +0 -3
- package/build/_virtual/max_key.js_commonjs-proxy.map +0 -1
- package/build/_virtual/memory-code-points.js_commonjs-proxy +0 -3
- package/build/_virtual/memory-code-points.js_commonjs-proxy.map +0 -1
- package/build/_virtual/merge.js_commonjs-proxy +0 -3
- package/build/_virtual/merge.js_commonjs-proxy.map +0 -1
- package/build/_virtual/message_stream.js_commonjs-proxy +0 -3
- package/build/_virtual/message_stream.js_commonjs-proxy.map +0 -1
- package/build/_virtual/messages.js_commonjs-proxy +0 -3
- package/build/_virtual/messages.js_commonjs-proxy.map +0 -1
- package/build/_virtual/method.js_commonjs-proxy +0 -3
- package/build/_virtual/method.js_commonjs-proxy.map +0 -1
- package/build/_virtual/min_key.js_commonjs-proxy +0 -3
- package/build/_virtual/min_key.js_commonjs-proxy.map +0 -1
- package/build/_virtual/missingSchema.js_commonjs-proxy +0 -3
- package/build/_virtual/missingSchema.js_commonjs-proxy.map +0 -1
- package/build/_virtual/mixed.js_commonjs-proxy +0 -3
- package/build/_virtual/mixed.js_commonjs-proxy.map +0 -1
- package/build/_virtual/model.js_commonjs-proxy +0 -3
- package/build/_virtual/model.js_commonjs-proxy.map +0 -1
- package/build/_virtual/modifiedPaths.js_commonjs-proxy +0 -3
- package/build/_virtual/modifiedPaths.js_commonjs-proxy.map +0 -1
- package/build/_virtual/mongo_client.js_commonjs-proxy +0 -3
- package/build/_virtual/mongo_client.js_commonjs-proxy.map +0 -1
- package/build/_virtual/mongo_credentials.js_commonjs-proxy +0 -3
- package/build/_virtual/mongo_credentials.js_commonjs-proxy.map +0 -1
- package/build/_virtual/mongocr.js_commonjs-proxy +0 -3
- package/build/_virtual/mongocr.js_commonjs-proxy.map +0 -1
- package/build/_virtual/mongodb_aws.js_commonjs-proxy +0 -3
- package/build/_virtual/mongodb_aws.js_commonjs-proxy.map +0 -1
- package/build/_virtual/mongooseError.js_commonjs-proxy +0 -3
- package/build/_virtual/mongooseError.js_commonjs-proxy.map +0 -1
- package/build/_virtual/mongos.js_commonjs-proxy +0 -3
- package/build/_virtual/mongos.js_commonjs-proxy.map +0 -1
- package/build/_virtual/mongos2.js_commonjs-proxy +0 -3
- package/build/_virtual/mongos2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/monitor.js_commonjs-proxy +0 -3
- package/build/_virtual/monitor.js_commonjs-proxy.map +0 -1
- package/build/_virtual/moveImmutableProperties.js_commonjs-proxy +0 -3
- package/build/_virtual/moveImmutableProperties.js_commonjs-proxy.map +0 -1
- package/build/_virtual/mquery.js_commonjs-proxy +0 -3
- package/build/_virtual/mquery.js_commonjs-proxy.map +0 -1
- package/build/_virtual/msg.js_commonjs-proxy +0 -3
- package/build/_virtual/msg.js_commonjs-proxy.map +0 -1
- package/build/_virtual/multi.js_commonjs-proxy +0 -3
- package/build/_virtual/multi.js_commonjs-proxy.map +0 -1
- package/build/_virtual/native_topology.js_commonjs-proxy +0 -3
- package/build/_virtual/native_topology.js_commonjs-proxy.map +0 -1
- package/build/_virtual/node.js_commonjs-proxy +0 -3
- package/build/_virtual/node.js_commonjs-proxy.map +0 -1
- package/build/_virtual/node2.js_commonjs-proxy +0 -3
- package/build/_virtual/node2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/nodeback.js_commonjs-proxy +0 -3
- package/build/_virtual/nodeback.js_commonjs-proxy.map +0 -1
- package/build/_virtual/nodeify.js_commonjs-proxy +0 -3
- package/build/_virtual/nodeify.js_commonjs-proxy.map +0 -1
- package/build/_virtual/normalizeRefPath.js_commonjs-proxy +0 -3
- package/build/_virtual/normalizeRefPath.js_commonjs-proxy.map +0 -1
- package/build/_virtual/notFound.js_commonjs-proxy +0 -3
- package/build/_virtual/notFound.js_commonjs-proxy.map +0 -1
- package/build/_virtual/number.js_commonjs-proxy +0 -3
- package/build/_virtual/number.js_commonjs-proxy.map +0 -1
- package/build/_virtual/number2.js_commonjs-proxy +0 -3
- package/build/_virtual/number2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/objectExpected.js_commonjs-proxy +0 -3
- package/build/_virtual/objectExpected.js_commonjs-proxy.map +0 -1
- package/build/_virtual/objectParameter.js_commonjs-proxy +0 -3
- package/build/_virtual/objectParameter.js_commonjs-proxy.map +0 -1
- package/build/_virtual/objectid.js_commonjs-proxy +0 -3
- package/build/_virtual/objectid.js_commonjs-proxy.map +0 -1
- package/build/_virtual/objectid2.js_commonjs-proxy +0 -3
- package/build/_virtual/objectid2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/objectid3.js_commonjs-proxy +0 -3
- package/build/_virtual/objectid3.js_commonjs-proxy.map +0 -1
- package/build/_virtual/objectid4.js_commonjs-proxy +0 -3
- package/build/_virtual/objectid4.js_commonjs-proxy.map +0 -1
- package/build/_virtual/objectid5.js_commonjs-proxy +0 -3
- package/build/_virtual/objectid5.js_commonjs-proxy.map +0 -1
- package/build/_virtual/operation.js_commonjs-proxy +0 -3
- package/build/_virtual/operation.js_commonjs-proxy.map +0 -1
- package/build/_virtual/options.js_commonjs-proxy +0 -3
- package/build/_virtual/options.js_commonjs-proxy.map +0 -1
- package/build/_virtual/options_operation.js_commonjs-proxy +0 -3
- package/build/_virtual/options_operation.js_commonjs-proxy.map +0 -1
- package/build/_virtual/ordered.js_commonjs-proxy +0 -3
- package/build/_virtual/ordered.js_commonjs-proxy.map +0 -1
- package/build/_virtual/overwriteModel.js_commonjs-proxy +0 -3
- package/build/_virtual/overwriteModel.js_commonjs-proxy.map +0 -1
- package/build/_virtual/parallelLimit.js_commonjs-proxy +0 -3
- package/build/_virtual/parallelLimit.js_commonjs-proxy.map +0 -1
- package/build/_virtual/parallelSave.js_commonjs-proxy +0 -3
- package/build/_virtual/parallelSave.js_commonjs-proxy.map +0 -1
- package/build/_virtual/parallelValidate.js_commonjs-proxy +0 -3
- package/build/_virtual/parallelValidate.js_commonjs-proxy.map +0 -1
- package/build/_virtual/parentPaths.js_commonjs-proxy +0 -3
- package/build/_virtual/parentPaths.js_commonjs-proxy.map +0 -1
- package/build/_virtual/parseProjection.js_commonjs-proxy +0 -3
- package/build/_virtual/parseProjection.js_commonjs-proxy.map +0 -1
- package/build/_virtual/parser.js_commonjs-proxy +0 -3
- package/build/_virtual/parser.js_commonjs-proxy.map +0 -1
- package/build/_virtual/parserError.js_commonjs-proxy +0 -3
- package/build/_virtual/parserError.js_commonjs-proxy.map +0 -1
- package/build/_virtual/permessage-deflate.js_commonjs-proxy +0 -3
- package/build/_virtual/permessage-deflate.js_commonjs-proxy.map +0 -1
- package/build/_virtual/permissions.js_commonjs-proxy +0 -3
- package/build/_virtual/permissions.js_commonjs-proxy.map +0 -1
- package/build/_virtual/plain.js_commonjs-proxy +0 -3
- package/build/_virtual/plain.js_commonjs-proxy.map +0 -1
- package/build/_virtual/pool.js_commonjs-proxy +0 -3
- package/build/_virtual/pool.js_commonjs-proxy.map +0 -1
- package/build/_virtual/profiling_level.js_commonjs-proxy +0 -3
- package/build/_virtual/profiling_level.js_commonjs-proxy.map +0 -1
- package/build/_virtual/promise.js_commonjs-proxy +0 -3
- package/build/_virtual/promise.js_commonjs-proxy.map +0 -1
- package/build/_virtual/promiseOrCallback.js_commonjs-proxy +0 -3
- package/build/_virtual/promiseOrCallback.js_commonjs-proxy.map +0 -1
- package/build/_virtual/promise_array.js_commonjs-proxy +0 -3
- package/build/_virtual/promise_array.js_commonjs-proxy.map +0 -1
- package/build/_virtual/promise_provider.js_commonjs-proxy +0 -3
- package/build/_virtual/promise_provider.js_commonjs-proxy.map +0 -1
- package/build/_virtual/promisify.js_commonjs-proxy +0 -3
- package/build/_virtual/promisify.js_commonjs-proxy.map +0 -1
- package/build/_virtual/propertyOptions.js_commonjs-proxy +0 -3
- package/build/_virtual/propertyOptions.js_commonjs-proxy.map +0 -1
- package/build/_virtual/props.js_commonjs-proxy +0 -3
- package/build/_virtual/props.js_commonjs-proxy.map +0 -1
- package/build/_virtual/query.js_commonjs-proxy +0 -3
- package/build/_virtual/query.js_commonjs-proxy.map +0 -1
- package/build/_virtual/query2.js_commonjs-proxy +0 -3
- package/build/_virtual/query2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/queryhelpers.js_commonjs-proxy +0 -3
- package/build/_virtual/queryhelpers.js_commonjs-proxy.map +0 -1
- package/build/_virtual/queue.js_commonjs-proxy +0 -3
- package/build/_virtual/queue.js_commonjs-proxy.map +0 -1
- package/build/_virtual/race.js_commonjs-proxy +0 -3
- package/build/_virtual/race.js_commonjs-proxy.map +0 -1
- package/build/_virtual/re_index.js_commonjs-proxy +0 -3
- package/build/_virtual/re_index.js_commonjs-proxy.map +0 -1
- package/build/_virtual/read_concern.js_commonjs-proxy +0 -3
- package/build/_virtual/read_concern.js_commonjs-proxy.map +0 -1
- package/build/_virtual/read_preference.js_commonjs-proxy +0 -3
- package/build/_virtual/read_preference.js_commonjs-proxy.map +0 -1
- package/build/_virtual/readable.js_commonjs-proxy +0 -3
- package/build/_virtual/readable.js_commonjs-proxy.map +0 -1
- package/build/_virtual/receiver.js_commonjs-proxy +0 -3
- package/build/_virtual/receiver.js_commonjs-proxy.map +0 -1
- package/build/_virtual/redisError.js_commonjs-proxy +0 -3
- package/build/_virtual/redisError.js_commonjs-proxy.map +0 -1
- package/build/_virtual/reduce.js_commonjs-proxy +0 -3
- package/build/_virtual/reduce.js_commonjs-proxy.map +0 -1
- package/build/_virtual/regexp.js_commonjs-proxy +0 -3
- package/build/_virtual/regexp.js_commonjs-proxy.map +0 -1
- package/build/_virtual/removeDeselectedForeignField.js_commonjs-proxy +0 -3
- package/build/_virtual/removeDeselectedForeignField.js_commonjs-proxy.map +0 -1
- package/build/_virtual/removeOptions.js_commonjs-proxy +0 -3
- package/build/_virtual/removeOptions.js_commonjs-proxy.map +0 -1
- package/build/_virtual/removeSubdocs.js_commonjs-proxy +0 -3
- package/build/_virtual/removeSubdocs.js_commonjs-proxy.map +0 -1
- package/build/_virtual/removeUnusedArrayFilters.js_commonjs-proxy +0 -3
- package/build/_virtual/removeUnusedArrayFilters.js_commonjs-proxy.map +0 -1
- package/build/_virtual/remove_user.js_commonjs-proxy +0 -3
- package/build/_virtual/remove_user.js_commonjs-proxy.map +0 -1
- package/build/_virtual/rename.js_commonjs-proxy +0 -3
- package/build/_virtual/rename.js_commonjs-proxy.map +0 -1
- package/build/_virtual/replace_one.js_commonjs-proxy +0 -3
- package/build/_virtual/replace_one.js_commonjs-proxy.map +0 -1
- package/build/_virtual/replset.js_commonjs-proxy +0 -3
- package/build/_virtual/replset.js_commonjs-proxy.map +0 -1
- package/build/_virtual/replset2.js_commonjs-proxy +0 -3
- package/build/_virtual/replset2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/replset_state.js_commonjs-proxy +0 -3
- package/build/_virtual/replset_state.js_commonjs-proxy.map +0 -1
- package/build/_virtual/replyError.js_commonjs-proxy +0 -3
- package/build/_virtual/replyError.js_commonjs-proxy.map +0 -1
- package/build/_virtual/run_command.js_commonjs-proxy +0 -3
- package/build/_virtual/run_command.js_commonjs-proxy.map +0 -1
- package/build/_virtual/sanitizeProjection.js_commonjs-proxy +0 -3
- package/build/_virtual/sanitizeProjection.js_commonjs-proxy.map +0 -1
- package/build/_virtual/saveOptions.js_commonjs-proxy +0 -3
- package/build/_virtual/saveOptions.js_commonjs-proxy.map +0 -1
- package/build/_virtual/saveSubdocs.js_commonjs-proxy +0 -3
- package/build/_virtual/saveSubdocs.js_commonjs-proxy.map +0 -1
- package/build/_virtual/schedule.js_commonjs-proxy +0 -3
- package/build/_virtual/schedule.js_commonjs-proxy.map +0 -1
- package/build/_virtual/schema.js_commonjs-proxy +0 -3
- package/build/_virtual/schema.js_commonjs-proxy.map +0 -1
- package/build/_virtual/schematype.js_commonjs-proxy +0 -3
- package/build/_virtual/schematype.js_commonjs-proxy.map +0 -1
- package/build/_virtual/scram.js_commonjs-proxy +0 -3
- package/build/_virtual/scram.js_commonjs-proxy.map +0 -1
- package/build/_virtual/selectPopulatedFields.js_commonjs-proxy +0 -3
- package/build/_virtual/selectPopulatedFields.js_commonjs-proxy.map +0 -1
- package/build/_virtual/sender.js_commonjs-proxy +0 -3
- package/build/_virtual/sender.js_commonjs-proxy.map +0 -1
- package/build/_virtual/serializer.js_commonjs-proxy +0 -3
- package/build/_virtual/serializer.js_commonjs-proxy.map +0 -1
- package/build/_virtual/server.js_commonjs-proxy +0 -3
- package/build/_virtual/server.js_commonjs-proxy.map +0 -1
- package/build/_virtual/server2.js_commonjs-proxy +0 -3
- package/build/_virtual/server2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/server3.js_commonjs-proxy +0 -3
- package/build/_virtual/server3.js_commonjs-proxy.map +0 -1
- package/build/_virtual/serverSelection.js_commonjs-proxy +0 -3
- package/build/_virtual/serverSelection.js_commonjs-proxy.map +0 -1
- package/build/_virtual/server_description.js_commonjs-proxy +0 -3
- package/build/_virtual/server_description.js_commonjs-proxy.map +0 -1
- package/build/_virtual/server_selection.js_commonjs-proxy +0 -3
- package/build/_virtual/server_selection.js_commonjs-proxy.map +0 -1
- package/build/_virtual/sessions.js_commonjs-proxy +0 -3
- package/build/_virtual/sessions.js_commonjs-proxy.map +0 -1
- package/build/_virtual/setDefaultsOnInsert.js_commonjs-proxy +0 -3
- package/build/_virtual/setDefaultsOnInsert.js_commonjs-proxy.map +0 -1
- package/build/_virtual/setDottedPath.js_commonjs-proxy +0 -3
- package/build/_virtual/setDottedPath.js_commonjs-proxy.map +0 -1
- package/build/_virtual/set_profiling_level.js_commonjs-proxy +0 -3
- package/build/_virtual/set_profiling_level.js_commonjs-proxy.map +0 -1
- package/build/_virtual/settle.js_commonjs-proxy +0 -3
- package/build/_virtual/settle.js_commonjs-proxy.map +0 -1
- package/build/_virtual/setupTimestamps.js_commonjs-proxy +0 -3
- package/build/_virtual/setupTimestamps.js_commonjs-proxy.map +0 -1
- package/build/_virtual/sharding.js_commonjs-proxy +0 -3
- package/build/_virtual/sharding.js_commonjs-proxy.map +0 -1
- package/build/_virtual/shared.js_commonjs-proxy +0 -3
- package/build/_virtual/shared.js_commonjs-proxy.map +0 -1
- package/build/_virtual/shared2.js_commonjs-proxy +0 -3
- package/build/_virtual/shared2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/some.js_commonjs-proxy +0 -3
- package/build/_virtual/some.js_commonjs-proxy.map +0 -1
- package/build/_virtual/specialProperties.js_commonjs-proxy +0 -3
- package/build/_virtual/specialProperties.js_commonjs-proxy.map +0 -1
- package/build/_virtual/srv_polling.js_commonjs-proxy +0 -3
- package/build/_virtual/srv_polling.js_commonjs-proxy.map +0 -1
- package/build/_virtual/statemachine.js_commonjs-proxy +0 -3
- package/build/_virtual/statemachine.js_commonjs-proxy.map +0 -1
- package/build/_virtual/stats.js_commonjs-proxy +0 -3
- package/build/_virtual/stats.js_commonjs-proxy.map +0 -1
- package/build/_virtual/stream.js_commonjs-proxy +0 -3
- package/build/_virtual/stream.js_commonjs-proxy.map +0 -1
- package/build/_virtual/stream2.js_commonjs-proxy +0 -3
- package/build/_virtual/stream2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/stream_description.js_commonjs-proxy +0 -3
- package/build/_virtual/stream_description.js_commonjs-proxy.map +0 -1
- package/build/_virtual/strict.js_commonjs-proxy +0 -3
- package/build/_virtual/strict.js_commonjs-proxy.map +0 -1
- package/build/_virtual/string.js_commonjs-proxy +0 -3
- package/build/_virtual/string.js_commonjs-proxy.map +0 -1
- package/build/_virtual/string2.js_commonjs-proxy +0 -3
- package/build/_virtual/string2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/stringToParts.js_commonjs-proxy +0 -3
- package/build/_virtual/stringToParts.js_commonjs-proxy.map +0 -1
- package/build/_virtual/string_decoder.js_commonjs-proxy +0 -3
- package/build/_virtual/string_decoder.js_commonjs-proxy.map +0 -1
- package/build/_virtual/stringifyFunctionOperators.js_commonjs-proxy +0 -3
- package/build/_virtual/stringifyFunctionOperators.js_commonjs-proxy.map +0 -1
- package/build/_virtual/subdocument.js_commonjs-proxy +0 -3
- package/build/_virtual/subdocument.js_commonjs-proxy.map +0 -1
- package/build/_virtual/symbol.js_commonjs-proxy +0 -3
- package/build/_virtual/symbol.js_commonjs-proxy.map +0 -1
- package/build/_virtual/symbols.js_commonjs-proxy +0 -3
- package/build/_virtual/symbols.js_commonjs-proxy.map +0 -1
- package/build/_virtual/symbols2.js_commonjs-proxy +0 -3
- package/build/_virtual/symbols2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/synchronous_inspection.js_commonjs-proxy +0 -3
- package/build/_virtual/synchronous_inspection.js_commonjs-proxy.map +0 -1
- package/build/_virtual/text.js_commonjs-proxy +0 -3
- package/build/_virtual/text.js_commonjs-proxy.map +0 -1
- package/build/_virtual/thenables.js_commonjs-proxy +0 -3
- package/build/_virtual/thenables.js_commonjs-proxy.map +0 -1
- package/build/_virtual/timers.js_commonjs-proxy +0 -3
- package/build/_virtual/timers.js_commonjs-proxy.map +0 -1
- package/build/_virtual/timers2.js_commonjs-proxy +0 -3
- package/build/_virtual/timers2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/timestamp.js_commonjs-proxy +0 -3
- package/build/_virtual/timestamp.js_commonjs-proxy.map +0 -1
- package/build/_virtual/topology.js_commonjs-proxy +0 -3
- package/build/_virtual/topology.js_commonjs-proxy.map +0 -1
- package/build/_virtual/topology_base.js_commonjs-proxy +0 -3
- package/build/_virtual/topology_base.js_commonjs-proxy.map +0 -1
- package/build/_virtual/topology_description.js_commonjs-proxy +0 -3
- package/build/_virtual/topology_description.js_commonjs-proxy.map +0 -1
- package/build/_virtual/trackTransaction.js_commonjs-proxy +0 -3
- package/build/_virtual/trackTransaction.js_commonjs-proxy.map +0 -1
- package/build/_virtual/transactions.js_commonjs-proxy +0 -3
- package/build/_virtual/transactions.js_commonjs-proxy.map +0 -1
- package/build/_virtual/type.js_commonjs-proxy +0 -3
- package/build/_virtual/type.js_commonjs-proxy.map +0 -1
- package/build/_virtual/unordered.js_commonjs-proxy +0 -3
- package/build/_virtual/unordered.js_commonjs-proxy.map +0 -1
- package/build/_virtual/updateValidators.js_commonjs-proxy +0 -3
- package/build/_virtual/updateValidators.js_commonjs-proxy.map +0 -1
- package/build/_virtual/update_many.js_commonjs-proxy +0 -3
- package/build/_virtual/update_many.js_commonjs-proxy.map +0 -1
- package/build/_virtual/update_one.js_commonjs-proxy +0 -3
- package/build/_virtual/update_one.js_commonjs-proxy.map +0 -1
- package/build/_virtual/updatedPathsByArrayFilter.js_commonjs-proxy +0 -3
- package/build/_virtual/updatedPathsByArrayFilter.js_commonjs-proxy.map +0 -1
- package/build/_virtual/upload.js_commonjs-proxy +0 -3
- package/build/_virtual/upload.js_commonjs-proxy.map +0 -1
- package/build/_virtual/uri_parser.js_commonjs-proxy +0 -3
- package/build/_virtual/uri_parser.js_commonjs-proxy.map +0 -1
- package/build/_virtual/url_parser.js_commonjs-proxy +0 -3
- package/build/_virtual/url_parser.js_commonjs-proxy.map +0 -1
- package/build/_virtual/using.js_commonjs-proxy +0 -3
- package/build/_virtual/using.js_commonjs-proxy.map +0 -1
- package/build/_virtual/util.js_commonjs-proxy +0 -3
- package/build/_virtual/util.js_commonjs-proxy.map +0 -1
- package/build/_virtual/util2.js_commonjs-proxy +0 -3
- package/build/_virtual/util2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/utils.js_commonjs-proxy +0 -3
- package/build/_virtual/utils.js_commonjs-proxy.map +0 -1
- package/build/_virtual/utils2.js_commonjs-proxy +0 -3
- package/build/_virtual/utils2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/utils3.js_commonjs-proxy +0 -3
- package/build/_virtual/utils3.js_commonjs-proxy.map +0 -1
- package/build/_virtual/utils4.js_commonjs-proxy +0 -3
- package/build/_virtual/utils4.js_commonjs-proxy.map +0 -1
- package/build/_virtual/utils5.js_commonjs-proxy +0 -3
- package/build/_virtual/utils5.js_commonjs-proxy.map +0 -1
- package/build/_virtual/utils6.js_commonjs-proxy +0 -3
- package/build/_virtual/utils6.js_commonjs-proxy.map +0 -1
- package/build/_virtual/utils7.js_commonjs-proxy +0 -3
- package/build/_virtual/utils7.js_commonjs-proxy.map +0 -1
- package/build/_virtual/validateBeforeSave.js_commonjs-proxy +0 -3
- package/build/_virtual/validateBeforeSave.js_commonjs-proxy.map +0 -1
- package/build/_virtual/validateRef.js_commonjs-proxy +0 -3
- package/build/_virtual/validateRef.js_commonjs-proxy.map +0 -1
- package/build/_virtual/validate_collection.js_commonjs-proxy +0 -3
- package/build/_virtual/validate_collection.js_commonjs-proxy.map +0 -1
- package/build/_virtual/validation.js_commonjs-proxy +0 -3
- package/build/_virtual/validation.js_commonjs-proxy.map +0 -1
- package/build/_virtual/validation2.js_commonjs-proxy +0 -3
- package/build/_virtual/validation2.js_commonjs-proxy.map +0 -1
- package/build/_virtual/validator.js_commonjs-proxy +0 -3
- package/build/_virtual/validator.js_commonjs-proxy.map +0 -1
- package/build/_virtual/validoptions.js_commonjs-proxy +0 -3
- package/build/_virtual/validoptions.js_commonjs-proxy.map +0 -1
- package/build/_virtual/version.js_commonjs-proxy +0 -3
- package/build/_virtual/version.js_commonjs-proxy.map +0 -1
- package/build/_virtual/virtualtype.js_commonjs-proxy +0 -3
- package/build/_virtual/virtualtype.js_commonjs-proxy.map +0 -1
- package/build/_virtual/websocket-server.js_commonjs-proxy +0 -3
- package/build/_virtual/websocket-server.js_commonjs-proxy.map +0 -1
- package/build/_virtual/websocket.js_commonjs-proxy +0 -3
- package/build/_virtual/websocket.js_commonjs-proxy.map +0 -1
- package/build/_virtual/wrapThunk.js_commonjs-proxy +0 -3
- package/build/_virtual/wrapThunk.js_commonjs-proxy.map +0 -1
- package/build/_virtual/write_command.js_commonjs-proxy +0 -3
- package/build/_virtual/write_command.js_commonjs-proxy.map +0 -1
- package/build/_virtual/write_concern.js_commonjs-proxy +0 -3
- package/build/_virtual/write_concern.js_commonjs-proxy.map +0 -1
- package/build/_virtual/x509.js_commonjs-proxy +0 -3
- package/build/_virtual/x509.js_commonjs-proxy.map +0 -1
- package/build/bundles/colyseus/build/index.mjs +0 -13
- package/build/bundles/colyseus/build/index.mjs.js +0 -25
- package/build/bundles/colyseus/build/index.mjs.js.map +0 -1
- package/build/bundles/colyseus/build/index.mjs.map +0 -1
- package/build/node_modules/aws4/aws4.js +0 -388
- package/build/node_modules/aws4/aws4.js.map +0 -1
- package/build/node_modules/aws4/aws4.mjs +0 -380
- package/build/node_modules/aws4/aws4.mjs.map +0 -1
- package/build/node_modules/aws4/lru.js +0 -101
- package/build/node_modules/aws4/lru.js.map +0 -1
- package/build/node_modules/aws4/lru.mjs +0 -99
- package/build/node_modules/aws4/lru.mjs.map +0 -1
- package/build/node_modules/bl/bl.js +0 -403
- package/build/node_modules/bl/bl.js.map +0 -1
- package/build/node_modules/bl/bl.mjs +0 -397
- package/build/node_modules/bl/bl.mjs.map +0 -1
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js +0 -114
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js.map +0 -1
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.mjs +0 -112
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.mjs.map +0 -1
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js +0 -29
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js.map +0 -1
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.mjs +0 -27
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.mjs.map +0 -1
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js +0 -1020
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js.map +0 -1
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.mjs +0 -1013
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.mjs.map +0 -1
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js +0 -158
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js.map +0 -1
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.mjs +0 -156
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.mjs.map +0 -1
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js +0 -667
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js.map +0 -1
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.mjs +0 -665
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.mjs.map +0 -1
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -93
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/BufferList.js.map +0 -1
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/BufferList.mjs +0 -87
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/BufferList.mjs.map +0 -1
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -79
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.js.map +0 -1
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.mjs +0 -77
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.mjs.map +0 -1
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream.js +0 -12
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream.js.map +0 -1
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream.mjs +0 -6
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream.mjs.map +0 -1
- package/build/node_modules/bl/node_modules/readable-stream/readable.js +0 -37
- package/build/node_modules/bl/node_modules/readable-stream/readable.js.map +0 -1
- package/build/node_modules/bl/node_modules/readable-stream/readable.mjs +0 -31
- package/build/node_modules/bl/node_modules/readable-stream/readable.mjs.map +0 -1
- package/build/node_modules/bl/node_modules/string_decoder/lib/string_decoder.js +0 -286
- package/build/node_modules/bl/node_modules/string_decoder/lib/string_decoder.js.map +0 -1
- package/build/node_modules/bl/node_modules/string_decoder/lib/string_decoder.mjs +0 -282
- package/build/node_modules/bl/node_modules/string_decoder/lib/string_decoder.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/any.js +0 -25
- package/build/node_modules/bluebird/js/release/any.js.map +0 -1
- package/build/node_modules/bluebird/js/release/any.mjs +0 -23
- package/build/node_modules/bluebird/js/release/any.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/async.js +0 -173
- package/build/node_modules/bluebird/js/release/async.js.map +0 -1
- package/build/node_modules/bluebird/js/release/async.mjs +0 -169
- package/build/node_modules/bluebird/js/release/async.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/bind.js +0 -71
- package/build/node_modules/bluebird/js/release/bind.js.map +0 -1
- package/build/node_modules/bluebird/js/release/bind.mjs +0 -69
- package/build/node_modules/bluebird/js/release/bind.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/bluebird.js +0 -17
- package/build/node_modules/bluebird/js/release/bluebird.js.map +0 -1
- package/build/node_modules/bluebird/js/release/bluebird.mjs +0 -15
- package/build/node_modules/bluebird/js/release/bluebird.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/call_get.js +0 -128
- package/build/node_modules/bluebird/js/release/call_get.js.map +0 -1
- package/build/node_modules/bluebird/js/release/call_get.mjs +0 -126
- package/build/node_modules/bluebird/js/release/call_get.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/cancel.js +0 -135
- package/build/node_modules/bluebird/js/release/cancel.js.map +0 -1
- package/build/node_modules/bluebird/js/release/cancel.mjs +0 -133
- package/build/node_modules/bluebird/js/release/cancel.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/catch_filter.js +0 -49
- package/build/node_modules/bluebird/js/release/catch_filter.js.map +0 -1
- package/build/node_modules/bluebird/js/release/catch_filter.mjs +0 -47
- package/build/node_modules/bluebird/js/release/catch_filter.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/context.js +0 -73
- package/build/node_modules/bluebird/js/release/context.js.map +0 -1
- package/build/node_modules/bluebird/js/release/context.mjs +0 -71
- package/build/node_modules/bluebird/js/release/context.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/debuggability.js +0 -922
- package/build/node_modules/bluebird/js/release/debuggability.js.map +0 -1
- package/build/node_modules/bluebird/js/release/debuggability.mjs +0 -920
- package/build/node_modules/bluebird/js/release/debuggability.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/direct_resolve.js +0 -50
- package/build/node_modules/bluebird/js/release/direct_resolve.js.map +0 -1
- package/build/node_modules/bluebird/js/release/direct_resolve.mjs +0 -48
- package/build/node_modules/bluebird/js/release/direct_resolve.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/each.js +0 -33
- package/build/node_modules/bluebird/js/release/each.js.map +0 -1
- package/build/node_modules/bluebird/js/release/each.mjs +0 -31
- package/build/node_modules/bluebird/js/release/each.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/errors.js +0 -122
- package/build/node_modules/bluebird/js/release/errors.js.map +0 -1
- package/build/node_modules/bluebird/js/release/errors.mjs +0 -120
- package/build/node_modules/bluebird/js/release/errors.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/es5.js +0 -88
- package/build/node_modules/bluebird/js/release/es5.js.map +0 -1
- package/build/node_modules/bluebird/js/release/es5.mjs +0 -86
- package/build/node_modules/bluebird/js/release/es5.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/filter.js +0 -16
- package/build/node_modules/bluebird/js/release/filter.js.map +0 -1
- package/build/node_modules/bluebird/js/release/filter.mjs +0 -14
- package/build/node_modules/bluebird/js/release/filter.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/finally.js +0 -153
- package/build/node_modules/bluebird/js/release/finally.js.map +0 -1
- package/build/node_modules/bluebird/js/release/finally.mjs +0 -151
- package/build/node_modules/bluebird/js/release/finally.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/generators.js +0 -229
- package/build/node_modules/bluebird/js/release/generators.js.map +0 -1
- package/build/node_modules/bluebird/js/release/generators.mjs +0 -227
- package/build/node_modules/bluebird/js/release/generators.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/join.js +0 -172
- package/build/node_modules/bluebird/js/release/join.js.map +0 -1
- package/build/node_modules/bluebird/js/release/join.mjs +0 -170
- package/build/node_modules/bluebird/js/release/join.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/map.js +0 -173
- package/build/node_modules/bluebird/js/release/map.js.map +0 -1
- package/build/node_modules/bluebird/js/release/map.mjs +0 -171
- package/build/node_modules/bluebird/js/release/map.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/method.js +0 -61
- package/build/node_modules/bluebird/js/release/method.js.map +0 -1
- package/build/node_modules/bluebird/js/release/method.mjs +0 -59
- package/build/node_modules/bluebird/js/release/method.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/nodeback.js +0 -57
- package/build/node_modules/bluebird/js/release/nodeback.js.map +0 -1
- package/build/node_modules/bluebird/js/release/nodeback.mjs +0 -55
- package/build/node_modules/bluebird/js/release/nodeback.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/nodeify.js +0 -64
- package/build/node_modules/bluebird/js/release/nodeify.js.map +0 -1
- package/build/node_modules/bluebird/js/release/nodeify.mjs +0 -62
- package/build/node_modules/bluebird/js/release/nodeify.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/promise.js +0 -815
- package/build/node_modules/bluebird/js/release/promise.js.map +0 -1
- package/build/node_modules/bluebird/js/release/promise.mjs +0 -813
- package/build/node_modules/bluebird/js/release/promise.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/promise_array.js +0 -190
- package/build/node_modules/bluebird/js/release/promise_array.js.map +0 -1
- package/build/node_modules/bluebird/js/release/promise_array.mjs +0 -188
- package/build/node_modules/bluebird/js/release/promise_array.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/promisify.js +0 -321
- package/build/node_modules/bluebird/js/release/promisify.js.map +0 -1
- package/build/node_modules/bluebird/js/release/promisify.mjs +0 -319
- package/build/node_modules/bluebird/js/release/promisify.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/props.js +0 -125
- package/build/node_modules/bluebird/js/release/props.js.map +0 -1
- package/build/node_modules/bluebird/js/release/props.mjs +0 -123
- package/build/node_modules/bluebird/js/release/props.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/queue.js +0 -77
- package/build/node_modules/bluebird/js/release/queue.js.map +0 -1
- package/build/node_modules/bluebird/js/release/queue.mjs +0 -75
- package/build/node_modules/bluebird/js/release/queue.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/race.js +0 -55
- package/build/node_modules/bluebird/js/release/race.js.map +0 -1
- package/build/node_modules/bluebird/js/release/race.mjs +0 -53
- package/build/node_modules/bluebird/js/release/race.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/reduce.js +0 -178
- package/build/node_modules/bluebird/js/release/reduce.js.map +0 -1
- package/build/node_modules/bluebird/js/release/reduce.mjs +0 -176
- package/build/node_modules/bluebird/js/release/reduce.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/schedule.js +0 -67
- package/build/node_modules/bluebird/js/release/schedule.js.map +0 -1
- package/build/node_modules/bluebird/js/release/schedule.mjs +0 -65
- package/build/node_modules/bluebird/js/release/schedule.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/settle.js +0 -49
- package/build/node_modules/bluebird/js/release/settle.js.map +0 -1
- package/build/node_modules/bluebird/js/release/settle.mjs +0 -47
- package/build/node_modules/bluebird/js/release/settle.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/some.js +0 -155
- package/build/node_modules/bluebird/js/release/some.js.map +0 -1
- package/build/node_modules/bluebird/js/release/some.mjs +0 -153
- package/build/node_modules/bluebird/js/release/some.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/synchronous_inspection.js +0 -107
- package/build/node_modules/bluebird/js/release/synchronous_inspection.js.map +0 -1
- package/build/node_modules/bluebird/js/release/synchronous_inspection.mjs +0 -105
- package/build/node_modules/bluebird/js/release/synchronous_inspection.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/thenables.js +0 -92
- package/build/node_modules/bluebird/js/release/thenables.js.map +0 -1
- package/build/node_modules/bluebird/js/release/thenables.mjs +0 -90
- package/build/node_modules/bluebird/js/release/thenables.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/timers.js +0 -99
- package/build/node_modules/bluebird/js/release/timers.js.map +0 -1
- package/build/node_modules/bluebird/js/release/timers.mjs +0 -97
- package/build/node_modules/bluebird/js/release/timers.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/using.js +0 -233
- package/build/node_modules/bluebird/js/release/using.js.map +0 -1
- package/build/node_modules/bluebird/js/release/using.mjs +0 -231
- package/build/node_modules/bluebird/js/release/using.mjs.map +0 -1
- package/build/node_modules/bluebird/js/release/util.js +0 -380
- package/build/node_modules/bluebird/js/release/util.js.map +0 -1
- package/build/node_modules/bluebird/js/release/util.mjs +0 -378
- package/build/node_modules/bluebird/js/release/util.mjs.map +0 -1
- package/build/node_modules/bson/index.js +0 -51
- package/build/node_modules/bson/index.js.map +0 -1
- package/build/node_modules/bson/index.mjs +0 -49
- package/build/node_modules/bson/index.mjs.map +0 -1
- package/build/node_modules/bson/lib/bson/binary.js +0 -401
- package/build/node_modules/bson/lib/bson/binary.js.map +0 -1
- package/build/node_modules/bson/lib/bson/binary.mjs +0 -393
- package/build/node_modules/bson/lib/bson/binary.mjs.map +0 -1
- package/build/node_modules/bson/lib/bson/bson.js +0 -422
- package/build/node_modules/bson/lib/bson/bson.js.map +0 -1
- package/build/node_modules/bson/lib/bson/bson.mjs +0 -404
- package/build/node_modules/bson/lib/bson/bson.mjs.map +0 -1
- package/build/node_modules/bson/lib/bson/code.js +0 -33
- package/build/node_modules/bson/lib/bson/code.js.map +0 -1
- package/build/node_modules/bson/lib/bson/code.mjs +0 -29
- package/build/node_modules/bson/lib/bson/code.mjs.map +0 -1
- package/build/node_modules/bson/lib/bson/db_ref.js +0 -41
- package/build/node_modules/bson/lib/bson/db_ref.js.map +0 -1
- package/build/node_modules/bson/lib/bson/db_ref.mjs +0 -37
- package/build/node_modules/bson/lib/bson/db_ref.mjs.map +0 -1
- package/build/node_modules/bson/lib/bson/decimal128.js +0 -826
- package/build/node_modules/bson/lib/bson/decimal128.js.map +0 -1
- package/build/node_modules/bson/lib/bson/decimal128.mjs +0 -822
- package/build/node_modules/bson/lib/bson/decimal128.mjs.map +0 -1
- package/build/node_modules/bson/lib/bson/double.js +0 -42
- package/build/node_modules/bson/lib/bson/double.js.map +0 -1
- package/build/node_modules/bson/lib/bson/double.mjs +0 -38
- package/build/node_modules/bson/lib/bson/double.mjs.map +0 -1
- package/build/node_modules/bson/lib/bson/float_parser.js +0 -138
- package/build/node_modules/bson/lib/bson/float_parser.js.map +0 -1
- package/build/node_modules/bson/lib/bson/float_parser.mjs +0 -133
- package/build/node_modules/bson/lib/bson/float_parser.mjs.map +0 -1
- package/build/node_modules/bson/lib/bson/int_32.js +0 -42
- package/build/node_modules/bson/lib/bson/int_32.js.map +0 -1
- package/build/node_modules/bson/lib/bson/int_32.mjs +0 -38
- package/build/node_modules/bson/lib/bson/int_32.mjs.map +0 -1
- package/build/node_modules/bson/lib/bson/long.js +0 -874
- package/build/node_modules/bson/lib/bson/long.js.map +0 -1
- package/build/node_modules/bson/lib/bson/long.mjs +0 -870
- package/build/node_modules/bson/lib/bson/long.mjs.map +0 -1
- package/build/node_modules/bson/lib/bson/map.js +0 -136
- package/build/node_modules/bson/lib/bson/map.js.map +0 -1
- package/build/node_modules/bson/lib/bson/map.mjs +0 -134
- package/build/node_modules/bson/lib/bson/map.mjs.map +0 -1
- package/build/node_modules/bson/lib/bson/max_key.js +0 -23
- package/build/node_modules/bson/lib/bson/max_key.js.map +0 -1
- package/build/node_modules/bson/lib/bson/max_key.mjs +0 -19
- package/build/node_modules/bson/lib/bson/max_key.mjs.map +0 -1
- package/build/node_modules/bson/lib/bson/min_key.js +0 -23
- package/build/node_modules/bson/lib/bson/min_key.js.map +0 -1
- package/build/node_modules/bson/lib/bson/min_key.mjs +0 -19
- package/build/node_modules/bson/lib/bson/min_key.mjs.map +0 -1
- package/build/node_modules/bson/lib/bson/objectid.js +0 -410
- package/build/node_modules/bson/lib/bson/objectid.js.map +0 -1
- package/build/node_modules/bson/lib/bson/objectid.mjs +0 -401
- package/build/node_modules/bson/lib/bson/objectid.mjs.map +0 -1
- package/build/node_modules/bson/lib/bson/parser/calculate_size.js +0 -271
- package/build/node_modules/bson/lib/bson/parser/calculate_size.js.map +0 -1
- package/build/node_modules/bson/lib/bson/parser/calculate_size.mjs +0 -269
- package/build/node_modules/bson/lib/bson/parser/calculate_size.mjs.map +0 -1
- package/build/node_modules/bson/lib/bson/parser/deserializer.js +0 -798
- package/build/node_modules/bson/lib/bson/parser/deserializer.js.map +0 -1
- package/build/node_modules/bson/lib/bson/parser/deserializer.mjs +0 -796
- package/build/node_modules/bson/lib/bson/parser/deserializer.mjs.map +0 -1
- package/build/node_modules/bson/lib/bson/parser/serializer.js +0 -1200
- package/build/node_modules/bson/lib/bson/parser/serializer.js.map +0 -1
- package/build/node_modules/bson/lib/bson/parser/serializer.mjs +0 -1198
- package/build/node_modules/bson/lib/bson/parser/serializer.mjs.map +0 -1
- package/build/node_modules/bson/lib/bson/parser/utils.js +0 -30
- package/build/node_modules/bson/lib/bson/parser/utils.js.map +0 -1
- package/build/node_modules/bson/lib/bson/parser/utils.mjs +0 -28
- package/build/node_modules/bson/lib/bson/parser/utils.mjs.map +0 -1
- package/build/node_modules/bson/lib/bson/regexp.js +0 -42
- package/build/node_modules/bson/lib/bson/regexp.js.map +0 -1
- package/build/node_modules/bson/lib/bson/regexp.mjs +0 -38
- package/build/node_modules/bson/lib/bson/regexp.mjs.map +0 -1
- package/build/node_modules/bson/lib/bson/symbol.js +0 -65
- package/build/node_modules/bson/lib/bson/symbol.js.map +0 -1
- package/build/node_modules/bson/lib/bson/symbol.mjs +0 -57
- package/build/node_modules/bson/lib/bson/symbol.mjs.map +0 -1
- package/build/node_modules/bson/lib/bson/timestamp.js +0 -863
- package/build/node_modules/bson/lib/bson/timestamp.js.map +0 -1
- package/build/node_modules/bson/lib/bson/timestamp.mjs +0 -859
- package/build/node_modules/bson/lib/bson/timestamp.mjs.map +0 -1
- package/build/node_modules/core-util-is/lib/util.js +0 -147
- package/build/node_modules/core-util-is/lib/util.js.map +0 -1
- package/build/node_modules/core-util-is/lib/util.mjs +0 -129
- package/build/node_modules/core-util-is/lib/util.mjs.map +0 -1
- package/build/node_modules/denque/index.js +0 -446
- package/build/node_modules/denque/index.js.map +0 -1
- package/build/node_modules/denque/index.mjs +0 -444
- package/build/node_modules/denque/index.mjs.map +0 -1
- package/build/node_modules/double-ended-queue/js/deque.js +0 -279
- package/build/node_modules/double-ended-queue/js/deque.js.map +0 -1
- package/build/node_modules/double-ended-queue/js/deque.mjs +0 -277
- package/build/node_modules/double-ended-queue/js/deque.mjs.map +0 -1
- package/build/node_modules/inherits/inherits.js +0 -24
- package/build/node_modules/inherits/inherits.js.map +0 -1
- package/build/node_modules/inherits/inherits.mjs +0 -18
- package/build/node_modules/inherits/inherits.mjs.map +0 -1
- package/build/node_modules/inherits/inherits_browser.js +0 -36
- package/build/node_modules/inherits/inherits_browser.js.map +0 -1
- package/build/node_modules/inherits/inherits_browser.mjs +0 -34
- package/build/node_modules/inherits/inherits_browser.mjs.map +0 -1
- package/build/node_modules/isarray/index.js +0 -10
- package/build/node_modules/isarray/index.js.map +0 -1
- package/build/node_modules/isarray/index.mjs +0 -8
- package/build/node_modules/isarray/index.mjs.map +0 -1
- package/build/node_modules/kareem/index.js +0 -514
- package/build/node_modules/kareem/index.js.map +0 -1
- package/build/node_modules/kareem/index.mjs +0 -512
- package/build/node_modules/kareem/index.mjs.map +0 -1
- package/build/node_modules/memory-pager/index.js +0 -165
- package/build/node_modules/memory-pager/index.js.map +0 -1
- package/build/node_modules/memory-pager/index.mjs +0 -163
- package/build/node_modules/memory-pager/index.mjs.map +0 -1
- package/build/node_modules/mongodb/index.js +0 -93
- package/build/node_modules/mongodb/index.js.map +0 -1
- package/build/node_modules/mongodb/index.mjs +0 -91
- package/build/node_modules/mongodb/index.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/admin.js +0 -307
- package/build/node_modules/mongodb/lib/admin.js.map +0 -1
- package/build/node_modules/mongodb/lib/admin.mjs +0 -305
- package/build/node_modules/mongodb/lib/admin.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/aggregation_cursor.js +0 -376
- package/build/node_modules/mongodb/lib/aggregation_cursor.js.map +0 -1
- package/build/node_modules/mongodb/lib/aggregation_cursor.mjs +0 -374
- package/build/node_modules/mongodb/lib/aggregation_cursor.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/apm.js +0 -41
- package/build/node_modules/mongodb/lib/apm.js.map +0 -1
- package/build/node_modules/mongodb/lib/apm.mjs +0 -35
- package/build/node_modules/mongodb/lib/apm.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/async/async_iterator.js +0 -43
- package/build/node_modules/mongodb/lib/async/async_iterator.js.map +0 -1
- package/build/node_modules/mongodb/lib/async/async_iterator.mjs +0 -39
- package/build/node_modules/mongodb/lib/async/async_iterator.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/bulk/common.js +0 -1381
- package/build/node_modules/mongodb/lib/bulk/common.js.map +0 -1
- package/build/node_modules/mongodb/lib/bulk/common.mjs +0 -1379
- package/build/node_modules/mongodb/lib/bulk/common.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/bulk/ordered.js +0 -119
- package/build/node_modules/mongodb/lib/bulk/ordered.js.map +0 -1
- package/build/node_modules/mongodb/lib/bulk/ordered.mjs +0 -115
- package/build/node_modules/mongodb/lib/bulk/ordered.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/bulk/unordered.js +0 -140
- package/build/node_modules/mongodb/lib/bulk/unordered.js.map +0 -1
- package/build/node_modules/mongodb/lib/bulk/unordered.mjs +0 -136
- package/build/node_modules/mongodb/lib/bulk/unordered.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/change_stream.js +0 -640
- package/build/node_modules/mongodb/lib/change_stream.js.map +0 -1
- package/build/node_modules/mongodb/lib/change_stream.mjs +0 -634
- package/build/node_modules/mongodb/lib/change_stream.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/cmap/connection.js +0 -404
- package/build/node_modules/mongodb/lib/cmap/connection.js.map +0 -1
- package/build/node_modules/mongodb/lib/cmap/connection.mjs +0 -398
- package/build/node_modules/mongodb/lib/cmap/connection.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/cmap/connection_pool.js +0 -608
- package/build/node_modules/mongodb/lib/cmap/connection_pool.js.map +0 -1
- package/build/node_modules/mongodb/lib/cmap/connection_pool.mjs +0 -602
- package/build/node_modules/mongodb/lib/cmap/connection_pool.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/cmap/errors.js +0 -41
- package/build/node_modules/mongodb/lib/cmap/errors.js.map +0 -1
- package/build/node_modules/mongodb/lib/cmap/errors.mjs +0 -39
- package/build/node_modules/mongodb/lib/cmap/errors.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/cmap/events.js +0 -157
- package/build/node_modules/mongodb/lib/cmap/events.js.map +0 -1
- package/build/node_modules/mongodb/lib/cmap/events.mjs +0 -155
- package/build/node_modules/mongodb/lib/cmap/events.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/cmap/message_stream.js +0 -211
- package/build/node_modules/mongodb/lib/cmap/message_stream.js.map +0 -1
- package/build/node_modules/mongodb/lib/cmap/message_stream.mjs +0 -205
- package/build/node_modules/mongodb/lib/cmap/message_stream.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/cmap/stream_description.js +0 -51
- package/build/node_modules/mongodb/lib/cmap/stream_description.js.map +0 -1
- package/build/node_modules/mongodb/lib/cmap/stream_description.mjs +0 -49
- package/build/node_modules/mongodb/lib/cmap/stream_description.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/collection.js +0 -2294
- package/build/node_modules/mongodb/lib/collection.js.map +0 -1
- package/build/node_modules/mongodb/lib/collection.mjs +0 -2288
- package/build/node_modules/mongodb/lib/collection.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/command_cursor.js +0 -276
- package/build/node_modules/mongodb/lib/command_cursor.js.map +0 -1
- package/build/node_modules/mongodb/lib/command_cursor.mjs +0 -274
- package/build/node_modules/mongodb/lib/command_cursor.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/constants.js +0 -13
- package/build/node_modules/mongodb/lib/constants.js.map +0 -1
- package/build/node_modules/mongodb/lib/constants.mjs +0 -11
- package/build/node_modules/mongodb/lib/constants.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/auth/auth_provider.js +0 -58
- package/build/node_modules/mongodb/lib/core/auth/auth_provider.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/auth/auth_provider.mjs +0 -56
- package/build/node_modules/mongodb/lib/core/auth/auth_provider.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/auth/defaultAuthProviders.js +0 -35
- package/build/node_modules/mongodb/lib/core/auth/defaultAuthProviders.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/auth/defaultAuthProviders.mjs +0 -33
- package/build/node_modules/mongodb/lib/core/auth/defaultAuthProviders.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/auth/gssapi.js +0 -162
- package/build/node_modules/mongodb/lib/core/auth/gssapi.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/auth/gssapi.mjs +0 -156
- package/build/node_modules/mongodb/lib/core/auth/gssapi.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/auth/mongo_credentials.js +0 -110
- package/build/node_modules/mongodb/lib/core/auth/mongo_credentials.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/auth/mongo_credentials.mjs +0 -108
- package/build/node_modules/mongodb/lib/core/auth/mongo_credentials.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/auth/mongocr.js +0 -54
- package/build/node_modules/mongodb/lib/core/auth/mongocr.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/auth/mongocr.mjs +0 -48
- package/build/node_modules/mongodb/lib/core/auth/mongocr.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/auth/mongodb_aws.js +0 -275
- package/build/node_modules/mongodb/lib/core/auth/mongodb_aws.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/auth/mongodb_aws.mjs +0 -267
- package/build/node_modules/mongodb/lib/core/auth/mongodb_aws.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/auth/plain.js +0 -35
- package/build/node_modules/mongodb/lib/core/auth/plain.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/auth/plain.mjs +0 -33
- package/build/node_modules/mongodb/lib/core/auth/plain.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/auth/scram.js +0 -362
- package/build/node_modules/mongodb/lib/core/auth/scram.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/auth/scram.mjs +0 -356
- package/build/node_modules/mongodb/lib/core/auth/scram.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/auth/x509.js +0 -41
- package/build/node_modules/mongodb/lib/core/auth/x509.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/auth/x509.mjs +0 -39
- package/build/node_modules/mongodb/lib/core/auth/x509.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/connection/apm.js +0 -259
- package/build/node_modules/mongodb/lib/core/connection/apm.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/connection/apm.mjs +0 -257
- package/build/node_modules/mongodb/lib/core/connection/apm.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/connection/command_result.js +0 -39
- package/build/node_modules/mongodb/lib/core/connection/command_result.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/connection/command_result.mjs +0 -37
- package/build/node_modules/mongodb/lib/core/connection/command_result.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/connection/commands.js +0 -514
- package/build/node_modules/mongodb/lib/core/connection/commands.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/connection/commands.mjs +0 -512
- package/build/node_modules/mongodb/lib/core/connection/commands.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/connection/connect.js +0 -367
- package/build/node_modules/mongodb/lib/core/connection/connect.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/connection/connect.mjs +0 -360
- package/build/node_modules/mongodb/lib/core/connection/connect.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/connection/connection.js +0 -731
- package/build/node_modules/mongodb/lib/core/connection/connection.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/connection/connection.mjs +0 -724
- package/build/node_modules/mongodb/lib/core/connection/connection.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/connection/logger.js +0 -262
- package/build/node_modules/mongodb/lib/core/connection/logger.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/connection/logger.mjs +0 -256
- package/build/node_modules/mongodb/lib/core/connection/logger.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/connection/msg.js +0 -232
- package/build/node_modules/mongodb/lib/core/connection/msg.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/connection/msg.mjs +0 -230
- package/build/node_modules/mongodb/lib/core/connection/msg.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/connection/pool.js +0 -1304
- package/build/node_modules/mongodb/lib/core/connection/pool.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/connection/pool.mjs +0 -1297
- package/build/node_modules/mongodb/lib/core/connection/pool.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/connection/utils.js +0 -59
- package/build/node_modules/mongodb/lib/core/connection/utils.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/connection/utils.mjs +0 -57
- package/build/node_modules/mongodb/lib/core/connection/utils.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/cursor.js +0 -891
- package/build/node_modules/mongodb/lib/core/cursor.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/cursor.mjs +0 -885
- package/build/node_modules/mongodb/lib/core/cursor.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/error.js +0 -354
- package/build/node_modules/mongodb/lib/core/error.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/error.mjs +0 -352
- package/build/node_modules/mongodb/lib/core/error.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/index.js +0 -77
- package/build/node_modules/mongodb/lib/core/index.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/index.mjs +0 -75
- package/build/node_modules/mongodb/lib/core/index.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/sdam/common.js +0 -70
- package/build/node_modules/mongodb/lib/core/sdam/common.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/sdam/common.mjs +0 -68
- package/build/node_modules/mongodb/lib/core/sdam/common.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/sdam/events.js +0 -127
- package/build/node_modules/mongodb/lib/core/sdam/events.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/sdam/events.mjs +0 -125
- package/build/node_modules/mongodb/lib/core/sdam/events.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/sdam/monitor.js +0 -430
- package/build/node_modules/mongodb/lib/core/sdam/monitor.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/sdam/monitor.mjs +0 -424
- package/build/node_modules/mongodb/lib/core/sdam/monitor.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/sdam/server.js +0 -584
- package/build/node_modules/mongodb/lib/core/sdam/server.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/sdam/server.mjs +0 -578
- package/build/node_modules/mongodb/lib/core/sdam/server.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/sdam/server_description.js +0 -234
- package/build/node_modules/mongodb/lib/core/sdam/server_description.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/sdam/server_description.mjs +0 -232
- package/build/node_modules/mongodb/lib/core/sdam/server_description.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/sdam/server_selection.js +0 -246
- package/build/node_modules/mongodb/lib/core/sdam/server_selection.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/sdam/server_selection.mjs +0 -244
- package/build/node_modules/mongodb/lib/core/sdam/server_selection.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/sdam/srv_polling.js +0 -155
- package/build/node_modules/mongodb/lib/core/sdam/srv_polling.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/sdam/srv_polling.mjs +0 -145
- package/build/node_modules/mongodb/lib/core/sdam/srv_polling.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/sdam/topology.js +0 -1170
- package/build/node_modules/mongodb/lib/core/sdam/topology.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/sdam/topology.mjs +0 -1163
- package/build/node_modules/mongodb/lib/core/sdam/topology.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/sdam/topology_description.js +0 -468
- package/build/node_modules/mongodb/lib/core/sdam/topology_description.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/sdam/topology_description.mjs +0 -466
- package/build/node_modules/mongodb/lib/core/sdam/topology_description.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/sessions.js +0 -797
- package/build/node_modules/mongodb/lib/core/sessions.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/sessions.mjs +0 -791
- package/build/node_modules/mongodb/lib/core/sessions.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/topologies/mongos.js +0 -1415
- package/build/node_modules/mongodb/lib/core/topologies/mongos.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/topologies/mongos.mjs +0 -1408
- package/build/node_modules/mongodb/lib/core/topologies/mongos.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/topologies/read_preference.js +0 -273
- package/build/node_modules/mongodb/lib/core/topologies/read_preference.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/topologies/read_preference.mjs +0 -271
- package/build/node_modules/mongodb/lib/core/topologies/read_preference.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/topologies/replset.js +0 -1586
- package/build/node_modules/mongodb/lib/core/topologies/replset.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/topologies/replset.mjs +0 -1579
- package/build/node_modules/mongodb/lib/core/topologies/replset.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/topologies/replset_state.js +0 -1135
- package/build/node_modules/mongodb/lib/core/topologies/replset_state.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/topologies/replset_state.mjs +0 -1128
- package/build/node_modules/mongodb/lib/core/topologies/replset_state.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/topologies/server.js +0 -1006
- package/build/node_modules/mongodb/lib/core/topologies/server.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/topologies/server.mjs +0 -999
- package/build/node_modules/mongodb/lib/core/topologies/server.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/topologies/shared.js +0 -464
- package/build/node_modules/mongodb/lib/core/topologies/shared.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/topologies/shared.mjs +0 -462
- package/build/node_modules/mongodb/lib/core/topologies/shared.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/transactions.js +0 -188
- package/build/node_modules/mongodb/lib/core/transactions.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/transactions.mjs +0 -186
- package/build/node_modules/mongodb/lib/core/transactions.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/uri_parser.js +0 -745
- package/build/node_modules/mongodb/lib/core/uri_parser.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/uri_parser.mjs +0 -737
- package/build/node_modules/mongodb/lib/core/uri_parser.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/utils.js +0 -307
- package/build/node_modules/mongodb/lib/core/utils.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/utils.mjs +0 -300
- package/build/node_modules/mongodb/lib/core/utils.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/wireprotocol/command.js +0 -193
- package/build/node_modules/mongodb/lib/core/wireprotocol/command.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/wireprotocol/command.mjs +0 -191
- package/build/node_modules/mongodb/lib/core/wireprotocol/command.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/wireprotocol/compression.js +0 -83
- package/build/node_modules/mongodb/lib/core/wireprotocol/compression.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/wireprotocol/compression.mjs +0 -77
- package/build/node_modules/mongodb/lib/core/wireprotocol/compression.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/wireprotocol/constants.js +0 -16
- package/build/node_modules/mongodb/lib/core/wireprotocol/constants.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/wireprotocol/constants.mjs +0 -14
- package/build/node_modules/mongodb/lib/core/wireprotocol/constants.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/wireprotocol/get_more.js +0 -105
- package/build/node_modules/mongodb/lib/core/wireprotocol/get_more.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/wireprotocol/get_more.mjs +0 -103
- package/build/node_modules/mongodb/lib/core/wireprotocol/get_more.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/wireprotocol/index.js +0 -26
- package/build/node_modules/mongodb/lib/core/wireprotocol/index.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/wireprotocol/index.mjs +0 -24
- package/build/node_modules/mongodb/lib/core/wireprotocol/index.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/wireprotocol/kill_cursors.js +0 -80
- package/build/node_modules/mongodb/lib/core/wireprotocol/kill_cursors.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/wireprotocol/kill_cursors.mjs +0 -78
- package/build/node_modules/mongodb/lib/core/wireprotocol/kill_cursors.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/wireprotocol/query.js +0 -247
- package/build/node_modules/mongodb/lib/core/wireprotocol/query.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/wireprotocol/query.mjs +0 -245
- package/build/node_modules/mongodb/lib/core/wireprotocol/query.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/wireprotocol/shared.js +0 -122
- package/build/node_modules/mongodb/lib/core/wireprotocol/shared.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/wireprotocol/shared.mjs +0 -120
- package/build/node_modules/mongodb/lib/core/wireprotocol/shared.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/core/wireprotocol/write_command.js +0 -68
- package/build/node_modules/mongodb/lib/core/wireprotocol/write_command.js.map +0 -1
- package/build/node_modules/mongodb/lib/core/wireprotocol/write_command.mjs +0 -66
- package/build/node_modules/mongodb/lib/core/wireprotocol/write_command.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/cursor.js +0 -1156
- package/build/node_modules/mongodb/lib/cursor.js.map +0 -1
- package/build/node_modules/mongodb/lib/cursor.mjs +0 -1149
- package/build/node_modules/mongodb/lib/cursor.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/db.js +0 -1092
- package/build/node_modules/mongodb/lib/db.js.map +0 -1
- package/build/node_modules/mongodb/lib/db.mjs +0 -1085
- package/build/node_modules/mongodb/lib/db.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/dynamic_loaders.js +0 -39
- package/build/node_modules/mongodb/lib/dynamic_loaders.js.map +0 -1
- package/build/node_modules/mongodb/lib/dynamic_loaders.mjs +0 -37
- package/build/node_modules/mongodb/lib/dynamic_loaders.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/encrypter.js +0 -176
- package/build/node_modules/mongodb/lib/encrypter.js.map +0 -1
- package/build/node_modules/mongodb/lib/encrypter.mjs +0 -170
- package/build/node_modules/mongodb/lib/encrypter.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/error.js +0 -48
- package/build/node_modules/mongodb/lib/error.js.map +0 -1
- package/build/node_modules/mongodb/lib/error.mjs +0 -46
- package/build/node_modules/mongodb/lib/error.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/explain.js +0 -60
- package/build/node_modules/mongodb/lib/explain.js.map +0 -1
- package/build/node_modules/mongodb/lib/explain.mjs +0 -58
- package/build/node_modules/mongodb/lib/explain.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/gridfs/chunk.js +0 -242
- package/build/node_modules/mongodb/lib/gridfs/chunk.js.map +0 -1
- package/build/node_modules/mongodb/lib/gridfs/chunk.mjs +0 -240
- package/build/node_modules/mongodb/lib/gridfs/chunk.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/gridfs/grid_store.js +0 -1940
- package/build/node_modules/mongodb/lib/gridfs/grid_store.js.map +0 -1
- package/build/node_modules/mongodb/lib/gridfs/grid_store.mjs +0 -1932
- package/build/node_modules/mongodb/lib/gridfs/grid_store.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/gridfs-stream/download.js +0 -441
- package/build/node_modules/mongodb/lib/gridfs-stream/download.js.map +0 -1
- package/build/node_modules/mongodb/lib/gridfs-stream/download.mjs +0 -434
- package/build/node_modules/mongodb/lib/gridfs-stream/download.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/gridfs-stream/index.js +0 -366
- package/build/node_modules/mongodb/lib/gridfs-stream/index.js.map +0 -1
- package/build/node_modules/mongodb/lib/gridfs-stream/index.mjs +0 -359
- package/build/node_modules/mongodb/lib/gridfs-stream/index.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/gridfs-stream/upload.js +0 -552
- package/build/node_modules/mongodb/lib/gridfs-stream/upload.js.map +0 -1
- package/build/node_modules/mongodb/lib/gridfs-stream/upload.mjs +0 -544
- package/build/node_modules/mongodb/lib/gridfs-stream/upload.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/mongo_client.js +0 -514
- package/build/node_modules/mongodb/lib/mongo_client.js.map +0 -1
- package/build/node_modules/mongodb/lib/mongo_client.mjs +0 -507
- package/build/node_modules/mongodb/lib/mongo_client.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/add_user.js +0 -111
- package/build/node_modules/mongodb/lib/operations/add_user.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/add_user.mjs +0 -105
- package/build/node_modules/mongodb/lib/operations/add_user.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/aggregate.js +0 -111
- package/build/node_modules/mongodb/lib/operations/aggregate.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/aggregate.mjs +0 -109
- package/build/node_modules/mongodb/lib/operations/aggregate.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/bulk_write.js +0 -103
- package/build/node_modules/mongodb/lib/operations/bulk_write.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/bulk_write.mjs +0 -101
- package/build/node_modules/mongodb/lib/operations/bulk_write.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/collection_ops.js +0 -361
- package/build/node_modules/mongodb/lib/operations/collection_ops.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/collection_ops.mjs +0 -359
- package/build/node_modules/mongodb/lib/operations/collection_ops.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/collections.js +0 -62
- package/build/node_modules/mongodb/lib/operations/collections.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/collections.mjs +0 -60
- package/build/node_modules/mongodb/lib/operations/collections.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/command.js +0 -126
- package/build/node_modules/mongodb/lib/operations/command.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/command.mjs +0 -124
- package/build/node_modules/mongodb/lib/operations/command.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/command_v2.js +0 -131
- package/build/node_modules/mongodb/lib/operations/command_v2.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/command_v2.mjs +0 -129
- package/build/node_modules/mongodb/lib/operations/command_v2.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/common_functions.js +0 -408
- package/build/node_modules/mongodb/lib/operations/common_functions.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/common_functions.mjs +0 -406
- package/build/node_modules/mongodb/lib/operations/common_functions.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/connect.js +0 -805
- package/build/node_modules/mongodb/lib/operations/connect.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/connect.mjs +0 -798
- package/build/node_modules/mongodb/lib/operations/connect.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/count.js +0 -74
- package/build/node_modules/mongodb/lib/operations/count.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/count.mjs +0 -72
- package/build/node_modules/mongodb/lib/operations/count.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/count_documents.js +0 -44
- package/build/node_modules/mongodb/lib/operations/count_documents.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/count_documents.mjs +0 -42
- package/build/node_modules/mongodb/lib/operations/count_documents.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/create_collection.js +0 -111
- package/build/node_modules/mongodb/lib/operations/create_collection.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/create_collection.mjs +0 -109
- package/build/node_modules/mongodb/lib/operations/create_collection.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/create_indexes.js +0 -146
- package/build/node_modules/mongodb/lib/operations/create_indexes.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/create_indexes.mjs +0 -144
- package/build/node_modules/mongodb/lib/operations/create_indexes.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/cursor_ops.js +0 -175
- package/build/node_modules/mongodb/lib/operations/cursor_ops.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/cursor_ops.mjs +0 -173
- package/build/node_modules/mongodb/lib/operations/cursor_ops.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/db_ops.js +0 -474
- package/build/node_modules/mongodb/lib/operations/db_ops.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/db_ops.mjs +0 -472
- package/build/node_modules/mongodb/lib/operations/db_ops.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/delete_many.js +0 -44
- package/build/node_modules/mongodb/lib/operations/delete_many.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/delete_many.mjs +0 -42
- package/build/node_modules/mongodb/lib/operations/delete_many.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/delete_one.js +0 -44
- package/build/node_modules/mongodb/lib/operations/delete_one.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/delete_one.mjs +0 -42
- package/build/node_modules/mongodb/lib/operations/delete_one.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/distinct.js +0 -102
- package/build/node_modules/mongodb/lib/operations/distinct.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/distinct.mjs +0 -100
- package/build/node_modules/mongodb/lib/operations/distinct.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/drop.js +0 -60
- package/build/node_modules/mongodb/lib/operations/drop.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/drop.mjs +0 -58
- package/build/node_modules/mongodb/lib/operations/drop.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/drop_index.js +0 -49
- package/build/node_modules/mongodb/lib/operations/drop_index.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/drop_index.mjs +0 -47
- package/build/node_modules/mongodb/lib/operations/drop_index.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/drop_indexes.js +0 -30
- package/build/node_modules/mongodb/lib/operations/drop_indexes.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/drop_indexes.mjs +0 -28
- package/build/node_modules/mongodb/lib/operations/drop_indexes.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/estimated_document_count.js +0 -64
- package/build/node_modules/mongodb/lib/operations/estimated_document_count.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/estimated_document_count.mjs +0 -62
- package/build/node_modules/mongodb/lib/operations/estimated_document_count.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/execute_db_admin_command.js +0 -41
- package/build/node_modules/mongodb/lib/operations/execute_db_admin_command.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/execute_db_admin_command.mjs +0 -39
- package/build/node_modules/mongodb/lib/operations/execute_db_admin_command.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/execute_operation.js +0 -173
- package/build/node_modules/mongodb/lib/operations/execute_operation.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/execute_operation.mjs +0 -171
- package/build/node_modules/mongodb/lib/operations/execute_operation.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/find.js +0 -57
- package/build/node_modules/mongodb/lib/operations/find.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/find.mjs +0 -55
- package/build/node_modules/mongodb/lib/operations/find.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/find_and_modify.js +0 -138
- package/build/node_modules/mongodb/lib/operations/find_and_modify.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/find_and_modify.mjs +0 -136
- package/build/node_modules/mongodb/lib/operations/find_and_modify.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/find_one.js +0 -47
- package/build/node_modules/mongodb/lib/operations/find_one.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/find_one.mjs +0 -45
- package/build/node_modules/mongodb/lib/operations/find_one.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/find_one_and_delete.js +0 -24
- package/build/node_modules/mongodb/lib/operations/find_one_and_delete.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/find_one_and_delete.mjs +0 -22
- package/build/node_modules/mongodb/lib/operations/find_one_and_delete.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/find_one_and_replace.js +0 -44
- package/build/node_modules/mongodb/lib/operations/find_one_and_replace.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/find_one_and_replace.mjs +0 -42
- package/build/node_modules/mongodb/lib/operations/find_one_and_replace.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/find_one_and_update.js +0 -44
- package/build/node_modules/mongodb/lib/operations/find_one_and_update.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/find_one_and_update.mjs +0 -42
- package/build/node_modules/mongodb/lib/operations/find_one_and_update.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/geo_haystack_search.js +0 -87
- package/build/node_modules/mongodb/lib/operations/geo_haystack_search.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/geo_haystack_search.mjs +0 -85
- package/build/node_modules/mongodb/lib/operations/geo_haystack_search.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/index_exists.js +0 -46
- package/build/node_modules/mongodb/lib/operations/index_exists.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/index_exists.mjs +0 -44
- package/build/node_modules/mongodb/lib/operations/index_exists.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/index_information.js +0 -29
- package/build/node_modules/mongodb/lib/operations/index_information.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/index_information.mjs +0 -27
- package/build/node_modules/mongodb/lib/operations/index_information.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/indexes.js +0 -28
- package/build/node_modules/mongodb/lib/operations/indexes.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/indexes.mjs +0 -26
- package/build/node_modules/mongodb/lib/operations/indexes.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/insert_many.js +0 -67
- package/build/node_modules/mongodb/lib/operations/insert_many.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/insert_many.mjs +0 -65
- package/build/node_modules/mongodb/lib/operations/insert_many.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/insert_one.js +0 -46
- package/build/node_modules/mongodb/lib/operations/insert_one.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/insert_one.mjs +0 -44
- package/build/node_modules/mongodb/lib/operations/insert_one.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/is_capped.js +0 -24
- package/build/node_modules/mongodb/lib/operations/is_capped.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/is_capped.mjs +0 -22
- package/build/node_modules/mongodb/lib/operations/is_capped.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/list_collections.js +0 -113
- package/build/node_modules/mongodb/lib/operations/list_collections.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/list_collections.mjs +0 -111
- package/build/node_modules/mongodb/lib/operations/list_collections.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/list_databases.js +0 -44
- package/build/node_modules/mongodb/lib/operations/list_databases.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/list_databases.mjs +0 -42
- package/build/node_modules/mongodb/lib/operations/list_databases.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/list_indexes.js +0 -48
- package/build/node_modules/mongodb/lib/operations/list_indexes.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/list_indexes.mjs +0 -46
- package/build/node_modules/mongodb/lib/operations/list_indexes.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/map_reduce.js +0 -220
- package/build/node_modules/mongodb/lib/operations/map_reduce.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/map_reduce.mjs +0 -218
- package/build/node_modules/mongodb/lib/operations/map_reduce.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/operation.js +0 -82
- package/build/node_modules/mongodb/lib/operations/operation.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/operation.mjs +0 -80
- package/build/node_modules/mongodb/lib/operations/operation.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/options_operation.js +0 -39
- package/build/node_modules/mongodb/lib/operations/options_operation.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/options_operation.mjs +0 -37
- package/build/node_modules/mongodb/lib/operations/options_operation.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/profiling_level.js +0 -34
- package/build/node_modules/mongodb/lib/operations/profiling_level.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/profiling_level.mjs +0 -32
- package/build/node_modules/mongodb/lib/operations/profiling_level.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/re_index.js +0 -41
- package/build/node_modules/mongodb/lib/operations/re_index.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/re_index.mjs +0 -39
- package/build/node_modules/mongodb/lib/operations/re_index.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/remove_user.js +0 -60
- package/build/node_modules/mongodb/lib/operations/remove_user.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/remove_user.mjs +0 -58
- package/build/node_modules/mongodb/lib/operations/remove_user.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/rename.js +0 -69
- package/build/node_modules/mongodb/lib/operations/rename.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/rename.mjs +0 -67
- package/build/node_modules/mongodb/lib/operations/rename.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/replace_one.js +0 -61
- package/build/node_modules/mongodb/lib/operations/replace_one.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/replace_one.mjs +0 -59
- package/build/node_modules/mongodb/lib/operations/replace_one.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/run_command.js +0 -24
- package/build/node_modules/mongodb/lib/operations/run_command.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/run_command.mjs +0 -22
- package/build/node_modules/mongodb/lib/operations/run_command.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/set_profiling_level.js +0 -52
- package/build/node_modules/mongodb/lib/operations/set_profiling_level.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/set_profiling_level.mjs +0 -50
- package/build/node_modules/mongodb/lib/operations/set_profiling_level.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/stats.js +0 -51
- package/build/node_modules/mongodb/lib/operations/stats.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/stats.mjs +0 -49
- package/build/node_modules/mongodb/lib/operations/stats.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/update_many.js +0 -62
- package/build/node_modules/mongodb/lib/operations/update_many.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/update_many.mjs +0 -60
- package/build/node_modules/mongodb/lib/operations/update_many.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/update_one.js +0 -62
- package/build/node_modules/mongodb/lib/operations/update_one.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/update_one.mjs +0 -60
- package/build/node_modules/mongodb/lib/operations/update_one.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/operations/validate_collection.js +0 -42
- package/build/node_modules/mongodb/lib/operations/validate_collection.js.map +0 -1
- package/build/node_modules/mongodb/lib/operations/validate_collection.mjs +0 -40
- package/build/node_modules/mongodb/lib/operations/validate_collection.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/read_concern.js +0 -64
- package/build/node_modules/mongodb/lib/read_concern.js.map +0 -1
- package/build/node_modules/mongodb/lib/read_concern.mjs +0 -62
- package/build/node_modules/mongodb/lib/read_concern.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/topologies/mongos.js +0 -454
- package/build/node_modules/mongodb/lib/topologies/mongos.js.map +0 -1
- package/build/node_modules/mongodb/lib/topologies/mongos.mjs +0 -452
- package/build/node_modules/mongodb/lib/topologies/mongos.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/topologies/native_topology.js +0 -86
- package/build/node_modules/mongodb/lib/topologies/native_topology.js.map +0 -1
- package/build/node_modules/mongodb/lib/topologies/native_topology.mjs +0 -84
- package/build/node_modules/mongodb/lib/topologies/native_topology.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/topologies/replset.js +0 -496
- package/build/node_modules/mongodb/lib/topologies/replset.js.map +0 -1
- package/build/node_modules/mongodb/lib/topologies/replset.mjs +0 -494
- package/build/node_modules/mongodb/lib/topologies/replset.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/topologies/server.js +0 -456
- package/build/node_modules/mongodb/lib/topologies/server.js.map +0 -1
- package/build/node_modules/mongodb/lib/topologies/server.mjs +0 -454
- package/build/node_modules/mongodb/lib/topologies/server.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/topologies/topology_base.js +0 -439
- package/build/node_modules/mongodb/lib/topologies/topology_base.js.map +0 -1
- package/build/node_modules/mongodb/lib/topologies/topology_base.mjs +0 -428
- package/build/node_modules/mongodb/lib/topologies/topology_base.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/url_parser.js +0 -646
- package/build/node_modules/mongodb/lib/url_parser.js.map +0 -1
- package/build/node_modules/mongodb/lib/url_parser.mjs +0 -637
- package/build/node_modules/mongodb/lib/url_parser.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/utils.js +0 -919
- package/build/node_modules/mongodb/lib/utils.js.map +0 -1
- package/build/node_modules/mongodb/lib/utils.mjs +0 -917
- package/build/node_modules/mongodb/lib/utils.mjs.map +0 -1
- package/build/node_modules/mongodb/lib/write_concern.js +0 -99
- package/build/node_modules/mongodb/lib/write_concern.js.map +0 -1
- package/build/node_modules/mongodb/lib/write_concern.mjs +0 -97
- package/build/node_modules/mongodb/lib/write_concern.mjs.map +0 -1
- package/build/node_modules/mongodb/package.json.js +0 -146
- package/build/node_modules/mongodb/package.json.js.map +0 -1
- package/build/node_modules/mongodb/package.mjs +0 -127
- package/build/node_modules/mongodb/package.mjs.map +0 -1
- package/build/node_modules/mongoose/index.js +0 -8
- package/build/node_modules/mongoose/index.js.map +0 -1
- package/build/node_modules/mongoose/index.mjs +0 -6
- package/build/node_modules/mongoose/index.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/aggregate.js +0 -1176
- package/build/node_modules/mongoose/lib/aggregate.js.map +0 -1
- package/build/node_modules/mongoose/lib/aggregate.mjs +0 -1170
- package/build/node_modules/mongoose/lib/aggregate.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/browserDocument.js +0 -119
- package/build/node_modules/mongoose/lib/browserDocument.js.map +0 -1
- package/build/node_modules/mongoose/lib/browserDocument.mjs +0 -113
- package/build/node_modules/mongoose/lib/browserDocument.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/cast/boolean.js +0 -41
- package/build/node_modules/mongoose/lib/cast/boolean.js.map +0 -1
- package/build/node_modules/mongoose/lib/cast/boolean.mjs +0 -39
- package/build/node_modules/mongoose/lib/cast/boolean.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/cast/date.js +0 -48
- package/build/node_modules/mongoose/lib/cast/date.js.map +0 -1
- package/build/node_modules/mongoose/lib/cast/date.mjs +0 -42
- package/build/node_modules/mongoose/lib/cast/date.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/cast/decimal128.js +0 -43
- package/build/node_modules/mongoose/lib/cast/decimal128.js.map +0 -1
- package/build/node_modules/mongoose/lib/cast/decimal128.mjs +0 -37
- package/build/node_modules/mongoose/lib/cast/decimal128.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/cast/number.js +0 -50
- package/build/node_modules/mongoose/lib/cast/number.js.map +0 -1
- package/build/node_modules/mongoose/lib/cast/number.mjs +0 -44
- package/build/node_modules/mongoose/lib/cast/number.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/cast/objectid.js +0 -39
- package/build/node_modules/mongoose/lib/cast/objectid.js.map +0 -1
- package/build/node_modules/mongoose/lib/cast/objectid.mjs +0 -33
- package/build/node_modules/mongoose/lib/cast/objectid.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/cast/string.js +0 -40
- package/build/node_modules/mongoose/lib/cast/string.js.map +0 -1
- package/build/node_modules/mongoose/lib/cast/string.mjs +0 -38
- package/build/node_modules/mongoose/lib/cast/string.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/cast.js +0 -382
- package/build/node_modules/mongoose/lib/cast.js.map +0 -1
- package/build/node_modules/mongoose/lib/cast.mjs +0 -376
- package/build/node_modules/mongoose/lib/cast.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/collection.js +0 -333
- package/build/node_modules/mongoose/lib/collection.js.map +0 -1
- package/build/node_modules/mongoose/lib/collection.mjs +0 -327
- package/build/node_modules/mongoose/lib/collection.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/connection.js +0 -1534
- package/build/node_modules/mongoose/lib/connection.js.map +0 -1
- package/build/node_modules/mongoose/lib/connection.mjs +0 -1528
- package/build/node_modules/mongoose/lib/connection.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/connectionstate.js +0 -29
- package/build/node_modules/mongoose/lib/connectionstate.js.map +0 -1
- package/build/node_modules/mongoose/lib/connectionstate.mjs +0 -27
- package/build/node_modules/mongoose/lib/connectionstate.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/cursor/AggregationCursor.js +0 -384
- package/build/node_modules/mongoose/lib/cursor/AggregationCursor.js.map +0 -1
- package/build/node_modules/mongoose/lib/cursor/AggregationCursor.mjs +0 -377
- package/build/node_modules/mongoose/lib/cursor/AggregationCursor.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/cursor/ChangeStream.js +0 -70
- package/build/node_modules/mongoose/lib/cursor/ChangeStream.js.map +0 -1
- package/build/node_modules/mongoose/lib/cursor/ChangeStream.mjs +0 -64
- package/build/node_modules/mongoose/lib/cursor/ChangeStream.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/cursor/QueryCursor.js +0 -522
- package/build/node_modules/mongoose/lib/cursor/QueryCursor.js.map +0 -1
- package/build/node_modules/mongoose/lib/cursor/QueryCursor.mjs +0 -515
- package/build/node_modules/mongoose/lib/cursor/QueryCursor.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/document.js +0 -4305
- package/build/node_modules/mongoose/lib/document.js.map +0 -1
- package/build/node_modules/mongoose/lib/document.mjs +0 -4298
- package/build/node_modules/mongoose/lib/document.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/document_provider.js +0 -40
- package/build/node_modules/mongoose/lib/document_provider.js.map +0 -1
- package/build/node_modules/mongoose/lib/document_provider.mjs +0 -36
- package/build/node_modules/mongoose/lib/document_provider.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/driver.js +0 -27
- package/build/node_modules/mongoose/lib/driver.js.map +0 -1
- package/build/node_modules/mongoose/lib/driver.mjs +0 -22
- package/build/node_modules/mongoose/lib/driver.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/ReadPreference.js +0 -52
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/ReadPreference.js.map +0 -1
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/ReadPreference.mjs +0 -50
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/ReadPreference.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/binary.js +0 -14
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/binary.js.map +0 -1
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/binary.mjs +0 -12
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/binary.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js +0 -470
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js.map +0 -1
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.mjs +0 -463
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js +0 -219
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js.map +0 -1
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.mjs +0 -217
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/decimal128.js +0 -12
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/decimal128.js.map +0 -1
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/decimal128.mjs +0 -10
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/decimal128.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/index.js +0 -39
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/index.js.map +0 -1
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/index.mjs +0 -30
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/index.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/objectid.js +0 -18
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/objectid.js.map +0 -1
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/objectid.mjs +0 -16
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/objectid.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/error/cast.js +0 -161
- package/build/node_modules/mongoose/lib/error/cast.js.map +0 -1
- package/build/node_modules/mongoose/lib/error/cast.mjs +0 -155
- package/build/node_modules/mongoose/lib/error/cast.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/error/divergentArray.js +0 -35
- package/build/node_modules/mongoose/lib/error/divergentArray.js.map +0 -1
- package/build/node_modules/mongoose/lib/error/divergentArray.mjs +0 -33
- package/build/node_modules/mongoose/lib/error/divergentArray.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/error/index.js +0 -225
- package/build/node_modules/mongoose/lib/error/index.js.map +0 -1
- package/build/node_modules/mongoose/lib/error/index.mjs +0 -223
- package/build/node_modules/mongoose/lib/error/index.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/error/messages.js +0 -32
- package/build/node_modules/mongoose/lib/error/messages.js.map +0 -1
- package/build/node_modules/mongoose/lib/error/messages.mjs +0 -30
- package/build/node_modules/mongoose/lib/error/messages.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/error/missingSchema.js +0 -28
- package/build/node_modules/mongoose/lib/error/missingSchema.js.map +0 -1
- package/build/node_modules/mongoose/lib/error/missingSchema.mjs +0 -26
- package/build/node_modules/mongoose/lib/error/missingSchema.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/error/mongooseError.js +0 -16
- package/build/node_modules/mongoose/lib/error/mongooseError.js.map +0 -1
- package/build/node_modules/mongoose/lib/error/mongooseError.mjs +0 -14
- package/build/node_modules/mongoose/lib/error/mongooseError.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/error/notFound.js +0 -54
- package/build/node_modules/mongoose/lib/error/notFound.js.map +0 -1
- package/build/node_modules/mongoose/lib/error/notFound.mjs +0 -48
- package/build/node_modules/mongoose/lib/error/notFound.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/error/objectExpected.js +0 -35
- package/build/node_modules/mongoose/lib/error/objectExpected.js.map +0 -1
- package/build/node_modules/mongoose/lib/error/objectExpected.mjs +0 -33
- package/build/node_modules/mongoose/lib/error/objectExpected.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/error/objectParameter.js +0 -35
- package/build/node_modules/mongoose/lib/error/objectParameter.js.map +0 -1
- package/build/node_modules/mongoose/lib/error/objectParameter.mjs +0 -33
- package/build/node_modules/mongoose/lib/error/objectParameter.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/error/overwriteModel.js +0 -26
- package/build/node_modules/mongoose/lib/error/overwriteModel.js.map +0 -1
- package/build/node_modules/mongoose/lib/error/overwriteModel.mjs +0 -24
- package/build/node_modules/mongoose/lib/error/overwriteModel.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/error/parallelSave.js +0 -35
- package/build/node_modules/mongoose/lib/error/parallelSave.js.map +0 -1
- package/build/node_modules/mongoose/lib/error/parallelSave.mjs +0 -33
- package/build/node_modules/mongoose/lib/error/parallelSave.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/error/parallelValidate.js +0 -36
- package/build/node_modules/mongoose/lib/error/parallelValidate.js.map +0 -1
- package/build/node_modules/mongoose/lib/error/parallelValidate.mjs +0 -34
- package/build/node_modules/mongoose/lib/error/parallelValidate.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/error/serverSelection.js +0 -69
- package/build/node_modules/mongoose/lib/error/serverSelection.js.map +0 -1
- package/build/node_modules/mongoose/lib/error/serverSelection.mjs +0 -67
- package/build/node_modules/mongoose/lib/error/serverSelection.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/error/strict.js +0 -38
- package/build/node_modules/mongoose/lib/error/strict.js.map +0 -1
- package/build/node_modules/mongoose/lib/error/strict.mjs +0 -36
- package/build/node_modules/mongoose/lib/error/strict.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/error/validation.js +0 -121
- package/build/node_modules/mongoose/lib/error/validation.js.map +0 -1
- package/build/node_modules/mongoose/lib/error/validation.mjs +0 -115
- package/build/node_modules/mongoose/lib/error/validation.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/error/validator.js +0 -99
- package/build/node_modules/mongoose/lib/error/validator.js.map +0 -1
- package/build/node_modules/mongoose/lib/error/validator.mjs +0 -97
- package/build/node_modules/mongoose/lib/error/validator.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/error/version.js +0 -41
- package/build/node_modules/mongoose/lib/error/version.js.map +0 -1
- package/build/node_modules/mongoose/lib/error/version.mjs +0 -39
- package/build/node_modules/mongoose/lib/error/version.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/aggregate/stringifyFunctionOperators.js +0 -53
- package/build/node_modules/mongoose/lib/helpers/aggregate/stringifyFunctionOperators.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/aggregate/stringifyFunctionOperators.mjs +0 -51
- package/build/node_modules/mongoose/lib/helpers/aggregate/stringifyFunctionOperators.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/arrayDepth.js +0 -36
- package/build/node_modules/mongoose/lib/helpers/arrayDepth.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/arrayDepth.mjs +0 -34
- package/build/node_modules/mongoose/lib/helpers/arrayDepth.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/clone.js +0 -141
- package/build/node_modules/mongoose/lib/helpers/clone.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/clone.mjs +0 -139
- package/build/node_modules/mongoose/lib/helpers/clone.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/common.js +0 -123
- package/build/node_modules/mongoose/lib/helpers/common.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/common.mjs +0 -118
- package/build/node_modules/mongoose/lib/helpers/common.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/cursor/eachAsync.js +0 -163
- package/build/node_modules/mongoose/lib/helpers/cursor/eachAsync.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/cursor/eachAsync.mjs +0 -161
- package/build/node_modules/mongoose/lib/helpers/cursor/eachAsync.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/discriminator/areDiscriminatorValuesEqual.js +0 -19
- package/build/node_modules/mongoose/lib/helpers/discriminator/areDiscriminatorValuesEqual.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/discriminator/areDiscriminatorValuesEqual.mjs +0 -17
- package/build/node_modules/mongoose/lib/helpers/discriminator/areDiscriminatorValuesEqual.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/discriminator/checkEmbeddedDiscriminatorKeyProjection.js +0 -15
- package/build/node_modules/mongoose/lib/helpers/discriminator/checkEmbeddedDiscriminatorKeyProjection.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/discriminator/checkEmbeddedDiscriminatorKeyProjection.mjs +0 -13
- package/build/node_modules/mongoose/lib/helpers/discriminator/checkEmbeddedDiscriminatorKeyProjection.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/discriminator/getConstructor.js +0 -28
- package/build/node_modules/mongoose/lib/helpers/discriminator/getConstructor.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/discriminator/getConstructor.mjs +0 -26
- package/build/node_modules/mongoose/lib/helpers/discriminator/getConstructor.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/discriminator/getDiscriminatorByValue.js +0 -30
- package/build/node_modules/mongoose/lib/helpers/discriminator/getDiscriminatorByValue.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/discriminator/getDiscriminatorByValue.mjs +0 -28
- package/build/node_modules/mongoose/lib/helpers/discriminator/getDiscriminatorByValue.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/discriminator/getSchemaDiscriminatorByValue.js +0 -29
- package/build/node_modules/mongoose/lib/helpers/discriminator/getSchemaDiscriminatorByValue.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/discriminator/getSchemaDiscriminatorByValue.mjs +0 -27
- package/build/node_modules/mongoose/lib/helpers/discriminator/getSchemaDiscriminatorByValue.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/document/cleanModifiedSubpaths.js +0 -31
- package/build/node_modules/mongoose/lib/helpers/document/cleanModifiedSubpaths.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/document/cleanModifiedSubpaths.mjs +0 -29
- package/build/node_modules/mongoose/lib/helpers/document/cleanModifiedSubpaths.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/document/compile.js +0 -229
- package/build/node_modules/mongoose/lib/helpers/document/compile.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/document/compile.mjs +0 -224
- package/build/node_modules/mongoose/lib/helpers/document/compile.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/document/getEmbeddedDiscriminatorPath.js +0 -46
- package/build/node_modules/mongoose/lib/helpers/document/getEmbeddedDiscriminatorPath.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/document/getEmbeddedDiscriminatorPath.mjs +0 -44
- package/build/node_modules/mongoose/lib/helpers/document/getEmbeddedDiscriminatorPath.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/document/handleSpreadDoc.js +0 -20
- package/build/node_modules/mongoose/lib/helpers/document/handleSpreadDoc.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/document/handleSpreadDoc.mjs +0 -18
- package/build/node_modules/mongoose/lib/helpers/document/handleSpreadDoc.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/each.js +0 -28
- package/build/node_modules/mongoose/lib/helpers/each.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/each.mjs +0 -26
- package/build/node_modules/mongoose/lib/helpers/each.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/get.js +0 -67
- package/build/node_modules/mongoose/lib/helpers/get.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/get.mjs +0 -65
- package/build/node_modules/mongoose/lib/helpers/get.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/getDefaultBulkwriteResult.js +0 -31
- package/build/node_modules/mongoose/lib/helpers/getDefaultBulkwriteResult.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/getDefaultBulkwriteResult.mjs +0 -29
- package/build/node_modules/mongoose/lib/helpers/getDefaultBulkwriteResult.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/getFunctionName.js +0 -11
- package/build/node_modules/mongoose/lib/helpers/getFunctionName.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/getFunctionName.mjs +0 -9
- package/build/node_modules/mongoose/lib/helpers/getFunctionName.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/immediate.js +0 -17
- package/build/node_modules/mongoose/lib/helpers/immediate.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/immediate.mjs +0 -15
- package/build/node_modules/mongoose/lib/helpers/immediate.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/indexes/isDefaultIdIndex.js +0 -21
- package/build/node_modules/mongoose/lib/helpers/indexes/isDefaultIdIndex.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/indexes/isDefaultIdIndex.mjs +0 -19
- package/build/node_modules/mongoose/lib/helpers/indexes/isDefaultIdIndex.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/indexes/isIndexEqual.js +0 -98
- package/build/node_modules/mongoose/lib/helpers/indexes/isIndexEqual.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/indexes/isIndexEqual.mjs +0 -96
- package/build/node_modules/mongoose/lib/helpers/indexes/isIndexEqual.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/isBsonType.js +0 -16
- package/build/node_modules/mongoose/lib/helpers/isBsonType.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/isBsonType.mjs +0 -14
- package/build/node_modules/mongoose/lib/helpers/isBsonType.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/isMongooseObject.js +0 -24
- package/build/node_modules/mongoose/lib/helpers/isMongooseObject.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/isMongooseObject.mjs +0 -22
- package/build/node_modules/mongoose/lib/helpers/isMongooseObject.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/isObject.js +0 -19
- package/build/node_modules/mongoose/lib/helpers/isObject.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/isObject.mjs +0 -17
- package/build/node_modules/mongoose/lib/helpers/isObject.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/isPromise.js +0 -10
- package/build/node_modules/mongoose/lib/helpers/isPromise.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/isPromise.mjs +0 -8
- package/build/node_modules/mongoose/lib/helpers/isPromise.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/model/applyHooks.js +0 -141
- package/build/node_modules/mongoose/lib/helpers/model/applyHooks.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/model/applyHooks.mjs +0 -139
- package/build/node_modules/mongoose/lib/helpers/model/applyHooks.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/model/applyMethods.js +0 -59
- package/build/node_modules/mongoose/lib/helpers/model/applyMethods.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/model/applyMethods.mjs +0 -57
- package/build/node_modules/mongoose/lib/helpers/model/applyMethods.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/model/applyStaticHooks.js +0 -77
- package/build/node_modules/mongoose/lib/helpers/model/applyStaticHooks.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/model/applyStaticHooks.mjs +0 -75
- package/build/node_modules/mongoose/lib/helpers/model/applyStaticHooks.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/model/applyStatics.js +0 -15
- package/build/node_modules/mongoose/lib/helpers/model/applyStatics.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/model/applyStatics.mjs +0 -13
- package/build/node_modules/mongoose/lib/helpers/model/applyStatics.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/model/castBulkWrite.js +0 -227
- package/build/node_modules/mongoose/lib/helpers/model/castBulkWrite.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/model/castBulkWrite.mjs +0 -225
- package/build/node_modules/mongoose/lib/helpers/model/castBulkWrite.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/model/discriminator.js +0 -212
- package/build/node_modules/mongoose/lib/helpers/model/discriminator.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/model/discriminator.mjs +0 -210
- package/build/node_modules/mongoose/lib/helpers/model/discriminator.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/parallelLimit.js +0 -58
- package/build/node_modules/mongoose/lib/helpers/parallelLimit.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/parallelLimit.mjs +0 -56
- package/build/node_modules/mongoose/lib/helpers/parallelLimit.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/path/parentPaths.js +0 -16
- package/build/node_modules/mongoose/lib/helpers/path/parentPaths.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/path/parentPaths.mjs +0 -14
- package/build/node_modules/mongoose/lib/helpers/path/parentPaths.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/path/setDottedPath.js +0 -19
- package/build/node_modules/mongoose/lib/helpers/path/setDottedPath.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/path/setDottedPath.mjs +0 -17
- package/build/node_modules/mongoose/lib/helpers/path/setDottedPath.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/SkipPopulateValue.js +0 -13
- package/build/node_modules/mongoose/lib/helpers/populate/SkipPopulateValue.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/SkipPopulateValue.mjs +0 -11
- package/build/node_modules/mongoose/lib/helpers/populate/SkipPopulateValue.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/assignRawDocsToIdStructure.js +0 -104
- package/build/node_modules/mongoose/lib/helpers/populate/assignRawDocsToIdStructure.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/assignRawDocsToIdStructure.mjs +0 -102
- package/build/node_modules/mongoose/lib/helpers/populate/assignRawDocsToIdStructure.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/assignVals.js +0 -291
- package/build/node_modules/mongoose/lib/helpers/populate/assignVals.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/assignVals.mjs +0 -289
- package/build/node_modules/mongoose/lib/helpers/populate/assignVals.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/createPopulateQueryFilter.js +0 -82
- package/build/node_modules/mongoose/lib/helpers/populate/createPopulateQueryFilter.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/createPopulateQueryFilter.mjs +0 -80
- package/build/node_modules/mongoose/lib/helpers/populate/createPopulateQueryFilter.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.js +0 -550
- package/build/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.mjs +0 -544
- package/build/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/getSchemaTypes.js +0 -218
- package/build/node_modules/mongoose/lib/helpers/populate/getSchemaTypes.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/getSchemaTypes.mjs +0 -216
- package/build/node_modules/mongoose/lib/helpers/populate/getSchemaTypes.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/getVirtual.js +0 -75
- package/build/node_modules/mongoose/lib/helpers/populate/getVirtual.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/getVirtual.mjs +0 -73
- package/build/node_modules/mongoose/lib/helpers/populate/getVirtual.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/leanPopulateMap.js +0 -10
- package/build/node_modules/mongoose/lib/helpers/populate/leanPopulateMap.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/leanPopulateMap.mjs +0 -8
- package/build/node_modules/mongoose/lib/helpers/populate/leanPopulateMap.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/lookupLocalFields.js +0 -31
- package/build/node_modules/mongoose/lib/helpers/populate/lookupLocalFields.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/lookupLocalFields.mjs +0 -29
- package/build/node_modules/mongoose/lib/helpers/populate/lookupLocalFields.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/normalizeRefPath.js +0 -48
- package/build/node_modules/mongoose/lib/helpers/populate/normalizeRefPath.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/normalizeRefPath.mjs +0 -46
- package/build/node_modules/mongoose/lib/helpers/populate/normalizeRefPath.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/removeDeselectedForeignField.js +0 -34
- package/build/node_modules/mongoose/lib/helpers/populate/removeDeselectedForeignField.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/removeDeselectedForeignField.mjs +0 -32
- package/build/node_modules/mongoose/lib/helpers/populate/removeDeselectedForeignField.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/validateRef.js +0 -26
- package/build/node_modules/mongoose/lib/helpers/populate/validateRef.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/populate/validateRef.mjs +0 -20
- package/build/node_modules/mongoose/lib/helpers/populate/validateRef.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/printJestWarning.js +0 -16
- package/build/node_modules/mongoose/lib/helpers/printJestWarning.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/printJestWarning.mjs +0 -14
- package/build/node_modules/mongoose/lib/helpers/printJestWarning.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/projection/isDefiningProjection.js +0 -21
- package/build/node_modules/mongoose/lib/helpers/projection/isDefiningProjection.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/projection/isDefiningProjection.mjs +0 -19
- package/build/node_modules/mongoose/lib/helpers/projection/isDefiningProjection.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/projection/isExclusive.js +0 -35
- package/build/node_modules/mongoose/lib/helpers/projection/isExclusive.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/projection/isExclusive.mjs +0 -33
- package/build/node_modules/mongoose/lib/helpers/projection/isExclusive.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/projection/isInclusive.js +0 -37
- package/build/node_modules/mongoose/lib/helpers/projection/isInclusive.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/projection/isInclusive.mjs +0 -35
- package/build/node_modules/mongoose/lib/helpers/projection/isInclusive.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/projection/isPathExcluded.js +0 -38
- package/build/node_modules/mongoose/lib/helpers/projection/isPathExcluded.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/projection/isPathExcluded.mjs +0 -36
- package/build/node_modules/mongoose/lib/helpers/projection/isPathExcluded.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/projection/isPathSelectedInclusive.js +0 -31
- package/build/node_modules/mongoose/lib/helpers/projection/isPathSelectedInclusive.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/projection/isPathSelectedInclusive.mjs +0 -29
- package/build/node_modules/mongoose/lib/helpers/projection/isPathSelectedInclusive.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/projection/parseProjection.js +0 -36
- package/build/node_modules/mongoose/lib/helpers/projection/parseProjection.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/projection/parseProjection.mjs +0 -34
- package/build/node_modules/mongoose/lib/helpers/projection/parseProjection.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/promiseOrCallback.js +0 -49
- package/build/node_modules/mongoose/lib/helpers/promiseOrCallback.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/promiseOrCallback.mjs +0 -47
- package/build/node_modules/mongoose/lib/helpers/promiseOrCallback.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/applyGlobalMaxTimeMS.js +0 -18
- package/build/node_modules/mongoose/lib/helpers/query/applyGlobalMaxTimeMS.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/applyGlobalMaxTimeMS.mjs +0 -16
- package/build/node_modules/mongoose/lib/helpers/query/applyGlobalMaxTimeMS.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/applyQueryMiddleware.js +0 -96
- package/build/node_modules/mongoose/lib/helpers/query/applyQueryMiddleware.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/applyQueryMiddleware.mjs +0 -94
- package/build/node_modules/mongoose/lib/helpers/query/applyQueryMiddleware.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/castFilterPath.js +0 -58
- package/build/node_modules/mongoose/lib/helpers/query/castFilterPath.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/castFilterPath.mjs +0 -56
- package/build/node_modules/mongoose/lib/helpers/query/castFilterPath.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/castUpdate.js +0 -561
- package/build/node_modules/mongoose/lib/helpers/query/castUpdate.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/castUpdate.mjs +0 -559
- package/build/node_modules/mongoose/lib/helpers/query/castUpdate.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/completeMany.js +0 -54
- package/build/node_modules/mongoose/lib/helpers/query/completeMany.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/completeMany.mjs +0 -52
- package/build/node_modules/mongoose/lib/helpers/query/completeMany.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/getEmbeddedDiscriminatorPath.js +0 -87
- package/build/node_modules/mongoose/lib/helpers/query/getEmbeddedDiscriminatorPath.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/getEmbeddedDiscriminatorPath.mjs +0 -85
- package/build/node_modules/mongoose/lib/helpers/query/getEmbeddedDiscriminatorPath.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/handleImmutable.js +0 -31
- package/build/node_modules/mongoose/lib/helpers/query/handleImmutable.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/handleImmutable.mjs +0 -29
- package/build/node_modules/mongoose/lib/helpers/query/handleImmutable.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/hasDollarKeys.js +0 -22
- package/build/node_modules/mongoose/lib/helpers/query/hasDollarKeys.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/hasDollarKeys.mjs +0 -20
- package/build/node_modules/mongoose/lib/helpers/query/hasDollarKeys.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/isOperator.js +0 -14
- package/build/node_modules/mongoose/lib/helpers/query/isOperator.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/isOperator.mjs +0 -12
- package/build/node_modules/mongoose/lib/helpers/query/isOperator.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/sanitizeProjection.js +0 -17
- package/build/node_modules/mongoose/lib/helpers/query/sanitizeProjection.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/sanitizeProjection.mjs +0 -15
- package/build/node_modules/mongoose/lib/helpers/query/sanitizeProjection.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/selectPopulatedFields.js +0 -52
- package/build/node_modules/mongoose/lib/helpers/query/selectPopulatedFields.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/selectPopulatedFields.mjs +0 -50
- package/build/node_modules/mongoose/lib/helpers/query/selectPopulatedFields.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/wrapThunk.js +0 -21
- package/build/node_modules/mongoose/lib/helpers/query/wrapThunk.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/query/wrapThunk.mjs +0 -19
- package/build/node_modules/mongoose/lib/helpers/query/wrapThunk.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/schema/addAutoId.js +0 -10
- package/build/node_modules/mongoose/lib/helpers/schema/addAutoId.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/schema/addAutoId.mjs +0 -8
- package/build/node_modules/mongoose/lib/helpers/schema/addAutoId.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/schema/applyPlugins.js +0 -47
- package/build/node_modules/mongoose/lib/helpers/schema/applyPlugins.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/schema/applyPlugins.mjs +0 -45
- package/build/node_modules/mongoose/lib/helpers/schema/applyPlugins.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/schema/applyWriteConcern.js +0 -33
- package/build/node_modules/mongoose/lib/helpers/schema/applyWriteConcern.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/schema/applyWriteConcern.mjs +0 -31
- package/build/node_modules/mongoose/lib/helpers/schema/applyWriteConcern.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/schema/cleanPositionalOperators.js +0 -15
- package/build/node_modules/mongoose/lib/helpers/schema/cleanPositionalOperators.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/schema/cleanPositionalOperators.mjs +0 -13
- package/build/node_modules/mongoose/lib/helpers/schema/cleanPositionalOperators.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/schema/getIndexes.js +0 -158
- package/build/node_modules/mongoose/lib/helpers/schema/getIndexes.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/schema/getIndexes.mjs +0 -156
- package/build/node_modules/mongoose/lib/helpers/schema/getIndexes.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/schema/getPath.js +0 -38
- package/build/node_modules/mongoose/lib/helpers/schema/getPath.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/schema/getPath.mjs +0 -36
- package/build/node_modules/mongoose/lib/helpers/schema/getPath.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/schema/handleIdOption.js +0 -23
- package/build/node_modules/mongoose/lib/helpers/schema/handleIdOption.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/schema/handleIdOption.mjs +0 -21
- package/build/node_modules/mongoose/lib/helpers/schema/handleIdOption.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/schema/handleTimestampOption.js +0 -27
- package/build/node_modules/mongoose/lib/helpers/schema/handleTimestampOption.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/schema/handleTimestampOption.mjs +0 -25
- package/build/node_modules/mongoose/lib/helpers/schema/handleTimestampOption.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/schema/merge.js +0 -30
- package/build/node_modules/mongoose/lib/helpers/schema/merge.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/schema/merge.mjs +0 -28
- package/build/node_modules/mongoose/lib/helpers/schema/merge.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/schematype/handleImmutable.js +0 -48
- package/build/node_modules/mongoose/lib/helpers/schematype/handleImmutable.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/schematype/handleImmutable.mjs +0 -46
- package/build/node_modules/mongoose/lib/helpers/schematype/handleImmutable.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/setDefaultsOnInsert.js +0 -134
- package/build/node_modules/mongoose/lib/helpers/setDefaultsOnInsert.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/setDefaultsOnInsert.mjs +0 -132
- package/build/node_modules/mongoose/lib/helpers/setDefaultsOnInsert.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/specialProperties.js +0 -6
- package/build/node_modules/mongoose/lib/helpers/specialProperties.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/specialProperties.mjs +0 -4
- package/build/node_modules/mongoose/lib/helpers/specialProperties.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/symbols.js +0 -61
- package/build/node_modules/mongoose/lib/helpers/symbols.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/symbols.mjs +0 -41
- package/build/node_modules/mongoose/lib/helpers/symbols.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/timers.js +0 -13
- package/build/node_modules/mongoose/lib/helpers/timers.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/timers.mjs +0 -9
- package/build/node_modules/mongoose/lib/helpers/timers.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/timestamps/setupTimestamps.js +0 -114
- package/build/node_modules/mongoose/lib/helpers/timestamps/setupTimestamps.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/timestamps/setupTimestamps.mjs +0 -112
- package/build/node_modules/mongoose/lib/helpers/timestamps/setupTimestamps.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/topology/allServersUnknown.js +0 -14
- package/build/node_modules/mongoose/lib/helpers/topology/allServersUnknown.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/topology/allServersUnknown.mjs +0 -12
- package/build/node_modules/mongoose/lib/helpers/topology/allServersUnknown.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/topology/isAtlas.js +0 -15
- package/build/node_modules/mongoose/lib/helpers/topology/isAtlas.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/topology/isAtlas.mjs +0 -13
- package/build/node_modules/mongoose/lib/helpers/topology/isAtlas.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/topology/isSSLError.js +0 -18
- package/build/node_modules/mongoose/lib/helpers/topology/isSSLError.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/topology/isSSLError.mjs +0 -16
- package/build/node_modules/mongoose/lib/helpers/topology/isSSLError.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToChildren.js +0 -175
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToChildren.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToChildren.mjs +0 -173
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToChildren.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToUpdate.js +0 -124
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToUpdate.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToUpdate.mjs +0 -122
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToUpdate.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/update/castArrayFilters.js +0 -63
- package/build/node_modules/mongoose/lib/helpers/update/castArrayFilters.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/update/castArrayFilters.mjs +0 -61
- package/build/node_modules/mongoose/lib/helpers/update/castArrayFilters.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/update/modifiedPaths.js +0 -38
- package/build/node_modules/mongoose/lib/helpers/update/modifiedPaths.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/update/modifiedPaths.mjs +0 -36
- package/build/node_modules/mongoose/lib/helpers/update/modifiedPaths.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/update/moveImmutableProperties.js +0 -56
- package/build/node_modules/mongoose/lib/helpers/update/moveImmutableProperties.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/update/moveImmutableProperties.mjs +0 -54
- package/build/node_modules/mongoose/lib/helpers/update/moveImmutableProperties.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/update/removeUnusedArrayFilters.js +0 -21
- package/build/node_modules/mongoose/lib/helpers/update/removeUnusedArrayFilters.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/update/removeUnusedArrayFilters.mjs +0 -19
- package/build/node_modules/mongoose/lib/helpers/update/removeUnusedArrayFilters.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/update/updatedPathsByArrayFilter.js +0 -27
- package/build/node_modules/mongoose/lib/helpers/update/updatedPathsByArrayFilter.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/update/updatedPathsByArrayFilter.mjs +0 -25
- package/build/node_modules/mongoose/lib/helpers/update/updatedPathsByArrayFilter.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/updateValidators.js +0 -263
- package/build/node_modules/mongoose/lib/helpers/updateValidators.js.map +0 -1
- package/build/node_modules/mongoose/lib/helpers/updateValidators.mjs +0 -261
- package/build/node_modules/mongoose/lib/helpers/updateValidators.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/index.js +0 -1208
- package/build/node_modules/mongoose/lib/index.js.map +0 -1
- package/build/node_modules/mongoose/lib/index.mjs +0 -1201
- package/build/node_modules/mongoose/lib/index.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/internal.js +0 -47
- package/build/node_modules/mongoose/lib/internal.js.map +0 -1
- package/build/node_modules/mongoose/lib/internal.mjs +0 -45
- package/build/node_modules/mongoose/lib/internal.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/model.js +0 -5089
- package/build/node_modules/mongoose/lib/model.js.map +0 -1
- package/build/node_modules/mongoose/lib/model.mjs +0 -5082
- package/build/node_modules/mongoose/lib/model.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/options/PopulateOptions.js +0 -39
- package/build/node_modules/mongoose/lib/options/PopulateOptions.js.map +0 -1
- package/build/node_modules/mongoose/lib/options/PopulateOptions.mjs +0 -37
- package/build/node_modules/mongoose/lib/options/PopulateOptions.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/options/SchemaArrayOptions.js +0 -63
- package/build/node_modules/mongoose/lib/options/SchemaArrayOptions.js.map +0 -1
- package/build/node_modules/mongoose/lib/options/SchemaArrayOptions.mjs +0 -61
- package/build/node_modules/mongoose/lib/options/SchemaArrayOptions.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/options/SchemaBufferOptions.js +0 -42
- package/build/node_modules/mongoose/lib/options/SchemaBufferOptions.js.map +0 -1
- package/build/node_modules/mongoose/lib/options/SchemaBufferOptions.mjs +0 -40
- package/build/node_modules/mongoose/lib/options/SchemaBufferOptions.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/options/SchemaDateOptions.js +0 -68
- package/build/node_modules/mongoose/lib/options/SchemaDateOptions.js.map +0 -1
- package/build/node_modules/mongoose/lib/options/SchemaDateOptions.mjs +0 -66
- package/build/node_modules/mongoose/lib/options/SchemaDateOptions.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/options/SchemaDocumentArrayOptions.js +0 -72
- package/build/node_modules/mongoose/lib/options/SchemaDocumentArrayOptions.js.map +0 -1
- package/build/node_modules/mongoose/lib/options/SchemaDocumentArrayOptions.mjs +0 -70
- package/build/node_modules/mongoose/lib/options/SchemaDocumentArrayOptions.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/options/SchemaMapOptions.js +0 -47
- package/build/node_modules/mongoose/lib/options/SchemaMapOptions.js.map +0 -1
- package/build/node_modules/mongoose/lib/options/SchemaMapOptions.mjs +0 -45
- package/build/node_modules/mongoose/lib/options/SchemaMapOptions.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/options/SchemaNumberOptions.js +0 -103
- package/build/node_modules/mongoose/lib/options/SchemaNumberOptions.js.map +0 -1
- package/build/node_modules/mongoose/lib/options/SchemaNumberOptions.mjs +0 -101
- package/build/node_modules/mongoose/lib/options/SchemaNumberOptions.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/options/SchemaObjectIdOptions.js +0 -67
- package/build/node_modules/mongoose/lib/options/SchemaObjectIdOptions.js.map +0 -1
- package/build/node_modules/mongoose/lib/options/SchemaObjectIdOptions.mjs +0 -65
- package/build/node_modules/mongoose/lib/options/SchemaObjectIdOptions.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/options/SchemaSingleNestedOptions.js +0 -46
- package/build/node_modules/mongoose/lib/options/SchemaSingleNestedOptions.js.map +0 -1
- package/build/node_modules/mongoose/lib/options/SchemaSingleNestedOptions.mjs +0 -44
- package/build/node_modules/mongoose/lib/options/SchemaSingleNestedOptions.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/options/SchemaStringOptions.js +0 -142
- package/build/node_modules/mongoose/lib/options/SchemaStringOptions.js.map +0 -1
- package/build/node_modules/mongoose/lib/options/SchemaStringOptions.mjs +0 -140
- package/build/node_modules/mongoose/lib/options/SchemaStringOptions.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/options/SchemaTypeOptions.js +0 -235
- package/build/node_modules/mongoose/lib/options/SchemaTypeOptions.js.map +0 -1
- package/build/node_modules/mongoose/lib/options/SchemaTypeOptions.mjs +0 -233
- package/build/node_modules/mongoose/lib/options/SchemaTypeOptions.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/options/VirtualOptions.js +0 -167
- package/build/node_modules/mongoose/lib/options/VirtualOptions.js.map +0 -1
- package/build/node_modules/mongoose/lib/options/VirtualOptions.mjs +0 -165
- package/build/node_modules/mongoose/lib/options/VirtualOptions.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/options/propertyOptions.js +0 -11
- package/build/node_modules/mongoose/lib/options/propertyOptions.js.map +0 -1
- package/build/node_modules/mongoose/lib/options/propertyOptions.mjs +0 -9
- package/build/node_modules/mongoose/lib/options/propertyOptions.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/options/removeOptions.js +0 -17
- package/build/node_modules/mongoose/lib/options/removeOptions.js.map +0 -1
- package/build/node_modules/mongoose/lib/options/removeOptions.mjs +0 -15
- package/build/node_modules/mongoose/lib/options/removeOptions.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/options/saveOptions.js +0 -17
- package/build/node_modules/mongoose/lib/options/saveOptions.js.map +0 -1
- package/build/node_modules/mongoose/lib/options/saveOptions.mjs +0 -15
- package/build/node_modules/mongoose/lib/options/saveOptions.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/options.js +0 -25
- package/build/node_modules/mongoose/lib/options.js.map +0 -1
- package/build/node_modules/mongoose/lib/options.mjs +0 -21
- package/build/node_modules/mongoose/lib/options.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/plugins/idGetter.js +0 -31
- package/build/node_modules/mongoose/lib/plugins/idGetter.js.map +0 -1
- package/build/node_modules/mongoose/lib/plugins/idGetter.mjs +0 -29
- package/build/node_modules/mongoose/lib/plugins/idGetter.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/plugins/removeSubdocs.js +0 -34
- package/build/node_modules/mongoose/lib/plugins/removeSubdocs.js.map +0 -1
- package/build/node_modules/mongoose/lib/plugins/removeSubdocs.mjs +0 -32
- package/build/node_modules/mongoose/lib/plugins/removeSubdocs.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/plugins/saveSubdocs.js +0 -69
- package/build/node_modules/mongoose/lib/plugins/saveSubdocs.js.map +0 -1
- package/build/node_modules/mongoose/lib/plugins/saveSubdocs.mjs +0 -67
- package/build/node_modules/mongoose/lib/plugins/saveSubdocs.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/plugins/sharding.js +0 -93
- package/build/node_modules/mongoose/lib/plugins/sharding.js.map +0 -1
- package/build/node_modules/mongoose/lib/plugins/sharding.mjs +0 -89
- package/build/node_modules/mongoose/lib/plugins/sharding.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/plugins/trackTransaction.js +0 -96
- package/build/node_modules/mongoose/lib/plugins/trackTransaction.js.map +0 -1
- package/build/node_modules/mongoose/lib/plugins/trackTransaction.mjs +0 -94
- package/build/node_modules/mongoose/lib/plugins/trackTransaction.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/plugins/validateBeforeSave.js +0 -48
- package/build/node_modules/mongoose/lib/plugins/validateBeforeSave.js.map +0 -1
- package/build/node_modules/mongoose/lib/plugins/validateBeforeSave.mjs +0 -46
- package/build/node_modules/mongoose/lib/plugins/validateBeforeSave.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/promise_provider.js +0 -60
- package/build/node_modules/mongoose/lib/promise_provider.js.map +0 -1
- package/build/node_modules/mongoose/lib/promise_provider.mjs +0 -54
- package/build/node_modules/mongoose/lib/promise_provider.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/query.js +0 -5588
- package/build/node_modules/mongoose/lib/query.js.map +0 -1
- package/build/node_modules/mongoose/lib/query.mjs +0 -5582
- package/build/node_modules/mongoose/lib/query.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/queryhelpers.js +0 -341
- package/build/node_modules/mongoose/lib/queryhelpers.js.map +0 -1
- package/build/node_modules/mongoose/lib/queryhelpers.mjs +0 -339
- package/build/node_modules/mongoose/lib/queryhelpers.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/schema/SingleNestedPath.js +0 -358
- package/build/node_modules/mongoose/lib/schema/SingleNestedPath.js.map +0 -1
- package/build/node_modules/mongoose/lib/schema/SingleNestedPath.mjs +0 -352
- package/build/node_modules/mongoose/lib/schema/SingleNestedPath.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/schema/array.js +0 -676
- package/build/node_modules/mongoose/lib/schema/array.js.map +0 -1
- package/build/node_modules/mongoose/lib/schema/array.mjs +0 -670
- package/build/node_modules/mongoose/lib/schema/array.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/schema/boolean.js +0 -278
- package/build/node_modules/mongoose/lib/schema/boolean.js.map +0 -1
- package/build/node_modules/mongoose/lib/schema/boolean.mjs +0 -276
- package/build/node_modules/mongoose/lib/schema/boolean.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/schema/buffer.js +0 -276
- package/build/node_modules/mongoose/lib/schema/buffer.js.map +0 -1
- package/build/node_modules/mongoose/lib/schema/buffer.mjs +0 -274
- package/build/node_modules/mongoose/lib/schema/buffer.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/schema/date.js +0 -411
- package/build/node_modules/mongoose/lib/schema/date.js.map +0 -1
- package/build/node_modules/mongoose/lib/schema/date.mjs +0 -409
- package/build/node_modules/mongoose/lib/schema/date.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/schema/decimal128.js +0 -218
- package/build/node_modules/mongoose/lib/schema/decimal128.js.map +0 -1
- package/build/node_modules/mongoose/lib/schema/decimal128.mjs +0 -216
- package/build/node_modules/mongoose/lib/schema/decimal128.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/schema/documentarray.js +0 -591
- package/build/node_modules/mongoose/lib/schema/documentarray.js.map +0 -1
- package/build/node_modules/mongoose/lib/schema/documentarray.mjs +0 -584
- package/build/node_modules/mongoose/lib/schema/documentarray.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/schema/index.js +0 -52
- package/build/node_modules/mongoose/lib/schema/index.js.map +0 -1
- package/build/node_modules/mongoose/lib/schema/index.mjs +0 -50
- package/build/node_modules/mongoose/lib/schema/index.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/schema/map.js +0 -84
- package/build/node_modules/mongoose/lib/schema/map.js.map +0 -1
- package/build/node_modules/mongoose/lib/schema/map.mjs +0 -82
- package/build/node_modules/mongoose/lib/schema/map.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/schema/mixed.js +0 -140
- package/build/node_modules/mongoose/lib/schema/mixed.js.map +0 -1
- package/build/node_modules/mongoose/lib/schema/mixed.mjs +0 -138
- package/build/node_modules/mongoose/lib/schema/mixed.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/schema/number.js +0 -443
- package/build/node_modules/mongoose/lib/schema/number.js.map +0 -1
- package/build/node_modules/mongoose/lib/schema/number.mjs +0 -441
- package/build/node_modules/mongoose/lib/schema/number.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/schema/objectid.js +0 -307
- package/build/node_modules/mongoose/lib/schema/objectid.js.map +0 -1
- package/build/node_modules/mongoose/lib/schema/objectid.mjs +0 -305
- package/build/node_modules/mongoose/lib/schema/objectid.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/schema/operators/bitwise.js +0 -43
- package/build/node_modules/mongoose/lib/schema/operators/bitwise.js.map +0 -1
- package/build/node_modules/mongoose/lib/schema/operators/bitwise.mjs +0 -41
- package/build/node_modules/mongoose/lib/schema/operators/bitwise.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/schema/operators/exists.js +0 -15
- package/build/node_modules/mongoose/lib/schema/operators/exists.js.map +0 -1
- package/build/node_modules/mongoose/lib/schema/operators/exists.mjs +0 -13
- package/build/node_modules/mongoose/lib/schema/operators/exists.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/schema/operators/geospatial.js +0 -121
- package/build/node_modules/mongoose/lib/schema/operators/geospatial.js.map +0 -1
- package/build/node_modules/mongoose/lib/schema/operators/geospatial.mjs +0 -115
- package/build/node_modules/mongoose/lib/schema/operators/geospatial.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/schema/operators/helpers.js +0 -46
- package/build/node_modules/mongoose/lib/schema/operators/helpers.js.map +0 -1
- package/build/node_modules/mongoose/lib/schema/operators/helpers.mjs +0 -41
- package/build/node_modules/mongoose/lib/schema/operators/helpers.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/schema/operators/text.js +0 -42
- package/build/node_modules/mongoose/lib/schema/operators/text.js.map +0 -1
- package/build/node_modules/mongoose/lib/schema/operators/text.mjs +0 -40
- package/build/node_modules/mongoose/lib/schema/operators/text.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/schema/operators/type.js +0 -23
- package/build/node_modules/mongoose/lib/schema/operators/type.js.map +0 -1
- package/build/node_modules/mongoose/lib/schema/operators/type.mjs +0 -21
- package/build/node_modules/mongoose/lib/schema/operators/type.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/schema/string.js +0 -681
- package/build/node_modules/mongoose/lib/schema/string.js.map +0 -1
- package/build/node_modules/mongoose/lib/schema/string.mjs +0 -679
- package/build/node_modules/mongoose/lib/schema/string.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/schema/symbols.js +0 -17
- package/build/node_modules/mongoose/lib/schema/symbols.js.map +0 -1
- package/build/node_modules/mongoose/lib/schema/symbols.mjs +0 -12
- package/build/node_modules/mongoose/lib/schema/symbols.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/schema.js +0 -2205
- package/build/node_modules/mongoose/lib/schema.js.map +0 -1
- package/build/node_modules/mongoose/lib/schema.mjs +0 -2198
- package/build/node_modules/mongoose/lib/schema.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/schematype.js +0 -1694
- package/build/node_modules/mongoose/lib/schematype.js.map +0 -1
- package/build/node_modules/mongoose/lib/schematype.mjs +0 -1688
- package/build/node_modules/mongoose/lib/schematype.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/statemachine.js +0 -184
- package/build/node_modules/mongoose/lib/statemachine.js.map +0 -1
- package/build/node_modules/mongoose/lib/statemachine.mjs +0 -182
- package/build/node_modules/mongoose/lib/statemachine.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/types/array.js +0 -91
- package/build/node_modules/mongoose/lib/types/array.js.map +0 -1
- package/build/node_modules/mongoose/lib/types/array.mjs +0 -89
- package/build/node_modules/mongoose/lib/types/array.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/types/buffer.js +0 -283
- package/build/node_modules/mongoose/lib/types/buffer.js.map +0 -1
- package/build/node_modules/mongoose/lib/types/buffer.mjs +0 -281
- package/build/node_modules/mongoose/lib/types/buffer.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/types/core_array.js +0 -982
- package/build/node_modules/mongoose/lib/types/core_array.js.map +0 -1
- package/build/node_modules/mongoose/lib/types/core_array.mjs +0 -976
- package/build/node_modules/mongoose/lib/types/core_array.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/types/decimal128.js +0 -18
- package/build/node_modules/mongoose/lib/types/decimal128.js.map +0 -1
- package/build/node_modules/mongoose/lib/types/decimal128.mjs +0 -16
- package/build/node_modules/mongoose/lib/types/decimal128.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/types/documentarray.js +0 -462
- package/build/node_modules/mongoose/lib/types/documentarray.js.map +0 -1
- package/build/node_modules/mongoose/lib/types/documentarray.mjs +0 -456
- package/build/node_modules/mongoose/lib/types/documentarray.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/types/embedded.js +0 -474
- package/build/node_modules/mongoose/lib/types/embedded.js.map +0 -1
- package/build/node_modules/mongoose/lib/types/embedded.mjs +0 -467
- package/build/node_modules/mongoose/lib/types/embedded.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/types/index.js +0 -31
- package/build/node_modules/mongoose/lib/types/index.js.map +0 -1
- package/build/node_modules/mongoose/lib/types/index.mjs +0 -29
- package/build/node_modules/mongoose/lib/types/index.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/types/map.js +0 -252
- package/build/node_modules/mongoose/lib/types/map.js.map +0 -1
- package/build/node_modules/mongoose/lib/types/map.mjs +0 -246
- package/build/node_modules/mongoose/lib/types/map.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/types/objectid.js +0 -36
- package/build/node_modules/mongoose/lib/types/objectid.js.map +0 -1
- package/build/node_modules/mongoose/lib/types/objectid.mjs +0 -34
- package/build/node_modules/mongoose/lib/types/objectid.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/types/subdocument.js +0 -308
- package/build/node_modules/mongoose/lib/types/subdocument.js.map +0 -1
- package/build/node_modules/mongoose/lib/types/subdocument.mjs +0 -306
- package/build/node_modules/mongoose/lib/types/subdocument.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/utils.js +0 -962
- package/build/node_modules/mongoose/lib/utils.js.map +0 -1
- package/build/node_modules/mongoose/lib/utils.mjs +0 -960
- package/build/node_modules/mongoose/lib/utils.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/validoptions.js +0 -39
- package/build/node_modules/mongoose/lib/validoptions.js.map +0 -1
- package/build/node_modules/mongoose/lib/validoptions.mjs +0 -37
- package/build/node_modules/mongoose/lib/validoptions.mjs.map +0 -1
- package/build/node_modules/mongoose/lib/virtualtype.js +0 -179
- package/build/node_modules/mongoose/lib/virtualtype.js.map +0 -1
- package/build/node_modules/mongoose/lib/virtualtype.mjs +0 -177
- package/build/node_modules/mongoose/lib/virtualtype.mjs.map +0 -1
- package/build/node_modules/mongoose/node_modules/safe-buffer/index.js +0 -80
- package/build/node_modules/mongoose/node_modules/safe-buffer/index.js.map +0 -1
- package/build/node_modules/mongoose/node_modules/safe-buffer/index.mjs +0 -74
- package/build/node_modules/mongoose/node_modules/safe-buffer/index.mjs.map +0 -1
- package/build/node_modules/mongoose/package.json.js +0 -299
- package/build/node_modules/mongoose/package.json.js.map +0 -1
- package/build/node_modules/mongoose/package.mjs +0 -277
- package/build/node_modules/mongoose/package.mjs.map +0 -1
- package/build/node_modules/mongoose-legacy-pluralize/index.js +0 -104
- package/build/node_modules/mongoose-legacy-pluralize/index.js.map +0 -1
- package/build/node_modules/mongoose-legacy-pluralize/index.mjs +0 -102
- package/build/node_modules/mongoose-legacy-pluralize/index.mjs.map +0 -1
- package/build/node_modules/mpath/index.js +0 -12
- package/build/node_modules/mpath/index.js.map +0 -1
- package/build/node_modules/mpath/index.mjs +0 -10
- package/build/node_modules/mpath/index.mjs.map +0 -1
- package/build/node_modules/mpath/lib/index.js +0 -325
- package/build/node_modules/mpath/lib/index.js.map +0 -1
- package/build/node_modules/mpath/lib/index.mjs +0 -323
- package/build/node_modules/mpath/lib/index.mjs.map +0 -1
- package/build/node_modules/mpath/lib/stringToParts.js +0 -51
- package/build/node_modules/mpath/lib/stringToParts.js.map +0 -1
- package/build/node_modules/mpath/lib/stringToParts.mjs +0 -49
- package/build/node_modules/mpath/lib/stringToParts.mjs.map +0 -1
- package/build/node_modules/mquery/lib/collection/collection.js +0 -54
- package/build/node_modules/mquery/lib/collection/collection.js.map +0 -1
- package/build/node_modules/mquery/lib/collection/collection.mjs +0 -52
- package/build/node_modules/mquery/lib/collection/collection.mjs.map +0 -1
- package/build/node_modules/mquery/lib/collection/index.js +0 -17
- package/build/node_modules/mquery/lib/collection/index.js.map +0 -1
- package/build/node_modules/mquery/lib/collection/index.mjs +0 -15
- package/build/node_modules/mquery/lib/collection/index.mjs.map +0 -1
- package/build/node_modules/mquery/lib/collection/node.js +0 -161
- package/build/node_modules/mquery/lib/collection/node.js.map +0 -1
- package/build/node_modules/mquery/lib/collection/node.mjs +0 -159
- package/build/node_modules/mquery/lib/collection/node.mjs.map +0 -1
- package/build/node_modules/mquery/lib/env.js +0 -30
- package/build/node_modules/mquery/lib/env.js.map +0 -1
- package/build/node_modules/mquery/lib/env.mjs +0 -28
- package/build/node_modules/mquery/lib/env.mjs.map +0 -1
- package/build/node_modules/mquery/lib/mquery.js +0 -3276
- package/build/node_modules/mquery/lib/mquery.js.map +0 -1
- package/build/node_modules/mquery/lib/mquery.mjs +0 -3268
- package/build/node_modules/mquery/lib/mquery.mjs.map +0 -1
- package/build/node_modules/mquery/lib/permissions.js +0 -96
- package/build/node_modules/mquery/lib/permissions.js.map +0 -1
- package/build/node_modules/mquery/lib/permissions.mjs +0 -94
- package/build/node_modules/mquery/lib/permissions.mjs.map +0 -1
- package/build/node_modules/mquery/lib/utils.js +0 -373
- package/build/node_modules/mquery/lib/utils.js.map +0 -1
- package/build/node_modules/mquery/lib/utils.mjs +0 -371
- package/build/node_modules/mquery/lib/utils.mjs.map +0 -1
- package/build/node_modules/ms/index.js +0 -166
- package/build/node_modules/ms/index.js.map +0 -1
- package/build/node_modules/ms/index.mjs +0 -164
- package/build/node_modules/ms/index.mjs.map +0 -1
- package/build/node_modules/optional-require/index.js +0 -82
- package/build/node_modules/optional-require/index.js.map +0 -1
- package/build/node_modules/optional-require/index.mjs +0 -76
- package/build/node_modules/optional-require/index.mjs.map +0 -1
- package/build/node_modules/process-nextick-args/index.js +0 -52
- package/build/node_modules/process-nextick-args/index.js.map +0 -1
- package/build/node_modules/process-nextick-args/index.mjs +0 -50
- package/build/node_modules/process-nextick-args/index.mjs.map +0 -1
- package/build/node_modules/redis/index.js +0 -1136
- package/build/node_modules/redis/index.js.map +0 -1
- package/build/node_modules/redis/index.mjs +0 -1127
- package/build/node_modules/redis/index.mjs.map +0 -1
- package/build/node_modules/redis/lib/command.js +0 -19
- package/build/node_modules/redis/lib/command.js.map +0 -1
- package/build/node_modules/redis/lib/command.mjs +0 -17
- package/build/node_modules/redis/lib/command.mjs.map +0 -1
- package/build/node_modules/redis/lib/commands.js +0 -127
- package/build/node_modules/redis/lib/commands.js.map +0 -1
- package/build/node_modules/redis/lib/commands.mjs +0 -125
- package/build/node_modules/redis/lib/commands.mjs.map +0 -1
- package/build/node_modules/redis/lib/createClient.js +0 -87
- package/build/node_modules/redis/lib/createClient.js.map +0 -1
- package/build/node_modules/redis/lib/createClient.mjs +0 -81
- package/build/node_modules/redis/lib/createClient.mjs.map +0 -1
- package/build/node_modules/redis/lib/customErrors.js +0 -69
- package/build/node_modules/redis/lib/customErrors.js.map +0 -1
- package/build/node_modules/redis/lib/customErrors.mjs +0 -62
- package/build/node_modules/redis/lib/customErrors.mjs.map +0 -1
- package/build/node_modules/redis/lib/debug.js +0 -14
- package/build/node_modules/redis/lib/debug.js.map +0 -1
- package/build/node_modules/redis/lib/debug.mjs +0 -12
- package/build/node_modules/redis/lib/debug.mjs.map +0 -1
- package/build/node_modules/redis/lib/extendedApi.js +0 -117
- package/build/node_modules/redis/lib/extendedApi.js.map +0 -1
- package/build/node_modules/redis/lib/extendedApi.mjs +0 -115
- package/build/node_modules/redis/lib/extendedApi.mjs.map +0 -1
- package/build/node_modules/redis/lib/individualCommands.js +0 -620
- package/build/node_modules/redis/lib/individualCommands.js.map +0 -1
- package/build/node_modules/redis/lib/individualCommands.mjs +0 -618
- package/build/node_modules/redis/lib/individualCommands.mjs.map +0 -1
- package/build/node_modules/redis/lib/multi.js +0 -190
- package/build/node_modules/redis/lib/multi.js.map +0 -1
- package/build/node_modules/redis/lib/multi.mjs +0 -188
- package/build/node_modules/redis/lib/multi.mjs.map +0 -1
- package/build/node_modules/redis/lib/utils.js +0 -137
- package/build/node_modules/redis/lib/utils.js.map +0 -1
- package/build/node_modules/redis/lib/utils.mjs +0 -135
- package/build/node_modules/redis/lib/utils.mjs.map +0 -1
- package/build/node_modules/redis-commands/commands.json.js +0 -2785
- package/build/node_modules/redis-commands/commands.json.js.map +0 -1
- package/build/node_modules/redis-commands/commands.mjs +0 -2560
- package/build/node_modules/redis-commands/commands.mjs.map +0 -1
- package/build/node_modules/redis-commands/index.js +0 -177
- package/build/node_modules/redis-commands/index.js.map +0 -1
- package/build/node_modules/redis-commands/index.mjs +0 -175
- package/build/node_modules/redis-commands/index.mjs.map +0 -1
- package/build/node_modules/redis-parser/index.js +0 -21
- package/build/node_modules/redis-parser/index.js.map +0 -1
- package/build/node_modules/redis-parser/index.mjs +0 -15
- package/build/node_modules/redis-parser/index.mjs.map +0 -1
- package/build/node_modules/redis-parser/lib/hiredis.js +0 -69
- package/build/node_modules/redis-parser/lib/hiredis.js.map +0 -1
- package/build/node_modules/redis-parser/lib/hiredis.mjs +0 -63
- package/build/node_modules/redis-parser/lib/hiredis.mjs.map +0 -1
- package/build/node_modules/redis-parser/lib/parser.js +0 -593
- package/build/node_modules/redis-parser/lib/parser.js.map +0 -1
- package/build/node_modules/redis-parser/lib/parser.mjs +0 -587
- package/build/node_modules/redis-parser/lib/parser.mjs.map +0 -1
- package/build/node_modules/redis-parser/lib/parserError.js +0 -34
- package/build/node_modules/redis-parser/lib/parserError.js.map +0 -1
- package/build/node_modules/redis-parser/lib/parserError.mjs +0 -27
- package/build/node_modules/redis-parser/lib/parserError.mjs.map +0 -1
- package/build/node_modules/redis-parser/lib/redisError.js +0 -31
- package/build/node_modules/redis-parser/lib/redisError.js.map +0 -1
- package/build/node_modules/redis-parser/lib/redisError.mjs +0 -25
- package/build/node_modules/redis-parser/lib/redisError.mjs.map +0 -1
- package/build/node_modules/redis-parser/lib/replyError.js +0 -31
- package/build/node_modules/redis-parser/lib/replyError.js.map +0 -1
- package/build/node_modules/redis-parser/lib/replyError.mjs +0 -25
- package/build/node_modules/redis-parser/lib/replyError.mjs.map +0 -1
- package/build/node_modules/regexp-clone/index.js +0 -34
- package/build/node_modules/regexp-clone/index.js.map +0 -1
- package/build/node_modules/regexp-clone/index.mjs +0 -32
- package/build/node_modules/regexp-clone/index.mjs.map +0 -1
- package/build/node_modules/safe-buffer/index.js +0 -76
- package/build/node_modules/safe-buffer/index.js.map +0 -1
- package/build/node_modules/safe-buffer/index.mjs +0 -70
- package/build/node_modules/safe-buffer/index.mjs.map +0 -1
- package/build/node_modules/saslprep/index.js +0 -162
- package/build/node_modules/saslprep/index.js.map +0 -1
- package/build/node_modules/saslprep/index.mjs +0 -160
- package/build/node_modules/saslprep/index.mjs.map +0 -1
- package/build/node_modules/saslprep/lib/memory-code-points.js +0 -47
- package/build/node_modules/saslprep/lib/memory-code-points.js.map +0 -1
- package/build/node_modules/saslprep/lib/memory-code-points.mjs +0 -40
- package/build/node_modules/saslprep/lib/memory-code-points.mjs.map +0 -1
- package/build/node_modules/sift/es5m/index.js +0 -683
- package/build/node_modules/sift/es5m/index.js.map +0 -1
- package/build/node_modules/sift/es5m/index.mjs +0 -652
- package/build/node_modules/sift/es5m/index.mjs.map +0 -1
- package/build/node_modules/sliced/index.js +0 -36
- package/build/node_modules/sliced/index.js.map +0 -1
- package/build/node_modules/sliced/index.mjs +0 -34
- package/build/node_modules/sliced/index.mjs.map +0 -1
- package/build/node_modules/sparse-bitfield/index.js +0 -100
- package/build/node_modules/sparse-bitfield/index.js.map +0 -1
- package/build/node_modules/sparse-bitfield/index.mjs +0 -98
- package/build/node_modules/sparse-bitfield/index.mjs.map +0 -1
- package/build/node_modules/util-deprecate/node.js +0 -16
- package/build/node_modules/util-deprecate/node.js.map +0 -1
- package/build/node_modules/util-deprecate/node.mjs +0 -10
- package/build/node_modules/util-deprecate/node.mjs.map +0 -1
- package/build/node_modules/ws/index.js +0 -17
- package/build/node_modules/ws/index.js.map +0 -1
- package/build/node_modules/ws/index.mjs +0 -15
- package/build/node_modules/ws/index.mjs.map +0 -1
- package/build/node_modules/ws/lib/buffer-util.js +0 -143
- package/build/node_modules/ws/lib/buffer-util.js.map +0 -1
- package/build/node_modules/ws/lib/buffer-util.mjs +0 -137
- package/build/node_modules/ws/lib/buffer-util.mjs.map +0 -1
- package/build/node_modules/ws/lib/constants.js +0 -13
- package/build/node_modules/ws/lib/constants.js.map +0 -1
- package/build/node_modules/ws/lib/constants.mjs +0 -11
- package/build/node_modules/ws/lib/constants.mjs.map +0 -1
- package/build/node_modules/ws/lib/event-target.js +0 -187
- package/build/node_modules/ws/lib/event-target.js.map +0 -1
- package/build/node_modules/ws/lib/event-target.mjs +0 -185
- package/build/node_modules/ws/lib/event-target.mjs.map +0 -1
- package/build/node_modules/ws/lib/extension.js +0 -226
- package/build/node_modules/ws/lib/extension.js.map +0 -1
- package/build/node_modules/ws/lib/extension.mjs +0 -224
- package/build/node_modules/ws/lib/extension.mjs.map +0 -1
- package/build/node_modules/ws/lib/limiter.js +0 -58
- package/build/node_modules/ws/lib/limiter.js.map +0 -1
- package/build/node_modules/ws/lib/limiter.mjs +0 -56
- package/build/node_modules/ws/lib/limiter.mjs.map +0 -1
- package/build/node_modules/ws/lib/permessage-deflate.js +0 -526
- package/build/node_modules/ws/lib/permessage-deflate.js.map +0 -1
- package/build/node_modules/ws/lib/permessage-deflate.mjs +0 -520
- package/build/node_modules/ws/lib/permessage-deflate.mjs.map +0 -1
- package/build/node_modules/ws/lib/receiver.js +0 -620
- package/build/node_modules/ws/lib/receiver.js.map +0 -1
- package/build/node_modules/ws/lib/receiver.mjs +0 -614
- package/build/node_modules/ws/lib/receiver.mjs.map +0 -1
- package/build/node_modules/ws/lib/sender.js +0 -424
- package/build/node_modules/ws/lib/sender.js.map +0 -1
- package/build/node_modules/ws/lib/sender.mjs +0 -418
- package/build/node_modules/ws/lib/sender.mjs.map +0 -1
- package/build/node_modules/ws/lib/stream.js +0 -186
- package/build/node_modules/ws/lib/stream.js.map +0 -1
- package/build/node_modules/ws/lib/stream.mjs +0 -180
- package/build/node_modules/ws/lib/stream.mjs.map +0 -1
- package/build/node_modules/ws/lib/validation.js +0 -117
- package/build/node_modules/ws/lib/validation.js.map +0 -1
- package/build/node_modules/ws/lib/validation.mjs +0 -111
- package/build/node_modules/ws/lib/validation.mjs.map +0 -1
- package/build/node_modules/ws/lib/websocket-server.js +0 -467
- package/build/node_modules/ws/lib/websocket-server.js.map +0 -1
- package/build/node_modules/ws/lib/websocket-server.mjs +0 -459
- package/build/node_modules/ws/lib/websocket-server.mjs.map +0 -1
- package/build/node_modules/ws/lib/websocket.js +0 -1138
- package/build/node_modules/ws/lib/websocket.js.map +0 -1
- package/build/node_modules/ws/lib/websocket.mjs +0 -1126
- package/build/node_modules/ws/lib/websocket.mjs.map +0 -1
- package/build/packages/core/src/Debug.js +0 -34
- package/build/packages/core/src/Debug.js.map +0 -1
- package/build/packages/core/src/Debug.mjs +0 -20
- package/build/packages/core/src/Debug.mjs.map +0 -1
- package/build/packages/core/src/IPC.js +0 -65
- package/build/packages/core/src/IPC.js.map +0 -1
- package/build/packages/core/src/IPC.mjs +0 -60
- package/build/packages/core/src/IPC.mjs.map +0 -1
- package/build/packages/core/src/Logger.js +0 -12
- package/build/packages/core/src/Logger.js.map +0 -1
- package/build/packages/core/src/Logger.mjs +0 -8
- package/build/packages/core/src/Logger.mjs.map +0 -1
- package/build/packages/core/src/MatchMaker.js +0 -401
- package/build/packages/core/src/MatchMaker.js.map +0 -1
- package/build/packages/core/src/MatchMaker.mjs +0 -382
- package/build/packages/core/src/MatchMaker.mjs.map +0 -1
- package/build/packages/core/src/Protocol.js +0 -164
- package/build/packages/core/src/Protocol.js.map +0 -1
- package/build/packages/core/src/Protocol.mjs +0 -154
- package/build/packages/core/src/Protocol.mjs.map +0 -1
- package/build/packages/core/src/Room.js +0 -569
- package/build/packages/core/src/Room.js.map +0 -1
- package/build/packages/core/src/Room.mjs +0 -559
- package/build/packages/core/src/Room.mjs.map +0 -1
- package/build/packages/core/src/Server.js +0 -222
- package/build/packages/core/src/Server.js.map +0 -1
- package/build/packages/core/src/Server.mjs +0 -218
- package/build/packages/core/src/Server.mjs.map +0 -1
- package/build/packages/core/src/Transport.js +0 -17
- package/build/packages/core/src/Transport.js.map +0 -1
- package/build/packages/core/src/Transport.mjs +0 -13
- package/build/packages/core/src/Transport.mjs.map +0 -1
- package/build/packages/core/src/Utils.js +0 -225
- package/build/packages/core/src/Utils.js.map +0 -1
- package/build/packages/core/src/Utils.mjs +0 -209
- package/build/packages/core/src/Utils.mjs.map +0 -1
- package/build/packages/core/src/discovery/index.js +0 -31
- package/build/packages/core/src/discovery/index.js.map +0 -1
- package/build/packages/core/src/discovery/index.mjs +0 -22
- package/build/packages/core/src/discovery/index.mjs.map +0 -1
- package/build/packages/core/src/errors/SeatReservationError.js +0 -12
- package/build/packages/core/src/errors/SeatReservationError.js.map +0 -1
- package/build/packages/core/src/errors/SeatReservationError.mjs +0 -8
- package/build/packages/core/src/errors/SeatReservationError.mjs.map +0 -1
- package/build/packages/core/src/errors/ServerError.js +0 -21
- package/build/packages/core/src/errors/ServerError.js.map +0 -1
- package/build/packages/core/src/errors/ServerError.mjs +0 -17
- package/build/packages/core/src/errors/ServerError.mjs.map +0 -1
- package/build/packages/core/src/index.js +0 -96
- package/build/packages/core/src/index.js.map +0 -1
- package/build/packages/core/src/index.mjs +0 -19
- package/build/packages/core/src/index.mjs.map +0 -1
- package/build/packages/core/src/matchmaker/Lobby.js +0 -31
- package/build/packages/core/src/matchmaker/Lobby.js.map +0 -1
- package/build/packages/core/src/matchmaker/Lobby.mjs +0 -26
- package/build/packages/core/src/matchmaker/Lobby.mjs.map +0 -1
- package/build/packages/core/src/matchmaker/RegisteredHandler.js +0 -72
- package/build/packages/core/src/matchmaker/RegisteredHandler.js.map +0 -1
- package/build/packages/core/src/matchmaker/RegisteredHandler.mjs +0 -67
- package/build/packages/core/src/matchmaker/RegisteredHandler.mjs.map +0 -1
- package/build/packages/core/src/matchmaker/controller.js +0 -46
- package/build/packages/core/src/matchmaker/controller.js.map +0 -1
- package/build/packages/core/src/matchmaker/controller.mjs +0 -39
- package/build/packages/core/src/matchmaker/controller.mjs.map +0 -1
- package/build/packages/core/src/matchmaker/driver/Query.js +0 -53
- package/build/packages/core/src/matchmaker/driver/Query.js.map +0 -1
- package/build/packages/core/src/matchmaker/driver/Query.mjs +0 -49
- package/build/packages/core/src/matchmaker/driver/Query.mjs.map +0 -1
- package/build/packages/core/src/matchmaker/driver/RoomData.js +0 -80
- package/build/packages/core/src/matchmaker/driver/RoomData.js.map +0 -1
- package/build/packages/core/src/matchmaker/driver/RoomData.mjs +0 -76
- package/build/packages/core/src/matchmaker/driver/RoomData.mjs.map +0 -1
- package/build/packages/core/src/matchmaker/driver/index.js +0 -34
- package/build/packages/core/src/matchmaker/driver/index.js.map +0 -1
- package/build/packages/core/src/matchmaker/driver/index.mjs +0 -30
- package/build/packages/core/src/matchmaker/driver/index.mjs.map +0 -1
- package/build/packages/core/src/presence/LocalPresence.js +0 -156
- package/build/packages/core/src/presence/LocalPresence.js.map +0 -1
- package/build/packages/core/src/presence/LocalPresence.mjs +0 -152
- package/build/packages/core/src/presence/LocalPresence.mjs.map +0 -1
- package/build/packages/core/src/rooms/LobbyRoom.js +0 -101
- package/build/packages/core/src/rooms/LobbyRoom.js.map +0 -1
- package/build/packages/core/src/rooms/LobbyRoom.mjs +0 -97
- package/build/packages/core/src/rooms/LobbyRoom.mjs.map +0 -1
- package/build/packages/core/src/rooms/RelayRoom.js +0 -79
- package/build/packages/core/src/rooms/RelayRoom.js.map +0 -1
- package/build/packages/core/src/rooms/RelayRoom.mjs +0 -75
- package/build/packages/core/src/rooms/RelayRoom.mjs.map +0 -1
- package/build/packages/core/src/serializer/NoneSerializer.js +0 -19
- package/build/packages/core/src/serializer/NoneSerializer.js.map +0 -1
- package/build/packages/core/src/serializer/NoneSerializer.mjs +0 -15
- package/build/packages/core/src/serializer/NoneSerializer.mjs.map +0 -1
- package/build/packages/core/src/serializer/SchemaSerializer.js +0 -85
- package/build/packages/core/src/serializer/SchemaSerializer.js.map +0 -1
- package/build/packages/core/src/serializer/SchemaSerializer.mjs +0 -81
- package/build/packages/core/src/serializer/SchemaSerializer.mjs.map +0 -1
- package/build/packages/drivers/mongoose-driver/build/index.mjs +0 -23
- package/build/packages/drivers/mongoose-driver/build/index.mjs.js +0 -25
- package/build/packages/drivers/mongoose-driver/build/index.mjs.js.map +0 -1
- package/build/packages/drivers/mongoose-driver/build/index.mjs.map +0 -1
- package/build/packages/transport/ws-transport/build/WebSocketClient.mjs +0 -70
- package/build/packages/transport/ws-transport/build/WebSocketClient.mjs.js +0 -74
- package/build/packages/transport/ws-transport/build/WebSocketClient.mjs.js.map +0 -1
- package/build/packages/transport/ws-transport/build/WebSocketClient.mjs.map +0 -1
- package/build/packages/transport/ws-transport/build/WebSocketTransport.mjs +0 -102
- package/build/packages/transport/ws-transport/build/WebSocketTransport.mjs.js +0 -110
- package/build/packages/transport/ws-transport/build/WebSocketTransport.mjs.js.map +0 -1
- package/build/packages/transport/ws-transport/build/WebSocketTransport.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -57,6 +57,13 @@ npm init colyseus-app my-colyseus-server
|
|
|
57
57
|
cd my-colyseus-server
|
|
58
58
|
npm start
|
|
59
59
|
```
|
|
60
|
+
# 🏟 Colyseus Arena: Fast & Scalable Cloud Hosting
|
|
61
|
+
|
|
62
|
+
- Looking for a fully managed solution for your Colyseus game server?
|
|
63
|
+
- Want to focus on game development and not on the hosting and infrastructure?
|
|
64
|
+
- Launching a production title and need a solution for 1,000 to 100,000+ CCUs?
|
|
65
|
+
|
|
66
|
+
If so [Colyseus Arena](https://www.colyseus.io/arena) cloud hosting is the solution you are looking for. Easily upload your existing Colyseus Server code and get started today for Free!
|
|
60
67
|
|
|
61
68
|
# 🕹️ Official Client Integration
|
|
62
69
|
|
|
@@ -103,30 +110,31 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds
|
|
|
103
110
|
<!-- markdownlint-disable -->
|
|
104
111
|
<table>
|
|
105
112
|
<tr>
|
|
106
|
-
<td align="center"><a href="https://twitter.com/endel"><img src="https://avatars3.githubusercontent.com/u/130494?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Endel Dreyer</b></sub></a><br /><a href="https://github.com/gamestdio/colyseus/commits?author=endel" title="Code">💻</a> <a href="https://github.com/gamestdio/colyseus/commits?author=endel" title="Documentation">📖</a> <a href="#example-endel" title="Examples">💡</a></td>
|
|
107
|
-
<td align="center"><a href="https://github.com/fazriz"><img src="https://avatars0.githubusercontent.com/u/2628698?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Fazri Zubair</b></sub></a><br /><a href="#question-fazriz" title="Answering Questions">💬</a> <a href="https://github.com/gamestdio/colyseus/commits?author=fazriz" title="Code">💻</a> <a href="#ideas-fazriz" title="Ideas, Planning, & Feedback">🤔</a> <a href="#business-fazriz" title="Business development">💼</a></td>
|
|
108
|
-
<td align="center"><a href="http://seiyria.com"><img src="https://avatars0.githubusercontent.com/u/763609?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Kyle J. Kemp</b></sub></a><br /><a href="#question-seiyria" title="Answering Questions">💬</a> <a href="https://github.com/gamestdio/colyseus/issues?q=author%3Aseiyria" title="Bug reports">🐛</a> <a href="https://github.com/gamestdio/colyseus/commits?author=seiyria" title="Code">💻</a> <a href="#ideas-seiyria" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
109
|
-
<td align="center"><a href="https://github.com/mobyjames/"><img src="https://avatars0.githubusercontent.com/u/1327007?v=4?s=100" width="100px;" alt=""/><br /><sub><b>James Jacoby</b></sub></a><br /><a href="#question-mobyjames" title="Answering Questions">💬</a> <a href="#example-mobyjames" title="Examples">💡</a> <a href="#content-mobyjames" title="Content">🖋</a></td>
|
|
110
113
|
<td align="center"><a href="https://github.com/halftheopposite/"><img src="https://avatars0.githubusercontent.com/u/5473864?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Aymeric Chauvin</b></sub></a><br /><a href="#question-halftheopposite" title="Answering Questions">💬</a> <a href="#example-halftheopposite" title="Examples">💡</a></td>
|
|
111
|
-
<td align="center"><a href="
|
|
114
|
+
<td align="center"><a href="https://github.com/brian-hay"><img src="https://avatars2.githubusercontent.com/u/1428000?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Brian Hay</b></sub></a><br /><a href="#content-brian-hay" title="Content">🖋</a></td>
|
|
115
|
+
<td align="center"><a href="https://github.com/damian-pastorini"><img src="https://avatars2.githubusercontent.com/u/1211779?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Damian A. Pastorini</b></sub></a><br /><a href="#question-damian-pastorini" title="Answering Questions">💬</a> <a href="https://github.com/colyseus/colyseus/commits?author=damian-pastorini" title="Documentation">📖</a> <a href="https://github.com/colyseus/colyseus/issues?q=author%3Adamian-pastorini" title="Bug reports">🐛</a></td>
|
|
116
|
+
<td align="center"><a href="https://github.com/Zielak"><img src="https://avatars0.githubusercontent.com/u/625693?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Darek Greenly</b></sub></a><br /><a href="#question-Zielak" title="Answering Questions">💬</a> <a href="https://github.com/colyseus/colyseus/issues?q=author%3AZielak" title="Bug reports">🐛</a> <a href="https://github.com/colyseus/colyseus/commits?author=Zielak" title="Code">💻</a></td>
|
|
117
|
+
<td align="center"><a href="https://github.com/Vidski"><img src="https://avatars.githubusercontent.com/u/36316706?v=4?s=100" width="100px;" alt=""/><br /><sub><b>David Rydwanski</b></sub></a><br /><a href="#question-Vidski" title="Answering Questions">💬</a> <a href="https://github.com/colyseus/colyseus/commits?author=Vidski" title="Code">💻</a></td>
|
|
112
118
|
<td align="center"><a href="https://github.com/drburton"><img src="https://avatars0.githubusercontent.com/u/625595?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Dr. Burton</b></sub></a><br /><a href="#mentoring-drburton" title="Mentoring">🧑🏫</a></td>
|
|
119
|
+
<td align="center"><a href="https://twitter.com/endel"><img src="https://avatars3.githubusercontent.com/u/130494?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Endel Dreyer</b></sub></a><br /><a href="https://github.com/colyseus/colyseus/commits?author=endel" title="Code">💻</a> <a href="https://github.com/colyseus/colyseus/commits?author=endel" title="Documentation">📖</a> <a href="#example-endel" title="Examples">💡</a></td>
|
|
113
120
|
</tr>
|
|
114
121
|
<tr>
|
|
115
|
-
<td align="center"><a href="https://github.com/
|
|
116
|
-
<td align="center"><a href="https://github.com/
|
|
117
|
-
<td align="center"><a href="https://
|
|
118
|
-
<td align="center"><a href="https://github.com/
|
|
119
|
-
<td align="center"><a href="
|
|
120
|
-
<td align="center"><a href="
|
|
121
|
-
<td align="center"><a href="https://github.com/
|
|
122
|
+
<td align="center"><a href="https://github.com/enriqueto"><img src="https://avatars2.githubusercontent.com/u/5557196?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Enriqueto</b></sub></a><br /><a href="#business-enriqueto" title="Business development">💼</a></td>
|
|
123
|
+
<td align="center"><a href="https://github.com/fazriz"><img src="https://avatars0.githubusercontent.com/u/2628698?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Fazri Zubair</b></sub></a><br /><a href="#question-fazriz" title="Answering Questions">💬</a> <a href="https://github.com/colyseus/colyseus/commits?author=fazriz" title="Code">💻</a> <a href="#ideas-fazriz" title="Ideas, Planning, & Feedback">🤔</a> <a href="#business-fazriz" title="Business development">💼</a></td>
|
|
124
|
+
<td align="center"><a href="https://twitter.com/Federkun"><img src="https://avatars2.githubusercontent.com/u/21344385?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Federico</b></sub></a><br /><a href="https://github.com/colyseus/colyseus/issues?q=author%3AFederkun" title="Bug reports">🐛</a> <a href="https://github.com/colyseus/colyseus/commits?author=Federkun" title="Code">💻</a></td>
|
|
125
|
+
<td align="center"><a href="https://github.com/mobyjames/"><img src="https://avatars0.githubusercontent.com/u/1327007?v=4?s=100" width="100px;" alt=""/><br /><sub><b>James Jacoby</b></sub></a><br /><a href="#question-mobyjames" title="Answering Questions">💬</a> <a href="#example-mobyjames" title="Examples">💡</a> <a href="#content-mobyjames" title="Content">🖋</a></td>
|
|
126
|
+
<td align="center"><a href="http://wenish.github.io/portfolio/"><img src="https://avatars0.githubusercontent.com/u/18367963?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jonas Voland</b></sub></a><br /><a href="#question-Wenish" title="Answering Questions">💬</a> <a href="https://github.com/colyseus/colyseus/issues?q=author%3AWenish" title="Bug reports">🐛</a> <a href="https://github.com/colyseus/colyseus/commits?author=Wenish" title="Code">💻</a> <a href="#ideas-Wenish" title="Ideas, Planning, & Feedback">🤔</a> <a href="#example-Wenish" title="Examples">💡</a></td>
|
|
127
|
+
<td align="center"><a href="http://seiyria.com"><img src="https://avatars0.githubusercontent.com/u/763609?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Kyle J. Kemp</b></sub></a><br /><a href="#question-seiyria" title="Answering Questions">💬</a> <a href="https://github.com/colyseus/colyseus/issues?q=author%3Aseiyria" title="Bug reports">🐛</a> <a href="https://github.com/colyseus/colyseus/commits?author=seiyria" title="Code">💻</a> <a href="#ideas-seiyria" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
128
|
+
<td align="center"><a href="https://github.com/LukeWood/"><img src="https://avatars0.githubusercontent.com/u/12191303?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Luke Wood</b></sub></a><br /><a href="#question-LukeWood" title="Answering Questions">💬</a> <a href="https://github.com/colyseus/colyseus/issues?q=author%3ALukeWood" title="Bug reports">🐛</a> <a href="https://github.com/colyseus/colyseus/commits?author=LukeWood" title="Code">💻</a></td>
|
|
122
129
|
</tr>
|
|
123
130
|
<tr>
|
|
124
|
-
<td align="center"><a href="https://
|
|
125
|
-
<td align="center"><a href="https://github.com/
|
|
126
|
-
<td align="center"><a href="https://
|
|
127
|
-
<td align="center"><a href="https://github.com/
|
|
128
|
-
<td align="center"><a href="https://oyed.io"><img src="https://avatars0.githubusercontent.com/u/853683?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Tom</b></sub></a><br /><a href="#question-oyed" title="Answering Questions">💬</a> <a href="https://github.com/
|
|
129
|
-
<td align="center"><a href="https://
|
|
131
|
+
<td align="center"><a href="https://github.com/doorbash"><img src="https://avatars2.githubusercontent.com/u/5982526?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Milad Doorbash</b></sub></a><br /><a href="https://github.com/colyseus/colyseus/issues?q=author%3Adoorbash" title="Bug reports">🐛</a> <a href="https://github.com/colyseus/colyseus/commits?author=doorbash" title="Code">💻</a></td>
|
|
132
|
+
<td align="center"><a href="https://github.com/TinyDobbins"><img src="https://avatars2.githubusercontent.com/u/20824844?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Nikita Borisov</b></sub></a><br /><a href="https://github.com/colyseus/colyseus/issues?q=author%3ATinyDobbins" title="Bug reports">🐛</a> <a href="https://github.com/colyseus/colyseus/commits?author=TinyDobbins" title="Code">💻</a> <a href="#business-TinyDobbins" title="Business development">💼</a> <a href="#ideas-TinyDobbins" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
133
|
+
<td align="center"><a href="https://acemobe.com/"><img src="https://avatars2.githubusercontent.com/u/232101?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Phil Harvey</b></sub></a><br /><a href="https://github.com/colyseus/colyseus/commits?author=filharvey" title="Documentation">📖</a></td>
|
|
134
|
+
<td align="center"><a href="https://github.com/serjek"><img src="https://avatars2.githubusercontent.com/u/18265157?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sergey</b></sub></a><br /><a href="https://github.com/colyseus/colyseus/issues?q=author%3Aserjek" title="Bug reports">🐛</a> <a href="https://github.com/colyseus/colyseus/commits?author=serjek" title="Code">💻</a></td>
|
|
135
|
+
<td align="center"><a href="https://oyed.io"><img src="https://avatars0.githubusercontent.com/u/853683?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Tom</b></sub></a><br /><a href="#question-oyed" title="Answering Questions">💬</a> <a href="https://github.com/colyseus/colyseus/issues?q=author%3Aoyed" title="Bug reports">🐛</a> <a href="#ideas-oyed" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
136
|
+
<td align="center"><a href="https://github.com/supertommy"><img src="https://avatars0.githubusercontent.com/u/2236153?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Tommy Leung</b></sub></a><br /><a href="#mentoring-supertommy" title="Mentoring">🧑🏫</a></td>
|
|
137
|
+
<td align="center"><a href="https://github.com/digimbyte"><img src="https://avatars2.githubusercontent.com/u/6645396?v=4?s=100" width="100px;" alt=""/><br /><sub><b>digimbyte</b></sub></a><br /><a href="https://github.com/colyseus/colyseus/commits?author=digimbyte" title="Documentation">📖</a></td>
|
|
130
138
|
</tr>
|
|
131
139
|
</table>
|
|
132
140
|
|
package/build/Logger.js
CHANGED
|
@@ -1,12 +1,51 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var Logger_exports = {};
|
|
19
|
+
__export(Logger_exports, {
|
|
20
|
+
Logger: () => Logger,
|
|
21
|
+
logger: () => logger,
|
|
22
|
+
setLogger: () => setLogger
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(Logger_exports);
|
|
25
|
+
class Logger {
|
|
26
|
+
debug(...args) {
|
|
27
|
+
logger.debug(...args);
|
|
28
|
+
}
|
|
29
|
+
error(...args) {
|
|
30
|
+
logger.error(...args);
|
|
31
|
+
}
|
|
32
|
+
info(...args) {
|
|
33
|
+
logger.info(...args);
|
|
34
|
+
}
|
|
35
|
+
trace(...args) {
|
|
36
|
+
logger.trace(...args);
|
|
37
|
+
}
|
|
38
|
+
warn(...args) {
|
|
39
|
+
logger.warn(...args);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
let logger = console;
|
|
7
43
|
function setLogger(instance) {
|
|
8
|
-
|
|
44
|
+
logger = instance;
|
|
9
45
|
}
|
|
10
|
-
|
|
11
|
-
exports
|
|
12
|
-
|
|
46
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
47
|
+
0 && (module.exports = {
|
|
48
|
+
Logger,
|
|
49
|
+
logger,
|
|
50
|
+
setLogger
|
|
51
|
+
});
|
package/build/Logger.js.map
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/Logger.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Abstract logging adaptor\n//\nexport class Logger {\n debug(...args) {\n logger.debug(...args);\n }\n\n error(...args) {\n logger.error(...args);\n }\n\n info(...args) {\n logger.info(...args);\n }\n\n trace(...args) {\n logger.trace(...args);\n }\n\n warn(...args) {\n logger.warn(...args);\n }\n}\n\nexport let logger: Logger = console;\n\nexport function setLogger(instance: Logger) {\n logger = instance;\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGO,MAAM,OAAO;AAAA,EAClB,SAAS,MAAM;AACb,WAAO,MAAM,GAAG,IAAI;AAAA,EACtB;AAAA,EAEA,SAAS,MAAM;AACb,WAAO,MAAM,GAAG,IAAI;AAAA,EACtB;AAAA,EAEA,QAAQ,MAAM;AACZ,WAAO,KAAK,GAAG,IAAI;AAAA,EACrB;AAAA,EAEA,SAAS,MAAM;AACb,WAAO,MAAM,GAAG,IAAI;AAAA,EACtB;AAAA,EAEA,QAAQ,MAAM;AACZ,WAAO,KAAK,GAAG,IAAI;AAAA,EACrB;AACF;AAEO,IAAI,SAAiB;AAErB,mBAAmB,UAAkB;AAC1C,WAAS;AACX;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/build/Logger.mjs
CHANGED
|
@@ -1,8 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
class Logger {
|
|
2
|
+
debug(...args) {
|
|
3
|
+
logger.debug(...args);
|
|
4
|
+
}
|
|
5
|
+
error(...args) {
|
|
6
|
+
logger.error(...args);
|
|
7
|
+
}
|
|
8
|
+
info(...args) {
|
|
9
|
+
logger.info(...args);
|
|
10
|
+
}
|
|
11
|
+
trace(...args) {
|
|
12
|
+
logger.trace(...args);
|
|
13
|
+
}
|
|
14
|
+
warn(...args) {
|
|
15
|
+
logger.warn(...args);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
2
18
|
let logger = console;
|
|
3
19
|
function setLogger(instance) {
|
|
4
|
-
|
|
20
|
+
logger = instance;
|
|
5
21
|
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
22
|
+
export {
|
|
23
|
+
Logger,
|
|
24
|
+
logger,
|
|
25
|
+
setLogger
|
|
26
|
+
};
|
package/build/Logger.mjs.map
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/Logger.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Abstract logging adaptor\n//\nexport class Logger {\n debug(...args) {\n logger.debug(...args);\n }\n\n error(...args) {\n logger.error(...args);\n }\n\n info(...args) {\n logger.info(...args);\n }\n\n trace(...args) {\n logger.trace(...args);\n }\n\n warn(...args) {\n logger.warn(...args);\n }\n}\n\nexport let logger: Logger = console;\n\nexport function setLogger(instance: Logger) {\n logger = instance;\n}\n"],
|
|
5
|
+
"mappings": "AAGO,MAAM,OAAO;AAAA,EAClB,SAAS,MAAM;AACb,WAAO,MAAM,GAAG,IAAI;AAAA,EACtB;AAAA,EAEA,SAAS,MAAM;AACb,WAAO,MAAM,GAAG,IAAI;AAAA,EACtB;AAAA,EAEA,QAAQ,MAAM;AACZ,WAAO,KAAK,GAAG,IAAI;AAAA,EACrB;AAAA,EAEA,SAAS,MAAM;AACb,WAAO,MAAM,GAAG,IAAI;AAAA,EACtB;AAAA,EAEA,QAAQ,MAAM;AACZ,WAAO,KAAK,GAAG,IAAI;AAAA,EACrB;AACF;AAEO,IAAI,SAAiB;AAErB,mBAAmB,UAAkB;AAC1C,WAAS;AACX;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/build/Server.js
CHANGED
|
@@ -109,16 +109,16 @@ class Server {
|
|
|
109
109
|
return MatchMaker.defineRoomType(name, handler, defaultOptions);
|
|
110
110
|
}
|
|
111
111
|
async gracefullyShutdown(exit = true, err) {
|
|
112
|
-
await index$1.unregisterNode(this.presence, {
|
|
113
|
-
port: this.port,
|
|
114
|
-
processId: this.processId,
|
|
115
|
-
});
|
|
116
112
|
try {
|
|
113
|
+
await this.onShutdownCallback();
|
|
114
|
+
await index$1.unregisterNode(this.presence, {
|
|
115
|
+
port: this.port,
|
|
116
|
+
processId: this.processId,
|
|
117
|
+
});
|
|
117
118
|
await MatchMaker.gracefullyShutdown();
|
|
118
119
|
this.transport.shutdown();
|
|
119
120
|
this.presence.shutdown();
|
|
120
121
|
this.driver.shutdown();
|
|
121
|
-
await this.onShutdownCallback();
|
|
122
122
|
}
|
|
123
123
|
catch (e) {
|
|
124
124
|
Debug.debugAndPrintError(`error during shutdown: ${e}`);
|
package/build/Server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Server.js","sources":["../src/Server.ts"],"sourcesContent":["import http, { IncomingMessage, ServerResponse } from 'http';\n\nimport { debugAndPrintError, debugMatchMaking } from './Debug';\nimport * as matchMaker from './MatchMaker';\nimport { RegisteredHandler } from './matchmaker/RegisteredHandler';\nimport { Presence } from './presence/Presence';\n\nimport { Room } from './Room';\nimport { Type } from './types';\nimport { registerGracefulShutdown } from './Utils';\n\nimport { generateId } from '.';\nimport { registerNode, unregisterNode } from './discovery';\n\nimport { LocalPresence } from './presence/LocalPresence';\nimport { LocalDriver } from './matchmaker/driver';\n\nimport { Transport } from './Transport';\n\n// IServerOptions &\nexport type ServerOptions = {\n presence?: Presence,\n driver?: matchMaker.MatchMakerDriver,\n transport?: Transport,\n gracefullyShutdown?: boolean,\n\n /**\n * Options below are now part of WebSocketTransport (@colyseus/ws-transport)\n * TODO: remove me on 0.15.0\n */\n /** @deprecated */\n pingInterval?: number,\n\n /** @deprecated */\n pingMaxRetries?: number,\n\n /** @deprecated */\n verifyClient?: any,\n\n /** @deprecated */\n server?: http.Server,\n};\n\nexport class Server {\n public transport: Transport;\n\n protected presence: Presence;\n protected port: number;\n protected driver: matchMaker.MatchMakerDriver;\n protected processId: string = generateId();\n\n private matchmakeRoute = 'matchmake';\n private allowedRoomNameChars = /([a-zA-Z_\\-0-9]+)/gi;\n\n constructor(options: ServerOptions = {}) {\n const { gracefullyShutdown = true } = options;\n\n this.presence = options.presence || new LocalPresence();\n this.driver = options.driver || new LocalDriver();\n\n // setup matchmaker\n matchMaker.setup(this.presence, this.driver, this.processId);\n\n // \"presence\" option is not used from now on\n delete options.presence;\n\n this.attach(options);\n\n if (gracefullyShutdown) {\n registerGracefulShutdown((err) => this.gracefullyShutdown(true, err));\n }\n }\n\n public attach(options: ServerOptions) {\n /**\n * Display deprecation warnings for moved Transport options.\n * TODO: Remove me on 0.15\n */\n if (\n options.pingInterval !== undefined ||\n options.pingMaxRetries !== undefined ||\n options.server !== undefined ||\n options.verifyClient !== undefined\n ) {\n console.warn(\"DEPRECATION WARNING: 'pingInterval', 'pingMaxRetries', 'server', and 'verifyClient' Server options will be permanently moved to WebSocketTransport on v0.15\");\n console.warn(`new Server({\n transport: new WebSocketTransport({\n pingInterval: ...,\n pingMaxRetries: ...,\n server: ...,\n verifyClient: ...\n })\n})`);\n console.warn(\"👉 Documentation: https://docs.colyseus.io/server/transport/\")\n }\n\n const transport = options.transport || this.getDefaultTransport(options);\n delete options.transport;\n\n this.transport = transport;\n\n if (this.transport.server) {\n this.transport.server.once('listening', () => this.registerProcessForDiscovery());\n this.attachMatchMakingRoutes(this.transport.server as http.Server);\n }\n }\n\n /**\n * Bind the server into the port specified.\n *\n * @param port\n * @param hostname\n * @param backlog\n * @param listeningListener\n */\n public async listen(port: number, hostname?: string, backlog?: number, listeningListener?: Function) {\n this.port = port;\n\n return new Promise<void>((resolve, reject) => {\n this.transport.server?.on('error', (err) => reject(err));\n this.transport.listen(port, hostname, backlog, (err) => {\n if (listeningListener) {\n listeningListener(err);\n }\n\n if (err) {\n reject(err);\n\n } else {\n resolve();\n }\n });\n });\n }\n\n public registerProcessForDiscovery() {\n // register node for proxy/service discovery\n registerNode(this.presence, {\n port: this.port,\n processId: this.processId,\n });\n }\n\n /**\n * Define a new type of room for matchmaking.\n *\n * @param name public room identifier for match-making.\n * @param handler Room class definition\n * @param defaultOptions default options for `onCreate`\n */\n public define<T extends Type<Room>>(\n name: string,\n handler: T,\n defaultOptions?: Parameters<NonNullable<InstanceType<T>['onCreate']>>[0],\n ): RegisteredHandler {\n return matchMaker.defineRoomType(name, handler, defaultOptions);\n }\n\n public async gracefullyShutdown(exit: boolean = true, err?: Error) {\n await unregisterNode(this.presence, {\n port: this.port,\n processId: this.processId,\n });\n\n try {\n await matchMaker.gracefullyShutdown();\n\n this.transport.shutdown();\n this.presence.shutdown();\n this.driver.shutdown();\n\n await this.onShutdownCallback();\n\n } catch (e) {\n debugAndPrintError(`error during shutdown: ${e}`);\n\n } finally {\n if (exit) {\n process.exit(err ? 1 : 0);\n }\n }\n }\n\n /**\n * Add simulated latency between client and server.\n * @param milliseconds round trip latency in milliseconds.\n */\n public simulateLatency(milliseconds: number) {\n console.warn(`📶️❗ Colyseus latency simulation enabled → ${milliseconds}ms latency for round trip.`);\n\n const halfwayMS = (milliseconds / 2);\n this.transport.simulateLatency(halfwayMS);\n\n /* tslint:disable:no-string-literal */\n const _onMessage = Room.prototype['_onMessage'];\n /* tslint:disable:no-string-literal */\n Room.prototype['_onMessage'] = function (client, buffer) {\n // uWebSockets.js: duplicate buffer because it is cleared at native layer before the timeout.\n const cachedBuffer = Buffer.from(buffer);\n setTimeout(() => _onMessage.call(this, client, cachedBuffer), halfwayMS);\n };\n }\n\n /**\n * Register a callback that is going to be executed before the server shuts down.\n * @param callback\n */\n public onShutdown(callback: () => void | Promise<any>) {\n this.onShutdownCallback = callback;\n }\n\n protected getDefaultTransport(_: any): Transport {\n throw new Error(\"Please provide a 'transport' layer. Default transport not set.\");\n }\n\n protected onShutdownCallback: () => void | Promise<any> =\n () => Promise.resolve()\n\n protected attachMatchMakingRoutes(server: http.Server) {\n const listeners = server.listeners('request').slice(0);\n server.removeAllListeners('request');\n\n server.on('request', (req, res) => {\n if (req.url.indexOf(`/${this.matchmakeRoute}`) !== -1) {\n debugMatchMaking('received matchmake request: %s', req.url);\n this.handleMatchMakeRequest(req, res);\n\n } else {\n for (let i = 0, l = listeners.length; i < l; i++) {\n listeners[i].call(server, req, res);\n }\n }\n });\n }\n\n protected async handleMatchMakeRequest(req: IncomingMessage, res: ServerResponse) {\n const headers = {\n 'Access-Control-Allow-Headers': 'Origin, X-Requested-With, Content-Type, Accept',\n 'Access-Control-Allow-Methods': 'OPTIONS, POST, GET',\n 'Access-Control-Allow-Origin': '*',\n 'Access-Control-Max-Age': 2592000,\n // ...\n };\n\n if (req.method === 'OPTIONS') {\n res.writeHead(204, headers);\n res.end();\n\n } else if (req.method === 'POST') {\n const matchedParams = req.url.match(this.allowedRoomNameChars);\n const matchmakeIndex = matchedParams.indexOf(this.matchmakeRoute);\n const method = matchedParams[matchmakeIndex + 1];\n const name = matchedParams[matchmakeIndex + 2] || '';\n\n const data = [];\n req.on('data', (chunk) => data.push(chunk));\n req.on('end', async () => {\n headers['Content-Type'] = 'application/json';\n res.writeHead(200, headers);\n\n try {\n const clientOptions = JSON.parse(Buffer.concat(data).toString());\n const response = await matchMaker.controller.invokeMethod(method, name, clientOptions);\n res.write(JSON.stringify(response));\n\n } catch (e) {\n res.write(JSON.stringify({ code: e.code, error: e.message, }));\n }\n\n res.end();\n });\n\n } else if (req.method === 'GET') {\n const matchedParams = req.url.match(this.allowedRoomNameChars);\n const roomName = matchedParams.length > 1 ? matchedParams[matchedParams.length - 1] : \"\";\n\n headers['Content-Type'] = 'application/json';\n res.writeHead(200, headers);\n res.write(JSON.stringify(await matchMaker.controller.getAvailableRooms(roomName)));\n res.end();\n }\n\n }\n\n}\n"],"names":["generateId","LocalPresence","LocalDriver","matchMaker.setup","registerGracefulShutdown","registerNode","matchMaker.defineRoomType","unregisterNode","matchMaker.gracefullyShutdown","debugAndPrintError","Room","debugMatchMaking","matchMaker.controller.invokeMethod","matchMaker.controller.getAvailableRooms"],"mappings":";;;;;;;;;;;;;;;;;;;MA2Ca,MAAM;IACV,SAAS,CAAY;IAElB,QAAQ,CAAW;IACnB,IAAI,CAAS;IACb,MAAM,CAA8B;IACpC,SAAS,GAAWA,gBAAU,EAAE,CAAC;IAEnC,cAAc,GAAG,WAAW,CAAC;IAC7B,oBAAoB,GAAG,qBAAqB,CAAC;IAErD,YAAY,UAAyB,EAAE;QACrC,MAAM,EAAE,kBAAkB,GAAG,IAAI,EAAE,GAAG,OAAO,CAAC;QAE9C,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,IAAI,IAAIC,2BAAa,EAAE,CAAC;QACxD,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,IAAIC,iBAAW,EAAE,CAAC;;QAGlDC,gBAAgB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;;QAG7D,OAAO,OAAO,CAAC,QAAQ,CAAC;QAExB,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAErB,IAAI,kBAAkB,EAAE;YACtBC,8BAAwB,CAAC,CAAC,GAAG,KAAK,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC;SACvE;KACF;IAEM,MAAM,CAAC,OAAsB;;;;;QAKlC,IACE,OAAO,CAAC,YAAY,KAAK,SAAS;YAClC,OAAO,CAAC,cAAc,KAAK,SAAS;YACpC,OAAO,CAAC,MAAM,KAAK,SAAS;YAC5B,OAAO,CAAC,YAAY,KAAK,SAAS,EAClC;YACA,OAAO,C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C,CAAC,CAAC;iBAErC;gBAAC,OAAO,CAAC,EAAE;oBACV,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC;iBAChE;gBAED,GAAG,CAAC,GAAG,EAAE,CAAC;aACX,CAAC,CAAC;SAEJ;aAAM,IAAI,GAAG,CAAC,MAAM,KAAK,KAAK,EAAE;YAC/B,MAAM,aAAa,GAAG,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;YAC/D,MAAM,QAAQ,GAAG,aAAa,CAAC,MAAM,GAAG,CAAC,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC;YAEzF,OAAO,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;YAC7C,GAAG,CAAC,SAAS,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;YAC5B,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,MAAMC,4BAAuC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;YACnF,GAAG,CAAC,GAAG,EAAE,CAAC;SACX;KAEF;;;;;"}
|
|
1
|
+
{"version":3,"file":"Server.js","sources":["../src/Server.ts"],"sourcesContent":["import http, { IncomingMessage, ServerResponse } from 'http';\n\nimport { debugAndPrintError, debugMatchMaking } from './Debug';\nimport * as matchMaker from './MatchMaker';\nimport { RegisteredHandler } from './matchmaker/RegisteredHandler';\nimport { Presence } from './presence/Presence';\n\nimport { Room } from './Room';\nimport { Type } from './types';\nimport { registerGracefulShutdown } from './Utils';\n\nimport { generateId } from '.';\nimport { registerNode, unregisterNode } from './discovery';\n\nimport { LocalPresence } from './presence/LocalPresence';\nimport { LocalDriver } from './matchmaker/driver';\n\nimport { Transport } from './Transport';\n\n// IServerOptions &\nexport type ServerOptions = {\n presence?: Presence,\n driver?: matchMaker.MatchMakerDriver,\n transport?: Transport,\n gracefullyShutdown?: boolean,\n\n /**\n * Options below are now part of WebSocketTransport (@colyseus/ws-transport)\n * TODO: remove me on 0.15.0\n */\n /** @deprecated */\n pingInterval?: number,\n\n /** @deprecated */\n pingMaxRetries?: number,\n\n /** @deprecated */\n verifyClient?: any,\n\n /** @deprecated */\n server?: http.Server,\n};\n\nexport class Server {\n public transport: Transport;\n\n protected presence: Presence;\n protected port: number;\n protected driver: matchMaker.MatchMakerDriver;\n protected processId: string = generateId();\n\n private matchmakeRoute = 'matchmake';\n private allowedRoomNameChars = /([a-zA-Z_\\-0-9]+)/gi;\n\n constructor(options: ServerOptions = {}) {\n const { gracefullyShutdown = true } = options;\n\n this.presence = options.presence || new LocalPresence();\n this.driver = options.driver || new LocalDriver();\n\n // setup matchmaker\n matchMaker.setup(this.presence, this.driver, this.processId);\n\n // \"presence\" option is not used from now on\n delete options.presence;\n\n this.attach(options);\n\n if (gracefullyShutdown) {\n registerGracefulShutdown((err) => this.gracefullyShutdown(true, err));\n }\n }\n\n public attach(options: ServerOptions) {\n /**\n * Display deprecation warnings for moved Transport options.\n * TODO: Remove me on 0.15\n */\n if (\n options.pingInterval !== undefined ||\n options.pingMaxRetries !== undefined ||\n options.server !== undefined ||\n options.verifyClient !== undefined\n ) {\n console.warn(\"DEPRECATION WARNING: 'pingInterval', 'pingMaxRetries', 'server', and 'verifyClient' Server options will be permanently moved to WebSocketTransport on v0.15\");\n console.warn(`new Server({\n transport: new WebSocketTransport({\n pingInterval: ...,\n pingMaxRetries: ...,\n server: ...,\n verifyClient: ...\n })\n})`);\n console.warn(\"👉 Documentation: https://docs.colyseus.io/server/transport/\")\n }\n\n const transport = options.transport || this.getDefaultTransport(options);\n delete options.transport;\n\n this.transport = transport;\n\n if (this.transport.server) {\n this.transport.server.once('listening', () => this.registerProcessForDiscovery());\n this.attachMatchMakingRoutes(this.transport.server as http.Server);\n }\n }\n\n /**\n * Bind the server into the port specified.\n *\n * @param port\n * @param hostname\n * @param backlog\n * @param listeningListener\n */\n public async listen(port: number, hostname?: string, backlog?: number, listeningListener?: Function) {\n this.port = port;\n\n return new Promise<void>((resolve, reject) => {\n this.transport.server?.on('error', (err) => reject(err));\n this.transport.listen(port, hostname, backlog, (err) => {\n if (listeningListener) {\n listeningListener(err);\n }\n\n if (err) {\n reject(err);\n\n } else {\n resolve();\n }\n });\n });\n }\n\n public registerProcessForDiscovery() {\n // register node for proxy/service discovery\n registerNode(this.presence, {\n port: this.port,\n processId: this.processId,\n });\n }\n\n /**\n * Define a new type of room for matchmaking.\n *\n * @param name public room identifier for match-making.\n * @param handler Room class definition\n * @param defaultOptions default options for `onCreate`\n */\n public define<T extends Type<Room>>(\n name: string,\n handler: T,\n defaultOptions?: Parameters<NonNullable<InstanceType<T>['onCreate']>>[0],\n ): RegisteredHandler {\n return matchMaker.defineRoomType(name, handler, defaultOptions);\n }\n\n public async gracefullyShutdown(exit: boolean = true, err?: Error) {\n try {\n await this.onShutdownCallback();\n\n await unregisterNode(this.presence, {\n port: this.port,\n processId: this.processId,\n });\n\n await matchMaker.gracefullyShutdown();\n\n this.transport.shutdown();\n this.presence.shutdown();\n this.driver.shutdown();\n\n } catch (e) {\n debugAndPrintError(`error during shutdown: ${e}`);\n\n } finally {\n if (exit) {\n process.exit(err ? 1 : 0);\n }\n }\n }\n\n /**\n * Add simulated latency between client and server.\n * @param milliseconds round trip latency in milliseconds.\n */\n public simulateLatency(milliseconds: number) {\n console.warn(`📶️❗ Colyseus latency simulation enabled → ${milliseconds}ms latency for round trip.`);\n\n const halfwayMS = (milliseconds / 2);\n this.transport.simulateLatency(halfwayMS);\n\n /* tslint:disable:no-string-literal */\n const _onMessage = Room.prototype['_onMessage'];\n /* tslint:disable:no-string-literal */\n Room.prototype['_onMessage'] = function (client, buffer) {\n // uWebSockets.js: duplicate buffer because it is cleared at native layer before the timeout.\n const cachedBuffer = Buffer.from(buffer);\n setTimeout(() => _onMessage.call(this, client, cachedBuffer), halfwayMS);\n };\n }\n\n /**\n * Register a callback that is going to be executed before the server shuts down.\n * @param callback\n */\n public onShutdown(callback: () => void | Promise<any>) {\n this.onShutdownCallback = callback;\n }\n\n protected getDefaultTransport(_: any): Transport {\n throw new Error(\"Please provide a 'transport' layer. Default transport not set.\");\n }\n\n protected onShutdownCallback: () => void | Promise<any> =\n () => Promise.resolve()\n\n protected attachMatchMakingRoutes(server: http.Server) {\n const listeners = server.listeners('request').slice(0);\n server.removeAllListeners('request');\n\n server.on('request', (req, res) => {\n if (req.url.indexOf(`/${this.matchmakeRoute}`) !== -1) {\n debugMatchMaking('received matchmake request: %s', req.url);\n this.handleMatchMakeRequest(req, res);\n\n } else {\n for (let i = 0, l = listeners.length; i < l; i++) {\n listeners[i].call(server, req, res);\n }\n }\n });\n }\n\n protected async handleMatchMakeRequest(req: IncomingMessage, res: ServerResponse) {\n const headers = {\n 'Access-Control-Allow-Headers': 'Origin, X-Requested-With, Content-Type, Accept',\n 'Access-Control-Allow-Methods': 'OPTIONS, POST, GET',\n 'Access-Control-Allow-Origin': '*',\n 'Access-Control-Max-Age': 2592000,\n // ...\n };\n\n if (req.method === 'OPTIONS') {\n res.writeHead(204, headers);\n res.end();\n\n } else if (req.method === 'POST') {\n const matchedParams = req.url.match(this.allowedRoomNameChars);\n const matchmakeIndex = matchedParams.indexOf(this.matchmakeRoute);\n const method = matchedParams[matchmakeIndex + 1];\n const name = matchedParams[matchmakeIndex + 2] || '';\n\n const data = [];\n req.on('data', (chunk) => data.push(chunk));\n req.on('end', async () => {\n headers['Content-Type'] = 'application/json';\n res.writeHead(200, headers);\n\n try {\n const clientOptions = JSON.parse(Buffer.concat(data).toString());\n const response = await matchMaker.controller.invokeMethod(method, name, clientOptions);\n res.write(JSON.stringify(response));\n\n } catch (e) {\n res.write(JSON.stringify({ code: e.code, error: e.message, }));\n }\n\n res.end();\n });\n\n } else if (req.method === 'GET') {\n const matchedParams = req.url.match(this.allowedRoomNameChars);\n const roomName = matchedParams.length > 1 ? matchedParams[matchedParams.length - 1] : \"\";\n\n headers['Content-Type'] = 'application/json';\n res.writeHead(200, headers);\n res.write(JSON.stringify(await matchMaker.controller.getAvailableRooms(roomName)));\n res.end();\n }\n\n }\n\n}\n"],"names":["generateId","LocalPresence","LocalDriver","matchMaker.setup","registerGracefulShutdown","registerNode","matchMaker.defineRoomType","unregisterNode","matchMaker.gracefullyShutdown","debugAndPrintError","Room","debugMatchMaking","matchMaker.controller.invokeMethod","matchMaker.controller.getAvailableRooms"],"mappings":";;;;;;;;;;;;;;;;;;;MA2Ca,MAAM;IACV,SAAS,CAAY;IAElB,QAAQ,CAAW;IACnB,IAAI,CAAS;IACb,MAAM,CAA8B;IACpC,SAAS,GAAWA,gBAAU,EAAE,CAAC;IAEnC,cAAc,GAAG,WAAW,CAAC;IAC7B,oBAAoB,GAAG,qBAAqB,CAAC;IAErD,YAAY,UAAyB,EAAE;QACrC,MAAM,EAAE,kBAAkB,GAAG,IAAI,EAAE,GAAG,OAAO,CAAC;QAE9C,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,IAAI,IAAIC,2BAAa,EAAE,CAAC;QACxD,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,IAAIC,iBAAW,EAAE,CAAC;;QAGlDC,gBAAgB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;;QAG7D,OAAO,OAAO,CAAC,QAAQ,CAAC;QAExB,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAErB,IAAI,kBAAkB,EAAE;YACtBC,8BAAwB,CAAC,CAAC,GAAG,KAAK,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC;SACvE;KACF;IAEM,MAAM,CAAC,OAAsB;;;;;QAKlC,IACE,OAAO,CAAC,YAAY,KAAK,SAAS;YAClC,OAAO,CAAC,cAA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AAM,EAAE,IAAI,EAAE,aAAa,CAAC,CAAC;oBACvF,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC;iBAErC;gBAAC,OAAO,CAAC,EAAE;oBACV,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC;iBAChE;gBAED,GAAG,CAAC,GAAG,EAAE,CAAC;aACX,CAAC,CAAC;SAEJ;aAAM,IAAI,GAAG,CAAC,MAAM,KAAK,KAAK,EAAE;YAC/B,MAAM,aAAa,GAAG,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;YAC/D,MAAM,QAAQ,GAAG,aAAa,CAAC,MAAM,GAAG,CAAC,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC;YAEzF,OAAO,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;YAC7C,GAAG,CAAC,SAAS,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;YAC5B,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,MAAMC,4BAAuC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;YACnF,GAAG,CAAC,GAAG,EAAE,CAAC;SACX;KAEF;;;;;"}
|
package/build/Server.mjs
CHANGED
|
@@ -105,16 +105,16 @@ class Server {
|
|
|
105
105
|
return defineRoomType(name, handler, defaultOptions);
|
|
106
106
|
}
|
|
107
107
|
async gracefullyShutdown(exit = true, err) {
|
|
108
|
-
await unregisterNode(this.presence, {
|
|
109
|
-
port: this.port,
|
|
110
|
-
processId: this.processId,
|
|
111
|
-
});
|
|
112
108
|
try {
|
|
109
|
+
await this.onShutdownCallback();
|
|
110
|
+
await unregisterNode(this.presence, {
|
|
111
|
+
port: this.port,
|
|
112
|
+
processId: this.processId,
|
|
113
|
+
});
|
|
113
114
|
await gracefullyShutdown();
|
|
114
115
|
this.transport.shutdown();
|
|
115
116
|
this.presence.shutdown();
|
|
116
117
|
this.driver.shutdown();
|
|
117
|
-
await this.onShutdownCallback();
|
|
118
118
|
}
|
|
119
119
|
catch (e) {
|
|
120
120
|
debugAndPrintError(`error during shutdown: ${e}`);
|
package/build/Server.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Server.mjs","sources":["../src/Server.ts"],"sourcesContent":["import http, { IncomingMessage, ServerResponse } from 'http';\n\nimport { debugAndPrintError, debugMatchMaking } from './Debug';\nimport * as matchMaker from './MatchMaker';\nimport { RegisteredHandler } from './matchmaker/RegisteredHandler';\nimport { Presence } from './presence/Presence';\n\nimport { Room } from './Room';\nimport { Type } from './types';\nimport { registerGracefulShutdown } from './Utils';\n\nimport { generateId } from '.';\nimport { registerNode, unregisterNode } from './discovery';\n\nimport { LocalPresence } from './presence/LocalPresence';\nimport { LocalDriver } from './matchmaker/driver';\n\nimport { Transport } from './Transport';\n\n// IServerOptions &\nexport type ServerOptions = {\n presence?: Presence,\n driver?: matchMaker.MatchMakerDriver,\n transport?: Transport,\n gracefullyShutdown?: boolean,\n\n /**\n * Options below are now part of WebSocketTransport (@colyseus/ws-transport)\n * TODO: remove me on 0.15.0\n */\n /** @deprecated */\n pingInterval?: number,\n\n /** @deprecated */\n pingMaxRetries?: number,\n\n /** @deprecated */\n verifyClient?: any,\n\n /** @deprecated */\n server?: http.Server,\n};\n\nexport class Server {\n public transport: Transport;\n\n protected presence: Presence;\n protected port: number;\n protected driver: matchMaker.MatchMakerDriver;\n protected processId: string = generateId();\n\n private matchmakeRoute = 'matchmake';\n private allowedRoomNameChars = /([a-zA-Z_\\-0-9]+)/gi;\n\n constructor(options: ServerOptions = {}) {\n const { gracefullyShutdown = true } = options;\n\n this.presence = options.presence || new LocalPresence();\n this.driver = options.driver || new LocalDriver();\n\n // setup matchmaker\n matchMaker.setup(this.presence, this.driver, this.processId);\n\n // \"presence\" option is not used from now on\n delete options.presence;\n\n this.attach(options);\n\n if (gracefullyShutdown) {\n registerGracefulShutdown((err) => this.gracefullyShutdown(true, err));\n }\n }\n\n public attach(options: ServerOptions) {\n /**\n * Display deprecation warnings for moved Transport options.\n * TODO: Remove me on 0.15\n */\n if (\n options.pingInterval !== undefined ||\n options.pingMaxRetries !== undefined ||\n options.server !== undefined ||\n options.verifyClient !== undefined\n ) {\n console.warn(\"DEPRECATION WARNING: 'pingInterval', 'pingMaxRetries', 'server', and 'verifyClient' Server options will be permanently moved to WebSocketTransport on v0.15\");\n console.warn(`new Server({\n transport: new WebSocketTransport({\n pingInterval: ...,\n pingMaxRetries: ...,\n server: ...,\n verifyClient: ...\n })\n})`);\n console.warn(\"👉 Documentation: https://docs.colyseus.io/server/transport/\")\n }\n\n const transport = options.transport || this.getDefaultTransport(options);\n delete options.transport;\n\n this.transport = transport;\n\n if (this.transport.server) {\n this.transport.server.once('listening', () => this.registerProcessForDiscovery());\n this.attachMatchMakingRoutes(this.transport.server as http.Server);\n }\n }\n\n /**\n * Bind the server into the port specified.\n *\n * @param port\n * @param hostname\n * @param backlog\n * @param listeningListener\n */\n public async listen(port: number, hostname?: string, backlog?: number, listeningListener?: Function) {\n this.port = port;\n\n return new Promise<void>((resolve, reject) => {\n this.transport.server?.on('error', (err) => reject(err));\n this.transport.listen(port, hostname, backlog, (err) => {\n if (listeningListener) {\n listeningListener(err);\n }\n\n if (err) {\n reject(err);\n\n } else {\n resolve();\n }\n });\n });\n }\n\n public registerProcessForDiscovery() {\n // register node for proxy/service discovery\n registerNode(this.presence, {\n port: this.port,\n processId: this.processId,\n });\n }\n\n /**\n * Define a new type of room for matchmaking.\n *\n * @param name public room identifier for match-making.\n * @param handler Room class definition\n * @param defaultOptions default options for `onCreate`\n */\n public define<T extends Type<Room>>(\n name: string,\n handler: T,\n defaultOptions?: Parameters<NonNullable<InstanceType<T>['onCreate']>>[0],\n ): RegisteredHandler {\n return matchMaker.defineRoomType(name, handler, defaultOptions);\n }\n\n public async gracefullyShutdown(exit: boolean = true, err?: Error) {\n await unregisterNode(this.presence, {\n port: this.port,\n processId: this.processId,\n });\n\n try {\n await matchMaker.gracefullyShutdown();\n\n this.transport.shutdown();\n this.presence.shutdown();\n this.driver.shutdown();\n\n await this.onShutdownCallback();\n\n } catch (e) {\n debugAndPrintError(`error during shutdown: ${e}`);\n\n } finally {\n if (exit) {\n process.exit(err ? 1 : 0);\n }\n }\n }\n\n /**\n * Add simulated latency between client and server.\n * @param milliseconds round trip latency in milliseconds.\n */\n public simulateLatency(milliseconds: number) {\n console.warn(`📶️❗ Colyseus latency simulation enabled → ${milliseconds}ms latency for round trip.`);\n\n const halfwayMS = (milliseconds / 2);\n this.transport.simulateLatency(halfwayMS);\n\n /* tslint:disable:no-string-literal */\n const _onMessage = Room.prototype['_onMessage'];\n /* tslint:disable:no-string-literal */\n Room.prototype['_onMessage'] = function (client, buffer) {\n // uWebSockets.js: duplicate buffer because it is cleared at native layer before the timeout.\n const cachedBuffer = Buffer.from(buffer);\n setTimeout(() => _onMessage.call(this, client, cachedBuffer), halfwayMS);\n };\n }\n\n /**\n * Register a callback that is going to be executed before the server shuts down.\n * @param callback\n */\n public onShutdown(callback: () => void | Promise<any>) {\n this.onShutdownCallback = callback;\n }\n\n protected getDefaultTransport(_: any): Transport {\n throw new Error(\"Please provide a 'transport' layer. Default transport not set.\");\n }\n\n protected onShutdownCallback: () => void | Promise<any> =\n () => Promise.resolve()\n\n protected attachMatchMakingRoutes(server: http.Server) {\n const listeners = server.listeners('request').slice(0);\n server.removeAllListeners('request');\n\n server.on('request', (req, res) => {\n if (req.url.indexOf(`/${this.matchmakeRoute}`) !== -1) {\n debugMatchMaking('received matchmake request: %s', req.url);\n this.handleMatchMakeRequest(req, res);\n\n } else {\n for (let i = 0, l = listeners.length; i < l; i++) {\n listeners[i].call(server, req, res);\n }\n }\n });\n }\n\n protected async handleMatchMakeRequest(req: IncomingMessage, res: ServerResponse) {\n const headers = {\n 'Access-Control-Allow-Headers': 'Origin, X-Requested-With, Content-Type, Accept',\n 'Access-Control-Allow-Methods': 'OPTIONS, POST, GET',\n 'Access-Control-Allow-Origin': '*',\n 'Access-Control-Max-Age': 2592000,\n // ...\n };\n\n if (req.method === 'OPTIONS') {\n res.writeHead(204, headers);\n res.end();\n\n } else if (req.method === 'POST') {\n const matchedParams = req.url.match(this.allowedRoomNameChars);\n const matchmakeIndex = matchedParams.indexOf(this.matchmakeRoute);\n const method = matchedParams[matchmakeIndex + 1];\n const name = matchedParams[matchmakeIndex + 2] || '';\n\n const data = [];\n req.on('data', (chunk) => data.push(chunk));\n req.on('end', async () => {\n headers['Content-Type'] = 'application/json';\n res.writeHead(200, headers);\n\n try {\n const clientOptions = JSON.parse(Buffer.concat(data).toString());\n const response = await matchMaker.controller.invokeMethod(method, name, clientOptions);\n res.write(JSON.stringify(response));\n\n } catch (e) {\n res.write(JSON.stringify({ code: e.code, error: e.message, }));\n }\n\n res.end();\n });\n\n } else if (req.method === 'GET') {\n const matchedParams = req.url.match(this.allowedRoomNameChars);\n const roomName = matchedParams.length > 1 ? matchedParams[matchedParams.length - 1] : \"\";\n\n headers['Content-Type'] = 'application/json';\n res.writeHead(200, headers);\n res.write(JSON.stringify(await matchMaker.controller.getAvailableRooms(roomName)));\n res.end();\n }\n\n }\n\n}\n"],"names":["matchMaker.setup","matchMaker.defineRoomType","matchMaker.gracefullyShutdown","matchMaker.controller.invokeMethod","matchMaker.controller.getAvailableRooms"],"mappings":";;;;;;;;;;;;;;;MA2Ca,MAAM;IACV,SAAS,CAAY;IAElB,QAAQ,CAAW;IACnB,IAAI,CAAS;IACb,MAAM,CAA8B;IACpC,SAAS,GAAW,UAAU,EAAE,CAAC;IAEnC,cAAc,GAAG,WAAW,CAAC;IAC7B,oBAAoB,GAAG,qBAAqB,CAAC;IAErD,YAAY,UAAyB,EAAE;QACrC,MAAM,EA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AC,CAAC,GAAG,EAAE,CAAC;YAEzF,OAAO,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;YAC7C,GAAG,CAAC,SAAS,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;YAC5B,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,MAAMC,iBAAuC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;YACnF,GAAG,CAAC,GAAG,EAAE,CAAC;SACX;KAEF;;;;;"}
|
|
1
|
+
{"version":3,"file":"Server.mjs","sources":["../src/Server.ts"],"sourcesContent":["import http, { IncomingMessage, ServerResponse } from 'http';\n\nimport { debugAndPrintError, debugMatchMaking } from './Debug';\nimport * as matchMaker from './MatchMaker';\nimport { RegisteredHandler } from './matchmaker/RegisteredHandler';\nimport { Presence } from './presence/Presence';\n\nimport { Room } from './Room';\nimport { Type } from './types';\nimport { registerGracefulShutdown } from './Utils';\n\nimport { generateId } from '.';\nimport { registerNode, unregisterNode } from './discovery';\n\nimport { LocalPresence } from './presence/LocalPresence';\nimport { LocalDriver } from './matchmaker/driver';\n\nimport { Transport } from './Transport';\n\n// IServerOptions &\nexport type ServerOptions = {\n presence?: Presence,\n driver?: matchMaker.MatchMakerDriver,\n transport?: Transport,\n gracefullyShutdown?: boolean,\n\n /**\n * Options below are now part of WebSocketTransport (@colyseus/ws-transport)\n * TODO: remove me on 0.15.0\n */\n /** @deprecated */\n pingInterval?: number,\n\n /** @deprecated */\n pingMaxRetries?: number,\n\n /** @deprecated */\n verifyClient?: any,\n\n /** @deprecated */\n server?: http.Server,\n};\n\nexport class Server {\n public transport: Transport;\n\n protected presence: Presence;\n protected port: number;\n protected driver: matchMaker.MatchMakerDriver;\n protected processId: string = generateId();\n\n private matchmakeRoute = 'matchmake';\n private allowedRoomNameChars = /([a-zA-Z_\\-0-9]+)/gi;\n\n constructor(options: ServerOptions = {}) {\n const { gracefullyShutdown = true } = options;\n\n this.presence = options.presence || new LocalPresence();\n this.driver = options.driver || new LocalDriver();\n\n // setup matchmaker\n matchMaker.setup(this.presence, this.driver, this.processId);\n\n // \"presence\" option is not used from now on\n delete options.presence;\n\n this.attach(options);\n\n if (gracefullyShutdown) {\n registerGracefulShutdown((err) => this.gracefullyShutdown(true, err));\n }\n }\n\n public attach(options: ServerOptions) {\n /**\n * Display deprecation warnings for moved Transport options.\n * TODO: Remove me on 0.15\n */\n if (\n options.pingInterval !== undefined ||\n options.pingMaxRetries !== undefined ||\n options.server !== undefined ||\n options.verifyClient !== undefined\n ) {\n console.warn(\"DEPRECATION WARNING: 'pingInterval', 'pingMaxRetries', 'server', and 'verifyClient' Server options will be permanently moved to WebSocketTransport on v0.15\");\n console.warn(`new Server({\n transport: new WebSocketTransport({\n pingInterval: ...,\n pingMaxRetries: ...,\n server: ...,\n verifyClient: ...\n })\n})`);\n console.warn(\"👉 Documentation: https://docs.colyseus.io/server/transport/\")\n }\n\n const transport = options.transport || this.getDefaultTransport(options);\n delete options.transport;\n\n this.transport = transport;\n\n if (this.transport.server) {\n this.transport.server.once('listening', () => this.registerProcessForDiscovery());\n this.attachMatchMakingRoutes(this.transport.server as http.Server);\n }\n }\n\n /**\n * Bind the server into the port specified.\n *\n * @param port\n * @param hostname\n * @param backlog\n * @param listeningListener\n */\n public async listen(port: number, hostname?: string, backlog?: number, listeningListener?: Function) {\n this.port = port;\n\n return new Promise<void>((resolve, reject) => {\n this.transport.server?.on('error', (err) => reject(err));\n this.transport.listen(port, hostname, backlog, (err) => {\n if (listeningListener) {\n listeningListener(err);\n }\n\n if (err) {\n reject(err);\n\n } else {\n resolve();\n }\n });\n });\n }\n\n public registerProcessForDiscovery() {\n // register node for proxy/service discovery\n registerNode(this.presence, {\n port: this.port,\n processId: this.processId,\n });\n }\n\n /**\n * Define a new type of room for matchmaking.\n *\n * @param name public room identifier for match-making.\n * @param handler Room class definition\n * @param defaultOptions default options for `onCreate`\n */\n public define<T extends Type<Room>>(\n name: string,\n handler: T,\n defaultOptions?: Parameters<NonNullable<InstanceType<T>['onCreate']>>[0],\n ): RegisteredHandler {\n return matchMaker.defineRoomType(name, handler, defaultOptions);\n }\n\n public async gracefullyShutdown(exit: boolean = true, err?: Error) {\n try {\n await this.onShutdownCallback();\n\n await unregisterNode(this.presence, {\n port: this.port,\n processId: this.processId,\n });\n\n await matchMaker.gracefullyShutdown();\n\n this.transport.shutdown();\n this.presence.shutdown();\n this.driver.shutdown();\n\n } catch (e) {\n debugAndPrintError(`error during shutdown: ${e}`);\n\n } finally {\n if (exit) {\n process.exit(err ? 1 : 0);\n }\n }\n }\n\n /**\n * Add simulated latency between client and server.\n * @param milliseconds round trip latency in milliseconds.\n */\n public simulateLatency(milliseconds: number) {\n console.warn(`📶️❗ Colyseus latency simulation enabled → ${milliseconds}ms latency for round trip.`);\n\n const halfwayMS = (milliseconds / 2);\n this.transport.simulateLatency(halfwayMS);\n\n /* tslint:disable:no-string-literal */\n const _onMessage = Room.prototype['_onMessage'];\n /* tslint:disable:no-string-literal */\n Room.prototype['_onMessage'] = function (client, buffer) {\n // uWebSockets.js: duplicate buffer because it is cleared at native layer before the timeout.\n const cachedBuffer = Buffer.from(buffer);\n setTimeout(() => _onMessage.call(this, client, cachedBuffer), halfwayMS);\n };\n }\n\n /**\n * Register a callback that is going to be executed before the server shuts down.\n * @param callback\n */\n public onShutdown(callback: () => void | Promise<any>) {\n this.onShutdownCallback = callback;\n }\n\n protected getDefaultTransport(_: any): Transport {\n throw new Error(\"Please provide a 'transport' layer. Default transport not set.\");\n }\n\n protected onShutdownCallback: () => void | Promise<any> =\n () => Promise.resolve()\n\n protected attachMatchMakingRoutes(server: http.Server) {\n const listeners = server.listeners('request').slice(0);\n server.removeAllListeners('request');\n\n server.on('request', (req, res) => {\n if (req.url.indexOf(`/${this.matchmakeRoute}`) !== -1) {\n debugMatchMaking('received matchmake request: %s', req.url);\n this.handleMatchMakeRequest(req, res);\n\n } else {\n for (let i = 0, l = listeners.length; i < l; i++) {\n listeners[i].call(server, req, res);\n }\n }\n });\n }\n\n protected async handleMatchMakeRequest(req: IncomingMessage, res: ServerResponse) {\n const headers = {\n 'Access-Control-Allow-Headers': 'Origin, X-Requested-With, Content-Type, Accept',\n 'Access-Control-Allow-Methods': 'OPTIONS, POST, GET',\n 'Access-Control-Allow-Origin': '*',\n 'Access-Control-Max-Age': 2592000,\n // ...\n };\n\n if (req.method === 'OPTIONS') {\n res.writeHead(204, headers);\n res.end();\n\n } else if (req.method === 'POST') {\n const matchedParams = req.url.match(this.allowedRoomNameChars);\n const matchmakeIndex = matchedParams.indexOf(this.matchmakeRoute);\n const method = matchedParams[matchmakeIndex + 1];\n const name = matchedParams[matchmakeIndex + 2] || '';\n\n const data = [];\n req.on('data', (chunk) => data.push(chunk));\n req.on('end', async () => {\n headers['Content-Type'] = 'application/json';\n res.writeHead(200, headers);\n\n try {\n const clientOptions = JSON.parse(Buffer.concat(data).toString());\n const response = await matchMaker.controller.invokeMethod(method, name, clientOptions);\n res.write(JSON.stringify(response));\n\n } catch (e) {\n res.write(JSON.stringify({ code: e.code, error: e.message, }));\n }\n\n res.end();\n });\n\n } else if (req.method === 'GET') {\n const matchedParams = req.url.match(this.allowedRoomNameChars);\n const roomName = matchedParams.length > 1 ? matchedParams[matchedParams.length - 1] : \"\";\n\n headers['Content-Type'] = 'application/json';\n res.writeHead(200, headers);\n res.write(JSON.stringify(await matchMaker.controller.getAvailableRooms(roomName)));\n res.end();\n }\n\n }\n\n}\n"],"names":["matchMaker.setup","matchMaker.defineRoomType","matchMaker.gracefullyShutdown","matchMaker.controller.invokeMethod","matchMaker.controller.getAvailableRooms"],"mappings":";;;;;;;;;;;;;;;MA2Ca,MAAM;IACV,SAAS,CAAY;IAElB,QAAQ,CAAW;IACnB,IAAI,CAAS;IACb,MAAM,CAA8B;IACpC,SAAS,GAAW,UAAU,EAAE,CAAC;IAEnC,cAAc,GAAG,WAAW,CAAC;IAC7B,oBAAoB,GAAG,qBAAqB,CAAC;IAErD,YAAY,UAAyB,EAAE;QACrC,M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GAAG,CAAC,CAAC,GAAG,EAAE,CAAC;YAEzF,OAAO,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;YAC7C,GAAG,CAAC,SAAS,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;YAC5B,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,MAAMC,iBAAuC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;YACnF,GAAG,CAAC,GAAG,EAAE,CAAC;SACX;KAEF;;;;;"}
|
package/build/Transport.d.ts
CHANGED
|
@@ -4,8 +4,9 @@ import * as https from 'https';
|
|
|
4
4
|
import * as net from 'net';
|
|
5
5
|
import { Schema } from '@colyseus/schema';
|
|
6
6
|
import { EventEmitter } from 'events';
|
|
7
|
+
import { DummyServer } from "./Utils";
|
|
7
8
|
export declare abstract class Transport {
|
|
8
|
-
server?: net.Server | http.Server | https.Server;
|
|
9
|
+
server?: net.Server | http.Server | https.Server | DummyServer;
|
|
9
10
|
abstract listen(port?: number, hostname?: string, backlog?: number, listeningListener?: Function): this;
|
|
10
11
|
abstract shutdown(): void;
|
|
11
12
|
abstract simulateLatency(milliseconds: number): void;
|
package/build/Transport.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Transport.js","sources":["../src/Transport.ts"],"sourcesContent":["import * as http from 'http';\nimport * as https from 'https';\nimport * as net from 'net';\n\nimport { Schema } from '@colyseus/schema';\nimport { EventEmitter } from 'events';\n\nexport abstract class Transport {\n public server?: net.Server | http.Server | https.Server;\n\n public abstract listen(port?: number, hostname?: string, backlog?: number, listeningListener?: Function): this;\n public abstract shutdown(): void;\n\n public abstract simulateLatency(milliseconds: number): void;\n}\n\nexport interface ISendOptions {\n afterNextPatch?: boolean;\n}\n\nexport enum ClientState { JOINING, JOINED, RECONNECTED, LEAVING }\n\nexport interface Client {\n readyState: number;\n\n id: string;\n sessionId: string; // TODO: remove sessionId on version 1.0.0\n state: ClientState;\n\n ref: EventEmitter;\n\n upgradeReq?: http.IncomingMessage; // cross-compatibility for ws (v3.x+) and uws\n\n /**\n * User-defined data can be attached to the Client instance through this variable.\n */\n userData?: any;\n\n /**\n * auth data provided by your `onAuth`\n */\n auth?: any;\n pingCount?: number; // ping / pong\n\n _enqueuedMessages?: any[];\n _afterNextPatchQueue: Array<[string | Client, IArguments]>;\n\n raw(data: ArrayLike<number>, options?: ISendOptions): void;\n enqueueRaw(data: ArrayLike<number>, options?: ISendOptions): void;\n\n send(type: string | number, message?: any, options?: ISendOptions): void;\n send(message: Schema, options?: ISendOptions): void;\n\n error(code: number, message?: string): void;\n leave(code?: number, data?: string): void;\n close(code?: number, data?: string): void;\n}\n"],"names":["ClientState"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"Transport.js","sources":["../src/Transport.ts"],"sourcesContent":["import * as http from 'http';\nimport * as https from 'https';\nimport * as net from 'net';\n\nimport { Schema } from '@colyseus/schema';\nimport { EventEmitter } from 'events';\nimport { DummyServer } from \"./Utils\";\n\nexport abstract class Transport {\n public server?: net.Server | http.Server | https.Server | DummyServer;\n\n public abstract listen(port?: number, hostname?: string, backlog?: number, listeningListener?: Function): this;\n public abstract shutdown(): void;\n\n public abstract simulateLatency(milliseconds: number): void;\n}\n\nexport interface ISendOptions {\n afterNextPatch?: boolean;\n}\n\nexport enum ClientState { JOINING, JOINED, RECONNECTED, LEAVING }\n\nexport interface Client {\n readyState: number;\n\n id: string;\n sessionId: string; // TODO: remove sessionId on version 1.0.0\n state: ClientState;\n\n ref: EventEmitter;\n\n upgradeReq?: http.IncomingMessage; // cross-compatibility for ws (v3.x+) and uws\n\n /**\n * User-defined data can be attached to the Client instance through this variable.\n */\n userData?: any;\n\n /**\n * auth data provided by your `onAuth`\n */\n auth?: any;\n pingCount?: number; // ping / pong\n\n _enqueuedMessages?: any[];\n _afterNextPatchQueue: Array<[string | Client, IArguments]>;\n\n raw(data: ArrayLike<number>, options?: ISendOptions): void;\n enqueueRaw(data: ArrayLike<number>, options?: ISendOptions): void;\n\n send(type: string | number, message?: any, options?: ISendOptions): void;\n send(message: Schema, options?: ISendOptions): void;\n\n error(code: number, message?: string): void;\n leave(code?: number, data?: string): void;\n close(code?: number, data?: string): void;\n}\n"],"names":["ClientState"],"mappings":";;;;MAQsB,SAAS;IACpB,MAAM,CAAyD;CAMzE;AAMWA;AAAZ,WAAY,WAAW;IAAG,mDAAO,CAAA;IAAE,iDAAM,CAAA;IAAE,2DAAW,CAAA;IAAE,mDAAO,CAAA;AAAC,CAAC,EAArDA,mBAAW,KAAXA,mBAAW;;;;"}
|
package/build/Transport.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Transport.mjs","sources":["../src/Transport.ts"],"sourcesContent":["import * as http from 'http';\nimport * as https from 'https';\nimport * as net from 'net';\n\nimport { Schema } from '@colyseus/schema';\nimport { EventEmitter } from 'events';\n\nexport abstract class Transport {\n public server?: net.Server | http.Server | https.Server;\n\n public abstract listen(port?: number, hostname?: string, backlog?: number, listeningListener?: Function): this;\n public abstract shutdown(): void;\n\n public abstract simulateLatency(milliseconds: number): void;\n}\n\nexport interface ISendOptions {\n afterNextPatch?: boolean;\n}\n\nexport enum ClientState { JOINING, JOINED, RECONNECTED, LEAVING }\n\nexport interface Client {\n readyState: number;\n\n id: string;\n sessionId: string; // TODO: remove sessionId on version 1.0.0\n state: ClientState;\n\n ref: EventEmitter;\n\n upgradeReq?: http.IncomingMessage; // cross-compatibility for ws (v3.x+) and uws\n\n /**\n * User-defined data can be attached to the Client instance through this variable.\n */\n userData?: any;\n\n /**\n * auth data provided by your `onAuth`\n */\n auth?: any;\n pingCount?: number; // ping / pong\n\n _enqueuedMessages?: any[];\n _afterNextPatchQueue: Array<[string | Client, IArguments]>;\n\n raw(data: ArrayLike<number>, options?: ISendOptions): void;\n enqueueRaw(data: ArrayLike<number>, options?: ISendOptions): void;\n\n send(type: string | number, message?: any, options?: ISendOptions): void;\n send(message: Schema, options?: ISendOptions): void;\n\n error(code: number, message?: string): void;\n leave(code?: number, data?: string): void;\n close(code?: number, data?: string): void;\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Transport.mjs","sources":["../src/Transport.ts"],"sourcesContent":["import * as http from 'http';\nimport * as https from 'https';\nimport * as net from 'net';\n\nimport { Schema } from '@colyseus/schema';\nimport { EventEmitter } from 'events';\nimport { DummyServer } from \"./Utils\";\n\nexport abstract class Transport {\n public server?: net.Server | http.Server | https.Server | DummyServer;\n\n public abstract listen(port?: number, hostname?: string, backlog?: number, listeningListener?: Function): this;\n public abstract shutdown(): void;\n\n public abstract simulateLatency(milliseconds: number): void;\n}\n\nexport interface ISendOptions {\n afterNextPatch?: boolean;\n}\n\nexport enum ClientState { JOINING, JOINED, RECONNECTED, LEAVING }\n\nexport interface Client {\n readyState: number;\n\n id: string;\n sessionId: string; // TODO: remove sessionId on version 1.0.0\n state: ClientState;\n\n ref: EventEmitter;\n\n upgradeReq?: http.IncomingMessage; // cross-compatibility for ws (v3.x+) and uws\n\n /**\n * User-defined data can be attached to the Client instance through this variable.\n */\n userData?: any;\n\n /**\n * auth data provided by your `onAuth`\n */\n auth?: any;\n pingCount?: number; // ping / pong\n\n _enqueuedMessages?: any[];\n _afterNextPatchQueue: Array<[string | Client, IArguments]>;\n\n raw(data: ArrayLike<number>, options?: ISendOptions): void;\n enqueueRaw(data: ArrayLike<number>, options?: ISendOptions): void;\n\n send(type: string | number, message?: any, options?: ISendOptions): void;\n send(message: Schema, options?: ISendOptions): void;\n\n error(code: number, message?: string): void;\n leave(code?: number, data?: string): void;\n close(code?: number, data?: string): void;\n}\n"],"names":[],"mappings":"MAQsB,SAAS;IACpB,MAAM,CAAyD;CAMzE;IAMW;AAAZ,WAAY,WAAW;IAAG,mDAAO,CAAA;IAAE,iDAAM,CAAA;IAAE,2DAAW,CAAA;IAAE,mDAAO,CAAA;AAAC,CAAC,EAArD,WAAW,KAAX,WAAW;;;;"}
|
package/build/Utils.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { EventEmitter } from "events";
|
|
3
|
+
import { ServerOpts, Socket } from "net";
|
|
1
4
|
export declare const REMOTE_ROOM_SHORT_TIMEOUT: number;
|
|
2
5
|
export declare function generateId(length?: number): any;
|
|
3
6
|
export declare function registerGracefulShutdown(callback: (err?: Error) => void): void;
|
|
@@ -12,3 +15,10 @@ export declare class Deferred<T = any> {
|
|
|
12
15
|
}
|
|
13
16
|
export declare function spliceOne(arr: any[], index: number): boolean;
|
|
14
17
|
export declare function merge(a: any, ...objs: any[]): any;
|
|
18
|
+
export declare interface DummyServer {
|
|
19
|
+
constructor(options?: ServerOpts, connectionListener?: (socket: Socket) => void): any;
|
|
20
|
+
listen(port?: number, hostname?: string, backlog?: number, listeningListener?: () => void): this;
|
|
21
|
+
close(callback?: (err?: Error) => void): this;
|
|
22
|
+
}
|
|
23
|
+
export declare class DummyServer extends EventEmitter {
|
|
24
|
+
}
|
package/build/Utils.js
CHANGED
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var nanoid = require('nanoid');
|
|
6
6
|
var Debug = require('./Debug.js');
|
|
7
|
+
var events = require('events');
|
|
7
8
|
|
|
8
9
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
10
|
|
|
@@ -89,8 +90,11 @@ function merge(a, ...objs) {
|
|
|
89
90
|
}
|
|
90
91
|
return a;
|
|
91
92
|
}
|
|
93
|
+
class DummyServer extends events.EventEmitter {
|
|
94
|
+
}
|
|
92
95
|
|
|
93
96
|
exports.Deferred = Deferred;
|
|
97
|
+
exports.DummyServer = DummyServer;
|
|
94
98
|
exports.REMOTE_ROOM_SHORT_TIMEOUT = REMOTE_ROOM_SHORT_TIMEOUT;
|
|
95
99
|
exports.generateId = generateId;
|
|
96
100
|
exports.merge = merge;
|
package/build/Utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Utils.js","sources":["../src/Utils.ts"],"sourcesContent":["import nanoid from 'nanoid';\n\nimport { debugAndPrintError } from './Debug';\n\n// remote room call timeouts\nexport const REMOTE_ROOM_SHORT_TIMEOUT = Number(process.env.COLYSEUS_PRESENCE_SHORT_TIMEOUT || 2000);\n\nexport function generateId(length: number = 9) {\n return nanoid(length);\n}\n\n//\n// nodemon sends SIGUSR2 before reloading\n// (https://github.com/remy/nodemon#controlling-shutdown-of-your-script)\n//\nconst signals: NodeJS.Signals[] = ['SIGINT', 'SIGTERM', 'SIGUSR2'];\n\nexport function registerGracefulShutdown(callback: (err?: Error) => void) {\n /**\n * Gracefully shutdown on uncaught errors\n */\n process.on('uncaughtException', (err) => {\n debugAndPrintError(err);\n callback(err);\n });\n\n signals.forEach((signal) =>\n process.once(signal, () => callback()));\n}\n\nexport function retry<T = any>(\n cb: Function,\n maxRetries: number = 3,\n errorWhiteList: any[] = [],\n retries: number = 0,\n) {\n return new Promise<T>((resolve, reject) => {\n cb()\n .then(resolve)\n .catch((e) => {\n if (\n errorWhiteList.indexOf(e.constructor) !== -1 &&\n retries++ < maxRetries\n ) {\n setTimeout(() => {\n retry<T>(cb, maxRetries, errorWhiteList, retries).\n then(resolve).\n catch((e2) => reject(e2));\n }, Math.floor(Math.random() * Math.pow(2, retries) * 400));\n\n } else {\n reject(e);\n }\n });\n });\n}\n\nexport class Deferred<T= any> {\n public promise: Promise<T>;\n\n public resolve: Function;\n public reject: Function;\n\n constructor() {\n this.promise = new Promise<T>((resolve, reject) => {\n this.resolve = resolve;\n this.reject = reject;\n });\n }\n\n public then(func: (value: T) => any) {\n return this.promise.then.apply(this.promise, arguments);\n }\n\n public catch(func: (value: any) => any) {\n return this.promise.catch(func);\n }\n\n}\n\nexport function spliceOne(arr: any[], index: number): boolean {\n // manually splice availableRooms array\n // http://jsperf.com/manual-splice\n if (index === -1 || index >= arr.length) {\n return false;\n }\n\n const len = arr.length - 1;\n\n for (let i = index; i < len; i++) {\n arr[i] = arr[i + 1];\n }\n\n arr.length = len;\n\n return true;\n}\n\nexport function merge(a: any, ...objs: any[]): any {\n for (let i = 0, len = objs.length; i < len; i++) {\n const b = objs[i];\n for (const key in b) {\n if (b.hasOwnProperty(key)) {\n a[key] = b[key];\n }\n }\n }\n return a;\n}\n"],"names":["nanoid","debugAndPrintError"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Utils.js","sources":["../src/Utils.ts"],"sourcesContent":["import nanoid from 'nanoid';\n\nimport { debugAndPrintError } from './Debug';\nimport { EventEmitter } from \"events\";\nimport { ServerOpts, Socket } from \"net\";\n\n// remote room call timeouts\nexport const REMOTE_ROOM_SHORT_TIMEOUT = Number(process.env.COLYSEUS_PRESENCE_SHORT_TIMEOUT || 2000);\n\nexport function generateId(length: number = 9) {\n return nanoid(length);\n}\n\n//\n// nodemon sends SIGUSR2 before reloading\n// (https://github.com/remy/nodemon#controlling-shutdown-of-your-script)\n//\nconst signals: NodeJS.Signals[] = ['SIGINT', 'SIGTERM', 'SIGUSR2'];\n\nexport function registerGracefulShutdown(callback: (err?: Error) => void) {\n /**\n * Gracefully shutdown on uncaught errors\n */\n process.on('uncaughtException', (err) => {\n debugAndPrintError(err);\n callback(err);\n });\n\n signals.forEach((signal) =>\n process.once(signal, () => callback()));\n}\n\nexport function retry<T = any>(\n cb: Function,\n maxRetries: number = 3,\n errorWhiteList: any[] = [],\n retries: number = 0,\n) {\n return new Promise<T>((resolve, reject) => {\n cb()\n .then(resolve)\n .catch((e) => {\n if (\n errorWhiteList.indexOf(e.constructor) !== -1 &&\n retries++ < maxRetries\n ) {\n setTimeout(() => {\n retry<T>(cb, maxRetries, errorWhiteList, retries).\n then(resolve).\n catch((e2) => reject(e2));\n }, Math.floor(Math.random() * Math.pow(2, retries) * 400));\n\n } else {\n reject(e);\n }\n });\n });\n}\n\nexport class Deferred<T= any> {\n public promise: Promise<T>;\n\n public resolve: Function;\n public reject: Function;\n\n constructor() {\n this.promise = new Promise<T>((resolve, reject) => {\n this.resolve = resolve;\n this.reject = reject;\n });\n }\n\n public then(func: (value: T) => any) {\n return this.promise.then.apply(this.promise, arguments);\n }\n\n public catch(func: (value: any) => any) {\n return this.promise.catch(func);\n }\n\n}\n\nexport function spliceOne(arr: any[], index: number): boolean {\n // manually splice availableRooms array\n // http://jsperf.com/manual-splice\n if (index === -1 || index >= arr.length) {\n return false;\n }\n\n const len = arr.length - 1;\n\n for (let i = index; i < len; i++) {\n arr[i] = arr[i + 1];\n }\n\n arr.length = len;\n\n return true;\n}\n\nexport function merge(a: any, ...objs: any[]): any {\n for (let i = 0, len = objs.length; i < len; i++) {\n const b = objs[i];\n for (const key in b) {\n if (b.hasOwnProperty(key)) {\n a[key] = b[key];\n }\n }\n }\n return a;\n}\n\nexport declare interface DummyServer {\n constructor(options?: ServerOpts, connectionListener?: (socket: Socket) => void);\n\n listen(port?: number, hostname?: string, backlog?: number, listeningListener?: () => void): this;\n close(callback?: (err?: Error) => void): this;\n}\n\nexport class DummyServer extends EventEmitter {}\n\n"],"names":["nanoid","debugAndPrintError","EventEmitter"],"mappings":";;;;;;;;;;;;AAMA;MACa,yBAAyB,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,+BAA+B,IAAI,IAAI,EAAE;SAErF,UAAU,CAAC,SAAiB,CAAC;IAC3C,OAAOA,0BAAM,CAAC,MAAM,CAAC,CAAC;AACxB,CAAC;AAED;AACA;AACA;AACA;AACA,MAAM,OAAO,GAAqB,CAAC,QAAQ,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;SAEnD,wBAAwB,CAAC,QAA+B;;;;IAItE,OAAO,CAAC,EAAE,CAAC,mBAAmB,EAAE,CAAC,GAAG;QAClCC,wBAAkB,CAAC,GAAG,CAAC,CAAC;QACxB,QAAQ,CAAC,GAAG,CAAC,CAAC;KACf,CAAC,CAAC;IAEH,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,KACrB,OAAO,CAAC,IA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KAAK,CAAC,IAAyB;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;KACjC;CAEF;SAEe,SAAS,CAAC,GAAU,EAAE,KAAa;;;IAGjD,IAAI,KAAK,KAAK,CAAC,CAAC,IAAI,KAAK,IAAI,GAAG,CAAC,MAAM,EAAE;QACvC,OAAO,KAAK,CAAC;KACd;IAED,MAAM,GAAG,GAAG,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC;IAE3B,KAAK,IAAI,CAAC,GAAG,KAAK,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;QAChC,GAAG,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;KACrB;IAED,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC;IAEjB,OAAO,IAAI,CAAC;AACd,CAAC;SAEe,KAAK,CAAC,CAAM,EAAE,GAAG,IAAW;IAC1C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;QAC/C,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QAClB,KAAK,MAAM,GAAG,IAAI,CAAC,EAAE;YACnB,IAAI,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;gBACzB,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC;aACjB;SACF;KACF;IACD,OAAO,CAAC,CAAC;AACX,CAAC;MASY,WAAY,SAAQC,mBAAY;;;;;;;;;;;;"}
|
package/build/Utils.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import nanoid from 'nanoid';
|
|
2
2
|
import { debugAndPrintError } from './Debug.mjs';
|
|
3
|
+
import { EventEmitter } from 'events';
|
|
3
4
|
|
|
4
5
|
// remote room call timeouts
|
|
5
6
|
const REMOTE_ROOM_SHORT_TIMEOUT = Number(process.env.COLYSEUS_PRESENCE_SHORT_TIMEOUT || 2000);
|
|
@@ -81,6 +82,8 @@ function merge(a, ...objs) {
|
|
|
81
82
|
}
|
|
82
83
|
return a;
|
|
83
84
|
}
|
|
85
|
+
class DummyServer extends EventEmitter {
|
|
86
|
+
}
|
|
84
87
|
|
|
85
|
-
export { Deferred, REMOTE_ROOM_SHORT_TIMEOUT, generateId, merge, registerGracefulShutdown, retry, spliceOne };
|
|
88
|
+
export { Deferred, DummyServer, REMOTE_ROOM_SHORT_TIMEOUT, generateId, merge, registerGracefulShutdown, retry, spliceOne };
|
|
86
89
|
//# sourceMappingURL=Utils.mjs.map
|
package/build/Utils.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Utils.mjs","sources":["../src/Utils.ts"],"sourcesContent":["import nanoid from 'nanoid';\n\nimport { debugAndPrintError } from './Debug';\n\n// remote room call timeouts\nexport const REMOTE_ROOM_SHORT_TIMEOUT = Number(process.env.COLYSEUS_PRESENCE_SHORT_TIMEOUT || 2000);\n\nexport function generateId(length: number = 9) {\n return nanoid(length);\n}\n\n//\n// nodemon sends SIGUSR2 before reloading\n// (https://github.com/remy/nodemon#controlling-shutdown-of-your-script)\n//\nconst signals: NodeJS.Signals[] = ['SIGINT', 'SIGTERM', 'SIGUSR2'];\n\nexport function registerGracefulShutdown(callback: (err?: Error) => void) {\n /**\n * Gracefully shutdown on uncaught errors\n */\n process.on('uncaughtException', (err) => {\n debugAndPrintError(err);\n callback(err);\n });\n\n signals.forEach((signal) =>\n process.once(signal, () => callback()));\n}\n\nexport function retry<T = any>(\n cb: Function,\n maxRetries: number = 3,\n errorWhiteList: any[] = [],\n retries: number = 0,\n) {\n return new Promise<T>((resolve, reject) => {\n cb()\n .then(resolve)\n .catch((e) => {\n if (\n errorWhiteList.indexOf(e.constructor) !== -1 &&\n retries++ < maxRetries\n ) {\n setTimeout(() => {\n retry<T>(cb, maxRetries, errorWhiteList, retries).\n then(resolve).\n catch((e2) => reject(e2));\n }, Math.floor(Math.random() * Math.pow(2, retries) * 400));\n\n } else {\n reject(e);\n }\n });\n });\n}\n\nexport class Deferred<T= any> {\n public promise: Promise<T>;\n\n public resolve: Function;\n public reject: Function;\n\n constructor() {\n this.promise = new Promise<T>((resolve, reject) => {\n this.resolve = resolve;\n this.reject = reject;\n });\n }\n\n public then(func: (value: T) => any) {\n return this.promise.then.apply(this.promise, arguments);\n }\n\n public catch(func: (value: any) => any) {\n return this.promise.catch(func);\n }\n\n}\n\nexport function spliceOne(arr: any[], index: number): boolean {\n // manually splice availableRooms array\n // http://jsperf.com/manual-splice\n if (index === -1 || index >= arr.length) {\n return false;\n }\n\n const len = arr.length - 1;\n\n for (let i = index; i < len; i++) {\n arr[i] = arr[i + 1];\n }\n\n arr.length = len;\n\n return true;\n}\n\nexport function merge(a: any, ...objs: any[]): any {\n for (let i = 0, len = objs.length; i < len; i++) {\n const b = objs[i];\n for (const key in b) {\n if (b.hasOwnProperty(key)) {\n a[key] = b[key];\n }\n }\n }\n return a;\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Utils.mjs","sources":["../src/Utils.ts"],"sourcesContent":["import nanoid from 'nanoid';\n\nimport { debugAndPrintError } from './Debug';\nimport { EventEmitter } from \"events\";\nimport { ServerOpts, Socket } from \"net\";\n\n// remote room call timeouts\nexport const REMOTE_ROOM_SHORT_TIMEOUT = Number(process.env.COLYSEUS_PRESENCE_SHORT_TIMEOUT || 2000);\n\nexport function generateId(length: number = 9) {\n return nanoid(length);\n}\n\n//\n// nodemon sends SIGUSR2 before reloading\n// (https://github.com/remy/nodemon#controlling-shutdown-of-your-script)\n//\nconst signals: NodeJS.Signals[] = ['SIGINT', 'SIGTERM', 'SIGUSR2'];\n\nexport function registerGracefulShutdown(callback: (err?: Error) => void) {\n /**\n * Gracefully shutdown on uncaught errors\n */\n process.on('uncaughtException', (err) => {\n debugAndPrintError(err);\n callback(err);\n });\n\n signals.forEach((signal) =>\n process.once(signal, () => callback()));\n}\n\nexport function retry<T = any>(\n cb: Function,\n maxRetries: number = 3,\n errorWhiteList: any[] = [],\n retries: number = 0,\n) {\n return new Promise<T>((resolve, reject) => {\n cb()\n .then(resolve)\n .catch((e) => {\n if (\n errorWhiteList.indexOf(e.constructor) !== -1 &&\n retries++ < maxRetries\n ) {\n setTimeout(() => {\n retry<T>(cb, maxRetries, errorWhiteList, retries).\n then(resolve).\n catch((e2) => reject(e2));\n }, Math.floor(Math.random() * Math.pow(2, retries) * 400));\n\n } else {\n reject(e);\n }\n });\n });\n}\n\nexport class Deferred<T= any> {\n public promise: Promise<T>;\n\n public resolve: Function;\n public reject: Function;\n\n constructor() {\n this.promise = new Promise<T>((resolve, reject) => {\n this.resolve = resolve;\n this.reject = reject;\n });\n }\n\n public then(func: (value: T) => any) {\n return this.promise.then.apply(this.promise, arguments);\n }\n\n public catch(func: (value: any) => any) {\n return this.promise.catch(func);\n }\n\n}\n\nexport function spliceOne(arr: any[], index: number): boolean {\n // manually splice availableRooms array\n // http://jsperf.com/manual-splice\n if (index === -1 || index >= arr.length) {\n return false;\n }\n\n const len = arr.length - 1;\n\n for (let i = index; i < len; i++) {\n arr[i] = arr[i + 1];\n }\n\n arr.length = len;\n\n return true;\n}\n\nexport function merge(a: any, ...objs: any[]): any {\n for (let i = 0, len = objs.length; i < len; i++) {\n const b = objs[i];\n for (const key in b) {\n if (b.hasOwnProperty(key)) {\n a[key] = b[key];\n }\n }\n }\n return a;\n}\n\nexport declare interface DummyServer {\n constructor(options?: ServerOpts, connectionListener?: (socket: Socket) => void);\n\n listen(port?: number, hostname?: string, backlog?: number, listeningListener?: () => void): this;\n close(callback?: (err?: Error) => void): this;\n}\n\nexport class DummyServer extends EventEmitter {}\n\n"],"names":[],"mappings":";;;;AAMA;MACa,yBAAyB,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,+BAA+B,IAAI,IAAI,EAAE;SAErF,UAAU,CAAC,SAAiB,C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cAAc,CAAC,GAAG,CAAC,EAAE;gBACzB,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC;aACjB;SACF;KACF;IACD,OAAO,CAAC,CAAC;AACX,CAAC;MASY,WAAY,SAAQ,YAAY;;;;;"}
|
package/build/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export { LocalPresence } from './presence/LocalPresence';
|
|
|
14
14
|
export { Serializer } from './serializer/Serializer';
|
|
15
15
|
export { SchemaSerializer } from './serializer/SchemaSerializer';
|
|
16
16
|
export { Clock, Delayed };
|
|
17
|
-
export { generateId, Deferred, spliceOne } from './Utils';
|
|
17
|
+
export { generateId, Deferred, DummyServer, spliceOne } from './Utils';
|
|
18
18
|
export { debugMatchMaking, debugPatch, debugError, debugConnection, debugDriver, debugPresence, debugAndPrintError, } from './Debug';
|
|
19
19
|
export { LobbyRoom } from './rooms/LobbyRoom';
|
|
20
20
|
export { RelayRoom } from './rooms/RelayRoom';
|
package/build/index.js
CHANGED
|
@@ -74,6 +74,7 @@ exports.Transport = Transport.Transport;
|
|
|
74
74
|
exports.LocalPresence = LocalPresence.LocalPresence;
|
|
75
75
|
exports.SchemaSerializer = SchemaSerializer.SchemaSerializer;
|
|
76
76
|
exports.Deferred = Utils.Deferred;
|
|
77
|
+
exports.DummyServer = Utils.DummyServer;
|
|
77
78
|
exports.generateId = Utils.generateId;
|
|
78
79
|
exports.spliceOne = Utils.spliceOne;
|
|
79
80
|
exports.debugAndPrintError = Debug.debugAndPrintError;
|