pecunia-root 0.1.1 → 0.1.2

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 (326) hide show
  1. package/dist/adapters/prisma-adapter/index.d.mts +1 -1
  2. package/dist/adapters/prisma-adapter/index.mjs +1 -1
  3. package/dist/adapters/prisma-adapter/index.mjs.map +1 -1
  4. package/dist/index.d.mts +1 -2
  5. package/dist/index.mjs +1 -2
  6. package/package.json +2 -16
  7. package/dist/_virtual/rolldown_runtime.mjs +0 -8
  8. package/dist/adapters/mongodb-adapter/index.d.mts +0 -35
  9. package/dist/adapters/mongodb-adapter/index.mjs +0 -314
  10. package/dist/adapters/mongodb-adapter/index.mjs.map +0 -1
  11. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/code-points-data.mjs +0 -14
  12. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/code-points-data.mjs.map +0 -1
  13. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/index.mjs +0 -54
  14. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/index.mjs.map +0 -1
  15. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/memory-code-points.mjs +0 -36
  16. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/memory-code-points.mjs.map +0 -1
  17. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/node.mjs +0 -27
  18. package/dist/node_modules/.pnpm/@mongodb-js_saslprep@1.4.4/node_modules/@mongodb-js/saslprep/dist/node.mjs.map +0 -1
  19. package/dist/node_modules/.pnpm/bson@6.10.4/node_modules/bson/lib/bson.mjs +0 -3728
  20. package/dist/node_modules/.pnpm/bson@6.10.4/node_modules/bson/lib/bson.mjs.map +0 -1
  21. package/dist/node_modules/.pnpm/memory-pager@1.5.0/node_modules/memory-pager/index.mjs +0 -137
  22. package/dist/node_modules/.pnpm/memory-pager@1.5.0/node_modules/memory-pager/index.mjs.map +0 -1
  23. package/dist/node_modules/.pnpm/mongodb-connection-string-url@3.0.2/node_modules/mongodb-connection-string-url/lib/index.mjs +0 -211
  24. package/dist/node_modules/.pnpm/mongodb-connection-string-url@3.0.2/node_modules/mongodb-connection-string-url/lib/index.mjs.map +0 -1
  25. package/dist/node_modules/.pnpm/mongodb-connection-string-url@3.0.2/node_modules/mongodb-connection-string-url/lib/redact.mjs +0 -95
  26. package/dist/node_modules/.pnpm/mongodb-connection-string-url@3.0.2/node_modules/mongodb-connection-string-url/lib/redact.mjs.map +0 -1
  27. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/admin.mjs +0 -158
  28. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/admin.mjs.map +0 -1
  29. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bson.mjs +0 -195
  30. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bson.mjs.map +0 -1
  31. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/common.mjs +0 -710
  32. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/common.mjs.map +0 -1
  33. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/ordered.mjs +0 -53
  34. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/ordered.mjs.map +0 -1
  35. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/unordered.mjs +0 -63
  36. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/bulk/unordered.mjs.map +0 -1
  37. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/change_stream.mjs +0 -368
  38. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/change_stream.mjs.map +0 -1
  39. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/auto_encrypter.mjs +0 -234
  40. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/auto_encrypter.mjs.map +0 -1
  41. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/client_encryption.mjs +0 -545
  42. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/client_encryption.mjs.map +0 -1
  43. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/crypto_callbacks.mjs +0 -83
  44. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/crypto_callbacks.mjs.map +0 -1
  45. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/errors.mjs +0 -146
  46. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/errors.mjs.map +0 -1
  47. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/mongocryptd_manager.mjs +0 -58
  48. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/mongocryptd_manager.mjs.map +0 -1
  49. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/aws.mjs +0 -30
  50. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/aws.mjs.map +0 -1
  51. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/azure.mjs +0 -135
  52. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/azure.mjs.map +0 -1
  53. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/gcp.mjs +0 -25
  54. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/gcp.mjs.map +0 -1
  55. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/index.mjs +0 -47
  56. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/providers/index.mjs.map +0 -1
  57. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/state_machine.mjs +0 -362
  58. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/client-side-encryption/state_machine.mjs.map +0 -1
  59. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/auth_provider.mjs +0 -58
  60. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/auth_provider.mjs.map +0 -1
  61. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/aws_temporary_credentials.mjs +0 -123
  62. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/aws_temporary_credentials.mjs.map +0 -1
  63. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/gssapi.mjs +0 -128
  64. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/gssapi.mjs.map +0 -1
  65. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongo_credentials.mjs +0 -133
  66. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongo_credentials.mjs.map +0 -1
  67. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_aws.mjs +0 -126
  68. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_aws.mjs.map +0 -1
  69. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/automated_callback_workflow.mjs +0 -79
  70. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/automated_callback_workflow.mjs.map +0 -1
  71. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_machine_workflow.mjs +0 -65
  72. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_machine_workflow.mjs.map +0 -1
  73. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_workflow.mjs +0 -127
  74. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_workflow.mjs.map +0 -1
  75. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/command_builders.mjs +0 -47
  76. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/command_builders.mjs.map +0 -1
  77. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/gcp_machine_workflow.mjs +0 -44
  78. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/gcp_machine_workflow.mjs.map +0 -1
  79. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/human_callback_workflow.mjs +0 -101
  80. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/human_callback_workflow.mjs.map +0 -1
  81. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/k8s_machine_workflow.mjs +0 -33
  82. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/k8s_machine_workflow.mjs.map +0 -1
  83. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_cache.mjs +0 -53
  84. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_cache.mjs.map +0 -1
  85. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_machine_workflow.mjs +0 -29
  86. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_machine_workflow.mjs.map +0 -1
  87. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.mjs +0 -83
  88. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.mjs.map +0 -1
  89. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/plain.mjs +0 -36
  90. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/plain.mjs.map +0 -1
  91. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/providers.mjs +0 -32
  92. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/providers.mjs.map +0 -1
  93. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/scram.mjs +0 -206
  94. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/scram.mjs.map +0 -1
  95. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/x509.mjs +0 -45
  96. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/auth/x509.mjs.map +0 -1
  97. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/command_monitoring_events.mjs +0 -213
  98. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/command_monitoring_events.mjs.map +0 -1
  99. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/commands.mjs +0 -411
  100. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/commands.mjs.map +0 -1
  101. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connect.mjs +0 -288
  102. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connect.mjs.map +0 -1
  103. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection.mjs +0 -423
  104. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection.mjs.map +0 -1
  105. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection_pool.mjs +0 -483
  106. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection_pool.mjs.map +0 -1
  107. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection_pool_events.mjs +0 -207
  108. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/connection_pool_events.mjs.map +0 -1
  109. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/errors.mjs +0 -116
  110. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/errors.mjs.map +0 -1
  111. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/handshake/client_metadata.mjs +0 -183
  112. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/handshake/client_metadata.mjs.map +0 -1
  113. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/metrics.mjs +0 -55
  114. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/metrics.mjs.map +0 -1
  115. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/stream_description.mjs +0 -60
  116. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/stream_description.mjs.map +0 -1
  117. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/compression.mjs +0 -139
  118. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/compression.mjs.map +0 -1
  119. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/constants.mjs +0 -28
  120. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/constants.mjs.map +0 -1
  121. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/on_data.mjs +0 -117
  122. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/on_data.mjs.map +0 -1
  123. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/on_demand/document.mjs +0 -182
  124. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/on_demand/document.mjs.map +0 -1
  125. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/responses.mjs +0 -304
  126. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/responses.mjs.map +0 -1
  127. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/shared.mjs +0 -34
  128. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cmap/wire_protocol/shared.mjs.map +0 -1
  129. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/collection.mjs +0 -739
  130. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/collection.mjs.map +0 -1
  131. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/connection_string.mjs +0 -805
  132. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/connection_string.mjs.map +0 -1
  133. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/constants.mjs +0 -174
  134. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/constants.mjs.map +0 -1
  135. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/abstract_cursor.mjs +0 -726
  136. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/abstract_cursor.mjs.map +0 -1
  137. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/aggregation_cursor.mjs +0 -172
  138. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/aggregation_cursor.mjs.map +0 -1
  139. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/change_stream_cursor.mjs +0 -103
  140. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/change_stream_cursor.mjs.map +0 -1
  141. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/client_bulk_write_cursor.mjs +0 -66
  142. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/client_bulk_write_cursor.mjs.map +0 -1
  143. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/explainable_cursor.mjs +0 -41
  144. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/explainable_cursor.mjs.map +0 -1
  145. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/find_cursor.mjs +0 -365
  146. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/find_cursor.mjs.map +0 -1
  147. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_collections_cursor.mjs +0 -50
  148. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_collections_cursor.mjs.map +0 -1
  149. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_indexes_cursor.mjs +0 -48
  150. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_indexes_cursor.mjs.map +0 -1
  151. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_search_indexes_cursor.mjs +0 -23
  152. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/list_search_indexes_cursor.mjs.map +0 -1
  153. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/run_command_cursor.mjs +0 -106
  154. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/cursor/run_command_cursor.mjs.map +0 -1
  155. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/db.mjs +0 -428
  156. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/db.mjs.map +0 -1
  157. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/deps.mjs +0 -124
  158. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/deps.mjs.map +0 -1
  159. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/encrypter.mjs +0 -95
  160. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/encrypter.mjs.map +0 -1
  161. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/error.mjs +0 -1305
  162. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/error.mjs.map +0 -1
  163. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/explain.mjs +0 -59
  164. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/explain.mjs.map +0 -1
  165. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/download.mjs +0 -250
  166. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/download.mjs.map +0 -1
  167. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/index.mjs +0 -170
  168. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/index.mjs.map +0 -1
  169. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/upload.mjs +0 -315
  170. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/gridfs/upload.mjs.map +0 -1
  171. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/index.mjs +0 -925
  172. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/index.mjs.map +0 -1
  173. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_client.mjs +0 -520
  174. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_client.mjs.map +0 -1
  175. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_client_auth_providers.mjs +0 -90
  176. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_client_auth_providers.mjs.map +0 -1
  177. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_logger.mjs +0 -582
  178. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_logger.mjs.map +0 -1
  179. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_types.mjs +0 -64
  180. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/mongo_types.mjs.map +0 -1
  181. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/aggregate.mjs +0 -86
  182. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/aggregate.mjs.map +0 -1
  183. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/client_bulk_write.mjs +0 -60
  184. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/client_bulk_write.mjs.map +0 -1
  185. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/command_builder.mjs +0 -264
  186. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/command_builder.mjs.map +0 -1
  187. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/executor.mjs +0 -109
  188. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/executor.mjs.map +0 -1
  189. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/results_merger.mjs +0 -172
  190. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/results_merger.mjs.map +0 -1
  191. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/command.mjs +0 -68
  192. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/command.mjs.map +0 -1
  193. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/count.mjs +0 -53
  194. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/count.mjs.map +0 -1
  195. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/create_collection.mjs +0 -123
  196. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/create_collection.mjs.map +0 -1
  197. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/delete.mjs +0 -119
  198. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/delete.mjs.map +0 -1
  199. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/distinct.mjs +0 -65
  200. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/distinct.mjs.map +0 -1
  201. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/drop.mjs +0 -97
  202. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/drop.mjs.map +0 -1
  203. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/estimated_document_count.mjs +0 -47
  204. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/estimated_document_count.mjs.map +0 -1
  205. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/execute_operation.mjs +0 -188
  206. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/execute_operation.mjs.map +0 -1
  207. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/find.mjs +0 -103
  208. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/find.mjs.map +0 -1
  209. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/find_and_modify.mjs +0 -136
  210. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/find_and_modify.mjs.map +0 -1
  211. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/get_more.mjs +0 -61
  212. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/get_more.mjs.map +0 -1
  213. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/indexes.mjs +0 -179
  214. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/indexes.mjs.map +0 -1
  215. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/insert.mjs +0 -77
  216. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/insert.mjs.map +0 -1
  217. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/kill_cursors.mjs +0 -48
  218. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/kill_cursors.mjs.map +0 -1
  219. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/list_collections.mjs +0 -60
  220. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/list_collections.mjs.map +0 -1
  221. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/list_databases.mjs +0 -43
  222. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/list_databases.mjs.map +0 -1
  223. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/operation.mjs +0 -105
  224. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/operation.mjs.map +0 -1
  225. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/profiling_level.mjs +0 -50
  226. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/profiling_level.mjs.map +0 -1
  227. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/remove_user.mjs +0 -39
  228. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/remove_user.mjs.map +0 -1
  229. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/rename.mjs +0 -49
  230. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/rename.mjs.map +0 -1
  231. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/run_command.mjs +0 -58
  232. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/run_command.mjs.map +0 -1
  233. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/create.mjs +0 -46
  234. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/create.mjs.map +0 -1
  235. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/drop.mjs +0 -48
  236. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/drop.mjs.map +0 -1
  237. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/update.mjs +0 -46
  238. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/search_indexes/update.mjs.map +0 -1
  239. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/set_profiling_level.mjs +0 -67
  240. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/set_profiling_level.mjs.map +0 -1
  241. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/stats.mjs +0 -37
  242. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/stats.mjs.map +0 -1
  243. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/update.mjs +0 -171
  244. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/update.mjs.map +0 -1
  245. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/validate_collection.mjs +0 -45
  246. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/validate_collection.mjs.map +0 -1
  247. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/read_concern.mjs +0 -71
  248. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/read_concern.mjs.map +0 -1
  249. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/read_preference.mjs +0 -165
  250. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/read_preference.mjs.map +0 -1
  251. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/resource_management.mjs +0 -62
  252. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/resource_management.mjs.map +0 -1
  253. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/common.mjs +0 -51
  254. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/common.mjs.map +0 -1
  255. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/events.mjs +0 -156
  256. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/events.mjs.map +0 -1
  257. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/monitor.mjs +0 -477
  258. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/monitor.mjs.map +0 -1
  259. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server.mjs +0 -315
  260. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server.mjs.map +0 -1
  261. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_description.mjs +0 -157
  262. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_description.mjs.map +0 -1
  263. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_selection.mjs +0 -184
  264. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_selection.mjs.map +0 -1
  265. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_selection_events.mjs +0 -96
  266. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/server_selection_events.mjs.map +0 -1
  267. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/srv_polling.mjs +0 -107
  268. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/srv_polling.mjs.map +0 -1
  269. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/topology.mjs +0 -540
  270. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/topology.mjs.map +0 -1
  271. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/topology_description.mjs +0 -298
  272. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sdam/topology_description.mjs.map +0 -1
  273. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sessions.mjs +0 -623
  274. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sessions.mjs.map +0 -1
  275. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sort.mjs +0 -91
  276. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/sort.mjs.map +0 -1
  277. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/timeout.mjs +0 -254
  278. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/timeout.mjs.map +0 -1
  279. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/transactions.mjs +0 -138
  280. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/transactions.mjs.map +0 -1
  281. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/utils.mjs +0 -993
  282. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/utils.mjs.map +0 -1
  283. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/write_concern.mjs +0 -81
  284. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/write_concern.mjs.map +0 -1
  285. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/package.mjs +0 -171
  286. package/dist/node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/package.mjs.map +0 -1
  287. package/dist/node_modules/.pnpm/punycode@2.3.1/node_modules/punycode/punycode.mjs +0 -295
  288. package/dist/node_modules/.pnpm/punycode@2.3.1/node_modules/punycode/punycode.mjs.map +0 -1
  289. package/dist/node_modules/.pnpm/sparse-bitfield@3.0.3/node_modules/sparse-bitfield/index.mjs +0 -81
  290. package/dist/node_modules/.pnpm/sparse-bitfield@3.0.3/node_modules/sparse-bitfield/index.mjs.map +0 -1
  291. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/index.mjs +0 -206
  292. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/index.mjs.map +0 -1
  293. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/mappingTable.mjs +0 -33590
  294. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/mappingTable.mjs.map +0 -1
  295. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/regexes.mjs +0 -37
  296. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/regexes.mjs.map +0 -1
  297. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/statusMapping.mjs +0 -18
  298. package/dist/node_modules/.pnpm/tr46@5.1.1/node_modules/tr46/lib/statusMapping.mjs.map +0 -1
  299. package/dist/node_modules/.pnpm/webidl-conversions@7.0.0/node_modules/webidl-conversions/lib/index.mjs +0 -252
  300. package/dist/node_modules/.pnpm/webidl-conversions@7.0.0/node_modules/webidl-conversions/lib/index.mjs.map +0 -1
  301. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/index.mjs +0 -41
  302. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/index.mjs.map +0 -1
  303. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/Function.mjs +0 -41
  304. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/Function.mjs.map +0 -1
  305. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URL-impl.mjs +0 -173
  306. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URL-impl.mjs.map +0 -1
  307. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URL.mjs +0 -334
  308. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URL.mjs.map +0 -1
  309. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URLSearchParams-impl.mjs +0 -90
  310. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URLSearchParams-impl.mjs.map +0 -1
  311. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URLSearchParams.mjs +0 -356
  312. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/URLSearchParams.mjs.map +0 -1
  313. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/encoding.mjs +0 -23
  314. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/encoding.mjs.map +0 -1
  315. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/infra.mjs +0 -29
  316. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/infra.mjs.map +0 -1
  317. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/percent-encoding.mjs +0 -140
  318. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/percent-encoding.mjs.map +0 -1
  319. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/url-state-machine.mjs +0 -831
  320. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/url-state-machine.mjs.map +0 -1
  321. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/urlencoded.mjs +0 -77
  322. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/urlencoded.mjs.map +0 -1
  323. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/utils.mjs +0 -147
  324. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/lib/utils.mjs.map +0 -1
  325. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/webidl2js-wrapper.mjs +0 -17
  326. package/dist/node_modules/.pnpm/whatwg-url@14.2.0/node_modules/whatwg-url/webidl2js-wrapper.mjs.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"executor.mjs","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/executor.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ClientBulkWriteExecutor = void 0;\nconst abstract_cursor_1 = require(\"../../cursor/abstract_cursor\");\nconst client_bulk_write_cursor_1 = require(\"../../cursor/client_bulk_write_cursor\");\nconst error_1 = require(\"../../error\");\nconst timeout_1 = require(\"../../timeout\");\nconst utils_1 = require(\"../../utils\");\nconst write_concern_1 = require(\"../../write_concern\");\nconst execute_operation_1 = require(\"../execute_operation\");\nconst client_bulk_write_1 = require(\"./client_bulk_write\");\nconst command_builder_1 = require(\"./command_builder\");\nconst results_merger_1 = require(\"./results_merger\");\n/**\n * Responsible for executing a client bulk write.\n * @internal\n */\nclass ClientBulkWriteExecutor {\n /**\n * Instantiate the executor.\n * @param client - The mongo client.\n * @param operations - The user supplied bulk write models.\n * @param options - The bulk write options.\n */\n constructor(client, operations, options) {\n if (operations.length === 0) {\n throw new error_1.MongoClientBulkWriteExecutionError('No client bulk write models were provided.');\n }\n this.client = client;\n this.operations = operations;\n this.options = {\n ordered: true,\n bypassDocumentValidation: false,\n verboseResults: false,\n ...options\n };\n // If no write concern was provided, we inherit one from the client.\n if (!this.options.writeConcern) {\n this.options.writeConcern = write_concern_1.WriteConcern.fromOptions(this.client.s.options);\n }\n if (this.options.writeConcern?.w === 0) {\n if (this.options.verboseResults) {\n throw new error_1.MongoInvalidArgumentError('Cannot request unacknowledged write concern and verbose results');\n }\n if (this.options.ordered) {\n throw new error_1.MongoInvalidArgumentError('Cannot request unacknowledged write concern and ordered writes');\n }\n }\n }\n /**\n * Execute the client bulk write. Will split commands into batches and exhaust the cursors\n * for each, then merge the results into one.\n * @returns The result.\n */\n async execute() {\n // The command builder will take the user provided models and potential split the batch\n // into multiple commands due to size.\n const pkFactory = this.client.s.options.pkFactory;\n const commandBuilder = new command_builder_1.ClientBulkWriteCommandBuilder(this.operations, this.options, pkFactory);\n // Unacknowledged writes need to execute all batches and return { ok: 1}\n const resolvedOptions = (0, utils_1.resolveTimeoutOptions)(this.client, this.options);\n const context = timeout_1.TimeoutContext.create(resolvedOptions);\n if (this.options.writeConcern?.w === 0) {\n while (commandBuilder.hasNextBatch()) {\n const operation = new client_bulk_write_1.ClientBulkWriteOperation(commandBuilder, this.options);\n await (0, execute_operation_1.executeOperation)(this.client, operation, context);\n }\n return results_merger_1.ClientBulkWriteResultsMerger.unacknowledged();\n }\n else {\n const resultsMerger = new results_merger_1.ClientBulkWriteResultsMerger(this.options);\n // For each command will will create and exhaust a cursor for the results.\n while (commandBuilder.hasNextBatch()) {\n const cursorContext = new abstract_cursor_1.CursorTimeoutContext(context, Symbol());\n const options = {\n ...this.options,\n timeoutContext: cursorContext,\n ...(resolvedOptions.timeoutMS != null && { timeoutMode: abstract_cursor_1.CursorTimeoutMode.LIFETIME })\n };\n const cursor = new client_bulk_write_cursor_1.ClientBulkWriteCursor(this.client, commandBuilder, options);\n try {\n await resultsMerger.merge(cursor);\n }\n catch (error) {\n // Write concern errors are recorded in the writeConcernErrors field on MongoClientBulkWriteError.\n // When a write concern error is encountered, it should not terminate execution of the bulk write\n // for either ordered or unordered bulk writes. However, drivers MUST throw an exception at the end\n // of execution if any write concern errors were observed.\n if (error instanceof error_1.MongoServerError && !(error instanceof error_1.MongoClientBulkWriteError)) {\n // Server side errors need to be wrapped inside a MongoClientBulkWriteError, where the root\n // cause is the error property and a partial result is to be included.\n const bulkWriteError = new error_1.MongoClientBulkWriteError({\n message: 'Mongo client bulk write encountered an error during execution'\n });\n bulkWriteError.cause = error;\n bulkWriteError.partialResult = resultsMerger.bulkWriteResult;\n throw bulkWriteError;\n }\n else {\n // Client side errors are just thrown.\n throw error;\n }\n }\n }\n // If we have write concern errors or unordered write errors at the end we throw.\n if (resultsMerger.writeConcernErrors.length > 0 || resultsMerger.writeErrors.size > 0) {\n const error = new error_1.MongoClientBulkWriteError({\n message: 'Mongo client bulk write encountered errors during execution.'\n });\n error.writeConcernErrors = resultsMerger.writeConcernErrors;\n error.writeErrors = resultsMerger.writeErrors;\n error.partialResult = resultsMerger.bulkWriteResult;\n throw error;\n }\n return resultsMerger.bulkWriteResult;\n }\n }\n}\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oBAAoB,kBAAkB,KAAK,QAAQ,WAAW,QAAQ;;AAEpF,WAAO,iBAAiB,6BAA6B,gBAAgB;UAEpE;IACD,MAAM,gBAAgB,IAAI,iBAAiB,6BAA6B,KAAK,QAAQ;AAErF,WAAO,eAAe,cAAc,EAAE;KAClC,MAAM,gBAAgB,IAAI,kBAAkB,qBAAqB,SAAS,QAAQ,CAAC;KACnF,MAAM,UAAU;MACZ,GAAG,KAAK;MACR,gBAAgB;MAChB,GAAI,gBAAgB,aAAa,QAAQ,EAAE,aAAa,kBAAkB,kBAAkB,UAAU;MACzG;KACD,MAAM,SAAS,IAAI,2BAA2B,sBAAsB,KAAK,QAAQ,gBAAgB,QAAQ;AACzG,SAAI;AACA,YAAM,cAAc,MAAM,OAAO;cAE9B,OAAO;AAKV,UAAI,iBAAiB,QAAQ,oBAAoB,EAAE,iBAAiB,QAAQ,4BAA4B;OAGpG,MAAM,iBAAiB,IAAI,QAAQ,0BAA0B,EACzD,SAAS,iEACZ,CAAC;AACF,sBAAe,QAAQ;AACvB,sBAAe,gBAAgB,cAAc;AAC7C,aAAM;YAIN,OAAM;;;AAKlB,QAAI,cAAc,mBAAmB,SAAS,KAAK,cAAc,YAAY,OAAO,GAAG;KACnF,MAAM,QAAQ,IAAI,QAAQ,0BAA0B,EAChD,SAAS,gEACZ,CAAC;AACF,WAAM,qBAAqB,cAAc;AACzC,WAAM,cAAc,cAAc;AAClC,WAAM,gBAAgB,cAAc;AACpC,WAAM;;AAEV,WAAO,cAAc;;;;AAIjC,SAAQ,0BAA0B"}
@@ -1,172 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../../_virtual/rolldown_runtime.mjs";
2
- import { require_error } from "../../error.mjs";
3
- import { require_lib } from "../../index.mjs";
4
-
5
- //#region ../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/results_merger.js
6
- var require_results_merger = /* @__PURE__ */ __commonJSMin(((exports) => {
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.ClientBulkWriteResultsMerger = void 0;
9
- const __1 = require_lib();
10
- const error_1 = require_error();
11
- /**
12
- * Unacknowledged bulk writes are always the same.
13
- */
14
- const UNACKNOWLEDGED = {
15
- acknowledged: false,
16
- insertedCount: 0,
17
- upsertedCount: 0,
18
- matchedCount: 0,
19
- modifiedCount: 0,
20
- deletedCount: 0,
21
- insertResults: void 0,
22
- updateResults: void 0,
23
- deleteResults: void 0
24
- };
25
- /**
26
- * Merges client bulk write cursor responses together into a single result.
27
- * @internal
28
- */
29
- var ClientBulkWriteResultsMerger = class {
30
- /**
31
- * @returns The standard unacknowledged bulk write result.
32
- */
33
- static unacknowledged() {
34
- return UNACKNOWLEDGED;
35
- }
36
- /**
37
- * Instantiate the merger.
38
- * @param options - The options.
39
- */
40
- constructor(options) {
41
- this.options = options;
42
- this.currentBatchOffset = 0;
43
- this.writeConcernErrors = [];
44
- this.writeErrors = /* @__PURE__ */ new Map();
45
- this.result = {
46
- acknowledged: true,
47
- insertedCount: 0,
48
- upsertedCount: 0,
49
- matchedCount: 0,
50
- modifiedCount: 0,
51
- deletedCount: 0,
52
- insertResults: void 0,
53
- updateResults: void 0,
54
- deleteResults: void 0
55
- };
56
- if (options.verboseResults) {
57
- this.result.insertResults = /* @__PURE__ */ new Map();
58
- this.result.updateResults = /* @__PURE__ */ new Map();
59
- this.result.deleteResults = /* @__PURE__ */ new Map();
60
- }
61
- }
62
- /**
63
- * Get the bulk write result object.
64
- */
65
- get bulkWriteResult() {
66
- return {
67
- acknowledged: this.result.acknowledged,
68
- insertedCount: this.result.insertedCount,
69
- upsertedCount: this.result.upsertedCount,
70
- matchedCount: this.result.matchedCount,
71
- modifiedCount: this.result.modifiedCount,
72
- deletedCount: this.result.deletedCount,
73
- insertResults: this.result.insertResults,
74
- updateResults: this.result.updateResults,
75
- deleteResults: this.result.deleteResults
76
- };
77
- }
78
- /**
79
- * Merge the results in the cursor to the existing result.
80
- * @param currentBatchOffset - The offset index to the original models.
81
- * @param response - The cursor response.
82
- * @param documents - The documents in the cursor.
83
- * @returns The current result.
84
- */
85
- async merge(cursor) {
86
- let writeConcernErrorResult;
87
- try {
88
- for await (const document of cursor) if (document.ok === 1) {
89
- if (this.options.verboseResults) this.processDocument(cursor, document);
90
- } else if (this.options.ordered) {
91
- const error = new error_1.MongoClientBulkWriteError({ message: "Mongo client ordered bulk write encountered a write error." });
92
- error.writeErrors.set(document.idx + this.currentBatchOffset, {
93
- code: document.code,
94
- message: document.errmsg
95
- });
96
- error.partialResult = this.result;
97
- throw error;
98
- } else this.writeErrors.set(document.idx + this.currentBatchOffset, {
99
- code: document.code,
100
- message: document.errmsg
101
- });
102
- } catch (error) {
103
- if (error instanceof __1.MongoWriteConcernError) {
104
- const result = error.result;
105
- writeConcernErrorResult = {
106
- insertedCount: result.nInserted,
107
- upsertedCount: result.nUpserted,
108
- matchedCount: result.nMatched,
109
- modifiedCount: result.nModified,
110
- deletedCount: result.nDeleted,
111
- writeConcernError: result.writeConcernError
112
- };
113
- if (this.options.verboseResults && result.cursor.firstBatch) {
114
- for (const document of result.cursor.firstBatch) if (document.ok === 1) this.processDocument(cursor, document);
115
- }
116
- } else throw error;
117
- } finally {
118
- if (cursor.response) {
119
- const response = cursor.response;
120
- this.incrementCounts(response);
121
- }
122
- this.currentBatchOffset += cursor.operations.length;
123
- }
124
- if (writeConcernErrorResult) {
125
- const writeConcernError = writeConcernErrorResult.writeConcernError;
126
- this.incrementCounts(writeConcernErrorResult);
127
- this.writeConcernErrors.push({
128
- code: writeConcernError.code,
129
- message: writeConcernError.errmsg
130
- });
131
- }
132
- return this.result;
133
- }
134
- /**
135
- * Process an individual document in the results.
136
- * @param cursor - The cursor.
137
- * @param document - The document to process.
138
- */
139
- processDocument(cursor, document) {
140
- const operation = cursor.operations[document.idx];
141
- if ("insert" in operation) this.result.insertResults?.set(document.idx + this.currentBatchOffset, { insertedId: operation.document._id });
142
- if ("update" in operation) {
143
- const result = {
144
- matchedCount: document.n,
145
- modifiedCount: document.nModified ?? 0,
146
- didUpsert: document.upserted != null
147
- };
148
- if (document.upserted) result.upsertedId = document.upserted._id;
149
- this.result.updateResults?.set(document.idx + this.currentBatchOffset, result);
150
- }
151
- if ("delete" in operation) this.result.deleteResults?.set(document.idx + this.currentBatchOffset, { deletedCount: document.n });
152
- }
153
- /**
154
- * Increment the result counts.
155
- * @param document - The document with the results.
156
- */
157
- incrementCounts(document) {
158
- this.result.insertedCount += document.insertedCount;
159
- this.result.upsertedCount += document.upsertedCount;
160
- this.result.matchedCount += document.matchedCount;
161
- this.result.modifiedCount += document.modifiedCount;
162
- this.result.deletedCount += document.deletedCount;
163
- }
164
- };
165
- exports.ClientBulkWriteResultsMerger = ClientBulkWriteResultsMerger;
166
- }));
167
-
168
- //#endregion
169
- export default require_results_merger();
170
-
171
- export { require_results_merger };
172
- //# sourceMappingURL=results_merger.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"results_merger.mjs","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/client_bulk_write/results_merger.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ClientBulkWriteResultsMerger = void 0;\nconst __1 = require(\"../..\");\nconst error_1 = require(\"../../error\");\n/**\n * Unacknowledged bulk writes are always the same.\n */\nconst UNACKNOWLEDGED = {\n acknowledged: false,\n insertedCount: 0,\n upsertedCount: 0,\n matchedCount: 0,\n modifiedCount: 0,\n deletedCount: 0,\n insertResults: undefined,\n updateResults: undefined,\n deleteResults: undefined\n};\n/**\n * Merges client bulk write cursor responses together into a single result.\n * @internal\n */\nclass ClientBulkWriteResultsMerger {\n /**\n * @returns The standard unacknowledged bulk write result.\n */\n static unacknowledged() {\n return UNACKNOWLEDGED;\n }\n /**\n * Instantiate the merger.\n * @param options - The options.\n */\n constructor(options) {\n this.options = options;\n this.currentBatchOffset = 0;\n this.writeConcernErrors = [];\n this.writeErrors = new Map();\n this.result = {\n acknowledged: true,\n insertedCount: 0,\n upsertedCount: 0,\n matchedCount: 0,\n modifiedCount: 0,\n deletedCount: 0,\n insertResults: undefined,\n updateResults: undefined,\n deleteResults: undefined\n };\n if (options.verboseResults) {\n this.result.insertResults = new Map();\n this.result.updateResults = new Map();\n this.result.deleteResults = new Map();\n }\n }\n /**\n * Get the bulk write result object.\n */\n get bulkWriteResult() {\n return {\n acknowledged: this.result.acknowledged,\n insertedCount: this.result.insertedCount,\n upsertedCount: this.result.upsertedCount,\n matchedCount: this.result.matchedCount,\n modifiedCount: this.result.modifiedCount,\n deletedCount: this.result.deletedCount,\n insertResults: this.result.insertResults,\n updateResults: this.result.updateResults,\n deleteResults: this.result.deleteResults\n };\n }\n /**\n * Merge the results in the cursor to the existing result.\n * @param currentBatchOffset - The offset index to the original models.\n * @param response - The cursor response.\n * @param documents - The documents in the cursor.\n * @returns The current result.\n */\n async merge(cursor) {\n let writeConcernErrorResult;\n try {\n for await (const document of cursor) {\n // Only add to maps if ok: 1\n if (document.ok === 1) {\n if (this.options.verboseResults) {\n this.processDocument(cursor, document);\n }\n }\n else {\n // If an individual write error is encountered during an ordered bulk write, drivers MUST\n // record the error in writeErrors and immediately throw the exception. Otherwise, drivers\n // MUST continue to iterate the results cursor and execute any further bulkWrite batches.\n if (this.options.ordered) {\n const error = new error_1.MongoClientBulkWriteError({\n message: 'Mongo client ordered bulk write encountered a write error.'\n });\n error.writeErrors.set(document.idx + this.currentBatchOffset, {\n code: document.code,\n message: document.errmsg\n });\n error.partialResult = this.result;\n throw error;\n }\n else {\n this.writeErrors.set(document.idx + this.currentBatchOffset, {\n code: document.code,\n message: document.errmsg\n });\n }\n }\n }\n }\n catch (error) {\n if (error instanceof __1.MongoWriteConcernError) {\n const result = error.result;\n writeConcernErrorResult = {\n insertedCount: result.nInserted,\n upsertedCount: result.nUpserted,\n matchedCount: result.nMatched,\n modifiedCount: result.nModified,\n deletedCount: result.nDeleted,\n writeConcernError: result.writeConcernError\n };\n if (this.options.verboseResults && result.cursor.firstBatch) {\n for (const document of result.cursor.firstBatch) {\n if (document.ok === 1) {\n this.processDocument(cursor, document);\n }\n }\n }\n }\n else {\n throw error;\n }\n }\n finally {\n // Update the counts from the cursor response.\n if (cursor.response) {\n const response = cursor.response;\n this.incrementCounts(response);\n }\n // Increment the batch offset.\n this.currentBatchOffset += cursor.operations.length;\n }\n // If we have write concern errors ensure they are added.\n if (writeConcernErrorResult) {\n const writeConcernError = writeConcernErrorResult.writeConcernError;\n this.incrementCounts(writeConcernErrorResult);\n this.writeConcernErrors.push({\n code: writeConcernError.code,\n message: writeConcernError.errmsg\n });\n }\n return this.result;\n }\n /**\n * Process an individual document in the results.\n * @param cursor - The cursor.\n * @param document - The document to process.\n */\n processDocument(cursor, document) {\n // Get the corresponding operation from the command.\n const operation = cursor.operations[document.idx];\n // Handle insert results.\n if ('insert' in operation) {\n this.result.insertResults?.set(document.idx + this.currentBatchOffset, {\n insertedId: operation.document._id\n });\n }\n // Handle update results.\n if ('update' in operation) {\n const result = {\n matchedCount: document.n,\n modifiedCount: document.nModified ?? 0,\n // Check if the bulk did actually upsert.\n didUpsert: document.upserted != null\n };\n if (document.upserted) {\n result.upsertedId = document.upserted._id;\n }\n this.result.updateResults?.set(document.idx + this.currentBatchOffset, result);\n }\n // Handle delete results.\n if ('delete' in operation) {\n this.result.deleteResults?.set(document.idx + this.currentBatchOffset, {\n deletedCount: document.n\n });\n }\n }\n /**\n * Increment the result counts.\n * @param document - The document with the results.\n */\n incrementCounts(document) {\n this.result.insertedCount += document.insertedCount;\n this.result.upsertedCount += document.upsertedCount;\n this.result.matchedCount += document.matchedCount;\n this.result.modifiedCount += document.modifiedCount;\n this.result.deletedCount += document.deletedCount;\n }\n}\nexports.ClientBulkWriteResultsMerger = ClientBulkWriteResultsMerger;\n//# sourceMappingURL=results_merger.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;AACA,QAAO,eAAe,SAAS,cAAc,EAAE,OAAO,MAAM,CAAC;AAC7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,OAAI,YAAY,UACZ,MAAK,OAAO,eAAe,IAAI,SAAS,MAAM,KAAK,oBAAoB,EACnE,cAAc,SAAS,GAC1B,CAAC;;;;;;EAOV,gBAAgB,UAAU;AACtB,QAAK,OAAO,iBAAiB,SAAS;AACtC,QAAK,OAAO,iBAAiB,SAAS;AACtC,QAAK,OAAO,gBAAgB,SAAS;AACrC,QAAK,OAAO,iBAAiB,SAAS;AACtC,QAAK,OAAO,gBAAgB,SAAS;;;AAG7C,SAAQ,+BAA+B"}
@@ -1,68 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../_virtual/rolldown_runtime.mjs";
2
- import { require_error } from "../error.mjs";
3
- import { require_constants } from "../cmap/wire_protocol/constants.mjs";
4
- import { require_read_concern } from "../read_concern.mjs";
5
- import { require_write_concern } from "../write_concern.mjs";
6
- import { require_utils } from "../utils.mjs";
7
- import { require_explain } from "../explain.mjs";
8
- import { require_operation } from "./operation.mjs";
9
-
10
- //#region ../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/command.js
11
- var require_command = /* @__PURE__ */ __commonJSMin(((exports) => {
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- exports.CommandOperation = void 0;
14
- const constants_1 = require_constants();
15
- const error_1 = require_error();
16
- const explain_1 = require_explain();
17
- const read_concern_1 = require_read_concern();
18
- const utils_1 = require_utils();
19
- const write_concern_1 = require_write_concern();
20
- const operation_1 = require_operation();
21
- /** @internal */
22
- var CommandOperation = class extends operation_1.AbstractOperation {
23
- constructor(parent, options) {
24
- super(options);
25
- this.options = options ?? {};
26
- const dbNameOverride = options?.dbName || options?.authdb;
27
- if (dbNameOverride) this.ns = new utils_1.MongoDBNamespace(dbNameOverride, "$cmd");
28
- else this.ns = parent ? parent.s.namespace.withCollection("$cmd") : new utils_1.MongoDBNamespace("admin", "$cmd");
29
- this.readConcern = read_concern_1.ReadConcern.fromOptions(options);
30
- this.writeConcern = write_concern_1.WriteConcern.fromOptions(options);
31
- if (this.hasAspect(operation_1.Aspect.EXPLAINABLE)) {
32
- this.explain = explain_1.Explain.fromOptions(options);
33
- if (this.explain) (0, explain_1.validateExplainTimeoutOptions)(this.options, this.explain);
34
- } else if (options?.explain != null) throw new error_1.MongoInvalidArgumentError(`Option "explain" is not supported on this command`);
35
- }
36
- get canRetryWrite() {
37
- if (this.hasAspect(operation_1.Aspect.EXPLAINABLE)) return this.explain == null;
38
- return super.canRetryWrite;
39
- }
40
- buildOptions(timeoutContext) {
41
- return {
42
- ...this.options,
43
- ...this.bsonOptions,
44
- timeoutContext,
45
- readPreference: this.readPreference,
46
- session: this.session
47
- };
48
- }
49
- buildCommand(connection, session) {
50
- const command = this.buildCommandDocument(connection, session);
51
- const inTransaction = this.session && this.session.inTransaction();
52
- if (this.readConcern && (0, utils_1.commandSupportsReadConcern)(command) && !inTransaction) Object.assign(command, { readConcern: this.readConcern });
53
- if (this.writeConcern && this.hasAspect(operation_1.Aspect.WRITE_OPERATION) && !inTransaction) write_concern_1.WriteConcern.apply(command, this.writeConcern);
54
- if (this.options.collation && typeof this.options.collation === "object" && !this.hasAspect(operation_1.Aspect.SKIP_COLLATION)) Object.assign(command, { collation: this.options.collation });
55
- if (typeof this.options.maxTimeMS === "number") command.maxTimeMS = this.options.maxTimeMS;
56
- if (this.options.rawData != null && this.hasAspect(operation_1.Aspect.SUPPORTS_RAW_DATA) && (0, utils_1.maxWireVersion)(connection) >= constants_1.MIN_SUPPORTED_RAW_DATA_WIRE_VERSION) command.rawData = this.options.rawData;
57
- if (this.hasAspect(operation_1.Aspect.EXPLAINABLE) && this.explain) return (0, explain_1.decorateWithExplain)(command, this.explain);
58
- return command;
59
- }
60
- };
61
- exports.CommandOperation = CommandOperation;
62
- }));
63
-
64
- //#endregion
65
- export default require_command();
66
-
67
- export { require_command };
68
- //# sourceMappingURL=command.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"command.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/command.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CommandOperation = void 0;\nconst constants_1 = require(\"../cmap/wire_protocol/constants\");\nconst error_1 = require(\"../error\");\nconst explain_1 = require(\"../explain\");\nconst read_concern_1 = require(\"../read_concern\");\nconst utils_1 = require(\"../utils\");\nconst write_concern_1 = require(\"../write_concern\");\nconst operation_1 = require(\"./operation\");\n/** @internal */\nclass CommandOperation extends operation_1.AbstractOperation {\n constructor(parent, options) {\n super(options);\n this.options = options ?? {};\n // NOTE: this was explicitly added for the add/remove user operations, it's likely\n // something we'd want to reconsider. Perhaps those commands can use `Admin`\n // as a parent?\n const dbNameOverride = options?.dbName || options?.authdb;\n if (dbNameOverride) {\n this.ns = new utils_1.MongoDBNamespace(dbNameOverride, '$cmd');\n }\n else {\n this.ns = parent\n ? parent.s.namespace.withCollection('$cmd')\n : new utils_1.MongoDBNamespace('admin', '$cmd');\n }\n this.readConcern = read_concern_1.ReadConcern.fromOptions(options);\n this.writeConcern = write_concern_1.WriteConcern.fromOptions(options);\n if (this.hasAspect(operation_1.Aspect.EXPLAINABLE)) {\n this.explain = explain_1.Explain.fromOptions(options);\n if (this.explain)\n (0, explain_1.validateExplainTimeoutOptions)(this.options, this.explain);\n }\n else if (options?.explain != null) {\n throw new error_1.MongoInvalidArgumentError(`Option \"explain\" is not supported on this command`);\n }\n }\n get canRetryWrite() {\n if (this.hasAspect(operation_1.Aspect.EXPLAINABLE)) {\n return this.explain == null;\n }\n return super.canRetryWrite;\n }\n buildOptions(timeoutContext) {\n return {\n ...this.options,\n ...this.bsonOptions,\n timeoutContext,\n readPreference: this.readPreference,\n session: this.session\n };\n }\n buildCommand(connection, session) {\n const command = this.buildCommandDocument(connection, session);\n const inTransaction = this.session && this.session.inTransaction();\n if (this.readConcern && (0, utils_1.commandSupportsReadConcern)(command) && !inTransaction) {\n Object.assign(command, { readConcern: this.readConcern });\n }\n if (this.writeConcern && this.hasAspect(operation_1.Aspect.WRITE_OPERATION) && !inTransaction) {\n write_concern_1.WriteConcern.apply(command, this.writeConcern);\n }\n if (this.options.collation &&\n typeof this.options.collation === 'object' &&\n !this.hasAspect(operation_1.Aspect.SKIP_COLLATION)) {\n Object.assign(command, { collation: this.options.collation });\n }\n if (typeof this.options.maxTimeMS === 'number') {\n command.maxTimeMS = this.options.maxTimeMS;\n }\n if (this.options.rawData != null &&\n this.hasAspect(operation_1.Aspect.SUPPORTS_RAW_DATA) &&\n (0, utils_1.maxWireVersion)(connection) >= constants_1.MIN_SUPPORTED_RAW_DATA_WIRE_VERSION) {\n command.rawData = this.options.rawData;\n }\n if (this.hasAspect(operation_1.Aspect.EXPLAINABLE) && this.explain) {\n return (0, explain_1.decorateWithExplain)(command, this.explain);\n }\n return command;\n }\n}\nexports.CommandOperation = CommandOperation;\n//# sourceMappingURL=command.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;AACA,QAAO,eAAe,SAAS,cAAc,EAAE,OAAO,MAAM,CAAC;AAC7D,SAAQ,mBAAmB,KAAK;CAChC,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;;CAEN,IAAM,mBAAN,cAA+B,YAAY,kBAAkB;EACzD,YAAY,QAAQ,SAAS;AACzB,SAAM,QAAQ;AACd,QAAK,UAAU,WAAW,EAAE;GAI5B,MAAM,iBAAiB,SAAS,UAAU,SAAS;AACnD,OAAI,eACA,MAAK,KAAK,IAAI,QAAQ,iBAAiB,gBAAgB,OAAO;OAG9D,MAAK,KAAK,SACJ,OAAO,EAAE,UAAU,eAAe,OAAO,GACzC,IAAI,QAAQ,iBAAiB,SAAS,OAAO;AAEvD,QAAK,cAAc,eAAe,YAAY,YAAY,QAAQ;AAClE,QAAK,eAAe,gBAAgB,aAAa,YAAY,QAAQ;AACrE,OAAI,KAAK,UAAU,YAAY,OAAO,YAAY,EAAE;AAChD,SAAK,UAAU,UAAU,QAAQ,YAAY,Q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;;;AAGf,SAAQ,mBAAmB"}
@@ -1,53 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../_virtual/rolldown_runtime.mjs";
2
- import { require_responses } from "../cmap/wire_protocol/responses.mjs";
3
- import { require_operation } from "./operation.mjs";
4
- import { require_command } from "./command.mjs";
5
-
6
- //#region ../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/count.js
7
- var require_count = /* @__PURE__ */ __commonJSMin(((exports) => {
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.CountOperation = void 0;
10
- const responses_1 = require_responses();
11
- const command_1 = require_command();
12
- const operation_1 = require_operation();
13
- /** @internal */
14
- var CountOperation = class extends command_1.CommandOperation {
15
- constructor(namespace, filter, options) {
16
- super({ s: { namespace } }, options);
17
- this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.MongoDBResponse;
18
- this.options = options;
19
- this.collectionName = namespace.collection;
20
- this.query = filter;
21
- }
22
- get commandName() {
23
- return "count";
24
- }
25
- buildCommandDocument(_connection, _session) {
26
- const options = this.options;
27
- const cmd = {
28
- count: this.collectionName,
29
- query: this.query
30
- };
31
- if (typeof options.limit === "number") cmd.limit = options.limit;
32
- if (typeof options.skip === "number") cmd.skip = options.skip;
33
- if (options.hint != null) cmd.hint = options.hint;
34
- if (typeof options.maxTimeMS === "number") cmd.maxTimeMS = options.maxTimeMS;
35
- return cmd;
36
- }
37
- handleOk(response) {
38
- return response.getNumber("n") ?? 0;
39
- }
40
- };
41
- exports.CountOperation = CountOperation;
42
- (0, operation_1.defineAspects)(CountOperation, [
43
- operation_1.Aspect.READ_OPERATION,
44
- operation_1.Aspect.RETRYABLE,
45
- operation_1.Aspect.SUPPORTS_RAW_DATA
46
- ]);
47
- }));
48
-
49
- //#endregion
50
- export default require_count();
51
-
52
- export { require_count };
53
- //# sourceMappingURL=count.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"count.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/count.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CountOperation = void 0;\nconst responses_1 = require(\"../cmap/wire_protocol/responses\");\nconst command_1 = require(\"./command\");\nconst operation_1 = require(\"./operation\");\n/** @internal */\nclass CountOperation extends command_1.CommandOperation {\n constructor(namespace, filter, options) {\n super({ s: { namespace: namespace } }, options);\n this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.MongoDBResponse;\n this.options = options;\n this.collectionName = namespace.collection;\n this.query = filter;\n }\n get commandName() {\n return 'count';\n }\n buildCommandDocument(_connection, _session) {\n const options = this.options;\n const cmd = {\n count: this.collectionName,\n query: this.query\n };\n if (typeof options.limit === 'number') {\n cmd.limit = options.limit;\n }\n if (typeof options.skip === 'number') {\n cmd.skip = options.skip;\n }\n if (options.hint != null) {\n cmd.hint = options.hint;\n }\n if (typeof options.maxTimeMS === 'number') {\n cmd.maxTimeMS = options.maxTimeMS;\n }\n return cmd;\n }\n handleOk(response) {\n return response.getNumber('n') ?? 0;\n }\n}\nexports.CountOperation = CountOperation;\n(0, operation_1.defineAspects)(CountOperation, [operation_1.Aspect.READ_OPERATION, operation_1.Aspect.RETRYABLE, operation_1.Aspect.SUPPORTS_RAW_DATA]);\n//# sourceMappingURL=count.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;AACA,QAAO,eAAe,SAAS,cAAc,EAAE,OAAO,MAAM,CAAC;AAC7D,SAAQ,iBAAiB,KAAK;CAC9B,MAAM;CACN,MAAM;CACN,MAAM;;CAEN,IAAM,iBAAN,cAA6B,UAAU,iBAAiB;EACpD,YAAY,WAAW,QAAQ,SAAS;AACpC,SAAM,EAAE,GAAG,EAAa,WAAW,EAAE,EAAE,QAAQ;AAC/C,QAAK,+BAA+B,YAAY;AAChD,QAAK,UAAU;AACf,QAAK,iBAAiB,UAAU;AAChC,QAAK,QAAQ;;EAEjB,IAAI,cAAc;AACd,UAAO;;EAEX,qBAAqB,aAAa,UAAU;GACxC,MAAM,UAAU,KAAK;GACrB,MAAM,MAAM;IACR,OAAO,KAAK;IACZ,OAAO,KAAK;IACf;AACD,OAAI,OAAO,QAAQ,UAAU,SACzB,KAAI,QAAQ,QAAQ;AAExB,OAAI,OAAO,QAAQ,SAAS,SACxB,KAAI,OAAO,QAAQ;AAEvB,OAAI,QAAQ,QAAQ,KAChB,KAAI,OAAO,QAAQ;AAEvB,OAAI,OAAO,QAAQ,cAAc,SAC7B,KAAI,YAAY,QAAQ;AAE5B,UAAO;;EAEX,SAAS,UAAU;AACf,UAAO,SAAS,UAAU,IAAI,IAAI;;;AAG1C,SAAQ,iBAAiB;AACzB,EAAC,GAAG,YAAY,eAAe,gBAAgB;EAAC,YAAY,OAAO;EAAgB,YAAY,OAAO;EAAW,YAAY,OAAO;EAAkB,CAAC"}
@@ -1,123 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../_virtual/rolldown_runtime.mjs";
2
- import { require_error } from "../error.mjs";
3
- import { require_constants } from "../cmap/wire_protocol/constants.mjs";
4
- import { require_responses } from "../cmap/wire_protocol/responses.mjs";
5
- import { require_utils } from "../utils.mjs";
6
- import { require_timeout } from "../timeout.mjs";
7
- import { require_operation } from "./operation.mjs";
8
- import { require_command } from "./command.mjs";
9
- import { require_execute_operation } from "./execute_operation.mjs";
10
- import { require_indexes } from "./indexes.mjs";
11
- import { require_collection } from "../collection.mjs";
12
-
13
- //#region ../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/create_collection.js
14
- var require_create_collection = /* @__PURE__ */ __commonJSMin(((exports) => {
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateCollectionOperation = void 0;
17
- exports.createCollections = createCollections;
18
- const constants_1 = require_constants();
19
- const responses_1 = require_responses();
20
- const collection_1 = require_collection();
21
- const error_1 = require_error();
22
- const timeout_1 = require_timeout();
23
- const utils_1 = require_utils();
24
- const command_1 = require_command();
25
- const execute_operation_1 = require_execute_operation();
26
- const indexes_1 = require_indexes();
27
- const operation_1 = require_operation();
28
- const ILLEGAL_COMMAND_FIELDS = new Set([
29
- "w",
30
- "wtimeout",
31
- "timeoutMS",
32
- "j",
33
- "fsync",
34
- "autoIndexId",
35
- "pkFactory",
36
- "raw",
37
- "readPreference",
38
- "session",
39
- "readConcern",
40
- "writeConcern",
41
- "raw",
42
- "fieldsAsRaw",
43
- "useBigInt64",
44
- "promoteLongs",
45
- "promoteValues",
46
- "promoteBuffers",
47
- "bsonRegExp",
48
- "serializeFunctions",
49
- "ignoreUndefined",
50
- "enableUtf8Validation"
51
- ]);
52
- const INVALID_QE_VERSION = "Driver support of Queryable Encryption is incompatible with server. Upgrade server to use Queryable Encryption.";
53
- /** @internal */
54
- var CreateCollectionOperation = class extends command_1.CommandOperation {
55
- constructor(db, name, options = {}) {
56
- super(db, options);
57
- this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.MongoDBResponse;
58
- this.options = options;
59
- this.db = db;
60
- this.name = name;
61
- }
62
- get commandName() {
63
- return "create";
64
- }
65
- buildCommandDocument(_connection, _session) {
66
- const isOptionValid = ([k, v]) => v != null && typeof v !== "function" && !ILLEGAL_COMMAND_FIELDS.has(k);
67
- return {
68
- create: this.name,
69
- ...Object.fromEntries(Object.entries(this.options).filter(isOptionValid))
70
- };
71
- }
72
- handleOk(_response) {
73
- return new collection_1.Collection(this.db, this.name, this.options);
74
- }
75
- };
76
- exports.CreateCollectionOperation = CreateCollectionOperation;
77
- async function createCollections(db, name, options) {
78
- const timeoutContext = timeout_1.TimeoutContext.create({
79
- session: options.session,
80
- serverSelectionTimeoutMS: db.client.s.options.serverSelectionTimeoutMS,
81
- waitQueueTimeoutMS: db.client.s.options.waitQueueTimeoutMS,
82
- timeoutMS: options.timeoutMS
83
- });
84
- const encryptedFields = options.encryptedFields ?? db.client.s.options.autoEncryption?.encryptedFieldsMap?.[`${db.databaseName}.${name}`];
85
- if (encryptedFields) {
86
- class CreateSupportingFLEv2CollectionOperation extends CreateCollectionOperation {
87
- buildCommandDocument(connection, session) {
88
- if (!connection.description.loadBalanced && (0, utils_1.maxWireVersion)(connection) < constants_1.MIN_SUPPORTED_QE_WIRE_VERSION) throw new error_1.MongoCompatibilityError(`${INVALID_QE_VERSION} The minimum server version required is ${constants_1.MIN_SUPPORTED_QE_SERVER_VERSION}`);
89
- return super.buildCommandDocument(connection, session);
90
- }
91
- }
92
- const escCollection = encryptedFields.escCollection ?? `enxcol_.${name}.esc`;
93
- const ecocCollection = encryptedFields.ecocCollection ?? `enxcol_.${name}.ecoc`;
94
- for (const collectionName of [escCollection, ecocCollection]) {
95
- const createOp = new CreateSupportingFLEv2CollectionOperation(db, collectionName, {
96
- clusteredIndex: {
97
- key: { _id: 1 },
98
- unique: true
99
- },
100
- session: options.session
101
- });
102
- await (0, execute_operation_1.executeOperation)(db.client, createOp, timeoutContext);
103
- }
104
- if (!options.encryptedFields) options = {
105
- ...options,
106
- encryptedFields
107
- };
108
- }
109
- const coll = await (0, execute_operation_1.executeOperation)(db.client, new CreateCollectionOperation(db, name, options), timeoutContext);
110
- if (encryptedFields) {
111
- const createIndexOp = indexes_1.CreateIndexesOperation.fromIndexSpecification(db, name, { __safeContent__: 1 }, { session: options.session });
112
- await (0, execute_operation_1.executeOperation)(db.client, createIndexOp, timeoutContext);
113
- }
114
- return coll;
115
- }
116
- (0, operation_1.defineAspects)(CreateCollectionOperation, [operation_1.Aspect.WRITE_OPERATION]);
117
- }));
118
-
119
- //#endregion
120
- export default require_create_collection();
121
-
122
- export { require_create_collection };
123
- //# sourceMappingURL=create_collection.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create_collection.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/create_collection.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CreateCollectionOperation = void 0;\nexports.createCollections = createCollections;\nconst constants_1 = require(\"../cmap/wire_protocol/constants\");\nconst responses_1 = require(\"../cmap/wire_protocol/responses\");\nconst collection_1 = require(\"../collection\");\nconst error_1 = require(\"../error\");\nconst timeout_1 = require(\"../timeout\");\nconst utils_1 = require(\"../utils\");\nconst command_1 = require(\"./command\");\nconst execute_operation_1 = require(\"./execute_operation\");\nconst indexes_1 = require(\"./indexes\");\nconst operation_1 = require(\"./operation\");\nconst ILLEGAL_COMMAND_FIELDS = new Set([\n 'w',\n 'wtimeout',\n 'timeoutMS',\n 'j',\n 'fsync',\n 'autoIndexId',\n 'pkFactory',\n 'raw',\n 'readPreference',\n 'session',\n 'readConcern',\n 'writeConcern',\n 'raw',\n 'fieldsAsRaw',\n 'useBigInt64',\n 'promoteLongs',\n 'promoteValues',\n 'promoteBuffers',\n 'bsonRegExp',\n 'serializeFunctions',\n 'ignoreUndefined',\n 'enableUtf8Validation'\n]);\n/* @internal */\nconst INVALID_QE_VERSION = 'Driver support of Queryable Encryption is incompatible with server. Upgrade server to use Queryable Encryption.';\n/** @internal */\nclass CreateCollectionOperation extends command_1.CommandOperation {\n constructor(db, name, options = {}) {\n super(db, options);\n this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.MongoDBResponse;\n this.options = options;\n this.db = db;\n this.name = name;\n }\n get commandName() {\n return 'create';\n }\n buildCommandDocument(_connection, _session) {\n const isOptionValid = ([k, v]) => v != null && typeof v !== 'function' && !ILLEGAL_COMMAND_FIELDS.has(k);\n return {\n create: this.name,\n ...Object.fromEntries(Object.entries(this.options).filter(isOptionValid))\n };\n }\n handleOk(_response) {\n return new collection_1.Collection(this.db, this.name, this.options);\n }\n}\nexports.CreateCollectionOperation = CreateCollectionOperation;\nasync function createCollections(db, name, options) {\n const timeoutContext = timeout_1.TimeoutContext.create({\n session: options.session,\n serverSelectionTimeoutMS: db.client.s.options.serverSelectionTimeoutMS,\n waitQueueTimeoutMS: db.client.s.options.waitQueueTimeoutMS,\n timeoutMS: options.timeoutMS\n });\n const encryptedFields = options.encryptedFields ??\n db.client.s.options.autoEncryption?.encryptedFieldsMap?.[`${db.databaseName}.${name}`];\n if (encryptedFields) {\n class CreateSupportingFLEv2CollectionOperation extends CreateCollectionOperation {\n buildCommandDocument(connection, session) {\n if (!connection.description.loadBalanced &&\n (0, utils_1.maxWireVersion)(connection) < constants_1.MIN_SUPPORTED_QE_WIRE_VERSION) {\n throw new error_1.MongoCompatibilityError(`${INVALID_QE_VERSION} The minimum server version required is ${constants_1.MIN_SUPPORTED_QE_SERVER_VERSION}`);\n }\n return super.buildCommandDocument(connection, session);\n }\n }\n // Create auxilliary collections for queryable encryption support.\n const escCollection = encryptedFields.escCollection ?? `enxcol_.${name}.esc`;\n const ecocCollection = encryptedFields.ecocCollection ?? `enxcol_.${name}.ecoc`;\n for (const collectionName of [escCollection, ecocCollection]) {\n const createOp = new CreateSupportingFLEv2CollectionOperation(db, collectionName, {\n clusteredIndex: {\n key: { _id: 1 },\n unique: true\n },\n session: options.session\n });\n await (0, execute_operation_1.executeOperation)(db.client, createOp, timeoutContext);\n }\n if (!options.encryptedFields) {\n options = { ...options, encryptedFields };\n }\n }\n const coll = await (0, execute_operation_1.executeOperation)(db.client, new CreateCollectionOperation(db, name, options), timeoutContext);\n if (encryptedFields) {\n // Create the required index for queryable encryption support.\n const createIndexOp = indexes_1.CreateIndexesOperation.fromIndexSpecification(db, name, { __safeContent__: 1 }, { session: options.session });\n await (0, execute_operation_1.executeOperation)(db.client, createIndexOp, timeoutContext);\n }\n return coll;\n}\n(0, operation_1.defineAspects)(CreateCollectionOperation, [operation_1.Aspect.WRITE_OPERATION]);\n//# sourceMappingURL=create_collection.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;AACA,QAAO,eAAe,SAAS,cAAc,EAAE,OAAO,MAAM,CAAC;AAC7D,SAAQ,4BAA4B,KAAK;AACzC,SAAQ,oBAAoB;CAC5B,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,M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AI,QAAQ,wBAAwB,GAAG,mBAAmB,0CAA0C,YAAY,kCAAkC;AAE5J,YAAO,MAAM,qBAAqB,YAAY,QAAQ;;;GAI9D,MAAM,gBAAgB,gBAAgB,iBAAiB,WAAW,KAAK;GACvE,MAAM,iBAAiB,gBAAgB,kBAAkB,WAAW,KAAK;AACzE,QAAK,MAAM,kBAAkB,CAAC,eAAe,eAAe,EAAE;IAC1D,MAAM,WAAW,IAAI,yCAAyC,IAAI,gBAAgB;KAC9E,gBAAgB;MACZ,KAAK,EAAE,KAAK,GAAG;MACf,QAAQ;MACX;KACD,SAAS,QAAQ;KACpB,CAAC;AACF,WAAO,GAAG,oBAAoB,kBAAkB,GAAG,QAAQ,UAAU,eAAe;;AAExF,OAAI,CAAC,QAAQ,gBACT,WAAU;IAAE,GAAG;IAAS;IAAiB;;EAGjD,MAAM,OAAO,OAAO,GAAG,oBAAoB,kBAAkB,GAAG,QAAQ,IAAI,0BAA0B,IAAI,MAAM,QAAQ,EAAE,eAAe;AACzI,MAAI,iBAAiB;GAEjB,MAAM,gBAAgB,UAAU,uBAAuB,uBAAuB,IAAI,MAAM,EAAE,iBAAiB,GAAG,EAAE,EAAE,SAAS,QAAQ,SAAS,CAAC;AAC7I,UAAO,GAAG,oBAAoB,kBAAkB,GAAG,QAAQ,eAAe,eAAe;;AAE7F,SAAO;;AAEX,EAAC,GAAG,YAAY,eAAe,2BAA2B,CAAC,YAAY,OAAO,gBAAgB,CAAC"}
@@ -1,119 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../_virtual/rolldown_runtime.mjs";
2
- import { require_error } from "../error.mjs";
3
- import { require_responses } from "../cmap/wire_protocol/responses.mjs";
4
- import { require_utils } from "../utils.mjs";
5
- import { require_operation } from "./operation.mjs";
6
- import { require_command } from "./command.mjs";
7
-
8
- //#region ../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/delete.js
9
- var require_delete = /* @__PURE__ */ __commonJSMin(((exports) => {
10
- Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.DeleteManyOperation = exports.DeleteOneOperation = exports.DeleteOperation = void 0;
12
- exports.makeDeleteStatement = makeDeleteStatement;
13
- const responses_1 = require_responses();
14
- const error_1 = require_error();
15
- const utils_1 = require_utils();
16
- const command_1 = require_command();
17
- const operation_1 = require_operation();
18
- /** @internal */
19
- var DeleteOperation = class extends command_1.CommandOperation {
20
- constructor(ns, statements, options) {
21
- super(void 0, options);
22
- this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.MongoDBResponse;
23
- this.options = options;
24
- this.ns = ns;
25
- this.statements = statements;
26
- }
27
- get commandName() {
28
- return "delete";
29
- }
30
- get canRetryWrite() {
31
- if (super.canRetryWrite === false) return false;
32
- return this.statements.every((op) => op.limit != null ? op.limit > 0 : true);
33
- }
34
- buildCommandDocument(connection, _session) {
35
- const options = this.options;
36
- const ordered = typeof options.ordered === "boolean" ? options.ordered : true;
37
- const command = {
38
- delete: this.ns.collection,
39
- deletes: this.statements,
40
- ordered
41
- };
42
- if (options.let) command.let = options.let;
43
- if (options.comment !== void 0) command.comment = options.comment;
44
- if (this.writeConcern && this.writeConcern.w === 0 && (0, utils_1.maxWireVersion)(connection) < 9) {
45
- if (this.statements.find((o) => o.hint)) throw new error_1.MongoCompatibilityError(`hint for the delete command is only supported on MongoDB 4.4+`);
46
- }
47
- return command;
48
- }
49
- };
50
- exports.DeleteOperation = DeleteOperation;
51
- var DeleteOneOperation = class extends DeleteOperation {
52
- constructor(ns, filter, options) {
53
- super(ns, [makeDeleteStatement(filter, {
54
- ...options,
55
- limit: 1
56
- })], options);
57
- }
58
- handleOk(response) {
59
- const res = super.handleOk(response);
60
- if (this.explain) return res;
61
- if (res.code) throw new error_1.MongoServerError(res);
62
- if (res.writeErrors) throw new error_1.MongoServerError(res.writeErrors[0]);
63
- return {
64
- acknowledged: this.writeConcern?.w !== 0,
65
- deletedCount: res.n
66
- };
67
- }
68
- };
69
- exports.DeleteOneOperation = DeleteOneOperation;
70
- var DeleteManyOperation = class extends DeleteOperation {
71
- constructor(ns, filter, options) {
72
- super(ns, [makeDeleteStatement(filter, options)], options);
73
- }
74
- handleOk(response) {
75
- const res = super.handleOk(response);
76
- if (this.explain) return res;
77
- if (res.code) throw new error_1.MongoServerError(res);
78
- if (res.writeErrors) throw new error_1.MongoServerError(res.writeErrors[0]);
79
- return {
80
- acknowledged: this.writeConcern?.w !== 0,
81
- deletedCount: res.n
82
- };
83
- }
84
- };
85
- exports.DeleteManyOperation = DeleteManyOperation;
86
- function makeDeleteStatement(filter, options) {
87
- const op = {
88
- q: filter,
89
- limit: typeof options.limit === "number" ? options.limit : 0
90
- };
91
- if (options.collation) op.collation = options.collation;
92
- if (options.hint) op.hint = options.hint;
93
- return op;
94
- }
95
- (0, operation_1.defineAspects)(DeleteOperation, [
96
- operation_1.Aspect.RETRYABLE,
97
- operation_1.Aspect.WRITE_OPERATION,
98
- operation_1.Aspect.SUPPORTS_RAW_DATA
99
- ]);
100
- (0, operation_1.defineAspects)(DeleteOneOperation, [
101
- operation_1.Aspect.RETRYABLE,
102
- operation_1.Aspect.WRITE_OPERATION,
103
- operation_1.Aspect.EXPLAINABLE,
104
- operation_1.Aspect.SKIP_COLLATION,
105
- operation_1.Aspect.SUPPORTS_RAW_DATA
106
- ]);
107
- (0, operation_1.defineAspects)(DeleteManyOperation, [
108
- operation_1.Aspect.WRITE_OPERATION,
109
- operation_1.Aspect.EXPLAINABLE,
110
- operation_1.Aspect.SKIP_COLLATION,
111
- operation_1.Aspect.SUPPORTS_RAW_DATA
112
- ]);
113
- }));
114
-
115
- //#endregion
116
- export default require_delete();
117
-
118
- export { require_delete };
119
- //# sourceMappingURL=delete.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"delete.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/mongodb@6.21.0/node_modules/mongodb/lib/operations/delete.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DeleteManyOperation = exports.DeleteOneOperation = exports.DeleteOperation = void 0;\nexports.makeDeleteStatement = makeDeleteStatement;\nconst responses_1 = require(\"../cmap/wire_protocol/responses\");\nconst error_1 = require(\"../error\");\nconst utils_1 = require(\"../utils\");\nconst command_1 = require(\"./command\");\nconst operation_1 = require(\"./operation\");\n/** @internal */\nclass DeleteOperation extends command_1.CommandOperation {\n constructor(ns, statements, options) {\n super(undefined, options);\n this.SERVER_COMMAND_RESPONSE_TYPE = responses_1.MongoDBResponse;\n this.options = options;\n this.ns = ns;\n this.statements = statements;\n }\n get commandName() {\n return 'delete';\n }\n get canRetryWrite() {\n if (super.canRetryWrite === false) {\n return false;\n }\n return this.statements.every(op => (op.limit != null ? op.limit > 0 : true));\n }\n buildCommandDocument(connection, _session) {\n const options = this.options;\n const ordered = typeof options.ordered === 'boolean' ? options.ordered : true;\n const command = {\n delete: this.ns.collection,\n deletes: this.statements,\n ordered\n };\n if (options.let) {\n command.let = options.let;\n }\n // we check for undefined specifically here to allow falsy values\n // eslint-disable-next-line no-restricted-syntax\n if (options.comment !== undefined) {\n command.comment = options.comment;\n }\n const unacknowledgedWrite = this.writeConcern && this.writeConcern.w === 0;\n if (unacknowledgedWrite && (0, utils_1.maxWireVersion)(connection) < 9) {\n if (this.statements.find((o) => o.hint)) {\n throw new error_1.MongoCompatibilityError(`hint for the delete command is only supported on MongoDB 4.4+`);\n }\n }\n return command;\n }\n}\nexports.DeleteOperation = DeleteOperation;\nclass DeleteOneOperation extends DeleteOperation {\n constructor(ns, filter, options) {\n super(ns, [makeDeleteStatement(filter, { ...options, limit: 1 })], options);\n }\n handleOk(response) {\n const res = super.handleOk(response);\n // @ts-expect-error Explain commands have broken TS\n if (this.explain)\n return res;\n if (res.code)\n throw new error_1.MongoServerError(res);\n if (res.writeErrors)\n throw new error_1.MongoServerError(res.writeErrors[0]);\n return {\n acknowledged: this.writeConcern?.w !== 0,\n deletedCount: res.n\n };\n }\n}\nexports.DeleteOneOperation = DeleteOneOperation;\nclass DeleteManyOperation extends DeleteOperation {\n constructor(ns, filter, options) {\n super(ns, [makeDeleteStatement(filter, options)], options);\n }\n handleOk(response) {\n const res = super.handleOk(response);\n // @ts-expect-error Explain commands have broken TS\n if (this.explain)\n return res;\n if (res.code)\n throw new error_1.MongoServerError(res);\n if (res.writeErrors)\n throw new error_1.MongoServerError(res.writeErrors[0]);\n return {\n acknowledged: this.writeConcern?.w !== 0,\n deletedCount: res.n\n };\n }\n}\nexports.DeleteManyOperation = DeleteManyOperation;\nfunction makeDeleteStatement(filter, options) {\n const op = {\n q: filter,\n limit: typeof options.limit === 'number' ? options.limit : 0\n };\n if (options.collation) {\n op.collation = options.collation;\n }\n if (options.hint) {\n op.hint = options.hint;\n }\n return op;\n}\n(0, operation_1.defineAspects)(DeleteOperation, [\n operation_1.Aspect.RETRYABLE,\n operation_1.Aspect.WRITE_OPERATION,\n operation_1.Aspect.SUPPORTS_RAW_DATA\n]);\n(0, operation_1.defineAspects)(DeleteOneOperation, [\n operation_1.Aspect.RETRYABLE,\n operation_1.Aspect.WRITE_OPERATION,\n operation_1.Aspect.EXPLAINABLE,\n operation_1.Aspect.SKIP_COLLATION,\n operation_1.Aspect.SUPPORTS_RAW_DATA\n]);\n(0, operation_1.defineAspects)(DeleteManyOperation, [\n operation_1.Aspect.WRITE_OPERATION,\n operation_1.Aspect.EXPLAINABLE,\n operation_1.Aspect.SKIP_COLLATION,\n operation_1.Aspect.SUPPORTS_RAW_DATA\n]);\n//# sourceMappingURL=delete.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;AACA,QAAO,eAAe,SAAS,cAAc,EAAE,OAAO,MAAM,CAAC;AAC7D,SAAQ,sBAAsB,QAAQ,qBAAqB,QAAQ,kBAAkB,KAAK;AAC1F,SAAQ,sBAAsB;CAC9B,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;;CAEN,IAAM,kBAAN,cAA8B,UAAU,iBAAiB;EACrD,YAAY,IAAI,YAAY,SAAS;AAC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