@colyseus/core 0.14.28 → 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.
Files changed (2992) hide show
  1. package/README.md +26 -18
  2. package/build/Logger.js +49 -10
  3. package/build/Logger.js.map +7 -1
  4. package/build/Logger.mjs +23 -5
  5. package/build/Logger.mjs.map +7 -1
  6. package/build/Transport.d.ts +2 -1
  7. package/build/Transport.js.map +1 -1
  8. package/build/Transport.mjs.map +1 -1
  9. package/build/Utils.d.ts +10 -0
  10. package/build/Utils.js +4 -0
  11. package/build/Utils.js.map +1 -1
  12. package/build/Utils.mjs +4 -1
  13. package/build/Utils.mjs.map +1 -1
  14. package/build/index.d.ts +1 -1
  15. package/build/index.js +1 -0
  16. package/build/index.js.map +1 -1
  17. package/build/index.mjs +1 -1
  18. package/build/matchmaker/driver/interfaces.js +15 -0
  19. package/build/matchmaker/driver/interfaces.js.map +7 -0
  20. package/build/matchmaker/driver/interfaces.mjs +0 -0
  21. package/build/matchmaker/driver/interfaces.mjs.map +7 -0
  22. package/build/presence/Presence.js +15 -0
  23. package/build/presence/Presence.js.map +7 -0
  24. package/build/presence/Presence.mjs +0 -0
  25. package/build/presence/Presence.mjs.map +7 -0
  26. package/build/serializer/Serializer.js +15 -0
  27. package/build/serializer/Serializer.js.map +7 -0
  28. package/build/serializer/Serializer.mjs +0 -0
  29. package/build/serializer/Serializer.mjs.map +7 -0
  30. package/build/types.js +15 -0
  31. package/build/types.js.map +7 -0
  32. package/build/types.mjs +0 -0
  33. package/build/types.mjs.map +7 -0
  34. package/build/utils/DevMode.d.ts +12 -0
  35. package/build/utils/DevMode.js +108 -0
  36. package/build/utils/DevMode.js.map +7 -0
  37. package/build/utils/DevMode.mjs +75 -0
  38. package/build/utils/DevMode.mjs.map +7 -0
  39. package/build/utils/Utils.d.ts +49 -0
  40. package/build/utils/Utils.js +226 -0
  41. package/build/utils/Utils.js.map +7 -0
  42. package/build/utils/Utils.mjs +192 -0
  43. package/build/utils/Utils.mjs.map +7 -0
  44. package/package.json +2 -2
  45. package/build/_virtual/AggregationCursor.js_commonjs-proxy +0 -3
  46. package/build/_virtual/AggregationCursor.js_commonjs-proxy.map +0 -1
  47. package/build/_virtual/BufferList.js_commonjs-proxy +0 -3
  48. package/build/_virtual/BufferList.js_commonjs-proxy.map +0 -1
  49. package/build/_virtual/ChangeStream.js_commonjs-proxy +0 -3
  50. package/build/_virtual/ChangeStream.js_commonjs-proxy.map +0 -1
  51. package/build/_virtual/PopulateOptions.js_commonjs-proxy +0 -3
  52. package/build/_virtual/PopulateOptions.js_commonjs-proxy.map +0 -1
  53. package/build/_virtual/QueryCursor.js_commonjs-proxy +0 -3
  54. package/build/_virtual/QueryCursor.js_commonjs-proxy.map +0 -1
  55. package/build/_virtual/ReadPreference.js_commonjs-proxy +0 -3
  56. package/build/_virtual/ReadPreference.js_commonjs-proxy.map +0 -1
  57. package/build/_virtual/SchemaArrayOptions.js_commonjs-proxy +0 -3
  58. package/build/_virtual/SchemaArrayOptions.js_commonjs-proxy.map +0 -1
  59. package/build/_virtual/SchemaBufferOptions.js_commonjs-proxy +0 -3
  60. package/build/_virtual/SchemaBufferOptions.js_commonjs-proxy.map +0 -1
  61. package/build/_virtual/SchemaDateOptions.js_commonjs-proxy +0 -3
  62. package/build/_virtual/SchemaDateOptions.js_commonjs-proxy.map +0 -1
  63. package/build/_virtual/SchemaDocumentArrayOptions.js_commonjs-proxy +0 -3
  64. package/build/_virtual/SchemaDocumentArrayOptions.js_commonjs-proxy.map +0 -1
  65. package/build/_virtual/SchemaMapOptions.js_commonjs-proxy +0 -3
  66. package/build/_virtual/SchemaMapOptions.js_commonjs-proxy.map +0 -1
  67. package/build/_virtual/SchemaNumberOptions.js_commonjs-proxy +0 -3
  68. package/build/_virtual/SchemaNumberOptions.js_commonjs-proxy.map +0 -1
  69. package/build/_virtual/SchemaObjectIdOptions.js_commonjs-proxy +0 -3
  70. package/build/_virtual/SchemaObjectIdOptions.js_commonjs-proxy.map +0 -1
  71. package/build/_virtual/SchemaSingleNestedOptions.js_commonjs-proxy +0 -3
  72. package/build/_virtual/SchemaSingleNestedOptions.js_commonjs-proxy.map +0 -1
  73. package/build/_virtual/SchemaStringOptions.js_commonjs-proxy +0 -3
  74. package/build/_virtual/SchemaStringOptions.js_commonjs-proxy.map +0 -1
  75. package/build/_virtual/SchemaTypeOptions.js_commonjs-proxy +0 -3
  76. package/build/_virtual/SchemaTypeOptions.js_commonjs-proxy.map +0 -1
  77. package/build/_virtual/SingleNestedPath.js_commonjs-proxy +0 -3
  78. package/build/_virtual/SingleNestedPath.js_commonjs-proxy.map +0 -1
  79. package/build/_virtual/SkipPopulateValue.js_commonjs-proxy +0 -3
  80. package/build/_virtual/SkipPopulateValue.js_commonjs-proxy.map +0 -1
  81. package/build/_virtual/VirtualOptions.js_commonjs-proxy +0 -3
  82. package/build/_virtual/VirtualOptions.js_commonjs-proxy.map +0 -1
  83. package/build/_virtual/_commonjsHelpers.js +0 -28
  84. package/build/_virtual/_commonjsHelpers.js.map +0 -1
  85. package/build/_virtual/_stream_duplex.js_commonjs-proxy +0 -3
  86. package/build/_virtual/_stream_duplex.js_commonjs-proxy.map +0 -1
  87. package/build/_virtual/_stream_passthrough.js_commonjs-proxy +0 -3
  88. package/build/_virtual/_stream_passthrough.js_commonjs-proxy.map +0 -1
  89. package/build/_virtual/_stream_readable.js_commonjs-proxy +0 -3
  90. package/build/_virtual/_stream_readable.js_commonjs-proxy.map +0 -1
  91. package/build/_virtual/_stream_transform.js_commonjs-proxy +0 -3
  92. package/build/_virtual/_stream_transform.js_commonjs-proxy.map +0 -1
  93. package/build/_virtual/_stream_writable.js_commonjs-proxy +0 -3
  94. package/build/_virtual/_stream_writable.js_commonjs-proxy.map +0 -1
  95. package/build/_virtual/addAutoId.js_commonjs-proxy +0 -3
  96. package/build/_virtual/addAutoId.js_commonjs-proxy.map +0 -1
  97. package/build/_virtual/add_user.js_commonjs-proxy +0 -3
  98. package/build/_virtual/add_user.js_commonjs-proxy.map +0 -1
  99. package/build/_virtual/admin.js_commonjs-proxy +0 -3
  100. package/build/_virtual/admin.js_commonjs-proxy.map +0 -1
  101. package/build/_virtual/aggregate.js_commonjs-proxy +0 -3
  102. package/build/_virtual/aggregate.js_commonjs-proxy.map +0 -1
  103. package/build/_virtual/aggregate2.js_commonjs-proxy +0 -3
  104. package/build/_virtual/aggregate2.js_commonjs-proxy.map +0 -1
  105. package/build/_virtual/aggregation_cursor.js_commonjs-proxy +0 -3
  106. package/build/_virtual/aggregation_cursor.js_commonjs-proxy.map +0 -1
  107. package/build/_virtual/allServersUnknown.js_commonjs-proxy +0 -3
  108. package/build/_virtual/allServersUnknown.js_commonjs-proxy.map +0 -1
  109. package/build/_virtual/any.js_commonjs-proxy +0 -3
  110. package/build/_virtual/any.js_commonjs-proxy.map +0 -1
  111. package/build/_virtual/apm.js_commonjs-proxy +0 -3
  112. package/build/_virtual/apm.js_commonjs-proxy.map +0 -1
  113. package/build/_virtual/apm2.js_commonjs-proxy +0 -3
  114. package/build/_virtual/apm2.js_commonjs-proxy.map +0 -1
  115. package/build/_virtual/applyGlobalMaxTimeMS.js_commonjs-proxy +0 -3
  116. package/build/_virtual/applyGlobalMaxTimeMS.js_commonjs-proxy.map +0 -1
  117. package/build/_virtual/applyHooks.js_commonjs-proxy +0 -3
  118. package/build/_virtual/applyHooks.js_commonjs-proxy.map +0 -1
  119. package/build/_virtual/applyMethods.js_commonjs-proxy +0 -3
  120. package/build/_virtual/applyMethods.js_commonjs-proxy.map +0 -1
  121. package/build/_virtual/applyPlugins.js_commonjs-proxy +0 -3
  122. package/build/_virtual/applyPlugins.js_commonjs-proxy.map +0 -1
  123. package/build/_virtual/applyQueryMiddleware.js_commonjs-proxy +0 -3
  124. package/build/_virtual/applyQueryMiddleware.js_commonjs-proxy.map +0 -1
  125. package/build/_virtual/applyStaticHooks.js_commonjs-proxy +0 -3
  126. package/build/_virtual/applyStaticHooks.js_commonjs-proxy.map +0 -1
  127. package/build/_virtual/applyStatics.js_commonjs-proxy +0 -3
  128. package/build/_virtual/applyStatics.js_commonjs-proxy.map +0 -1
  129. package/build/_virtual/applyTimestampsToChildren.js_commonjs-proxy +0 -3
  130. package/build/_virtual/applyTimestampsToChildren.js_commonjs-proxy.map +0 -1
  131. package/build/_virtual/applyTimestampsToUpdate.js_commonjs-proxy +0 -3
  132. package/build/_virtual/applyTimestampsToUpdate.js_commonjs-proxy.map +0 -1
  133. package/build/_virtual/applyWriteConcern.js_commonjs-proxy +0 -3
  134. package/build/_virtual/applyWriteConcern.js_commonjs-proxy.map +0 -1
  135. package/build/_virtual/areDiscriminatorValuesEqual.js_commonjs-proxy +0 -3
  136. package/build/_virtual/areDiscriminatorValuesEqual.js_commonjs-proxy.map +0 -1
  137. package/build/_virtual/array.js_commonjs-proxy +0 -3
  138. package/build/_virtual/array.js_commonjs-proxy.map +0 -1
  139. package/build/_virtual/array2.js_commonjs-proxy +0 -3
  140. package/build/_virtual/array2.js_commonjs-proxy.map +0 -1
  141. package/build/_virtual/arrayDepth.js_commonjs-proxy +0 -3
  142. package/build/_virtual/arrayDepth.js_commonjs-proxy.map +0 -1
  143. package/build/_virtual/assignRawDocsToIdStructure.js_commonjs-proxy +0 -3
  144. package/build/_virtual/assignRawDocsToIdStructure.js_commonjs-proxy.map +0 -1
  145. package/build/_virtual/assignVals.js_commonjs-proxy +0 -3
  146. package/build/_virtual/assignVals.js_commonjs-proxy.map +0 -1
  147. package/build/_virtual/async.js_commonjs-proxy +0 -3
  148. package/build/_virtual/async.js_commonjs-proxy.map +0 -1
  149. package/build/_virtual/async_iterator.js_commonjs-proxy +0 -3
  150. package/build/_virtual/async_iterator.js_commonjs-proxy.map +0 -1
  151. package/build/_virtual/auth_provider.js_commonjs-proxy +0 -3
  152. package/build/_virtual/auth_provider.js_commonjs-proxy.map +0 -1
  153. package/build/_virtual/aws4.js_commonjs-proxy +0 -3
  154. package/build/_virtual/aws4.js_commonjs-proxy.map +0 -1
  155. package/build/_virtual/binary.js_commonjs-proxy +0 -3
  156. package/build/_virtual/binary.js_commonjs-proxy.map +0 -1
  157. package/build/_virtual/binary2.js_commonjs-proxy +0 -3
  158. package/build/_virtual/binary2.js_commonjs-proxy.map +0 -1
  159. package/build/_virtual/bind.js_commonjs-proxy +0 -3
  160. package/build/_virtual/bind.js_commonjs-proxy.map +0 -1
  161. package/build/_virtual/bitwise.js_commonjs-proxy +0 -3
  162. package/build/_virtual/bitwise.js_commonjs-proxy.map +0 -1
  163. package/build/_virtual/bl.js_commonjs-proxy +0 -3
  164. package/build/_virtual/bl.js_commonjs-proxy.map +0 -1
  165. package/build/_virtual/bluebird.js_commonjs-proxy +0 -3
  166. package/build/_virtual/bluebird.js_commonjs-proxy.map +0 -1
  167. package/build/_virtual/boolean.js_commonjs-proxy +0 -3
  168. package/build/_virtual/boolean.js_commonjs-proxy.map +0 -1
  169. package/build/_virtual/boolean2.js_commonjs-proxy +0 -3
  170. package/build/_virtual/boolean2.js_commonjs-proxy.map +0 -1
  171. package/build/_virtual/browserDocument.js_commonjs-proxy +0 -3
  172. package/build/_virtual/browserDocument.js_commonjs-proxy.map +0 -1
  173. package/build/_virtual/bson.js_commonjs-proxy +0 -3
  174. package/build/_virtual/bson.js_commonjs-proxy.map +0 -1
  175. package/build/_virtual/buffer-util.js_commonjs-proxy +0 -3
  176. package/build/_virtual/buffer-util.js_commonjs-proxy.map +0 -1
  177. package/build/_virtual/buffer.js_commonjs-proxy +0 -3
  178. package/build/_virtual/buffer.js_commonjs-proxy.map +0 -1
  179. package/build/_virtual/buffer2.js_commonjs-proxy +0 -3
  180. package/build/_virtual/buffer2.js_commonjs-proxy.map +0 -1
  181. package/build/_virtual/bulk_write.js_commonjs-proxy +0 -3
  182. package/build/_virtual/bulk_write.js_commonjs-proxy.map +0 -1
  183. package/build/_virtual/calculate_size.js_commonjs-proxy +0 -3
  184. package/build/_virtual/calculate_size.js_commonjs-proxy.map +0 -1
  185. package/build/_virtual/call_get.js_commonjs-proxy +0 -3
  186. package/build/_virtual/call_get.js_commonjs-proxy.map +0 -1
  187. package/build/_virtual/cancel.js_commonjs-proxy +0 -3
  188. package/build/_virtual/cancel.js_commonjs-proxy.map +0 -1
  189. package/build/_virtual/cast.js_commonjs-proxy +0 -3
  190. package/build/_virtual/cast.js_commonjs-proxy.map +0 -1
  191. package/build/_virtual/cast2.js_commonjs-proxy +0 -3
  192. package/build/_virtual/cast2.js_commonjs-proxy.map +0 -1
  193. package/build/_virtual/castArrayFilters.js_commonjs-proxy +0 -3
  194. package/build/_virtual/castArrayFilters.js_commonjs-proxy.map +0 -1
  195. package/build/_virtual/castBulkWrite.js_commonjs-proxy +0 -3
  196. package/build/_virtual/castBulkWrite.js_commonjs-proxy.map +0 -1
  197. package/build/_virtual/castFilterPath.js_commonjs-proxy +0 -3
  198. package/build/_virtual/castFilterPath.js_commonjs-proxy.map +0 -1
  199. package/build/_virtual/castUpdate.js_commonjs-proxy +0 -3
  200. package/build/_virtual/castUpdate.js_commonjs-proxy.map +0 -1
  201. package/build/_virtual/catch_filter.js_commonjs-proxy +0 -3
  202. package/build/_virtual/catch_filter.js_commonjs-proxy.map +0 -1
  203. package/build/_virtual/change_stream.js_commonjs-proxy +0 -3
  204. package/build/_virtual/change_stream.js_commonjs-proxy.map +0 -1
  205. package/build/_virtual/checkEmbeddedDiscriminatorKeyProjection.js_commonjs-proxy +0 -3
  206. package/build/_virtual/checkEmbeddedDiscriminatorKeyProjection.js_commonjs-proxy.map +0 -1
  207. package/build/_virtual/chunk.js_commonjs-proxy +0 -3
  208. package/build/_virtual/chunk.js_commonjs-proxy.map +0 -1
  209. package/build/_virtual/cleanModifiedSubpaths.js_commonjs-proxy +0 -3
  210. package/build/_virtual/cleanModifiedSubpaths.js_commonjs-proxy.map +0 -1
  211. package/build/_virtual/cleanPositionalOperators.js_commonjs-proxy +0 -3
  212. package/build/_virtual/cleanPositionalOperators.js_commonjs-proxy.map +0 -1
  213. package/build/_virtual/clone.js_commonjs-proxy +0 -3
  214. package/build/_virtual/clone.js_commonjs-proxy.map +0 -1
  215. package/build/_virtual/code.js_commonjs-proxy +0 -3
  216. package/build/_virtual/code.js_commonjs-proxy.map +0 -1
  217. package/build/_virtual/collection.js_commonjs-proxy +0 -3
  218. package/build/_virtual/collection.js_commonjs-proxy.map +0 -1
  219. package/build/_virtual/collection2.js_commonjs-proxy +0 -3
  220. package/build/_virtual/collection2.js_commonjs-proxy.map +0 -1
  221. package/build/_virtual/collection3.js_commonjs-proxy +0 -3
  222. package/build/_virtual/collection3.js_commonjs-proxy.map +0 -1
  223. package/build/_virtual/collection4.js_commonjs-proxy +0 -3
  224. package/build/_virtual/collection4.js_commonjs-proxy.map +0 -1
  225. package/build/_virtual/collection_ops.js_commonjs-proxy +0 -3
  226. package/build/_virtual/collection_ops.js_commonjs-proxy.map +0 -1
  227. package/build/_virtual/collections.js_commonjs-proxy +0 -3
  228. package/build/_virtual/collections.js_commonjs-proxy.map +0 -1
  229. package/build/_virtual/command.js_commonjs-proxy +0 -3
  230. package/build/_virtual/command.js_commonjs-proxy.map +0 -1
  231. package/build/_virtual/command2.js_commonjs-proxy +0 -3
  232. package/build/_virtual/command2.js_commonjs-proxy.map +0 -1
  233. package/build/_virtual/command3.js_commonjs-proxy +0 -3
  234. package/build/_virtual/command3.js_commonjs-proxy.map +0 -1
  235. package/build/_virtual/command_cursor.js_commonjs-proxy +0 -3
  236. package/build/_virtual/command_cursor.js_commonjs-proxy.map +0 -1
  237. package/build/_virtual/command_result.js_commonjs-proxy +0 -3
  238. package/build/_virtual/command_result.js_commonjs-proxy.map +0 -1
  239. package/build/_virtual/command_v2.js_commonjs-proxy +0 -3
  240. package/build/_virtual/command_v2.js_commonjs-proxy.map +0 -1
  241. package/build/_virtual/commands.js_commonjs-proxy +0 -3
  242. package/build/_virtual/commands.js_commonjs-proxy.map +0 -1
  243. package/build/_virtual/commands2.js_commonjs-proxy +0 -3
  244. package/build/_virtual/commands2.js_commonjs-proxy.map +0 -1
  245. package/build/_virtual/common.js_commonjs-proxy +0 -3
  246. package/build/_virtual/common.js_commonjs-proxy.map +0 -1
  247. package/build/_virtual/common2.js_commonjs-proxy +0 -3
  248. package/build/_virtual/common2.js_commonjs-proxy.map +0 -1
  249. package/build/_virtual/common3.js_commonjs-proxy +0 -3
  250. package/build/_virtual/common3.js_commonjs-proxy.map +0 -1
  251. package/build/_virtual/common_functions.js_commonjs-proxy +0 -3
  252. package/build/_virtual/common_functions.js_commonjs-proxy.map +0 -1
  253. package/build/_virtual/compile.js_commonjs-proxy +0 -3
  254. package/build/_virtual/compile.js_commonjs-proxy.map +0 -1
  255. package/build/_virtual/completeMany.js_commonjs-proxy +0 -3
  256. package/build/_virtual/completeMany.js_commonjs-proxy.map +0 -1
  257. package/build/_virtual/compression.js_commonjs-proxy +0 -3
  258. package/build/_virtual/compression.js_commonjs-proxy.map +0 -1
  259. package/build/_virtual/connect.js_commonjs-proxy +0 -3
  260. package/build/_virtual/connect.js_commonjs-proxy.map +0 -1
  261. package/build/_virtual/connect2.js_commonjs-proxy +0 -3
  262. package/build/_virtual/connect2.js_commonjs-proxy.map +0 -1
  263. package/build/_virtual/connection.js_commonjs-proxy +0 -3
  264. package/build/_virtual/connection.js_commonjs-proxy.map +0 -1
  265. package/build/_virtual/connection2.js_commonjs-proxy +0 -3
  266. package/build/_virtual/connection2.js_commonjs-proxy.map +0 -1
  267. package/build/_virtual/connection3.js_commonjs-proxy +0 -3
  268. package/build/_virtual/connection3.js_commonjs-proxy.map +0 -1
  269. package/build/_virtual/connection4.js_commonjs-proxy +0 -3
  270. package/build/_virtual/connection4.js_commonjs-proxy.map +0 -1
  271. package/build/_virtual/connection_pool.js_commonjs-proxy +0 -3
  272. package/build/_virtual/connection_pool.js_commonjs-proxy.map +0 -1
  273. package/build/_virtual/connectionstate.js_commonjs-proxy +0 -3
  274. package/build/_virtual/connectionstate.js_commonjs-proxy.map +0 -1
  275. package/build/_virtual/constants.js_commonjs-proxy +0 -3
  276. package/build/_virtual/constants.js_commonjs-proxy.map +0 -1
  277. package/build/_virtual/constants2.js_commonjs-proxy +0 -3
  278. package/build/_virtual/constants2.js_commonjs-proxy.map +0 -1
  279. package/build/_virtual/constants3.js_commonjs-proxy +0 -3
  280. package/build/_virtual/constants3.js_commonjs-proxy.map +0 -1
  281. package/build/_virtual/context.js_commonjs-proxy +0 -3
  282. package/build/_virtual/context.js_commonjs-proxy.map +0 -1
  283. package/build/_virtual/core_array.js_commonjs-proxy +0 -3
  284. package/build/_virtual/core_array.js_commonjs-proxy.map +0 -1
  285. package/build/_virtual/count.js_commonjs-proxy +0 -3
  286. package/build/_virtual/count.js_commonjs-proxy.map +0 -1
  287. package/build/_virtual/count_documents.js_commonjs-proxy +0 -3
  288. package/build/_virtual/count_documents.js_commonjs-proxy.map +0 -1
  289. package/build/_virtual/createClient.js_commonjs-proxy +0 -3
  290. package/build/_virtual/createClient.js_commonjs-proxy.map +0 -1
  291. package/build/_virtual/createPopulateQueryFilter.js_commonjs-proxy +0 -3
  292. package/build/_virtual/createPopulateQueryFilter.js_commonjs-proxy.map +0 -1
  293. package/build/_virtual/create_collection.js_commonjs-proxy +0 -3
  294. package/build/_virtual/create_collection.js_commonjs-proxy.map +0 -1
  295. package/build/_virtual/create_indexes.js_commonjs-proxy +0 -3
  296. package/build/_virtual/create_indexes.js_commonjs-proxy.map +0 -1
  297. package/build/_virtual/cursor.js_commonjs-proxy +0 -3
  298. package/build/_virtual/cursor.js_commonjs-proxy.map +0 -1
  299. package/build/_virtual/cursor2.js_commonjs-proxy +0 -3
  300. package/build/_virtual/cursor2.js_commonjs-proxy.map +0 -1
  301. package/build/_virtual/cursor_ops.js_commonjs-proxy +0 -3
  302. package/build/_virtual/cursor_ops.js_commonjs-proxy.map +0 -1
  303. package/build/_virtual/customErrors.js_commonjs-proxy +0 -3
  304. package/build/_virtual/customErrors.js_commonjs-proxy.map +0 -1
  305. package/build/_virtual/date.js_commonjs-proxy +0 -3
  306. package/build/_virtual/date.js_commonjs-proxy.map +0 -1
  307. package/build/_virtual/date2.js_commonjs-proxy +0 -3
  308. package/build/_virtual/date2.js_commonjs-proxy.map +0 -1
  309. package/build/_virtual/db.js_commonjs-proxy +0 -3
  310. package/build/_virtual/db.js_commonjs-proxy.map +0 -1
  311. package/build/_virtual/db_ops.js_commonjs-proxy +0 -3
  312. package/build/_virtual/db_ops.js_commonjs-proxy.map +0 -1
  313. package/build/_virtual/db_ref.js_commonjs-proxy +0 -3
  314. package/build/_virtual/db_ref.js_commonjs-proxy.map +0 -1
  315. package/build/_virtual/debug.js_commonjs-proxy +0 -3
  316. package/build/_virtual/debug.js_commonjs-proxy.map +0 -1
  317. package/build/_virtual/debuggability.js_commonjs-proxy +0 -3
  318. package/build/_virtual/debuggability.js_commonjs-proxy.map +0 -1
  319. package/build/_virtual/decimal128.js_commonjs-proxy +0 -3
  320. package/build/_virtual/decimal128.js_commonjs-proxy.map +0 -1
  321. package/build/_virtual/decimal1282.js_commonjs-proxy +0 -3
  322. package/build/_virtual/decimal1282.js_commonjs-proxy.map +0 -1
  323. package/build/_virtual/decimal1283.js_commonjs-proxy +0 -3
  324. package/build/_virtual/decimal1283.js_commonjs-proxy.map +0 -1
  325. package/build/_virtual/decimal1284.js_commonjs-proxy +0 -3
  326. package/build/_virtual/decimal1284.js_commonjs-proxy.map +0 -1
  327. package/build/_virtual/decimal1285.js_commonjs-proxy +0 -3
  328. package/build/_virtual/decimal1285.js_commonjs-proxy.map +0 -1
  329. package/build/_virtual/defaultAuthProviders.js_commonjs-proxy +0 -3
  330. package/build/_virtual/defaultAuthProviders.js_commonjs-proxy.map +0 -1
  331. package/build/_virtual/delete_many.js_commonjs-proxy +0 -3
  332. package/build/_virtual/delete_many.js_commonjs-proxy.map +0 -1
  333. package/build/_virtual/delete_one.js_commonjs-proxy +0 -3
  334. package/build/_virtual/delete_one.js_commonjs-proxy.map +0 -1
  335. package/build/_virtual/deque.js_commonjs-proxy +0 -3
  336. package/build/_virtual/deque.js_commonjs-proxy.map +0 -1
  337. package/build/_virtual/deserializer.js_commonjs-proxy +0 -3
  338. package/build/_virtual/deserializer.js_commonjs-proxy.map +0 -1
  339. package/build/_virtual/destroy.js_commonjs-proxy +0 -3
  340. package/build/_virtual/destroy.js_commonjs-proxy.map +0 -1
  341. package/build/_virtual/direct_resolve.js_commonjs-proxy +0 -3
  342. package/build/_virtual/direct_resolve.js_commonjs-proxy.map +0 -1
  343. package/build/_virtual/discriminator.js_commonjs-proxy +0 -3
  344. package/build/_virtual/discriminator.js_commonjs-proxy.map +0 -1
  345. package/build/_virtual/distinct.js_commonjs-proxy +0 -3
  346. package/build/_virtual/distinct.js_commonjs-proxy.map +0 -1
  347. package/build/_virtual/divergentArray.js_commonjs-proxy +0 -3
  348. package/build/_virtual/divergentArray.js_commonjs-proxy.map +0 -1
  349. package/build/_virtual/document.js_commonjs-proxy +0 -3
  350. package/build/_virtual/document.js_commonjs-proxy.map +0 -1
  351. package/build/_virtual/document_provider.js_commonjs-proxy +0 -3
  352. package/build/_virtual/document_provider.js_commonjs-proxy.map +0 -1
  353. package/build/_virtual/documentarray.js_commonjs-proxy +0 -3
  354. package/build/_virtual/documentarray.js_commonjs-proxy.map +0 -1
  355. package/build/_virtual/documentarray2.js_commonjs-proxy +0 -3
  356. package/build/_virtual/documentarray2.js_commonjs-proxy.map +0 -1
  357. package/build/_virtual/double.js_commonjs-proxy +0 -3
  358. package/build/_virtual/double.js_commonjs-proxy.map +0 -1
  359. package/build/_virtual/download.js_commonjs-proxy +0 -3
  360. package/build/_virtual/download.js_commonjs-proxy.map +0 -1
  361. package/build/_virtual/driver.js_commonjs-proxy +0 -3
  362. package/build/_virtual/driver.js_commonjs-proxy.map +0 -1
  363. package/build/_virtual/drop.js_commonjs-proxy +0 -3
  364. package/build/_virtual/drop.js_commonjs-proxy.map +0 -1
  365. package/build/_virtual/drop_index.js_commonjs-proxy +0 -3
  366. package/build/_virtual/drop_index.js_commonjs-proxy.map +0 -1
  367. package/build/_virtual/drop_indexes.js_commonjs-proxy +0 -3
  368. package/build/_virtual/drop_indexes.js_commonjs-proxy.map +0 -1
  369. package/build/_virtual/dynamic_loaders.js_commonjs-proxy +0 -3
  370. package/build/_virtual/dynamic_loaders.js_commonjs-proxy.map +0 -1
  371. package/build/_virtual/each.js_commonjs-proxy +0 -3
  372. package/build/_virtual/each.js_commonjs-proxy.map +0 -1
  373. package/build/_virtual/each2.js_commonjs-proxy +0 -3
  374. package/build/_virtual/each2.js_commonjs-proxy.map +0 -1
  375. package/build/_virtual/eachAsync.js_commonjs-proxy +0 -3
  376. package/build/_virtual/eachAsync.js_commonjs-proxy.map +0 -1
  377. package/build/_virtual/embedded.js_commonjs-proxy +0 -3
  378. package/build/_virtual/embedded.js_commonjs-proxy.map +0 -1
  379. package/build/_virtual/encrypter.js_commonjs-proxy +0 -3
  380. package/build/_virtual/encrypter.js_commonjs-proxy.map +0 -1
  381. package/build/_virtual/env.js_commonjs-proxy +0 -3
  382. package/build/_virtual/env.js_commonjs-proxy.map +0 -1
  383. package/build/_virtual/error.js_commonjs-proxy +0 -3
  384. package/build/_virtual/error.js_commonjs-proxy.map +0 -1
  385. package/build/_virtual/error2.js_commonjs-proxy +0 -3
  386. package/build/_virtual/error2.js_commonjs-proxy.map +0 -1
  387. package/build/_virtual/errors.js_commonjs-proxy +0 -3
  388. package/build/_virtual/errors.js_commonjs-proxy.map +0 -1
  389. package/build/_virtual/errors2.js_commonjs-proxy +0 -3
  390. package/build/_virtual/errors2.js_commonjs-proxy.map +0 -1
  391. package/build/_virtual/es5.js_commonjs-proxy +0 -3
  392. package/build/_virtual/es5.js_commonjs-proxy.map +0 -1
  393. package/build/_virtual/estimated_document_count.js_commonjs-proxy +0 -3
  394. package/build/_virtual/estimated_document_count.js_commonjs-proxy.map +0 -1
  395. package/build/_virtual/event-target.js_commonjs-proxy +0 -3
  396. package/build/_virtual/event-target.js_commonjs-proxy.map +0 -1
  397. package/build/_virtual/events.js_commonjs-proxy +0 -3
  398. package/build/_virtual/events.js_commonjs-proxy.map +0 -1
  399. package/build/_virtual/events2.js_commonjs-proxy +0 -3
  400. package/build/_virtual/events2.js_commonjs-proxy.map +0 -1
  401. package/build/_virtual/execute_db_admin_command.js_commonjs-proxy +0 -3
  402. package/build/_virtual/execute_db_admin_command.js_commonjs-proxy.map +0 -1
  403. package/build/_virtual/execute_operation.js_commonjs-proxy +0 -3
  404. package/build/_virtual/execute_operation.js_commonjs-proxy.map +0 -1
  405. package/build/_virtual/exists.js_commonjs-proxy +0 -3
  406. package/build/_virtual/exists.js_commonjs-proxy.map +0 -1
  407. package/build/_virtual/explain.js_commonjs-proxy +0 -3
  408. package/build/_virtual/explain.js_commonjs-proxy.map +0 -1
  409. package/build/_virtual/extension.js_commonjs-proxy +0 -3
  410. package/build/_virtual/extension.js_commonjs-proxy.map +0 -1
  411. package/build/_virtual/filter.js_commonjs-proxy +0 -3
  412. package/build/_virtual/filter.js_commonjs-proxy.map +0 -1
  413. package/build/_virtual/finally.js_commonjs-proxy +0 -3
  414. package/build/_virtual/finally.js_commonjs-proxy.map +0 -1
  415. package/build/_virtual/find.js_commonjs-proxy +0 -3
  416. package/build/_virtual/find.js_commonjs-proxy.map +0 -1
  417. package/build/_virtual/find_and_modify.js_commonjs-proxy +0 -3
  418. package/build/_virtual/find_and_modify.js_commonjs-proxy.map +0 -1
  419. package/build/_virtual/find_one.js_commonjs-proxy +0 -3
  420. package/build/_virtual/find_one.js_commonjs-proxy.map +0 -1
  421. package/build/_virtual/find_one_and_delete.js_commonjs-proxy +0 -3
  422. package/build/_virtual/find_one_and_delete.js_commonjs-proxy.map +0 -1
  423. package/build/_virtual/find_one_and_replace.js_commonjs-proxy +0 -3
  424. package/build/_virtual/find_one_and_replace.js_commonjs-proxy.map +0 -1
  425. package/build/_virtual/find_one_and_update.js_commonjs-proxy +0 -3
  426. package/build/_virtual/find_one_and_update.js_commonjs-proxy.map +0 -1
  427. package/build/_virtual/float_parser.js_commonjs-proxy +0 -3
  428. package/build/_virtual/float_parser.js_commonjs-proxy.map +0 -1
  429. package/build/_virtual/generators.js_commonjs-proxy +0 -3
  430. package/build/_virtual/generators.js_commonjs-proxy.map +0 -1
  431. package/build/_virtual/geo_haystack_search.js_commonjs-proxy +0 -3
  432. package/build/_virtual/geo_haystack_search.js_commonjs-proxy.map +0 -1
  433. package/build/_virtual/geospatial.js_commonjs-proxy +0 -3
  434. package/build/_virtual/geospatial.js_commonjs-proxy.map +0 -1
  435. package/build/_virtual/get.js_commonjs-proxy +0 -3
  436. package/build/_virtual/get.js_commonjs-proxy.map +0 -1
  437. package/build/_virtual/getConstructor.js_commonjs-proxy +0 -3
  438. package/build/_virtual/getConstructor.js_commonjs-proxy.map +0 -1
  439. package/build/_virtual/getDefaultBulkwriteResult.js_commonjs-proxy +0 -3
  440. package/build/_virtual/getDefaultBulkwriteResult.js_commonjs-proxy.map +0 -1
  441. package/build/_virtual/getDiscriminatorByValue.js_commonjs-proxy +0 -3
  442. package/build/_virtual/getDiscriminatorByValue.js_commonjs-proxy.map +0 -1
  443. package/build/_virtual/getEmbeddedDiscriminatorPath.js_commonjs-proxy +0 -3
  444. package/build/_virtual/getEmbeddedDiscriminatorPath.js_commonjs-proxy.map +0 -1
  445. package/build/_virtual/getEmbeddedDiscriminatorPath2.js_commonjs-proxy +0 -3
  446. package/build/_virtual/getEmbeddedDiscriminatorPath2.js_commonjs-proxy.map +0 -1
  447. package/build/_virtual/getFunctionName.js_commonjs-proxy +0 -3
  448. package/build/_virtual/getFunctionName.js_commonjs-proxy.map +0 -1
  449. package/build/_virtual/getIndexes.js_commonjs-proxy +0 -3
  450. package/build/_virtual/getIndexes.js_commonjs-proxy.map +0 -1
  451. package/build/_virtual/getModelsMapForPopulate.js_commonjs-proxy +0 -3
  452. package/build/_virtual/getModelsMapForPopulate.js_commonjs-proxy.map +0 -1
  453. package/build/_virtual/getPath.js_commonjs-proxy +0 -3
  454. package/build/_virtual/getPath.js_commonjs-proxy.map +0 -1
  455. package/build/_virtual/getSchemaDiscriminatorByValue.js_commonjs-proxy +0 -3
  456. package/build/_virtual/getSchemaDiscriminatorByValue.js_commonjs-proxy.map +0 -1
  457. package/build/_virtual/getSchemaTypes.js_commonjs-proxy +0 -3
  458. package/build/_virtual/getSchemaTypes.js_commonjs-proxy.map +0 -1
  459. package/build/_virtual/getVirtual.js_commonjs-proxy +0 -3
  460. package/build/_virtual/getVirtual.js_commonjs-proxy.map +0 -1
  461. package/build/_virtual/get_more.js_commonjs-proxy +0 -3
  462. package/build/_virtual/get_more.js_commonjs-proxy.map +0 -1
  463. package/build/_virtual/grid_store.js_commonjs-proxy +0 -3
  464. package/build/_virtual/grid_store.js_commonjs-proxy.map +0 -1
  465. package/build/_virtual/gssapi.js_commonjs-proxy +0 -3
  466. package/build/_virtual/gssapi.js_commonjs-proxy.map +0 -1
  467. package/build/_virtual/handleIdOption.js_commonjs-proxy +0 -3
  468. package/build/_virtual/handleIdOption.js_commonjs-proxy.map +0 -1
  469. package/build/_virtual/handleImmutable.js_commonjs-proxy +0 -3
  470. package/build/_virtual/handleImmutable.js_commonjs-proxy.map +0 -1
  471. package/build/_virtual/handleImmutable2.js_commonjs-proxy +0 -3
  472. package/build/_virtual/handleImmutable2.js_commonjs-proxy.map +0 -1
  473. package/build/_virtual/handleSpreadDoc.js_commonjs-proxy +0 -3
  474. package/build/_virtual/handleSpreadDoc.js_commonjs-proxy.map +0 -1
  475. package/build/_virtual/handleTimestampOption.js_commonjs-proxy +0 -3
  476. package/build/_virtual/handleTimestampOption.js_commonjs-proxy.map +0 -1
  477. package/build/_virtual/hasDollarKeys.js_commonjs-proxy +0 -3
  478. package/build/_virtual/hasDollarKeys.js_commonjs-proxy.map +0 -1
  479. package/build/_virtual/helpers.js_commonjs-proxy +0 -3
  480. package/build/_virtual/helpers.js_commonjs-proxy.map +0 -1
  481. package/build/_virtual/hiredis.js_commonjs-proxy +0 -3
  482. package/build/_virtual/hiredis.js_commonjs-proxy.map +0 -1
  483. package/build/_virtual/idGetter.js_commonjs-proxy +0 -3
  484. package/build/_virtual/idGetter.js_commonjs-proxy.map +0 -1
  485. package/build/_virtual/immediate.js_commonjs-proxy +0 -3
  486. package/build/_virtual/immediate.js_commonjs-proxy.map +0 -1
  487. package/build/_virtual/index.js_commonjs-proxy +0 -3
  488. package/build/_virtual/index.js_commonjs-proxy.map +0 -1
  489. package/build/_virtual/index10.js_commonjs-proxy +0 -3
  490. package/build/_virtual/index10.js_commonjs-proxy.map +0 -1
  491. package/build/_virtual/index11.js_commonjs-proxy +0 -3
  492. package/build/_virtual/index11.js_commonjs-proxy.map +0 -1
  493. package/build/_virtual/index12.js_commonjs-proxy +0 -3
  494. package/build/_virtual/index12.js_commonjs-proxy.map +0 -1
  495. package/build/_virtual/index13.js_commonjs-proxy +0 -3
  496. package/build/_virtual/index13.js_commonjs-proxy.map +0 -1
  497. package/build/_virtual/index14.js_commonjs-proxy +0 -3
  498. package/build/_virtual/index14.js_commonjs-proxy.map +0 -1
  499. package/build/_virtual/index15.js_commonjs-proxy +0 -3
  500. package/build/_virtual/index15.js_commonjs-proxy.map +0 -1
  501. package/build/_virtual/index16.js_commonjs-proxy +0 -3
  502. package/build/_virtual/index16.js_commonjs-proxy.map +0 -1
  503. package/build/_virtual/index17.js_commonjs-proxy +0 -3
  504. package/build/_virtual/index17.js_commonjs-proxy.map +0 -1
  505. package/build/_virtual/index18.js_commonjs-proxy +0 -3
  506. package/build/_virtual/index18.js_commonjs-proxy.map +0 -1
  507. package/build/_virtual/index19.js_commonjs-proxy +0 -3
  508. package/build/_virtual/index19.js_commonjs-proxy.map +0 -1
  509. package/build/_virtual/index2.js_commonjs-proxy +0 -3
  510. package/build/_virtual/index2.js_commonjs-proxy.map +0 -1
  511. package/build/_virtual/index20.js_commonjs-proxy +0 -3
  512. package/build/_virtual/index20.js_commonjs-proxy.map +0 -1
  513. package/build/_virtual/index21.js_commonjs-proxy +0 -7
  514. package/build/_virtual/index21.js_commonjs-proxy.map +0 -1
  515. package/build/_virtual/index22.js_commonjs-proxy +0 -3
  516. package/build/_virtual/index22.js_commonjs-proxy.map +0 -1
  517. package/build/_virtual/index23.js_commonjs-proxy +0 -3
  518. package/build/_virtual/index23.js_commonjs-proxy.map +0 -1
  519. package/build/_virtual/index24.js_commonjs-proxy +0 -3
  520. package/build/_virtual/index24.js_commonjs-proxy.map +0 -1
  521. package/build/_virtual/index25.js_commonjs-proxy +0 -3
  522. package/build/_virtual/index25.js_commonjs-proxy.map +0 -1
  523. package/build/_virtual/index26.js_commonjs-proxy +0 -3
  524. package/build/_virtual/index26.js_commonjs-proxy.map +0 -1
  525. package/build/_virtual/index27.js_commonjs-proxy +0 -3
  526. package/build/_virtual/index27.js_commonjs-proxy.map +0 -1
  527. package/build/_virtual/index28.js_commonjs-proxy +0 -3
  528. package/build/_virtual/index28.js_commonjs-proxy.map +0 -1
  529. package/build/_virtual/index29.js_commonjs-proxy +0 -3
  530. package/build/_virtual/index29.js_commonjs-proxy.map +0 -1
  531. package/build/_virtual/index3.js_commonjs-proxy +0 -3
  532. package/build/_virtual/index3.js_commonjs-proxy.map +0 -1
  533. package/build/_virtual/index30.js_commonjs-proxy +0 -3
  534. package/build/_virtual/index30.js_commonjs-proxy.map +0 -1
  535. package/build/_virtual/index31.js_commonjs-proxy +0 -3
  536. package/build/_virtual/index31.js_commonjs-proxy.map +0 -1
  537. package/build/_virtual/index4.js_commonjs-proxy +0 -3
  538. package/build/_virtual/index4.js_commonjs-proxy.map +0 -1
  539. package/build/_virtual/index5.js_commonjs-proxy +0 -3
  540. package/build/_virtual/index5.js_commonjs-proxy.map +0 -1
  541. package/build/_virtual/index6.js_commonjs-proxy +0 -3
  542. package/build/_virtual/index6.js_commonjs-proxy.map +0 -1
  543. package/build/_virtual/index7.js_commonjs-proxy +0 -3
  544. package/build/_virtual/index7.js_commonjs-proxy.map +0 -1
  545. package/build/_virtual/index8.js_commonjs-proxy +0 -3
  546. package/build/_virtual/index8.js_commonjs-proxy.map +0 -1
  547. package/build/_virtual/index9.js_commonjs-proxy +0 -3
  548. package/build/_virtual/index9.js_commonjs-proxy.map +0 -1
  549. package/build/_virtual/index_exists.js_commonjs-proxy +0 -3
  550. package/build/_virtual/index_exists.js_commonjs-proxy.map +0 -1
  551. package/build/_virtual/index_information.js_commonjs-proxy +0 -3
  552. package/build/_virtual/index_information.js_commonjs-proxy.map +0 -1
  553. package/build/_virtual/indexes.js_commonjs-proxy +0 -3
  554. package/build/_virtual/indexes.js_commonjs-proxy.map +0 -1
  555. package/build/_virtual/inherits.js_commonjs-proxy +0 -3
  556. package/build/_virtual/inherits.js_commonjs-proxy.map +0 -1
  557. package/build/_virtual/inherits_browser.js_commonjs-proxy +0 -3
  558. package/build/_virtual/inherits_browser.js_commonjs-proxy.map +0 -1
  559. package/build/_virtual/insert_many.js_commonjs-proxy +0 -3
  560. package/build/_virtual/insert_many.js_commonjs-proxy.map +0 -1
  561. package/build/_virtual/insert_one.js_commonjs-proxy +0 -3
  562. package/build/_virtual/insert_one.js_commonjs-proxy.map +0 -1
  563. package/build/_virtual/int_32.js_commonjs-proxy +0 -3
  564. package/build/_virtual/int_32.js_commonjs-proxy.map +0 -1
  565. package/build/_virtual/internal.js_commonjs-proxy +0 -3
  566. package/build/_virtual/internal.js_commonjs-proxy.map +0 -1
  567. package/build/_virtual/isAtlas.js_commonjs-proxy +0 -3
  568. package/build/_virtual/isAtlas.js_commonjs-proxy.map +0 -1
  569. package/build/_virtual/isBsonType.js_commonjs-proxy +0 -3
  570. package/build/_virtual/isBsonType.js_commonjs-proxy.map +0 -1
  571. package/build/_virtual/isDefaultIdIndex.js_commonjs-proxy +0 -3
  572. package/build/_virtual/isDefaultIdIndex.js_commonjs-proxy.map +0 -1
  573. package/build/_virtual/isDefiningProjection.js_commonjs-proxy +0 -3
  574. package/build/_virtual/isDefiningProjection.js_commonjs-proxy.map +0 -1
  575. package/build/_virtual/isExclusive.js_commonjs-proxy +0 -3
  576. package/build/_virtual/isExclusive.js_commonjs-proxy.map +0 -1
  577. package/build/_virtual/isInclusive.js_commonjs-proxy +0 -3
  578. package/build/_virtual/isInclusive.js_commonjs-proxy.map +0 -1
  579. package/build/_virtual/isIndexEqual.js_commonjs-proxy +0 -3
  580. package/build/_virtual/isIndexEqual.js_commonjs-proxy.map +0 -1
  581. package/build/_virtual/isMongooseObject.js_commonjs-proxy +0 -3
  582. package/build/_virtual/isMongooseObject.js_commonjs-proxy.map +0 -1
  583. package/build/_virtual/isObject.js_commonjs-proxy +0 -3
  584. package/build/_virtual/isObject.js_commonjs-proxy.map +0 -1
  585. package/build/_virtual/isOperator.js_commonjs-proxy +0 -3
  586. package/build/_virtual/isOperator.js_commonjs-proxy.map +0 -1
  587. package/build/_virtual/isPathExcluded.js_commonjs-proxy +0 -3
  588. package/build/_virtual/isPathExcluded.js_commonjs-proxy.map +0 -1
  589. package/build/_virtual/isPathSelectedInclusive.js_commonjs-proxy +0 -3
  590. package/build/_virtual/isPathSelectedInclusive.js_commonjs-proxy.map +0 -1
  591. package/build/_virtual/isPromise.js_commonjs-proxy +0 -3
  592. package/build/_virtual/isPromise.js_commonjs-proxy.map +0 -1
  593. package/build/_virtual/isSSLError.js_commonjs-proxy +0 -3
  594. package/build/_virtual/isSSLError.js_commonjs-proxy.map +0 -1
  595. package/build/_virtual/is_capped.js_commonjs-proxy +0 -3
  596. package/build/_virtual/is_capped.js_commonjs-proxy.map +0 -1
  597. package/build/_virtual/join.js_commonjs-proxy +0 -3
  598. package/build/_virtual/join.js_commonjs-proxy.map +0 -1
  599. package/build/_virtual/kill_cursors.js_commonjs-proxy +0 -3
  600. package/build/_virtual/kill_cursors.js_commonjs-proxy.map +0 -1
  601. package/build/_virtual/leanPopulateMap.js_commonjs-proxy +0 -3
  602. package/build/_virtual/leanPopulateMap.js_commonjs-proxy.map +0 -1
  603. package/build/_virtual/limiter.js_commonjs-proxy +0 -3
  604. package/build/_virtual/limiter.js_commonjs-proxy.map +0 -1
  605. package/build/_virtual/list_collections.js_commonjs-proxy +0 -3
  606. package/build/_virtual/list_collections.js_commonjs-proxy.map +0 -1
  607. package/build/_virtual/list_databases.js_commonjs-proxy +0 -3
  608. package/build/_virtual/list_databases.js_commonjs-proxy.map +0 -1
  609. package/build/_virtual/list_indexes.js_commonjs-proxy +0 -3
  610. package/build/_virtual/list_indexes.js_commonjs-proxy.map +0 -1
  611. package/build/_virtual/logger.js_commonjs-proxy +0 -3
  612. package/build/_virtual/logger.js_commonjs-proxy.map +0 -1
  613. package/build/_virtual/long.js_commonjs-proxy +0 -3
  614. package/build/_virtual/long.js_commonjs-proxy.map +0 -1
  615. package/build/_virtual/lookupLocalFields.js_commonjs-proxy +0 -3
  616. package/build/_virtual/lookupLocalFields.js_commonjs-proxy.map +0 -1
  617. package/build/_virtual/lru.js_commonjs-proxy +0 -3
  618. package/build/_virtual/lru.js_commonjs-proxy.map +0 -1
  619. package/build/_virtual/map.js_commonjs-proxy +0 -3
  620. package/build/_virtual/map.js_commonjs-proxy.map +0 -1
  621. package/build/_virtual/map2.js_commonjs-proxy +0 -3
  622. package/build/_virtual/map2.js_commonjs-proxy.map +0 -1
  623. package/build/_virtual/map3.js_commonjs-proxy +0 -3
  624. package/build/_virtual/map3.js_commonjs-proxy.map +0 -1
  625. package/build/_virtual/map4.js_commonjs-proxy +0 -3
  626. package/build/_virtual/map4.js_commonjs-proxy.map +0 -1
  627. package/build/_virtual/map_reduce.js_commonjs-proxy +0 -3
  628. package/build/_virtual/map_reduce.js_commonjs-proxy.map +0 -1
  629. package/build/_virtual/max_key.js_commonjs-proxy +0 -3
  630. package/build/_virtual/max_key.js_commonjs-proxy.map +0 -1
  631. package/build/_virtual/memory-code-points.js_commonjs-proxy +0 -3
  632. package/build/_virtual/memory-code-points.js_commonjs-proxy.map +0 -1
  633. package/build/_virtual/merge.js_commonjs-proxy +0 -3
  634. package/build/_virtual/merge.js_commonjs-proxy.map +0 -1
  635. package/build/_virtual/message_stream.js_commonjs-proxy +0 -3
  636. package/build/_virtual/message_stream.js_commonjs-proxy.map +0 -1
  637. package/build/_virtual/messages.js_commonjs-proxy +0 -3
  638. package/build/_virtual/messages.js_commonjs-proxy.map +0 -1
  639. package/build/_virtual/method.js_commonjs-proxy +0 -3
  640. package/build/_virtual/method.js_commonjs-proxy.map +0 -1
  641. package/build/_virtual/min_key.js_commonjs-proxy +0 -3
  642. package/build/_virtual/min_key.js_commonjs-proxy.map +0 -1
  643. package/build/_virtual/missingSchema.js_commonjs-proxy +0 -3
  644. package/build/_virtual/missingSchema.js_commonjs-proxy.map +0 -1
  645. package/build/_virtual/mixed.js_commonjs-proxy +0 -3
  646. package/build/_virtual/mixed.js_commonjs-proxy.map +0 -1
  647. package/build/_virtual/model.js_commonjs-proxy +0 -3
  648. package/build/_virtual/model.js_commonjs-proxy.map +0 -1
  649. package/build/_virtual/modifiedPaths.js_commonjs-proxy +0 -3
  650. package/build/_virtual/modifiedPaths.js_commonjs-proxy.map +0 -1
  651. package/build/_virtual/mongo_client.js_commonjs-proxy +0 -3
  652. package/build/_virtual/mongo_client.js_commonjs-proxy.map +0 -1
  653. package/build/_virtual/mongo_credentials.js_commonjs-proxy +0 -3
  654. package/build/_virtual/mongo_credentials.js_commonjs-proxy.map +0 -1
  655. package/build/_virtual/mongocr.js_commonjs-proxy +0 -3
  656. package/build/_virtual/mongocr.js_commonjs-proxy.map +0 -1
  657. package/build/_virtual/mongodb_aws.js_commonjs-proxy +0 -3
  658. package/build/_virtual/mongodb_aws.js_commonjs-proxy.map +0 -1
  659. package/build/_virtual/mongooseError.js_commonjs-proxy +0 -3
  660. package/build/_virtual/mongooseError.js_commonjs-proxy.map +0 -1
  661. package/build/_virtual/mongos.js_commonjs-proxy +0 -3
  662. package/build/_virtual/mongos.js_commonjs-proxy.map +0 -1
  663. package/build/_virtual/mongos2.js_commonjs-proxy +0 -3
  664. package/build/_virtual/mongos2.js_commonjs-proxy.map +0 -1
  665. package/build/_virtual/monitor.js_commonjs-proxy +0 -3
  666. package/build/_virtual/monitor.js_commonjs-proxy.map +0 -1
  667. package/build/_virtual/moveImmutableProperties.js_commonjs-proxy +0 -3
  668. package/build/_virtual/moveImmutableProperties.js_commonjs-proxy.map +0 -1
  669. package/build/_virtual/mquery.js_commonjs-proxy +0 -3
  670. package/build/_virtual/mquery.js_commonjs-proxy.map +0 -1
  671. package/build/_virtual/msg.js_commonjs-proxy +0 -3
  672. package/build/_virtual/msg.js_commonjs-proxy.map +0 -1
  673. package/build/_virtual/multi.js_commonjs-proxy +0 -3
  674. package/build/_virtual/multi.js_commonjs-proxy.map +0 -1
  675. package/build/_virtual/native_topology.js_commonjs-proxy +0 -3
  676. package/build/_virtual/native_topology.js_commonjs-proxy.map +0 -1
  677. package/build/_virtual/node.js_commonjs-proxy +0 -3
  678. package/build/_virtual/node.js_commonjs-proxy.map +0 -1
  679. package/build/_virtual/node2.js_commonjs-proxy +0 -3
  680. package/build/_virtual/node2.js_commonjs-proxy.map +0 -1
  681. package/build/_virtual/nodeback.js_commonjs-proxy +0 -3
  682. package/build/_virtual/nodeback.js_commonjs-proxy.map +0 -1
  683. package/build/_virtual/nodeify.js_commonjs-proxy +0 -3
  684. package/build/_virtual/nodeify.js_commonjs-proxy.map +0 -1
  685. package/build/_virtual/normalizeRefPath.js_commonjs-proxy +0 -3
  686. package/build/_virtual/normalizeRefPath.js_commonjs-proxy.map +0 -1
  687. package/build/_virtual/notFound.js_commonjs-proxy +0 -3
  688. package/build/_virtual/notFound.js_commonjs-proxy.map +0 -1
  689. package/build/_virtual/number.js_commonjs-proxy +0 -3
  690. package/build/_virtual/number.js_commonjs-proxy.map +0 -1
  691. package/build/_virtual/number2.js_commonjs-proxy +0 -3
  692. package/build/_virtual/number2.js_commonjs-proxy.map +0 -1
  693. package/build/_virtual/objectExpected.js_commonjs-proxy +0 -3
  694. package/build/_virtual/objectExpected.js_commonjs-proxy.map +0 -1
  695. package/build/_virtual/objectParameter.js_commonjs-proxy +0 -3
  696. package/build/_virtual/objectParameter.js_commonjs-proxy.map +0 -1
  697. package/build/_virtual/objectid.js_commonjs-proxy +0 -3
  698. package/build/_virtual/objectid.js_commonjs-proxy.map +0 -1
  699. package/build/_virtual/objectid2.js_commonjs-proxy +0 -3
  700. package/build/_virtual/objectid2.js_commonjs-proxy.map +0 -1
  701. package/build/_virtual/objectid3.js_commonjs-proxy +0 -3
  702. package/build/_virtual/objectid3.js_commonjs-proxy.map +0 -1
  703. package/build/_virtual/objectid4.js_commonjs-proxy +0 -3
  704. package/build/_virtual/objectid4.js_commonjs-proxy.map +0 -1
  705. package/build/_virtual/objectid5.js_commonjs-proxy +0 -3
  706. package/build/_virtual/objectid5.js_commonjs-proxy.map +0 -1
  707. package/build/_virtual/operation.js_commonjs-proxy +0 -3
  708. package/build/_virtual/operation.js_commonjs-proxy.map +0 -1
  709. package/build/_virtual/options.js_commonjs-proxy +0 -3
  710. package/build/_virtual/options.js_commonjs-proxy.map +0 -1
  711. package/build/_virtual/options_operation.js_commonjs-proxy +0 -3
  712. package/build/_virtual/options_operation.js_commonjs-proxy.map +0 -1
  713. package/build/_virtual/ordered.js_commonjs-proxy +0 -3
  714. package/build/_virtual/ordered.js_commonjs-proxy.map +0 -1
  715. package/build/_virtual/overwriteModel.js_commonjs-proxy +0 -3
  716. package/build/_virtual/overwriteModel.js_commonjs-proxy.map +0 -1
  717. package/build/_virtual/parallelLimit.js_commonjs-proxy +0 -3
  718. package/build/_virtual/parallelLimit.js_commonjs-proxy.map +0 -1
  719. package/build/_virtual/parallelSave.js_commonjs-proxy +0 -3
  720. package/build/_virtual/parallelSave.js_commonjs-proxy.map +0 -1
  721. package/build/_virtual/parallelValidate.js_commonjs-proxy +0 -3
  722. package/build/_virtual/parallelValidate.js_commonjs-proxy.map +0 -1
  723. package/build/_virtual/parentPaths.js_commonjs-proxy +0 -3
  724. package/build/_virtual/parentPaths.js_commonjs-proxy.map +0 -1
  725. package/build/_virtual/parseProjection.js_commonjs-proxy +0 -3
  726. package/build/_virtual/parseProjection.js_commonjs-proxy.map +0 -1
  727. package/build/_virtual/parser.js_commonjs-proxy +0 -3
  728. package/build/_virtual/parser.js_commonjs-proxy.map +0 -1
  729. package/build/_virtual/parserError.js_commonjs-proxy +0 -3
  730. package/build/_virtual/parserError.js_commonjs-proxy.map +0 -1
  731. package/build/_virtual/permessage-deflate.js_commonjs-proxy +0 -3
  732. package/build/_virtual/permessage-deflate.js_commonjs-proxy.map +0 -1
  733. package/build/_virtual/permissions.js_commonjs-proxy +0 -3
  734. package/build/_virtual/permissions.js_commonjs-proxy.map +0 -1
  735. package/build/_virtual/plain.js_commonjs-proxy +0 -3
  736. package/build/_virtual/plain.js_commonjs-proxy.map +0 -1
  737. package/build/_virtual/pool.js_commonjs-proxy +0 -3
  738. package/build/_virtual/pool.js_commonjs-proxy.map +0 -1
  739. package/build/_virtual/profiling_level.js_commonjs-proxy +0 -3
  740. package/build/_virtual/profiling_level.js_commonjs-proxy.map +0 -1
  741. package/build/_virtual/promise.js_commonjs-proxy +0 -3
  742. package/build/_virtual/promise.js_commonjs-proxy.map +0 -1
  743. package/build/_virtual/promiseOrCallback.js_commonjs-proxy +0 -3
  744. package/build/_virtual/promiseOrCallback.js_commonjs-proxy.map +0 -1
  745. package/build/_virtual/promise_array.js_commonjs-proxy +0 -3
  746. package/build/_virtual/promise_array.js_commonjs-proxy.map +0 -1
  747. package/build/_virtual/promise_provider.js_commonjs-proxy +0 -3
  748. package/build/_virtual/promise_provider.js_commonjs-proxy.map +0 -1
  749. package/build/_virtual/promisify.js_commonjs-proxy +0 -3
  750. package/build/_virtual/promisify.js_commonjs-proxy.map +0 -1
  751. package/build/_virtual/propertyOptions.js_commonjs-proxy +0 -3
  752. package/build/_virtual/propertyOptions.js_commonjs-proxy.map +0 -1
  753. package/build/_virtual/props.js_commonjs-proxy +0 -3
  754. package/build/_virtual/props.js_commonjs-proxy.map +0 -1
  755. package/build/_virtual/query.js_commonjs-proxy +0 -3
  756. package/build/_virtual/query.js_commonjs-proxy.map +0 -1
  757. package/build/_virtual/query2.js_commonjs-proxy +0 -3
  758. package/build/_virtual/query2.js_commonjs-proxy.map +0 -1
  759. package/build/_virtual/queryhelpers.js_commonjs-proxy +0 -3
  760. package/build/_virtual/queryhelpers.js_commonjs-proxy.map +0 -1
  761. package/build/_virtual/queue.js_commonjs-proxy +0 -3
  762. package/build/_virtual/queue.js_commonjs-proxy.map +0 -1
  763. package/build/_virtual/race.js_commonjs-proxy +0 -3
  764. package/build/_virtual/race.js_commonjs-proxy.map +0 -1
  765. package/build/_virtual/re_index.js_commonjs-proxy +0 -3
  766. package/build/_virtual/re_index.js_commonjs-proxy.map +0 -1
  767. package/build/_virtual/read_concern.js_commonjs-proxy +0 -3
  768. package/build/_virtual/read_concern.js_commonjs-proxy.map +0 -1
  769. package/build/_virtual/read_preference.js_commonjs-proxy +0 -3
  770. package/build/_virtual/read_preference.js_commonjs-proxy.map +0 -1
  771. package/build/_virtual/readable.js_commonjs-proxy +0 -3
  772. package/build/_virtual/readable.js_commonjs-proxy.map +0 -1
  773. package/build/_virtual/receiver.js_commonjs-proxy +0 -3
  774. package/build/_virtual/receiver.js_commonjs-proxy.map +0 -1
  775. package/build/_virtual/redisError.js_commonjs-proxy +0 -3
  776. package/build/_virtual/redisError.js_commonjs-proxy.map +0 -1
  777. package/build/_virtual/reduce.js_commonjs-proxy +0 -3
  778. package/build/_virtual/reduce.js_commonjs-proxy.map +0 -1
  779. package/build/_virtual/regexp.js_commonjs-proxy +0 -3
  780. package/build/_virtual/regexp.js_commonjs-proxy.map +0 -1
  781. package/build/_virtual/removeDeselectedForeignField.js_commonjs-proxy +0 -3
  782. package/build/_virtual/removeDeselectedForeignField.js_commonjs-proxy.map +0 -1
  783. package/build/_virtual/removeOptions.js_commonjs-proxy +0 -3
  784. package/build/_virtual/removeOptions.js_commonjs-proxy.map +0 -1
  785. package/build/_virtual/removeSubdocs.js_commonjs-proxy +0 -3
  786. package/build/_virtual/removeSubdocs.js_commonjs-proxy.map +0 -1
  787. package/build/_virtual/removeUnusedArrayFilters.js_commonjs-proxy +0 -3
  788. package/build/_virtual/removeUnusedArrayFilters.js_commonjs-proxy.map +0 -1
  789. package/build/_virtual/remove_user.js_commonjs-proxy +0 -3
  790. package/build/_virtual/remove_user.js_commonjs-proxy.map +0 -1
  791. package/build/_virtual/rename.js_commonjs-proxy +0 -3
  792. package/build/_virtual/rename.js_commonjs-proxy.map +0 -1
  793. package/build/_virtual/replace_one.js_commonjs-proxy +0 -3
  794. package/build/_virtual/replace_one.js_commonjs-proxy.map +0 -1
  795. package/build/_virtual/replset.js_commonjs-proxy +0 -3
  796. package/build/_virtual/replset.js_commonjs-proxy.map +0 -1
  797. package/build/_virtual/replset2.js_commonjs-proxy +0 -3
  798. package/build/_virtual/replset2.js_commonjs-proxy.map +0 -1
  799. package/build/_virtual/replset_state.js_commonjs-proxy +0 -3
  800. package/build/_virtual/replset_state.js_commonjs-proxy.map +0 -1
  801. package/build/_virtual/replyError.js_commonjs-proxy +0 -3
  802. package/build/_virtual/replyError.js_commonjs-proxy.map +0 -1
  803. package/build/_virtual/run_command.js_commonjs-proxy +0 -3
  804. package/build/_virtual/run_command.js_commonjs-proxy.map +0 -1
  805. package/build/_virtual/sanitizeProjection.js_commonjs-proxy +0 -3
  806. package/build/_virtual/sanitizeProjection.js_commonjs-proxy.map +0 -1
  807. package/build/_virtual/saveOptions.js_commonjs-proxy +0 -3
  808. package/build/_virtual/saveOptions.js_commonjs-proxy.map +0 -1
  809. package/build/_virtual/saveSubdocs.js_commonjs-proxy +0 -3
  810. package/build/_virtual/saveSubdocs.js_commonjs-proxy.map +0 -1
  811. package/build/_virtual/schedule.js_commonjs-proxy +0 -3
  812. package/build/_virtual/schedule.js_commonjs-proxy.map +0 -1
  813. package/build/_virtual/schema.js_commonjs-proxy +0 -3
  814. package/build/_virtual/schema.js_commonjs-proxy.map +0 -1
  815. package/build/_virtual/schematype.js_commonjs-proxy +0 -3
  816. package/build/_virtual/schematype.js_commonjs-proxy.map +0 -1
  817. package/build/_virtual/scram.js_commonjs-proxy +0 -3
  818. package/build/_virtual/scram.js_commonjs-proxy.map +0 -1
  819. package/build/_virtual/selectPopulatedFields.js_commonjs-proxy +0 -3
  820. package/build/_virtual/selectPopulatedFields.js_commonjs-proxy.map +0 -1
  821. package/build/_virtual/sender.js_commonjs-proxy +0 -3
  822. package/build/_virtual/sender.js_commonjs-proxy.map +0 -1
  823. package/build/_virtual/serializer.js_commonjs-proxy +0 -3
  824. package/build/_virtual/serializer.js_commonjs-proxy.map +0 -1
  825. package/build/_virtual/server.js_commonjs-proxy +0 -3
  826. package/build/_virtual/server.js_commonjs-proxy.map +0 -1
  827. package/build/_virtual/server2.js_commonjs-proxy +0 -3
  828. package/build/_virtual/server2.js_commonjs-proxy.map +0 -1
  829. package/build/_virtual/server3.js_commonjs-proxy +0 -3
  830. package/build/_virtual/server3.js_commonjs-proxy.map +0 -1
  831. package/build/_virtual/serverSelection.js_commonjs-proxy +0 -3
  832. package/build/_virtual/serverSelection.js_commonjs-proxy.map +0 -1
  833. package/build/_virtual/server_description.js_commonjs-proxy +0 -3
  834. package/build/_virtual/server_description.js_commonjs-proxy.map +0 -1
  835. package/build/_virtual/server_selection.js_commonjs-proxy +0 -3
  836. package/build/_virtual/server_selection.js_commonjs-proxy.map +0 -1
  837. package/build/_virtual/sessions.js_commonjs-proxy +0 -3
  838. package/build/_virtual/sessions.js_commonjs-proxy.map +0 -1
  839. package/build/_virtual/setDefaultsOnInsert.js_commonjs-proxy +0 -3
  840. package/build/_virtual/setDefaultsOnInsert.js_commonjs-proxy.map +0 -1
  841. package/build/_virtual/setDottedPath.js_commonjs-proxy +0 -3
  842. package/build/_virtual/setDottedPath.js_commonjs-proxy.map +0 -1
  843. package/build/_virtual/set_profiling_level.js_commonjs-proxy +0 -3
  844. package/build/_virtual/set_profiling_level.js_commonjs-proxy.map +0 -1
  845. package/build/_virtual/settle.js_commonjs-proxy +0 -3
  846. package/build/_virtual/settle.js_commonjs-proxy.map +0 -1
  847. package/build/_virtual/setupTimestamps.js_commonjs-proxy +0 -3
  848. package/build/_virtual/setupTimestamps.js_commonjs-proxy.map +0 -1
  849. package/build/_virtual/sharding.js_commonjs-proxy +0 -3
  850. package/build/_virtual/sharding.js_commonjs-proxy.map +0 -1
  851. package/build/_virtual/shared.js_commonjs-proxy +0 -3
  852. package/build/_virtual/shared.js_commonjs-proxy.map +0 -1
  853. package/build/_virtual/shared2.js_commonjs-proxy +0 -3
  854. package/build/_virtual/shared2.js_commonjs-proxy.map +0 -1
  855. package/build/_virtual/some.js_commonjs-proxy +0 -3
  856. package/build/_virtual/some.js_commonjs-proxy.map +0 -1
  857. package/build/_virtual/specialProperties.js_commonjs-proxy +0 -3
  858. package/build/_virtual/specialProperties.js_commonjs-proxy.map +0 -1
  859. package/build/_virtual/srv_polling.js_commonjs-proxy +0 -3
  860. package/build/_virtual/srv_polling.js_commonjs-proxy.map +0 -1
  861. package/build/_virtual/statemachine.js_commonjs-proxy +0 -3
  862. package/build/_virtual/statemachine.js_commonjs-proxy.map +0 -1
  863. package/build/_virtual/stats.js_commonjs-proxy +0 -3
  864. package/build/_virtual/stats.js_commonjs-proxy.map +0 -1
  865. package/build/_virtual/stream.js_commonjs-proxy +0 -3
  866. package/build/_virtual/stream.js_commonjs-proxy.map +0 -1
  867. package/build/_virtual/stream2.js_commonjs-proxy +0 -3
  868. package/build/_virtual/stream2.js_commonjs-proxy.map +0 -1
  869. package/build/_virtual/stream_description.js_commonjs-proxy +0 -3
  870. package/build/_virtual/stream_description.js_commonjs-proxy.map +0 -1
  871. package/build/_virtual/strict.js_commonjs-proxy +0 -3
  872. package/build/_virtual/strict.js_commonjs-proxy.map +0 -1
  873. package/build/_virtual/string.js_commonjs-proxy +0 -3
  874. package/build/_virtual/string.js_commonjs-proxy.map +0 -1
  875. package/build/_virtual/string2.js_commonjs-proxy +0 -3
  876. package/build/_virtual/string2.js_commonjs-proxy.map +0 -1
  877. package/build/_virtual/stringToParts.js_commonjs-proxy +0 -3
  878. package/build/_virtual/stringToParts.js_commonjs-proxy.map +0 -1
  879. package/build/_virtual/string_decoder.js_commonjs-proxy +0 -3
  880. package/build/_virtual/string_decoder.js_commonjs-proxy.map +0 -1
  881. package/build/_virtual/stringifyFunctionOperators.js_commonjs-proxy +0 -3
  882. package/build/_virtual/stringifyFunctionOperators.js_commonjs-proxy.map +0 -1
  883. package/build/_virtual/subdocument.js_commonjs-proxy +0 -3
  884. package/build/_virtual/subdocument.js_commonjs-proxy.map +0 -1
  885. package/build/_virtual/symbol.js_commonjs-proxy +0 -3
  886. package/build/_virtual/symbol.js_commonjs-proxy.map +0 -1
  887. package/build/_virtual/symbols.js_commonjs-proxy +0 -3
  888. package/build/_virtual/symbols.js_commonjs-proxy.map +0 -1
  889. package/build/_virtual/symbols2.js_commonjs-proxy +0 -3
  890. package/build/_virtual/symbols2.js_commonjs-proxy.map +0 -1
  891. package/build/_virtual/synchronous_inspection.js_commonjs-proxy +0 -3
  892. package/build/_virtual/synchronous_inspection.js_commonjs-proxy.map +0 -1
  893. package/build/_virtual/text.js_commonjs-proxy +0 -3
  894. package/build/_virtual/text.js_commonjs-proxy.map +0 -1
  895. package/build/_virtual/thenables.js_commonjs-proxy +0 -3
  896. package/build/_virtual/thenables.js_commonjs-proxy.map +0 -1
  897. package/build/_virtual/timers.js_commonjs-proxy +0 -3
  898. package/build/_virtual/timers.js_commonjs-proxy.map +0 -1
  899. package/build/_virtual/timers2.js_commonjs-proxy +0 -3
  900. package/build/_virtual/timers2.js_commonjs-proxy.map +0 -1
  901. package/build/_virtual/timestamp.js_commonjs-proxy +0 -3
  902. package/build/_virtual/timestamp.js_commonjs-proxy.map +0 -1
  903. package/build/_virtual/topology.js_commonjs-proxy +0 -3
  904. package/build/_virtual/topology.js_commonjs-proxy.map +0 -1
  905. package/build/_virtual/topology_base.js_commonjs-proxy +0 -3
  906. package/build/_virtual/topology_base.js_commonjs-proxy.map +0 -1
  907. package/build/_virtual/topology_description.js_commonjs-proxy +0 -3
  908. package/build/_virtual/topology_description.js_commonjs-proxy.map +0 -1
  909. package/build/_virtual/trackTransaction.js_commonjs-proxy +0 -3
  910. package/build/_virtual/trackTransaction.js_commonjs-proxy.map +0 -1
  911. package/build/_virtual/transactions.js_commonjs-proxy +0 -3
  912. package/build/_virtual/transactions.js_commonjs-proxy.map +0 -1
  913. package/build/_virtual/type.js_commonjs-proxy +0 -3
  914. package/build/_virtual/type.js_commonjs-proxy.map +0 -1
  915. package/build/_virtual/unordered.js_commonjs-proxy +0 -3
  916. package/build/_virtual/unordered.js_commonjs-proxy.map +0 -1
  917. package/build/_virtual/updateValidators.js_commonjs-proxy +0 -3
  918. package/build/_virtual/updateValidators.js_commonjs-proxy.map +0 -1
  919. package/build/_virtual/update_many.js_commonjs-proxy +0 -3
  920. package/build/_virtual/update_many.js_commonjs-proxy.map +0 -1
  921. package/build/_virtual/update_one.js_commonjs-proxy +0 -3
  922. package/build/_virtual/update_one.js_commonjs-proxy.map +0 -1
  923. package/build/_virtual/updatedPathsByArrayFilter.js_commonjs-proxy +0 -3
  924. package/build/_virtual/updatedPathsByArrayFilter.js_commonjs-proxy.map +0 -1
  925. package/build/_virtual/upload.js_commonjs-proxy +0 -3
  926. package/build/_virtual/upload.js_commonjs-proxy.map +0 -1
  927. package/build/_virtual/uri_parser.js_commonjs-proxy +0 -3
  928. package/build/_virtual/uri_parser.js_commonjs-proxy.map +0 -1
  929. package/build/_virtual/url_parser.js_commonjs-proxy +0 -3
  930. package/build/_virtual/url_parser.js_commonjs-proxy.map +0 -1
  931. package/build/_virtual/using.js_commonjs-proxy +0 -3
  932. package/build/_virtual/using.js_commonjs-proxy.map +0 -1
  933. package/build/_virtual/util.js_commonjs-proxy +0 -3
  934. package/build/_virtual/util.js_commonjs-proxy.map +0 -1
  935. package/build/_virtual/util2.js_commonjs-proxy +0 -3
  936. package/build/_virtual/util2.js_commonjs-proxy.map +0 -1
  937. package/build/_virtual/utils.js_commonjs-proxy +0 -3
  938. package/build/_virtual/utils.js_commonjs-proxy.map +0 -1
  939. package/build/_virtual/utils2.js_commonjs-proxy +0 -3
  940. package/build/_virtual/utils2.js_commonjs-proxy.map +0 -1
  941. package/build/_virtual/utils3.js_commonjs-proxy +0 -3
  942. package/build/_virtual/utils3.js_commonjs-proxy.map +0 -1
  943. package/build/_virtual/utils4.js_commonjs-proxy +0 -3
  944. package/build/_virtual/utils4.js_commonjs-proxy.map +0 -1
  945. package/build/_virtual/utils5.js_commonjs-proxy +0 -3
  946. package/build/_virtual/utils5.js_commonjs-proxy.map +0 -1
  947. package/build/_virtual/utils6.js_commonjs-proxy +0 -3
  948. package/build/_virtual/utils6.js_commonjs-proxy.map +0 -1
  949. package/build/_virtual/utils7.js_commonjs-proxy +0 -3
  950. package/build/_virtual/utils7.js_commonjs-proxy.map +0 -1
  951. package/build/_virtual/validateBeforeSave.js_commonjs-proxy +0 -3
  952. package/build/_virtual/validateBeforeSave.js_commonjs-proxy.map +0 -1
  953. package/build/_virtual/validateRef.js_commonjs-proxy +0 -3
  954. package/build/_virtual/validateRef.js_commonjs-proxy.map +0 -1
  955. package/build/_virtual/validate_collection.js_commonjs-proxy +0 -3
  956. package/build/_virtual/validate_collection.js_commonjs-proxy.map +0 -1
  957. package/build/_virtual/validation.js_commonjs-proxy +0 -3
  958. package/build/_virtual/validation.js_commonjs-proxy.map +0 -1
  959. package/build/_virtual/validation2.js_commonjs-proxy +0 -3
  960. package/build/_virtual/validation2.js_commonjs-proxy.map +0 -1
  961. package/build/_virtual/validator.js_commonjs-proxy +0 -3
  962. package/build/_virtual/validator.js_commonjs-proxy.map +0 -1
  963. package/build/_virtual/validoptions.js_commonjs-proxy +0 -3
  964. package/build/_virtual/validoptions.js_commonjs-proxy.map +0 -1
  965. package/build/_virtual/version.js_commonjs-proxy +0 -3
  966. package/build/_virtual/version.js_commonjs-proxy.map +0 -1
  967. package/build/_virtual/virtualtype.js_commonjs-proxy +0 -3
  968. package/build/_virtual/virtualtype.js_commonjs-proxy.map +0 -1
  969. package/build/_virtual/websocket-server.js_commonjs-proxy +0 -3
  970. package/build/_virtual/websocket-server.js_commonjs-proxy.map +0 -1
  971. package/build/_virtual/websocket.js_commonjs-proxy +0 -3
  972. package/build/_virtual/websocket.js_commonjs-proxy.map +0 -1
  973. package/build/_virtual/wrapThunk.js_commonjs-proxy +0 -3
  974. package/build/_virtual/wrapThunk.js_commonjs-proxy.map +0 -1
  975. package/build/_virtual/write_command.js_commonjs-proxy +0 -3
  976. package/build/_virtual/write_command.js_commonjs-proxy.map +0 -1
  977. package/build/_virtual/write_concern.js_commonjs-proxy +0 -3
  978. package/build/_virtual/write_concern.js_commonjs-proxy.map +0 -1
  979. package/build/_virtual/x509.js_commonjs-proxy +0 -3
  980. package/build/_virtual/x509.js_commonjs-proxy.map +0 -1
  981. package/build/bundles/colyseus/build/index.mjs +0 -13
  982. package/build/bundles/colyseus/build/index.mjs.js +0 -25
  983. package/build/bundles/colyseus/build/index.mjs.js.map +0 -1
  984. package/build/bundles/colyseus/build/index.mjs.map +0 -1
  985. package/build/node_modules/aws4/aws4.js +0 -388
  986. package/build/node_modules/aws4/aws4.js.map +0 -1
  987. package/build/node_modules/aws4/aws4.mjs +0 -380
  988. package/build/node_modules/aws4/aws4.mjs.map +0 -1
  989. package/build/node_modules/aws4/lru.js +0 -101
  990. package/build/node_modules/aws4/lru.js.map +0 -1
  991. package/build/node_modules/aws4/lru.mjs +0 -99
  992. package/build/node_modules/aws4/lru.mjs.map +0 -1
  993. package/build/node_modules/bl/bl.js +0 -403
  994. package/build/node_modules/bl/bl.js.map +0 -1
  995. package/build/node_modules/bl/bl.mjs +0 -397
  996. package/build/node_modules/bl/bl.mjs.map +0 -1
  997. package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js +0 -114
  998. package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js.map +0 -1
  999. package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.mjs +0 -112
  1000. package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.mjs.map +0 -1
  1001. package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js +0 -29
  1002. package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js.map +0 -1
  1003. package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.mjs +0 -27
  1004. package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.mjs.map +0 -1
  1005. package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js +0 -1020
  1006. package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js.map +0 -1
  1007. package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.mjs +0 -1013
  1008. package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.mjs.map +0 -1
  1009. package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js +0 -158
  1010. package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js.map +0 -1
  1011. package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.mjs +0 -156
  1012. package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.mjs.map +0 -1
  1013. package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js +0 -667
  1014. package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js.map +0 -1
  1015. package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.mjs +0 -665
  1016. package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.mjs.map +0 -1
  1017. package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -93
  1018. package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/BufferList.js.map +0 -1
  1019. package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/BufferList.mjs +0 -87
  1020. package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/BufferList.mjs.map +0 -1
  1021. package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -79
  1022. package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.js.map +0 -1
  1023. package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.mjs +0 -77
  1024. package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.mjs.map +0 -1
  1025. package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream.js +0 -12
  1026. package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream.js.map +0 -1
  1027. package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream.mjs +0 -6
  1028. package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream.mjs.map +0 -1
  1029. package/build/node_modules/bl/node_modules/readable-stream/readable.js +0 -37
  1030. package/build/node_modules/bl/node_modules/readable-stream/readable.js.map +0 -1
  1031. package/build/node_modules/bl/node_modules/readable-stream/readable.mjs +0 -31
  1032. package/build/node_modules/bl/node_modules/readable-stream/readable.mjs.map +0 -1
  1033. package/build/node_modules/bl/node_modules/string_decoder/lib/string_decoder.js +0 -286
  1034. package/build/node_modules/bl/node_modules/string_decoder/lib/string_decoder.js.map +0 -1
  1035. package/build/node_modules/bl/node_modules/string_decoder/lib/string_decoder.mjs +0 -282
  1036. package/build/node_modules/bl/node_modules/string_decoder/lib/string_decoder.mjs.map +0 -1
  1037. package/build/node_modules/bluebird/js/release/any.js +0 -25
  1038. package/build/node_modules/bluebird/js/release/any.js.map +0 -1
  1039. package/build/node_modules/bluebird/js/release/any.mjs +0 -23
  1040. package/build/node_modules/bluebird/js/release/any.mjs.map +0 -1
  1041. package/build/node_modules/bluebird/js/release/async.js +0 -173
  1042. package/build/node_modules/bluebird/js/release/async.js.map +0 -1
  1043. package/build/node_modules/bluebird/js/release/async.mjs +0 -169
  1044. package/build/node_modules/bluebird/js/release/async.mjs.map +0 -1
  1045. package/build/node_modules/bluebird/js/release/bind.js +0 -71
  1046. package/build/node_modules/bluebird/js/release/bind.js.map +0 -1
  1047. package/build/node_modules/bluebird/js/release/bind.mjs +0 -69
  1048. package/build/node_modules/bluebird/js/release/bind.mjs.map +0 -1
  1049. package/build/node_modules/bluebird/js/release/bluebird.js +0 -17
  1050. package/build/node_modules/bluebird/js/release/bluebird.js.map +0 -1
  1051. package/build/node_modules/bluebird/js/release/bluebird.mjs +0 -15
  1052. package/build/node_modules/bluebird/js/release/bluebird.mjs.map +0 -1
  1053. package/build/node_modules/bluebird/js/release/call_get.js +0 -128
  1054. package/build/node_modules/bluebird/js/release/call_get.js.map +0 -1
  1055. package/build/node_modules/bluebird/js/release/call_get.mjs +0 -126
  1056. package/build/node_modules/bluebird/js/release/call_get.mjs.map +0 -1
  1057. package/build/node_modules/bluebird/js/release/cancel.js +0 -135
  1058. package/build/node_modules/bluebird/js/release/cancel.js.map +0 -1
  1059. package/build/node_modules/bluebird/js/release/cancel.mjs +0 -133
  1060. package/build/node_modules/bluebird/js/release/cancel.mjs.map +0 -1
  1061. package/build/node_modules/bluebird/js/release/catch_filter.js +0 -49
  1062. package/build/node_modules/bluebird/js/release/catch_filter.js.map +0 -1
  1063. package/build/node_modules/bluebird/js/release/catch_filter.mjs +0 -47
  1064. package/build/node_modules/bluebird/js/release/catch_filter.mjs.map +0 -1
  1065. package/build/node_modules/bluebird/js/release/context.js +0 -73
  1066. package/build/node_modules/bluebird/js/release/context.js.map +0 -1
  1067. package/build/node_modules/bluebird/js/release/context.mjs +0 -71
  1068. package/build/node_modules/bluebird/js/release/context.mjs.map +0 -1
  1069. package/build/node_modules/bluebird/js/release/debuggability.js +0 -922
  1070. package/build/node_modules/bluebird/js/release/debuggability.js.map +0 -1
  1071. package/build/node_modules/bluebird/js/release/debuggability.mjs +0 -920
  1072. package/build/node_modules/bluebird/js/release/debuggability.mjs.map +0 -1
  1073. package/build/node_modules/bluebird/js/release/direct_resolve.js +0 -50
  1074. package/build/node_modules/bluebird/js/release/direct_resolve.js.map +0 -1
  1075. package/build/node_modules/bluebird/js/release/direct_resolve.mjs +0 -48
  1076. package/build/node_modules/bluebird/js/release/direct_resolve.mjs.map +0 -1
  1077. package/build/node_modules/bluebird/js/release/each.js +0 -33
  1078. package/build/node_modules/bluebird/js/release/each.js.map +0 -1
  1079. package/build/node_modules/bluebird/js/release/each.mjs +0 -31
  1080. package/build/node_modules/bluebird/js/release/each.mjs.map +0 -1
  1081. package/build/node_modules/bluebird/js/release/errors.js +0 -122
  1082. package/build/node_modules/bluebird/js/release/errors.js.map +0 -1
  1083. package/build/node_modules/bluebird/js/release/errors.mjs +0 -120
  1084. package/build/node_modules/bluebird/js/release/errors.mjs.map +0 -1
  1085. package/build/node_modules/bluebird/js/release/es5.js +0 -88
  1086. package/build/node_modules/bluebird/js/release/es5.js.map +0 -1
  1087. package/build/node_modules/bluebird/js/release/es5.mjs +0 -86
  1088. package/build/node_modules/bluebird/js/release/es5.mjs.map +0 -1
  1089. package/build/node_modules/bluebird/js/release/filter.js +0 -16
  1090. package/build/node_modules/bluebird/js/release/filter.js.map +0 -1
  1091. package/build/node_modules/bluebird/js/release/filter.mjs +0 -14
  1092. package/build/node_modules/bluebird/js/release/filter.mjs.map +0 -1
  1093. package/build/node_modules/bluebird/js/release/finally.js +0 -153
  1094. package/build/node_modules/bluebird/js/release/finally.js.map +0 -1
  1095. package/build/node_modules/bluebird/js/release/finally.mjs +0 -151
  1096. package/build/node_modules/bluebird/js/release/finally.mjs.map +0 -1
  1097. package/build/node_modules/bluebird/js/release/generators.js +0 -229
  1098. package/build/node_modules/bluebird/js/release/generators.js.map +0 -1
  1099. package/build/node_modules/bluebird/js/release/generators.mjs +0 -227
  1100. package/build/node_modules/bluebird/js/release/generators.mjs.map +0 -1
  1101. package/build/node_modules/bluebird/js/release/join.js +0 -172
  1102. package/build/node_modules/bluebird/js/release/join.js.map +0 -1
  1103. package/build/node_modules/bluebird/js/release/join.mjs +0 -170
  1104. package/build/node_modules/bluebird/js/release/join.mjs.map +0 -1
  1105. package/build/node_modules/bluebird/js/release/map.js +0 -173
  1106. package/build/node_modules/bluebird/js/release/map.js.map +0 -1
  1107. package/build/node_modules/bluebird/js/release/map.mjs +0 -171
  1108. package/build/node_modules/bluebird/js/release/map.mjs.map +0 -1
  1109. package/build/node_modules/bluebird/js/release/method.js +0 -61
  1110. package/build/node_modules/bluebird/js/release/method.js.map +0 -1
  1111. package/build/node_modules/bluebird/js/release/method.mjs +0 -59
  1112. package/build/node_modules/bluebird/js/release/method.mjs.map +0 -1
  1113. package/build/node_modules/bluebird/js/release/nodeback.js +0 -57
  1114. package/build/node_modules/bluebird/js/release/nodeback.js.map +0 -1
  1115. package/build/node_modules/bluebird/js/release/nodeback.mjs +0 -55
  1116. package/build/node_modules/bluebird/js/release/nodeback.mjs.map +0 -1
  1117. package/build/node_modules/bluebird/js/release/nodeify.js +0 -64
  1118. package/build/node_modules/bluebird/js/release/nodeify.js.map +0 -1
  1119. package/build/node_modules/bluebird/js/release/nodeify.mjs +0 -62
  1120. package/build/node_modules/bluebird/js/release/nodeify.mjs.map +0 -1
  1121. package/build/node_modules/bluebird/js/release/promise.js +0 -815
  1122. package/build/node_modules/bluebird/js/release/promise.js.map +0 -1
  1123. package/build/node_modules/bluebird/js/release/promise.mjs +0 -813
  1124. package/build/node_modules/bluebird/js/release/promise.mjs.map +0 -1
  1125. package/build/node_modules/bluebird/js/release/promise_array.js +0 -190
  1126. package/build/node_modules/bluebird/js/release/promise_array.js.map +0 -1
  1127. package/build/node_modules/bluebird/js/release/promise_array.mjs +0 -188
  1128. package/build/node_modules/bluebird/js/release/promise_array.mjs.map +0 -1
  1129. package/build/node_modules/bluebird/js/release/promisify.js +0 -321
  1130. package/build/node_modules/bluebird/js/release/promisify.js.map +0 -1
  1131. package/build/node_modules/bluebird/js/release/promisify.mjs +0 -319
  1132. package/build/node_modules/bluebird/js/release/promisify.mjs.map +0 -1
  1133. package/build/node_modules/bluebird/js/release/props.js +0 -125
  1134. package/build/node_modules/bluebird/js/release/props.js.map +0 -1
  1135. package/build/node_modules/bluebird/js/release/props.mjs +0 -123
  1136. package/build/node_modules/bluebird/js/release/props.mjs.map +0 -1
  1137. package/build/node_modules/bluebird/js/release/queue.js +0 -77
  1138. package/build/node_modules/bluebird/js/release/queue.js.map +0 -1
  1139. package/build/node_modules/bluebird/js/release/queue.mjs +0 -75
  1140. package/build/node_modules/bluebird/js/release/queue.mjs.map +0 -1
  1141. package/build/node_modules/bluebird/js/release/race.js +0 -55
  1142. package/build/node_modules/bluebird/js/release/race.js.map +0 -1
  1143. package/build/node_modules/bluebird/js/release/race.mjs +0 -53
  1144. package/build/node_modules/bluebird/js/release/race.mjs.map +0 -1
  1145. package/build/node_modules/bluebird/js/release/reduce.js +0 -178
  1146. package/build/node_modules/bluebird/js/release/reduce.js.map +0 -1
  1147. package/build/node_modules/bluebird/js/release/reduce.mjs +0 -176
  1148. package/build/node_modules/bluebird/js/release/reduce.mjs.map +0 -1
  1149. package/build/node_modules/bluebird/js/release/schedule.js +0 -67
  1150. package/build/node_modules/bluebird/js/release/schedule.js.map +0 -1
  1151. package/build/node_modules/bluebird/js/release/schedule.mjs +0 -65
  1152. package/build/node_modules/bluebird/js/release/schedule.mjs.map +0 -1
  1153. package/build/node_modules/bluebird/js/release/settle.js +0 -49
  1154. package/build/node_modules/bluebird/js/release/settle.js.map +0 -1
  1155. package/build/node_modules/bluebird/js/release/settle.mjs +0 -47
  1156. package/build/node_modules/bluebird/js/release/settle.mjs.map +0 -1
  1157. package/build/node_modules/bluebird/js/release/some.js +0 -155
  1158. package/build/node_modules/bluebird/js/release/some.js.map +0 -1
  1159. package/build/node_modules/bluebird/js/release/some.mjs +0 -153
  1160. package/build/node_modules/bluebird/js/release/some.mjs.map +0 -1
  1161. package/build/node_modules/bluebird/js/release/synchronous_inspection.js +0 -107
  1162. package/build/node_modules/bluebird/js/release/synchronous_inspection.js.map +0 -1
  1163. package/build/node_modules/bluebird/js/release/synchronous_inspection.mjs +0 -105
  1164. package/build/node_modules/bluebird/js/release/synchronous_inspection.mjs.map +0 -1
  1165. package/build/node_modules/bluebird/js/release/thenables.js +0 -92
  1166. package/build/node_modules/bluebird/js/release/thenables.js.map +0 -1
  1167. package/build/node_modules/bluebird/js/release/thenables.mjs +0 -90
  1168. package/build/node_modules/bluebird/js/release/thenables.mjs.map +0 -1
  1169. package/build/node_modules/bluebird/js/release/timers.js +0 -99
  1170. package/build/node_modules/bluebird/js/release/timers.js.map +0 -1
  1171. package/build/node_modules/bluebird/js/release/timers.mjs +0 -97
  1172. package/build/node_modules/bluebird/js/release/timers.mjs.map +0 -1
  1173. package/build/node_modules/bluebird/js/release/using.js +0 -233
  1174. package/build/node_modules/bluebird/js/release/using.js.map +0 -1
  1175. package/build/node_modules/bluebird/js/release/using.mjs +0 -231
  1176. package/build/node_modules/bluebird/js/release/using.mjs.map +0 -1
  1177. package/build/node_modules/bluebird/js/release/util.js +0 -380
  1178. package/build/node_modules/bluebird/js/release/util.js.map +0 -1
  1179. package/build/node_modules/bluebird/js/release/util.mjs +0 -378
  1180. package/build/node_modules/bluebird/js/release/util.mjs.map +0 -1
  1181. package/build/node_modules/bson/index.js +0 -51
  1182. package/build/node_modules/bson/index.js.map +0 -1
  1183. package/build/node_modules/bson/index.mjs +0 -49
  1184. package/build/node_modules/bson/index.mjs.map +0 -1
  1185. package/build/node_modules/bson/lib/bson/binary.js +0 -401
  1186. package/build/node_modules/bson/lib/bson/binary.js.map +0 -1
  1187. package/build/node_modules/bson/lib/bson/binary.mjs +0 -393
  1188. package/build/node_modules/bson/lib/bson/binary.mjs.map +0 -1
  1189. package/build/node_modules/bson/lib/bson/bson.js +0 -422
  1190. package/build/node_modules/bson/lib/bson/bson.js.map +0 -1
  1191. package/build/node_modules/bson/lib/bson/bson.mjs +0 -404
  1192. package/build/node_modules/bson/lib/bson/bson.mjs.map +0 -1
  1193. package/build/node_modules/bson/lib/bson/code.js +0 -33
  1194. package/build/node_modules/bson/lib/bson/code.js.map +0 -1
  1195. package/build/node_modules/bson/lib/bson/code.mjs +0 -29
  1196. package/build/node_modules/bson/lib/bson/code.mjs.map +0 -1
  1197. package/build/node_modules/bson/lib/bson/db_ref.js +0 -41
  1198. package/build/node_modules/bson/lib/bson/db_ref.js.map +0 -1
  1199. package/build/node_modules/bson/lib/bson/db_ref.mjs +0 -37
  1200. package/build/node_modules/bson/lib/bson/db_ref.mjs.map +0 -1
  1201. package/build/node_modules/bson/lib/bson/decimal128.js +0 -826
  1202. package/build/node_modules/bson/lib/bson/decimal128.js.map +0 -1
  1203. package/build/node_modules/bson/lib/bson/decimal128.mjs +0 -822
  1204. package/build/node_modules/bson/lib/bson/decimal128.mjs.map +0 -1
  1205. package/build/node_modules/bson/lib/bson/double.js +0 -42
  1206. package/build/node_modules/bson/lib/bson/double.js.map +0 -1
  1207. package/build/node_modules/bson/lib/bson/double.mjs +0 -38
  1208. package/build/node_modules/bson/lib/bson/double.mjs.map +0 -1
  1209. package/build/node_modules/bson/lib/bson/float_parser.js +0 -138
  1210. package/build/node_modules/bson/lib/bson/float_parser.js.map +0 -1
  1211. package/build/node_modules/bson/lib/bson/float_parser.mjs +0 -133
  1212. package/build/node_modules/bson/lib/bson/float_parser.mjs.map +0 -1
  1213. package/build/node_modules/bson/lib/bson/int_32.js +0 -42
  1214. package/build/node_modules/bson/lib/bson/int_32.js.map +0 -1
  1215. package/build/node_modules/bson/lib/bson/int_32.mjs +0 -38
  1216. package/build/node_modules/bson/lib/bson/int_32.mjs.map +0 -1
  1217. package/build/node_modules/bson/lib/bson/long.js +0 -874
  1218. package/build/node_modules/bson/lib/bson/long.js.map +0 -1
  1219. package/build/node_modules/bson/lib/bson/long.mjs +0 -870
  1220. package/build/node_modules/bson/lib/bson/long.mjs.map +0 -1
  1221. package/build/node_modules/bson/lib/bson/map.js +0 -136
  1222. package/build/node_modules/bson/lib/bson/map.js.map +0 -1
  1223. package/build/node_modules/bson/lib/bson/map.mjs +0 -134
  1224. package/build/node_modules/bson/lib/bson/map.mjs.map +0 -1
  1225. package/build/node_modules/bson/lib/bson/max_key.js +0 -23
  1226. package/build/node_modules/bson/lib/bson/max_key.js.map +0 -1
  1227. package/build/node_modules/bson/lib/bson/max_key.mjs +0 -19
  1228. package/build/node_modules/bson/lib/bson/max_key.mjs.map +0 -1
  1229. package/build/node_modules/bson/lib/bson/min_key.js +0 -23
  1230. package/build/node_modules/bson/lib/bson/min_key.js.map +0 -1
  1231. package/build/node_modules/bson/lib/bson/min_key.mjs +0 -19
  1232. package/build/node_modules/bson/lib/bson/min_key.mjs.map +0 -1
  1233. package/build/node_modules/bson/lib/bson/objectid.js +0 -410
  1234. package/build/node_modules/bson/lib/bson/objectid.js.map +0 -1
  1235. package/build/node_modules/bson/lib/bson/objectid.mjs +0 -401
  1236. package/build/node_modules/bson/lib/bson/objectid.mjs.map +0 -1
  1237. package/build/node_modules/bson/lib/bson/parser/calculate_size.js +0 -271
  1238. package/build/node_modules/bson/lib/bson/parser/calculate_size.js.map +0 -1
  1239. package/build/node_modules/bson/lib/bson/parser/calculate_size.mjs +0 -269
  1240. package/build/node_modules/bson/lib/bson/parser/calculate_size.mjs.map +0 -1
  1241. package/build/node_modules/bson/lib/bson/parser/deserializer.js +0 -798
  1242. package/build/node_modules/bson/lib/bson/parser/deserializer.js.map +0 -1
  1243. package/build/node_modules/bson/lib/bson/parser/deserializer.mjs +0 -796
  1244. package/build/node_modules/bson/lib/bson/parser/deserializer.mjs.map +0 -1
  1245. package/build/node_modules/bson/lib/bson/parser/serializer.js +0 -1200
  1246. package/build/node_modules/bson/lib/bson/parser/serializer.js.map +0 -1
  1247. package/build/node_modules/bson/lib/bson/parser/serializer.mjs +0 -1198
  1248. package/build/node_modules/bson/lib/bson/parser/serializer.mjs.map +0 -1
  1249. package/build/node_modules/bson/lib/bson/parser/utils.js +0 -30
  1250. package/build/node_modules/bson/lib/bson/parser/utils.js.map +0 -1
  1251. package/build/node_modules/bson/lib/bson/parser/utils.mjs +0 -28
  1252. package/build/node_modules/bson/lib/bson/parser/utils.mjs.map +0 -1
  1253. package/build/node_modules/bson/lib/bson/regexp.js +0 -42
  1254. package/build/node_modules/bson/lib/bson/regexp.js.map +0 -1
  1255. package/build/node_modules/bson/lib/bson/regexp.mjs +0 -38
  1256. package/build/node_modules/bson/lib/bson/regexp.mjs.map +0 -1
  1257. package/build/node_modules/bson/lib/bson/symbol.js +0 -65
  1258. package/build/node_modules/bson/lib/bson/symbol.js.map +0 -1
  1259. package/build/node_modules/bson/lib/bson/symbol.mjs +0 -57
  1260. package/build/node_modules/bson/lib/bson/symbol.mjs.map +0 -1
  1261. package/build/node_modules/bson/lib/bson/timestamp.js +0 -863
  1262. package/build/node_modules/bson/lib/bson/timestamp.js.map +0 -1
  1263. package/build/node_modules/bson/lib/bson/timestamp.mjs +0 -859
  1264. package/build/node_modules/bson/lib/bson/timestamp.mjs.map +0 -1
  1265. package/build/node_modules/core-util-is/lib/util.js +0 -147
  1266. package/build/node_modules/core-util-is/lib/util.js.map +0 -1
  1267. package/build/node_modules/core-util-is/lib/util.mjs +0 -129
  1268. package/build/node_modules/core-util-is/lib/util.mjs.map +0 -1
  1269. package/build/node_modules/denque/index.js +0 -446
  1270. package/build/node_modules/denque/index.js.map +0 -1
  1271. package/build/node_modules/denque/index.mjs +0 -444
  1272. package/build/node_modules/denque/index.mjs.map +0 -1
  1273. package/build/node_modules/double-ended-queue/js/deque.js +0 -279
  1274. package/build/node_modules/double-ended-queue/js/deque.js.map +0 -1
  1275. package/build/node_modules/double-ended-queue/js/deque.mjs +0 -277
  1276. package/build/node_modules/double-ended-queue/js/deque.mjs.map +0 -1
  1277. package/build/node_modules/inherits/inherits.js +0 -24
  1278. package/build/node_modules/inherits/inherits.js.map +0 -1
  1279. package/build/node_modules/inherits/inherits.mjs +0 -18
  1280. package/build/node_modules/inherits/inherits.mjs.map +0 -1
  1281. package/build/node_modules/inherits/inherits_browser.js +0 -36
  1282. package/build/node_modules/inherits/inherits_browser.js.map +0 -1
  1283. package/build/node_modules/inherits/inherits_browser.mjs +0 -34
  1284. package/build/node_modules/inherits/inherits_browser.mjs.map +0 -1
  1285. package/build/node_modules/isarray/index.js +0 -10
  1286. package/build/node_modules/isarray/index.js.map +0 -1
  1287. package/build/node_modules/isarray/index.mjs +0 -8
  1288. package/build/node_modules/isarray/index.mjs.map +0 -1
  1289. package/build/node_modules/kareem/index.js +0 -514
  1290. package/build/node_modules/kareem/index.js.map +0 -1
  1291. package/build/node_modules/kareem/index.mjs +0 -512
  1292. package/build/node_modules/kareem/index.mjs.map +0 -1
  1293. package/build/node_modules/memory-pager/index.js +0 -165
  1294. package/build/node_modules/memory-pager/index.js.map +0 -1
  1295. package/build/node_modules/memory-pager/index.mjs +0 -163
  1296. package/build/node_modules/memory-pager/index.mjs.map +0 -1
  1297. package/build/node_modules/mongodb/index.js +0 -93
  1298. package/build/node_modules/mongodb/index.js.map +0 -1
  1299. package/build/node_modules/mongodb/index.mjs +0 -91
  1300. package/build/node_modules/mongodb/index.mjs.map +0 -1
  1301. package/build/node_modules/mongodb/lib/admin.js +0 -307
  1302. package/build/node_modules/mongodb/lib/admin.js.map +0 -1
  1303. package/build/node_modules/mongodb/lib/admin.mjs +0 -305
  1304. package/build/node_modules/mongodb/lib/admin.mjs.map +0 -1
  1305. package/build/node_modules/mongodb/lib/aggregation_cursor.js +0 -376
  1306. package/build/node_modules/mongodb/lib/aggregation_cursor.js.map +0 -1
  1307. package/build/node_modules/mongodb/lib/aggregation_cursor.mjs +0 -374
  1308. package/build/node_modules/mongodb/lib/aggregation_cursor.mjs.map +0 -1
  1309. package/build/node_modules/mongodb/lib/apm.js +0 -41
  1310. package/build/node_modules/mongodb/lib/apm.js.map +0 -1
  1311. package/build/node_modules/mongodb/lib/apm.mjs +0 -35
  1312. package/build/node_modules/mongodb/lib/apm.mjs.map +0 -1
  1313. package/build/node_modules/mongodb/lib/async/async_iterator.js +0 -43
  1314. package/build/node_modules/mongodb/lib/async/async_iterator.js.map +0 -1
  1315. package/build/node_modules/mongodb/lib/async/async_iterator.mjs +0 -39
  1316. package/build/node_modules/mongodb/lib/async/async_iterator.mjs.map +0 -1
  1317. package/build/node_modules/mongodb/lib/bulk/common.js +0 -1381
  1318. package/build/node_modules/mongodb/lib/bulk/common.js.map +0 -1
  1319. package/build/node_modules/mongodb/lib/bulk/common.mjs +0 -1379
  1320. package/build/node_modules/mongodb/lib/bulk/common.mjs.map +0 -1
  1321. package/build/node_modules/mongodb/lib/bulk/ordered.js +0 -119
  1322. package/build/node_modules/mongodb/lib/bulk/ordered.js.map +0 -1
  1323. package/build/node_modules/mongodb/lib/bulk/ordered.mjs +0 -115
  1324. package/build/node_modules/mongodb/lib/bulk/ordered.mjs.map +0 -1
  1325. package/build/node_modules/mongodb/lib/bulk/unordered.js +0 -140
  1326. package/build/node_modules/mongodb/lib/bulk/unordered.js.map +0 -1
  1327. package/build/node_modules/mongodb/lib/bulk/unordered.mjs +0 -136
  1328. package/build/node_modules/mongodb/lib/bulk/unordered.mjs.map +0 -1
  1329. package/build/node_modules/mongodb/lib/change_stream.js +0 -640
  1330. package/build/node_modules/mongodb/lib/change_stream.js.map +0 -1
  1331. package/build/node_modules/mongodb/lib/change_stream.mjs +0 -634
  1332. package/build/node_modules/mongodb/lib/change_stream.mjs.map +0 -1
  1333. package/build/node_modules/mongodb/lib/cmap/connection.js +0 -404
  1334. package/build/node_modules/mongodb/lib/cmap/connection.js.map +0 -1
  1335. package/build/node_modules/mongodb/lib/cmap/connection.mjs +0 -398
  1336. package/build/node_modules/mongodb/lib/cmap/connection.mjs.map +0 -1
  1337. package/build/node_modules/mongodb/lib/cmap/connection_pool.js +0 -608
  1338. package/build/node_modules/mongodb/lib/cmap/connection_pool.js.map +0 -1
  1339. package/build/node_modules/mongodb/lib/cmap/connection_pool.mjs +0 -602
  1340. package/build/node_modules/mongodb/lib/cmap/connection_pool.mjs.map +0 -1
  1341. package/build/node_modules/mongodb/lib/cmap/errors.js +0 -41
  1342. package/build/node_modules/mongodb/lib/cmap/errors.js.map +0 -1
  1343. package/build/node_modules/mongodb/lib/cmap/errors.mjs +0 -39
  1344. package/build/node_modules/mongodb/lib/cmap/errors.mjs.map +0 -1
  1345. package/build/node_modules/mongodb/lib/cmap/events.js +0 -157
  1346. package/build/node_modules/mongodb/lib/cmap/events.js.map +0 -1
  1347. package/build/node_modules/mongodb/lib/cmap/events.mjs +0 -155
  1348. package/build/node_modules/mongodb/lib/cmap/events.mjs.map +0 -1
  1349. package/build/node_modules/mongodb/lib/cmap/message_stream.js +0 -211
  1350. package/build/node_modules/mongodb/lib/cmap/message_stream.js.map +0 -1
  1351. package/build/node_modules/mongodb/lib/cmap/message_stream.mjs +0 -205
  1352. package/build/node_modules/mongodb/lib/cmap/message_stream.mjs.map +0 -1
  1353. package/build/node_modules/mongodb/lib/cmap/stream_description.js +0 -51
  1354. package/build/node_modules/mongodb/lib/cmap/stream_description.js.map +0 -1
  1355. package/build/node_modules/mongodb/lib/cmap/stream_description.mjs +0 -49
  1356. package/build/node_modules/mongodb/lib/cmap/stream_description.mjs.map +0 -1
  1357. package/build/node_modules/mongodb/lib/collection.js +0 -2294
  1358. package/build/node_modules/mongodb/lib/collection.js.map +0 -1
  1359. package/build/node_modules/mongodb/lib/collection.mjs +0 -2288
  1360. package/build/node_modules/mongodb/lib/collection.mjs.map +0 -1
  1361. package/build/node_modules/mongodb/lib/command_cursor.js +0 -276
  1362. package/build/node_modules/mongodb/lib/command_cursor.js.map +0 -1
  1363. package/build/node_modules/mongodb/lib/command_cursor.mjs +0 -274
  1364. package/build/node_modules/mongodb/lib/command_cursor.mjs.map +0 -1
  1365. package/build/node_modules/mongodb/lib/constants.js +0 -13
  1366. package/build/node_modules/mongodb/lib/constants.js.map +0 -1
  1367. package/build/node_modules/mongodb/lib/constants.mjs +0 -11
  1368. package/build/node_modules/mongodb/lib/constants.mjs.map +0 -1
  1369. package/build/node_modules/mongodb/lib/core/auth/auth_provider.js +0 -58
  1370. package/build/node_modules/mongodb/lib/core/auth/auth_provider.js.map +0 -1
  1371. package/build/node_modules/mongodb/lib/core/auth/auth_provider.mjs +0 -56
  1372. package/build/node_modules/mongodb/lib/core/auth/auth_provider.mjs.map +0 -1
  1373. package/build/node_modules/mongodb/lib/core/auth/defaultAuthProviders.js +0 -35
  1374. package/build/node_modules/mongodb/lib/core/auth/defaultAuthProviders.js.map +0 -1
  1375. package/build/node_modules/mongodb/lib/core/auth/defaultAuthProviders.mjs +0 -33
  1376. package/build/node_modules/mongodb/lib/core/auth/defaultAuthProviders.mjs.map +0 -1
  1377. package/build/node_modules/mongodb/lib/core/auth/gssapi.js +0 -162
  1378. package/build/node_modules/mongodb/lib/core/auth/gssapi.js.map +0 -1
  1379. package/build/node_modules/mongodb/lib/core/auth/gssapi.mjs +0 -156
  1380. package/build/node_modules/mongodb/lib/core/auth/gssapi.mjs.map +0 -1
  1381. package/build/node_modules/mongodb/lib/core/auth/mongo_credentials.js +0 -110
  1382. package/build/node_modules/mongodb/lib/core/auth/mongo_credentials.js.map +0 -1
  1383. package/build/node_modules/mongodb/lib/core/auth/mongo_credentials.mjs +0 -108
  1384. package/build/node_modules/mongodb/lib/core/auth/mongo_credentials.mjs.map +0 -1
  1385. package/build/node_modules/mongodb/lib/core/auth/mongocr.js +0 -54
  1386. package/build/node_modules/mongodb/lib/core/auth/mongocr.js.map +0 -1
  1387. package/build/node_modules/mongodb/lib/core/auth/mongocr.mjs +0 -48
  1388. package/build/node_modules/mongodb/lib/core/auth/mongocr.mjs.map +0 -1
  1389. package/build/node_modules/mongodb/lib/core/auth/mongodb_aws.js +0 -275
  1390. package/build/node_modules/mongodb/lib/core/auth/mongodb_aws.js.map +0 -1
  1391. package/build/node_modules/mongodb/lib/core/auth/mongodb_aws.mjs +0 -267
  1392. package/build/node_modules/mongodb/lib/core/auth/mongodb_aws.mjs.map +0 -1
  1393. package/build/node_modules/mongodb/lib/core/auth/plain.js +0 -35
  1394. package/build/node_modules/mongodb/lib/core/auth/plain.js.map +0 -1
  1395. package/build/node_modules/mongodb/lib/core/auth/plain.mjs +0 -33
  1396. package/build/node_modules/mongodb/lib/core/auth/plain.mjs.map +0 -1
  1397. package/build/node_modules/mongodb/lib/core/auth/scram.js +0 -362
  1398. package/build/node_modules/mongodb/lib/core/auth/scram.js.map +0 -1
  1399. package/build/node_modules/mongodb/lib/core/auth/scram.mjs +0 -356
  1400. package/build/node_modules/mongodb/lib/core/auth/scram.mjs.map +0 -1
  1401. package/build/node_modules/mongodb/lib/core/auth/x509.js +0 -41
  1402. package/build/node_modules/mongodb/lib/core/auth/x509.js.map +0 -1
  1403. package/build/node_modules/mongodb/lib/core/auth/x509.mjs +0 -39
  1404. package/build/node_modules/mongodb/lib/core/auth/x509.mjs.map +0 -1
  1405. package/build/node_modules/mongodb/lib/core/connection/apm.js +0 -259
  1406. package/build/node_modules/mongodb/lib/core/connection/apm.js.map +0 -1
  1407. package/build/node_modules/mongodb/lib/core/connection/apm.mjs +0 -257
  1408. package/build/node_modules/mongodb/lib/core/connection/apm.mjs.map +0 -1
  1409. package/build/node_modules/mongodb/lib/core/connection/command_result.js +0 -39
  1410. package/build/node_modules/mongodb/lib/core/connection/command_result.js.map +0 -1
  1411. package/build/node_modules/mongodb/lib/core/connection/command_result.mjs +0 -37
  1412. package/build/node_modules/mongodb/lib/core/connection/command_result.mjs.map +0 -1
  1413. package/build/node_modules/mongodb/lib/core/connection/commands.js +0 -514
  1414. package/build/node_modules/mongodb/lib/core/connection/commands.js.map +0 -1
  1415. package/build/node_modules/mongodb/lib/core/connection/commands.mjs +0 -512
  1416. package/build/node_modules/mongodb/lib/core/connection/commands.mjs.map +0 -1
  1417. package/build/node_modules/mongodb/lib/core/connection/connect.js +0 -367
  1418. package/build/node_modules/mongodb/lib/core/connection/connect.js.map +0 -1
  1419. package/build/node_modules/mongodb/lib/core/connection/connect.mjs +0 -360
  1420. package/build/node_modules/mongodb/lib/core/connection/connect.mjs.map +0 -1
  1421. package/build/node_modules/mongodb/lib/core/connection/connection.js +0 -731
  1422. package/build/node_modules/mongodb/lib/core/connection/connection.js.map +0 -1
  1423. package/build/node_modules/mongodb/lib/core/connection/connection.mjs +0 -724
  1424. package/build/node_modules/mongodb/lib/core/connection/connection.mjs.map +0 -1
  1425. package/build/node_modules/mongodb/lib/core/connection/logger.js +0 -262
  1426. package/build/node_modules/mongodb/lib/core/connection/logger.js.map +0 -1
  1427. package/build/node_modules/mongodb/lib/core/connection/logger.mjs +0 -256
  1428. package/build/node_modules/mongodb/lib/core/connection/logger.mjs.map +0 -1
  1429. package/build/node_modules/mongodb/lib/core/connection/msg.js +0 -232
  1430. package/build/node_modules/mongodb/lib/core/connection/msg.js.map +0 -1
  1431. package/build/node_modules/mongodb/lib/core/connection/msg.mjs +0 -230
  1432. package/build/node_modules/mongodb/lib/core/connection/msg.mjs.map +0 -1
  1433. package/build/node_modules/mongodb/lib/core/connection/pool.js +0 -1304
  1434. package/build/node_modules/mongodb/lib/core/connection/pool.js.map +0 -1
  1435. package/build/node_modules/mongodb/lib/core/connection/pool.mjs +0 -1297
  1436. package/build/node_modules/mongodb/lib/core/connection/pool.mjs.map +0 -1
  1437. package/build/node_modules/mongodb/lib/core/connection/utils.js +0 -59
  1438. package/build/node_modules/mongodb/lib/core/connection/utils.js.map +0 -1
  1439. package/build/node_modules/mongodb/lib/core/connection/utils.mjs +0 -57
  1440. package/build/node_modules/mongodb/lib/core/connection/utils.mjs.map +0 -1
  1441. package/build/node_modules/mongodb/lib/core/cursor.js +0 -891
  1442. package/build/node_modules/mongodb/lib/core/cursor.js.map +0 -1
  1443. package/build/node_modules/mongodb/lib/core/cursor.mjs +0 -885
  1444. package/build/node_modules/mongodb/lib/core/cursor.mjs.map +0 -1
  1445. package/build/node_modules/mongodb/lib/core/error.js +0 -354
  1446. package/build/node_modules/mongodb/lib/core/error.js.map +0 -1
  1447. package/build/node_modules/mongodb/lib/core/error.mjs +0 -352
  1448. package/build/node_modules/mongodb/lib/core/error.mjs.map +0 -1
  1449. package/build/node_modules/mongodb/lib/core/index.js +0 -77
  1450. package/build/node_modules/mongodb/lib/core/index.js.map +0 -1
  1451. package/build/node_modules/mongodb/lib/core/index.mjs +0 -75
  1452. package/build/node_modules/mongodb/lib/core/index.mjs.map +0 -1
  1453. package/build/node_modules/mongodb/lib/core/sdam/common.js +0 -70
  1454. package/build/node_modules/mongodb/lib/core/sdam/common.js.map +0 -1
  1455. package/build/node_modules/mongodb/lib/core/sdam/common.mjs +0 -68
  1456. package/build/node_modules/mongodb/lib/core/sdam/common.mjs.map +0 -1
  1457. package/build/node_modules/mongodb/lib/core/sdam/events.js +0 -127
  1458. package/build/node_modules/mongodb/lib/core/sdam/events.js.map +0 -1
  1459. package/build/node_modules/mongodb/lib/core/sdam/events.mjs +0 -125
  1460. package/build/node_modules/mongodb/lib/core/sdam/events.mjs.map +0 -1
  1461. package/build/node_modules/mongodb/lib/core/sdam/monitor.js +0 -430
  1462. package/build/node_modules/mongodb/lib/core/sdam/monitor.js.map +0 -1
  1463. package/build/node_modules/mongodb/lib/core/sdam/monitor.mjs +0 -424
  1464. package/build/node_modules/mongodb/lib/core/sdam/monitor.mjs.map +0 -1
  1465. package/build/node_modules/mongodb/lib/core/sdam/server.js +0 -584
  1466. package/build/node_modules/mongodb/lib/core/sdam/server.js.map +0 -1
  1467. package/build/node_modules/mongodb/lib/core/sdam/server.mjs +0 -578
  1468. package/build/node_modules/mongodb/lib/core/sdam/server.mjs.map +0 -1
  1469. package/build/node_modules/mongodb/lib/core/sdam/server_description.js +0 -234
  1470. package/build/node_modules/mongodb/lib/core/sdam/server_description.js.map +0 -1
  1471. package/build/node_modules/mongodb/lib/core/sdam/server_description.mjs +0 -232
  1472. package/build/node_modules/mongodb/lib/core/sdam/server_description.mjs.map +0 -1
  1473. package/build/node_modules/mongodb/lib/core/sdam/server_selection.js +0 -246
  1474. package/build/node_modules/mongodb/lib/core/sdam/server_selection.js.map +0 -1
  1475. package/build/node_modules/mongodb/lib/core/sdam/server_selection.mjs +0 -244
  1476. package/build/node_modules/mongodb/lib/core/sdam/server_selection.mjs.map +0 -1
  1477. package/build/node_modules/mongodb/lib/core/sdam/srv_polling.js +0 -155
  1478. package/build/node_modules/mongodb/lib/core/sdam/srv_polling.js.map +0 -1
  1479. package/build/node_modules/mongodb/lib/core/sdam/srv_polling.mjs +0 -145
  1480. package/build/node_modules/mongodb/lib/core/sdam/srv_polling.mjs.map +0 -1
  1481. package/build/node_modules/mongodb/lib/core/sdam/topology.js +0 -1170
  1482. package/build/node_modules/mongodb/lib/core/sdam/topology.js.map +0 -1
  1483. package/build/node_modules/mongodb/lib/core/sdam/topology.mjs +0 -1163
  1484. package/build/node_modules/mongodb/lib/core/sdam/topology.mjs.map +0 -1
  1485. package/build/node_modules/mongodb/lib/core/sdam/topology_description.js +0 -468
  1486. package/build/node_modules/mongodb/lib/core/sdam/topology_description.js.map +0 -1
  1487. package/build/node_modules/mongodb/lib/core/sdam/topology_description.mjs +0 -466
  1488. package/build/node_modules/mongodb/lib/core/sdam/topology_description.mjs.map +0 -1
  1489. package/build/node_modules/mongodb/lib/core/sessions.js +0 -797
  1490. package/build/node_modules/mongodb/lib/core/sessions.js.map +0 -1
  1491. package/build/node_modules/mongodb/lib/core/sessions.mjs +0 -791
  1492. package/build/node_modules/mongodb/lib/core/sessions.mjs.map +0 -1
  1493. package/build/node_modules/mongodb/lib/core/topologies/mongos.js +0 -1415
  1494. package/build/node_modules/mongodb/lib/core/topologies/mongos.js.map +0 -1
  1495. package/build/node_modules/mongodb/lib/core/topologies/mongos.mjs +0 -1408
  1496. package/build/node_modules/mongodb/lib/core/topologies/mongos.mjs.map +0 -1
  1497. package/build/node_modules/mongodb/lib/core/topologies/read_preference.js +0 -273
  1498. package/build/node_modules/mongodb/lib/core/topologies/read_preference.js.map +0 -1
  1499. package/build/node_modules/mongodb/lib/core/topologies/read_preference.mjs +0 -271
  1500. package/build/node_modules/mongodb/lib/core/topologies/read_preference.mjs.map +0 -1
  1501. package/build/node_modules/mongodb/lib/core/topologies/replset.js +0 -1586
  1502. package/build/node_modules/mongodb/lib/core/topologies/replset.js.map +0 -1
  1503. package/build/node_modules/mongodb/lib/core/topologies/replset.mjs +0 -1579
  1504. package/build/node_modules/mongodb/lib/core/topologies/replset.mjs.map +0 -1
  1505. package/build/node_modules/mongodb/lib/core/topologies/replset_state.js +0 -1135
  1506. package/build/node_modules/mongodb/lib/core/topologies/replset_state.js.map +0 -1
  1507. package/build/node_modules/mongodb/lib/core/topologies/replset_state.mjs +0 -1128
  1508. package/build/node_modules/mongodb/lib/core/topologies/replset_state.mjs.map +0 -1
  1509. package/build/node_modules/mongodb/lib/core/topologies/server.js +0 -1006
  1510. package/build/node_modules/mongodb/lib/core/topologies/server.js.map +0 -1
  1511. package/build/node_modules/mongodb/lib/core/topologies/server.mjs +0 -999
  1512. package/build/node_modules/mongodb/lib/core/topologies/server.mjs.map +0 -1
  1513. package/build/node_modules/mongodb/lib/core/topologies/shared.js +0 -464
  1514. package/build/node_modules/mongodb/lib/core/topologies/shared.js.map +0 -1
  1515. package/build/node_modules/mongodb/lib/core/topologies/shared.mjs +0 -462
  1516. package/build/node_modules/mongodb/lib/core/topologies/shared.mjs.map +0 -1
  1517. package/build/node_modules/mongodb/lib/core/transactions.js +0 -188
  1518. package/build/node_modules/mongodb/lib/core/transactions.js.map +0 -1
  1519. package/build/node_modules/mongodb/lib/core/transactions.mjs +0 -186
  1520. package/build/node_modules/mongodb/lib/core/transactions.mjs.map +0 -1
  1521. package/build/node_modules/mongodb/lib/core/uri_parser.js +0 -745
  1522. package/build/node_modules/mongodb/lib/core/uri_parser.js.map +0 -1
  1523. package/build/node_modules/mongodb/lib/core/uri_parser.mjs +0 -737
  1524. package/build/node_modules/mongodb/lib/core/uri_parser.mjs.map +0 -1
  1525. package/build/node_modules/mongodb/lib/core/utils.js +0 -307
  1526. package/build/node_modules/mongodb/lib/core/utils.js.map +0 -1
  1527. package/build/node_modules/mongodb/lib/core/utils.mjs +0 -300
  1528. package/build/node_modules/mongodb/lib/core/utils.mjs.map +0 -1
  1529. package/build/node_modules/mongodb/lib/core/wireprotocol/command.js +0 -193
  1530. package/build/node_modules/mongodb/lib/core/wireprotocol/command.js.map +0 -1
  1531. package/build/node_modules/mongodb/lib/core/wireprotocol/command.mjs +0 -191
  1532. package/build/node_modules/mongodb/lib/core/wireprotocol/command.mjs.map +0 -1
  1533. package/build/node_modules/mongodb/lib/core/wireprotocol/compression.js +0 -83
  1534. package/build/node_modules/mongodb/lib/core/wireprotocol/compression.js.map +0 -1
  1535. package/build/node_modules/mongodb/lib/core/wireprotocol/compression.mjs +0 -77
  1536. package/build/node_modules/mongodb/lib/core/wireprotocol/compression.mjs.map +0 -1
  1537. package/build/node_modules/mongodb/lib/core/wireprotocol/constants.js +0 -16
  1538. package/build/node_modules/mongodb/lib/core/wireprotocol/constants.js.map +0 -1
  1539. package/build/node_modules/mongodb/lib/core/wireprotocol/constants.mjs +0 -14
  1540. package/build/node_modules/mongodb/lib/core/wireprotocol/constants.mjs.map +0 -1
  1541. package/build/node_modules/mongodb/lib/core/wireprotocol/get_more.js +0 -105
  1542. package/build/node_modules/mongodb/lib/core/wireprotocol/get_more.js.map +0 -1
  1543. package/build/node_modules/mongodb/lib/core/wireprotocol/get_more.mjs +0 -103
  1544. package/build/node_modules/mongodb/lib/core/wireprotocol/get_more.mjs.map +0 -1
  1545. package/build/node_modules/mongodb/lib/core/wireprotocol/index.js +0 -26
  1546. package/build/node_modules/mongodb/lib/core/wireprotocol/index.js.map +0 -1
  1547. package/build/node_modules/mongodb/lib/core/wireprotocol/index.mjs +0 -24
  1548. package/build/node_modules/mongodb/lib/core/wireprotocol/index.mjs.map +0 -1
  1549. package/build/node_modules/mongodb/lib/core/wireprotocol/kill_cursors.js +0 -80
  1550. package/build/node_modules/mongodb/lib/core/wireprotocol/kill_cursors.js.map +0 -1
  1551. package/build/node_modules/mongodb/lib/core/wireprotocol/kill_cursors.mjs +0 -78
  1552. package/build/node_modules/mongodb/lib/core/wireprotocol/kill_cursors.mjs.map +0 -1
  1553. package/build/node_modules/mongodb/lib/core/wireprotocol/query.js +0 -247
  1554. package/build/node_modules/mongodb/lib/core/wireprotocol/query.js.map +0 -1
  1555. package/build/node_modules/mongodb/lib/core/wireprotocol/query.mjs +0 -245
  1556. package/build/node_modules/mongodb/lib/core/wireprotocol/query.mjs.map +0 -1
  1557. package/build/node_modules/mongodb/lib/core/wireprotocol/shared.js +0 -122
  1558. package/build/node_modules/mongodb/lib/core/wireprotocol/shared.js.map +0 -1
  1559. package/build/node_modules/mongodb/lib/core/wireprotocol/shared.mjs +0 -120
  1560. package/build/node_modules/mongodb/lib/core/wireprotocol/shared.mjs.map +0 -1
  1561. package/build/node_modules/mongodb/lib/core/wireprotocol/write_command.js +0 -68
  1562. package/build/node_modules/mongodb/lib/core/wireprotocol/write_command.js.map +0 -1
  1563. package/build/node_modules/mongodb/lib/core/wireprotocol/write_command.mjs +0 -66
  1564. package/build/node_modules/mongodb/lib/core/wireprotocol/write_command.mjs.map +0 -1
  1565. package/build/node_modules/mongodb/lib/cursor.js +0 -1156
  1566. package/build/node_modules/mongodb/lib/cursor.js.map +0 -1
  1567. package/build/node_modules/mongodb/lib/cursor.mjs +0 -1149
  1568. package/build/node_modules/mongodb/lib/cursor.mjs.map +0 -1
  1569. package/build/node_modules/mongodb/lib/db.js +0 -1092
  1570. package/build/node_modules/mongodb/lib/db.js.map +0 -1
  1571. package/build/node_modules/mongodb/lib/db.mjs +0 -1085
  1572. package/build/node_modules/mongodb/lib/db.mjs.map +0 -1
  1573. package/build/node_modules/mongodb/lib/dynamic_loaders.js +0 -39
  1574. package/build/node_modules/mongodb/lib/dynamic_loaders.js.map +0 -1
  1575. package/build/node_modules/mongodb/lib/dynamic_loaders.mjs +0 -37
  1576. package/build/node_modules/mongodb/lib/dynamic_loaders.mjs.map +0 -1
  1577. package/build/node_modules/mongodb/lib/encrypter.js +0 -176
  1578. package/build/node_modules/mongodb/lib/encrypter.js.map +0 -1
  1579. package/build/node_modules/mongodb/lib/encrypter.mjs +0 -170
  1580. package/build/node_modules/mongodb/lib/encrypter.mjs.map +0 -1
  1581. package/build/node_modules/mongodb/lib/error.js +0 -48
  1582. package/build/node_modules/mongodb/lib/error.js.map +0 -1
  1583. package/build/node_modules/mongodb/lib/error.mjs +0 -46
  1584. package/build/node_modules/mongodb/lib/error.mjs.map +0 -1
  1585. package/build/node_modules/mongodb/lib/explain.js +0 -60
  1586. package/build/node_modules/mongodb/lib/explain.js.map +0 -1
  1587. package/build/node_modules/mongodb/lib/explain.mjs +0 -58
  1588. package/build/node_modules/mongodb/lib/explain.mjs.map +0 -1
  1589. package/build/node_modules/mongodb/lib/gridfs/chunk.js +0 -242
  1590. package/build/node_modules/mongodb/lib/gridfs/chunk.js.map +0 -1
  1591. package/build/node_modules/mongodb/lib/gridfs/chunk.mjs +0 -240
  1592. package/build/node_modules/mongodb/lib/gridfs/chunk.mjs.map +0 -1
  1593. package/build/node_modules/mongodb/lib/gridfs/grid_store.js +0 -1940
  1594. package/build/node_modules/mongodb/lib/gridfs/grid_store.js.map +0 -1
  1595. package/build/node_modules/mongodb/lib/gridfs/grid_store.mjs +0 -1932
  1596. package/build/node_modules/mongodb/lib/gridfs/grid_store.mjs.map +0 -1
  1597. package/build/node_modules/mongodb/lib/gridfs-stream/download.js +0 -441
  1598. package/build/node_modules/mongodb/lib/gridfs-stream/download.js.map +0 -1
  1599. package/build/node_modules/mongodb/lib/gridfs-stream/download.mjs +0 -434
  1600. package/build/node_modules/mongodb/lib/gridfs-stream/download.mjs.map +0 -1
  1601. package/build/node_modules/mongodb/lib/gridfs-stream/index.js +0 -366
  1602. package/build/node_modules/mongodb/lib/gridfs-stream/index.js.map +0 -1
  1603. package/build/node_modules/mongodb/lib/gridfs-stream/index.mjs +0 -359
  1604. package/build/node_modules/mongodb/lib/gridfs-stream/index.mjs.map +0 -1
  1605. package/build/node_modules/mongodb/lib/gridfs-stream/upload.js +0 -552
  1606. package/build/node_modules/mongodb/lib/gridfs-stream/upload.js.map +0 -1
  1607. package/build/node_modules/mongodb/lib/gridfs-stream/upload.mjs +0 -544
  1608. package/build/node_modules/mongodb/lib/gridfs-stream/upload.mjs.map +0 -1
  1609. package/build/node_modules/mongodb/lib/mongo_client.js +0 -514
  1610. package/build/node_modules/mongodb/lib/mongo_client.js.map +0 -1
  1611. package/build/node_modules/mongodb/lib/mongo_client.mjs +0 -507
  1612. package/build/node_modules/mongodb/lib/mongo_client.mjs.map +0 -1
  1613. package/build/node_modules/mongodb/lib/operations/add_user.js +0 -111
  1614. package/build/node_modules/mongodb/lib/operations/add_user.js.map +0 -1
  1615. package/build/node_modules/mongodb/lib/operations/add_user.mjs +0 -105
  1616. package/build/node_modules/mongodb/lib/operations/add_user.mjs.map +0 -1
  1617. package/build/node_modules/mongodb/lib/operations/aggregate.js +0 -111
  1618. package/build/node_modules/mongodb/lib/operations/aggregate.js.map +0 -1
  1619. package/build/node_modules/mongodb/lib/operations/aggregate.mjs +0 -109
  1620. package/build/node_modules/mongodb/lib/operations/aggregate.mjs.map +0 -1
  1621. package/build/node_modules/mongodb/lib/operations/bulk_write.js +0 -103
  1622. package/build/node_modules/mongodb/lib/operations/bulk_write.js.map +0 -1
  1623. package/build/node_modules/mongodb/lib/operations/bulk_write.mjs +0 -101
  1624. package/build/node_modules/mongodb/lib/operations/bulk_write.mjs.map +0 -1
  1625. package/build/node_modules/mongodb/lib/operations/collection_ops.js +0 -361
  1626. package/build/node_modules/mongodb/lib/operations/collection_ops.js.map +0 -1
  1627. package/build/node_modules/mongodb/lib/operations/collection_ops.mjs +0 -359
  1628. package/build/node_modules/mongodb/lib/operations/collection_ops.mjs.map +0 -1
  1629. package/build/node_modules/mongodb/lib/operations/collections.js +0 -62
  1630. package/build/node_modules/mongodb/lib/operations/collections.js.map +0 -1
  1631. package/build/node_modules/mongodb/lib/operations/collections.mjs +0 -60
  1632. package/build/node_modules/mongodb/lib/operations/collections.mjs.map +0 -1
  1633. package/build/node_modules/mongodb/lib/operations/command.js +0 -126
  1634. package/build/node_modules/mongodb/lib/operations/command.js.map +0 -1
  1635. package/build/node_modules/mongodb/lib/operations/command.mjs +0 -124
  1636. package/build/node_modules/mongodb/lib/operations/command.mjs.map +0 -1
  1637. package/build/node_modules/mongodb/lib/operations/command_v2.js +0 -131
  1638. package/build/node_modules/mongodb/lib/operations/command_v2.js.map +0 -1
  1639. package/build/node_modules/mongodb/lib/operations/command_v2.mjs +0 -129
  1640. package/build/node_modules/mongodb/lib/operations/command_v2.mjs.map +0 -1
  1641. package/build/node_modules/mongodb/lib/operations/common_functions.js +0 -408
  1642. package/build/node_modules/mongodb/lib/operations/common_functions.js.map +0 -1
  1643. package/build/node_modules/mongodb/lib/operations/common_functions.mjs +0 -406
  1644. package/build/node_modules/mongodb/lib/operations/common_functions.mjs.map +0 -1
  1645. package/build/node_modules/mongodb/lib/operations/connect.js +0 -805
  1646. package/build/node_modules/mongodb/lib/operations/connect.js.map +0 -1
  1647. package/build/node_modules/mongodb/lib/operations/connect.mjs +0 -798
  1648. package/build/node_modules/mongodb/lib/operations/connect.mjs.map +0 -1
  1649. package/build/node_modules/mongodb/lib/operations/count.js +0 -74
  1650. package/build/node_modules/mongodb/lib/operations/count.js.map +0 -1
  1651. package/build/node_modules/mongodb/lib/operations/count.mjs +0 -72
  1652. package/build/node_modules/mongodb/lib/operations/count.mjs.map +0 -1
  1653. package/build/node_modules/mongodb/lib/operations/count_documents.js +0 -44
  1654. package/build/node_modules/mongodb/lib/operations/count_documents.js.map +0 -1
  1655. package/build/node_modules/mongodb/lib/operations/count_documents.mjs +0 -42
  1656. package/build/node_modules/mongodb/lib/operations/count_documents.mjs.map +0 -1
  1657. package/build/node_modules/mongodb/lib/operations/create_collection.js +0 -111
  1658. package/build/node_modules/mongodb/lib/operations/create_collection.js.map +0 -1
  1659. package/build/node_modules/mongodb/lib/operations/create_collection.mjs +0 -109
  1660. package/build/node_modules/mongodb/lib/operations/create_collection.mjs.map +0 -1
  1661. package/build/node_modules/mongodb/lib/operations/create_indexes.js +0 -146
  1662. package/build/node_modules/mongodb/lib/operations/create_indexes.js.map +0 -1
  1663. package/build/node_modules/mongodb/lib/operations/create_indexes.mjs +0 -144
  1664. package/build/node_modules/mongodb/lib/operations/create_indexes.mjs.map +0 -1
  1665. package/build/node_modules/mongodb/lib/operations/cursor_ops.js +0 -175
  1666. package/build/node_modules/mongodb/lib/operations/cursor_ops.js.map +0 -1
  1667. package/build/node_modules/mongodb/lib/operations/cursor_ops.mjs +0 -173
  1668. package/build/node_modules/mongodb/lib/operations/cursor_ops.mjs.map +0 -1
  1669. package/build/node_modules/mongodb/lib/operations/db_ops.js +0 -474
  1670. package/build/node_modules/mongodb/lib/operations/db_ops.js.map +0 -1
  1671. package/build/node_modules/mongodb/lib/operations/db_ops.mjs +0 -472
  1672. package/build/node_modules/mongodb/lib/operations/db_ops.mjs.map +0 -1
  1673. package/build/node_modules/mongodb/lib/operations/delete_many.js +0 -44
  1674. package/build/node_modules/mongodb/lib/operations/delete_many.js.map +0 -1
  1675. package/build/node_modules/mongodb/lib/operations/delete_many.mjs +0 -42
  1676. package/build/node_modules/mongodb/lib/operations/delete_many.mjs.map +0 -1
  1677. package/build/node_modules/mongodb/lib/operations/delete_one.js +0 -44
  1678. package/build/node_modules/mongodb/lib/operations/delete_one.js.map +0 -1
  1679. package/build/node_modules/mongodb/lib/operations/delete_one.mjs +0 -42
  1680. package/build/node_modules/mongodb/lib/operations/delete_one.mjs.map +0 -1
  1681. package/build/node_modules/mongodb/lib/operations/distinct.js +0 -102
  1682. package/build/node_modules/mongodb/lib/operations/distinct.js.map +0 -1
  1683. package/build/node_modules/mongodb/lib/operations/distinct.mjs +0 -100
  1684. package/build/node_modules/mongodb/lib/operations/distinct.mjs.map +0 -1
  1685. package/build/node_modules/mongodb/lib/operations/drop.js +0 -60
  1686. package/build/node_modules/mongodb/lib/operations/drop.js.map +0 -1
  1687. package/build/node_modules/mongodb/lib/operations/drop.mjs +0 -58
  1688. package/build/node_modules/mongodb/lib/operations/drop.mjs.map +0 -1
  1689. package/build/node_modules/mongodb/lib/operations/drop_index.js +0 -49
  1690. package/build/node_modules/mongodb/lib/operations/drop_index.js.map +0 -1
  1691. package/build/node_modules/mongodb/lib/operations/drop_index.mjs +0 -47
  1692. package/build/node_modules/mongodb/lib/operations/drop_index.mjs.map +0 -1
  1693. package/build/node_modules/mongodb/lib/operations/drop_indexes.js +0 -30
  1694. package/build/node_modules/mongodb/lib/operations/drop_indexes.js.map +0 -1
  1695. package/build/node_modules/mongodb/lib/operations/drop_indexes.mjs +0 -28
  1696. package/build/node_modules/mongodb/lib/operations/drop_indexes.mjs.map +0 -1
  1697. package/build/node_modules/mongodb/lib/operations/estimated_document_count.js +0 -64
  1698. package/build/node_modules/mongodb/lib/operations/estimated_document_count.js.map +0 -1
  1699. package/build/node_modules/mongodb/lib/operations/estimated_document_count.mjs +0 -62
  1700. package/build/node_modules/mongodb/lib/operations/estimated_document_count.mjs.map +0 -1
  1701. package/build/node_modules/mongodb/lib/operations/execute_db_admin_command.js +0 -41
  1702. package/build/node_modules/mongodb/lib/operations/execute_db_admin_command.js.map +0 -1
  1703. package/build/node_modules/mongodb/lib/operations/execute_db_admin_command.mjs +0 -39
  1704. package/build/node_modules/mongodb/lib/operations/execute_db_admin_command.mjs.map +0 -1
  1705. package/build/node_modules/mongodb/lib/operations/execute_operation.js +0 -173
  1706. package/build/node_modules/mongodb/lib/operations/execute_operation.js.map +0 -1
  1707. package/build/node_modules/mongodb/lib/operations/execute_operation.mjs +0 -171
  1708. package/build/node_modules/mongodb/lib/operations/execute_operation.mjs.map +0 -1
  1709. package/build/node_modules/mongodb/lib/operations/find.js +0 -57
  1710. package/build/node_modules/mongodb/lib/operations/find.js.map +0 -1
  1711. package/build/node_modules/mongodb/lib/operations/find.mjs +0 -55
  1712. package/build/node_modules/mongodb/lib/operations/find.mjs.map +0 -1
  1713. package/build/node_modules/mongodb/lib/operations/find_and_modify.js +0 -138
  1714. package/build/node_modules/mongodb/lib/operations/find_and_modify.js.map +0 -1
  1715. package/build/node_modules/mongodb/lib/operations/find_and_modify.mjs +0 -136
  1716. package/build/node_modules/mongodb/lib/operations/find_and_modify.mjs.map +0 -1
  1717. package/build/node_modules/mongodb/lib/operations/find_one.js +0 -47
  1718. package/build/node_modules/mongodb/lib/operations/find_one.js.map +0 -1
  1719. package/build/node_modules/mongodb/lib/operations/find_one.mjs +0 -45
  1720. package/build/node_modules/mongodb/lib/operations/find_one.mjs.map +0 -1
  1721. package/build/node_modules/mongodb/lib/operations/find_one_and_delete.js +0 -24
  1722. package/build/node_modules/mongodb/lib/operations/find_one_and_delete.js.map +0 -1
  1723. package/build/node_modules/mongodb/lib/operations/find_one_and_delete.mjs +0 -22
  1724. package/build/node_modules/mongodb/lib/operations/find_one_and_delete.mjs.map +0 -1
  1725. package/build/node_modules/mongodb/lib/operations/find_one_and_replace.js +0 -44
  1726. package/build/node_modules/mongodb/lib/operations/find_one_and_replace.js.map +0 -1
  1727. package/build/node_modules/mongodb/lib/operations/find_one_and_replace.mjs +0 -42
  1728. package/build/node_modules/mongodb/lib/operations/find_one_and_replace.mjs.map +0 -1
  1729. package/build/node_modules/mongodb/lib/operations/find_one_and_update.js +0 -44
  1730. package/build/node_modules/mongodb/lib/operations/find_one_and_update.js.map +0 -1
  1731. package/build/node_modules/mongodb/lib/operations/find_one_and_update.mjs +0 -42
  1732. package/build/node_modules/mongodb/lib/operations/find_one_and_update.mjs.map +0 -1
  1733. package/build/node_modules/mongodb/lib/operations/geo_haystack_search.js +0 -87
  1734. package/build/node_modules/mongodb/lib/operations/geo_haystack_search.js.map +0 -1
  1735. package/build/node_modules/mongodb/lib/operations/geo_haystack_search.mjs +0 -85
  1736. package/build/node_modules/mongodb/lib/operations/geo_haystack_search.mjs.map +0 -1
  1737. package/build/node_modules/mongodb/lib/operations/index_exists.js +0 -46
  1738. package/build/node_modules/mongodb/lib/operations/index_exists.js.map +0 -1
  1739. package/build/node_modules/mongodb/lib/operations/index_exists.mjs +0 -44
  1740. package/build/node_modules/mongodb/lib/operations/index_exists.mjs.map +0 -1
  1741. package/build/node_modules/mongodb/lib/operations/index_information.js +0 -29
  1742. package/build/node_modules/mongodb/lib/operations/index_information.js.map +0 -1
  1743. package/build/node_modules/mongodb/lib/operations/index_information.mjs +0 -27
  1744. package/build/node_modules/mongodb/lib/operations/index_information.mjs.map +0 -1
  1745. package/build/node_modules/mongodb/lib/operations/indexes.js +0 -28
  1746. package/build/node_modules/mongodb/lib/operations/indexes.js.map +0 -1
  1747. package/build/node_modules/mongodb/lib/operations/indexes.mjs +0 -26
  1748. package/build/node_modules/mongodb/lib/operations/indexes.mjs.map +0 -1
  1749. package/build/node_modules/mongodb/lib/operations/insert_many.js +0 -67
  1750. package/build/node_modules/mongodb/lib/operations/insert_many.js.map +0 -1
  1751. package/build/node_modules/mongodb/lib/operations/insert_many.mjs +0 -65
  1752. package/build/node_modules/mongodb/lib/operations/insert_many.mjs.map +0 -1
  1753. package/build/node_modules/mongodb/lib/operations/insert_one.js +0 -46
  1754. package/build/node_modules/mongodb/lib/operations/insert_one.js.map +0 -1
  1755. package/build/node_modules/mongodb/lib/operations/insert_one.mjs +0 -44
  1756. package/build/node_modules/mongodb/lib/operations/insert_one.mjs.map +0 -1
  1757. package/build/node_modules/mongodb/lib/operations/is_capped.js +0 -24
  1758. package/build/node_modules/mongodb/lib/operations/is_capped.js.map +0 -1
  1759. package/build/node_modules/mongodb/lib/operations/is_capped.mjs +0 -22
  1760. package/build/node_modules/mongodb/lib/operations/is_capped.mjs.map +0 -1
  1761. package/build/node_modules/mongodb/lib/operations/list_collections.js +0 -113
  1762. package/build/node_modules/mongodb/lib/operations/list_collections.js.map +0 -1
  1763. package/build/node_modules/mongodb/lib/operations/list_collections.mjs +0 -111
  1764. package/build/node_modules/mongodb/lib/operations/list_collections.mjs.map +0 -1
  1765. package/build/node_modules/mongodb/lib/operations/list_databases.js +0 -44
  1766. package/build/node_modules/mongodb/lib/operations/list_databases.js.map +0 -1
  1767. package/build/node_modules/mongodb/lib/operations/list_databases.mjs +0 -42
  1768. package/build/node_modules/mongodb/lib/operations/list_databases.mjs.map +0 -1
  1769. package/build/node_modules/mongodb/lib/operations/list_indexes.js +0 -48
  1770. package/build/node_modules/mongodb/lib/operations/list_indexes.js.map +0 -1
  1771. package/build/node_modules/mongodb/lib/operations/list_indexes.mjs +0 -46
  1772. package/build/node_modules/mongodb/lib/operations/list_indexes.mjs.map +0 -1
  1773. package/build/node_modules/mongodb/lib/operations/map_reduce.js +0 -220
  1774. package/build/node_modules/mongodb/lib/operations/map_reduce.js.map +0 -1
  1775. package/build/node_modules/mongodb/lib/operations/map_reduce.mjs +0 -218
  1776. package/build/node_modules/mongodb/lib/operations/map_reduce.mjs.map +0 -1
  1777. package/build/node_modules/mongodb/lib/operations/operation.js +0 -82
  1778. package/build/node_modules/mongodb/lib/operations/operation.js.map +0 -1
  1779. package/build/node_modules/mongodb/lib/operations/operation.mjs +0 -80
  1780. package/build/node_modules/mongodb/lib/operations/operation.mjs.map +0 -1
  1781. package/build/node_modules/mongodb/lib/operations/options_operation.js +0 -39
  1782. package/build/node_modules/mongodb/lib/operations/options_operation.js.map +0 -1
  1783. package/build/node_modules/mongodb/lib/operations/options_operation.mjs +0 -37
  1784. package/build/node_modules/mongodb/lib/operations/options_operation.mjs.map +0 -1
  1785. package/build/node_modules/mongodb/lib/operations/profiling_level.js +0 -34
  1786. package/build/node_modules/mongodb/lib/operations/profiling_level.js.map +0 -1
  1787. package/build/node_modules/mongodb/lib/operations/profiling_level.mjs +0 -32
  1788. package/build/node_modules/mongodb/lib/operations/profiling_level.mjs.map +0 -1
  1789. package/build/node_modules/mongodb/lib/operations/re_index.js +0 -41
  1790. package/build/node_modules/mongodb/lib/operations/re_index.js.map +0 -1
  1791. package/build/node_modules/mongodb/lib/operations/re_index.mjs +0 -39
  1792. package/build/node_modules/mongodb/lib/operations/re_index.mjs.map +0 -1
  1793. package/build/node_modules/mongodb/lib/operations/remove_user.js +0 -60
  1794. package/build/node_modules/mongodb/lib/operations/remove_user.js.map +0 -1
  1795. package/build/node_modules/mongodb/lib/operations/remove_user.mjs +0 -58
  1796. package/build/node_modules/mongodb/lib/operations/remove_user.mjs.map +0 -1
  1797. package/build/node_modules/mongodb/lib/operations/rename.js +0 -69
  1798. package/build/node_modules/mongodb/lib/operations/rename.js.map +0 -1
  1799. package/build/node_modules/mongodb/lib/operations/rename.mjs +0 -67
  1800. package/build/node_modules/mongodb/lib/operations/rename.mjs.map +0 -1
  1801. package/build/node_modules/mongodb/lib/operations/replace_one.js +0 -61
  1802. package/build/node_modules/mongodb/lib/operations/replace_one.js.map +0 -1
  1803. package/build/node_modules/mongodb/lib/operations/replace_one.mjs +0 -59
  1804. package/build/node_modules/mongodb/lib/operations/replace_one.mjs.map +0 -1
  1805. package/build/node_modules/mongodb/lib/operations/run_command.js +0 -24
  1806. package/build/node_modules/mongodb/lib/operations/run_command.js.map +0 -1
  1807. package/build/node_modules/mongodb/lib/operations/run_command.mjs +0 -22
  1808. package/build/node_modules/mongodb/lib/operations/run_command.mjs.map +0 -1
  1809. package/build/node_modules/mongodb/lib/operations/set_profiling_level.js +0 -52
  1810. package/build/node_modules/mongodb/lib/operations/set_profiling_level.js.map +0 -1
  1811. package/build/node_modules/mongodb/lib/operations/set_profiling_level.mjs +0 -50
  1812. package/build/node_modules/mongodb/lib/operations/set_profiling_level.mjs.map +0 -1
  1813. package/build/node_modules/mongodb/lib/operations/stats.js +0 -51
  1814. package/build/node_modules/mongodb/lib/operations/stats.js.map +0 -1
  1815. package/build/node_modules/mongodb/lib/operations/stats.mjs +0 -49
  1816. package/build/node_modules/mongodb/lib/operations/stats.mjs.map +0 -1
  1817. package/build/node_modules/mongodb/lib/operations/update_many.js +0 -62
  1818. package/build/node_modules/mongodb/lib/operations/update_many.js.map +0 -1
  1819. package/build/node_modules/mongodb/lib/operations/update_many.mjs +0 -60
  1820. package/build/node_modules/mongodb/lib/operations/update_many.mjs.map +0 -1
  1821. package/build/node_modules/mongodb/lib/operations/update_one.js +0 -62
  1822. package/build/node_modules/mongodb/lib/operations/update_one.js.map +0 -1
  1823. package/build/node_modules/mongodb/lib/operations/update_one.mjs +0 -60
  1824. package/build/node_modules/mongodb/lib/operations/update_one.mjs.map +0 -1
  1825. package/build/node_modules/mongodb/lib/operations/validate_collection.js +0 -42
  1826. package/build/node_modules/mongodb/lib/operations/validate_collection.js.map +0 -1
  1827. package/build/node_modules/mongodb/lib/operations/validate_collection.mjs +0 -40
  1828. package/build/node_modules/mongodb/lib/operations/validate_collection.mjs.map +0 -1
  1829. package/build/node_modules/mongodb/lib/read_concern.js +0 -64
  1830. package/build/node_modules/mongodb/lib/read_concern.js.map +0 -1
  1831. package/build/node_modules/mongodb/lib/read_concern.mjs +0 -62
  1832. package/build/node_modules/mongodb/lib/read_concern.mjs.map +0 -1
  1833. package/build/node_modules/mongodb/lib/topologies/mongos.js +0 -454
  1834. package/build/node_modules/mongodb/lib/topologies/mongos.js.map +0 -1
  1835. package/build/node_modules/mongodb/lib/topologies/mongos.mjs +0 -452
  1836. package/build/node_modules/mongodb/lib/topologies/mongos.mjs.map +0 -1
  1837. package/build/node_modules/mongodb/lib/topologies/native_topology.js +0 -86
  1838. package/build/node_modules/mongodb/lib/topologies/native_topology.js.map +0 -1
  1839. package/build/node_modules/mongodb/lib/topologies/native_topology.mjs +0 -84
  1840. package/build/node_modules/mongodb/lib/topologies/native_topology.mjs.map +0 -1
  1841. package/build/node_modules/mongodb/lib/topologies/replset.js +0 -496
  1842. package/build/node_modules/mongodb/lib/topologies/replset.js.map +0 -1
  1843. package/build/node_modules/mongodb/lib/topologies/replset.mjs +0 -494
  1844. package/build/node_modules/mongodb/lib/topologies/replset.mjs.map +0 -1
  1845. package/build/node_modules/mongodb/lib/topologies/server.js +0 -456
  1846. package/build/node_modules/mongodb/lib/topologies/server.js.map +0 -1
  1847. package/build/node_modules/mongodb/lib/topologies/server.mjs +0 -454
  1848. package/build/node_modules/mongodb/lib/topologies/server.mjs.map +0 -1
  1849. package/build/node_modules/mongodb/lib/topologies/topology_base.js +0 -439
  1850. package/build/node_modules/mongodb/lib/topologies/topology_base.js.map +0 -1
  1851. package/build/node_modules/mongodb/lib/topologies/topology_base.mjs +0 -428
  1852. package/build/node_modules/mongodb/lib/topologies/topology_base.mjs.map +0 -1
  1853. package/build/node_modules/mongodb/lib/url_parser.js +0 -646
  1854. package/build/node_modules/mongodb/lib/url_parser.js.map +0 -1
  1855. package/build/node_modules/mongodb/lib/url_parser.mjs +0 -637
  1856. package/build/node_modules/mongodb/lib/url_parser.mjs.map +0 -1
  1857. package/build/node_modules/mongodb/lib/utils.js +0 -919
  1858. package/build/node_modules/mongodb/lib/utils.js.map +0 -1
  1859. package/build/node_modules/mongodb/lib/utils.mjs +0 -917
  1860. package/build/node_modules/mongodb/lib/utils.mjs.map +0 -1
  1861. package/build/node_modules/mongodb/lib/write_concern.js +0 -99
  1862. package/build/node_modules/mongodb/lib/write_concern.js.map +0 -1
  1863. package/build/node_modules/mongodb/lib/write_concern.mjs +0 -97
  1864. package/build/node_modules/mongodb/lib/write_concern.mjs.map +0 -1
  1865. package/build/node_modules/mongodb/package.json.js +0 -146
  1866. package/build/node_modules/mongodb/package.json.js.map +0 -1
  1867. package/build/node_modules/mongodb/package.mjs +0 -127
  1868. package/build/node_modules/mongodb/package.mjs.map +0 -1
  1869. package/build/node_modules/mongoose/index.js +0 -8
  1870. package/build/node_modules/mongoose/index.js.map +0 -1
  1871. package/build/node_modules/mongoose/index.mjs +0 -6
  1872. package/build/node_modules/mongoose/index.mjs.map +0 -1
  1873. package/build/node_modules/mongoose/lib/aggregate.js +0 -1176
  1874. package/build/node_modules/mongoose/lib/aggregate.js.map +0 -1
  1875. package/build/node_modules/mongoose/lib/aggregate.mjs +0 -1170
  1876. package/build/node_modules/mongoose/lib/aggregate.mjs.map +0 -1
  1877. package/build/node_modules/mongoose/lib/browserDocument.js +0 -119
  1878. package/build/node_modules/mongoose/lib/browserDocument.js.map +0 -1
  1879. package/build/node_modules/mongoose/lib/browserDocument.mjs +0 -113
  1880. package/build/node_modules/mongoose/lib/browserDocument.mjs.map +0 -1
  1881. package/build/node_modules/mongoose/lib/cast/boolean.js +0 -41
  1882. package/build/node_modules/mongoose/lib/cast/boolean.js.map +0 -1
  1883. package/build/node_modules/mongoose/lib/cast/boolean.mjs +0 -39
  1884. package/build/node_modules/mongoose/lib/cast/boolean.mjs.map +0 -1
  1885. package/build/node_modules/mongoose/lib/cast/date.js +0 -48
  1886. package/build/node_modules/mongoose/lib/cast/date.js.map +0 -1
  1887. package/build/node_modules/mongoose/lib/cast/date.mjs +0 -42
  1888. package/build/node_modules/mongoose/lib/cast/date.mjs.map +0 -1
  1889. package/build/node_modules/mongoose/lib/cast/decimal128.js +0 -43
  1890. package/build/node_modules/mongoose/lib/cast/decimal128.js.map +0 -1
  1891. package/build/node_modules/mongoose/lib/cast/decimal128.mjs +0 -37
  1892. package/build/node_modules/mongoose/lib/cast/decimal128.mjs.map +0 -1
  1893. package/build/node_modules/mongoose/lib/cast/number.js +0 -50
  1894. package/build/node_modules/mongoose/lib/cast/number.js.map +0 -1
  1895. package/build/node_modules/mongoose/lib/cast/number.mjs +0 -44
  1896. package/build/node_modules/mongoose/lib/cast/number.mjs.map +0 -1
  1897. package/build/node_modules/mongoose/lib/cast/objectid.js +0 -39
  1898. package/build/node_modules/mongoose/lib/cast/objectid.js.map +0 -1
  1899. package/build/node_modules/mongoose/lib/cast/objectid.mjs +0 -33
  1900. package/build/node_modules/mongoose/lib/cast/objectid.mjs.map +0 -1
  1901. package/build/node_modules/mongoose/lib/cast/string.js +0 -40
  1902. package/build/node_modules/mongoose/lib/cast/string.js.map +0 -1
  1903. package/build/node_modules/mongoose/lib/cast/string.mjs +0 -38
  1904. package/build/node_modules/mongoose/lib/cast/string.mjs.map +0 -1
  1905. package/build/node_modules/mongoose/lib/cast.js +0 -382
  1906. package/build/node_modules/mongoose/lib/cast.js.map +0 -1
  1907. package/build/node_modules/mongoose/lib/cast.mjs +0 -376
  1908. package/build/node_modules/mongoose/lib/cast.mjs.map +0 -1
  1909. package/build/node_modules/mongoose/lib/collection.js +0 -333
  1910. package/build/node_modules/mongoose/lib/collection.js.map +0 -1
  1911. package/build/node_modules/mongoose/lib/collection.mjs +0 -327
  1912. package/build/node_modules/mongoose/lib/collection.mjs.map +0 -1
  1913. package/build/node_modules/mongoose/lib/connection.js +0 -1534
  1914. package/build/node_modules/mongoose/lib/connection.js.map +0 -1
  1915. package/build/node_modules/mongoose/lib/connection.mjs +0 -1528
  1916. package/build/node_modules/mongoose/lib/connection.mjs.map +0 -1
  1917. package/build/node_modules/mongoose/lib/connectionstate.js +0 -29
  1918. package/build/node_modules/mongoose/lib/connectionstate.js.map +0 -1
  1919. package/build/node_modules/mongoose/lib/connectionstate.mjs +0 -27
  1920. package/build/node_modules/mongoose/lib/connectionstate.mjs.map +0 -1
  1921. package/build/node_modules/mongoose/lib/cursor/AggregationCursor.js +0 -384
  1922. package/build/node_modules/mongoose/lib/cursor/AggregationCursor.js.map +0 -1
  1923. package/build/node_modules/mongoose/lib/cursor/AggregationCursor.mjs +0 -377
  1924. package/build/node_modules/mongoose/lib/cursor/AggregationCursor.mjs.map +0 -1
  1925. package/build/node_modules/mongoose/lib/cursor/ChangeStream.js +0 -70
  1926. package/build/node_modules/mongoose/lib/cursor/ChangeStream.js.map +0 -1
  1927. package/build/node_modules/mongoose/lib/cursor/ChangeStream.mjs +0 -64
  1928. package/build/node_modules/mongoose/lib/cursor/ChangeStream.mjs.map +0 -1
  1929. package/build/node_modules/mongoose/lib/cursor/QueryCursor.js +0 -522
  1930. package/build/node_modules/mongoose/lib/cursor/QueryCursor.js.map +0 -1
  1931. package/build/node_modules/mongoose/lib/cursor/QueryCursor.mjs +0 -515
  1932. package/build/node_modules/mongoose/lib/cursor/QueryCursor.mjs.map +0 -1
  1933. package/build/node_modules/mongoose/lib/document.js +0 -4305
  1934. package/build/node_modules/mongoose/lib/document.js.map +0 -1
  1935. package/build/node_modules/mongoose/lib/document.mjs +0 -4298
  1936. package/build/node_modules/mongoose/lib/document.mjs.map +0 -1
  1937. package/build/node_modules/mongoose/lib/document_provider.js +0 -40
  1938. package/build/node_modules/mongoose/lib/document_provider.js.map +0 -1
  1939. package/build/node_modules/mongoose/lib/document_provider.mjs +0 -36
  1940. package/build/node_modules/mongoose/lib/document_provider.mjs.map +0 -1
  1941. package/build/node_modules/mongoose/lib/driver.js +0 -27
  1942. package/build/node_modules/mongoose/lib/driver.js.map +0 -1
  1943. package/build/node_modules/mongoose/lib/driver.mjs +0 -22
  1944. package/build/node_modules/mongoose/lib/driver.mjs.map +0 -1
  1945. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/ReadPreference.js +0 -52
  1946. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/ReadPreference.js.map +0 -1
  1947. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/ReadPreference.mjs +0 -50
  1948. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/ReadPreference.mjs.map +0 -1
  1949. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/binary.js +0 -14
  1950. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/binary.js.map +0 -1
  1951. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/binary.mjs +0 -12
  1952. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/binary.mjs.map +0 -1
  1953. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js +0 -470
  1954. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js.map +0 -1
  1955. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.mjs +0 -463
  1956. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.mjs.map +0 -1
  1957. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js +0 -219
  1958. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js.map +0 -1
  1959. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.mjs +0 -217
  1960. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.mjs.map +0 -1
  1961. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/decimal128.js +0 -12
  1962. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/decimal128.js.map +0 -1
  1963. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/decimal128.mjs +0 -10
  1964. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/decimal128.mjs.map +0 -1
  1965. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/index.js +0 -39
  1966. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/index.js.map +0 -1
  1967. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/index.mjs +0 -30
  1968. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/index.mjs.map +0 -1
  1969. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/objectid.js +0 -18
  1970. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/objectid.js.map +0 -1
  1971. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/objectid.mjs +0 -16
  1972. package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/objectid.mjs.map +0 -1
  1973. package/build/node_modules/mongoose/lib/error/cast.js +0 -161
  1974. package/build/node_modules/mongoose/lib/error/cast.js.map +0 -1
  1975. package/build/node_modules/mongoose/lib/error/cast.mjs +0 -155
  1976. package/build/node_modules/mongoose/lib/error/cast.mjs.map +0 -1
  1977. package/build/node_modules/mongoose/lib/error/divergentArray.js +0 -35
  1978. package/build/node_modules/mongoose/lib/error/divergentArray.js.map +0 -1
  1979. package/build/node_modules/mongoose/lib/error/divergentArray.mjs +0 -33
  1980. package/build/node_modules/mongoose/lib/error/divergentArray.mjs.map +0 -1
  1981. package/build/node_modules/mongoose/lib/error/index.js +0 -225
  1982. package/build/node_modules/mongoose/lib/error/index.js.map +0 -1
  1983. package/build/node_modules/mongoose/lib/error/index.mjs +0 -223
  1984. package/build/node_modules/mongoose/lib/error/index.mjs.map +0 -1
  1985. package/build/node_modules/mongoose/lib/error/messages.js +0 -32
  1986. package/build/node_modules/mongoose/lib/error/messages.js.map +0 -1
  1987. package/build/node_modules/mongoose/lib/error/messages.mjs +0 -30
  1988. package/build/node_modules/mongoose/lib/error/messages.mjs.map +0 -1
  1989. package/build/node_modules/mongoose/lib/error/missingSchema.js +0 -28
  1990. package/build/node_modules/mongoose/lib/error/missingSchema.js.map +0 -1
  1991. package/build/node_modules/mongoose/lib/error/missingSchema.mjs +0 -26
  1992. package/build/node_modules/mongoose/lib/error/missingSchema.mjs.map +0 -1
  1993. package/build/node_modules/mongoose/lib/error/mongooseError.js +0 -16
  1994. package/build/node_modules/mongoose/lib/error/mongooseError.js.map +0 -1
  1995. package/build/node_modules/mongoose/lib/error/mongooseError.mjs +0 -14
  1996. package/build/node_modules/mongoose/lib/error/mongooseError.mjs.map +0 -1
  1997. package/build/node_modules/mongoose/lib/error/notFound.js +0 -54
  1998. package/build/node_modules/mongoose/lib/error/notFound.js.map +0 -1
  1999. package/build/node_modules/mongoose/lib/error/notFound.mjs +0 -48
  2000. package/build/node_modules/mongoose/lib/error/notFound.mjs.map +0 -1
  2001. package/build/node_modules/mongoose/lib/error/objectExpected.js +0 -35
  2002. package/build/node_modules/mongoose/lib/error/objectExpected.js.map +0 -1
  2003. package/build/node_modules/mongoose/lib/error/objectExpected.mjs +0 -33
  2004. package/build/node_modules/mongoose/lib/error/objectExpected.mjs.map +0 -1
  2005. package/build/node_modules/mongoose/lib/error/objectParameter.js +0 -35
  2006. package/build/node_modules/mongoose/lib/error/objectParameter.js.map +0 -1
  2007. package/build/node_modules/mongoose/lib/error/objectParameter.mjs +0 -33
  2008. package/build/node_modules/mongoose/lib/error/objectParameter.mjs.map +0 -1
  2009. package/build/node_modules/mongoose/lib/error/overwriteModel.js +0 -26
  2010. package/build/node_modules/mongoose/lib/error/overwriteModel.js.map +0 -1
  2011. package/build/node_modules/mongoose/lib/error/overwriteModel.mjs +0 -24
  2012. package/build/node_modules/mongoose/lib/error/overwriteModel.mjs.map +0 -1
  2013. package/build/node_modules/mongoose/lib/error/parallelSave.js +0 -35
  2014. package/build/node_modules/mongoose/lib/error/parallelSave.js.map +0 -1
  2015. package/build/node_modules/mongoose/lib/error/parallelSave.mjs +0 -33
  2016. package/build/node_modules/mongoose/lib/error/parallelSave.mjs.map +0 -1
  2017. package/build/node_modules/mongoose/lib/error/parallelValidate.js +0 -36
  2018. package/build/node_modules/mongoose/lib/error/parallelValidate.js.map +0 -1
  2019. package/build/node_modules/mongoose/lib/error/parallelValidate.mjs +0 -34
  2020. package/build/node_modules/mongoose/lib/error/parallelValidate.mjs.map +0 -1
  2021. package/build/node_modules/mongoose/lib/error/serverSelection.js +0 -69
  2022. package/build/node_modules/mongoose/lib/error/serverSelection.js.map +0 -1
  2023. package/build/node_modules/mongoose/lib/error/serverSelection.mjs +0 -67
  2024. package/build/node_modules/mongoose/lib/error/serverSelection.mjs.map +0 -1
  2025. package/build/node_modules/mongoose/lib/error/strict.js +0 -38
  2026. package/build/node_modules/mongoose/lib/error/strict.js.map +0 -1
  2027. package/build/node_modules/mongoose/lib/error/strict.mjs +0 -36
  2028. package/build/node_modules/mongoose/lib/error/strict.mjs.map +0 -1
  2029. package/build/node_modules/mongoose/lib/error/validation.js +0 -121
  2030. package/build/node_modules/mongoose/lib/error/validation.js.map +0 -1
  2031. package/build/node_modules/mongoose/lib/error/validation.mjs +0 -115
  2032. package/build/node_modules/mongoose/lib/error/validation.mjs.map +0 -1
  2033. package/build/node_modules/mongoose/lib/error/validator.js +0 -99
  2034. package/build/node_modules/mongoose/lib/error/validator.js.map +0 -1
  2035. package/build/node_modules/mongoose/lib/error/validator.mjs +0 -97
  2036. package/build/node_modules/mongoose/lib/error/validator.mjs.map +0 -1
  2037. package/build/node_modules/mongoose/lib/error/version.js +0 -41
  2038. package/build/node_modules/mongoose/lib/error/version.js.map +0 -1
  2039. package/build/node_modules/mongoose/lib/error/version.mjs +0 -39
  2040. package/build/node_modules/mongoose/lib/error/version.mjs.map +0 -1
  2041. package/build/node_modules/mongoose/lib/helpers/aggregate/stringifyFunctionOperators.js +0 -53
  2042. package/build/node_modules/mongoose/lib/helpers/aggregate/stringifyFunctionOperators.js.map +0 -1
  2043. package/build/node_modules/mongoose/lib/helpers/aggregate/stringifyFunctionOperators.mjs +0 -51
  2044. package/build/node_modules/mongoose/lib/helpers/aggregate/stringifyFunctionOperators.mjs.map +0 -1
  2045. package/build/node_modules/mongoose/lib/helpers/arrayDepth.js +0 -36
  2046. package/build/node_modules/mongoose/lib/helpers/arrayDepth.js.map +0 -1
  2047. package/build/node_modules/mongoose/lib/helpers/arrayDepth.mjs +0 -34
  2048. package/build/node_modules/mongoose/lib/helpers/arrayDepth.mjs.map +0 -1
  2049. package/build/node_modules/mongoose/lib/helpers/clone.js +0 -141
  2050. package/build/node_modules/mongoose/lib/helpers/clone.js.map +0 -1
  2051. package/build/node_modules/mongoose/lib/helpers/clone.mjs +0 -139
  2052. package/build/node_modules/mongoose/lib/helpers/clone.mjs.map +0 -1
  2053. package/build/node_modules/mongoose/lib/helpers/common.js +0 -123
  2054. package/build/node_modules/mongoose/lib/helpers/common.js.map +0 -1
  2055. package/build/node_modules/mongoose/lib/helpers/common.mjs +0 -118
  2056. package/build/node_modules/mongoose/lib/helpers/common.mjs.map +0 -1
  2057. package/build/node_modules/mongoose/lib/helpers/cursor/eachAsync.js +0 -163
  2058. package/build/node_modules/mongoose/lib/helpers/cursor/eachAsync.js.map +0 -1
  2059. package/build/node_modules/mongoose/lib/helpers/cursor/eachAsync.mjs +0 -161
  2060. package/build/node_modules/mongoose/lib/helpers/cursor/eachAsync.mjs.map +0 -1
  2061. package/build/node_modules/mongoose/lib/helpers/discriminator/areDiscriminatorValuesEqual.js +0 -19
  2062. package/build/node_modules/mongoose/lib/helpers/discriminator/areDiscriminatorValuesEqual.js.map +0 -1
  2063. package/build/node_modules/mongoose/lib/helpers/discriminator/areDiscriminatorValuesEqual.mjs +0 -17
  2064. package/build/node_modules/mongoose/lib/helpers/discriminator/areDiscriminatorValuesEqual.mjs.map +0 -1
  2065. package/build/node_modules/mongoose/lib/helpers/discriminator/checkEmbeddedDiscriminatorKeyProjection.js +0 -15
  2066. package/build/node_modules/mongoose/lib/helpers/discriminator/checkEmbeddedDiscriminatorKeyProjection.js.map +0 -1
  2067. package/build/node_modules/mongoose/lib/helpers/discriminator/checkEmbeddedDiscriminatorKeyProjection.mjs +0 -13
  2068. package/build/node_modules/mongoose/lib/helpers/discriminator/checkEmbeddedDiscriminatorKeyProjection.mjs.map +0 -1
  2069. package/build/node_modules/mongoose/lib/helpers/discriminator/getConstructor.js +0 -28
  2070. package/build/node_modules/mongoose/lib/helpers/discriminator/getConstructor.js.map +0 -1
  2071. package/build/node_modules/mongoose/lib/helpers/discriminator/getConstructor.mjs +0 -26
  2072. package/build/node_modules/mongoose/lib/helpers/discriminator/getConstructor.mjs.map +0 -1
  2073. package/build/node_modules/mongoose/lib/helpers/discriminator/getDiscriminatorByValue.js +0 -30
  2074. package/build/node_modules/mongoose/lib/helpers/discriminator/getDiscriminatorByValue.js.map +0 -1
  2075. package/build/node_modules/mongoose/lib/helpers/discriminator/getDiscriminatorByValue.mjs +0 -28
  2076. package/build/node_modules/mongoose/lib/helpers/discriminator/getDiscriminatorByValue.mjs.map +0 -1
  2077. package/build/node_modules/mongoose/lib/helpers/discriminator/getSchemaDiscriminatorByValue.js +0 -29
  2078. package/build/node_modules/mongoose/lib/helpers/discriminator/getSchemaDiscriminatorByValue.js.map +0 -1
  2079. package/build/node_modules/mongoose/lib/helpers/discriminator/getSchemaDiscriminatorByValue.mjs +0 -27
  2080. package/build/node_modules/mongoose/lib/helpers/discriminator/getSchemaDiscriminatorByValue.mjs.map +0 -1
  2081. package/build/node_modules/mongoose/lib/helpers/document/cleanModifiedSubpaths.js +0 -31
  2082. package/build/node_modules/mongoose/lib/helpers/document/cleanModifiedSubpaths.js.map +0 -1
  2083. package/build/node_modules/mongoose/lib/helpers/document/cleanModifiedSubpaths.mjs +0 -29
  2084. package/build/node_modules/mongoose/lib/helpers/document/cleanModifiedSubpaths.mjs.map +0 -1
  2085. package/build/node_modules/mongoose/lib/helpers/document/compile.js +0 -229
  2086. package/build/node_modules/mongoose/lib/helpers/document/compile.js.map +0 -1
  2087. package/build/node_modules/mongoose/lib/helpers/document/compile.mjs +0 -224
  2088. package/build/node_modules/mongoose/lib/helpers/document/compile.mjs.map +0 -1
  2089. package/build/node_modules/mongoose/lib/helpers/document/getEmbeddedDiscriminatorPath.js +0 -46
  2090. package/build/node_modules/mongoose/lib/helpers/document/getEmbeddedDiscriminatorPath.js.map +0 -1
  2091. package/build/node_modules/mongoose/lib/helpers/document/getEmbeddedDiscriminatorPath.mjs +0 -44
  2092. package/build/node_modules/mongoose/lib/helpers/document/getEmbeddedDiscriminatorPath.mjs.map +0 -1
  2093. package/build/node_modules/mongoose/lib/helpers/document/handleSpreadDoc.js +0 -20
  2094. package/build/node_modules/mongoose/lib/helpers/document/handleSpreadDoc.js.map +0 -1
  2095. package/build/node_modules/mongoose/lib/helpers/document/handleSpreadDoc.mjs +0 -18
  2096. package/build/node_modules/mongoose/lib/helpers/document/handleSpreadDoc.mjs.map +0 -1
  2097. package/build/node_modules/mongoose/lib/helpers/each.js +0 -28
  2098. package/build/node_modules/mongoose/lib/helpers/each.js.map +0 -1
  2099. package/build/node_modules/mongoose/lib/helpers/each.mjs +0 -26
  2100. package/build/node_modules/mongoose/lib/helpers/each.mjs.map +0 -1
  2101. package/build/node_modules/mongoose/lib/helpers/get.js +0 -67
  2102. package/build/node_modules/mongoose/lib/helpers/get.js.map +0 -1
  2103. package/build/node_modules/mongoose/lib/helpers/get.mjs +0 -65
  2104. package/build/node_modules/mongoose/lib/helpers/get.mjs.map +0 -1
  2105. package/build/node_modules/mongoose/lib/helpers/getDefaultBulkwriteResult.js +0 -31
  2106. package/build/node_modules/mongoose/lib/helpers/getDefaultBulkwriteResult.js.map +0 -1
  2107. package/build/node_modules/mongoose/lib/helpers/getDefaultBulkwriteResult.mjs +0 -29
  2108. package/build/node_modules/mongoose/lib/helpers/getDefaultBulkwriteResult.mjs.map +0 -1
  2109. package/build/node_modules/mongoose/lib/helpers/getFunctionName.js +0 -11
  2110. package/build/node_modules/mongoose/lib/helpers/getFunctionName.js.map +0 -1
  2111. package/build/node_modules/mongoose/lib/helpers/getFunctionName.mjs +0 -9
  2112. package/build/node_modules/mongoose/lib/helpers/getFunctionName.mjs.map +0 -1
  2113. package/build/node_modules/mongoose/lib/helpers/immediate.js +0 -17
  2114. package/build/node_modules/mongoose/lib/helpers/immediate.js.map +0 -1
  2115. package/build/node_modules/mongoose/lib/helpers/immediate.mjs +0 -15
  2116. package/build/node_modules/mongoose/lib/helpers/immediate.mjs.map +0 -1
  2117. package/build/node_modules/mongoose/lib/helpers/indexes/isDefaultIdIndex.js +0 -21
  2118. package/build/node_modules/mongoose/lib/helpers/indexes/isDefaultIdIndex.js.map +0 -1
  2119. package/build/node_modules/mongoose/lib/helpers/indexes/isDefaultIdIndex.mjs +0 -19
  2120. package/build/node_modules/mongoose/lib/helpers/indexes/isDefaultIdIndex.mjs.map +0 -1
  2121. package/build/node_modules/mongoose/lib/helpers/indexes/isIndexEqual.js +0 -98
  2122. package/build/node_modules/mongoose/lib/helpers/indexes/isIndexEqual.js.map +0 -1
  2123. package/build/node_modules/mongoose/lib/helpers/indexes/isIndexEqual.mjs +0 -96
  2124. package/build/node_modules/mongoose/lib/helpers/indexes/isIndexEqual.mjs.map +0 -1
  2125. package/build/node_modules/mongoose/lib/helpers/isBsonType.js +0 -16
  2126. package/build/node_modules/mongoose/lib/helpers/isBsonType.js.map +0 -1
  2127. package/build/node_modules/mongoose/lib/helpers/isBsonType.mjs +0 -14
  2128. package/build/node_modules/mongoose/lib/helpers/isBsonType.mjs.map +0 -1
  2129. package/build/node_modules/mongoose/lib/helpers/isMongooseObject.js +0 -24
  2130. package/build/node_modules/mongoose/lib/helpers/isMongooseObject.js.map +0 -1
  2131. package/build/node_modules/mongoose/lib/helpers/isMongooseObject.mjs +0 -22
  2132. package/build/node_modules/mongoose/lib/helpers/isMongooseObject.mjs.map +0 -1
  2133. package/build/node_modules/mongoose/lib/helpers/isObject.js +0 -19
  2134. package/build/node_modules/mongoose/lib/helpers/isObject.js.map +0 -1
  2135. package/build/node_modules/mongoose/lib/helpers/isObject.mjs +0 -17
  2136. package/build/node_modules/mongoose/lib/helpers/isObject.mjs.map +0 -1
  2137. package/build/node_modules/mongoose/lib/helpers/isPromise.js +0 -10
  2138. package/build/node_modules/mongoose/lib/helpers/isPromise.js.map +0 -1
  2139. package/build/node_modules/mongoose/lib/helpers/isPromise.mjs +0 -8
  2140. package/build/node_modules/mongoose/lib/helpers/isPromise.mjs.map +0 -1
  2141. package/build/node_modules/mongoose/lib/helpers/model/applyHooks.js +0 -141
  2142. package/build/node_modules/mongoose/lib/helpers/model/applyHooks.js.map +0 -1
  2143. package/build/node_modules/mongoose/lib/helpers/model/applyHooks.mjs +0 -139
  2144. package/build/node_modules/mongoose/lib/helpers/model/applyHooks.mjs.map +0 -1
  2145. package/build/node_modules/mongoose/lib/helpers/model/applyMethods.js +0 -59
  2146. package/build/node_modules/mongoose/lib/helpers/model/applyMethods.js.map +0 -1
  2147. package/build/node_modules/mongoose/lib/helpers/model/applyMethods.mjs +0 -57
  2148. package/build/node_modules/mongoose/lib/helpers/model/applyMethods.mjs.map +0 -1
  2149. package/build/node_modules/mongoose/lib/helpers/model/applyStaticHooks.js +0 -77
  2150. package/build/node_modules/mongoose/lib/helpers/model/applyStaticHooks.js.map +0 -1
  2151. package/build/node_modules/mongoose/lib/helpers/model/applyStaticHooks.mjs +0 -75
  2152. package/build/node_modules/mongoose/lib/helpers/model/applyStaticHooks.mjs.map +0 -1
  2153. package/build/node_modules/mongoose/lib/helpers/model/applyStatics.js +0 -15
  2154. package/build/node_modules/mongoose/lib/helpers/model/applyStatics.js.map +0 -1
  2155. package/build/node_modules/mongoose/lib/helpers/model/applyStatics.mjs +0 -13
  2156. package/build/node_modules/mongoose/lib/helpers/model/applyStatics.mjs.map +0 -1
  2157. package/build/node_modules/mongoose/lib/helpers/model/castBulkWrite.js +0 -227
  2158. package/build/node_modules/mongoose/lib/helpers/model/castBulkWrite.js.map +0 -1
  2159. package/build/node_modules/mongoose/lib/helpers/model/castBulkWrite.mjs +0 -225
  2160. package/build/node_modules/mongoose/lib/helpers/model/castBulkWrite.mjs.map +0 -1
  2161. package/build/node_modules/mongoose/lib/helpers/model/discriminator.js +0 -212
  2162. package/build/node_modules/mongoose/lib/helpers/model/discriminator.js.map +0 -1
  2163. package/build/node_modules/mongoose/lib/helpers/model/discriminator.mjs +0 -210
  2164. package/build/node_modules/mongoose/lib/helpers/model/discriminator.mjs.map +0 -1
  2165. package/build/node_modules/mongoose/lib/helpers/parallelLimit.js +0 -58
  2166. package/build/node_modules/mongoose/lib/helpers/parallelLimit.js.map +0 -1
  2167. package/build/node_modules/mongoose/lib/helpers/parallelLimit.mjs +0 -56
  2168. package/build/node_modules/mongoose/lib/helpers/parallelLimit.mjs.map +0 -1
  2169. package/build/node_modules/mongoose/lib/helpers/path/parentPaths.js +0 -16
  2170. package/build/node_modules/mongoose/lib/helpers/path/parentPaths.js.map +0 -1
  2171. package/build/node_modules/mongoose/lib/helpers/path/parentPaths.mjs +0 -14
  2172. package/build/node_modules/mongoose/lib/helpers/path/parentPaths.mjs.map +0 -1
  2173. package/build/node_modules/mongoose/lib/helpers/path/setDottedPath.js +0 -19
  2174. package/build/node_modules/mongoose/lib/helpers/path/setDottedPath.js.map +0 -1
  2175. package/build/node_modules/mongoose/lib/helpers/path/setDottedPath.mjs +0 -17
  2176. package/build/node_modules/mongoose/lib/helpers/path/setDottedPath.mjs.map +0 -1
  2177. package/build/node_modules/mongoose/lib/helpers/populate/SkipPopulateValue.js +0 -13
  2178. package/build/node_modules/mongoose/lib/helpers/populate/SkipPopulateValue.js.map +0 -1
  2179. package/build/node_modules/mongoose/lib/helpers/populate/SkipPopulateValue.mjs +0 -11
  2180. package/build/node_modules/mongoose/lib/helpers/populate/SkipPopulateValue.mjs.map +0 -1
  2181. package/build/node_modules/mongoose/lib/helpers/populate/assignRawDocsToIdStructure.js +0 -104
  2182. package/build/node_modules/mongoose/lib/helpers/populate/assignRawDocsToIdStructure.js.map +0 -1
  2183. package/build/node_modules/mongoose/lib/helpers/populate/assignRawDocsToIdStructure.mjs +0 -102
  2184. package/build/node_modules/mongoose/lib/helpers/populate/assignRawDocsToIdStructure.mjs.map +0 -1
  2185. package/build/node_modules/mongoose/lib/helpers/populate/assignVals.js +0 -291
  2186. package/build/node_modules/mongoose/lib/helpers/populate/assignVals.js.map +0 -1
  2187. package/build/node_modules/mongoose/lib/helpers/populate/assignVals.mjs +0 -289
  2188. package/build/node_modules/mongoose/lib/helpers/populate/assignVals.mjs.map +0 -1
  2189. package/build/node_modules/mongoose/lib/helpers/populate/createPopulateQueryFilter.js +0 -82
  2190. package/build/node_modules/mongoose/lib/helpers/populate/createPopulateQueryFilter.js.map +0 -1
  2191. package/build/node_modules/mongoose/lib/helpers/populate/createPopulateQueryFilter.mjs +0 -80
  2192. package/build/node_modules/mongoose/lib/helpers/populate/createPopulateQueryFilter.mjs.map +0 -1
  2193. package/build/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.js +0 -550
  2194. package/build/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.js.map +0 -1
  2195. package/build/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.mjs +0 -544
  2196. package/build/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.mjs.map +0 -1
  2197. package/build/node_modules/mongoose/lib/helpers/populate/getSchemaTypes.js +0 -218
  2198. package/build/node_modules/mongoose/lib/helpers/populate/getSchemaTypes.js.map +0 -1
  2199. package/build/node_modules/mongoose/lib/helpers/populate/getSchemaTypes.mjs +0 -216
  2200. package/build/node_modules/mongoose/lib/helpers/populate/getSchemaTypes.mjs.map +0 -1
  2201. package/build/node_modules/mongoose/lib/helpers/populate/getVirtual.js +0 -75
  2202. package/build/node_modules/mongoose/lib/helpers/populate/getVirtual.js.map +0 -1
  2203. package/build/node_modules/mongoose/lib/helpers/populate/getVirtual.mjs +0 -73
  2204. package/build/node_modules/mongoose/lib/helpers/populate/getVirtual.mjs.map +0 -1
  2205. package/build/node_modules/mongoose/lib/helpers/populate/leanPopulateMap.js +0 -10
  2206. package/build/node_modules/mongoose/lib/helpers/populate/leanPopulateMap.js.map +0 -1
  2207. package/build/node_modules/mongoose/lib/helpers/populate/leanPopulateMap.mjs +0 -8
  2208. package/build/node_modules/mongoose/lib/helpers/populate/leanPopulateMap.mjs.map +0 -1
  2209. package/build/node_modules/mongoose/lib/helpers/populate/lookupLocalFields.js +0 -31
  2210. package/build/node_modules/mongoose/lib/helpers/populate/lookupLocalFields.js.map +0 -1
  2211. package/build/node_modules/mongoose/lib/helpers/populate/lookupLocalFields.mjs +0 -29
  2212. package/build/node_modules/mongoose/lib/helpers/populate/lookupLocalFields.mjs.map +0 -1
  2213. package/build/node_modules/mongoose/lib/helpers/populate/normalizeRefPath.js +0 -48
  2214. package/build/node_modules/mongoose/lib/helpers/populate/normalizeRefPath.js.map +0 -1
  2215. package/build/node_modules/mongoose/lib/helpers/populate/normalizeRefPath.mjs +0 -46
  2216. package/build/node_modules/mongoose/lib/helpers/populate/normalizeRefPath.mjs.map +0 -1
  2217. package/build/node_modules/mongoose/lib/helpers/populate/removeDeselectedForeignField.js +0 -34
  2218. package/build/node_modules/mongoose/lib/helpers/populate/removeDeselectedForeignField.js.map +0 -1
  2219. package/build/node_modules/mongoose/lib/helpers/populate/removeDeselectedForeignField.mjs +0 -32
  2220. package/build/node_modules/mongoose/lib/helpers/populate/removeDeselectedForeignField.mjs.map +0 -1
  2221. package/build/node_modules/mongoose/lib/helpers/populate/validateRef.js +0 -26
  2222. package/build/node_modules/mongoose/lib/helpers/populate/validateRef.js.map +0 -1
  2223. package/build/node_modules/mongoose/lib/helpers/populate/validateRef.mjs +0 -20
  2224. package/build/node_modules/mongoose/lib/helpers/populate/validateRef.mjs.map +0 -1
  2225. package/build/node_modules/mongoose/lib/helpers/printJestWarning.js +0 -16
  2226. package/build/node_modules/mongoose/lib/helpers/printJestWarning.js.map +0 -1
  2227. package/build/node_modules/mongoose/lib/helpers/printJestWarning.mjs +0 -14
  2228. package/build/node_modules/mongoose/lib/helpers/printJestWarning.mjs.map +0 -1
  2229. package/build/node_modules/mongoose/lib/helpers/projection/isDefiningProjection.js +0 -21
  2230. package/build/node_modules/mongoose/lib/helpers/projection/isDefiningProjection.js.map +0 -1
  2231. package/build/node_modules/mongoose/lib/helpers/projection/isDefiningProjection.mjs +0 -19
  2232. package/build/node_modules/mongoose/lib/helpers/projection/isDefiningProjection.mjs.map +0 -1
  2233. package/build/node_modules/mongoose/lib/helpers/projection/isExclusive.js +0 -35
  2234. package/build/node_modules/mongoose/lib/helpers/projection/isExclusive.js.map +0 -1
  2235. package/build/node_modules/mongoose/lib/helpers/projection/isExclusive.mjs +0 -33
  2236. package/build/node_modules/mongoose/lib/helpers/projection/isExclusive.mjs.map +0 -1
  2237. package/build/node_modules/mongoose/lib/helpers/projection/isInclusive.js +0 -37
  2238. package/build/node_modules/mongoose/lib/helpers/projection/isInclusive.js.map +0 -1
  2239. package/build/node_modules/mongoose/lib/helpers/projection/isInclusive.mjs +0 -35
  2240. package/build/node_modules/mongoose/lib/helpers/projection/isInclusive.mjs.map +0 -1
  2241. package/build/node_modules/mongoose/lib/helpers/projection/isPathExcluded.js +0 -38
  2242. package/build/node_modules/mongoose/lib/helpers/projection/isPathExcluded.js.map +0 -1
  2243. package/build/node_modules/mongoose/lib/helpers/projection/isPathExcluded.mjs +0 -36
  2244. package/build/node_modules/mongoose/lib/helpers/projection/isPathExcluded.mjs.map +0 -1
  2245. package/build/node_modules/mongoose/lib/helpers/projection/isPathSelectedInclusive.js +0 -31
  2246. package/build/node_modules/mongoose/lib/helpers/projection/isPathSelectedInclusive.js.map +0 -1
  2247. package/build/node_modules/mongoose/lib/helpers/projection/isPathSelectedInclusive.mjs +0 -29
  2248. package/build/node_modules/mongoose/lib/helpers/projection/isPathSelectedInclusive.mjs.map +0 -1
  2249. package/build/node_modules/mongoose/lib/helpers/projection/parseProjection.js +0 -36
  2250. package/build/node_modules/mongoose/lib/helpers/projection/parseProjection.js.map +0 -1
  2251. package/build/node_modules/mongoose/lib/helpers/projection/parseProjection.mjs +0 -34
  2252. package/build/node_modules/mongoose/lib/helpers/projection/parseProjection.mjs.map +0 -1
  2253. package/build/node_modules/mongoose/lib/helpers/promiseOrCallback.js +0 -49
  2254. package/build/node_modules/mongoose/lib/helpers/promiseOrCallback.js.map +0 -1
  2255. package/build/node_modules/mongoose/lib/helpers/promiseOrCallback.mjs +0 -47
  2256. package/build/node_modules/mongoose/lib/helpers/promiseOrCallback.mjs.map +0 -1
  2257. package/build/node_modules/mongoose/lib/helpers/query/applyGlobalMaxTimeMS.js +0 -18
  2258. package/build/node_modules/mongoose/lib/helpers/query/applyGlobalMaxTimeMS.js.map +0 -1
  2259. package/build/node_modules/mongoose/lib/helpers/query/applyGlobalMaxTimeMS.mjs +0 -16
  2260. package/build/node_modules/mongoose/lib/helpers/query/applyGlobalMaxTimeMS.mjs.map +0 -1
  2261. package/build/node_modules/mongoose/lib/helpers/query/applyQueryMiddleware.js +0 -96
  2262. package/build/node_modules/mongoose/lib/helpers/query/applyQueryMiddleware.js.map +0 -1
  2263. package/build/node_modules/mongoose/lib/helpers/query/applyQueryMiddleware.mjs +0 -94
  2264. package/build/node_modules/mongoose/lib/helpers/query/applyQueryMiddleware.mjs.map +0 -1
  2265. package/build/node_modules/mongoose/lib/helpers/query/castFilterPath.js +0 -58
  2266. package/build/node_modules/mongoose/lib/helpers/query/castFilterPath.js.map +0 -1
  2267. package/build/node_modules/mongoose/lib/helpers/query/castFilterPath.mjs +0 -56
  2268. package/build/node_modules/mongoose/lib/helpers/query/castFilterPath.mjs.map +0 -1
  2269. package/build/node_modules/mongoose/lib/helpers/query/castUpdate.js +0 -561
  2270. package/build/node_modules/mongoose/lib/helpers/query/castUpdate.js.map +0 -1
  2271. package/build/node_modules/mongoose/lib/helpers/query/castUpdate.mjs +0 -559
  2272. package/build/node_modules/mongoose/lib/helpers/query/castUpdate.mjs.map +0 -1
  2273. package/build/node_modules/mongoose/lib/helpers/query/completeMany.js +0 -54
  2274. package/build/node_modules/mongoose/lib/helpers/query/completeMany.js.map +0 -1
  2275. package/build/node_modules/mongoose/lib/helpers/query/completeMany.mjs +0 -52
  2276. package/build/node_modules/mongoose/lib/helpers/query/completeMany.mjs.map +0 -1
  2277. package/build/node_modules/mongoose/lib/helpers/query/getEmbeddedDiscriminatorPath.js +0 -87
  2278. package/build/node_modules/mongoose/lib/helpers/query/getEmbeddedDiscriminatorPath.js.map +0 -1
  2279. package/build/node_modules/mongoose/lib/helpers/query/getEmbeddedDiscriminatorPath.mjs +0 -85
  2280. package/build/node_modules/mongoose/lib/helpers/query/getEmbeddedDiscriminatorPath.mjs.map +0 -1
  2281. package/build/node_modules/mongoose/lib/helpers/query/handleImmutable.js +0 -31
  2282. package/build/node_modules/mongoose/lib/helpers/query/handleImmutable.js.map +0 -1
  2283. package/build/node_modules/mongoose/lib/helpers/query/handleImmutable.mjs +0 -29
  2284. package/build/node_modules/mongoose/lib/helpers/query/handleImmutable.mjs.map +0 -1
  2285. package/build/node_modules/mongoose/lib/helpers/query/hasDollarKeys.js +0 -22
  2286. package/build/node_modules/mongoose/lib/helpers/query/hasDollarKeys.js.map +0 -1
  2287. package/build/node_modules/mongoose/lib/helpers/query/hasDollarKeys.mjs +0 -20
  2288. package/build/node_modules/mongoose/lib/helpers/query/hasDollarKeys.mjs.map +0 -1
  2289. package/build/node_modules/mongoose/lib/helpers/query/isOperator.js +0 -14
  2290. package/build/node_modules/mongoose/lib/helpers/query/isOperator.js.map +0 -1
  2291. package/build/node_modules/mongoose/lib/helpers/query/isOperator.mjs +0 -12
  2292. package/build/node_modules/mongoose/lib/helpers/query/isOperator.mjs.map +0 -1
  2293. package/build/node_modules/mongoose/lib/helpers/query/sanitizeProjection.js +0 -17
  2294. package/build/node_modules/mongoose/lib/helpers/query/sanitizeProjection.js.map +0 -1
  2295. package/build/node_modules/mongoose/lib/helpers/query/sanitizeProjection.mjs +0 -15
  2296. package/build/node_modules/mongoose/lib/helpers/query/sanitizeProjection.mjs.map +0 -1
  2297. package/build/node_modules/mongoose/lib/helpers/query/selectPopulatedFields.js +0 -52
  2298. package/build/node_modules/mongoose/lib/helpers/query/selectPopulatedFields.js.map +0 -1
  2299. package/build/node_modules/mongoose/lib/helpers/query/selectPopulatedFields.mjs +0 -50
  2300. package/build/node_modules/mongoose/lib/helpers/query/selectPopulatedFields.mjs.map +0 -1
  2301. package/build/node_modules/mongoose/lib/helpers/query/wrapThunk.js +0 -21
  2302. package/build/node_modules/mongoose/lib/helpers/query/wrapThunk.js.map +0 -1
  2303. package/build/node_modules/mongoose/lib/helpers/query/wrapThunk.mjs +0 -19
  2304. package/build/node_modules/mongoose/lib/helpers/query/wrapThunk.mjs.map +0 -1
  2305. package/build/node_modules/mongoose/lib/helpers/schema/addAutoId.js +0 -10
  2306. package/build/node_modules/mongoose/lib/helpers/schema/addAutoId.js.map +0 -1
  2307. package/build/node_modules/mongoose/lib/helpers/schema/addAutoId.mjs +0 -8
  2308. package/build/node_modules/mongoose/lib/helpers/schema/addAutoId.mjs.map +0 -1
  2309. package/build/node_modules/mongoose/lib/helpers/schema/applyPlugins.js +0 -47
  2310. package/build/node_modules/mongoose/lib/helpers/schema/applyPlugins.js.map +0 -1
  2311. package/build/node_modules/mongoose/lib/helpers/schema/applyPlugins.mjs +0 -45
  2312. package/build/node_modules/mongoose/lib/helpers/schema/applyPlugins.mjs.map +0 -1
  2313. package/build/node_modules/mongoose/lib/helpers/schema/applyWriteConcern.js +0 -33
  2314. package/build/node_modules/mongoose/lib/helpers/schema/applyWriteConcern.js.map +0 -1
  2315. package/build/node_modules/mongoose/lib/helpers/schema/applyWriteConcern.mjs +0 -31
  2316. package/build/node_modules/mongoose/lib/helpers/schema/applyWriteConcern.mjs.map +0 -1
  2317. package/build/node_modules/mongoose/lib/helpers/schema/cleanPositionalOperators.js +0 -15
  2318. package/build/node_modules/mongoose/lib/helpers/schema/cleanPositionalOperators.js.map +0 -1
  2319. package/build/node_modules/mongoose/lib/helpers/schema/cleanPositionalOperators.mjs +0 -13
  2320. package/build/node_modules/mongoose/lib/helpers/schema/cleanPositionalOperators.mjs.map +0 -1
  2321. package/build/node_modules/mongoose/lib/helpers/schema/getIndexes.js +0 -158
  2322. package/build/node_modules/mongoose/lib/helpers/schema/getIndexes.js.map +0 -1
  2323. package/build/node_modules/mongoose/lib/helpers/schema/getIndexes.mjs +0 -156
  2324. package/build/node_modules/mongoose/lib/helpers/schema/getIndexes.mjs.map +0 -1
  2325. package/build/node_modules/mongoose/lib/helpers/schema/getPath.js +0 -38
  2326. package/build/node_modules/mongoose/lib/helpers/schema/getPath.js.map +0 -1
  2327. package/build/node_modules/mongoose/lib/helpers/schema/getPath.mjs +0 -36
  2328. package/build/node_modules/mongoose/lib/helpers/schema/getPath.mjs.map +0 -1
  2329. package/build/node_modules/mongoose/lib/helpers/schema/handleIdOption.js +0 -23
  2330. package/build/node_modules/mongoose/lib/helpers/schema/handleIdOption.js.map +0 -1
  2331. package/build/node_modules/mongoose/lib/helpers/schema/handleIdOption.mjs +0 -21
  2332. package/build/node_modules/mongoose/lib/helpers/schema/handleIdOption.mjs.map +0 -1
  2333. package/build/node_modules/mongoose/lib/helpers/schema/handleTimestampOption.js +0 -27
  2334. package/build/node_modules/mongoose/lib/helpers/schema/handleTimestampOption.js.map +0 -1
  2335. package/build/node_modules/mongoose/lib/helpers/schema/handleTimestampOption.mjs +0 -25
  2336. package/build/node_modules/mongoose/lib/helpers/schema/handleTimestampOption.mjs.map +0 -1
  2337. package/build/node_modules/mongoose/lib/helpers/schema/merge.js +0 -30
  2338. package/build/node_modules/mongoose/lib/helpers/schema/merge.js.map +0 -1
  2339. package/build/node_modules/mongoose/lib/helpers/schema/merge.mjs +0 -28
  2340. package/build/node_modules/mongoose/lib/helpers/schema/merge.mjs.map +0 -1
  2341. package/build/node_modules/mongoose/lib/helpers/schematype/handleImmutable.js +0 -48
  2342. package/build/node_modules/mongoose/lib/helpers/schematype/handleImmutable.js.map +0 -1
  2343. package/build/node_modules/mongoose/lib/helpers/schematype/handleImmutable.mjs +0 -46
  2344. package/build/node_modules/mongoose/lib/helpers/schematype/handleImmutable.mjs.map +0 -1
  2345. package/build/node_modules/mongoose/lib/helpers/setDefaultsOnInsert.js +0 -134
  2346. package/build/node_modules/mongoose/lib/helpers/setDefaultsOnInsert.js.map +0 -1
  2347. package/build/node_modules/mongoose/lib/helpers/setDefaultsOnInsert.mjs +0 -132
  2348. package/build/node_modules/mongoose/lib/helpers/setDefaultsOnInsert.mjs.map +0 -1
  2349. package/build/node_modules/mongoose/lib/helpers/specialProperties.js +0 -6
  2350. package/build/node_modules/mongoose/lib/helpers/specialProperties.js.map +0 -1
  2351. package/build/node_modules/mongoose/lib/helpers/specialProperties.mjs +0 -4
  2352. package/build/node_modules/mongoose/lib/helpers/specialProperties.mjs.map +0 -1
  2353. package/build/node_modules/mongoose/lib/helpers/symbols.js +0 -61
  2354. package/build/node_modules/mongoose/lib/helpers/symbols.js.map +0 -1
  2355. package/build/node_modules/mongoose/lib/helpers/symbols.mjs +0 -41
  2356. package/build/node_modules/mongoose/lib/helpers/symbols.mjs.map +0 -1
  2357. package/build/node_modules/mongoose/lib/helpers/timers.js +0 -13
  2358. package/build/node_modules/mongoose/lib/helpers/timers.js.map +0 -1
  2359. package/build/node_modules/mongoose/lib/helpers/timers.mjs +0 -9
  2360. package/build/node_modules/mongoose/lib/helpers/timers.mjs.map +0 -1
  2361. package/build/node_modules/mongoose/lib/helpers/timestamps/setupTimestamps.js +0 -114
  2362. package/build/node_modules/mongoose/lib/helpers/timestamps/setupTimestamps.js.map +0 -1
  2363. package/build/node_modules/mongoose/lib/helpers/timestamps/setupTimestamps.mjs +0 -112
  2364. package/build/node_modules/mongoose/lib/helpers/timestamps/setupTimestamps.mjs.map +0 -1
  2365. package/build/node_modules/mongoose/lib/helpers/topology/allServersUnknown.js +0 -14
  2366. package/build/node_modules/mongoose/lib/helpers/topology/allServersUnknown.js.map +0 -1
  2367. package/build/node_modules/mongoose/lib/helpers/topology/allServersUnknown.mjs +0 -12
  2368. package/build/node_modules/mongoose/lib/helpers/topology/allServersUnknown.mjs.map +0 -1
  2369. package/build/node_modules/mongoose/lib/helpers/topology/isAtlas.js +0 -15
  2370. package/build/node_modules/mongoose/lib/helpers/topology/isAtlas.js.map +0 -1
  2371. package/build/node_modules/mongoose/lib/helpers/topology/isAtlas.mjs +0 -13
  2372. package/build/node_modules/mongoose/lib/helpers/topology/isAtlas.mjs.map +0 -1
  2373. package/build/node_modules/mongoose/lib/helpers/topology/isSSLError.js +0 -18
  2374. package/build/node_modules/mongoose/lib/helpers/topology/isSSLError.js.map +0 -1
  2375. package/build/node_modules/mongoose/lib/helpers/topology/isSSLError.mjs +0 -16
  2376. package/build/node_modules/mongoose/lib/helpers/topology/isSSLError.mjs.map +0 -1
  2377. package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToChildren.js +0 -175
  2378. package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToChildren.js.map +0 -1
  2379. package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToChildren.mjs +0 -173
  2380. package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToChildren.mjs.map +0 -1
  2381. package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToUpdate.js +0 -124
  2382. package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToUpdate.js.map +0 -1
  2383. package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToUpdate.mjs +0 -122
  2384. package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToUpdate.mjs.map +0 -1
  2385. package/build/node_modules/mongoose/lib/helpers/update/castArrayFilters.js +0 -63
  2386. package/build/node_modules/mongoose/lib/helpers/update/castArrayFilters.js.map +0 -1
  2387. package/build/node_modules/mongoose/lib/helpers/update/castArrayFilters.mjs +0 -61
  2388. package/build/node_modules/mongoose/lib/helpers/update/castArrayFilters.mjs.map +0 -1
  2389. package/build/node_modules/mongoose/lib/helpers/update/modifiedPaths.js +0 -38
  2390. package/build/node_modules/mongoose/lib/helpers/update/modifiedPaths.js.map +0 -1
  2391. package/build/node_modules/mongoose/lib/helpers/update/modifiedPaths.mjs +0 -36
  2392. package/build/node_modules/mongoose/lib/helpers/update/modifiedPaths.mjs.map +0 -1
  2393. package/build/node_modules/mongoose/lib/helpers/update/moveImmutableProperties.js +0 -56
  2394. package/build/node_modules/mongoose/lib/helpers/update/moveImmutableProperties.js.map +0 -1
  2395. package/build/node_modules/mongoose/lib/helpers/update/moveImmutableProperties.mjs +0 -54
  2396. package/build/node_modules/mongoose/lib/helpers/update/moveImmutableProperties.mjs.map +0 -1
  2397. package/build/node_modules/mongoose/lib/helpers/update/removeUnusedArrayFilters.js +0 -21
  2398. package/build/node_modules/mongoose/lib/helpers/update/removeUnusedArrayFilters.js.map +0 -1
  2399. package/build/node_modules/mongoose/lib/helpers/update/removeUnusedArrayFilters.mjs +0 -19
  2400. package/build/node_modules/mongoose/lib/helpers/update/removeUnusedArrayFilters.mjs.map +0 -1
  2401. package/build/node_modules/mongoose/lib/helpers/update/updatedPathsByArrayFilter.js +0 -27
  2402. package/build/node_modules/mongoose/lib/helpers/update/updatedPathsByArrayFilter.js.map +0 -1
  2403. package/build/node_modules/mongoose/lib/helpers/update/updatedPathsByArrayFilter.mjs +0 -25
  2404. package/build/node_modules/mongoose/lib/helpers/update/updatedPathsByArrayFilter.mjs.map +0 -1
  2405. package/build/node_modules/mongoose/lib/helpers/updateValidators.js +0 -263
  2406. package/build/node_modules/mongoose/lib/helpers/updateValidators.js.map +0 -1
  2407. package/build/node_modules/mongoose/lib/helpers/updateValidators.mjs +0 -261
  2408. package/build/node_modules/mongoose/lib/helpers/updateValidators.mjs.map +0 -1
  2409. package/build/node_modules/mongoose/lib/index.js +0 -1208
  2410. package/build/node_modules/mongoose/lib/index.js.map +0 -1
  2411. package/build/node_modules/mongoose/lib/index.mjs +0 -1201
  2412. package/build/node_modules/mongoose/lib/index.mjs.map +0 -1
  2413. package/build/node_modules/mongoose/lib/internal.js +0 -47
  2414. package/build/node_modules/mongoose/lib/internal.js.map +0 -1
  2415. package/build/node_modules/mongoose/lib/internal.mjs +0 -45
  2416. package/build/node_modules/mongoose/lib/internal.mjs.map +0 -1
  2417. package/build/node_modules/mongoose/lib/model.js +0 -5089
  2418. package/build/node_modules/mongoose/lib/model.js.map +0 -1
  2419. package/build/node_modules/mongoose/lib/model.mjs +0 -5082
  2420. package/build/node_modules/mongoose/lib/model.mjs.map +0 -1
  2421. package/build/node_modules/mongoose/lib/options/PopulateOptions.js +0 -39
  2422. package/build/node_modules/mongoose/lib/options/PopulateOptions.js.map +0 -1
  2423. package/build/node_modules/mongoose/lib/options/PopulateOptions.mjs +0 -37
  2424. package/build/node_modules/mongoose/lib/options/PopulateOptions.mjs.map +0 -1
  2425. package/build/node_modules/mongoose/lib/options/SchemaArrayOptions.js +0 -63
  2426. package/build/node_modules/mongoose/lib/options/SchemaArrayOptions.js.map +0 -1
  2427. package/build/node_modules/mongoose/lib/options/SchemaArrayOptions.mjs +0 -61
  2428. package/build/node_modules/mongoose/lib/options/SchemaArrayOptions.mjs.map +0 -1
  2429. package/build/node_modules/mongoose/lib/options/SchemaBufferOptions.js +0 -42
  2430. package/build/node_modules/mongoose/lib/options/SchemaBufferOptions.js.map +0 -1
  2431. package/build/node_modules/mongoose/lib/options/SchemaBufferOptions.mjs +0 -40
  2432. package/build/node_modules/mongoose/lib/options/SchemaBufferOptions.mjs.map +0 -1
  2433. package/build/node_modules/mongoose/lib/options/SchemaDateOptions.js +0 -68
  2434. package/build/node_modules/mongoose/lib/options/SchemaDateOptions.js.map +0 -1
  2435. package/build/node_modules/mongoose/lib/options/SchemaDateOptions.mjs +0 -66
  2436. package/build/node_modules/mongoose/lib/options/SchemaDateOptions.mjs.map +0 -1
  2437. package/build/node_modules/mongoose/lib/options/SchemaDocumentArrayOptions.js +0 -72
  2438. package/build/node_modules/mongoose/lib/options/SchemaDocumentArrayOptions.js.map +0 -1
  2439. package/build/node_modules/mongoose/lib/options/SchemaDocumentArrayOptions.mjs +0 -70
  2440. package/build/node_modules/mongoose/lib/options/SchemaDocumentArrayOptions.mjs.map +0 -1
  2441. package/build/node_modules/mongoose/lib/options/SchemaMapOptions.js +0 -47
  2442. package/build/node_modules/mongoose/lib/options/SchemaMapOptions.js.map +0 -1
  2443. package/build/node_modules/mongoose/lib/options/SchemaMapOptions.mjs +0 -45
  2444. package/build/node_modules/mongoose/lib/options/SchemaMapOptions.mjs.map +0 -1
  2445. package/build/node_modules/mongoose/lib/options/SchemaNumberOptions.js +0 -103
  2446. package/build/node_modules/mongoose/lib/options/SchemaNumberOptions.js.map +0 -1
  2447. package/build/node_modules/mongoose/lib/options/SchemaNumberOptions.mjs +0 -101
  2448. package/build/node_modules/mongoose/lib/options/SchemaNumberOptions.mjs.map +0 -1
  2449. package/build/node_modules/mongoose/lib/options/SchemaObjectIdOptions.js +0 -67
  2450. package/build/node_modules/mongoose/lib/options/SchemaObjectIdOptions.js.map +0 -1
  2451. package/build/node_modules/mongoose/lib/options/SchemaObjectIdOptions.mjs +0 -65
  2452. package/build/node_modules/mongoose/lib/options/SchemaObjectIdOptions.mjs.map +0 -1
  2453. package/build/node_modules/mongoose/lib/options/SchemaSingleNestedOptions.js +0 -46
  2454. package/build/node_modules/mongoose/lib/options/SchemaSingleNestedOptions.js.map +0 -1
  2455. package/build/node_modules/mongoose/lib/options/SchemaSingleNestedOptions.mjs +0 -44
  2456. package/build/node_modules/mongoose/lib/options/SchemaSingleNestedOptions.mjs.map +0 -1
  2457. package/build/node_modules/mongoose/lib/options/SchemaStringOptions.js +0 -142
  2458. package/build/node_modules/mongoose/lib/options/SchemaStringOptions.js.map +0 -1
  2459. package/build/node_modules/mongoose/lib/options/SchemaStringOptions.mjs +0 -140
  2460. package/build/node_modules/mongoose/lib/options/SchemaStringOptions.mjs.map +0 -1
  2461. package/build/node_modules/mongoose/lib/options/SchemaTypeOptions.js +0 -235
  2462. package/build/node_modules/mongoose/lib/options/SchemaTypeOptions.js.map +0 -1
  2463. package/build/node_modules/mongoose/lib/options/SchemaTypeOptions.mjs +0 -233
  2464. package/build/node_modules/mongoose/lib/options/SchemaTypeOptions.mjs.map +0 -1
  2465. package/build/node_modules/mongoose/lib/options/VirtualOptions.js +0 -167
  2466. package/build/node_modules/mongoose/lib/options/VirtualOptions.js.map +0 -1
  2467. package/build/node_modules/mongoose/lib/options/VirtualOptions.mjs +0 -165
  2468. package/build/node_modules/mongoose/lib/options/VirtualOptions.mjs.map +0 -1
  2469. package/build/node_modules/mongoose/lib/options/propertyOptions.js +0 -11
  2470. package/build/node_modules/mongoose/lib/options/propertyOptions.js.map +0 -1
  2471. package/build/node_modules/mongoose/lib/options/propertyOptions.mjs +0 -9
  2472. package/build/node_modules/mongoose/lib/options/propertyOptions.mjs.map +0 -1
  2473. package/build/node_modules/mongoose/lib/options/removeOptions.js +0 -17
  2474. package/build/node_modules/mongoose/lib/options/removeOptions.js.map +0 -1
  2475. package/build/node_modules/mongoose/lib/options/removeOptions.mjs +0 -15
  2476. package/build/node_modules/mongoose/lib/options/removeOptions.mjs.map +0 -1
  2477. package/build/node_modules/mongoose/lib/options/saveOptions.js +0 -17
  2478. package/build/node_modules/mongoose/lib/options/saveOptions.js.map +0 -1
  2479. package/build/node_modules/mongoose/lib/options/saveOptions.mjs +0 -15
  2480. package/build/node_modules/mongoose/lib/options/saveOptions.mjs.map +0 -1
  2481. package/build/node_modules/mongoose/lib/options.js +0 -25
  2482. package/build/node_modules/mongoose/lib/options.js.map +0 -1
  2483. package/build/node_modules/mongoose/lib/options.mjs +0 -21
  2484. package/build/node_modules/mongoose/lib/options.mjs.map +0 -1
  2485. package/build/node_modules/mongoose/lib/plugins/idGetter.js +0 -31
  2486. package/build/node_modules/mongoose/lib/plugins/idGetter.js.map +0 -1
  2487. package/build/node_modules/mongoose/lib/plugins/idGetter.mjs +0 -29
  2488. package/build/node_modules/mongoose/lib/plugins/idGetter.mjs.map +0 -1
  2489. package/build/node_modules/mongoose/lib/plugins/removeSubdocs.js +0 -34
  2490. package/build/node_modules/mongoose/lib/plugins/removeSubdocs.js.map +0 -1
  2491. package/build/node_modules/mongoose/lib/plugins/removeSubdocs.mjs +0 -32
  2492. package/build/node_modules/mongoose/lib/plugins/removeSubdocs.mjs.map +0 -1
  2493. package/build/node_modules/mongoose/lib/plugins/saveSubdocs.js +0 -69
  2494. package/build/node_modules/mongoose/lib/plugins/saveSubdocs.js.map +0 -1
  2495. package/build/node_modules/mongoose/lib/plugins/saveSubdocs.mjs +0 -67
  2496. package/build/node_modules/mongoose/lib/plugins/saveSubdocs.mjs.map +0 -1
  2497. package/build/node_modules/mongoose/lib/plugins/sharding.js +0 -93
  2498. package/build/node_modules/mongoose/lib/plugins/sharding.js.map +0 -1
  2499. package/build/node_modules/mongoose/lib/plugins/sharding.mjs +0 -89
  2500. package/build/node_modules/mongoose/lib/plugins/sharding.mjs.map +0 -1
  2501. package/build/node_modules/mongoose/lib/plugins/trackTransaction.js +0 -96
  2502. package/build/node_modules/mongoose/lib/plugins/trackTransaction.js.map +0 -1
  2503. package/build/node_modules/mongoose/lib/plugins/trackTransaction.mjs +0 -94
  2504. package/build/node_modules/mongoose/lib/plugins/trackTransaction.mjs.map +0 -1
  2505. package/build/node_modules/mongoose/lib/plugins/validateBeforeSave.js +0 -48
  2506. package/build/node_modules/mongoose/lib/plugins/validateBeforeSave.js.map +0 -1
  2507. package/build/node_modules/mongoose/lib/plugins/validateBeforeSave.mjs +0 -46
  2508. package/build/node_modules/mongoose/lib/plugins/validateBeforeSave.mjs.map +0 -1
  2509. package/build/node_modules/mongoose/lib/promise_provider.js +0 -60
  2510. package/build/node_modules/mongoose/lib/promise_provider.js.map +0 -1
  2511. package/build/node_modules/mongoose/lib/promise_provider.mjs +0 -54
  2512. package/build/node_modules/mongoose/lib/promise_provider.mjs.map +0 -1
  2513. package/build/node_modules/mongoose/lib/query.js +0 -5588
  2514. package/build/node_modules/mongoose/lib/query.js.map +0 -1
  2515. package/build/node_modules/mongoose/lib/query.mjs +0 -5582
  2516. package/build/node_modules/mongoose/lib/query.mjs.map +0 -1
  2517. package/build/node_modules/mongoose/lib/queryhelpers.js +0 -341
  2518. package/build/node_modules/mongoose/lib/queryhelpers.js.map +0 -1
  2519. package/build/node_modules/mongoose/lib/queryhelpers.mjs +0 -339
  2520. package/build/node_modules/mongoose/lib/queryhelpers.mjs.map +0 -1
  2521. package/build/node_modules/mongoose/lib/schema/SingleNestedPath.js +0 -358
  2522. package/build/node_modules/mongoose/lib/schema/SingleNestedPath.js.map +0 -1
  2523. package/build/node_modules/mongoose/lib/schema/SingleNestedPath.mjs +0 -352
  2524. package/build/node_modules/mongoose/lib/schema/SingleNestedPath.mjs.map +0 -1
  2525. package/build/node_modules/mongoose/lib/schema/array.js +0 -676
  2526. package/build/node_modules/mongoose/lib/schema/array.js.map +0 -1
  2527. package/build/node_modules/mongoose/lib/schema/array.mjs +0 -670
  2528. package/build/node_modules/mongoose/lib/schema/array.mjs.map +0 -1
  2529. package/build/node_modules/mongoose/lib/schema/boolean.js +0 -278
  2530. package/build/node_modules/mongoose/lib/schema/boolean.js.map +0 -1
  2531. package/build/node_modules/mongoose/lib/schema/boolean.mjs +0 -276
  2532. package/build/node_modules/mongoose/lib/schema/boolean.mjs.map +0 -1
  2533. package/build/node_modules/mongoose/lib/schema/buffer.js +0 -276
  2534. package/build/node_modules/mongoose/lib/schema/buffer.js.map +0 -1
  2535. package/build/node_modules/mongoose/lib/schema/buffer.mjs +0 -274
  2536. package/build/node_modules/mongoose/lib/schema/buffer.mjs.map +0 -1
  2537. package/build/node_modules/mongoose/lib/schema/date.js +0 -411
  2538. package/build/node_modules/mongoose/lib/schema/date.js.map +0 -1
  2539. package/build/node_modules/mongoose/lib/schema/date.mjs +0 -409
  2540. package/build/node_modules/mongoose/lib/schema/date.mjs.map +0 -1
  2541. package/build/node_modules/mongoose/lib/schema/decimal128.js +0 -218
  2542. package/build/node_modules/mongoose/lib/schema/decimal128.js.map +0 -1
  2543. package/build/node_modules/mongoose/lib/schema/decimal128.mjs +0 -216
  2544. package/build/node_modules/mongoose/lib/schema/decimal128.mjs.map +0 -1
  2545. package/build/node_modules/mongoose/lib/schema/documentarray.js +0 -591
  2546. package/build/node_modules/mongoose/lib/schema/documentarray.js.map +0 -1
  2547. package/build/node_modules/mongoose/lib/schema/documentarray.mjs +0 -584
  2548. package/build/node_modules/mongoose/lib/schema/documentarray.mjs.map +0 -1
  2549. package/build/node_modules/mongoose/lib/schema/index.js +0 -52
  2550. package/build/node_modules/mongoose/lib/schema/index.js.map +0 -1
  2551. package/build/node_modules/mongoose/lib/schema/index.mjs +0 -50
  2552. package/build/node_modules/mongoose/lib/schema/index.mjs.map +0 -1
  2553. package/build/node_modules/mongoose/lib/schema/map.js +0 -84
  2554. package/build/node_modules/mongoose/lib/schema/map.js.map +0 -1
  2555. package/build/node_modules/mongoose/lib/schema/map.mjs +0 -82
  2556. package/build/node_modules/mongoose/lib/schema/map.mjs.map +0 -1
  2557. package/build/node_modules/mongoose/lib/schema/mixed.js +0 -140
  2558. package/build/node_modules/mongoose/lib/schema/mixed.js.map +0 -1
  2559. package/build/node_modules/mongoose/lib/schema/mixed.mjs +0 -138
  2560. package/build/node_modules/mongoose/lib/schema/mixed.mjs.map +0 -1
  2561. package/build/node_modules/mongoose/lib/schema/number.js +0 -443
  2562. package/build/node_modules/mongoose/lib/schema/number.js.map +0 -1
  2563. package/build/node_modules/mongoose/lib/schema/number.mjs +0 -441
  2564. package/build/node_modules/mongoose/lib/schema/number.mjs.map +0 -1
  2565. package/build/node_modules/mongoose/lib/schema/objectid.js +0 -307
  2566. package/build/node_modules/mongoose/lib/schema/objectid.js.map +0 -1
  2567. package/build/node_modules/mongoose/lib/schema/objectid.mjs +0 -305
  2568. package/build/node_modules/mongoose/lib/schema/objectid.mjs.map +0 -1
  2569. package/build/node_modules/mongoose/lib/schema/operators/bitwise.js +0 -43
  2570. package/build/node_modules/mongoose/lib/schema/operators/bitwise.js.map +0 -1
  2571. package/build/node_modules/mongoose/lib/schema/operators/bitwise.mjs +0 -41
  2572. package/build/node_modules/mongoose/lib/schema/operators/bitwise.mjs.map +0 -1
  2573. package/build/node_modules/mongoose/lib/schema/operators/exists.js +0 -15
  2574. package/build/node_modules/mongoose/lib/schema/operators/exists.js.map +0 -1
  2575. package/build/node_modules/mongoose/lib/schema/operators/exists.mjs +0 -13
  2576. package/build/node_modules/mongoose/lib/schema/operators/exists.mjs.map +0 -1
  2577. package/build/node_modules/mongoose/lib/schema/operators/geospatial.js +0 -121
  2578. package/build/node_modules/mongoose/lib/schema/operators/geospatial.js.map +0 -1
  2579. package/build/node_modules/mongoose/lib/schema/operators/geospatial.mjs +0 -115
  2580. package/build/node_modules/mongoose/lib/schema/operators/geospatial.mjs.map +0 -1
  2581. package/build/node_modules/mongoose/lib/schema/operators/helpers.js +0 -46
  2582. package/build/node_modules/mongoose/lib/schema/operators/helpers.js.map +0 -1
  2583. package/build/node_modules/mongoose/lib/schema/operators/helpers.mjs +0 -41
  2584. package/build/node_modules/mongoose/lib/schema/operators/helpers.mjs.map +0 -1
  2585. package/build/node_modules/mongoose/lib/schema/operators/text.js +0 -42
  2586. package/build/node_modules/mongoose/lib/schema/operators/text.js.map +0 -1
  2587. package/build/node_modules/mongoose/lib/schema/operators/text.mjs +0 -40
  2588. package/build/node_modules/mongoose/lib/schema/operators/text.mjs.map +0 -1
  2589. package/build/node_modules/mongoose/lib/schema/operators/type.js +0 -23
  2590. package/build/node_modules/mongoose/lib/schema/operators/type.js.map +0 -1
  2591. package/build/node_modules/mongoose/lib/schema/operators/type.mjs +0 -21
  2592. package/build/node_modules/mongoose/lib/schema/operators/type.mjs.map +0 -1
  2593. package/build/node_modules/mongoose/lib/schema/string.js +0 -681
  2594. package/build/node_modules/mongoose/lib/schema/string.js.map +0 -1
  2595. package/build/node_modules/mongoose/lib/schema/string.mjs +0 -679
  2596. package/build/node_modules/mongoose/lib/schema/string.mjs.map +0 -1
  2597. package/build/node_modules/mongoose/lib/schema/symbols.js +0 -17
  2598. package/build/node_modules/mongoose/lib/schema/symbols.js.map +0 -1
  2599. package/build/node_modules/mongoose/lib/schema/symbols.mjs +0 -12
  2600. package/build/node_modules/mongoose/lib/schema/symbols.mjs.map +0 -1
  2601. package/build/node_modules/mongoose/lib/schema.js +0 -2205
  2602. package/build/node_modules/mongoose/lib/schema.js.map +0 -1
  2603. package/build/node_modules/mongoose/lib/schema.mjs +0 -2198
  2604. package/build/node_modules/mongoose/lib/schema.mjs.map +0 -1
  2605. package/build/node_modules/mongoose/lib/schematype.js +0 -1694
  2606. package/build/node_modules/mongoose/lib/schematype.js.map +0 -1
  2607. package/build/node_modules/mongoose/lib/schematype.mjs +0 -1688
  2608. package/build/node_modules/mongoose/lib/schematype.mjs.map +0 -1
  2609. package/build/node_modules/mongoose/lib/statemachine.js +0 -184
  2610. package/build/node_modules/mongoose/lib/statemachine.js.map +0 -1
  2611. package/build/node_modules/mongoose/lib/statemachine.mjs +0 -182
  2612. package/build/node_modules/mongoose/lib/statemachine.mjs.map +0 -1
  2613. package/build/node_modules/mongoose/lib/types/array.js +0 -91
  2614. package/build/node_modules/mongoose/lib/types/array.js.map +0 -1
  2615. package/build/node_modules/mongoose/lib/types/array.mjs +0 -89
  2616. package/build/node_modules/mongoose/lib/types/array.mjs.map +0 -1
  2617. package/build/node_modules/mongoose/lib/types/buffer.js +0 -283
  2618. package/build/node_modules/mongoose/lib/types/buffer.js.map +0 -1
  2619. package/build/node_modules/mongoose/lib/types/buffer.mjs +0 -281
  2620. package/build/node_modules/mongoose/lib/types/buffer.mjs.map +0 -1
  2621. package/build/node_modules/mongoose/lib/types/core_array.js +0 -982
  2622. package/build/node_modules/mongoose/lib/types/core_array.js.map +0 -1
  2623. package/build/node_modules/mongoose/lib/types/core_array.mjs +0 -976
  2624. package/build/node_modules/mongoose/lib/types/core_array.mjs.map +0 -1
  2625. package/build/node_modules/mongoose/lib/types/decimal128.js +0 -18
  2626. package/build/node_modules/mongoose/lib/types/decimal128.js.map +0 -1
  2627. package/build/node_modules/mongoose/lib/types/decimal128.mjs +0 -16
  2628. package/build/node_modules/mongoose/lib/types/decimal128.mjs.map +0 -1
  2629. package/build/node_modules/mongoose/lib/types/documentarray.js +0 -462
  2630. package/build/node_modules/mongoose/lib/types/documentarray.js.map +0 -1
  2631. package/build/node_modules/mongoose/lib/types/documentarray.mjs +0 -456
  2632. package/build/node_modules/mongoose/lib/types/documentarray.mjs.map +0 -1
  2633. package/build/node_modules/mongoose/lib/types/embedded.js +0 -474
  2634. package/build/node_modules/mongoose/lib/types/embedded.js.map +0 -1
  2635. package/build/node_modules/mongoose/lib/types/embedded.mjs +0 -467
  2636. package/build/node_modules/mongoose/lib/types/embedded.mjs.map +0 -1
  2637. package/build/node_modules/mongoose/lib/types/index.js +0 -31
  2638. package/build/node_modules/mongoose/lib/types/index.js.map +0 -1
  2639. package/build/node_modules/mongoose/lib/types/index.mjs +0 -29
  2640. package/build/node_modules/mongoose/lib/types/index.mjs.map +0 -1
  2641. package/build/node_modules/mongoose/lib/types/map.js +0 -252
  2642. package/build/node_modules/mongoose/lib/types/map.js.map +0 -1
  2643. package/build/node_modules/mongoose/lib/types/map.mjs +0 -246
  2644. package/build/node_modules/mongoose/lib/types/map.mjs.map +0 -1
  2645. package/build/node_modules/mongoose/lib/types/objectid.js +0 -36
  2646. package/build/node_modules/mongoose/lib/types/objectid.js.map +0 -1
  2647. package/build/node_modules/mongoose/lib/types/objectid.mjs +0 -34
  2648. package/build/node_modules/mongoose/lib/types/objectid.mjs.map +0 -1
  2649. package/build/node_modules/mongoose/lib/types/subdocument.js +0 -308
  2650. package/build/node_modules/mongoose/lib/types/subdocument.js.map +0 -1
  2651. package/build/node_modules/mongoose/lib/types/subdocument.mjs +0 -306
  2652. package/build/node_modules/mongoose/lib/types/subdocument.mjs.map +0 -1
  2653. package/build/node_modules/mongoose/lib/utils.js +0 -962
  2654. package/build/node_modules/mongoose/lib/utils.js.map +0 -1
  2655. package/build/node_modules/mongoose/lib/utils.mjs +0 -960
  2656. package/build/node_modules/mongoose/lib/utils.mjs.map +0 -1
  2657. package/build/node_modules/mongoose/lib/validoptions.js +0 -39
  2658. package/build/node_modules/mongoose/lib/validoptions.js.map +0 -1
  2659. package/build/node_modules/mongoose/lib/validoptions.mjs +0 -37
  2660. package/build/node_modules/mongoose/lib/validoptions.mjs.map +0 -1
  2661. package/build/node_modules/mongoose/lib/virtualtype.js +0 -179
  2662. package/build/node_modules/mongoose/lib/virtualtype.js.map +0 -1
  2663. package/build/node_modules/mongoose/lib/virtualtype.mjs +0 -177
  2664. package/build/node_modules/mongoose/lib/virtualtype.mjs.map +0 -1
  2665. package/build/node_modules/mongoose/node_modules/safe-buffer/index.js +0 -80
  2666. package/build/node_modules/mongoose/node_modules/safe-buffer/index.js.map +0 -1
  2667. package/build/node_modules/mongoose/node_modules/safe-buffer/index.mjs +0 -74
  2668. package/build/node_modules/mongoose/node_modules/safe-buffer/index.mjs.map +0 -1
  2669. package/build/node_modules/mongoose/package.json.js +0 -299
  2670. package/build/node_modules/mongoose/package.json.js.map +0 -1
  2671. package/build/node_modules/mongoose/package.mjs +0 -277
  2672. package/build/node_modules/mongoose/package.mjs.map +0 -1
  2673. package/build/node_modules/mongoose-legacy-pluralize/index.js +0 -104
  2674. package/build/node_modules/mongoose-legacy-pluralize/index.js.map +0 -1
  2675. package/build/node_modules/mongoose-legacy-pluralize/index.mjs +0 -102
  2676. package/build/node_modules/mongoose-legacy-pluralize/index.mjs.map +0 -1
  2677. package/build/node_modules/mpath/index.js +0 -12
  2678. package/build/node_modules/mpath/index.js.map +0 -1
  2679. package/build/node_modules/mpath/index.mjs +0 -10
  2680. package/build/node_modules/mpath/index.mjs.map +0 -1
  2681. package/build/node_modules/mpath/lib/index.js +0 -325
  2682. package/build/node_modules/mpath/lib/index.js.map +0 -1
  2683. package/build/node_modules/mpath/lib/index.mjs +0 -323
  2684. package/build/node_modules/mpath/lib/index.mjs.map +0 -1
  2685. package/build/node_modules/mpath/lib/stringToParts.js +0 -51
  2686. package/build/node_modules/mpath/lib/stringToParts.js.map +0 -1
  2687. package/build/node_modules/mpath/lib/stringToParts.mjs +0 -49
  2688. package/build/node_modules/mpath/lib/stringToParts.mjs.map +0 -1
  2689. package/build/node_modules/mquery/lib/collection/collection.js +0 -54
  2690. package/build/node_modules/mquery/lib/collection/collection.js.map +0 -1
  2691. package/build/node_modules/mquery/lib/collection/collection.mjs +0 -52
  2692. package/build/node_modules/mquery/lib/collection/collection.mjs.map +0 -1
  2693. package/build/node_modules/mquery/lib/collection/index.js +0 -17
  2694. package/build/node_modules/mquery/lib/collection/index.js.map +0 -1
  2695. package/build/node_modules/mquery/lib/collection/index.mjs +0 -15
  2696. package/build/node_modules/mquery/lib/collection/index.mjs.map +0 -1
  2697. package/build/node_modules/mquery/lib/collection/node.js +0 -161
  2698. package/build/node_modules/mquery/lib/collection/node.js.map +0 -1
  2699. package/build/node_modules/mquery/lib/collection/node.mjs +0 -159
  2700. package/build/node_modules/mquery/lib/collection/node.mjs.map +0 -1
  2701. package/build/node_modules/mquery/lib/env.js +0 -30
  2702. package/build/node_modules/mquery/lib/env.js.map +0 -1
  2703. package/build/node_modules/mquery/lib/env.mjs +0 -28
  2704. package/build/node_modules/mquery/lib/env.mjs.map +0 -1
  2705. package/build/node_modules/mquery/lib/mquery.js +0 -3276
  2706. package/build/node_modules/mquery/lib/mquery.js.map +0 -1
  2707. package/build/node_modules/mquery/lib/mquery.mjs +0 -3268
  2708. package/build/node_modules/mquery/lib/mquery.mjs.map +0 -1
  2709. package/build/node_modules/mquery/lib/permissions.js +0 -96
  2710. package/build/node_modules/mquery/lib/permissions.js.map +0 -1
  2711. package/build/node_modules/mquery/lib/permissions.mjs +0 -94
  2712. package/build/node_modules/mquery/lib/permissions.mjs.map +0 -1
  2713. package/build/node_modules/mquery/lib/utils.js +0 -373
  2714. package/build/node_modules/mquery/lib/utils.js.map +0 -1
  2715. package/build/node_modules/mquery/lib/utils.mjs +0 -371
  2716. package/build/node_modules/mquery/lib/utils.mjs.map +0 -1
  2717. package/build/node_modules/ms/index.js +0 -166
  2718. package/build/node_modules/ms/index.js.map +0 -1
  2719. package/build/node_modules/ms/index.mjs +0 -164
  2720. package/build/node_modules/ms/index.mjs.map +0 -1
  2721. package/build/node_modules/optional-require/index.js +0 -82
  2722. package/build/node_modules/optional-require/index.js.map +0 -1
  2723. package/build/node_modules/optional-require/index.mjs +0 -76
  2724. package/build/node_modules/optional-require/index.mjs.map +0 -1
  2725. package/build/node_modules/process-nextick-args/index.js +0 -52
  2726. package/build/node_modules/process-nextick-args/index.js.map +0 -1
  2727. package/build/node_modules/process-nextick-args/index.mjs +0 -50
  2728. package/build/node_modules/process-nextick-args/index.mjs.map +0 -1
  2729. package/build/node_modules/redis/index.js +0 -1136
  2730. package/build/node_modules/redis/index.js.map +0 -1
  2731. package/build/node_modules/redis/index.mjs +0 -1127
  2732. package/build/node_modules/redis/index.mjs.map +0 -1
  2733. package/build/node_modules/redis/lib/command.js +0 -19
  2734. package/build/node_modules/redis/lib/command.js.map +0 -1
  2735. package/build/node_modules/redis/lib/command.mjs +0 -17
  2736. package/build/node_modules/redis/lib/command.mjs.map +0 -1
  2737. package/build/node_modules/redis/lib/commands.js +0 -127
  2738. package/build/node_modules/redis/lib/commands.js.map +0 -1
  2739. package/build/node_modules/redis/lib/commands.mjs +0 -125
  2740. package/build/node_modules/redis/lib/commands.mjs.map +0 -1
  2741. package/build/node_modules/redis/lib/createClient.js +0 -87
  2742. package/build/node_modules/redis/lib/createClient.js.map +0 -1
  2743. package/build/node_modules/redis/lib/createClient.mjs +0 -81
  2744. package/build/node_modules/redis/lib/createClient.mjs.map +0 -1
  2745. package/build/node_modules/redis/lib/customErrors.js +0 -69
  2746. package/build/node_modules/redis/lib/customErrors.js.map +0 -1
  2747. package/build/node_modules/redis/lib/customErrors.mjs +0 -62
  2748. package/build/node_modules/redis/lib/customErrors.mjs.map +0 -1
  2749. package/build/node_modules/redis/lib/debug.js +0 -14
  2750. package/build/node_modules/redis/lib/debug.js.map +0 -1
  2751. package/build/node_modules/redis/lib/debug.mjs +0 -12
  2752. package/build/node_modules/redis/lib/debug.mjs.map +0 -1
  2753. package/build/node_modules/redis/lib/extendedApi.js +0 -117
  2754. package/build/node_modules/redis/lib/extendedApi.js.map +0 -1
  2755. package/build/node_modules/redis/lib/extendedApi.mjs +0 -115
  2756. package/build/node_modules/redis/lib/extendedApi.mjs.map +0 -1
  2757. package/build/node_modules/redis/lib/individualCommands.js +0 -620
  2758. package/build/node_modules/redis/lib/individualCommands.js.map +0 -1
  2759. package/build/node_modules/redis/lib/individualCommands.mjs +0 -618
  2760. package/build/node_modules/redis/lib/individualCommands.mjs.map +0 -1
  2761. package/build/node_modules/redis/lib/multi.js +0 -190
  2762. package/build/node_modules/redis/lib/multi.js.map +0 -1
  2763. package/build/node_modules/redis/lib/multi.mjs +0 -188
  2764. package/build/node_modules/redis/lib/multi.mjs.map +0 -1
  2765. package/build/node_modules/redis/lib/utils.js +0 -137
  2766. package/build/node_modules/redis/lib/utils.js.map +0 -1
  2767. package/build/node_modules/redis/lib/utils.mjs +0 -135
  2768. package/build/node_modules/redis/lib/utils.mjs.map +0 -1
  2769. package/build/node_modules/redis-commands/commands.json.js +0 -2785
  2770. package/build/node_modules/redis-commands/commands.json.js.map +0 -1
  2771. package/build/node_modules/redis-commands/commands.mjs +0 -2560
  2772. package/build/node_modules/redis-commands/commands.mjs.map +0 -1
  2773. package/build/node_modules/redis-commands/index.js +0 -177
  2774. package/build/node_modules/redis-commands/index.js.map +0 -1
  2775. package/build/node_modules/redis-commands/index.mjs +0 -175
  2776. package/build/node_modules/redis-commands/index.mjs.map +0 -1
  2777. package/build/node_modules/redis-parser/index.js +0 -21
  2778. package/build/node_modules/redis-parser/index.js.map +0 -1
  2779. package/build/node_modules/redis-parser/index.mjs +0 -15
  2780. package/build/node_modules/redis-parser/index.mjs.map +0 -1
  2781. package/build/node_modules/redis-parser/lib/hiredis.js +0 -69
  2782. package/build/node_modules/redis-parser/lib/hiredis.js.map +0 -1
  2783. package/build/node_modules/redis-parser/lib/hiredis.mjs +0 -63
  2784. package/build/node_modules/redis-parser/lib/hiredis.mjs.map +0 -1
  2785. package/build/node_modules/redis-parser/lib/parser.js +0 -593
  2786. package/build/node_modules/redis-parser/lib/parser.js.map +0 -1
  2787. package/build/node_modules/redis-parser/lib/parser.mjs +0 -587
  2788. package/build/node_modules/redis-parser/lib/parser.mjs.map +0 -1
  2789. package/build/node_modules/redis-parser/lib/parserError.js +0 -34
  2790. package/build/node_modules/redis-parser/lib/parserError.js.map +0 -1
  2791. package/build/node_modules/redis-parser/lib/parserError.mjs +0 -27
  2792. package/build/node_modules/redis-parser/lib/parserError.mjs.map +0 -1
  2793. package/build/node_modules/redis-parser/lib/redisError.js +0 -31
  2794. package/build/node_modules/redis-parser/lib/redisError.js.map +0 -1
  2795. package/build/node_modules/redis-parser/lib/redisError.mjs +0 -25
  2796. package/build/node_modules/redis-parser/lib/redisError.mjs.map +0 -1
  2797. package/build/node_modules/redis-parser/lib/replyError.js +0 -31
  2798. package/build/node_modules/redis-parser/lib/replyError.js.map +0 -1
  2799. package/build/node_modules/redis-parser/lib/replyError.mjs +0 -25
  2800. package/build/node_modules/redis-parser/lib/replyError.mjs.map +0 -1
  2801. package/build/node_modules/regexp-clone/index.js +0 -34
  2802. package/build/node_modules/regexp-clone/index.js.map +0 -1
  2803. package/build/node_modules/regexp-clone/index.mjs +0 -32
  2804. package/build/node_modules/regexp-clone/index.mjs.map +0 -1
  2805. package/build/node_modules/safe-buffer/index.js +0 -76
  2806. package/build/node_modules/safe-buffer/index.js.map +0 -1
  2807. package/build/node_modules/safe-buffer/index.mjs +0 -70
  2808. package/build/node_modules/safe-buffer/index.mjs.map +0 -1
  2809. package/build/node_modules/saslprep/index.js +0 -162
  2810. package/build/node_modules/saslprep/index.js.map +0 -1
  2811. package/build/node_modules/saslprep/index.mjs +0 -160
  2812. package/build/node_modules/saslprep/index.mjs.map +0 -1
  2813. package/build/node_modules/saslprep/lib/memory-code-points.js +0 -47
  2814. package/build/node_modules/saslprep/lib/memory-code-points.js.map +0 -1
  2815. package/build/node_modules/saslprep/lib/memory-code-points.mjs +0 -40
  2816. package/build/node_modules/saslprep/lib/memory-code-points.mjs.map +0 -1
  2817. package/build/node_modules/sift/es5m/index.js +0 -683
  2818. package/build/node_modules/sift/es5m/index.js.map +0 -1
  2819. package/build/node_modules/sift/es5m/index.mjs +0 -652
  2820. package/build/node_modules/sift/es5m/index.mjs.map +0 -1
  2821. package/build/node_modules/sliced/index.js +0 -36
  2822. package/build/node_modules/sliced/index.js.map +0 -1
  2823. package/build/node_modules/sliced/index.mjs +0 -34
  2824. package/build/node_modules/sliced/index.mjs.map +0 -1
  2825. package/build/node_modules/sparse-bitfield/index.js +0 -100
  2826. package/build/node_modules/sparse-bitfield/index.js.map +0 -1
  2827. package/build/node_modules/sparse-bitfield/index.mjs +0 -98
  2828. package/build/node_modules/sparse-bitfield/index.mjs.map +0 -1
  2829. package/build/node_modules/util-deprecate/node.js +0 -16
  2830. package/build/node_modules/util-deprecate/node.js.map +0 -1
  2831. package/build/node_modules/util-deprecate/node.mjs +0 -10
  2832. package/build/node_modules/util-deprecate/node.mjs.map +0 -1
  2833. package/build/node_modules/ws/index.js +0 -17
  2834. package/build/node_modules/ws/index.js.map +0 -1
  2835. package/build/node_modules/ws/index.mjs +0 -15
  2836. package/build/node_modules/ws/index.mjs.map +0 -1
  2837. package/build/node_modules/ws/lib/buffer-util.js +0 -143
  2838. package/build/node_modules/ws/lib/buffer-util.js.map +0 -1
  2839. package/build/node_modules/ws/lib/buffer-util.mjs +0 -137
  2840. package/build/node_modules/ws/lib/buffer-util.mjs.map +0 -1
  2841. package/build/node_modules/ws/lib/constants.js +0 -13
  2842. package/build/node_modules/ws/lib/constants.js.map +0 -1
  2843. package/build/node_modules/ws/lib/constants.mjs +0 -11
  2844. package/build/node_modules/ws/lib/constants.mjs.map +0 -1
  2845. package/build/node_modules/ws/lib/event-target.js +0 -187
  2846. package/build/node_modules/ws/lib/event-target.js.map +0 -1
  2847. package/build/node_modules/ws/lib/event-target.mjs +0 -185
  2848. package/build/node_modules/ws/lib/event-target.mjs.map +0 -1
  2849. package/build/node_modules/ws/lib/extension.js +0 -226
  2850. package/build/node_modules/ws/lib/extension.js.map +0 -1
  2851. package/build/node_modules/ws/lib/extension.mjs +0 -224
  2852. package/build/node_modules/ws/lib/extension.mjs.map +0 -1
  2853. package/build/node_modules/ws/lib/limiter.js +0 -58
  2854. package/build/node_modules/ws/lib/limiter.js.map +0 -1
  2855. package/build/node_modules/ws/lib/limiter.mjs +0 -56
  2856. package/build/node_modules/ws/lib/limiter.mjs.map +0 -1
  2857. package/build/node_modules/ws/lib/permessage-deflate.js +0 -526
  2858. package/build/node_modules/ws/lib/permessage-deflate.js.map +0 -1
  2859. package/build/node_modules/ws/lib/permessage-deflate.mjs +0 -520
  2860. package/build/node_modules/ws/lib/permessage-deflate.mjs.map +0 -1
  2861. package/build/node_modules/ws/lib/receiver.js +0 -620
  2862. package/build/node_modules/ws/lib/receiver.js.map +0 -1
  2863. package/build/node_modules/ws/lib/receiver.mjs +0 -614
  2864. package/build/node_modules/ws/lib/receiver.mjs.map +0 -1
  2865. package/build/node_modules/ws/lib/sender.js +0 -424
  2866. package/build/node_modules/ws/lib/sender.js.map +0 -1
  2867. package/build/node_modules/ws/lib/sender.mjs +0 -418
  2868. package/build/node_modules/ws/lib/sender.mjs.map +0 -1
  2869. package/build/node_modules/ws/lib/stream.js +0 -186
  2870. package/build/node_modules/ws/lib/stream.js.map +0 -1
  2871. package/build/node_modules/ws/lib/stream.mjs +0 -180
  2872. package/build/node_modules/ws/lib/stream.mjs.map +0 -1
  2873. package/build/node_modules/ws/lib/validation.js +0 -117
  2874. package/build/node_modules/ws/lib/validation.js.map +0 -1
  2875. package/build/node_modules/ws/lib/validation.mjs +0 -111
  2876. package/build/node_modules/ws/lib/validation.mjs.map +0 -1
  2877. package/build/node_modules/ws/lib/websocket-server.js +0 -467
  2878. package/build/node_modules/ws/lib/websocket-server.js.map +0 -1
  2879. package/build/node_modules/ws/lib/websocket-server.mjs +0 -459
  2880. package/build/node_modules/ws/lib/websocket-server.mjs.map +0 -1
  2881. package/build/node_modules/ws/lib/websocket.js +0 -1138
  2882. package/build/node_modules/ws/lib/websocket.js.map +0 -1
  2883. package/build/node_modules/ws/lib/websocket.mjs +0 -1126
  2884. package/build/node_modules/ws/lib/websocket.mjs.map +0 -1
  2885. package/build/packages/core/src/Debug.js +0 -34
  2886. package/build/packages/core/src/Debug.js.map +0 -1
  2887. package/build/packages/core/src/Debug.mjs +0 -20
  2888. package/build/packages/core/src/Debug.mjs.map +0 -1
  2889. package/build/packages/core/src/IPC.js +0 -65
  2890. package/build/packages/core/src/IPC.js.map +0 -1
  2891. package/build/packages/core/src/IPC.mjs +0 -60
  2892. package/build/packages/core/src/IPC.mjs.map +0 -1
  2893. package/build/packages/core/src/Logger.js +0 -12
  2894. package/build/packages/core/src/Logger.js.map +0 -1
  2895. package/build/packages/core/src/Logger.mjs +0 -8
  2896. package/build/packages/core/src/Logger.mjs.map +0 -1
  2897. package/build/packages/core/src/MatchMaker.js +0 -401
  2898. package/build/packages/core/src/MatchMaker.js.map +0 -1
  2899. package/build/packages/core/src/MatchMaker.mjs +0 -382
  2900. package/build/packages/core/src/MatchMaker.mjs.map +0 -1
  2901. package/build/packages/core/src/Protocol.js +0 -164
  2902. package/build/packages/core/src/Protocol.js.map +0 -1
  2903. package/build/packages/core/src/Protocol.mjs +0 -154
  2904. package/build/packages/core/src/Protocol.mjs.map +0 -1
  2905. package/build/packages/core/src/Room.js +0 -569
  2906. package/build/packages/core/src/Room.js.map +0 -1
  2907. package/build/packages/core/src/Room.mjs +0 -559
  2908. package/build/packages/core/src/Room.mjs.map +0 -1
  2909. package/build/packages/core/src/Server.js +0 -222
  2910. package/build/packages/core/src/Server.js.map +0 -1
  2911. package/build/packages/core/src/Server.mjs +0 -218
  2912. package/build/packages/core/src/Server.mjs.map +0 -1
  2913. package/build/packages/core/src/Transport.js +0 -17
  2914. package/build/packages/core/src/Transport.js.map +0 -1
  2915. package/build/packages/core/src/Transport.mjs +0 -13
  2916. package/build/packages/core/src/Transport.mjs.map +0 -1
  2917. package/build/packages/core/src/Utils.js +0 -225
  2918. package/build/packages/core/src/Utils.js.map +0 -1
  2919. package/build/packages/core/src/Utils.mjs +0 -209
  2920. package/build/packages/core/src/Utils.mjs.map +0 -1
  2921. package/build/packages/core/src/discovery/index.js +0 -31
  2922. package/build/packages/core/src/discovery/index.js.map +0 -1
  2923. package/build/packages/core/src/discovery/index.mjs +0 -22
  2924. package/build/packages/core/src/discovery/index.mjs.map +0 -1
  2925. package/build/packages/core/src/errors/SeatReservationError.js +0 -12
  2926. package/build/packages/core/src/errors/SeatReservationError.js.map +0 -1
  2927. package/build/packages/core/src/errors/SeatReservationError.mjs +0 -8
  2928. package/build/packages/core/src/errors/SeatReservationError.mjs.map +0 -1
  2929. package/build/packages/core/src/errors/ServerError.js +0 -21
  2930. package/build/packages/core/src/errors/ServerError.js.map +0 -1
  2931. package/build/packages/core/src/errors/ServerError.mjs +0 -17
  2932. package/build/packages/core/src/errors/ServerError.mjs.map +0 -1
  2933. package/build/packages/core/src/index.js +0 -96
  2934. package/build/packages/core/src/index.js.map +0 -1
  2935. package/build/packages/core/src/index.mjs +0 -19
  2936. package/build/packages/core/src/index.mjs.map +0 -1
  2937. package/build/packages/core/src/matchmaker/Lobby.js +0 -31
  2938. package/build/packages/core/src/matchmaker/Lobby.js.map +0 -1
  2939. package/build/packages/core/src/matchmaker/Lobby.mjs +0 -26
  2940. package/build/packages/core/src/matchmaker/Lobby.mjs.map +0 -1
  2941. package/build/packages/core/src/matchmaker/RegisteredHandler.js +0 -72
  2942. package/build/packages/core/src/matchmaker/RegisteredHandler.js.map +0 -1
  2943. package/build/packages/core/src/matchmaker/RegisteredHandler.mjs +0 -67
  2944. package/build/packages/core/src/matchmaker/RegisteredHandler.mjs.map +0 -1
  2945. package/build/packages/core/src/matchmaker/controller.js +0 -46
  2946. package/build/packages/core/src/matchmaker/controller.js.map +0 -1
  2947. package/build/packages/core/src/matchmaker/controller.mjs +0 -39
  2948. package/build/packages/core/src/matchmaker/controller.mjs.map +0 -1
  2949. package/build/packages/core/src/matchmaker/driver/Query.js +0 -53
  2950. package/build/packages/core/src/matchmaker/driver/Query.js.map +0 -1
  2951. package/build/packages/core/src/matchmaker/driver/Query.mjs +0 -49
  2952. package/build/packages/core/src/matchmaker/driver/Query.mjs.map +0 -1
  2953. package/build/packages/core/src/matchmaker/driver/RoomData.js +0 -80
  2954. package/build/packages/core/src/matchmaker/driver/RoomData.js.map +0 -1
  2955. package/build/packages/core/src/matchmaker/driver/RoomData.mjs +0 -76
  2956. package/build/packages/core/src/matchmaker/driver/RoomData.mjs.map +0 -1
  2957. package/build/packages/core/src/matchmaker/driver/index.js +0 -34
  2958. package/build/packages/core/src/matchmaker/driver/index.js.map +0 -1
  2959. package/build/packages/core/src/matchmaker/driver/index.mjs +0 -30
  2960. package/build/packages/core/src/matchmaker/driver/index.mjs.map +0 -1
  2961. package/build/packages/core/src/presence/LocalPresence.js +0 -156
  2962. package/build/packages/core/src/presence/LocalPresence.js.map +0 -1
  2963. package/build/packages/core/src/presence/LocalPresence.mjs +0 -152
  2964. package/build/packages/core/src/presence/LocalPresence.mjs.map +0 -1
  2965. package/build/packages/core/src/rooms/LobbyRoom.js +0 -101
  2966. package/build/packages/core/src/rooms/LobbyRoom.js.map +0 -1
  2967. package/build/packages/core/src/rooms/LobbyRoom.mjs +0 -97
  2968. package/build/packages/core/src/rooms/LobbyRoom.mjs.map +0 -1
  2969. package/build/packages/core/src/rooms/RelayRoom.js +0 -79
  2970. package/build/packages/core/src/rooms/RelayRoom.js.map +0 -1
  2971. package/build/packages/core/src/rooms/RelayRoom.mjs +0 -75
  2972. package/build/packages/core/src/rooms/RelayRoom.mjs.map +0 -1
  2973. package/build/packages/core/src/serializer/NoneSerializer.js +0 -19
  2974. package/build/packages/core/src/serializer/NoneSerializer.js.map +0 -1
  2975. package/build/packages/core/src/serializer/NoneSerializer.mjs +0 -15
  2976. package/build/packages/core/src/serializer/NoneSerializer.mjs.map +0 -1
  2977. package/build/packages/core/src/serializer/SchemaSerializer.js +0 -85
  2978. package/build/packages/core/src/serializer/SchemaSerializer.js.map +0 -1
  2979. package/build/packages/core/src/serializer/SchemaSerializer.mjs +0 -81
  2980. package/build/packages/core/src/serializer/SchemaSerializer.mjs.map +0 -1
  2981. package/build/packages/drivers/mongoose-driver/build/index.mjs +0 -23
  2982. package/build/packages/drivers/mongoose-driver/build/index.mjs.js +0 -25
  2983. package/build/packages/drivers/mongoose-driver/build/index.mjs.js.map +0 -1
  2984. package/build/packages/drivers/mongoose-driver/build/index.mjs.map +0 -1
  2985. package/build/packages/transport/ws-transport/build/WebSocketClient.mjs +0 -70
  2986. package/build/packages/transport/ws-transport/build/WebSocketClient.mjs.js +0 -74
  2987. package/build/packages/transport/ws-transport/build/WebSocketClient.mjs.js.map +0 -1
  2988. package/build/packages/transport/ws-transport/build/WebSocketClient.mjs.map +0 -1
  2989. package/build/packages/transport/ws-transport/build/WebSocketTransport.mjs +0 -102
  2990. package/build/packages/transport/ws-transport/build/WebSocketTransport.mjs.js +0 -110
  2991. package/build/packages/transport/ws-transport/build/WebSocketTransport.mjs.js.map +0 -1
  2992. package/build/packages/transport/ws-transport/build/WebSocketTransport.mjs.map +0 -1
@@ -1,2288 +0,0 @@
1
- import util from 'util';
2
- import utils from './utils.mjs';
3
- import core from './core/index.mjs';
4
- import unordered from './bulk/unordered.mjs';
5
- import ordered from './bulk/ordered.mjs';
6
- import change_stream from './change_stream.mjs';
7
- import write_concern from './write_concern.mjs';
8
- import read_concern from './read_concern.mjs';
9
- import aggregation_cursor from './aggregation_cursor.mjs';
10
- import command_cursor from './command_cursor.mjs';
11
- import collection_ops from './operations/collection_ops.mjs';
12
- import common_functions from './operations/common_functions.mjs';
13
- import aggregate from './operations/aggregate.mjs';
14
- import bulk_write from './operations/bulk_write.mjs';
15
- import count_documents from './operations/count_documents.mjs';
16
- import create_indexes from './operations/create_indexes.mjs';
17
- import delete_many from './operations/delete_many.mjs';
18
- import delete_one from './operations/delete_one.mjs';
19
- import distinct from './operations/distinct.mjs';
20
- import drop from './operations/drop.mjs';
21
- import drop_index from './operations/drop_index.mjs';
22
- import drop_indexes from './operations/drop_indexes.mjs';
23
- import estimated_document_count from './operations/estimated_document_count.mjs';
24
- import find from './operations/find.mjs';
25
- import find_one from './operations/find_one.mjs';
26
- import find_and_modify from './operations/find_and_modify.mjs';
27
- import find_one_and_delete from './operations/find_one_and_delete.mjs';
28
- import find_one_and_replace from './operations/find_one_and_replace.mjs';
29
- import find_one_and_update from './operations/find_one_and_update.mjs';
30
- import geo_haystack_search from './operations/geo_haystack_search.mjs';
31
- import indexes from './operations/indexes.mjs';
32
- import index_exists from './operations/index_exists.mjs';
33
- import index_information from './operations/index_information.mjs';
34
- import insert_many from './operations/insert_many.mjs';
35
- import insert_one from './operations/insert_one.mjs';
36
- import is_capped from './operations/is_capped.mjs';
37
- import list_indexes from './operations/list_indexes.mjs';
38
- import map_reduce from './operations/map_reduce.mjs';
39
- import options_operation from './operations/options_operation.mjs';
40
- import rename from './operations/rename.mjs';
41
- import re_index from './operations/re_index.mjs';
42
- import replace_one from './operations/replace_one.mjs';
43
- import stats from './operations/stats.mjs';
44
- import update_many from './operations/update_many.mjs';
45
- import update_one from './operations/update_one.mjs';
46
- import execute_operation from './operations/execute_operation.mjs';
47
-
48
- const deprecate = util.deprecate;
49
- const deprecateOptions = utils.deprecateOptions;
50
- const emitWarningOnce = utils.emitWarningOnce;
51
- const checkCollectionName = utils.checkCollectionName;
52
- const ObjectID = core.BSON.ObjectID;
53
- const MongoError = core.MongoError;
54
- const normalizeHintField = utils.normalizeHintField;
55
- const decorateCommand = utils.decorateCommand;
56
- const decorateWithCollation = utils.decorateWithCollation;
57
- const decorateWithReadConcern = utils.decorateWithReadConcern;
58
- const formattedOrderClause = utils.formattedOrderClause;
59
- const ReadPreference = core.ReadPreference;
60
-
61
-
62
-
63
- const executeLegacyOperation = utils.executeLegacyOperation;
64
-
65
-
66
- const MongoDBNamespace = utils.MongoDBNamespace;
67
-
68
-
69
-
70
- // Operations
71
- const ensureIndex = collection_ops.ensureIndex;
72
- const group = collection_ops.group;
73
- const parallelCollectionScan = collection_ops.parallelCollectionScan;
74
- const removeDocuments = common_functions.removeDocuments;
75
- const save = collection_ops.save;
76
- const updateDocuments = common_functions.updateDocuments;
77
-
78
-
79
-
80
-
81
-
82
-
83
-
84
-
85
- const DropCollectionOperation = drop.DropCollectionOperation;
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
-
111
-
112
-
113
-
114
- /**
115
- * @fileOverview The **Collection** class is an internal class that embodies a MongoDB collection
116
- * allowing for insert/update/remove/find and other command operation on that MongoDB collection.
117
- *
118
- * **COLLECTION Cannot directly be instantiated**
119
- * @example
120
- * const MongoClient = require('mongodb').MongoClient;
121
- * const test = require('assert');
122
- * // Connection url
123
- * const url = 'mongodb://localhost:27017';
124
- * // Database Name
125
- * const dbName = 'test';
126
- * // Connect using MongoClient
127
- * MongoClient.connect(url, function(err, client) {
128
- * // Create a collection we want to drop later
129
- * const col = client.db(dbName).collection('createIndexExample1');
130
- * // Show that duplicate records got dropped
131
- * col.find({}).toArray(function(err, items) {
132
- * test.equal(null, err);
133
- * test.equal(4, items.length);
134
- * client.close();
135
- * });
136
- * });
137
- */
138
-
139
- const mergeKeys = ['ignoreUndefined'];
140
-
141
- /**
142
- * Create a new Collection instance (INTERNAL TYPE, do not instantiate directly)
143
- * @class
144
- */
145
- function Collection(db, topology, dbName, name, pkFactory, options) {
146
- checkCollectionName(name);
147
-
148
- // Unpack variables
149
- const internalHint = null;
150
- const slaveOk = options == null || options.slaveOk == null ? db.slaveOk : options.slaveOk;
151
- const serializeFunctions =
152
- options == null || options.serializeFunctions == null
153
- ? db.s.options.serializeFunctions
154
- : options.serializeFunctions;
155
- const raw = options == null || options.raw == null ? db.s.options.raw : options.raw;
156
- const promoteLongs =
157
- options == null || options.promoteLongs == null
158
- ? db.s.options.promoteLongs
159
- : options.promoteLongs;
160
- const promoteValues =
161
- options == null || options.promoteValues == null
162
- ? db.s.options.promoteValues
163
- : options.promoteValues;
164
- const promoteBuffers =
165
- options == null || options.promoteBuffers == null
166
- ? db.s.options.promoteBuffers
167
- : options.promoteBuffers;
168
- const collectionHint = null;
169
-
170
- const namespace = new MongoDBNamespace(dbName, name);
171
-
172
- // Get the promiseLibrary
173
- const promiseLibrary = options.promiseLibrary || Promise;
174
-
175
- // Set custom primary key factory if provided
176
- pkFactory = pkFactory == null ? ObjectID : pkFactory;
177
-
178
- // Internal state
179
- this.s = {
180
- // Set custom primary key factory if provided
181
- pkFactory: pkFactory,
182
- // Db
183
- db: db,
184
- // Topology
185
- topology: topology,
186
- // Options
187
- options: options,
188
- // Namespace
189
- namespace: namespace,
190
- // Read preference
191
- readPreference: ReadPreference.fromOptions(options),
192
- // SlaveOK
193
- slaveOk: slaveOk,
194
- // Serialize functions
195
- serializeFunctions: serializeFunctions,
196
- // Raw
197
- raw: raw,
198
- // promoteLongs
199
- promoteLongs: promoteLongs,
200
- // promoteValues
201
- promoteValues: promoteValues,
202
- // promoteBuffers
203
- promoteBuffers: promoteBuffers,
204
- // internalHint
205
- internalHint: internalHint,
206
- // collectionHint
207
- collectionHint: collectionHint,
208
- // Promise library
209
- promiseLibrary: promiseLibrary,
210
- // Read Concern
211
- readConcern: read_concern.fromOptions(options),
212
- // Write Concern
213
- writeConcern: write_concern.fromOptions(options)
214
- };
215
- }
216
-
217
- /**
218
- * The name of the database this collection belongs to
219
- * @member {string} dbName
220
- * @memberof Collection#
221
- * @readonly
222
- */
223
- Object.defineProperty(Collection.prototype, 'dbName', {
224
- enumerable: true,
225
- get: function() {
226
- return this.s.namespace.db;
227
- }
228
- });
229
-
230
- /**
231
- * The name of this collection
232
- * @member {string} collectionName
233
- * @memberof Collection#
234
- * @readonly
235
- */
236
- Object.defineProperty(Collection.prototype, 'collectionName', {
237
- enumerable: true,
238
- get: function() {
239
- return this.s.namespace.collection;
240
- }
241
- });
242
-
243
- /**
244
- * The namespace of this collection, in the format `${this.dbName}.${this.collectionName}`
245
- * @member {string} namespace
246
- * @memberof Collection#
247
- * @readonly
248
- */
249
- Object.defineProperty(Collection.prototype, 'namespace', {
250
- enumerable: true,
251
- get: function() {
252
- return this.s.namespace.toString();
253
- }
254
- });
255
-
256
- /**
257
- * The current readConcern of the collection. If not explicitly defined for
258
- * this collection, will be inherited from the parent DB
259
- * @member {ReadConcern} [readConcern]
260
- * @memberof Collection#
261
- * @readonly
262
- */
263
- Object.defineProperty(Collection.prototype, 'readConcern', {
264
- enumerable: true,
265
- get: function() {
266
- if (this.s.readConcern == null) {
267
- return this.s.db.readConcern;
268
- }
269
- return this.s.readConcern;
270
- }
271
- });
272
-
273
- /**
274
- * The current readPreference of the collection. If not explicitly defined for
275
- * this collection, will be inherited from the parent DB
276
- * @member {ReadPreference} [readPreference]
277
- * @memberof Collection#
278
- * @readonly
279
- */
280
- Object.defineProperty(Collection.prototype, 'readPreference', {
281
- enumerable: true,
282
- get: function() {
283
- if (this.s.readPreference == null) {
284
- return this.s.db.readPreference;
285
- }
286
-
287
- return this.s.readPreference;
288
- }
289
- });
290
-
291
- /**
292
- * The current writeConcern of the collection. If not explicitly defined for
293
- * this collection, will be inherited from the parent DB
294
- * @member {WriteConcern} [writeConcern]
295
- * @memberof Collection#
296
- * @readonly
297
- */
298
- Object.defineProperty(Collection.prototype, 'writeConcern', {
299
- enumerable: true,
300
- get: function() {
301
- if (this.s.writeConcern == null) {
302
- return this.s.db.writeConcern;
303
- }
304
- return this.s.writeConcern;
305
- }
306
- });
307
-
308
- /**
309
- * The current index hint for the collection
310
- * @member {object} [hint]
311
- * @memberof Collection#
312
- */
313
- Object.defineProperty(Collection.prototype, 'hint', {
314
- enumerable: true,
315
- get: function() {
316
- return this.s.collectionHint;
317
- },
318
- set: function(v) {
319
- this.s.collectionHint = normalizeHintField(v);
320
- }
321
- });
322
-
323
- const DEPRECATED_FIND_OPTIONS = ['maxScan', 'fields', 'snapshot', 'oplogReplay'];
324
-
325
- /**
326
- * Creates a cursor for a query that can be used to iterate over results from MongoDB
327
- * @method
328
- * @param {object} [query={}] The cursor query object.
329
- * @param {object} [options] Optional settings.
330
- * @param {number} [options.limit=0] Sets the limit of documents returned in the query.
331
- * @param {(array|object)} [options.sort] Set to sort the documents coming back from the query. Array of indexes, [['a', 1]] etc.
332
- * @param {object} [options.projection] The fields to return in the query. Object of fields to either include or exclude (one of, not both), {'a':1, 'b': 1} **or** {'a': 0, 'b': 0}
333
- * @param {object} [options.fields] **Deprecated** Use `options.projection` instead
334
- * @param {number} [options.skip=0] Set to skip N documents ahead in your query (useful for pagination).
335
- * @param {Object} [options.hint] Tell the query to use specific indexes in the query. Object of indexes to use, {'_id':1}
336
- * @param {boolean} [options.snapshot=false] DEPRECATED: Snapshot query.
337
- * @param {boolean} [options.timeout=false] Specify if the cursor can timeout.
338
- * @param {boolean} [options.tailable=false] Specify if the cursor is tailable.
339
- * @param {boolean} [options.awaitData=false] Specify if the cursor is a a tailable-await cursor. Requires `tailable` to be true
340
- * @param {number} [options.batchSize=1000] Set the batchSize for the getMoreCommand when iterating over the query results.
341
- * @param {boolean} [options.returnKey=false] Only return the index key.
342
- * @param {number} [options.maxScan] DEPRECATED: Limit the number of items to scan.
343
- * @param {number} [options.min] Set index bounds.
344
- * @param {number} [options.max] Set index bounds.
345
- * @param {boolean} [options.showDiskLoc=false] Show disk location of results.
346
- * @param {string} [options.comment] You can put a $comment field on a query to make looking in the profiler logs simpler.
347
- * @param {boolean} [options.raw=false] Return document results as raw BSON buffers.
348
- * @param {boolean} [options.promoteLongs=true] Promotes Long values to number if they fit inside the 53 bits resolution.
349
- * @param {boolean} [options.promoteValues=true] Promotes BSON values to native types where possible, set to false to only receive wrapper types.
350
- * @param {boolean} [options.promoteBuffers=false] Promotes Binary BSON values to native Node Buffers.
351
- * @param {(ReadPreference|string)} [options.readPreference] The preferred read preference (ReadPreference.PRIMARY, ReadPreference.PRIMARY_PREFERRED, ReadPreference.SECONDARY, ReadPreference.SECONDARY_PREFERRED, ReadPreference.NEAREST).
352
- * @param {boolean} [options.partial=false] Specify if the cursor should return partial results when querying against a sharded system
353
- * @param {number} [options.maxTimeMS] Number of milliseconds to wait before aborting the query.
354
- * @param {number} [options.maxAwaitTimeMS] The maximum amount of time for the server to wait on new documents to satisfy a tailable cursor query. Requires `tailable` and `awaitData` to be true
355
- * @param {boolean} [options.noCursorTimeout] The server normally times out idle cursors after an inactivity period (10 minutes) to prevent excess memory use. Set this option to prevent that.
356
- * @param {object} [options.collation] Specify collation (MongoDB 3.4 or higher) settings for update operation (see 3.4 documentation for available fields).
357
- * @param {boolean} [options.allowDiskUse] Enables writing to temporary files on the server.
358
- * @param {'queryPlanner'|'queryPlannerExtended'|'executionStats'|'allPlansExecution'|boolean} [options.explain] The verbosity mode for the explain output.
359
- * @param {ClientSession} [options.session] optional session to use for this operation
360
- * @throws {MongoError}
361
- * @return {Cursor}
362
- */
363
- Collection.prototype.find = deprecateOptions(
364
- {
365
- name: 'collection.find',
366
- deprecatedOptions: DEPRECATED_FIND_OPTIONS,
367
- optionsIndex: 1
368
- },
369
- function(query, options, callback) {
370
- if (typeof callback === 'object') {
371
- // TODO(MAJOR): throw in the future
372
- emitWarningOnce('Third parameter to `find()` must be a callback or undefined');
373
- }
374
-
375
- let selector = query;
376
- // figuring out arguments
377
- if (typeof callback !== 'function') {
378
- if (typeof options === 'function') {
379
- callback = options;
380
- options = undefined;
381
- } else if (options == null) {
382
- callback = typeof selector === 'function' ? selector : undefined;
383
- selector = typeof selector === 'object' ? selector : undefined;
384
- }
385
- }
386
-
387
- // Ensure selector is not null
388
- selector = selector == null ? {} : selector;
389
- // Validate correctness off the selector
390
- const object = selector;
391
- if (Buffer.isBuffer(object)) {
392
- const object_size = object[0] | (object[1] << 8) | (object[2] << 16) | (object[3] << 24);
393
- if (object_size !== object.length) {
394
- const error = new Error(
395
- 'query selector raw message size does not match message header size [' +
396
- object.length +
397
- '] != [' +
398
- object_size +
399
- ']'
400
- );
401
- error.name = 'MongoError';
402
- throw error;
403
- }
404
- }
405
-
406
- // Check special case where we are using an objectId
407
- if (selector != null && selector._bsontype === 'ObjectID') {
408
- selector = { _id: selector };
409
- }
410
-
411
- if (!options) options = {};
412
-
413
- let projection = options.projection || options.fields;
414
-
415
- if (projection && !Buffer.isBuffer(projection) && Array.isArray(projection)) {
416
- projection = projection.length
417
- ? projection.reduce((result, field) => {
418
- result[field] = 1;
419
- return result;
420
- }, {})
421
- : { _id: 1 };
422
- }
423
-
424
- // Make a shallow copy of options
425
- let newOptions = Object.assign({}, options);
426
-
427
- // Make a shallow copy of the collection options
428
- for (let key in this.s.options) {
429
- if (mergeKeys.indexOf(key) !== -1) {
430
- newOptions[key] = this.s.options[key];
431
- }
432
- }
433
-
434
- // Unpack options
435
- newOptions.skip = options.skip ? options.skip : 0;
436
- newOptions.limit = options.limit ? options.limit : 0;
437
- newOptions.raw = typeof options.raw === 'boolean' ? options.raw : this.s.raw;
438
- newOptions.hint =
439
- options.hint != null ? normalizeHintField(options.hint) : this.s.collectionHint;
440
- newOptions.timeout = typeof options.timeout === 'undefined' ? undefined : options.timeout;
441
- // // If we have overridden slaveOk otherwise use the default db setting
442
- newOptions.slaveOk = options.slaveOk != null ? options.slaveOk : this.s.db.slaveOk;
443
-
444
- // Add read preference if needed
445
- newOptions.readPreference = ReadPreference.resolve(this, newOptions);
446
-
447
- // Set slave ok to true if read preference different from primary
448
- if (
449
- newOptions.readPreference != null &&
450
- (newOptions.readPreference !== 'primary' || newOptions.readPreference.mode !== 'primary')
451
- ) {
452
- newOptions.slaveOk = true;
453
- }
454
-
455
- // Ensure the query is an object
456
- if (selector != null && typeof selector !== 'object') {
457
- throw MongoError.create({ message: 'query selector must be an object', driver: true });
458
- }
459
-
460
- // Build the find command
461
- const findCommand = {
462
- find: this.s.namespace.toString(),
463
- limit: newOptions.limit,
464
- skip: newOptions.skip,
465
- query: selector
466
- };
467
-
468
- if (typeof options.allowDiskUse === 'boolean') {
469
- findCommand.allowDiskUse = options.allowDiskUse;
470
- }
471
-
472
- // Ensure we use the right await data option
473
- if (typeof newOptions.awaitdata === 'boolean') {
474
- newOptions.awaitData = newOptions.awaitdata;
475
- }
476
-
477
- // Translate to new command option noCursorTimeout
478
- if (typeof newOptions.timeout === 'boolean') newOptions.noCursorTimeout = !newOptions.timeout;
479
-
480
- decorateCommand(findCommand, newOptions, ['session', 'collation']);
481
-
482
- if (projection) findCommand.fields = projection;
483
-
484
- // Add db object to the new options
485
- newOptions.db = this.s.db;
486
-
487
- // Add the promise library
488
- newOptions.promiseLibrary = this.s.promiseLibrary;
489
-
490
- // Set raw if available at collection level
491
- if (newOptions.raw == null && typeof this.s.raw === 'boolean') newOptions.raw = this.s.raw;
492
- // Set promoteLongs if available at collection level
493
- if (newOptions.promoteLongs == null && typeof this.s.promoteLongs === 'boolean')
494
- newOptions.promoteLongs = this.s.promoteLongs;
495
- if (newOptions.promoteValues == null && typeof this.s.promoteValues === 'boolean')
496
- newOptions.promoteValues = this.s.promoteValues;
497
- if (newOptions.promoteBuffers == null && typeof this.s.promoteBuffers === 'boolean')
498
- newOptions.promoteBuffers = this.s.promoteBuffers;
499
-
500
- // Sort options
501
- if (findCommand.sort) {
502
- findCommand.sort = formattedOrderClause(findCommand.sort);
503
- }
504
-
505
- // Set the readConcern
506
- decorateWithReadConcern(findCommand, this, options);
507
-
508
- // Decorate find command with collation options
509
- try {
510
- decorateWithCollation(findCommand, this, options);
511
- } catch (err) {
512
- if (typeof callback === 'function') return callback(err, null);
513
- throw err;
514
- }
515
-
516
- const cursor = this.s.topology.cursor(
517
- new find(this, this.s.namespace, findCommand, newOptions),
518
- newOptions
519
- );
520
-
521
- // TODO: remove this when NODE-2074 is resolved
522
- if (typeof callback === 'function') {
523
- callback(null, cursor);
524
- return;
525
- }
526
-
527
- return cursor;
528
- }
529
- );
530
-
531
- /**
532
- * Inserts a single document into MongoDB. If documents passed in do not contain the **_id** field,
533
- * one will be added to each of the documents missing it by the driver, mutating the document. This behavior
534
- * can be overridden by setting the **forceServerObjectId** flag.
535
- *
536
- * @method
537
- * @param {object} doc Document to insert.
538
- * @param {object} [options] Optional settings.
539
- * @param {boolean} [options.bypassDocumentValidation=false] Allow driver to bypass schema validation in MongoDB 3.2 or higher.
540
- * @param {boolean} [options.forceServerObjectId=false] Force server to assign _id values instead of driver.
541
- * @param {(number|string)} [options.w] **Deprecated** The write concern. Use writeConcern instead.
542
- * @param {number} [options.wtimeout] **Deprecated** The write concern timeout. Use writeConcern instead.
543
- * @param {boolean} [options.j=false] **Deprecated** Specify a journal write concern. Use writeConcern instead.
544
- * @param {object|WriteConcern} [options.writeConcern] Specify write concern settings.
545
- * @param {boolean} [options.checkKeys=true] If true, will throw if bson documents start with `$` or include a `.` in any key value
546
- * @param {boolean} [options.serializeFunctions=false] Serialize functions on any object.
547
- * @param {boolean} [options.ignoreUndefined=false] Specify if the BSON serializer should ignore undefined fields.
548
- * @param {ClientSession} [options.session] optional session to use for this operation
549
- * @param {Collection~insertOneWriteOpCallback} [callback] The command result callback
550
- * @return {Promise} returns Promise if no callback passed
551
- */
552
- Collection.prototype.insertOne = function(doc, options, callback) {
553
- if (typeof options === 'function') (callback = options), (options = {});
554
- options = options || {};
555
-
556
- // Add ignoreUndefined
557
- if (this.s.options.ignoreUndefined) {
558
- options = Object.assign({}, options);
559
- options.ignoreUndefined = this.s.options.ignoreUndefined;
560
- }
561
-
562
- const insertOneOperation = new insert_one(this, doc, options);
563
-
564
- return execute_operation(this.s.topology, insertOneOperation, callback);
565
- };
566
-
567
- /**
568
- * Inserts an array of documents into MongoDB. If documents passed in do not contain the **_id** field,
569
- * one will be added to each of the documents missing it by the driver, mutating the document. This behavior
570
- * can be overridden by setting the **forceServerObjectId** flag.
571
- *
572
- * @method
573
- * @param {object[]} docs Documents to insert.
574
- * @param {object} [options] Optional settings.
575
- * @param {boolean} [options.bypassDocumentValidation=false] Allow driver to bypass schema validation in MongoDB 3.2 or higher.
576
- * @param {boolean} [options.ordered=true] If true, when an insert fails, don't execute the remaining writes. If false, continue with remaining inserts when one fails.
577
- * @param {boolean} [options.forceServerObjectId=false] Force server to assign _id values instead of driver.
578
- * @param {(number|string)} [options.w] **Deprecated** The write concern. Use writeConcern instead.
579
- * @param {number} [options.wtimeout] **Deprecated** The write concern timeout. Use writeConcern instead.
580
- * @param {boolean} [options.j=false] **Deprecated** Specify a journal write concern. Use writeConcern instead.
581
- * @param {object|WriteConcern} [options.writeConcern] Specify write concern settings.
582
- * @param {boolean} [options.checkKeys=true] If true, will throw if bson documents start with `$` or include a `.` in any key value
583
- * @param {boolean} [options.serializeFunctions=false] Serialize functions on any object.
584
- * @param {boolean} [options.ignoreUndefined=false] Specify if the BSON serializer should ignore undefined fields.
585
- * @param {ClientSession} [options.session] optional session to use for this operation
586
- * @param {Collection~insertWriteOpCallback} [callback] The command result callback
587
- * @return {Promise} returns Promise if no callback passed
588
- */
589
- Collection.prototype.insertMany = function(docs, options, callback) {
590
- if (typeof options === 'function') (callback = options), (options = {});
591
- options = options ? Object.assign({}, options) : { ordered: true };
592
-
593
- const insertManyOperation = new insert_many(this, docs, options);
594
-
595
- return execute_operation(this.s.topology, insertManyOperation, callback);
596
- };
597
-
598
- /**
599
- * @typedef {Object} Collection~BulkWriteOpResult
600
- * @property {number} insertedCount Number of documents inserted.
601
- * @property {number} matchedCount Number of documents matched for update.
602
- * @property {number} modifiedCount Number of documents modified.
603
- * @property {number} deletedCount Number of documents deleted.
604
- * @property {number} upsertedCount Number of documents upserted.
605
- * @property {object} insertedIds Inserted document generated Id's, hash key is the index of the originating operation
606
- * @property {object} upsertedIds Upserted document generated Id's, hash key is the index of the originating operation
607
- * @property {object} result The command result object.
608
- */
609
-
610
- /**
611
- * The callback format for inserts
612
- * @callback Collection~bulkWriteOpCallback
613
- * @param {BulkWriteError} error An error instance representing the error during the execution.
614
- * @param {Collection~BulkWriteOpResult} result The result object if the command was executed successfully.
615
- */
616
-
617
- /**
618
- * Perform a bulkWrite operation without a fluent API
619
- *
620
- * Legal operation types are
621
- *
622
- * { insertOne: { document: { a: 1 } } }
623
- *
624
- * { updateOne: { filter: {a:2}, update: {$set: {a:2}}, upsert:true } }
625
- *
626
- * { updateMany: { filter: {a:2}, update: {$set: {a:2}}, upsert:true } }
627
- *
628
- * { updateMany: { filter: {}, update: {$set: {"a.$[i].x": 5}}, arrayFilters: [{ "i.x": 5 }]} }
629
- *
630
- * { deleteOne: { filter: {c:1} } }
631
- *
632
- * { deleteMany: { filter: {c:1} } }
633
- *
634
- * { replaceOne: { filter: {c:3}, replacement: {c:4}, upsert:true}}
635
- *
636
- * If documents passed in do not contain the **_id** field,
637
- * one will be added to each of the documents missing it by the driver, mutating the document. This behavior
638
- * can be overridden by setting the **forceServerObjectId** flag.
639
- *
640
- * @method
641
- * @param {object[]} operations Bulk operations to perform.
642
- * @param {object} [options] Optional settings.
643
- * @param {boolean} [options.ordered=true] Execute write operation in ordered or unordered fashion.
644
- * @param {boolean} [options.bypassDocumentValidation=false] Allow driver to bypass schema validation in MongoDB 3.2 or higher.
645
- * @param {object[]} [options.arrayFilters] Determines which array elements to modify for update operation in MongoDB 3.6 or higher.
646
- * @param {(number|string)} [options.w] **Deprecated** The write concern. Use writeConcern instead.
647
- * @param {number} [options.wtimeout] **Deprecated** The write concern timeout. Use writeConcern instead.
648
- * @param {boolean} [options.j=false] **Deprecated** Specify a journal write concern. Use writeConcern instead.
649
- * @param {object|WriteConcern} [options.writeConcern] Specify write concern settings.
650
- * @param {boolean} [options.checkKeys=false] If true, will throw if bson documents start with `$` or include a `.` in any key value
651
- * @param {boolean} [options.serializeFunctions=false] Serialize functions on any object.
652
- * @param {boolean} [options.ignoreUndefined=false] Specify if the BSON serializer should ignore undefined fields.
653
- * @param {ClientSession} [options.session] optional session to use for this operation
654
- * @param {Collection~bulkWriteOpCallback} [callback] The command result callback
655
- * @return {Promise} returns Promise if no callback passed
656
- */
657
- Collection.prototype.bulkWrite = function(operations, options, callback) {
658
- if (typeof options === 'function') (callback = options), (options = {});
659
- options = options || { ordered: true };
660
-
661
- if (!Array.isArray(operations)) {
662
- throw MongoError.create({ message: 'operations must be an array of documents', driver: true });
663
- }
664
-
665
- const bulkWriteOperation = new bulk_write(this, operations, options);
666
-
667
- return execute_operation(this.s.topology, bulkWriteOperation, callback);
668
- };
669
-
670
- /**
671
- * @typedef {Object} Collection~WriteOpResult
672
- * @property {object[]} ops All the documents inserted using insertOne/insertMany/replaceOne. Documents contain the _id field if forceServerObjectId == false for insertOne/insertMany
673
- * @property {object} connection The connection object used for the operation.
674
- * @property {object} result The command result object.
675
- */
676
-
677
- /**
678
- * The callback format for inserts
679
- * @callback Collection~writeOpCallback
680
- * @param {MongoError} error An error instance representing the error during the execution.
681
- * @param {Collection~WriteOpResult} result The result object if the command was executed successfully.
682
- */
683
-
684
- /**
685
- * @typedef {Object} Collection~insertWriteOpResult
686
- * @property {number} insertedCount The total amount of documents inserted.
687
- * @property {object[]} ops All the documents inserted using insertOne/insertMany/replaceOne. Documents contain the _id field if forceServerObjectId == false for insertOne/insertMany
688
- * @property {Object.<Number, ObjectId>} insertedIds Map of the index of the inserted document to the id of the inserted document.
689
- * @property {object} connection The connection object used for the operation.
690
- * @property {object} result The raw command result object returned from MongoDB (content might vary by server version).
691
- * @property {number} result.ok Is 1 if the command executed correctly.
692
- * @property {number} result.n The total count of documents inserted.
693
- */
694
-
695
- /**
696
- * @typedef {Object} Collection~insertOneWriteOpResult
697
- * @property {number} insertedCount The total amount of documents inserted.
698
- * @property {object[]} ops All the documents inserted using insertOne/insertMany/replaceOne. Documents contain the _id field if forceServerObjectId == false for insertOne/insertMany
699
- * @property {ObjectId} insertedId The driver generated ObjectId for the insert operation.
700
- * @property {object} connection The connection object used for the operation.
701
- * @property {object} result The raw command result object returned from MongoDB (content might vary by server version).
702
- * @property {number} result.ok Is 1 if the command executed correctly.
703
- * @property {number} result.n The total count of documents inserted.
704
- */
705
-
706
- /**
707
- * The callback format for inserts
708
- * @callback Collection~insertWriteOpCallback
709
- * @param {MongoError} error An error instance representing the error during the execution.
710
- * @param {Collection~insertWriteOpResult} result The result object if the command was executed successfully.
711
- */
712
-
713
- /**
714
- * The callback format for inserts
715
- * @callback Collection~insertOneWriteOpCallback
716
- * @param {MongoError} error An error instance representing the error during the execution.
717
- * @param {Collection~insertOneWriteOpResult} result The result object if the command was executed successfully.
718
- */
719
-
720
- /**
721
- * Inserts a single document or a an array of documents into MongoDB. If documents passed in do not contain the **_id** field,
722
- * one will be added to each of the documents missing it by the driver, mutating the document. This behavior
723
- * can be overridden by setting the **forceServerObjectId** flag.
724
- *
725
- * @method
726
- * @param {(object|object[])} docs Documents to insert.
727
- * @param {object} [options] Optional settings.
728
- * @param {(number|string)} [options.w] **Deprecated** The write concern. Use writeConcern instead.
729
- * @param {number} [options.wtimeout] **Deprecated** The write concern timeout. Use writeConcern instead.
730
- * @param {boolean} [options.j=false] **Deprecated** Specify a journal write concern. Use writeConcern instead.
731
- * @param {object|WriteConcern} [options.writeConcern] Specify write concern settings.
732
- * @param {boolean} [options.serializeFunctions=false] Serialize functions on any object.
733
- * @param {boolean} [options.forceServerObjectId=false] Force server to assign _id values instead of driver.
734
- * @param {boolean} [options.bypassDocumentValidation=false] Allow driver to bypass schema validation in MongoDB 3.2 or higher.
735
- * @param {ClientSession} [options.session] optional session to use for this operation
736
- * @param {Collection~insertWriteOpCallback} [callback] The command result callback
737
- * @return {Promise} returns Promise if no callback passed
738
- * @deprecated Use insertOne, insertMany or bulkWrite
739
- */
740
- Collection.prototype.insert = deprecate(function(docs, options, callback) {
741
- if (typeof options === 'function') (callback = options), (options = {});
742
- options = options || { ordered: false };
743
- docs = !Array.isArray(docs) ? [docs] : docs;
744
-
745
- if (options.keepGoing === true) {
746
- options.ordered = false;
747
- }
748
-
749
- return this.insertMany(docs, options, callback);
750
- }, 'collection.insert is deprecated. Use insertOne, insertMany or bulkWrite instead.');
751
-
752
- /**
753
- * @typedef {Object} Collection~updateWriteOpResult
754
- * @property {Object} result The raw result returned from MongoDB. Will vary depending on server version.
755
- * @property {Number} result.ok Is 1 if the command executed correctly.
756
- * @property {Number} result.n The total count of documents scanned.
757
- * @property {Number} result.nModified The total count of documents modified.
758
- * @property {Object} connection The connection object used for the operation.
759
- * @property {Number} matchedCount The number of documents that matched the filter.
760
- * @property {Number} modifiedCount The number of documents that were modified.
761
- * @property {Number} upsertedCount The number of documents upserted.
762
- * @property {Object} upsertedId The upserted id.
763
- * @property {ObjectId} upsertedId._id The upserted _id returned from the server.
764
- * @property {Object} message The raw msg response wrapped in an internal class
765
- * @property {object[]} [ops] In a response to {@link Collection#replaceOne replaceOne}, contains the new value of the document on the server. This is the same document that was originally passed in, and is only here for legacy purposes.
766
- */
767
-
768
- /**
769
- * The callback format for inserts
770
- * @callback Collection~updateWriteOpCallback
771
- * @param {MongoError} error An error instance representing the error during the execution.
772
- * @param {Collection~updateWriteOpResult} result The result object if the command was executed successfully.
773
- */
774
-
775
- /**
776
- * Update a single document in a collection
777
- * @method
778
- * @param {object} filter The Filter used to select the document to update
779
- * @param {object} update The update operations to be applied to the document
780
- * @param {object} [options] Optional settings.
781
- * @param {Array} [options.arrayFilters] optional list of array filters referenced in filtered positional operators
782
- * @param {boolean} [options.bypassDocumentValidation=false] Allow driver to bypass schema validation in MongoDB 3.2 or higher.
783
- * @param {object} [options.collation] Specify collation (MongoDB 3.4 or higher) settings for update operation (see 3.4 documentation for available fields).
784
- * @param {object} [options.hint] An optional hint for query optimization. See the {@link https://docs.mongodb.com/manual/reference/command/update/#update-command-hint|update command} reference for more information.
785
- * @param {boolean} [options.upsert=false] When true, creates a new document if no document matches the query..
786
- * @param {(number|string)} [options.w] **Deprecated** The write concern. Use writeConcern instead.
787
- * @param {number} [options.wtimeout] **Deprecated** The write concern timeout. Use writeConcern instead.
788
- * @param {boolean} [options.j=false] **Deprecated** Specify a journal write concern. Use writeConcern instead.
789
- * @param {object|WriteConcern} [options.writeConcern] Specify write concern settings.
790
- * @param {boolean} [options.checkKeys=false] If true, will throw if bson documents start with `$` or include a `.` in any key value
791
- * @param {boolean} [options.serializeFunctions=false] Serialize functions on any object.
792
- * @param {boolean} [options.ignoreUndefined=false] Specify if the BSON serializer should ignore undefined fields.
793
- * @param {'queryPlanner'|'queryPlannerExtended'|'executionStats'|'allPlansExecution'|boolean} [options.explain] The verbosity mode for the explain output.
794
- * @param {ClientSession} [options.session] optional session to use for this operation
795
- * @param {Collection~updateWriteOpCallback} [callback] The command result callback
796
- * @return {Promise} returns Promise if no callback passed
797
- */
798
- Collection.prototype.updateOne = function(filter, update, options, callback) {
799
- if (typeof options === 'function') (callback = options), (options = {});
800
- options = Object.assign({}, options);
801
-
802
- // Add ignoreUndefined
803
- if (this.s.options.ignoreUndefined) {
804
- options = Object.assign({}, options);
805
- options.ignoreUndefined = this.s.options.ignoreUndefined;
806
- }
807
-
808
- return execute_operation(
809
- this.s.topology,
810
- new update_one(this, filter, update, options),
811
- callback
812
- );
813
- };
814
-
815
- /**
816
- * Replace a document in a collection with another document
817
- * @method
818
- * @param {object} filter The Filter used to select the document to replace
819
- * @param {object} doc The Document that replaces the matching document
820
- * @param {object} [options] Optional settings.
821
- * @param {boolean} [options.bypassDocumentValidation=false] Allow driver to bypass schema validation in MongoDB 3.2 or higher.
822
- * @param {object} [options.collation] Specify collation (MongoDB 3.4 or higher) settings for update operation (see 3.4 documentation for available fields).
823
- * @param {object} [options.hint] An optional hint for query optimization. See the {@link https://docs.mongodb.com/manual/reference/command/update/#update-command-hint|update command} reference for more information.
824
- * @param {boolean} [options.upsert=false] When true, creates a new document if no document matches the query.
825
- * @param {(number|string)} [options.w] **Deprecated** The write concern. Use writeConcern instead.
826
- * @param {number} [options.wtimeout] **Deprecated** The write concern timeout. Use writeConcern instead.
827
- * @param {boolean} [options.j=false] **Deprecated** Specify a journal write concern. Use writeConcern instead.
828
- * @param {object|WriteConcern} [options.writeConcern] Specify write concern settings.
829
- * @param {boolean} [options.checkKeys=false] If true, will throw if bson documents start with `$` or include a `.` in any key value
830
- * @param {boolean} [options.serializeFunctions=false] Serialize functions on any object.
831
- * @param {boolean} [options.ignoreUndefined=false] Specify if the BSON serializer should ignore undefined fields.
832
- * @param {ClientSession} [options.session] optional session to use for this operation
833
- * @param {Collection~updateWriteOpCallback} [callback] The command result callback
834
- * @return {Promise<Collection~updateWriteOpResult>} returns Promise if no callback passed
835
- */
836
- Collection.prototype.replaceOne = function(filter, doc, options, callback) {
837
- if (typeof options === 'function') (callback = options), (options = {});
838
- options = Object.assign({}, options);
839
-
840
- // Add ignoreUndefined
841
- if (this.s.options.ignoreUndefined) {
842
- options = Object.assign({}, options);
843
- options.ignoreUndefined = this.s.options.ignoreUndefined;
844
- }
845
-
846
- return execute_operation(
847
- this.s.topology,
848
- new replace_one(this, filter, doc, options),
849
- callback
850
- );
851
- };
852
-
853
- /**
854
- * Update multiple documents in a collection
855
- * @method
856
- * @param {object} filter The Filter used to select the documents to update
857
- * @param {object} update The update operations to be applied to the documents
858
- * @param {object} [options] Optional settings.
859
- * @param {Array} [options.arrayFilters] optional list of array filters referenced in filtered positional operators
860
- * @param {boolean} [options.bypassDocumentValidation=false] Allow driver to bypass schema validation in MongoDB 3.2 or higher.
861
- * @param {object} [options.collation] Specify collation (MongoDB 3.4 or higher) settings for update operation (see 3.4 documentation for available fields).
862
- * @param {object} [options.hint] An optional hint for query optimization. See the {@link https://docs.mongodb.com/manual/reference/command/update/#update-command-hint|update command} reference for more information.
863
- * @param {boolean} [options.upsert=false] When true, creates a new document if no document matches the query..
864
- * @param {(number|string)} [options.w] **Deprecated** The write concern. Use writeConcern instead.
865
- * @param {number} [options.wtimeout] **Deprecated** The write concern timeout. Use writeConcern instead.
866
- * @param {boolean} [options.j=false] **Deprecated** Specify a journal write concern. Use writeConcern instead.
867
- * @param {object|WriteConcern} [options.writeConcern] Specify write concern settings.
868
- * @param {boolean} [options.checkKeys=false] If true, will throw if bson documents start with `$` or include a `.` in any key value
869
- * @param {boolean} [options.serializeFunctions=false] Serialize functions on any object.
870
- * @param {boolean} [options.ignoreUndefined=false] Specify if the BSON serializer should ignore undefined fields.
871
- * @param {'queryPlanner'|'queryPlannerExtended'|'executionStats'|'allPlansExecution'|boolean} [options.explain] The verbosity mode for the explain output.
872
- * @param {ClientSession} [options.session] optional session to use for this operation
873
- * @param {Collection~updateWriteOpCallback} [callback] The command result callback
874
- * @return {Promise<Collection~updateWriteOpResult>} returns Promise if no callback passed
875
- */
876
- Collection.prototype.updateMany = function(filter, update, options, callback) {
877
- if (typeof options === 'function') (callback = options), (options = {});
878
- options = Object.assign({}, options);
879
-
880
- // Add ignoreUndefined
881
- if (this.s.options.ignoreUndefined) {
882
- options = Object.assign({}, options);
883
- options.ignoreUndefined = this.s.options.ignoreUndefined;
884
- }
885
-
886
- return execute_operation(
887
- this.s.topology,
888
- new update_many(this, filter, update, options),
889
- callback
890
- );
891
- };
892
-
893
- /**
894
- * Updates documents.
895
- * @method
896
- * @param {object} selector The selector for the update operation.
897
- * @param {object} update The update operations to be applied to the documents
898
- * @param {object} [options] Optional settings.
899
- * @param {(number|string)} [options.w] **Deprecated** The write concern. Use writeConcern instead.
900
- * @param {number} [options.wtimeout] **Deprecated** The write concern timeout. Use writeConcern instead.
901
- * @param {boolean} [options.j=false] **Deprecated** Specify a journal write concern. Use writeConcern instead.
902
- * @param {object|WriteConcern} [options.writeConcern] Specify write concern settings.
903
- * @param {boolean} [options.upsert=false] Update operation is an upsert.
904
- * @param {boolean} [options.multi=false] Update one/all documents with operation.
905
- * @param {boolean} [options.bypassDocumentValidation=false] Allow driver to bypass schema validation in MongoDB 3.2 or higher.
906
- * @param {object} [options.collation] Specify collation (MongoDB 3.4 or higher) settings for update operation (see 3.4 documentation for available fields).
907
- * @param {Array} [options.arrayFilters] optional list of array filters referenced in filtered positional operators
908
- * @param {ClientSession} [options.session] optional session to use for this operation
909
- * @param {object} [options.hint] An optional hint for query optimization. See the {@link https://docs.mongodb.com/manual/reference/command/update/#update-command-hint|update command} reference for more information.
910
- * @param {Collection~writeOpCallback} [callback] The command result callback
911
- * @throws {MongoError}
912
- * @return {Promise} returns Promise if no callback passed
913
- * @deprecated use updateOne, updateMany or bulkWrite
914
- */
915
- Collection.prototype.update = deprecate(function(selector, update, options, callback) {
916
- if (typeof options === 'function') (callback = options), (options = {});
917
- options = options || {};
918
-
919
- // Add ignoreUndefined
920
- if (this.s.options.ignoreUndefined) {
921
- options = Object.assign({}, options);
922
- options.ignoreUndefined = this.s.options.ignoreUndefined;
923
- }
924
-
925
- return executeLegacyOperation(this.s.topology, updateDocuments, [
926
- this,
927
- selector,
928
- update,
929
- options,
930
- callback
931
- ]);
932
- }, 'collection.update is deprecated. Use updateOne, updateMany, or bulkWrite instead.');
933
-
934
- /**
935
- * @typedef {Object} Collection~deleteWriteOpResult
936
- * @property {Object} result The raw result returned from MongoDB. Will vary depending on server version.
937
- * @property {Number} result.ok Is 1 if the command executed correctly.
938
- * @property {Number} result.n The total count of documents deleted.
939
- * @property {Object} connection The connection object used for the operation.
940
- * @property {Number} deletedCount The number of documents deleted.
941
- */
942
-
943
- /**
944
- * The callback format for deletes
945
- * @callback Collection~deleteWriteOpCallback
946
- * @param {MongoError} error An error instance representing the error during the execution.
947
- * @param {Collection~deleteWriteOpResult} result The result object if the command was executed successfully.
948
- */
949
-
950
- /**
951
- * Delete a document from a collection
952
- * @method
953
- * @param {object} filter The Filter used to select the document to remove
954
- * @param {object} [options] Optional settings.
955
- * @param {object} [options.collation] Specify collation (MongoDB 3.4 or higher) settings for update operation (see 3.4 documentation for available fields).
956
- * @param {(number|string)} [options.w] **Deprecated** The write concern. Use writeConcern instead.
957
- * @param {number} [options.wtimeout] **Deprecated** The write concern timeout. Use writeConcern instead.
958
- * @param {boolean} [options.j=false] **Deprecated** Specify a journal write concern. Use writeConcern instead.
959
- * @param {object|WriteConcern} [options.writeConcern] Specify write concern settings.
960
- * @param {boolean} [options.checkKeys=false] If true, will throw if bson documents start with `$` or include a `.` in any key value
961
- * @param {boolean} [options.serializeFunctions=false] Serialize functions on any object.
962
- * @param {boolean} [options.ignoreUndefined=false] Specify if the BSON serializer should ignore undefined fields.
963
- * @param {'queryPlanner'|'queryPlannerExtended'|'executionStats'|'allPlansExecution'|boolean} [options.explain] The verbosity mode for the explain output.
964
- * @param {ClientSession} [options.session] optional session to use for this operation
965
- * @param {string|object} [options.hint] optional index hint for optimizing the filter query
966
- * @param {Collection~deleteWriteOpCallback} [callback] The command result callback
967
- * @return {Promise} returns Promise if no callback passed
968
- */
969
- Collection.prototype.deleteOne = function(filter, options, callback) {
970
- if (typeof options === 'function') (callback = options), (options = {});
971
- options = Object.assign({}, options);
972
-
973
- // Add ignoreUndefined
974
- if (this.s.options.ignoreUndefined) {
975
- options = Object.assign({}, options);
976
- options.ignoreUndefined = this.s.options.ignoreUndefined;
977
- }
978
-
979
- const deleteOneOperation = new delete_one(this, filter, options);
980
-
981
- return execute_operation(this.s.topology, deleteOneOperation, callback);
982
- };
983
-
984
- Collection.prototype.removeOne = Collection.prototype.deleteOne;
985
-
986
- /**
987
- * Delete multiple documents from a collection
988
- * @method
989
- * @param {object} filter The Filter used to select the documents to remove
990
- * @param {object} [options] Optional settings.
991
- * @param {object} [options.collation] Specify collation (MongoDB 3.4 or higher) settings for update operation (see 3.4 documentation for available fields).
992
- * @param {(number|string)} [options.w] **Deprecated** The write concern. Use writeConcern instead.
993
- * @param {number} [options.wtimeout] **Deprecated** The write concern timeout. Use writeConcern instead.
994
- * @param {boolean} [options.j=false] **Deprecated** Specify a journal write concern. Use writeConcern instead.
995
- * @param {object|WriteConcern} [options.writeConcern] Specify write concern settings.
996
- * @param {boolean} [options.checkKeys=false] If true, will throw if bson documents start with `$` or include a `.` in any key value
997
- * @param {boolean} [options.serializeFunctions=false] Serialize functions on any object.
998
- * @param {boolean} [options.ignoreUndefined=false] Specify if the BSON serializer should ignore undefined fields.
999
- * @param {'queryPlanner'|'queryPlannerExtended'|'executionStats'|'allPlansExecution'|boolean} [options.explain] The verbosity mode for the explain output.
1000
- * @param {ClientSession} [options.session] optional session to use for this operation
1001
- * @param {string|object} [options.hint] optional index hint for optimizing the filter query
1002
- * @param {Collection~deleteWriteOpCallback} [callback] The command result callback
1003
- * @return {Promise} returns Promise if no callback passed
1004
- */
1005
- Collection.prototype.deleteMany = function(filter, options, callback) {
1006
- if (typeof options === 'function') (callback = options), (options = {});
1007
- options = Object.assign({}, options);
1008
-
1009
- // Add ignoreUndefined
1010
- if (this.s.options.ignoreUndefined) {
1011
- options = Object.assign({}, options);
1012
- options.ignoreUndefined = this.s.options.ignoreUndefined;
1013
- }
1014
-
1015
- const deleteManyOperation = new delete_many(this, filter, options);
1016
-
1017
- return execute_operation(this.s.topology, deleteManyOperation, callback);
1018
- };
1019
-
1020
- Collection.prototype.removeMany = Collection.prototype.deleteMany;
1021
-
1022
- /**
1023
- * Remove documents.
1024
- * @method
1025
- * @param {object} selector The selector for the update operation.
1026
- * @param {object} [options] Optional settings.
1027
- * @param {object} [options.collation] Specify collation (MongoDB 3.4 or higher) settings for update operation (see 3.4 documentation for available fields).
1028
- * @param {(number|string)} [options.w] **Deprecated** The write concern. Use writeConcern instead.
1029
- * @param {number} [options.wtimeout] **Deprecated** The write concern timeout. Use writeConcern instead.
1030
- * @param {boolean} [options.j=false] **Deprecated** Specify a journal write concern. Use writeConcern instead.
1031
- * @param {object|WriteConcern} [options.writeConcern] Specify write concern settings.
1032
- * @param {boolean} [options.single=false] Removes the first document found.
1033
- * @param {ClientSession} [options.session] optional session to use for this operation
1034
- * @param {Collection~writeOpCallback} [callback] The command result callback
1035
- * @return {Promise} returns Promise if no callback passed
1036
- * @deprecated use deleteOne, deleteMany or bulkWrite
1037
- */
1038
- Collection.prototype.remove = deprecate(function(selector, options, callback) {
1039
- if (typeof options === 'function') (callback = options), (options = {});
1040
- options = options || {};
1041
-
1042
- // Add ignoreUndefined
1043
- if (this.s.options.ignoreUndefined) {
1044
- options = Object.assign({}, options);
1045
- options.ignoreUndefined = this.s.options.ignoreUndefined;
1046
- }
1047
-
1048
- return executeLegacyOperation(this.s.topology, removeDocuments, [
1049
- this,
1050
- selector,
1051
- options,
1052
- callback
1053
- ]);
1054
- }, 'collection.remove is deprecated. Use deleteOne, deleteMany, or bulkWrite instead.');
1055
-
1056
- /**
1057
- * Save a document. Simple full document replacement function. Not recommended for efficiency, use atomic
1058
- * operators and update instead for more efficient operations.
1059
- * @method
1060
- * @param {object} doc Document to save
1061
- * @param {object} [options] Optional settings.
1062
- * @param {(number|string)} [options.w] **Deprecated** The write concern. Use writeConcern instead.
1063
- * @param {number} [options.wtimeout] **Deprecated** The write concern timeout. Use writeConcern instead.
1064
- * @param {boolean} [options.j=false] **Deprecated** Specify a journal write concern. Use writeConcern instead.
1065
- * @param {object|WriteConcern} [options.writeConcern] Specify write concern settings.
1066
- * @param {ClientSession} [options.session] optional session to use for this operation
1067
- * @param {Collection~writeOpCallback} [callback] The command result callback
1068
- * @return {Promise} returns Promise if no callback passed
1069
- * @deprecated use insertOne, insertMany, updateOne or updateMany
1070
- */
1071
- Collection.prototype.save = deprecate(function(doc, options, callback) {
1072
- if (typeof options === 'function') (callback = options), (options = {});
1073
- options = options || {};
1074
-
1075
- // Add ignoreUndefined
1076
- if (this.s.options.ignoreUndefined) {
1077
- options = Object.assign({}, options);
1078
- options.ignoreUndefined = this.s.options.ignoreUndefined;
1079
- }
1080
-
1081
- return executeLegacyOperation(this.s.topology, save, [this, doc, options, callback]);
1082
- }, 'collection.save is deprecated. Use insertOne, insertMany, updateOne, or updateMany instead.');
1083
-
1084
- /**
1085
- * The callback format for results
1086
- * @callback Collection~resultCallback
1087
- * @param {MongoError} error An error instance representing the error during the execution.
1088
- * @param {object} result The result object if the command was executed successfully.
1089
- */
1090
-
1091
- /**
1092
- * The callback format for an aggregation call
1093
- * @callback Collection~aggregationCallback
1094
- * @param {MongoError} error An error instance representing the error during the execution.
1095
- * @param {AggregationCursor} cursor The cursor if the aggregation command was executed successfully.
1096
- */
1097
-
1098
- /**
1099
- * Fetches the first document that matches the query
1100
- * @method
1101
- * @param {object} query Query for find Operation
1102
- * @param {object} [options] Optional settings.
1103
- * @param {number} [options.limit=0] Sets the limit of documents returned in the query.
1104
- * @param {(array|object)} [options.sort] Set to sort the documents coming back from the query. Array of indexes, [['a', 1]] etc.
1105
- * @param {object} [options.projection] The fields to return in the query. Object of fields to include or exclude (not both), {'a':1}
1106
- * @param {object} [options.fields] **Deprecated** Use `options.projection` instead
1107
- * @param {number} [options.skip=0] Set to skip N documents ahead in your query (useful for pagination).
1108
- * @param {Object} [options.hint] Tell the query to use specific indexes in the query. Object of indexes to use, {'_id':1}
1109
- * @param {boolean} [options.snapshot=false] DEPRECATED: Snapshot query.
1110
- * @param {boolean} [options.timeout=false] Specify if the cursor can timeout.
1111
- * @param {boolean} [options.tailable=false] Specify if the cursor is tailable.
1112
- * @param {number} [options.batchSize=1] Set the batchSize for the getMoreCommand when iterating over the query results.
1113
- * @param {boolean} [options.returnKey=false] Only return the index key.
1114
- * @param {number} [options.maxScan] DEPRECATED: Limit the number of items to scan.
1115
- * @param {number} [options.min] Set index bounds.
1116
- * @param {number} [options.max] Set index bounds.
1117
- * @param {boolean} [options.showDiskLoc=false] Show disk location of results.
1118
- * @param {string} [options.comment] You can put a $comment field on a query to make looking in the profiler logs simpler.
1119
- * @param {boolean} [options.raw=false] Return document results as raw BSON buffers.
1120
- * @param {boolean} [options.promoteLongs=true] Promotes Long values to number if they fit inside the 53 bits resolution.
1121
- * @param {boolean} [options.promoteValues=true] Promotes BSON values to native types where possible, set to false to only receive wrapper types.
1122
- * @param {boolean} [options.promoteBuffers=false] Promotes Binary BSON values to native Node Buffers.
1123
- * @param {(ReadPreference|string)} [options.readPreference] The preferred read preference (ReadPreference.PRIMARY, ReadPreference.PRIMARY_PREFERRED, ReadPreference.SECONDARY, ReadPreference.SECONDARY_PREFERRED, ReadPreference.NEAREST).
1124
- * @param {boolean} [options.partial=false] Specify if the cursor should return partial results when querying against a sharded system
1125
- * @param {number} [options.maxTimeMS] Number of milliseconds to wait before aborting the query.
1126
- * @param {object} [options.collation] Specify collation (MongoDB 3.4 or higher) settings for update operation (see 3.4 documentation for available fields).
1127
- * @param {'queryPlanner'|'queryPlannerExtended'|'executionStats'|'allPlansExecution'|boolean} [options.explain] The verbosity mode for the explain output.
1128
- * @param {ClientSession} [options.session] optional session to use for this operation
1129
- * @param {Collection~resultCallback} [callback] The command result callback
1130
- * @return {Promise} returns Promise if no callback passed
1131
- */
1132
- Collection.prototype.findOne = deprecateOptions(
1133
- {
1134
- name: 'collection.find',
1135
- deprecatedOptions: DEPRECATED_FIND_OPTIONS,
1136
- optionsIndex: 1
1137
- },
1138
- function(query, options, callback) {
1139
- if (typeof callback === 'object') {
1140
- // TODO(MAJOR): throw in the future
1141
- emitWarningOnce('Third parameter to `findOne()` must be a callback or undefined');
1142
- }
1143
-
1144
- if (typeof query === 'function') (callback = query), (query = {}), (options = {});
1145
- if (typeof options === 'function') (callback = options), (options = {});
1146
- query = query || {};
1147
- options = options || {};
1148
-
1149
- const findOneOperation = new find_one(this, query, options);
1150
-
1151
- return execute_operation(this.s.topology, findOneOperation, callback);
1152
- }
1153
- );
1154
-
1155
- /**
1156
- * The callback format for the collection method, must be used if strict is specified
1157
- * @callback Collection~collectionResultCallback
1158
- * @param {MongoError} error An error instance representing the error during the execution.
1159
- * @param {Collection} collection The collection instance.
1160
- */
1161
-
1162
- /**
1163
- * Rename the collection.
1164
- *
1165
- * @method
1166
- * @param {string} newName New name of of the collection.
1167
- * @param {object} [options] Optional settings.
1168
- * @param {boolean} [options.dropTarget=false] Drop the target name collection if it previously exists.
1169
- * @param {ClientSession} [options.session] optional session to use for this operation
1170
- * @param {Collection~collectionResultCallback} [callback] The results callback
1171
- * @return {Promise} returns Promise if no callback passed
1172
- */
1173
- Collection.prototype.rename = function(newName, options, callback) {
1174
- if (typeof options === 'function') (callback = options), (options = {});
1175
- options = Object.assign({}, options, { readPreference: ReadPreference.PRIMARY });
1176
-
1177
- const renameOperation = new rename(this, newName, options);
1178
-
1179
- return execute_operation(this.s.topology, renameOperation, callback);
1180
- };
1181
-
1182
- /**
1183
- * Drop the collection from the database, removing it permanently. New accesses will create a new collection.
1184
- *
1185
- * @method
1186
- * @param {object} [options] Optional settings.
1187
- * @param {(number|string)} [options.w] **Deprecated** The write concern. Use writeConcern instead.
1188
- * @param {number} [options.wtimeout] **Deprecated** The write concern timeout. Use writeConcern instead.
1189
- * @param {boolean} [options.j=false] **Deprecated** Specify a journal write concern. Use writeConcern instead.
1190
- * @param {object|WriteConcern} [options.writeConcern] Specify write concern settings.
1191
- * @param {ClientSession} [options.session] optional session to use for this operation
1192
- * @param {Collection~resultCallback} [callback] The results callback
1193
- * @return {Promise} returns Promise if no callback passed
1194
- */
1195
- Collection.prototype.drop = function(options, callback) {
1196
- if (typeof options === 'function') (callback = options), (options = {});
1197
- options = options || {};
1198
-
1199
- const dropCollectionOperation = new DropCollectionOperation(
1200
- this.s.db,
1201
- this.collectionName,
1202
- options
1203
- );
1204
-
1205
- return execute_operation(this.s.topology, dropCollectionOperation, callback);
1206
- };
1207
-
1208
- /**
1209
- * Returns the options of the collection.
1210
- *
1211
- * @method
1212
- * @param {Object} [options] Optional settings
1213
- * @param {ClientSession} [options.session] optional session to use for this operation
1214
- * @param {Collection~resultCallback} [callback] The results callback
1215
- * @return {Promise} returns Promise if no callback passed
1216
- */
1217
- Collection.prototype.options = function(opts, callback) {
1218
- if (typeof opts === 'function') (callback = opts), (opts = {});
1219
- opts = opts || {};
1220
-
1221
- const optionsOperation = new options_operation(this, opts);
1222
-
1223
- return execute_operation(this.s.topology, optionsOperation, callback);
1224
- };
1225
-
1226
- /**
1227
- * Returns if the collection is a capped collection
1228
- *
1229
- * @method
1230
- * @param {Object} [options] Optional settings
1231
- * @param {ClientSession} [options.session] optional session to use for this operation
1232
- * @param {Collection~resultCallback} [callback] The results callback
1233
- * @return {Promise} returns Promise if no callback passed
1234
- */
1235
- Collection.prototype.isCapped = function(options, callback) {
1236
- if (typeof options === 'function') (callback = options), (options = {});
1237
- options = options || {};
1238
-
1239
- const isCappedOperation = new is_capped(this, options);
1240
-
1241
- return execute_operation(this.s.topology, isCappedOperation, callback);
1242
- };
1243
-
1244
- /**
1245
- * Creates an index on the db and collection collection.
1246
- * @method
1247
- * @param {(string|array|object)} fieldOrSpec Defines the index.
1248
- * @param {object} [options] Optional settings.
1249
- * @param {(number|string)} [options.w] **Deprecated** The write concern. Use writeConcern instead.
1250
- * @param {number} [options.wtimeout] **Deprecated** The write concern timeout. Use writeConcern instead.
1251
- * @param {boolean} [options.j=false] **Deprecated** Specify a journal write concern. Use writeConcern instead.
1252
- * @param {object|WriteConcern} [options.writeConcern] Specify write concern settings.
1253
- * @param {boolean} [options.unique=false] Creates an unique index.
1254
- * @param {boolean} [options.sparse=false] Creates a sparse index.
1255
- * @param {boolean} [options.background=false] Creates the index in the background, yielding whenever possible.
1256
- * @param {boolean} [options.dropDups=false] A unique index cannot be created on a key that has pre-existing duplicate values. If you would like to create the index anyway, keeping the first document the database indexes and deleting all subsequent documents that have duplicate value
1257
- * @param {number} [options.min] For geospatial indexes set the lower bound for the co-ordinates.
1258
- * @param {number} [options.max] For geospatial indexes set the high bound for the co-ordinates.
1259
- * @param {number} [options.v] Specify the format version of the indexes.
1260
- * @param {number} [options.expireAfterSeconds] Allows you to expire data on indexes applied to a data (MongoDB 2.2 or higher)
1261
- * @param {string} [options.name] Override the autogenerated index name (useful if the resulting name is larger than 128 bytes)
1262
- * @param {object} [options.partialFilterExpression] Creates a partial index based on the given filter object (MongoDB 3.2 or higher)
1263
- * @param {object} [options.collation] Specify collation (MongoDB 3.4 or higher) settings for update operation (see 3.4 documentation for available fields).
1264
- * @param {ClientSession} [options.session] optional session to use for this operation
1265
- * @param {(number|string)} [options.commitQuorum] (MongoDB 4.4. or higher) Specifies how many data-bearing members of a replica set, including the primary, must complete the index builds successfully before the primary marks the indexes as ready. This option accepts the same values for the "w" field in a write concern plus "votingMembers", which indicates all voting data-bearing nodes.
1266
- * @param {Collection~resultCallback} [callback] The command result callback
1267
- * @return {Promise} returns Promise if no callback passed
1268
- * @example
1269
- * const collection = client.db('foo').collection('bar');
1270
- *
1271
- * await collection.createIndex({ a: 1, b: -1 });
1272
- *
1273
- * // Alternate syntax for { c: 1, d: -1 } that ensures order of indexes
1274
- * await collection.createIndex([ [c, 1], [d, -1] ]);
1275
- *
1276
- * // Equivalent to { e: 1 }
1277
- * await collection.createIndex('e');
1278
- *
1279
- * // Equivalent to { f: 1, g: 1 }
1280
- * await collection.createIndex(['f', 'g'])
1281
- *
1282
- * // Equivalent to { h: 1, i: -1 }
1283
- * await collection.createIndex([ { h: 1 }, { i: -1 } ]);
1284
- *
1285
- * // Equivalent to { j: 1, k: -1, l: 2d }
1286
- * await collection.createIndex(['j', ['k', -1], { l: '2d' }])
1287
- */
1288
- Collection.prototype.createIndex = function(fieldOrSpec, options, callback) {
1289
- if (typeof options === 'function') (callback = options), (options = {});
1290
- options = options || {};
1291
-
1292
- const createIndexesOperation = new create_indexes(
1293
- this,
1294
- this.collectionName,
1295
- fieldOrSpec,
1296
- options
1297
- );
1298
-
1299
- return execute_operation(this.s.topology, createIndexesOperation, callback);
1300
- };
1301
-
1302
- /**
1303
- * @typedef {object} Collection~IndexDefinition
1304
- * @description A definition for an index. Used by the createIndex command.
1305
- * @see https://docs.mongodb.com/manual/reference/command/createIndexes/
1306
- */
1307
-
1308
- /**
1309
- * Creates multiple indexes in the collection, this method is only supported for
1310
- * MongoDB 2.6 or higher. Earlier version of MongoDB will throw a command not supported
1311
- * error.
1312
- *
1313
- * **Note**: Unlike {@link Collection#createIndex createIndex}, this function takes in raw index specifications.
1314
- * Index specifications are defined {@link http://docs.mongodb.org/manual/reference/command/createIndexes/ here}.
1315
- *
1316
- * @method
1317
- * @param {Collection~IndexDefinition[]} indexSpecs An array of index specifications to be created
1318
- * @param {Object} [options] Optional settings
1319
- * @param {ClientSession} [options.session] optional session to use for this operation
1320
- * @param {(number|string)} [options.commitQuorum] (MongoDB 4.4. or higher) Specifies how many data-bearing members of a replica set, including the primary, must complete the index builds successfully before the primary marks the indexes as ready. This option accepts the same values for the "w" field in a write concern plus "votingMembers", which indicates all voting data-bearing nodes.
1321
- * @param {Collection~resultCallback} [callback] The command result callback
1322
- * @return {Promise} returns Promise if no callback passed
1323
- * @example
1324
- * const collection = client.db('foo').collection('bar');
1325
- * await collection.createIndexes([
1326
- * // Simple index on field fizz
1327
- * {
1328
- * key: { fizz: 1 },
1329
- * }
1330
- * // wildcard index
1331
- * {
1332
- * key: { '$**': 1 }
1333
- * },
1334
- * // named index on darmok and jalad
1335
- * {
1336
- * key: { darmok: 1, jalad: -1 }
1337
- * name: 'tanagra'
1338
- * }
1339
- * ]);
1340
- */
1341
- Collection.prototype.createIndexes = function(indexSpecs, options, callback) {
1342
- if (typeof options === 'function') (callback = options), (options = {});
1343
-
1344
- options = options ? Object.assign({}, options) : {};
1345
-
1346
- if (typeof options.maxTimeMS !== 'number') delete options.maxTimeMS;
1347
-
1348
- const createIndexesOperation = new create_indexes(
1349
- this,
1350
- this.collectionName,
1351
- indexSpecs,
1352
- options
1353
- );
1354
-
1355
- return execute_operation(this.s.topology, createIndexesOperation, callback);
1356
- };
1357
-
1358
- /**
1359
- * Drops an index from this collection.
1360
- * @method
1361
- * @param {string} indexName Name of the index to drop.
1362
- * @param {object} [options] Optional settings.
1363
- * @param {(number|string)} [options.w] **Deprecated** The write concern. Use writeConcern instead.
1364
- * @param {number} [options.wtimeout] **Deprecated** The write concern timeout. Use writeConcern instead.
1365
- * @param {boolean} [options.j=false] **Deprecated** Specify a journal write concern. Use writeConcern instead.
1366
- * @param {object|WriteConcern} [options.writeConcern] Specify write concern settings.
1367
- * @param {ClientSession} [options.session] optional session to use for this operation
1368
- * @param {number} [options.maxTimeMS] Number of milliseconds to wait before aborting the query.
1369
- * @param {Collection~resultCallback} [callback] The command result callback
1370
- * @return {Promise} returns Promise if no callback passed
1371
- */
1372
- Collection.prototype.dropIndex = function(indexName, options, callback) {
1373
- const args = Array.prototype.slice.call(arguments, 1);
1374
- callback = typeof args[args.length - 1] === 'function' ? args.pop() : undefined;
1375
-
1376
- options = args.length ? args.shift() || {} : {};
1377
- // Run only against primary
1378
- options.readPreference = ReadPreference.PRIMARY;
1379
-
1380
- const dropIndexOperation = new drop_index(this, indexName, options);
1381
-
1382
- return execute_operation(this.s.topology, dropIndexOperation, callback);
1383
- };
1384
-
1385
- /**
1386
- * Drops all indexes from this collection.
1387
- * @method
1388
- * @param {Object} [options] Optional settings
1389
- * @param {ClientSession} [options.session] optional session to use for this operation
1390
- * @param {number} [options.maxTimeMS] Number of milliseconds to wait before aborting the query.
1391
- * @param {Collection~resultCallback} [callback] The command result callback
1392
- * @return {Promise} returns Promise if no callback passed
1393
- */
1394
- Collection.prototype.dropIndexes = function(options, callback) {
1395
- if (typeof options === 'function') (callback = options), (options = {});
1396
- options = options ? Object.assign({}, options) : {};
1397
-
1398
- if (typeof options.maxTimeMS !== 'number') delete options.maxTimeMS;
1399
-
1400
- const dropIndexesOperation = new drop_indexes(this, options);
1401
-
1402
- return execute_operation(this.s.topology, dropIndexesOperation, callback);
1403
- };
1404
-
1405
- /**
1406
- * Drops all indexes from this collection.
1407
- * @method
1408
- * @deprecated use dropIndexes
1409
- * @param {Collection~resultCallback} callback The command result callback
1410
- * @return {Promise} returns Promise if no [callback] passed
1411
- */
1412
- Collection.prototype.dropAllIndexes = deprecate(
1413
- Collection.prototype.dropIndexes,
1414
- 'collection.dropAllIndexes is deprecated. Use dropIndexes instead.'
1415
- );
1416
-
1417
- /**
1418
- * Reindex all indexes on the collection
1419
- * Warning: reIndex is a blocking operation (indexes are rebuilt in the foreground) and will be slow for large collections.
1420
- * @method
1421
- * @deprecated use db.command instead
1422
- * @param {Object} [options] Optional settings
1423
- * @param {ClientSession} [options.session] optional session to use for this operation
1424
- * @param {Collection~resultCallback} [callback] The command result callback
1425
- * @return {Promise} returns Promise if no callback passed
1426
- */
1427
- Collection.prototype.reIndex = deprecate(function(options, callback) {
1428
- if (typeof options === 'function') (callback = options), (options = {});
1429
- options = options || {};
1430
-
1431
- const reIndexOperation = new re_index(this, options);
1432
-
1433
- return execute_operation(this.s.topology, reIndexOperation, callback);
1434
- }, 'collection.reIndex is deprecated. Use db.command instead.');
1435
-
1436
- /**
1437
- * Get the list of all indexes information for the collection.
1438
- *
1439
- * @method
1440
- * @param {object} [options] Optional settings.
1441
- * @param {number} [options.batchSize=1000] The batchSize for the returned command cursor or if pre 2.8 the systems batch collection
1442
- * @param {(ReadPreference|string)} [options.readPreference] The preferred read preference (ReadPreference.PRIMARY, ReadPreference.PRIMARY_PREFERRED, ReadPreference.SECONDARY, ReadPreference.SECONDARY_PREFERRED, ReadPreference.NEAREST).
1443
- * @param {ClientSession} [options.session] optional session to use for this operation
1444
- * @return {CommandCursor}
1445
- */
1446
- Collection.prototype.listIndexes = function(options) {
1447
- const cursor = new command_cursor(
1448
- this.s.topology,
1449
- new list_indexes(this, options),
1450
- options
1451
- );
1452
-
1453
- return cursor;
1454
- };
1455
-
1456
- /**
1457
- * Ensures that an index exists, if it does not it creates it
1458
- * @method
1459
- * @deprecated use createIndexes instead
1460
- * @param {(string|object)} fieldOrSpec Defines the index.
1461
- * @param {object} [options] Optional settings.
1462
- * @param {(number|string)} [options.w] **Deprecated** The write concern. Use writeConcern instead.
1463
- * @param {number} [options.wtimeout] **Deprecated** The write concern timeout. Use writeConcern instead.
1464
- * @param {boolean} [options.j=false] **Deprecated** Specify a journal write concern. Use writeConcern instead.
1465
- * @param {object|WriteConcern} [options.writeConcern] Specify write concern settings.
1466
- * @param {boolean} [options.unique=false] Creates an unique index.
1467
- * @param {boolean} [options.sparse=false] Creates a sparse index.
1468
- * @param {boolean} [options.background=false] Creates the index in the background, yielding whenever possible.
1469
- * @param {boolean} [options.dropDups=false] A unique index cannot be created on a key that has pre-existing duplicate values. If you would like to create the index anyway, keeping the first document the database indexes and deleting all subsequent documents that have duplicate value
1470
- * @param {number} [options.min] For geospatial indexes set the lower bound for the co-ordinates.
1471
- * @param {number} [options.max] For geospatial indexes set the high bound for the co-ordinates.
1472
- * @param {number} [options.v] Specify the format version of the indexes.
1473
- * @param {number} [options.expireAfterSeconds] Allows you to expire data on indexes applied to a data (MongoDB 2.2 or higher)
1474
- * @param {number} [options.name] Override the autogenerated index name (useful if the resulting name is larger than 128 bytes)
1475
- * @param {object} [options.collation] Specify collation (MongoDB 3.4 or higher) settings for update operation (see 3.4 documentation for available fields).
1476
- * @param {ClientSession} [options.session] optional session to use for this operation
1477
- * @param {Collection~resultCallback} [callback] The command result callback
1478
- * @return {Promise} returns Promise if no callback passed
1479
- */
1480
- Collection.prototype.ensureIndex = deprecate(function(fieldOrSpec, options, callback) {
1481
- if (typeof options === 'function') (callback = options), (options = {});
1482
- options = options || {};
1483
-
1484
- return executeLegacyOperation(this.s.topology, ensureIndex, [
1485
- this,
1486
- fieldOrSpec,
1487
- options,
1488
- callback
1489
- ]);
1490
- }, 'collection.ensureIndex is deprecated. Use createIndexes instead.');
1491
-
1492
- /**
1493
- * Checks if one or more indexes exist on the collection, fails on first non-existing index
1494
- * @method
1495
- * @param {(string|array)} indexes One or more index names to check.
1496
- * @param {Object} [options] Optional settings
1497
- * @param {ClientSession} [options.session] optional session to use for this operation
1498
- * @param {Collection~resultCallback} [callback] The command result callback
1499
- * @return {Promise} returns Promise if no callback passed
1500
- */
1501
- Collection.prototype.indexExists = function(indexes, options, callback) {
1502
- if (typeof options === 'function') (callback = options), (options = {});
1503
- options = options || {};
1504
-
1505
- const indexExistsOperation = new index_exists(this, indexes, options);
1506
-
1507
- return execute_operation(this.s.topology, indexExistsOperation, callback);
1508
- };
1509
-
1510
- /**
1511
- * Retrieves this collections index info.
1512
- * @method
1513
- * @param {object} [options] Optional settings.
1514
- * @param {boolean} [options.full=false] Returns the full raw index information.
1515
- * @param {ClientSession} [options.session] optional session to use for this operation
1516
- * @param {Collection~resultCallback} [callback] The command result callback
1517
- * @return {Promise} returns Promise if no callback passed
1518
- */
1519
- Collection.prototype.indexInformation = function(options, callback) {
1520
- const args = Array.prototype.slice.call(arguments, 0);
1521
- callback = typeof args[args.length - 1] === 'function' ? args.pop() : undefined;
1522
- options = args.length ? args.shift() || {} : {};
1523
-
1524
- const indexInformationOperation = new index_information(
1525
- this.s.db,
1526
- this.collectionName,
1527
- options
1528
- );
1529
-
1530
- return execute_operation(this.s.topology, indexInformationOperation, callback);
1531
- };
1532
-
1533
- /**
1534
- * The callback format for results
1535
- * @callback Collection~countCallback
1536
- * @param {MongoError} error An error instance representing the error during the execution.
1537
- * @param {number} result The count of documents that matched the query.
1538
- */
1539
-
1540
- /**
1541
- * An estimated count of matching documents in the db to a query.
1542
- *
1543
- * **NOTE:** This method has been deprecated, since it does not provide an accurate count of the documents
1544
- * in a collection. To obtain an accurate count of documents in the collection, use {@link Collection#countDocuments countDocuments}.
1545
- * To obtain an estimated count of all documents in the collection, use {@link Collection#estimatedDocumentCount estimatedDocumentCount}.
1546
- *
1547
- * @method
1548
- * @param {object} [query={}] The query for the count.
1549
- * @param {object} [options] Optional settings.
1550
- * @param {object} [options.collation] Specify collation settings for operation. See {@link https://docs.mongodb.com/manual/reference/command/aggregate|aggregation documentation}.
1551
- * @param {boolean} [options.limit] The limit of documents to count.
1552
- * @param {boolean} [options.skip] The number of documents to skip for the count.
1553
- * @param {string} [options.hint] An index name hint for the query.
1554
- * @param {(ReadPreference|string)} [options.readPreference] The preferred read preference (ReadPreference.PRIMARY, ReadPreference.PRIMARY_PREFERRED, ReadPreference.SECONDARY, ReadPreference.SECONDARY_PREFERRED, ReadPreference.NEAREST).
1555
- * @param {number} [options.maxTimeMS] Number of milliseconds to wait before aborting the query.
1556
- * @param {ClientSession} [options.session] optional session to use for this operation
1557
- * @param {Collection~countCallback} [callback] The command result callback
1558
- * @return {Promise} returns Promise if no callback passed
1559
- * @deprecated use {@link Collection#countDocuments countDocuments} or {@link Collection#estimatedDocumentCount estimatedDocumentCount} instead
1560
- */
1561
- Collection.prototype.count = deprecate(function(query, options, callback) {
1562
- const args = Array.prototype.slice.call(arguments, 0);
1563
- callback = typeof args[args.length - 1] === 'function' ? args.pop() : undefined;
1564
- query = args.length ? args.shift() || {} : {};
1565
- options = args.length ? args.shift() || {} : {};
1566
-
1567
- if (typeof options === 'function') (callback = options), (options = {});
1568
- options = options || {};
1569
-
1570
- return execute_operation(
1571
- this.s.topology,
1572
- new estimated_document_count(this, query, options),
1573
- callback
1574
- );
1575
- }, 'collection.count is deprecated, and will be removed in a future version.' +
1576
- ' Use Collection.countDocuments or Collection.estimatedDocumentCount instead');
1577
-
1578
- /**
1579
- * Gets an estimate of the count of documents in a collection using collection metadata.
1580
- *
1581
- * @method
1582
- * @param {object} [options] Optional settings.
1583
- * @param {number} [options.maxTimeMS] The maximum amount of time to allow the operation to run.
1584
- * @param {Collection~countCallback} [callback] The command result callback.
1585
- * @return {Promise} returns Promise if no callback passed.
1586
- */
1587
- Collection.prototype.estimatedDocumentCount = function(options, callback) {
1588
- if (typeof options === 'function') (callback = options), (options = {});
1589
- options = options || {};
1590
-
1591
- const estimatedDocumentCountOperation = new estimated_document_count(this, options);
1592
-
1593
- return execute_operation(this.s.topology, estimatedDocumentCountOperation, callback);
1594
- };
1595
-
1596
- /**
1597
- * Gets the number of documents matching the filter.
1598
- * For a fast count of the total documents in a collection see {@link Collection#estimatedDocumentCount estimatedDocumentCount}.
1599
- * **Note**: When migrating from {@link Collection#count count} to {@link Collection#countDocuments countDocuments}
1600
- * the following query operators must be replaced:
1601
- *
1602
- * | Operator | Replacement |
1603
- * | -------- | ----------- |
1604
- * | `$where` | [`$expr`][1] |
1605
- * | `$near` | [`$geoWithin`][2] with [`$center`][3] |
1606
- * | `$nearSphere` | [`$geoWithin`][2] with [`$centerSphere`][4] |
1607
- *
1608
- * [1]: https://docs.mongodb.com/manual/reference/operator/query/expr/
1609
- * [2]: https://docs.mongodb.com/manual/reference/operator/query/geoWithin/
1610
- * [3]: https://docs.mongodb.com/manual/reference/operator/query/center/#op._S_center
1611
- * [4]: https://docs.mongodb.com/manual/reference/operator/query/centerSphere/#op._S_centerSphere
1612
- *
1613
- * @param {object} [query] the query for the count
1614
- * @param {object} [options] Optional settings.
1615
- * @param {object} [options.collation] Specifies a collation.
1616
- * @param {string|object} [options.hint] The index to use.
1617
- * @param {number} [options.limit] The maximum number of document to count.
1618
- * @param {number} [options.maxTimeMS] The maximum amount of time to allow the operation to run.
1619
- * @param {number} [options.skip] The number of documents to skip before counting.
1620
- * @param {Collection~countCallback} [callback] The command result callback.
1621
- * @return {Promise} returns Promise if no callback passed.
1622
- * @see https://docs.mongodb.com/manual/reference/operator/query/expr/
1623
- * @see https://docs.mongodb.com/manual/reference/operator/query/geoWithin/
1624
- * @see https://docs.mongodb.com/manual/reference/operator/query/center/#op._S_center
1625
- * @see https://docs.mongodb.com/manual/reference/operator/query/centerSphere/#op._S_centerSphere
1626
- */
1627
-
1628
- Collection.prototype.countDocuments = function(query, options, callback) {
1629
- const args = Array.prototype.slice.call(arguments, 0);
1630
- callback = typeof args[args.length - 1] === 'function' ? args.pop() : undefined;
1631
- query = args.length ? args.shift() || {} : {};
1632
- options = args.length ? args.shift() || {} : {};
1633
-
1634
- const countDocumentsOperation = new count_documents(this, query, options);
1635
-
1636
- return execute_operation(this.s.topology, countDocumentsOperation, callback);
1637
- };
1638
-
1639
- /**
1640
- * The distinct command returns a list of distinct values for the given key across a collection.
1641
- * @method
1642
- * @param {string} key Field of the document to find distinct values for.
1643
- * @param {object} [query] The query for filtering the set of documents to which we apply the distinct filter.
1644
- * @param {object} [options] Optional settings.
1645
- * @param {(ReadPreference|string)} [options.readPreference] The preferred read preference (ReadPreference.PRIMARY, ReadPreference.PRIMARY_PREFERRED, ReadPreference.SECONDARY, ReadPreference.SECONDARY_PREFERRED, ReadPreference.NEAREST).
1646
- * @param {number} [options.maxTimeMS] Number of milliseconds to wait before aborting the query.
1647
- * @param {object} [options.collation] Specify collation settings for operation. See {@link https://docs.mongodb.com/manual/reference/command/aggregate|aggregation documentation}.
1648
- * @param {'queryPlanner'|'queryPlannerExtended'|'executionStats'|'allPlansExecution'|boolean} [options.explain] The verbosity mode for the explain output.
1649
- * @param {ClientSession} [options.session] optional session to use for this operation
1650
- * @param {Collection~resultCallback} [callback] The command result callback
1651
- * @return {Promise} returns Promise if no callback passed
1652
- */
1653
- Collection.prototype.distinct = function(key, query, options, callback) {
1654
- const args = Array.prototype.slice.call(arguments, 1);
1655
- callback = typeof args[args.length - 1] === 'function' ? args.pop() : undefined;
1656
- const queryOption = args.length ? args.shift() || {} : {};
1657
- const optionsOption = args.length ? args.shift() || {} : {};
1658
-
1659
- const distinctOperation = new distinct(this, key, queryOption, optionsOption);
1660
-
1661
- return execute_operation(this.s.topology, distinctOperation, callback);
1662
- };
1663
-
1664
- /**
1665
- * Retrieve all the indexes on the collection.
1666
- * @method
1667
- * @param {Object} [options] Optional settings
1668
- * @param {ClientSession} [options.session] optional session to use for this operation
1669
- * @param {Collection~resultCallback} [callback] The command result callback
1670
- * @return {Promise} returns Promise if no callback passed
1671
- */
1672
- Collection.prototype.indexes = function(options, callback) {
1673
- if (typeof options === 'function') (callback = options), (options = {});
1674
- options = options || {};
1675
-
1676
- const indexesOperation = new indexes(this, options);
1677
-
1678
- return execute_operation(this.s.topology, indexesOperation, callback);
1679
- };
1680
-
1681
- /**
1682
- * Get all the collection statistics.
1683
- *
1684
- * @method
1685
- * @param {object} [options] Optional settings.
1686
- * @param {number} [options.scale] Divide the returned sizes by scale value.
1687
- * @param {ClientSession} [options.session] optional session to use for this operation
1688
- * @param {Collection~resultCallback} [callback] The collection result callback
1689
- * @return {Promise} returns Promise if no callback passed
1690
- */
1691
- Collection.prototype.stats = function(options, callback) {
1692
- const args = Array.prototype.slice.call(arguments, 0);
1693
- callback = typeof args[args.length - 1] === 'function' ? args.pop() : undefined;
1694
- options = args.length ? args.shift() || {} : {};
1695
-
1696
- const statsOperation = new stats(this, options);
1697
-
1698
- return execute_operation(this.s.topology, statsOperation, callback);
1699
- };
1700
-
1701
- /**
1702
- * @typedef {Object} Collection~findAndModifyWriteOpResult
1703
- * @property {object} value Document returned from the `findAndModify` command. If no documents were found, `value` will be `null` by default even if a document was upserted unless `returnDocument` is specified as `'after'`, in which case the upserted document will be returned.
1704
- * @property {object} lastErrorObject The raw lastErrorObject returned from the command. See {@link https://docs.mongodb.com/manual/reference/command/findAndModify/index.html#lasterrorobject|findAndModify command documentation}.
1705
- * @property {Number} ok Is 1 if the command executed correctly.
1706
- */
1707
-
1708
- /**
1709
- * The callback format for inserts
1710
- * @callback Collection~findAndModifyCallback
1711
- * @param {MongoError} error An error instance representing the error during the execution.
1712
- * @param {Collection~findAndModifyWriteOpResult} result The result object if the command was executed successfully.
1713
- */
1714
-
1715
- /**
1716
- * Find a document and delete it in one atomic operation. Requires a write lock for the duration of the operation.
1717
- *
1718
- * @method
1719
- * @param {object} filter The Filter used to select the document to remove
1720
- * @param {object} [options] Optional settings.
1721
- * @param {object} [options.collation] Specify collation (MongoDB 3.4 or higher) settings for update operation (see 3.4 documentation for available fields).
1722
- * @param {object} [options.projection] Limits the fields to return for all matching documents.
1723
- * @param {object} [options.sort] Determines which document the operation modifies if the query selects multiple documents.
1724
- * @param {number} [options.maxTimeMS] The maximum amount of time to allow the query to run.
1725
- * @param {boolean} [options.checkKeys=false] If true, will throw if bson documents start with `$` or include a `.` in any key value
1726
- * @param {boolean} [options.serializeFunctions=false] Serialize functions on any object.
1727
- * @param {boolean} [options.ignoreUndefined=false] Specify if the BSON serializer should ignore undefined fields.
1728
- * @param {'queryPlanner'|'queryPlannerExtended'|'executionStats'|'allPlansExecution'|boolean} [options.explain] The verbosity mode for the explain output.
1729
- * @param {ClientSession} [options.session] optional session to use for this operation
1730
- * @param {Collection~findAndModifyCallback} [callback] The collection result callback
1731
- * @return {Promise<Collection~findAndModifyWriteOpResultObject>} returns Promise if no callback passed
1732
- */
1733
- Collection.prototype.findOneAndDelete = function(filter, options, callback) {
1734
- if (typeof options === 'function') (callback = options), (options = {});
1735
- options = options || {};
1736
-
1737
- // Add ignoreUndefined
1738
- if (this.s.options.ignoreUndefined) {
1739
- options = Object.assign({}, options);
1740
- options.ignoreUndefined = this.s.options.ignoreUndefined;
1741
- }
1742
-
1743
- return execute_operation(
1744
- this.s.topology,
1745
- new find_one_and_delete(this, filter, options),
1746
- callback
1747
- );
1748
- };
1749
-
1750
- /**
1751
- * Find a document and replace it in one atomic operation. Requires a write lock for the duration of the operation.
1752
- *
1753
- * @method
1754
- * @param {object} filter The Filter used to select the document to replace
1755
- * @param {object} replacement The Document that replaces the matching document
1756
- * @param {object} [options] Optional settings.
1757
- * @param {boolean} [options.bypassDocumentValidation=false] Allow driver to bypass schema validation in MongoDB 3.2 or higher.
1758
- * @param {object} [options.collation] Specify collation (MongoDB 3.4 or higher) settings for update operation (see 3.4 documentation for available fields).
1759
- * @param {string|object} [options.hint] An optional index to use for this operation
1760
- * @param {number} [options.maxTimeMS] The maximum amount of time to allow the query to run.
1761
- * @param {object} [options.projection] Limits the fields to return for all matching documents.
1762
- * @param {object} [options.sort] Determines which document the operation modifies if the query selects multiple documents.
1763
- * @param {boolean} [options.upsert=false] Upsert the document if it does not exist.
1764
- * @param {'before'|'after'} [options.returnDocument='before'] When set to `'after'`, returns the updated document rather than the original. The default is `'before'`.
1765
- * @param {boolean} [options.returnOriginal=true] **Deprecated** Use `options.returnDocument` instead.
1766
- * @param {boolean} [options.checkKeys=false] If true, will throw if bson documents start with `$` or include a `.` in any key value
1767
- * @param {boolean} [options.serializeFunctions=false] Serialize functions on any object.
1768
- * @param {boolean} [options.ignoreUndefined=false] Specify if the BSON serializer should ignore undefined fields.
1769
- * @param {'queryPlanner'|'queryPlannerExtended'|'executionStats'|'allPlansExecution'|boolean} [options.explain] The verbosity mode for the explain output.
1770
- * @param {ClientSession} [options.session] optional session to use for this operation
1771
- * @param {Collection~findAndModifyCallback} [callback] The collection result callback
1772
- * @return {Promise<Collection~findAndModifyWriteOpResultObject>} returns Promise if no callback passed
1773
- */
1774
- Collection.prototype.findOneAndReplace = deprecateOptions(
1775
- {
1776
- name: 'collection.findOneAndReplace',
1777
- deprecatedOptions: ['returnOriginal'],
1778
- optionsIndex: 2
1779
- },
1780
- function(filter, replacement, options, callback) {
1781
- if (typeof options === 'function') (callback = options), (options = {});
1782
- options = options || {};
1783
-
1784
- // Add ignoreUndefined
1785
- if (this.s.options.ignoreUndefined) {
1786
- options = Object.assign({}, options);
1787
- options.ignoreUndefined = this.s.options.ignoreUndefined;
1788
- }
1789
-
1790
- return execute_operation(
1791
- this.s.topology,
1792
- new find_one_and_replace(this, filter, replacement, options),
1793
- callback
1794
- );
1795
- }
1796
- );
1797
-
1798
- /**
1799
- * Find a document and update it in one atomic operation. Requires a write lock for the duration of the operation.
1800
- *
1801
- * @method
1802
- * @param {object} filter The Filter used to select the document to update
1803
- * @param {object} update Update operations to be performed on the document
1804
- * @param {object} [options] Optional settings.
1805
- * @param {Array} [options.arrayFilters] optional list of array filters referenced in filtered positional operators
1806
- * @param {boolean} [options.bypassDocumentValidation=false] Allow driver to bypass schema validation in MongoDB 3.2 or higher.
1807
- * @param {object} [options.collation] Specify collation (MongoDB 3.4 or higher) settings for update operation (see 3.4 documentation for available fields).
1808
- * @param {string|object} [options.hint] An optional index to use for this operation
1809
- * @param {number} [options.maxTimeMS] The maximum amount of time to allow the query to run.
1810
- * @param {object} [options.projection] Limits the fields to return for all matching documents.
1811
- * @param {object} [options.sort] Determines which document the operation modifies if the query selects multiple documents.
1812
- * @param {boolean} [options.upsert=false] Upsert the document if it does not exist.
1813
- * @param {'before'|'after'} [options.returnDocument='before'] When set to `'after'`, returns the updated document rather than the original. The default is `'before'`.
1814
- * @param {boolean} [options.returnOriginal=true] **Deprecated** Use `options.returnDocument` instead.
1815
- * @param {boolean} [options.checkKeys=false] If true, will throw if bson documents start with `$` or include a `.` in any key value
1816
- * @param {boolean} [options.serializeFunctions=false] Serialize functions on any object.
1817
- * @param {boolean} [options.ignoreUndefined=false] Specify if the BSON serializer should ignore undefined fields.
1818
- * @param {'queryPlanner'|'queryPlannerExtended'|'executionStats'|'allPlansExecution'|boolean} [options.explain] The verbosity mode for the explain output.
1819
- * @param {ClientSession} [options.session] An ptional session to use for this operation
1820
- * @param {Collection~findAndModifyCallback} [callback] The collection result callback
1821
- * @return {Promise<Collection~findAndModifyWriteOpResultObject>} returns Promise if no callback passed
1822
- */
1823
- Collection.prototype.findOneAndUpdate = deprecateOptions(
1824
- {
1825
- name: 'collection.findOneAndUpdate',
1826
- deprecatedOptions: ['returnOriginal'],
1827
- optionsIndex: 2
1828
- },
1829
- function(filter, update, options, callback) {
1830
- if (typeof options === 'function') (callback = options), (options = {});
1831
- options = options || {};
1832
-
1833
- // Add ignoreUndefined
1834
- if (this.s.options.ignoreUndefined) {
1835
- options = Object.assign({}, options);
1836
- options.ignoreUndefined = this.s.options.ignoreUndefined;
1837
- }
1838
-
1839
- return execute_operation(
1840
- this.s.topology,
1841
- new find_one_and_update(this, filter, update, options),
1842
- callback
1843
- );
1844
- }
1845
- );
1846
-
1847
- /**
1848
- * Find and update a document.
1849
- * @method
1850
- * @param {object} query Query object to locate the object to modify.
1851
- * @param {array} sort If multiple docs match, choose the first one in the specified sort order as the object to manipulate.
1852
- * @param {object} doc The fields/vals to be updated.
1853
- * @param {object} [options] Optional settings.
1854
- * @param {(number|string)} [options.w] **Deprecated** The write concern. Use writeConcern instead.
1855
- * @param {number} [options.wtimeout] **Deprecated** The write concern timeout. Use writeConcern instead.
1856
- * @param {boolean} [options.j=false] **Deprecated** Specify a journal write concern. Use writeConcern instead.
1857
- * @param {object|WriteConcern} [options.writeConcern] Specify write concern settings.
1858
- * @param {boolean} [options.remove=false] Set to true to remove the object before returning.
1859
- * @param {boolean} [options.upsert=false] Perform an upsert operation.
1860
- * @param {boolean} [options.new=false] Set to true if you want to return the modified object rather than the original. Ignored for remove.
1861
- * @param {object} [options.projection] Object containing the field projection for the result returned from the operation.
1862
- * @param {object} [options.fields] **Deprecated** Use `options.projection` instead
1863
- * @param {ClientSession} [options.session] optional session to use for this operation
1864
- * @param {Array} [options.arrayFilters] optional list of array filters referenced in filtered positional operators
1865
- * @param {Collection~findAndModifyCallback} [callback] The command result callback
1866
- * @return {Promise} returns Promise if no callback passed
1867
- * @deprecated use findOneAndUpdate, findOneAndReplace or findOneAndDelete instead
1868
- */
1869
- Collection.prototype.findAndModify = deprecate(
1870
- _findAndModify,
1871
- 'collection.findAndModify is deprecated. Use findOneAndUpdate, findOneAndReplace or findOneAndDelete instead.'
1872
- );
1873
-
1874
- /**
1875
- * @ignore
1876
- */
1877
-
1878
- Collection.prototype._findAndModify = _findAndModify;
1879
-
1880
- function _findAndModify(query, sort, doc, options, callback) {
1881
- const args = Array.prototype.slice.call(arguments, 1);
1882
- callback = typeof args[args.length - 1] === 'function' ? args.pop() : undefined;
1883
- sort = args.length ? args.shift() || [] : [];
1884
- doc = args.length ? args.shift() : null;
1885
- options = args.length ? args.shift() || {} : {};
1886
-
1887
- // Clone options
1888
- options = Object.assign({}, options);
1889
- // Force read preference primary
1890
- options.readPreference = ReadPreference.PRIMARY;
1891
-
1892
- return execute_operation(
1893
- this.s.topology,
1894
- new find_and_modify(this, query, sort, doc, options),
1895
- callback
1896
- );
1897
- }
1898
-
1899
- /**
1900
- * Find and remove a document.
1901
- * @method
1902
- * @param {object} query Query object to locate the object to modify.
1903
- * @param {array} sort If multiple docs match, choose the first one in the specified sort order as the object to manipulate.
1904
- * @param {object} [options] Optional settings.
1905
- * @param {(number|string)} [options.w] **Deprecated** The write concern. Use writeConcern instead.
1906
- * @param {number} [options.wtimeout] **Deprecated** The write concern timeout. Use writeConcern instead.
1907
- * @param {boolean} [options.j=false] **Deprecated** Specify a journal write concern. Use writeConcern instead.
1908
- * @param {object|WriteConcern} [options.writeConcern] Specify write concern settings.
1909
- * @param {ClientSession} [options.session] optional session to use for this operation
1910
- * @param {Collection~resultCallback} [callback] The command result callback
1911
- * @return {Promise} returns Promise if no callback passed
1912
- * @deprecated use findOneAndDelete instead
1913
- */
1914
- Collection.prototype.findAndRemove = deprecate(function(query, sort, options, callback) {
1915
- const args = Array.prototype.slice.call(arguments, 1);
1916
- callback = typeof args[args.length - 1] === 'function' ? args.pop() : undefined;
1917
- sort = args.length ? args.shift() || [] : [];
1918
- options = args.length ? args.shift() || {} : {};
1919
-
1920
- // Add the remove option
1921
- options.remove = true;
1922
-
1923
- return execute_operation(
1924
- this.s.topology,
1925
- new find_and_modify(this, query, sort, null, options),
1926
- callback
1927
- );
1928
- }, 'collection.findAndRemove is deprecated. Use findOneAndDelete instead.');
1929
-
1930
- /**
1931
- * Execute an aggregation framework pipeline against the collection, needs MongoDB >= 2.2
1932
- * @method
1933
- * @param {object} [pipeline=[]] Array containing all the aggregation framework commands for the execution.
1934
- * @param {object} [options] Optional settings.
1935
- * @param {(ReadPreference|string)} [options.readPreference] The preferred read preference (ReadPreference.PRIMARY, ReadPreference.PRIMARY_PREFERRED, ReadPreference.SECONDARY, ReadPreference.SECONDARY_PREFERRED, ReadPreference.NEAREST).
1936
- * @param {number} [options.batchSize=1000] The number of documents to return per batch. See {@link https://docs.mongodb.com/manual/reference/command/aggregate|aggregation documentation}.
1937
- * @param {object} [options.cursor] Return the query as cursor, on 2.6 > it returns as a real cursor on pre 2.6 it returns as an emulated cursor.
1938
- * @param {number} [options.cursor.batchSize=1000] Deprecated. Use `options.batchSize`
1939
- * @param {boolean} [options.allowDiskUse=false] allowDiskUse lets the server know if it can use disk to store temporary results for the aggregation (requires mongodb 2.6 >).
1940
- * @param {number} [options.maxTimeMS] maxTimeMS specifies a cumulative time limit in milliseconds for processing operations on the cursor. MongoDB interrupts the operation at the earliest following interrupt point.
1941
- * @param {number} [options.maxAwaitTimeMS] The maximum amount of time for the server to wait on new documents to satisfy a tailable cursor query.
1942
- * @param {boolean} [options.bypassDocumentValidation=false] Allow driver to bypass schema validation in MongoDB 3.2 or higher.
1943
- * @param {boolean} [options.raw=false] Return document results as raw BSON buffers.
1944
- * @param {boolean} [options.promoteLongs=true] Promotes Long values to number if they fit inside the 53 bits resolution.
1945
- * @param {boolean} [options.promoteValues=true] Promotes BSON values to native types where possible, set to false to only receive wrapper types.
1946
- * @param {boolean} [options.promoteBuffers=false] Promotes Binary BSON values to native Node Buffers.
1947
- * @param {object} [options.collation] Specify collation settings for operation. See {@link https://docs.mongodb.com/manual/reference/command/aggregate|aggregation documentation}.
1948
- * @param {string} [options.comment] Add a comment to an aggregation command
1949
- * @param {string|object} [options.hint] Add an index selection hint to an aggregation command
1950
- * @param {'queryPlanner'|'queryPlannerExtended'|'executionStats'|'allPlansExecution'|boolean} [options.explain] The verbosity mode for the explain output.
1951
- * @param {ClientSession} [options.session] optional session to use for this operation
1952
- * @param {Collection~aggregationCallback} callback The command result callback
1953
- * @return {(null|AggregationCursor)}
1954
- */
1955
- Collection.prototype.aggregate = function(pipeline, options, callback) {
1956
- if (Array.isArray(pipeline)) {
1957
- // Set up callback if one is provided
1958
- if (typeof options === 'function') {
1959
- callback = options;
1960
- options = {};
1961
- }
1962
-
1963
- // If we have no options or callback we are doing
1964
- // a cursor based aggregation
1965
- if (options == null && callback == null) {
1966
- options = {};
1967
- }
1968
- } else {
1969
- // Aggregation pipeline passed as arguments on the method
1970
- const args = Array.prototype.slice.call(arguments, 0);
1971
- // Get the callback
1972
- callback = args.pop();
1973
- // Get the possible options object
1974
- const opts = args[args.length - 1];
1975
- // If it contains any of the admissible options pop it of the args
1976
- options =
1977
- opts &&
1978
- (opts.readPreference ||
1979
- opts.explain ||
1980
- opts.cursor ||
1981
- opts.out ||
1982
- opts.maxTimeMS ||
1983
- opts.hint ||
1984
- opts.allowDiskUse)
1985
- ? args.pop()
1986
- : {};
1987
- // Left over arguments is the pipeline
1988
- pipeline = args;
1989
- }
1990
-
1991
- const cursor = new aggregation_cursor(
1992
- this.s.topology,
1993
- new aggregate(this, pipeline, options),
1994
- options
1995
- );
1996
-
1997
- // TODO: remove this when NODE-2074 is resolved
1998
- if (typeof callback === 'function') {
1999
- callback(null, cursor);
2000
- return;
2001
- }
2002
-
2003
- return cursor;
2004
- };
2005
-
2006
- /**
2007
- * Create a new Change Stream, watching for new changes (insertions, updates, replacements, deletions, and invalidations) in this collection.
2008
- * @method
2009
- * @since 3.0.0
2010
- * @param {Array} [pipeline] An array of {@link https://docs.mongodb.com/manual/reference/operator/aggregation-pipeline/|aggregation pipeline stages} through which to pass change stream documents. This allows for filtering (using $match) and manipulating the change stream documents.
2011
- * @param {object} [options] Optional settings
2012
- * @param {string} [options.fullDocument='default'] Allowed values: ‘default’, ‘updateLookup’. When set to ‘updateLookup’, the change stream will include both a delta describing the changes to the document, as well as a copy of the entire document that was changed from some time after the change occurred.
2013
- * @param {object} [options.resumeAfter] Specifies the logical starting point for the new change stream. This should be the _id field from a previously returned change stream document.
2014
- * @param {number} [options.maxAwaitTimeMS] The maximum amount of time for the server to wait on new documents to satisfy a change stream query
2015
- * @param {number} [options.batchSize=1000] The number of documents to return per batch. See {@link https://docs.mongodb.com/manual/reference/command/aggregate|aggregation documentation}.
2016
- * @param {object} [options.collation] Specify collation settings for operation. See {@link https://docs.mongodb.com/manual/reference/command/aggregate|aggregation documentation}.
2017
- * @param {ReadPreference} [options.readPreference] The read preference. Defaults to the read preference of the database or collection. See {@link https://docs.mongodb.com/manual/reference/read-preference|read preference documentation}.
2018
- * @param {Timestamp} [options.startAtOperationTime] receive change events that occur after the specified timestamp
2019
- * @param {ClientSession} [options.session] optional session to use for this operation
2020
- * @return {ChangeStream} a ChangeStream instance.
2021
- */
2022
- Collection.prototype.watch = function(pipeline, options) {
2023
- pipeline = pipeline || [];
2024
- options = options || {};
2025
-
2026
- // Allow optionally not specifying a pipeline
2027
- if (!Array.isArray(pipeline)) {
2028
- options = pipeline;
2029
- pipeline = [];
2030
- }
2031
-
2032
- return new change_stream(this, pipeline, options);
2033
- };
2034
-
2035
- /**
2036
- * The callback format for results
2037
- * @callback Collection~parallelCollectionScanCallback
2038
- * @param {MongoError} error An error instance representing the error during the execution.
2039
- * @param {Cursor[]} cursors A list of cursors returned allowing for parallel reading of collection.
2040
- */
2041
-
2042
- /**
2043
- * Return N number of parallel cursors for a collection allowing parallel reading of entire collection. There are
2044
- * no ordering guarantees for returned results.
2045
- * @method
2046
- * @param {object} [options] Optional settings.
2047
- * @param {(ReadPreference|string)} [options.readPreference] The preferred read preference (ReadPreference.PRIMARY, ReadPreference.PRIMARY_PREFERRED, ReadPreference.SECONDARY, ReadPreference.SECONDARY_PREFERRED, ReadPreference.NEAREST).
2048
- * @param {number} [options.batchSize=1000] Set the batchSize for the getMoreCommand when iterating over the query results.
2049
- * @param {number} [options.numCursors=1] The maximum number of parallel command cursors to return (the number of returned cursors will be in the range 1:numCursors)
2050
- * @param {boolean} [options.raw=false] Return all BSON documents as Raw Buffer documents.
2051
- * @param {Collection~parallelCollectionScanCallback} [callback] The command result callback
2052
- * @return {Promise} returns Promise if no callback passed
2053
- */
2054
- Collection.prototype.parallelCollectionScan = deprecate(function(options, callback) {
2055
- if (typeof options === 'function') (callback = options), (options = { numCursors: 1 });
2056
- // Set number of cursors to 1
2057
- options.numCursors = options.numCursors || 1;
2058
- options.batchSize = options.batchSize || 1000;
2059
-
2060
- options = Object.assign({}, options);
2061
- // Ensure we have the right read preference inheritance
2062
- options.readPreference = ReadPreference.resolve(this, options);
2063
-
2064
- // Add a promiseLibrary
2065
- options.promiseLibrary = this.s.promiseLibrary;
2066
-
2067
- if (options.session) {
2068
- options.session = undefined;
2069
- }
2070
-
2071
- return executeLegacyOperation(
2072
- this.s.topology,
2073
- parallelCollectionScan,
2074
- [this, options, callback],
2075
- { skipSessions: true }
2076
- );
2077
- }, 'parallelCollectionScan is deprecated in MongoDB v4.1');
2078
-
2079
- /**
2080
- * Execute a geo search using a geo haystack index on a collection.
2081
- *
2082
- * @method
2083
- * @param {number} x Point to search on the x axis, ensure the indexes are ordered in the same order.
2084
- * @param {number} y Point to search on the y axis, ensure the indexes are ordered in the same order.
2085
- * @param {object} [options] Optional settings.
2086
- * @param {(ReadPreference|string)} [options.readPreference] The preferred read preference (ReadPreference.PRIMARY, ReadPreference.PRIMARY_PREFERRED, ReadPreference.SECONDARY, ReadPreference.SECONDARY_PREFERRED, ReadPreference.NEAREST).
2087
- * @param {number} [options.maxDistance] Include results up to maxDistance from the point.
2088
- * @param {object} [options.search] Filter the results by a query.
2089
- * @param {number} [options.limit=false] Max number of results to return.
2090
- * @param {ClientSession} [options.session] optional session to use for this operation
2091
- * @param {Collection~resultCallback} [callback] The command result callback
2092
- * @return {Promise} returns Promise if no callback passed
2093
- * @deprecated See {@link https://docs.mongodb.com/manual/geospatial-queries/|geospatial queries docs} for current geospatial support
2094
- */
2095
- Collection.prototype.geoHaystackSearch = deprecate(function(x, y, options, callback) {
2096
- const args = Array.prototype.slice.call(arguments, 2);
2097
- callback = typeof args[args.length - 1] === 'function' ? args.pop() : undefined;
2098
- options = args.length ? args.shift() || {} : {};
2099
-
2100
- const geoHaystackSearchOperation = new geo_haystack_search(this, x, y, options);
2101
-
2102
- return execute_operation(this.s.topology, geoHaystackSearchOperation, callback);
2103
- }, 'geoHaystackSearch is deprecated, and will be removed in a future version.');
2104
-
2105
- /**
2106
- * Run a group command across a collection
2107
- *
2108
- * @method
2109
- * @param {(object|array|function|code)} keys An object, array or function expressing the keys to group by.
2110
- * @param {object} condition An optional condition that must be true for a row to be considered.
2111
- * @param {object} initial Initial value of the aggregation counter object.
2112
- * @param {(function|Code)} reduce The reduce function aggregates (reduces) the objects iterated
2113
- * @param {(function|Code)} finalize An optional function to be run on each item in the result set just before the item is returned.
2114
- * @param {boolean} command Specify if you wish to run using the internal group command or using eval, default is true.
2115
- * @param {object} [options] Optional settings.
2116
- * @param {(ReadPreference|string)} [options.readPreference] The preferred read preference (ReadPreference.PRIMARY, ReadPreference.PRIMARY_PREFERRED, ReadPreference.SECONDARY, ReadPreference.SECONDARY_PREFERRED, ReadPreference.NEAREST).
2117
- * @param {ClientSession} [options.session] optional session to use for this operation
2118
- * @param {Collection~resultCallback} [callback] The command result callback
2119
- * @return {Promise} returns Promise if no callback passed
2120
- * @deprecated MongoDB 3.6 or higher no longer supports the group command. We recommend rewriting using the aggregation framework.
2121
- */
2122
- Collection.prototype.group = deprecate(function(
2123
- keys,
2124
- condition,
2125
- initial,
2126
- reduce,
2127
- finalize,
2128
- command,
2129
- options,
2130
- callback
2131
- ) {
2132
- const args = Array.prototype.slice.call(arguments, 3);
2133
- callback = typeof args[args.length - 1] === 'function' ? args.pop() : undefined;
2134
- reduce = args.length ? args.shift() : null;
2135
- finalize = args.length ? args.shift() : null;
2136
- command = args.length ? args.shift() : null;
2137
- options = args.length ? args.shift() || {} : {};
2138
-
2139
- // Make sure we are backward compatible
2140
- if (!(typeof finalize === 'function')) {
2141
- command = finalize;
2142
- finalize = null;
2143
- }
2144
-
2145
- if (
2146
- !Array.isArray(keys) &&
2147
- keys instanceof Object &&
2148
- typeof keys !== 'function' &&
2149
- !(keys._bsontype === 'Code')
2150
- ) {
2151
- keys = Object.keys(keys);
2152
- }
2153
-
2154
- if (typeof reduce === 'function') {
2155
- reduce = reduce.toString();
2156
- }
2157
-
2158
- if (typeof finalize === 'function') {
2159
- finalize = finalize.toString();
2160
- }
2161
-
2162
- // Set up the command as default
2163
- command = command == null ? true : command;
2164
-
2165
- return executeLegacyOperation(this.s.topology, group, [
2166
- this,
2167
- keys,
2168
- condition,
2169
- initial,
2170
- reduce,
2171
- finalize,
2172
- command,
2173
- options,
2174
- callback
2175
- ]);
2176
- },
2177
- 'MongoDB 3.6 or higher no longer supports the group command. We recommend rewriting using the aggregation framework.');
2178
-
2179
- /**
2180
- * Run Map Reduce across a collection. Be aware that the inline option for out will return an array of results not a collection.
2181
- *
2182
- * @method
2183
- * @param {(function|string)} map The mapping function.
2184
- * @param {(function|string)} reduce The reduce function.
2185
- * @param {object} [options] Optional settings.
2186
- * @param {(ReadPreference|string)} [options.readPreference] The preferred read preference (ReadPreference.PRIMARY, ReadPreference.PRIMARY_PREFERRED, ReadPreference.SECONDARY, ReadPreference.SECONDARY_PREFERRED, ReadPreference.NEAREST).
2187
- * @param {object} [options.out] Sets the output target for the map reduce job. *{inline:1} | {replace:'collectionName'} | {merge:'collectionName'} | {reduce:'collectionName'}*
2188
- * @param {object} [options.query] Query filter object.
2189
- * @param {object} [options.sort] Sorts the input objects using this key. Useful for optimization, like sorting by the emit key for fewer reduces.
2190
- * @param {number} [options.limit] Number of objects to return from collection.
2191
- * @param {boolean} [options.keeptemp=false] Keep temporary data.
2192
- * @param {(function|string)} [options.finalize] Finalize function.
2193
- * @param {object} [options.scope] Can pass in variables that can be access from map/reduce/finalize.
2194
- * @param {boolean} [options.jsMode=false] It is possible to make the execution stay in JS. Provided in MongoDB > 2.0.X.
2195
- * @param {boolean} [options.verbose=false] Provide statistics on job execution time.
2196
- * @param {boolean} [options.bypassDocumentValidation=false] Allow driver to bypass schema validation in MongoDB 3.2 or higher.
2197
- * @param {'queryPlanner'|'queryPlannerExtended'|'executionStats'|'allPlansExecution'|boolean} [options.explain] The verbosity mode for the explain output.
2198
- * @param {ClientSession} [options.session] optional session to use for this operation
2199
- * @param {Collection~resultCallback} [callback] The command result callback
2200
- * @throws {MongoError}
2201
- * @return {Promise} returns Promise if no callback passed
2202
- */
2203
- Collection.prototype.mapReduce = function(map, reduce, options, callback) {
2204
- if ('function' === typeof options) (callback = options), (options = {});
2205
- // Out must allways be defined (make sure we don't break weirdly on pre 1.8+ servers)
2206
- if (null == options.out) {
2207
- throw new Error(
2208
- 'the out option parameter must be defined, see mongodb docs for possible values'
2209
- );
2210
- }
2211
-
2212
- if ('function' === typeof map) {
2213
- map = map.toString();
2214
- }
2215
-
2216
- if ('function' === typeof reduce) {
2217
- reduce = reduce.toString();
2218
- }
2219
-
2220
- if ('function' === typeof options.finalize) {
2221
- options.finalize = options.finalize.toString();
2222
- }
2223
- const mapReduceOperation = new map_reduce(this, map, reduce, options);
2224
-
2225
- return execute_operation(this.s.topology, mapReduceOperation, callback);
2226
- };
2227
-
2228
- /**
2229
- * Initiate an Out of order batch write operation. All operations will be buffered into insert/update/remove commands executed out of order.
2230
- *
2231
- * @method
2232
- * @param {object} [options] Optional settings.
2233
- * @param {(number|string)} [options.w] **Deprecated** The write concern. Use writeConcern instead.
2234
- * @param {number} [options.wtimeout] **Deprecated** The write concern timeout. Use writeConcern instead.
2235
- * @param {boolean} [options.j=false] **Deprecated** Specify a journal write concern. Use writeConcern instead.
2236
- * @param {object|WriteConcern} [options.writeConcern] Specify write concern settings.
2237
- * @param {boolean} [options.ignoreUndefined=false] Specify if the BSON serializer should ignore undefined fields.
2238
- * @param {ClientSession} [options.session] optional session to use for this operation
2239
- * @return {UnorderedBulkOperation}
2240
- */
2241
- Collection.prototype.initializeUnorderedBulkOp = function(options) {
2242
- options = options || {};
2243
- // Give function's options precedence over session options.
2244
- if (options.ignoreUndefined == null) {
2245
- options.ignoreUndefined = this.s.options.ignoreUndefined;
2246
- }
2247
-
2248
- options.promiseLibrary = this.s.promiseLibrary;
2249
- return unordered(this.s.topology, this, options);
2250
- };
2251
-
2252
- /**
2253
- * Initiate an In order bulk write operation. Operations will be serially executed in the order they are added, creating a new operation for each switch in types.
2254
- *
2255
- * @method
2256
- * @param {object} [options] Optional settings.
2257
- * @param {(number|string)} [options.w] **Deprecated** The write concern. Use writeConcern instead.
2258
- * @param {number} [options.wtimeout] **Deprecated** The write concern timeout. Use writeConcern instead.
2259
- * @param {boolean} [options.j=false] **Deprecated** Specify a journal write concern. Use writeConcern instead.
2260
- * @param {object|WriteConcern} [options.writeConcern] Specify write concern settings.
2261
- * @param {ClientSession} [options.session] optional session to use for this operation
2262
- * @param {boolean} [options.ignoreUndefined=false] Specify if the BSON serializer should ignore undefined fields.
2263
- * @return {null}
2264
- */
2265
- Collection.prototype.initializeOrderedBulkOp = function(options) {
2266
- options = options || {};
2267
- // Give function's options precedence over session's options.
2268
- if (options.ignoreUndefined == null) {
2269
- options.ignoreUndefined = this.s.options.ignoreUndefined;
2270
- }
2271
- options.promiseLibrary = this.s.promiseLibrary;
2272
- return ordered(this.s.topology, this, options);
2273
- };
2274
-
2275
- /**
2276
- * Return the db logger
2277
- * @method
2278
- * @return {Logger} return the db logger
2279
- * @ignore
2280
- */
2281
- Collection.prototype.getLogger = function() {
2282
- return this.s.db.s.logger;
2283
- };
2284
-
2285
- var collection = Collection;
2286
-
2287
- export default collection;
2288
- //# sourceMappingURL=collection.mjs.map