stockhub-sms 1.0.0

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 (2189) hide show
  1. package/.gitignore +35 -0
  2. package/README.md +303 -0
  3. package/backend-project/.env +3 -0
  4. package/backend-project/.env.example +3 -0
  5. package/backend-project/config/database.js +13 -0
  6. package/backend-project/controllers/authController.js +70 -0
  7. package/backend-project/controllers/productController.js +58 -0
  8. package/backend-project/controllers/reportController.js +206 -0
  9. package/backend-project/controllers/transactionController.js +199 -0
  10. package/backend-project/controllers/warehouseController.js +54 -0
  11. package/backend-project/middleware/auth.js +20 -0
  12. package/backend-project/models/Product.js +44 -0
  13. package/backend-project/models/StockTransaction.js +32 -0
  14. package/backend-project/models/User.js +18 -0
  15. package/backend-project/models/Warehouse.js +24 -0
  16. package/backend-project/node_modules/.bin/mime +16 -0
  17. package/backend-project/node_modules/.bin/mime.cmd +17 -0
  18. package/backend-project/node_modules/.bin/mime.ps1 +28 -0
  19. package/backend-project/node_modules/.bin/nodemon +16 -0
  20. package/backend-project/node_modules/.bin/nodemon.cmd +17 -0
  21. package/backend-project/node_modules/.bin/nodemon.ps1 +28 -0
  22. package/backend-project/node_modules/.bin/nodetouch +16 -0
  23. package/backend-project/node_modules/.bin/nodetouch.cmd +17 -0
  24. package/backend-project/node_modules/.bin/nodetouch.ps1 +28 -0
  25. package/backend-project/node_modules/.bin/semver +16 -0
  26. package/backend-project/node_modules/.bin/semver.cmd +17 -0
  27. package/backend-project/node_modules/.bin/semver.ps1 +28 -0
  28. package/backend-project/node_modules/.package-lock.json +1609 -0
  29. package/backend-project/node_modules/@mongodb-js/saslprep/LICENSE +22 -0
  30. package/backend-project/node_modules/@mongodb-js/saslprep/dist/.esm-wrapper.mjs +4 -0
  31. package/backend-project/node_modules/@mongodb-js/saslprep/dist/browser.d.ts +5 -0
  32. package/backend-project/node_modules/@mongodb-js/saslprep/dist/browser.d.ts.map +1 -0
  33. package/backend-project/node_modules/@mongodb-js/saslprep/dist/browser.js +12 -0
  34. package/backend-project/node_modules/@mongodb-js/saslprep/dist/browser.js.map +1 -0
  35. package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.d.ts +3 -0
  36. package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.d.ts.map +1 -0
  37. package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.js +5 -0
  38. package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.js.map +1 -0
  39. package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-data.d.ts +3 -0
  40. package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-data.d.ts.map +1 -0
  41. package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-data.js +5 -0
  42. package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-data.js.map +1 -0
  43. package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-src.d.ts +7 -0
  44. package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-src.d.ts.map +1 -0
  45. package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-src.js +881 -0
  46. package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-src.js.map +1 -0
  47. package/backend-project/node_modules/@mongodb-js/saslprep/dist/generate-code-points.d.ts +2 -0
  48. package/backend-project/node_modules/@mongodb-js/saslprep/dist/generate-code-points.d.ts.map +1 -0
  49. package/backend-project/node_modules/@mongodb-js/saslprep/dist/generate-code-points.js +83 -0
  50. package/backend-project/node_modules/@mongodb-js/saslprep/dist/generate-code-points.js.map +1 -0
  51. package/backend-project/node_modules/@mongodb-js/saslprep/dist/index.d.ts +11 -0
  52. package/backend-project/node_modules/@mongodb-js/saslprep/dist/index.d.ts.map +1 -0
  53. package/backend-project/node_modules/@mongodb-js/saslprep/dist/index.js +65 -0
  54. package/backend-project/node_modules/@mongodb-js/saslprep/dist/index.js.map +1 -0
  55. package/backend-project/node_modules/@mongodb-js/saslprep/dist/memory-code-points.d.ts +10 -0
  56. package/backend-project/node_modules/@mongodb-js/saslprep/dist/memory-code-points.d.ts.map +1 -0
  57. package/backend-project/node_modules/@mongodb-js/saslprep/dist/memory-code-points.js +32 -0
  58. package/backend-project/node_modules/@mongodb-js/saslprep/dist/memory-code-points.js.map +1 -0
  59. package/backend-project/node_modules/@mongodb-js/saslprep/dist/node.d.ts +10 -0
  60. package/backend-project/node_modules/@mongodb-js/saslprep/dist/node.d.ts.map +1 -0
  61. package/backend-project/node_modules/@mongodb-js/saslprep/dist/node.js +15 -0
  62. package/backend-project/node_modules/@mongodb-js/saslprep/dist/node.js.map +1 -0
  63. package/backend-project/node_modules/@mongodb-js/saslprep/dist/util.d.ts +2 -0
  64. package/backend-project/node_modules/@mongodb-js/saslprep/dist/util.d.ts.map +1 -0
  65. package/backend-project/node_modules/@mongodb-js/saslprep/dist/util.js +11 -0
  66. package/backend-project/node_modules/@mongodb-js/saslprep/dist/util.js.map +1 -0
  67. package/backend-project/node_modules/@mongodb-js/saslprep/package.json +87 -0
  68. package/backend-project/node_modules/@mongodb-js/saslprep/readme.md +29 -0
  69. package/backend-project/node_modules/@types/node/LICENSE +21 -0
  70. package/backend-project/node_modules/@types/node/README.md +15 -0
  71. package/backend-project/node_modules/@types/node/assert/strict.d.ts +59 -0
  72. package/backend-project/node_modules/@types/node/assert.d.ts +950 -0
  73. package/backend-project/node_modules/@types/node/async_hooks.d.ts +711 -0
  74. package/backend-project/node_modules/@types/node/buffer.buffer.d.ts +466 -0
  75. package/backend-project/node_modules/@types/node/buffer.d.ts +1765 -0
  76. package/backend-project/node_modules/@types/node/child_process.d.ts +1366 -0
  77. package/backend-project/node_modules/@types/node/cluster.d.ts +432 -0
  78. package/backend-project/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  79. package/backend-project/node_modules/@types/node/console.d.ts +93 -0
  80. package/backend-project/node_modules/@types/node/constants.d.ts +14 -0
  81. package/backend-project/node_modules/@types/node/crypto.d.ts +4058 -0
  82. package/backend-project/node_modules/@types/node/dgram.d.ts +537 -0
  83. package/backend-project/node_modules/@types/node/diagnostics_channel.d.ts +552 -0
  84. package/backend-project/node_modules/@types/node/dns/promises.d.ts +497 -0
  85. package/backend-project/node_modules/@types/node/dns.d.ts +876 -0
  86. package/backend-project/node_modules/@types/node/domain.d.ts +150 -0
  87. package/backend-project/node_modules/@types/node/events.d.ts +1008 -0
  88. package/backend-project/node_modules/@types/node/fs/promises.d.ts +1468 -0
  89. package/backend-project/node_modules/@types/node/fs.d.ts +4780 -0
  90. package/backend-project/node_modules/@types/node/globals.d.ts +150 -0
  91. package/backend-project/node_modules/@types/node/globals.typedarray.d.ts +101 -0
  92. package/backend-project/node_modules/@types/node/http.d.ts +2147 -0
  93. package/backend-project/node_modules/@types/node/http2.d.ts +2485 -0
  94. package/backend-project/node_modules/@types/node/https.d.ts +400 -0
  95. package/backend-project/node_modules/@types/node/index.d.ts +117 -0
  96. package/backend-project/node_modules/@types/node/inspector/promises.d.ts +35 -0
  97. package/backend-project/node_modules/@types/node/inspector.d.ts +264 -0
  98. package/backend-project/node_modules/@types/node/inspector.generated.d.ts +4406 -0
  99. package/backend-project/node_modules/@types/node/module.d.ts +755 -0
  100. package/backend-project/node_modules/@types/node/net.d.ts +970 -0
  101. package/backend-project/node_modules/@types/node/os.d.ts +498 -0
  102. package/backend-project/node_modules/@types/node/package.json +155 -0
  103. package/backend-project/node_modules/@types/node/path/posix.d.ts +8 -0
  104. package/backend-project/node_modules/@types/node/path/win32.d.ts +8 -0
  105. package/backend-project/node_modules/@types/node/path.d.ts +178 -0
  106. package/backend-project/node_modules/@types/node/perf_hooks.d.ts +612 -0
  107. package/backend-project/node_modules/@types/node/process.d.ts +2204 -0
  108. package/backend-project/node_modules/@types/node/punycode.d.ts +89 -0
  109. package/backend-project/node_modules/@types/node/querystring.d.ts +139 -0
  110. package/backend-project/node_modules/@types/node/quic.d.ts +897 -0
  111. package/backend-project/node_modules/@types/node/readline/promises.d.ts +158 -0
  112. package/backend-project/node_modules/@types/node/readline.d.ts +507 -0
  113. package/backend-project/node_modules/@types/node/repl.d.ts +420 -0
  114. package/backend-project/node_modules/@types/node/sea.d.ts +47 -0
  115. package/backend-project/node_modules/@types/node/sqlite.d.ts +1068 -0
  116. package/backend-project/node_modules/@types/node/stream/consumers.d.ts +114 -0
  117. package/backend-project/node_modules/@types/node/stream/iter.d.ts +301 -0
  118. package/backend-project/node_modules/@types/node/stream/promises.d.ts +211 -0
  119. package/backend-project/node_modules/@types/node/stream/web.d.ts +300 -0
  120. package/backend-project/node_modules/@types/node/stream.d.ts +1774 -0
  121. package/backend-project/node_modules/@types/node/string_decoder.d.ts +27 -0
  122. package/backend-project/node_modules/@types/node/test/reporters.d.ts +59 -0
  123. package/backend-project/node_modules/@types/node/test.d.ts +2279 -0
  124. package/backend-project/node_modules/@types/node/timers/promises.d.ts +93 -0
  125. package/backend-project/node_modules/@types/node/timers.d.ts +149 -0
  126. package/backend-project/node_modules/@types/node/tls.d.ts +1193 -0
  127. package/backend-project/node_modules/@types/node/trace_events.d.ts +103 -0
  128. package/backend-project/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +462 -0
  129. package/backend-project/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
  130. package/backend-project/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
  131. package/backend-project/node_modules/@types/node/ts5.6/index.d.ts +119 -0
  132. package/backend-project/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
  133. package/backend-project/node_modules/@types/node/ts5.7/index.d.ts +119 -0
  134. package/backend-project/node_modules/@types/node/tty.d.ts +225 -0
  135. package/backend-project/node_modules/@types/node/url.d.ts +556 -0
  136. package/backend-project/node_modules/@types/node/util/types.d.ts +558 -0
  137. package/backend-project/node_modules/@types/node/util.d.ts +1677 -0
  138. package/backend-project/node_modules/@types/node/v8.d.ts +980 -0
  139. package/backend-project/node_modules/@types/node/vm.d.ts +1136 -0
  140. package/backend-project/node_modules/@types/node/wasi.d.ts +131 -0
  141. package/backend-project/node_modules/@types/node/web-globals/abortcontroller.d.ts +59 -0
  142. package/backend-project/node_modules/@types/node/web-globals/blob.d.ts +23 -0
  143. package/backend-project/node_modules/@types/node/web-globals/console.d.ts +9 -0
  144. package/backend-project/node_modules/@types/node/web-globals/crypto.d.ts +39 -0
  145. package/backend-project/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  146. package/backend-project/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
  147. package/backend-project/node_modules/@types/node/web-globals/events.d.ts +106 -0
  148. package/backend-project/node_modules/@types/node/web-globals/fetch.d.ts +69 -0
  149. package/backend-project/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
  150. package/backend-project/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
  151. package/backend-project/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
  152. package/backend-project/node_modules/@types/node/web-globals/performance.d.ts +45 -0
  153. package/backend-project/node_modules/@types/node/web-globals/storage.d.ts +24 -0
  154. package/backend-project/node_modules/@types/node/web-globals/streams.d.ts +115 -0
  155. package/backend-project/node_modules/@types/node/web-globals/timers.d.ts +44 -0
  156. package/backend-project/node_modules/@types/node/web-globals/url.d.ts +24 -0
  157. package/backend-project/node_modules/@types/node/worker_threads.d.ts +671 -0
  158. package/backend-project/node_modules/@types/node/zlib/iter.d.ts +131 -0
  159. package/backend-project/node_modules/@types/node/zlib.d.ts +589 -0
  160. package/backend-project/node_modules/@types/webidl-conversions/LICENSE +21 -0
  161. package/backend-project/node_modules/@types/webidl-conversions/README.md +15 -0
  162. package/backend-project/node_modules/@types/webidl-conversions/index.d.ts +91 -0
  163. package/backend-project/node_modules/@types/webidl-conversions/package.json +30 -0
  164. package/backend-project/node_modules/@types/whatwg-url/LICENSE +21 -0
  165. package/backend-project/node_modules/@types/whatwg-url/README.md +16 -0
  166. package/backend-project/node_modules/@types/whatwg-url/dist/URL-impl.d.ts +23 -0
  167. package/backend-project/node_modules/@types/whatwg-url/dist/URL.d.ts +76 -0
  168. package/backend-project/node_modules/@types/whatwg-url/dist/URLSearchParams-impl.d.ts +23 -0
  169. package/backend-project/node_modules/@types/whatwg-url/dist/URLSearchParams.d.ts +91 -0
  170. package/backend-project/node_modules/@types/whatwg-url/index.d.ts +162 -0
  171. package/backend-project/node_modules/@types/whatwg-url/package.json +33 -0
  172. package/backend-project/node_modules/@types/whatwg-url/webidl2js-wrapper.d.ts +4 -0
  173. package/backend-project/node_modules/accepts/HISTORY.md +243 -0
  174. package/backend-project/node_modules/accepts/LICENSE +23 -0
  175. package/backend-project/node_modules/accepts/README.md +140 -0
  176. package/backend-project/node_modules/accepts/index.js +238 -0
  177. package/backend-project/node_modules/accepts/package.json +47 -0
  178. package/backend-project/node_modules/anymatch/LICENSE +15 -0
  179. package/backend-project/node_modules/anymatch/README.md +87 -0
  180. package/backend-project/node_modules/anymatch/index.d.ts +20 -0
  181. package/backend-project/node_modules/anymatch/index.js +104 -0
  182. package/backend-project/node_modules/anymatch/package.json +48 -0
  183. package/backend-project/node_modules/array-flatten/LICENSE +21 -0
  184. package/backend-project/node_modules/array-flatten/README.md +43 -0
  185. package/backend-project/node_modules/array-flatten/array-flatten.js +64 -0
  186. package/backend-project/node_modules/array-flatten/package.json +39 -0
  187. package/backend-project/node_modules/balanced-match/LICENSE.md +23 -0
  188. package/backend-project/node_modules/balanced-match/README.md +57 -0
  189. package/backend-project/node_modules/balanced-match/dist/commonjs/index.d.ts +9 -0
  190. package/backend-project/node_modules/balanced-match/dist/commonjs/index.d.ts.map +1 -0
  191. package/backend-project/node_modules/balanced-match/dist/commonjs/index.js +59 -0
  192. package/backend-project/node_modules/balanced-match/dist/commonjs/index.js.map +1 -0
  193. package/backend-project/node_modules/balanced-match/dist/commonjs/package.json +3 -0
  194. package/backend-project/node_modules/balanced-match/dist/esm/index.d.ts +9 -0
  195. package/backend-project/node_modules/balanced-match/dist/esm/index.d.ts.map +1 -0
  196. package/backend-project/node_modules/balanced-match/dist/esm/index.js +54 -0
  197. package/backend-project/node_modules/balanced-match/dist/esm/index.js.map +1 -0
  198. package/backend-project/node_modules/balanced-match/dist/esm/package.json +3 -0
  199. package/backend-project/node_modules/balanced-match/package.json +68 -0
  200. package/backend-project/node_modules/bcryptjs/.travis.yml +18 -0
  201. package/backend-project/node_modules/bcryptjs/.vscode/settings.json +3 -0
  202. package/backend-project/node_modules/bcryptjs/LICENSE +50 -0
  203. package/backend-project/node_modules/bcryptjs/README.md +251 -0
  204. package/backend-project/node_modules/bcryptjs/bin/bcrypt +25 -0
  205. package/backend-project/node_modules/bcryptjs/bower.json +22 -0
  206. package/backend-project/node_modules/bcryptjs/dist/README.md +15 -0
  207. package/backend-project/node_modules/bcryptjs/dist/bcrypt.js +1379 -0
  208. package/backend-project/node_modules/bcryptjs/dist/bcrypt.min.js +48 -0
  209. package/backend-project/node_modules/bcryptjs/dist/bcrypt.min.js.gz +0 -0
  210. package/backend-project/node_modules/bcryptjs/dist/bcrypt.min.map +8 -0
  211. package/backend-project/node_modules/bcryptjs/externs/bcrypt.js +91 -0
  212. package/backend-project/node_modules/bcryptjs/externs/minimal-env.js +98 -0
  213. package/backend-project/node_modules/bcryptjs/index.js +29 -0
  214. package/backend-project/node_modules/bcryptjs/package.json +47 -0
  215. package/backend-project/node_modules/bcryptjs/scripts/build.js +37 -0
  216. package/backend-project/node_modules/bcryptjs/src/bcrypt/impl.js +669 -0
  217. package/backend-project/node_modules/bcryptjs/src/bcrypt/prng/README.md +5 -0
  218. package/backend-project/node_modules/bcryptjs/src/bcrypt/prng/accum.js +133 -0
  219. package/backend-project/node_modules/bcryptjs/src/bcrypt/prng/isaac.js +140 -0
  220. package/backend-project/node_modules/bcryptjs/src/bcrypt/util/base64.js +115 -0
  221. package/backend-project/node_modules/bcryptjs/src/bcrypt/util.js +33 -0
  222. package/backend-project/node_modules/bcryptjs/src/bcrypt.js +327 -0
  223. package/backend-project/node_modules/bcryptjs/src/bower.json +22 -0
  224. package/backend-project/node_modules/bcryptjs/src/wrap.js +50 -0
  225. package/backend-project/node_modules/bcryptjs/tests/quickbrown.txt +150 -0
  226. package/backend-project/node_modules/bcryptjs/tests/suite.js +197 -0
  227. package/backend-project/node_modules/binary-extensions/binary-extensions.json +263 -0
  228. package/backend-project/node_modules/binary-extensions/binary-extensions.json.d.ts +3 -0
  229. package/backend-project/node_modules/binary-extensions/index.d.ts +14 -0
  230. package/backend-project/node_modules/binary-extensions/index.js +1 -0
  231. package/backend-project/node_modules/binary-extensions/license +10 -0
  232. package/backend-project/node_modules/binary-extensions/package.json +40 -0
  233. package/backend-project/node_modules/binary-extensions/readme.md +25 -0
  234. package/backend-project/node_modules/body-parser/HISTORY.md +686 -0
  235. package/backend-project/node_modules/body-parser/LICENSE +23 -0
  236. package/backend-project/node_modules/body-parser/README.md +476 -0
  237. package/backend-project/node_modules/body-parser/index.js +156 -0
  238. package/backend-project/node_modules/body-parser/lib/read.js +205 -0
  239. package/backend-project/node_modules/body-parser/lib/types/json.js +243 -0
  240. package/backend-project/node_modules/body-parser/lib/types/raw.js +101 -0
  241. package/backend-project/node_modules/body-parser/lib/types/text.js +121 -0
  242. package/backend-project/node_modules/body-parser/lib/types/urlencoded.js +299 -0
  243. package/backend-project/node_modules/body-parser/package.json +55 -0
  244. package/backend-project/node_modules/brace-expansion/LICENSE +23 -0
  245. package/backend-project/node_modules/brace-expansion/README.md +94 -0
  246. package/backend-project/node_modules/brace-expansion/dist/commonjs/index.d.ts +6 -0
  247. package/backend-project/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +1 -0
  248. package/backend-project/node_modules/brace-expansion/dist/commonjs/index.js +201 -0
  249. package/backend-project/node_modules/brace-expansion/dist/commonjs/index.js.map +1 -0
  250. package/backend-project/node_modules/brace-expansion/dist/commonjs/package.json +3 -0
  251. package/backend-project/node_modules/brace-expansion/dist/esm/index.d.ts +6 -0
  252. package/backend-project/node_modules/brace-expansion/dist/esm/index.d.ts.map +1 -0
  253. package/backend-project/node_modules/brace-expansion/dist/esm/index.js +197 -0
  254. package/backend-project/node_modules/brace-expansion/dist/esm/index.js.map +1 -0
  255. package/backend-project/node_modules/brace-expansion/dist/esm/package.json +3 -0
  256. package/backend-project/node_modules/brace-expansion/package.json +64 -0
  257. package/backend-project/node_modules/braces/LICENSE +21 -0
  258. package/backend-project/node_modules/braces/README.md +586 -0
  259. package/backend-project/node_modules/braces/index.js +170 -0
  260. package/backend-project/node_modules/braces/lib/compile.js +60 -0
  261. package/backend-project/node_modules/braces/lib/constants.js +57 -0
  262. package/backend-project/node_modules/braces/lib/expand.js +113 -0
  263. package/backend-project/node_modules/braces/lib/parse.js +331 -0
  264. package/backend-project/node_modules/braces/lib/stringify.js +32 -0
  265. package/backend-project/node_modules/braces/lib/utils.js +122 -0
  266. package/backend-project/node_modules/braces/package.json +77 -0
  267. package/backend-project/node_modules/bson/LICENSE.md +201 -0
  268. package/backend-project/node_modules/bson/README.md +238 -0
  269. package/backend-project/node_modules/bson/bson.d.ts +1302 -0
  270. package/backend-project/node_modules/bson/etc/prepare.js +19 -0
  271. package/backend-project/node_modules/bson/lib/bson.bundle.js +4149 -0
  272. package/backend-project/node_modules/bson/lib/bson.bundle.js.map +1 -0
  273. package/backend-project/node_modules/bson/lib/bson.cjs +4144 -0
  274. package/backend-project/node_modules/bson/lib/bson.cjs.map +1 -0
  275. package/backend-project/node_modules/bson/lib/bson.mjs +4116 -0
  276. package/backend-project/node_modules/bson/lib/bson.mjs.map +1 -0
  277. package/backend-project/node_modules/bson/lib/bson.rn.cjs +4159 -0
  278. package/backend-project/node_modules/bson/lib/bson.rn.cjs.map +1 -0
  279. package/backend-project/node_modules/bson/package.json +116 -0
  280. package/backend-project/node_modules/bson/src/binary.ts +510 -0
  281. package/backend-project/node_modules/bson/src/bson.ts +250 -0
  282. package/backend-project/node_modules/bson/src/bson_value.ts +18 -0
  283. package/backend-project/node_modules/bson/src/code.ts +69 -0
  284. package/backend-project/node_modules/bson/src/constants.ts +141 -0
  285. package/backend-project/node_modules/bson/src/db_ref.ts +127 -0
  286. package/backend-project/node_modules/bson/src/decimal128.ts +858 -0
  287. package/backend-project/node_modules/bson/src/double.ts +83 -0
  288. package/backend-project/node_modules/bson/src/error.ts +83 -0
  289. package/backend-project/node_modules/bson/src/extended_json.ts +515 -0
  290. package/backend-project/node_modules/bson/src/index.ts +19 -0
  291. package/backend-project/node_modules/bson/src/int_32.ts +70 -0
  292. package/backend-project/node_modules/bson/src/long.ts +1067 -0
  293. package/backend-project/node_modules/bson/src/max_key.ts +36 -0
  294. package/backend-project/node_modules/bson/src/min_key.ts +36 -0
  295. package/backend-project/node_modules/bson/src/objectid.ts +323 -0
  296. package/backend-project/node_modules/bson/src/parser/calculate_size.ts +211 -0
  297. package/backend-project/node_modules/bson/src/parser/deserializer.ts +751 -0
  298. package/backend-project/node_modules/bson/src/parser/serializer.ts +1001 -0
  299. package/backend-project/node_modules/bson/src/parser/utils.ts +29 -0
  300. package/backend-project/node_modules/bson/src/regexp.ts +114 -0
  301. package/backend-project/node_modules/bson/src/symbol.ts +58 -0
  302. package/backend-project/node_modules/bson/src/timestamp.ts +152 -0
  303. package/backend-project/node_modules/bson/src/utils/byte_utils.ts +61 -0
  304. package/backend-project/node_modules/bson/src/utils/node_byte_utils.ts +141 -0
  305. package/backend-project/node_modules/bson/src/utils/web_byte_utils.ts +190 -0
  306. package/backend-project/node_modules/bson/src/validate_utf8.ts +47 -0
  307. package/backend-project/node_modules/bson/vendor/base64/LICENSE-MIT.txt +20 -0
  308. package/backend-project/node_modules/bson/vendor/base64/README.md +112 -0
  309. package/backend-project/node_modules/bson/vendor/base64/base64.js +157 -0
  310. package/backend-project/node_modules/bson/vendor/base64/package.json +43 -0
  311. package/backend-project/node_modules/bson/vendor/text-encoding/LICENSE.md +237 -0
  312. package/backend-project/node_modules/bson/vendor/text-encoding/README.md +111 -0
  313. package/backend-project/node_modules/bson/vendor/text-encoding/index.js +9 -0
  314. package/backend-project/node_modules/bson/vendor/text-encoding/lib/encoding-indexes.js +47 -0
  315. package/backend-project/node_modules/bson/vendor/text-encoding/lib/encoding.js +3301 -0
  316. package/backend-project/node_modules/bson/vendor/text-encoding/package.json +37 -0
  317. package/backend-project/node_modules/buffer-equal-constant-time/.travis.yml +4 -0
  318. package/backend-project/node_modules/buffer-equal-constant-time/LICENSE.txt +12 -0
  319. package/backend-project/node_modules/buffer-equal-constant-time/README.md +50 -0
  320. package/backend-project/node_modules/buffer-equal-constant-time/index.js +41 -0
  321. package/backend-project/node_modules/buffer-equal-constant-time/package.json +21 -0
  322. package/backend-project/node_modules/buffer-equal-constant-time/test.js +42 -0
  323. package/backend-project/node_modules/bytes/History.md +97 -0
  324. package/backend-project/node_modules/bytes/LICENSE +23 -0
  325. package/backend-project/node_modules/bytes/Readme.md +152 -0
  326. package/backend-project/node_modules/bytes/index.js +170 -0
  327. package/backend-project/node_modules/bytes/package.json +42 -0
  328. package/backend-project/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
  329. package/backend-project/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
  330. package/backend-project/node_modules/call-bind-apply-helpers/.nycrc +9 -0
  331. package/backend-project/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
  332. package/backend-project/node_modules/call-bind-apply-helpers/LICENSE +21 -0
  333. package/backend-project/node_modules/call-bind-apply-helpers/README.md +62 -0
  334. package/backend-project/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
  335. package/backend-project/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
  336. package/backend-project/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
  337. package/backend-project/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
  338. package/backend-project/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
  339. package/backend-project/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
  340. package/backend-project/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
  341. package/backend-project/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
  342. package/backend-project/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
  343. package/backend-project/node_modules/call-bind-apply-helpers/index.js +15 -0
  344. package/backend-project/node_modules/call-bind-apply-helpers/package.json +85 -0
  345. package/backend-project/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
  346. package/backend-project/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
  347. package/backend-project/node_modules/call-bind-apply-helpers/test/index.js +63 -0
  348. package/backend-project/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
  349. package/backend-project/node_modules/call-bound/.eslintrc +13 -0
  350. package/backend-project/node_modules/call-bound/.github/FUNDING.yml +12 -0
  351. package/backend-project/node_modules/call-bound/.nycrc +9 -0
  352. package/backend-project/node_modules/call-bound/CHANGELOG.md +42 -0
  353. package/backend-project/node_modules/call-bound/LICENSE +21 -0
  354. package/backend-project/node_modules/call-bound/README.md +53 -0
  355. package/backend-project/node_modules/call-bound/index.d.ts +94 -0
  356. package/backend-project/node_modules/call-bound/index.js +19 -0
  357. package/backend-project/node_modules/call-bound/package.json +99 -0
  358. package/backend-project/node_modules/call-bound/test/index.js +61 -0
  359. package/backend-project/node_modules/call-bound/tsconfig.json +10 -0
  360. package/backend-project/node_modules/chokidar/LICENSE +21 -0
  361. package/backend-project/node_modules/chokidar/README.md +308 -0
  362. package/backend-project/node_modules/chokidar/index.js +973 -0
  363. package/backend-project/node_modules/chokidar/lib/constants.js +66 -0
  364. package/backend-project/node_modules/chokidar/lib/fsevents-handler.js +526 -0
  365. package/backend-project/node_modules/chokidar/lib/nodefs-handler.js +654 -0
  366. package/backend-project/node_modules/chokidar/package.json +70 -0
  367. package/backend-project/node_modules/chokidar/types/index.d.ts +192 -0
  368. package/backend-project/node_modules/content-disposition/HISTORY.md +60 -0
  369. package/backend-project/node_modules/content-disposition/LICENSE +22 -0
  370. package/backend-project/node_modules/content-disposition/README.md +142 -0
  371. package/backend-project/node_modules/content-disposition/index.js +458 -0
  372. package/backend-project/node_modules/content-disposition/package.json +44 -0
  373. package/backend-project/node_modules/content-type/HISTORY.md +29 -0
  374. package/backend-project/node_modules/content-type/LICENSE +22 -0
  375. package/backend-project/node_modules/content-type/README.md +94 -0
  376. package/backend-project/node_modules/content-type/index.js +225 -0
  377. package/backend-project/node_modules/content-type/package.json +42 -0
  378. package/backend-project/node_modules/cookie/LICENSE +24 -0
  379. package/backend-project/node_modules/cookie/README.md +317 -0
  380. package/backend-project/node_modules/cookie/SECURITY.md +25 -0
  381. package/backend-project/node_modules/cookie/index.js +335 -0
  382. package/backend-project/node_modules/cookie/package.json +44 -0
  383. package/backend-project/node_modules/cookie-signature/History.md +42 -0
  384. package/backend-project/node_modules/cookie-signature/Readme.md +42 -0
  385. package/backend-project/node_modules/cookie-signature/index.js +51 -0
  386. package/backend-project/node_modules/cookie-signature/package.json +18 -0
  387. package/backend-project/node_modules/cors/LICENSE +22 -0
  388. package/backend-project/node_modules/cors/README.md +277 -0
  389. package/backend-project/node_modules/cors/lib/index.js +238 -0
  390. package/backend-project/node_modules/cors/package.json +42 -0
  391. package/backend-project/node_modules/debug/.coveralls.yml +1 -0
  392. package/backend-project/node_modules/debug/.eslintrc +11 -0
  393. package/backend-project/node_modules/debug/.travis.yml +14 -0
  394. package/backend-project/node_modules/debug/CHANGELOG.md +362 -0
  395. package/backend-project/node_modules/debug/LICENSE +19 -0
  396. package/backend-project/node_modules/debug/Makefile +50 -0
  397. package/backend-project/node_modules/debug/README.md +312 -0
  398. package/backend-project/node_modules/debug/component.json +19 -0
  399. package/backend-project/node_modules/debug/karma.conf.js +70 -0
  400. package/backend-project/node_modules/debug/node.js +1 -0
  401. package/backend-project/node_modules/debug/package.json +49 -0
  402. package/backend-project/node_modules/debug/src/browser.js +185 -0
  403. package/backend-project/node_modules/debug/src/debug.js +202 -0
  404. package/backend-project/node_modules/debug/src/index.js +10 -0
  405. package/backend-project/node_modules/debug/src/inspector-log.js +15 -0
  406. package/backend-project/node_modules/debug/src/node.js +248 -0
  407. package/backend-project/node_modules/depd/History.md +103 -0
  408. package/backend-project/node_modules/depd/LICENSE +22 -0
  409. package/backend-project/node_modules/depd/Readme.md +280 -0
  410. package/backend-project/node_modules/depd/index.js +538 -0
  411. package/backend-project/node_modules/depd/lib/browser/index.js +77 -0
  412. package/backend-project/node_modules/depd/package.json +45 -0
  413. package/backend-project/node_modules/destroy/LICENSE +23 -0
  414. package/backend-project/node_modules/destroy/README.md +63 -0
  415. package/backend-project/node_modules/destroy/index.js +209 -0
  416. package/backend-project/node_modules/destroy/package.json +48 -0
  417. package/backend-project/node_modules/dotenv/CHANGELOG.md +520 -0
  418. package/backend-project/node_modules/dotenv/LICENSE +23 -0
  419. package/backend-project/node_modules/dotenv/README-es.md +411 -0
  420. package/backend-project/node_modules/dotenv/README.md +645 -0
  421. package/backend-project/node_modules/dotenv/SECURITY.md +1 -0
  422. package/backend-project/node_modules/dotenv/config.d.ts +1 -0
  423. package/backend-project/node_modules/dotenv/config.js +9 -0
  424. package/backend-project/node_modules/dotenv/lib/cli-options.js +17 -0
  425. package/backend-project/node_modules/dotenv/lib/env-options.js +28 -0
  426. package/backend-project/node_modules/dotenv/lib/main.d.ts +162 -0
  427. package/backend-project/node_modules/dotenv/lib/main.js +386 -0
  428. package/backend-project/node_modules/dotenv/package.json +62 -0
  429. package/backend-project/node_modules/dunder-proto/.eslintrc +5 -0
  430. package/backend-project/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
  431. package/backend-project/node_modules/dunder-proto/.nycrc +13 -0
  432. package/backend-project/node_modules/dunder-proto/CHANGELOG.md +24 -0
  433. package/backend-project/node_modules/dunder-proto/LICENSE +21 -0
  434. package/backend-project/node_modules/dunder-proto/README.md +54 -0
  435. package/backend-project/node_modules/dunder-proto/get.d.ts +5 -0
  436. package/backend-project/node_modules/dunder-proto/get.js +30 -0
  437. package/backend-project/node_modules/dunder-proto/package.json +76 -0
  438. package/backend-project/node_modules/dunder-proto/set.d.ts +5 -0
  439. package/backend-project/node_modules/dunder-proto/set.js +35 -0
  440. package/backend-project/node_modules/dunder-proto/test/get.js +34 -0
  441. package/backend-project/node_modules/dunder-proto/test/index.js +4 -0
  442. package/backend-project/node_modules/dunder-proto/test/set.js +50 -0
  443. package/backend-project/node_modules/dunder-proto/tsconfig.json +9 -0
  444. package/backend-project/node_modules/ecdsa-sig-formatter/CODEOWNERS +1 -0
  445. package/backend-project/node_modules/ecdsa-sig-formatter/LICENSE +201 -0
  446. package/backend-project/node_modules/ecdsa-sig-formatter/README.md +65 -0
  447. package/backend-project/node_modules/ecdsa-sig-formatter/package.json +46 -0
  448. package/backend-project/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.d.ts +17 -0
  449. package/backend-project/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js +187 -0
  450. package/backend-project/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js +23 -0
  451. package/backend-project/node_modules/ee-first/LICENSE +22 -0
  452. package/backend-project/node_modules/ee-first/README.md +80 -0
  453. package/backend-project/node_modules/ee-first/index.js +95 -0
  454. package/backend-project/node_modules/ee-first/package.json +29 -0
  455. package/backend-project/node_modules/encodeurl/LICENSE +22 -0
  456. package/backend-project/node_modules/encodeurl/README.md +109 -0
  457. package/backend-project/node_modules/encodeurl/index.js +60 -0
  458. package/backend-project/node_modules/encodeurl/package.json +40 -0
  459. package/backend-project/node_modules/es-define-property/.eslintrc +13 -0
  460. package/backend-project/node_modules/es-define-property/.github/FUNDING.yml +12 -0
  461. package/backend-project/node_modules/es-define-property/.nycrc +9 -0
  462. package/backend-project/node_modules/es-define-property/CHANGELOG.md +29 -0
  463. package/backend-project/node_modules/es-define-property/LICENSE +21 -0
  464. package/backend-project/node_modules/es-define-property/README.md +49 -0
  465. package/backend-project/node_modules/es-define-property/index.d.ts +3 -0
  466. package/backend-project/node_modules/es-define-property/index.js +14 -0
  467. package/backend-project/node_modules/es-define-property/package.json +81 -0
  468. package/backend-project/node_modules/es-define-property/test/index.js +56 -0
  469. package/backend-project/node_modules/es-define-property/tsconfig.json +10 -0
  470. package/backend-project/node_modules/es-errors/.eslintrc +5 -0
  471. package/backend-project/node_modules/es-errors/.github/FUNDING.yml +12 -0
  472. package/backend-project/node_modules/es-errors/CHANGELOG.md +40 -0
  473. package/backend-project/node_modules/es-errors/LICENSE +21 -0
  474. package/backend-project/node_modules/es-errors/README.md +55 -0
  475. package/backend-project/node_modules/es-errors/eval.d.ts +3 -0
  476. package/backend-project/node_modules/es-errors/eval.js +4 -0
  477. package/backend-project/node_modules/es-errors/index.d.ts +3 -0
  478. package/backend-project/node_modules/es-errors/index.js +4 -0
  479. package/backend-project/node_modules/es-errors/package.json +80 -0
  480. package/backend-project/node_modules/es-errors/range.d.ts +3 -0
  481. package/backend-project/node_modules/es-errors/range.js +4 -0
  482. package/backend-project/node_modules/es-errors/ref.d.ts +3 -0
  483. package/backend-project/node_modules/es-errors/ref.js +4 -0
  484. package/backend-project/node_modules/es-errors/syntax.d.ts +3 -0
  485. package/backend-project/node_modules/es-errors/syntax.js +4 -0
  486. package/backend-project/node_modules/es-errors/test/index.js +19 -0
  487. package/backend-project/node_modules/es-errors/tsconfig.json +49 -0
  488. package/backend-project/node_modules/es-errors/type.d.ts +3 -0
  489. package/backend-project/node_modules/es-errors/type.js +4 -0
  490. package/backend-project/node_modules/es-errors/uri.d.ts +3 -0
  491. package/backend-project/node_modules/es-errors/uri.js +4 -0
  492. package/backend-project/node_modules/es-object-atoms/.eslintrc +16 -0
  493. package/backend-project/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
  494. package/backend-project/node_modules/es-object-atoms/CHANGELOG.md +44 -0
  495. package/backend-project/node_modules/es-object-atoms/LICENSE +21 -0
  496. package/backend-project/node_modules/es-object-atoms/README.md +63 -0
  497. package/backend-project/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
  498. package/backend-project/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
  499. package/backend-project/node_modules/es-object-atoms/ToObject.d.ts +7 -0
  500. package/backend-project/node_modules/es-object-atoms/ToObject.js +10 -0
  501. package/backend-project/node_modules/es-object-atoms/index.d.ts +3 -0
  502. package/backend-project/node_modules/es-object-atoms/index.js +4 -0
  503. package/backend-project/node_modules/es-object-atoms/isObject.d.ts +3 -0
  504. package/backend-project/node_modules/es-object-atoms/isObject.js +6 -0
  505. package/backend-project/node_modules/es-object-atoms/package.json +79 -0
  506. package/backend-project/node_modules/es-object-atoms/test/index.js +38 -0
  507. package/backend-project/node_modules/es-object-atoms/tsconfig.json +7 -0
  508. package/backend-project/node_modules/escape-html/LICENSE +24 -0
  509. package/backend-project/node_modules/escape-html/Readme.md +43 -0
  510. package/backend-project/node_modules/escape-html/index.js +78 -0
  511. package/backend-project/node_modules/escape-html/package.json +24 -0
  512. package/backend-project/node_modules/etag/HISTORY.md +83 -0
  513. package/backend-project/node_modules/etag/LICENSE +22 -0
  514. package/backend-project/node_modules/etag/README.md +159 -0
  515. package/backend-project/node_modules/etag/index.js +131 -0
  516. package/backend-project/node_modules/etag/package.json +47 -0
  517. package/backend-project/node_modules/express/History.md +3676 -0
  518. package/backend-project/node_modules/express/LICENSE +24 -0
  519. package/backend-project/node_modules/express/Readme.md +260 -0
  520. package/backend-project/node_modules/express/index.js +11 -0
  521. package/backend-project/node_modules/express/lib/application.js +661 -0
  522. package/backend-project/node_modules/express/lib/express.js +116 -0
  523. package/backend-project/node_modules/express/lib/middleware/init.js +43 -0
  524. package/backend-project/node_modules/express/lib/middleware/query.js +47 -0
  525. package/backend-project/node_modules/express/lib/request.js +525 -0
  526. package/backend-project/node_modules/express/lib/response.js +1179 -0
  527. package/backend-project/node_modules/express/lib/router/index.js +673 -0
  528. package/backend-project/node_modules/express/lib/router/layer.js +181 -0
  529. package/backend-project/node_modules/express/lib/router/route.js +230 -0
  530. package/backend-project/node_modules/express/lib/utils.js +304 -0
  531. package/backend-project/node_modules/express/lib/view.js +182 -0
  532. package/backend-project/node_modules/express/package.json +102 -0
  533. package/backend-project/node_modules/fill-range/LICENSE +21 -0
  534. package/backend-project/node_modules/fill-range/README.md +237 -0
  535. package/backend-project/node_modules/fill-range/index.js +248 -0
  536. package/backend-project/node_modules/fill-range/package.json +74 -0
  537. package/backend-project/node_modules/finalhandler/HISTORY.md +216 -0
  538. package/backend-project/node_modules/finalhandler/LICENSE +22 -0
  539. package/backend-project/node_modules/finalhandler/README.md +147 -0
  540. package/backend-project/node_modules/finalhandler/SECURITY.md +25 -0
  541. package/backend-project/node_modules/finalhandler/index.js +341 -0
  542. package/backend-project/node_modules/finalhandler/package.json +47 -0
  543. package/backend-project/node_modules/forwarded/HISTORY.md +21 -0
  544. package/backend-project/node_modules/forwarded/LICENSE +22 -0
  545. package/backend-project/node_modules/forwarded/README.md +57 -0
  546. package/backend-project/node_modules/forwarded/index.js +90 -0
  547. package/backend-project/node_modules/forwarded/package.json +45 -0
  548. package/backend-project/node_modules/fresh/HISTORY.md +70 -0
  549. package/backend-project/node_modules/fresh/LICENSE +23 -0
  550. package/backend-project/node_modules/fresh/README.md +119 -0
  551. package/backend-project/node_modules/fresh/index.js +137 -0
  552. package/backend-project/node_modules/fresh/package.json +46 -0
  553. package/backend-project/node_modules/function-bind/.eslintrc +21 -0
  554. package/backend-project/node_modules/function-bind/.github/FUNDING.yml +12 -0
  555. package/backend-project/node_modules/function-bind/.github/SECURITY.md +3 -0
  556. package/backend-project/node_modules/function-bind/.nycrc +13 -0
  557. package/backend-project/node_modules/function-bind/CHANGELOG.md +136 -0
  558. package/backend-project/node_modules/function-bind/LICENSE +20 -0
  559. package/backend-project/node_modules/function-bind/README.md +46 -0
  560. package/backend-project/node_modules/function-bind/implementation.js +84 -0
  561. package/backend-project/node_modules/function-bind/index.js +5 -0
  562. package/backend-project/node_modules/function-bind/package.json +87 -0
  563. package/backend-project/node_modules/function-bind/test/.eslintrc +9 -0
  564. package/backend-project/node_modules/function-bind/test/index.js +252 -0
  565. package/backend-project/node_modules/get-intrinsic/.eslintrc +42 -0
  566. package/backend-project/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
  567. package/backend-project/node_modules/get-intrinsic/.nycrc +9 -0
  568. package/backend-project/node_modules/get-intrinsic/CHANGELOG.md +186 -0
  569. package/backend-project/node_modules/get-intrinsic/LICENSE +21 -0
  570. package/backend-project/node_modules/get-intrinsic/README.md +71 -0
  571. package/backend-project/node_modules/get-intrinsic/index.js +378 -0
  572. package/backend-project/node_modules/get-intrinsic/package.json +97 -0
  573. package/backend-project/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
  574. package/backend-project/node_modules/get-proto/.eslintrc +10 -0
  575. package/backend-project/node_modules/get-proto/.github/FUNDING.yml +12 -0
  576. package/backend-project/node_modules/get-proto/.nycrc +9 -0
  577. package/backend-project/node_modules/get-proto/CHANGELOG.md +21 -0
  578. package/backend-project/node_modules/get-proto/LICENSE +21 -0
  579. package/backend-project/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
  580. package/backend-project/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
  581. package/backend-project/node_modules/get-proto/README.md +50 -0
  582. package/backend-project/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
  583. package/backend-project/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
  584. package/backend-project/node_modules/get-proto/index.d.ts +5 -0
  585. package/backend-project/node_modules/get-proto/index.js +27 -0
  586. package/backend-project/node_modules/get-proto/package.json +81 -0
  587. package/backend-project/node_modules/get-proto/test/index.js +68 -0
  588. package/backend-project/node_modules/get-proto/tsconfig.json +9 -0
  589. package/backend-project/node_modules/glob-parent/CHANGELOG.md +110 -0
  590. package/backend-project/node_modules/glob-parent/LICENSE +15 -0
  591. package/backend-project/node_modules/glob-parent/README.md +137 -0
  592. package/backend-project/node_modules/glob-parent/index.js +42 -0
  593. package/backend-project/node_modules/glob-parent/package.json +48 -0
  594. package/backend-project/node_modules/gopd/.eslintrc +16 -0
  595. package/backend-project/node_modules/gopd/.github/FUNDING.yml +12 -0
  596. package/backend-project/node_modules/gopd/CHANGELOG.md +45 -0
  597. package/backend-project/node_modules/gopd/LICENSE +21 -0
  598. package/backend-project/node_modules/gopd/README.md +40 -0
  599. package/backend-project/node_modules/gopd/gOPD.d.ts +1 -0
  600. package/backend-project/node_modules/gopd/gOPD.js +4 -0
  601. package/backend-project/node_modules/gopd/index.d.ts +5 -0
  602. package/backend-project/node_modules/gopd/index.js +15 -0
  603. package/backend-project/node_modules/gopd/package.json +77 -0
  604. package/backend-project/node_modules/gopd/test/index.js +36 -0
  605. package/backend-project/node_modules/gopd/tsconfig.json +9 -0
  606. package/backend-project/node_modules/has-flag/index.js +8 -0
  607. package/backend-project/node_modules/has-flag/license +9 -0
  608. package/backend-project/node_modules/has-flag/package.json +44 -0
  609. package/backend-project/node_modules/has-flag/readme.md +70 -0
  610. package/backend-project/node_modules/has-symbols/.eslintrc +11 -0
  611. package/backend-project/node_modules/has-symbols/.github/FUNDING.yml +12 -0
  612. package/backend-project/node_modules/has-symbols/.nycrc +9 -0
  613. package/backend-project/node_modules/has-symbols/CHANGELOG.md +91 -0
  614. package/backend-project/node_modules/has-symbols/LICENSE +21 -0
  615. package/backend-project/node_modules/has-symbols/README.md +46 -0
  616. package/backend-project/node_modules/has-symbols/index.d.ts +3 -0
  617. package/backend-project/node_modules/has-symbols/index.js +14 -0
  618. package/backend-project/node_modules/has-symbols/package.json +111 -0
  619. package/backend-project/node_modules/has-symbols/shams.d.ts +3 -0
  620. package/backend-project/node_modules/has-symbols/shams.js +45 -0
  621. package/backend-project/node_modules/has-symbols/test/index.js +22 -0
  622. package/backend-project/node_modules/has-symbols/test/shams/core-js.js +29 -0
  623. package/backend-project/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
  624. package/backend-project/node_modules/has-symbols/test/tests.js +58 -0
  625. package/backend-project/node_modules/has-symbols/tsconfig.json +10 -0
  626. package/backend-project/node_modules/hasown/.github/FUNDING.yml +12 -0
  627. package/backend-project/node_modules/hasown/.nycrc +13 -0
  628. package/backend-project/node_modules/hasown/CHANGELOG.md +58 -0
  629. package/backend-project/node_modules/hasown/LICENSE +21 -0
  630. package/backend-project/node_modules/hasown/README.md +40 -0
  631. package/backend-project/node_modules/hasown/eslint.config.mjs +6 -0
  632. package/backend-project/node_modules/hasown/index.d.ts +3 -0
  633. package/backend-project/node_modules/hasown/index.js +8 -0
  634. package/backend-project/node_modules/hasown/package.json +91 -0
  635. package/backend-project/node_modules/hasown/tsconfig.json +6 -0
  636. package/backend-project/node_modules/http-errors/HISTORY.md +186 -0
  637. package/backend-project/node_modules/http-errors/LICENSE +23 -0
  638. package/backend-project/node_modules/http-errors/README.md +169 -0
  639. package/backend-project/node_modules/http-errors/index.js +290 -0
  640. package/backend-project/node_modules/http-errors/package.json +54 -0
  641. package/backend-project/node_modules/iconv-lite/Changelog.md +162 -0
  642. package/backend-project/node_modules/iconv-lite/LICENSE +21 -0
  643. package/backend-project/node_modules/iconv-lite/README.md +156 -0
  644. package/backend-project/node_modules/iconv-lite/encodings/dbcs-codec.js +555 -0
  645. package/backend-project/node_modules/iconv-lite/encodings/dbcs-data.js +176 -0
  646. package/backend-project/node_modules/iconv-lite/encodings/index.js +22 -0
  647. package/backend-project/node_modules/iconv-lite/encodings/internal.js +188 -0
  648. package/backend-project/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
  649. package/backend-project/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  650. package/backend-project/node_modules/iconv-lite/encodings/sbcs-data.js +174 -0
  651. package/backend-project/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  652. package/backend-project/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  653. package/backend-project/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  654. package/backend-project/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  655. package/backend-project/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  656. package/backend-project/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  657. package/backend-project/node_modules/iconv-lite/encodings/tables/gbk-added.json +55 -0
  658. package/backend-project/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  659. package/backend-project/node_modules/iconv-lite/encodings/utf16.js +177 -0
  660. package/backend-project/node_modules/iconv-lite/encodings/utf7.js +290 -0
  661. package/backend-project/node_modules/iconv-lite/lib/bom-handling.js +52 -0
  662. package/backend-project/node_modules/iconv-lite/lib/extend-node.js +217 -0
  663. package/backend-project/node_modules/iconv-lite/lib/index.d.ts +24 -0
  664. package/backend-project/node_modules/iconv-lite/lib/index.js +153 -0
  665. package/backend-project/node_modules/iconv-lite/lib/streams.js +121 -0
  666. package/backend-project/node_modules/iconv-lite/package.json +46 -0
  667. package/backend-project/node_modules/ignore-by-default/LICENSE +14 -0
  668. package/backend-project/node_modules/ignore-by-default/README.md +26 -0
  669. package/backend-project/node_modules/ignore-by-default/index.js +12 -0
  670. package/backend-project/node_modules/ignore-by-default/package.json +34 -0
  671. package/backend-project/node_modules/inherits/LICENSE +16 -0
  672. package/backend-project/node_modules/inherits/README.md +42 -0
  673. package/backend-project/node_modules/inherits/inherits.js +9 -0
  674. package/backend-project/node_modules/inherits/inherits_browser.js +27 -0
  675. package/backend-project/node_modules/inherits/package.json +29 -0
  676. package/backend-project/node_modules/ip-address/LICENSE +19 -0
  677. package/backend-project/node_modules/ip-address/README.md +278 -0
  678. package/backend-project/node_modules/ip-address/dist/address-error.d.ts +4 -0
  679. package/backend-project/node_modules/ip-address/dist/address-error.js +12 -0
  680. package/backend-project/node_modules/ip-address/dist/address-error.js.map +1 -0
  681. package/backend-project/node_modules/ip-address/dist/common.d.ts +20 -0
  682. package/backend-project/node_modules/ip-address/dist/common.js +67 -0
  683. package/backend-project/node_modules/ip-address/dist/common.js.map +1 -0
  684. package/backend-project/node_modules/ip-address/dist/ip-address.d.ts +7 -0
  685. package/backend-project/node_modules/ip-address/dist/ip-address.js +35 -0
  686. package/backend-project/node_modules/ip-address/dist/ip-address.js.map +1 -0
  687. package/backend-project/node_modules/ip-address/dist/ipv4.d.ts +267 -0
  688. package/backend-project/node_modules/ip-address/dist/ipv4.js +485 -0
  689. package/backend-project/node_modules/ip-address/dist/ipv4.js.map +1 -0
  690. package/backend-project/node_modules/ip-address/dist/ipv6.d.ts +489 -0
  691. package/backend-project/node_modules/ip-address/dist/ipv6.js +1217 -0
  692. package/backend-project/node_modules/ip-address/dist/ipv6.js.map +1 -0
  693. package/backend-project/node_modules/ip-address/dist/v4/constants.d.ts +4 -0
  694. package/backend-project/node_modules/ip-address/dist/v4/constants.js +8 -0
  695. package/backend-project/node_modules/ip-address/dist/v4/constants.js.map +1 -0
  696. package/backend-project/node_modules/ip-address/dist/v6/constants.d.ts +44 -0
  697. package/backend-project/node_modules/ip-address/dist/v6/constants.js +81 -0
  698. package/backend-project/node_modules/ip-address/dist/v6/constants.js.map +1 -0
  699. package/backend-project/node_modules/ip-address/dist/v6/helpers.d.ts +18 -0
  700. package/backend-project/node_modules/ip-address/dist/v6/helpers.js +54 -0
  701. package/backend-project/node_modules/ip-address/dist/v6/helpers.js.map +1 -0
  702. package/backend-project/node_modules/ip-address/dist/v6/regular-expressions.d.ts +5 -0
  703. package/backend-project/node_modules/ip-address/dist/v6/regular-expressions.js +95 -0
  704. package/backend-project/node_modules/ip-address/dist/v6/regular-expressions.js.map +1 -0
  705. package/backend-project/node_modules/ip-address/package.json +88 -0
  706. package/backend-project/node_modules/ipaddr.js/LICENSE +19 -0
  707. package/backend-project/node_modules/ipaddr.js/README.md +233 -0
  708. package/backend-project/node_modules/ipaddr.js/ipaddr.min.js +1 -0
  709. package/backend-project/node_modules/ipaddr.js/lib/ipaddr.js +673 -0
  710. package/backend-project/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +68 -0
  711. package/backend-project/node_modules/ipaddr.js/package.json +35 -0
  712. package/backend-project/node_modules/is-binary-path/index.d.ts +17 -0
  713. package/backend-project/node_modules/is-binary-path/index.js +7 -0
  714. package/backend-project/node_modules/is-binary-path/license +9 -0
  715. package/backend-project/node_modules/is-binary-path/package.json +40 -0
  716. package/backend-project/node_modules/is-binary-path/readme.md +34 -0
  717. package/backend-project/node_modules/is-extglob/LICENSE +21 -0
  718. package/backend-project/node_modules/is-extglob/README.md +107 -0
  719. package/backend-project/node_modules/is-extglob/index.js +20 -0
  720. package/backend-project/node_modules/is-extglob/package.json +69 -0
  721. package/backend-project/node_modules/is-glob/LICENSE +21 -0
  722. package/backend-project/node_modules/is-glob/README.md +206 -0
  723. package/backend-project/node_modules/is-glob/index.js +150 -0
  724. package/backend-project/node_modules/is-glob/package.json +81 -0
  725. package/backend-project/node_modules/is-number/LICENSE +21 -0
  726. package/backend-project/node_modules/is-number/README.md +187 -0
  727. package/backend-project/node_modules/is-number/index.js +18 -0
  728. package/backend-project/node_modules/is-number/package.json +82 -0
  729. package/backend-project/node_modules/jsonwebtoken/LICENSE +21 -0
  730. package/backend-project/node_modules/jsonwebtoken/README.md +396 -0
  731. package/backend-project/node_modules/jsonwebtoken/decode.js +30 -0
  732. package/backend-project/node_modules/jsonwebtoken/index.js +8 -0
  733. package/backend-project/node_modules/jsonwebtoken/lib/JsonWebTokenError.js +14 -0
  734. package/backend-project/node_modules/jsonwebtoken/lib/NotBeforeError.js +13 -0
  735. package/backend-project/node_modules/jsonwebtoken/lib/TokenExpiredError.js +13 -0
  736. package/backend-project/node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js +3 -0
  737. package/backend-project/node_modules/jsonwebtoken/lib/psSupported.js +3 -0
  738. package/backend-project/node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js +3 -0
  739. package/backend-project/node_modules/jsonwebtoken/lib/timespan.js +18 -0
  740. package/backend-project/node_modules/jsonwebtoken/lib/validateAsymmetricKey.js +66 -0
  741. package/backend-project/node_modules/jsonwebtoken/node_modules/ms/index.js +162 -0
  742. package/backend-project/node_modules/jsonwebtoken/node_modules/ms/license.md +21 -0
  743. package/backend-project/node_modules/jsonwebtoken/node_modules/ms/package.json +38 -0
  744. package/backend-project/node_modules/jsonwebtoken/node_modules/ms/readme.md +59 -0
  745. package/backend-project/node_modules/jsonwebtoken/package.json +70 -0
  746. package/backend-project/node_modules/jsonwebtoken/sign.js +253 -0
  747. package/backend-project/node_modules/jsonwebtoken/verify.js +263 -0
  748. package/backend-project/node_modules/jwa/LICENSE +17 -0
  749. package/backend-project/node_modules/jwa/README.md +150 -0
  750. package/backend-project/node_modules/jwa/index.js +266 -0
  751. package/backend-project/node_modules/jwa/opslevel.yml +6 -0
  752. package/backend-project/node_modules/jwa/package.json +37 -0
  753. package/backend-project/node_modules/jws/CHANGELOG.md +56 -0
  754. package/backend-project/node_modules/jws/LICENSE +17 -0
  755. package/backend-project/node_modules/jws/index.js +22 -0
  756. package/backend-project/node_modules/jws/lib/data-stream.js +55 -0
  757. package/backend-project/node_modules/jws/lib/sign-stream.js +83 -0
  758. package/backend-project/node_modules/jws/lib/tostring.js +10 -0
  759. package/backend-project/node_modules/jws/lib/verify-stream.js +125 -0
  760. package/backend-project/node_modules/jws/opslevel.yml +6 -0
  761. package/backend-project/node_modules/jws/package.json +34 -0
  762. package/backend-project/node_modules/jws/readme.md +255 -0
  763. package/backend-project/node_modules/kareem/LICENSE +202 -0
  764. package/backend-project/node_modules/kareem/README.md +420 -0
  765. package/backend-project/node_modules/kareem/index.js +668 -0
  766. package/backend-project/node_modules/kareem/package.json +31 -0
  767. package/backend-project/node_modules/lodash.includes/LICENSE +47 -0
  768. package/backend-project/node_modules/lodash.includes/README.md +18 -0
  769. package/backend-project/node_modules/lodash.includes/index.js +745 -0
  770. package/backend-project/node_modules/lodash.includes/package.json +17 -0
  771. package/backend-project/node_modules/lodash.isboolean/LICENSE +22 -0
  772. package/backend-project/node_modules/lodash.isboolean/README.md +18 -0
  773. package/backend-project/node_modules/lodash.isboolean/index.js +70 -0
  774. package/backend-project/node_modules/lodash.isboolean/package.json +17 -0
  775. package/backend-project/node_modules/lodash.isinteger/LICENSE +47 -0
  776. package/backend-project/node_modules/lodash.isinteger/README.md +18 -0
  777. package/backend-project/node_modules/lodash.isinteger/index.js +265 -0
  778. package/backend-project/node_modules/lodash.isinteger/package.json +17 -0
  779. package/backend-project/node_modules/lodash.isnumber/LICENSE +22 -0
  780. package/backend-project/node_modules/lodash.isnumber/README.md +18 -0
  781. package/backend-project/node_modules/lodash.isnumber/index.js +79 -0
  782. package/backend-project/node_modules/lodash.isnumber/package.json +17 -0
  783. package/backend-project/node_modules/lodash.isplainobject/LICENSE +47 -0
  784. package/backend-project/node_modules/lodash.isplainobject/README.md +18 -0
  785. package/backend-project/node_modules/lodash.isplainobject/index.js +139 -0
  786. package/backend-project/node_modules/lodash.isplainobject/package.json +17 -0
  787. package/backend-project/node_modules/lodash.isstring/LICENSE +22 -0
  788. package/backend-project/node_modules/lodash.isstring/README.md +18 -0
  789. package/backend-project/node_modules/lodash.isstring/index.js +95 -0
  790. package/backend-project/node_modules/lodash.isstring/package.json +17 -0
  791. package/backend-project/node_modules/lodash.once/LICENSE +47 -0
  792. package/backend-project/node_modules/lodash.once/README.md +18 -0
  793. package/backend-project/node_modules/lodash.once/index.js +294 -0
  794. package/backend-project/node_modules/lodash.once/package.json +17 -0
  795. package/backend-project/node_modules/math-intrinsics/.eslintrc +16 -0
  796. package/backend-project/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
  797. package/backend-project/node_modules/math-intrinsics/CHANGELOG.md +24 -0
  798. package/backend-project/node_modules/math-intrinsics/LICENSE +21 -0
  799. package/backend-project/node_modules/math-intrinsics/README.md +50 -0
  800. package/backend-project/node_modules/math-intrinsics/abs.d.ts +1 -0
  801. package/backend-project/node_modules/math-intrinsics/abs.js +4 -0
  802. package/backend-project/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
  803. package/backend-project/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
  804. package/backend-project/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
  805. package/backend-project/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
  806. package/backend-project/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
  807. package/backend-project/node_modules/math-intrinsics/constants/maxValue.js +5 -0
  808. package/backend-project/node_modules/math-intrinsics/floor.d.ts +1 -0
  809. package/backend-project/node_modules/math-intrinsics/floor.js +4 -0
  810. package/backend-project/node_modules/math-intrinsics/isFinite.d.ts +3 -0
  811. package/backend-project/node_modules/math-intrinsics/isFinite.js +12 -0
  812. package/backend-project/node_modules/math-intrinsics/isInteger.d.ts +3 -0
  813. package/backend-project/node_modules/math-intrinsics/isInteger.js +16 -0
  814. package/backend-project/node_modules/math-intrinsics/isNaN.d.ts +1 -0
  815. package/backend-project/node_modules/math-intrinsics/isNaN.js +6 -0
  816. package/backend-project/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
  817. package/backend-project/node_modules/math-intrinsics/isNegativeZero.js +6 -0
  818. package/backend-project/node_modules/math-intrinsics/max.d.ts +1 -0
  819. package/backend-project/node_modules/math-intrinsics/max.js +4 -0
  820. package/backend-project/node_modules/math-intrinsics/min.d.ts +1 -0
  821. package/backend-project/node_modules/math-intrinsics/min.js +4 -0
  822. package/backend-project/node_modules/math-intrinsics/mod.d.ts +3 -0
  823. package/backend-project/node_modules/math-intrinsics/mod.js +9 -0
  824. package/backend-project/node_modules/math-intrinsics/package.json +86 -0
  825. package/backend-project/node_modules/math-intrinsics/pow.d.ts +1 -0
  826. package/backend-project/node_modules/math-intrinsics/pow.js +4 -0
  827. package/backend-project/node_modules/math-intrinsics/round.d.ts +1 -0
  828. package/backend-project/node_modules/math-intrinsics/round.js +4 -0
  829. package/backend-project/node_modules/math-intrinsics/sign.d.ts +3 -0
  830. package/backend-project/node_modules/math-intrinsics/sign.js +11 -0
  831. package/backend-project/node_modules/math-intrinsics/test/index.js +192 -0
  832. package/backend-project/node_modules/math-intrinsics/tsconfig.json +3 -0
  833. package/backend-project/node_modules/media-typer/HISTORY.md +22 -0
  834. package/backend-project/node_modules/media-typer/LICENSE +22 -0
  835. package/backend-project/node_modules/media-typer/README.md +81 -0
  836. package/backend-project/node_modules/media-typer/index.js +270 -0
  837. package/backend-project/node_modules/media-typer/package.json +26 -0
  838. package/backend-project/node_modules/memory-pager/.travis.yml +4 -0
  839. package/backend-project/node_modules/memory-pager/LICENSE +21 -0
  840. package/backend-project/node_modules/memory-pager/README.md +65 -0
  841. package/backend-project/node_modules/memory-pager/index.js +160 -0
  842. package/backend-project/node_modules/memory-pager/package.json +24 -0
  843. package/backend-project/node_modules/memory-pager/test.js +80 -0
  844. package/backend-project/node_modules/merge-descriptors/HISTORY.md +21 -0
  845. package/backend-project/node_modules/merge-descriptors/LICENSE +23 -0
  846. package/backend-project/node_modules/merge-descriptors/README.md +49 -0
  847. package/backend-project/node_modules/merge-descriptors/index.js +60 -0
  848. package/backend-project/node_modules/merge-descriptors/package.json +39 -0
  849. package/backend-project/node_modules/methods/HISTORY.md +29 -0
  850. package/backend-project/node_modules/methods/LICENSE +24 -0
  851. package/backend-project/node_modules/methods/README.md +51 -0
  852. package/backend-project/node_modules/methods/index.js +69 -0
  853. package/backend-project/node_modules/methods/package.json +36 -0
  854. package/backend-project/node_modules/mime/CHANGELOG.md +164 -0
  855. package/backend-project/node_modules/mime/LICENSE +21 -0
  856. package/backend-project/node_modules/mime/README.md +90 -0
  857. package/backend-project/node_modules/mime/cli.js +8 -0
  858. package/backend-project/node_modules/mime/mime.js +108 -0
  859. package/backend-project/node_modules/mime/package.json +44 -0
  860. package/backend-project/node_modules/mime/src/build.js +53 -0
  861. package/backend-project/node_modules/mime/src/test.js +60 -0
  862. package/backend-project/node_modules/mime/types.json +1 -0
  863. package/backend-project/node_modules/mime-db/HISTORY.md +507 -0
  864. package/backend-project/node_modules/mime-db/LICENSE +23 -0
  865. package/backend-project/node_modules/mime-db/README.md +100 -0
  866. package/backend-project/node_modules/mime-db/db.json +8519 -0
  867. package/backend-project/node_modules/mime-db/index.js +12 -0
  868. package/backend-project/node_modules/mime-db/package.json +60 -0
  869. package/backend-project/node_modules/mime-types/HISTORY.md +397 -0
  870. package/backend-project/node_modules/mime-types/LICENSE +23 -0
  871. package/backend-project/node_modules/mime-types/README.md +113 -0
  872. package/backend-project/node_modules/mime-types/index.js +188 -0
  873. package/backend-project/node_modules/mime-types/package.json +44 -0
  874. package/backend-project/node_modules/minimatch/LICENSE.md +55 -0
  875. package/backend-project/node_modules/minimatch/README.md +528 -0
  876. package/backend-project/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +2 -0
  877. package/backend-project/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
  878. package/backend-project/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
  879. package/backend-project/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
  880. package/backend-project/node_modules/minimatch/dist/commonjs/ast.d.ts +22 -0
  881. package/backend-project/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
  882. package/backend-project/node_modules/minimatch/dist/commonjs/ast.js +845 -0
  883. package/backend-project/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
  884. package/backend-project/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +8 -0
  885. package/backend-project/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
  886. package/backend-project/node_modules/minimatch/dist/commonjs/brace-expressions.js +150 -0
  887. package/backend-project/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
  888. package/backend-project/node_modules/minimatch/dist/commonjs/escape.d.ts +15 -0
  889. package/backend-project/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
  890. package/backend-project/node_modules/minimatch/dist/commonjs/escape.js +30 -0
  891. package/backend-project/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
  892. package/backend-project/node_modules/minimatch/dist/commonjs/index.d.ts +174 -0
  893. package/backend-project/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
  894. package/backend-project/node_modules/minimatch/dist/commonjs/index.js +1127 -0
  895. package/backend-project/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
  896. package/backend-project/node_modules/minimatch/dist/commonjs/package.json +3 -0
  897. package/backend-project/node_modules/minimatch/dist/commonjs/unescape.d.ts +22 -0
  898. package/backend-project/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
  899. package/backend-project/node_modules/minimatch/dist/commonjs/unescape.js +38 -0
  900. package/backend-project/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
  901. package/backend-project/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +2 -0
  902. package/backend-project/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
  903. package/backend-project/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
  904. package/backend-project/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
  905. package/backend-project/node_modules/minimatch/dist/esm/ast.d.ts +22 -0
  906. package/backend-project/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
  907. package/backend-project/node_modules/minimatch/dist/esm/ast.js +841 -0
  908. package/backend-project/node_modules/minimatch/dist/esm/ast.js.map +1 -0
  909. package/backend-project/node_modules/minimatch/dist/esm/brace-expressions.d.ts +8 -0
  910. package/backend-project/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
  911. package/backend-project/node_modules/minimatch/dist/esm/brace-expressions.js +146 -0
  912. package/backend-project/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
  913. package/backend-project/node_modules/minimatch/dist/esm/escape.d.ts +15 -0
  914. package/backend-project/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
  915. package/backend-project/node_modules/minimatch/dist/esm/escape.js +26 -0
  916. package/backend-project/node_modules/minimatch/dist/esm/escape.js.map +1 -0
  917. package/backend-project/node_modules/minimatch/dist/esm/index.d.ts +174 -0
  918. package/backend-project/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
  919. package/backend-project/node_modules/minimatch/dist/esm/index.js +1114 -0
  920. package/backend-project/node_modules/minimatch/dist/esm/index.js.map +1 -0
  921. package/backend-project/node_modules/minimatch/dist/esm/package.json +3 -0
  922. package/backend-project/node_modules/minimatch/dist/esm/unescape.d.ts +22 -0
  923. package/backend-project/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
  924. package/backend-project/node_modules/minimatch/dist/esm/unescape.js +34 -0
  925. package/backend-project/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
  926. package/backend-project/node_modules/minimatch/package.json +73 -0
  927. package/backend-project/node_modules/mongodb/LICENSE.md +201 -0
  928. package/backend-project/node_modules/mongodb/README.md +310 -0
  929. package/backend-project/node_modules/mongodb/etc/prepare.js +12 -0
  930. package/backend-project/node_modules/mongodb/lib/admin.js +149 -0
  931. package/backend-project/node_modules/mongodb/lib/admin.js.map +1 -0
  932. package/backend-project/node_modules/mongodb/lib/bson.js +61 -0
  933. package/backend-project/node_modules/mongodb/lib/bson.js.map +1 -0
  934. package/backend-project/node_modules/mongodb/lib/bulk/common.js +907 -0
  935. package/backend-project/node_modules/mongodb/lib/bulk/common.js.map +1 -0
  936. package/backend-project/node_modules/mongodb/lib/bulk/ordered.js +67 -0
  937. package/backend-project/node_modules/mongodb/lib/bulk/ordered.js.map +1 -0
  938. package/backend-project/node_modules/mongodb/lib/bulk/unordered.js +92 -0
  939. package/backend-project/node_modules/mongodb/lib/bulk/unordered.js.map +1 -0
  940. package/backend-project/node_modules/mongodb/lib/change_stream.js +397 -0
  941. package/backend-project/node_modules/mongodb/lib/change_stream.js.map +1 -0
  942. package/backend-project/node_modules/mongodb/lib/cmap/auth/auth_provider.js +47 -0
  943. package/backend-project/node_modules/mongodb/lib/cmap/auth/auth_provider.js.map +1 -0
  944. package/backend-project/node_modules/mongodb/lib/cmap/auth/gssapi.js +153 -0
  945. package/backend-project/node_modules/mongodb/lib/cmap/auth/gssapi.js.map +1 -0
  946. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongo_credentials.js +177 -0
  947. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongo_credentials.js.map +1 -0
  948. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongocr.js +35 -0
  949. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongocr.js.map +1 -0
  950. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_aws.js +227 -0
  951. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_aws.js.map +1 -0
  952. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/aws_service_workflow.js +30 -0
  953. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/aws_service_workflow.js.map +1 -0
  954. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_service_workflow.js +73 -0
  955. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_service_workflow.js.map +1 -0
  956. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_token_cache.js +49 -0
  957. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_token_cache.js.map +1 -0
  958. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/cache.js +55 -0
  959. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/cache.js.map +1 -0
  960. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_lock_cache.js +89 -0
  961. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_lock_cache.js.map +1 -0
  962. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_workflow.js +204 -0
  963. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_workflow.js.map +1 -0
  964. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/service_workflow.js +43 -0
  965. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/service_workflow.js.map +1 -0
  966. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_entry_cache.js +62 -0
  967. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_entry_cache.js.map +1 -0
  968. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.js +68 -0
  969. package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.js.map +1 -0
  970. package/backend-project/node_modules/mongodb/lib/cmap/auth/plain.js +26 -0
  971. package/backend-project/node_modules/mongodb/lib/cmap/auth/plain.js.map +1 -0
  972. package/backend-project/node_modules/mongodb/lib/cmap/auth/providers.js +24 -0
  973. package/backend-project/node_modules/mongodb/lib/cmap/auth/providers.js.map +1 -0
  974. package/backend-project/node_modules/mongodb/lib/cmap/auth/scram.js +262 -0
  975. package/backend-project/node_modules/mongodb/lib/cmap/auth/scram.js.map +1 -0
  976. package/backend-project/node_modules/mongodb/lib/cmap/auth/x509.js +36 -0
  977. package/backend-project/node_modules/mongodb/lib/cmap/auth/x509.js.map +1 -0
  978. package/backend-project/node_modules/mongodb/lib/cmap/command_monitoring_events.js +251 -0
  979. package/backend-project/node_modules/mongodb/lib/cmap/command_monitoring_events.js.map +1 -0
  980. package/backend-project/node_modules/mongodb/lib/cmap/commands.js +487 -0
  981. package/backend-project/node_modules/mongodb/lib/cmap/commands.js.map +1 -0
  982. package/backend-project/node_modules/mongodb/lib/cmap/connect.js +378 -0
  983. package/backend-project/node_modules/mongodb/lib/cmap/connect.js.map +1 -0
  984. package/backend-project/node_modules/mongodb/lib/cmap/connection.js +492 -0
  985. package/backend-project/node_modules/mongodb/lib/cmap/connection.js.map +1 -0
  986. package/backend-project/node_modules/mongodb/lib/cmap/connection_pool.js +637 -0
  987. package/backend-project/node_modules/mongodb/lib/cmap/connection_pool.js.map +1 -0
  988. package/backend-project/node_modules/mongodb/lib/cmap/connection_pool_events.js +191 -0
  989. package/backend-project/node_modules/mongodb/lib/cmap/connection_pool_events.js.map +1 -0
  990. package/backend-project/node_modules/mongodb/lib/cmap/errors.js +64 -0
  991. package/backend-project/node_modules/mongodb/lib/cmap/errors.js.map +1 -0
  992. package/backend-project/node_modules/mongodb/lib/cmap/handshake/client_metadata.js +173 -0
  993. package/backend-project/node_modules/mongodb/lib/cmap/handshake/client_metadata.js.map +1 -0
  994. package/backend-project/node_modules/mongodb/lib/cmap/message_stream.js +156 -0
  995. package/backend-project/node_modules/mongodb/lib/cmap/message_stream.js.map +1 -0
  996. package/backend-project/node_modules/mongodb/lib/cmap/metrics.js +62 -0
  997. package/backend-project/node_modules/mongodb/lib/cmap/metrics.js.map +1 -0
  998. package/backend-project/node_modules/mongodb/lib/cmap/stream_description.js +51 -0
  999. package/backend-project/node_modules/mongodb/lib/cmap/stream_description.js.map +1 -0
  1000. package/backend-project/node_modules/mongodb/lib/cmap/wire_protocol/compression.js +107 -0
  1001. package/backend-project/node_modules/mongodb/lib/cmap/wire_protocol/compression.js.map +1 -0
  1002. package/backend-project/node_modules/mongodb/lib/cmap/wire_protocol/constants.js +17 -0
  1003. package/backend-project/node_modules/mongodb/lib/cmap/wire_protocol/constants.js.map +1 -0
  1004. package/backend-project/node_modules/mongodb/lib/cmap/wire_protocol/shared.js +40 -0
  1005. package/backend-project/node_modules/mongodb/lib/cmap/wire_protocol/shared.js.map +1 -0
  1006. package/backend-project/node_modules/mongodb/lib/collection.js +629 -0
  1007. package/backend-project/node_modules/mongodb/lib/collection.js.map +1 -0
  1008. package/backend-project/node_modules/mongodb/lib/connection_string.js +1103 -0
  1009. package/backend-project/node_modules/mongodb/lib/connection_string.js.map +1 -0
  1010. package/backend-project/node_modules/mongodb/lib/constants.js +142 -0
  1011. package/backend-project/node_modules/mongodb/lib/constants.js.map +1 -0
  1012. package/backend-project/node_modules/mongodb/lib/cursor/abstract_cursor.js +698 -0
  1013. package/backend-project/node_modules/mongodb/lib/cursor/abstract_cursor.js.map +1 -0
  1014. package/backend-project/node_modules/mongodb/lib/cursor/aggregation_cursor.js +168 -0
  1015. package/backend-project/node_modules/mongodb/lib/cursor/aggregation_cursor.js.map +1 -0
  1016. package/backend-project/node_modules/mongodb/lib/cursor/change_stream_cursor.js +115 -0
  1017. package/backend-project/node_modules/mongodb/lib/cursor/change_stream_cursor.js.map +1 -0
  1018. package/backend-project/node_modules/mongodb/lib/cursor/find_cursor.js +382 -0
  1019. package/backend-project/node_modules/mongodb/lib/cursor/find_cursor.js.map +1 -0
  1020. package/backend-project/node_modules/mongodb/lib/cursor/list_collections_cursor.js +37 -0
  1021. package/backend-project/node_modules/mongodb/lib/cursor/list_collections_cursor.js.map +1 -0
  1022. package/backend-project/node_modules/mongodb/lib/cursor/list_indexes_cursor.js +36 -0
  1023. package/backend-project/node_modules/mongodb/lib/cursor/list_indexes_cursor.js.map +1 -0
  1024. package/backend-project/node_modules/mongodb/lib/cursor/list_search_indexes_cursor.js +14 -0
  1025. package/backend-project/node_modules/mongodb/lib/cursor/list_search_indexes_cursor.js.map +1 -0
  1026. package/backend-project/node_modules/mongodb/lib/cursor/run_command_cursor.js +94 -0
  1027. package/backend-project/node_modules/mongodb/lib/cursor/run_command_cursor.js.map +1 -0
  1028. package/backend-project/node_modules/mongodb/lib/db.js +379 -0
  1029. package/backend-project/node_modules/mongodb/lib/db.js.map +1 -0
  1030. package/backend-project/node_modules/mongodb/lib/deps.js +87 -0
  1031. package/backend-project/node_modules/mongodb/lib/deps.js.map +1 -0
  1032. package/backend-project/node_modules/mongodb/lib/encrypter.js +103 -0
  1033. package/backend-project/node_modules/mongodb/lib/encrypter.js.map +1 -0
  1034. package/backend-project/node_modules/mongodb/lib/error.js +832 -0
  1035. package/backend-project/node_modules/mongodb/lib/error.js.map +1 -0
  1036. package/backend-project/node_modules/mongodb/lib/explain.js +35 -0
  1037. package/backend-project/node_modules/mongodb/lib/explain.js.map +1 -0
  1038. package/backend-project/node_modules/mongodb/lib/gridfs/download.js +313 -0
  1039. package/backend-project/node_modules/mongodb/lib/gridfs/download.js.map +1 -0
  1040. package/backend-project/node_modules/mongodb/lib/gridfs/index.js +128 -0
  1041. package/backend-project/node_modules/mongodb/lib/gridfs/index.js.map +1 -0
  1042. package/backend-project/node_modules/mongodb/lib/gridfs/upload.js +330 -0
  1043. package/backend-project/node_modules/mongodb/lib/gridfs/upload.js.map +1 -0
  1044. package/backend-project/node_modules/mongodb/lib/index.js +162 -0
  1045. package/backend-project/node_modules/mongodb/lib/index.js.map +1 -0
  1046. package/backend-project/node_modules/mongodb/lib/mongo_client.js +329 -0
  1047. package/backend-project/node_modules/mongodb/lib/mongo_client.js.map +1 -0
  1048. package/backend-project/node_modules/mongodb/lib/mongo_logger.js +360 -0
  1049. package/backend-project/node_modules/mongodb/lib/mongo_logger.js.map +1 -0
  1050. package/backend-project/node_modules/mongodb/lib/mongo_types.js +22 -0
  1051. package/backend-project/node_modules/mongodb/lib/mongo_types.js.map +1 -0
  1052. package/backend-project/node_modules/mongodb/lib/operations/add_user.js +74 -0
  1053. package/backend-project/node_modules/mongodb/lib/operations/add_user.js.map +1 -0
  1054. package/backend-project/node_modules/mongodb/lib/operations/aggregate.js +92 -0
  1055. package/backend-project/node_modules/mongodb/lib/operations/aggregate.js.map +1 -0
  1056. package/backend-project/node_modules/mongodb/lib/operations/bulk_write.js +36 -0
  1057. package/backend-project/node_modules/mongodb/lib/operations/bulk_write.js.map +1 -0
  1058. package/backend-project/node_modules/mongodb/lib/operations/collections.js +32 -0
  1059. package/backend-project/node_modules/mongodb/lib/operations/collections.js.map +1 -0
  1060. package/backend-project/node_modules/mongodb/lib/operations/command.js +88 -0
  1061. package/backend-project/node_modules/mongodb/lib/operations/command.js.map +1 -0
  1062. package/backend-project/node_modules/mongodb/lib/operations/common_functions.js +69 -0
  1063. package/backend-project/node_modules/mongodb/lib/operations/common_functions.js.map +1 -0
  1064. package/backend-project/node_modules/mongodb/lib/operations/count.js +39 -0
  1065. package/backend-project/node_modules/mongodb/lib/operations/count.js.map +1 -0
  1066. package/backend-project/node_modules/mongodb/lib/operations/count_documents.js +37 -0
  1067. package/backend-project/node_modules/mongodb/lib/operations/count_documents.js.map +1 -0
  1068. package/backend-project/node_modules/mongodb/lib/operations/create_collection.js +108 -0
  1069. package/backend-project/node_modules/mongodb/lib/operations/create_collection.js.map +1 -0
  1070. package/backend-project/node_modules/mongodb/lib/operations/delete.js +119 -0
  1071. package/backend-project/node_modules/mongodb/lib/operations/delete.js.map +1 -0
  1072. package/backend-project/node_modules/mongodb/lib/operations/distinct.js +67 -0
  1073. package/backend-project/node_modules/mongodb/lib/operations/distinct.js.map +1 -0
  1074. package/backend-project/node_modules/mongodb/lib/operations/drop.js +82 -0
  1075. package/backend-project/node_modules/mongodb/lib/operations/drop.js.map +1 -0
  1076. package/backend-project/node_modules/mongodb/lib/operations/estimated_document_count.js +38 -0
  1077. package/backend-project/node_modules/mongodb/lib/operations/estimated_document_count.js.map +1 -0
  1078. package/backend-project/node_modules/mongodb/lib/operations/eval.js +55 -0
  1079. package/backend-project/node_modules/mongodb/lib/operations/eval.js.map +1 -0
  1080. package/backend-project/node_modules/mongodb/lib/operations/execute_operation.js +162 -0
  1081. package/backend-project/node_modules/mongodb/lib/operations/execute_operation.js.map +1 -0
  1082. package/backend-project/node_modules/mongodb/lib/operations/find.js +149 -0
  1083. package/backend-project/node_modules/mongodb/lib/operations/find.js.map +1 -0
  1084. package/backend-project/node_modules/mongodb/lib/operations/find_and_modify.js +152 -0
  1085. package/backend-project/node_modules/mongodb/lib/operations/find_and_modify.js.map +1 -0
  1086. package/backend-project/node_modules/mongodb/lib/operations/get_more.js +58 -0
  1087. package/backend-project/node_modules/mongodb/lib/operations/get_more.js.map +1 -0
  1088. package/backend-project/node_modules/mongodb/lib/operations/indexes.js +270 -0
  1089. package/backend-project/node_modules/mongodb/lib/operations/indexes.js.map +1 -0
  1090. package/backend-project/node_modules/mongodb/lib/operations/insert.js +95 -0
  1091. package/backend-project/node_modules/mongodb/lib/operations/insert.js.map +1 -0
  1092. package/backend-project/node_modules/mongodb/lib/operations/is_capped.js +28 -0
  1093. package/backend-project/node_modules/mongodb/lib/operations/is_capped.js.map +1 -0
  1094. package/backend-project/node_modules/mongodb/lib/operations/kill_cursors.js +32 -0
  1095. package/backend-project/node_modules/mongodb/lib/operations/kill_cursors.js.map +1 -0
  1096. package/backend-project/node_modules/mongodb/lib/operations/list_collections.js +47 -0
  1097. package/backend-project/node_modules/mongodb/lib/operations/list_collections.js.map +1 -0
  1098. package/backend-project/node_modules/mongodb/lib/operations/list_databases.js +35 -0
  1099. package/backend-project/node_modules/mongodb/lib/operations/list_databases.js.map +1 -0
  1100. package/backend-project/node_modules/mongodb/lib/operations/operation.js +82 -0
  1101. package/backend-project/node_modules/mongodb/lib/operations/operation.js.map +1 -0
  1102. package/backend-project/node_modules/mongodb/lib/operations/options_operation.js +28 -0
  1103. package/backend-project/node_modules/mongodb/lib/operations/options_operation.js.map +1 -0
  1104. package/backend-project/node_modules/mongodb/lib/operations/profiling_level.js +33 -0
  1105. package/backend-project/node_modules/mongodb/lib/operations/profiling_level.js.map +1 -0
  1106. package/backend-project/node_modules/mongodb/lib/operations/remove_user.js +21 -0
  1107. package/backend-project/node_modules/mongodb/lib/operations/remove_user.js.map +1 -0
  1108. package/backend-project/node_modules/mongodb/lib/operations/rename.js +46 -0
  1109. package/backend-project/node_modules/mongodb/lib/operations/rename.js.map +1 -0
  1110. package/backend-project/node_modules/mongodb/lib/operations/run_command.js +26 -0
  1111. package/backend-project/node_modules/mongodb/lib/operations/run_command.js.map +1 -0
  1112. package/backend-project/node_modules/mongodb/lib/operations/search_indexes/create.js +29 -0
  1113. package/backend-project/node_modules/mongodb/lib/operations/search_indexes/create.js.map +1 -0
  1114. package/backend-project/node_modules/mongodb/lib/operations/search_indexes/drop.js +30 -0
  1115. package/backend-project/node_modules/mongodb/lib/operations/search_indexes/drop.js.map +1 -0
  1116. package/backend-project/node_modules/mongodb/lib/operations/search_indexes/update.js +30 -0
  1117. package/backend-project/node_modules/mongodb/lib/operations/search_indexes/update.js.map +1 -0
  1118. package/backend-project/node_modules/mongodb/lib/operations/set_profiling_level.js +51 -0
  1119. package/backend-project/node_modules/mongodb/lib/operations/set_profiling_level.js.map +1 -0
  1120. package/backend-project/node_modules/mongodb/lib/operations/stats.js +48 -0
  1121. package/backend-project/node_modules/mongodb/lib/operations/stats.js.map +1 -0
  1122. package/backend-project/node_modules/mongodb/lib/operations/update.js +183 -0
  1123. package/backend-project/node_modules/mongodb/lib/operations/update.js.map +1 -0
  1124. package/backend-project/node_modules/mongodb/lib/operations/validate_collection.js +41 -0
  1125. package/backend-project/node_modules/mongodb/lib/operations/validate_collection.js.map +1 -0
  1126. package/backend-project/node_modules/mongodb/lib/read_concern.js +73 -0
  1127. package/backend-project/node_modules/mongodb/lib/read_concern.js.map +1 -0
  1128. package/backend-project/node_modules/mongodb/lib/read_preference.js +195 -0
  1129. package/backend-project/node_modules/mongodb/lib/read_preference.js.map +1 -0
  1130. package/backend-project/node_modules/mongodb/lib/sdam/common.js +56 -0
  1131. package/backend-project/node_modules/mongodb/lib/sdam/common.js.map +1 -0
  1132. package/backend-project/node_modules/mongodb/lib/sdam/events.js +125 -0
  1133. package/backend-project/node_modules/mongodb/lib/sdam/events.js.map +1 -0
  1134. package/backend-project/node_modules/mongodb/lib/sdam/monitor.js +414 -0
  1135. package/backend-project/node_modules/mongodb/lib/sdam/monitor.js.map +1 -0
  1136. package/backend-project/node_modules/mongodb/lib/sdam/server.js +382 -0
  1137. package/backend-project/node_modules/mongodb/lib/sdam/server.js.map +1 -0
  1138. package/backend-project/node_modules/mongodb/lib/sdam/server_description.js +189 -0
  1139. package/backend-project/node_modules/mongodb/lib/sdam/server_description.js.map +1 -0
  1140. package/backend-project/node_modules/mongodb/lib/sdam/server_selection.js +226 -0
  1141. package/backend-project/node_modules/mongodb/lib/sdam/server_selection.js.map +1 -0
  1142. package/backend-project/node_modules/mongodb/lib/sdam/srv_polling.js +103 -0
  1143. package/backend-project/node_modules/mongodb/lib/sdam/srv_polling.js.map +1 -0
  1144. package/backend-project/node_modules/mongodb/lib/sdam/topology.js +621 -0
  1145. package/backend-project/node_modules/mongodb/lib/sdam/topology.js.map +1 -0
  1146. package/backend-project/node_modules/mongodb/lib/sdam/topology_description.js +360 -0
  1147. package/backend-project/node_modules/mongodb/lib/sdam/topology_description.js.map +1 -0
  1148. package/backend-project/node_modules/mongodb/lib/sessions.js +739 -0
  1149. package/backend-project/node_modules/mongodb/lib/sessions.js.map +1 -0
  1150. package/backend-project/node_modules/mongodb/lib/sort.js +97 -0
  1151. package/backend-project/node_modules/mongodb/lib/sort.js.map +1 -0
  1152. package/backend-project/node_modules/mongodb/lib/transactions.js +138 -0
  1153. package/backend-project/node_modules/mongodb/lib/transactions.js.map +1 -0
  1154. package/backend-project/node_modules/mongodb/lib/utils.js +1064 -0
  1155. package/backend-project/node_modules/mongodb/lib/utils.js.map +1 -0
  1156. package/backend-project/node_modules/mongodb/lib/write_concern.js +86 -0
  1157. package/backend-project/node_modules/mongodb/lib/write_concern.js.map +1 -0
  1158. package/backend-project/node_modules/mongodb/mongodb.d.ts +6750 -0
  1159. package/backend-project/node_modules/mongodb/package.json +163 -0
  1160. package/backend-project/node_modules/mongodb/src/admin.ts +192 -0
  1161. package/backend-project/node_modules/mongodb/src/bson.ts +117 -0
  1162. package/backend-project/node_modules/mongodb/src/bulk/common.ts +1338 -0
  1163. package/backend-project/node_modules/mongodb/src/bulk/ordered.ts +83 -0
  1164. package/backend-project/node_modules/mongodb/src/bulk/unordered.ts +116 -0
  1165. package/backend-project/node_modules/mongodb/src/change_stream.ts +973 -0
  1166. package/backend-project/node_modules/mongodb/src/cmap/auth/auth_provider.ts +73 -0
  1167. package/backend-project/node_modules/mongodb/src/cmap/auth/gssapi.ts +204 -0
  1168. package/backend-project/node_modules/mongodb/src/cmap/auth/mongo_credentials.ts +278 -0
  1169. package/backend-project/node_modules/mongodb/src/cmap/auth/mongocr.ts +42 -0
  1170. package/backend-project/node_modules/mongodb/src/cmap/auth/mongodb_aws.ts +293 -0
  1171. package/backend-project/node_modules/mongodb/src/cmap/auth/mongodb_oidc/aws_service_workflow.ts +29 -0
  1172. package/backend-project/node_modules/mongodb/src/cmap/auth/mongodb_oidc/azure_service_workflow.ts +86 -0
  1173. package/backend-project/node_modules/mongodb/src/cmap/auth/mongodb_oidc/azure_token_cache.ts +51 -0
  1174. package/backend-project/node_modules/mongodb/src/cmap/auth/mongodb_oidc/cache.ts +63 -0
  1175. package/backend-project/node_modules/mongodb/src/cmap/auth/mongodb_oidc/callback_lock_cache.ts +114 -0
  1176. package/backend-project/node_modules/mongodb/src/cmap/auth/mongodb_oidc/callback_workflow.ts +296 -0
  1177. package/backend-project/node_modules/mongodb/src/cmap/auth/mongodb_oidc/service_workflow.ts +49 -0
  1178. package/backend-project/node_modules/mongodb/src/cmap/auth/mongodb_oidc/token_entry_cache.ts +77 -0
  1179. package/backend-project/node_modules/mongodb/src/cmap/auth/mongodb_oidc.ts +149 -0
  1180. package/backend-project/node_modules/mongodb/src/cmap/auth/plain.ts +25 -0
  1181. package/backend-project/node_modules/mongodb/src/cmap/auth/providers.ts +24 -0
  1182. package/backend-project/node_modules/mongodb/src/cmap/auth/scram.ts +354 -0
  1183. package/backend-project/node_modules/mongodb/src/cmap/auth/x509.ts +47 -0
  1184. package/backend-project/node_modules/mongodb/src/cmap/command_monitoring_events.ts +316 -0
  1185. package/backend-project/node_modules/mongodb/src/cmap/commands.ts +712 -0
  1186. package/backend-project/node_modules/mongodb/src/cmap/connect.ts +503 -0
  1187. package/backend-project/node_modules/mongodb/src/cmap/connection.ts +758 -0
  1188. package/backend-project/node_modules/mongodb/src/cmap/connection_pool.ts +920 -0
  1189. package/backend-project/node_modules/mongodb/src/cmap/connection_pool_events.ts +268 -0
  1190. package/backend-project/node_modules/mongodb/src/cmap/errors.ts +75 -0
  1191. package/backend-project/node_modules/mongodb/src/cmap/handshake/client_metadata.ts +273 -0
  1192. package/backend-project/node_modules/mongodb/src/cmap/message_stream.ts +234 -0
  1193. package/backend-project/node_modules/mongodb/src/cmap/metrics.ts +58 -0
  1194. package/backend-project/node_modules/mongodb/src/cmap/stream_description.ts +76 -0
  1195. package/backend-project/node_modules/mongodb/src/cmap/wire_protocol/compression.ts +126 -0
  1196. package/backend-project/node_modules/mongodb/src/cmap/wire_protocol/constants.ts +13 -0
  1197. package/backend-project/node_modules/mongodb/src/cmap/wire_protocol/shared.ts +53 -0
  1198. package/backend-project/node_modules/mongodb/src/collection.ts +1145 -0
  1199. package/backend-project/node_modules/mongodb/src/connection_string.ts +1315 -0
  1200. package/backend-project/node_modules/mongodb/src/constants.ts +147 -0
  1201. package/backend-project/node_modules/mongodb/src/cursor/abstract_cursor.ts +948 -0
  1202. package/backend-project/node_modules/mongodb/src/cursor/aggregation_cursor.ts +208 -0
  1203. package/backend-project/node_modules/mongodb/src/cursor/change_stream_cursor.ts +194 -0
  1204. package/backend-project/node_modules/mongodb/src/cursor/find_cursor.ts +458 -0
  1205. package/backend-project/node_modules/mongodb/src/cursor/list_collections_cursor.ts +52 -0
  1206. package/backend-project/node_modules/mongodb/src/cursor/list_indexes_cursor.ts +41 -0
  1207. package/backend-project/node_modules/mongodb/src/cursor/list_search_indexes_cursor.ts +20 -0
  1208. package/backend-project/node_modules/mongodb/src/cursor/run_command_cursor.ts +140 -0
  1209. package/backend-project/node_modules/mongodb/src/db.ts +558 -0
  1210. package/backend-project/node_modules/mongodb/src/deps.ts +428 -0
  1211. package/backend-project/node_modules/mongodb/src/encrypter.ts +131 -0
  1212. package/backend-project/node_modules/mongodb/src/error.ts +968 -0
  1213. package/backend-project/node_modules/mongodb/src/explain.ts +52 -0
  1214. package/backend-project/node_modules/mongodb/src/gridfs/download.ts +474 -0
  1215. package/backend-project/node_modules/mongodb/src/gridfs/index.ts +213 -0
  1216. package/backend-project/node_modules/mongodb/src/gridfs/upload.ts +510 -0
  1217. package/backend-project/node_modules/mongodb/src/index.ts +508 -0
  1218. package/backend-project/node_modules/mongodb/src/mongo_client.ts +839 -0
  1219. package/backend-project/node_modules/mongodb/src/mongo_logger.ts +538 -0
  1220. package/backend-project/node_modules/mongodb/src/mongo_types.ts +575 -0
  1221. package/backend-project/node_modules/mongodb/src/operations/add_user.ts +124 -0
  1222. package/backend-project/node_modules/mongodb/src/operations/aggregate.ts +149 -0
  1223. package/backend-project/node_modules/mongodb/src/operations/bulk_write.ts +62 -0
  1224. package/backend-project/node_modules/mongodb/src/operations/collections.ts +50 -0
  1225. package/backend-project/node_modules/mongodb/src/operations/command.ts +177 -0
  1226. package/backend-project/node_modules/mongodb/src/operations/common_functions.ts +105 -0
  1227. package/backend-project/node_modules/mongodb/src/operations/count.ts +68 -0
  1228. package/backend-project/node_modules/mongodb/src/operations/count_documents.ts +57 -0
  1229. package/backend-project/node_modules/mongodb/src/operations/create_collection.ts +217 -0
  1230. package/backend-project/node_modules/mongodb/src/operations/delete.ts +182 -0
  1231. package/backend-project/node_modules/mongodb/src/operations/distinct.ts +90 -0
  1232. package/backend-project/node_modules/mongodb/src/operations/drop.ts +119 -0
  1233. package/backend-project/node_modules/mongodb/src/operations/estimated_document_count.ts +62 -0
  1234. package/backend-project/node_modules/mongodb/src/operations/eval.ts +82 -0
  1235. package/backend-project/node_modules/mongodb/src/operations/execute_operation.ts +270 -0
  1236. package/backend-project/node_modules/mongodb/src/operations/find.ts +271 -0
  1237. package/backend-project/node_modules/mongodb/src/operations/find_and_modify.ts +303 -0
  1238. package/backend-project/node_modules/mongodb/src/operations/get_more.ts +111 -0
  1239. package/backend-project/node_modules/mongodb/src/operations/indexes.ts +526 -0
  1240. package/backend-project/node_modules/mongodb/src/operations/insert.ts +158 -0
  1241. package/backend-project/node_modules/mongodb/src/operations/is_capped.ts +44 -0
  1242. package/backend-project/node_modules/mongodb/src/operations/kill_cursors.ts +62 -0
  1243. package/backend-project/node_modules/mongodb/src/operations/list_collections.ts +99 -0
  1244. package/backend-project/node_modules/mongodb/src/operations/list_databases.ts +66 -0
  1245. package/backend-project/node_modules/mongodb/src/operations/operation.ts +141 -0
  1246. package/backend-project/node_modules/mongodb/src/operations/options_operation.ts +45 -0
  1247. package/backend-project/node_modules/mongodb/src/operations/profiling_level.ts +39 -0
  1248. package/backend-project/node_modules/mongodb/src/operations/remove_user.ts +33 -0
  1249. package/backend-project/node_modules/mongodb/src/operations/rename.ts +67 -0
  1250. package/backend-project/node_modules/mongodb/src/operations/run_command.ts +73 -0
  1251. package/backend-project/node_modules/mongodb/src/operations/search_indexes/create.ts +54 -0
  1252. package/backend-project/node_modules/mongodb/src/operations/search_indexes/drop.ts +39 -0
  1253. package/backend-project/node_modules/mongodb/src/operations/search_indexes/update.ts +40 -0
  1254. package/backend-project/node_modules/mongodb/src/operations/set_profiling_level.ts +74 -0
  1255. package/backend-project/node_modules/mongodb/src/operations/stats.ts +280 -0
  1256. package/backend-project/node_modules/mongodb/src/operations/update.ts +314 -0
  1257. package/backend-project/node_modules/mongodb/src/operations/validate_collection.ts +59 -0
  1258. package/backend-project/node_modules/mongodb/src/read_concern.ts +88 -0
  1259. package/backend-project/node_modules/mongodb/src/read_preference.ts +262 -0
  1260. package/backend-project/node_modules/mongodb/src/sdam/common.ts +79 -0
  1261. package/backend-project/node_modules/mongodb/src/sdam/events.ts +182 -0
  1262. package/backend-project/node_modules/mongodb/src/sdam/monitor.ts +595 -0
  1263. package/backend-project/node_modules/mongodb/src/sdam/server.ts +587 -0
  1264. package/backend-project/node_modules/mongodb/src/sdam/server_description.ts +262 -0
  1265. package/backend-project/node_modules/mongodb/src/sdam/server_selection.ts +324 -0
  1266. package/backend-project/node_modules/mongodb/src/sdam/srv_polling.ts +142 -0
  1267. package/backend-project/node_modules/mongodb/src/sdam/topology.ts +994 -0
  1268. package/backend-project/node_modules/mongodb/src/sdam/topology_description.ts +511 -0
  1269. package/backend-project/node_modules/mongodb/src/sessions.ts +1050 -0
  1270. package/backend-project/node_modules/mongodb/src/sort.ts +132 -0
  1271. package/backend-project/node_modules/mongodb/src/transactions.ts +188 -0
  1272. package/backend-project/node_modules/mongodb/src/utils.ts +1336 -0
  1273. package/backend-project/node_modules/mongodb/src/write_concern.ts +161 -0
  1274. package/backend-project/node_modules/mongodb/tsconfig.json +45 -0
  1275. package/backend-project/node_modules/mongodb-connection-string-url/.esm-wrapper.mjs +6 -0
  1276. package/backend-project/node_modules/mongodb-connection-string-url/LICENSE +192 -0
  1277. package/backend-project/node_modules/mongodb-connection-string-url/README.md +25 -0
  1278. package/backend-project/node_modules/mongodb-connection-string-url/lib/index.d.ts +62 -0
  1279. package/backend-project/node_modules/mongodb-connection-string-url/lib/index.js +213 -0
  1280. package/backend-project/node_modules/mongodb-connection-string-url/lib/index.js.map +1 -0
  1281. package/backend-project/node_modules/mongodb-connection-string-url/lib/redact.d.ts +7 -0
  1282. package/backend-project/node_modules/mongodb-connection-string-url/lib/redact.js +86 -0
  1283. package/backend-project/node_modules/mongodb-connection-string-url/lib/redact.js.map +1 -0
  1284. package/backend-project/node_modules/mongodb-connection-string-url/package.json +62 -0
  1285. package/backend-project/node_modules/mongoose/.claude/settings.local.json +7 -0
  1286. package/backend-project/node_modules/mongoose/LICENSE.md +22 -0
  1287. package/backend-project/node_modules/mongoose/README.md +375 -0
  1288. package/backend-project/node_modules/mongoose/SECURITY.md +1 -0
  1289. package/backend-project/node_modules/mongoose/browser.js +8 -0
  1290. package/backend-project/node_modules/mongoose/dist/browser.umd.js +2 -0
  1291. package/backend-project/node_modules/mongoose/index.js +63 -0
  1292. package/backend-project/node_modules/mongoose/lib/aggregate.js +1199 -0
  1293. package/backend-project/node_modules/mongoose/lib/browser.js +132 -0
  1294. package/backend-project/node_modules/mongoose/lib/browserDocument.js +101 -0
  1295. package/backend-project/node_modules/mongoose/lib/cast/bigint.js +36 -0
  1296. package/backend-project/node_modules/mongoose/lib/cast/boolean.js +32 -0
  1297. package/backend-project/node_modules/mongoose/lib/cast/date.js +41 -0
  1298. package/backend-project/node_modules/mongoose/lib/cast/decimal128.js +39 -0
  1299. package/backend-project/node_modules/mongoose/lib/cast/number.js +42 -0
  1300. package/backend-project/node_modules/mongoose/lib/cast/objectid.js +29 -0
  1301. package/backend-project/node_modules/mongoose/lib/cast/string.js +37 -0
  1302. package/backend-project/node_modules/mongoose/lib/cast.js +443 -0
  1303. package/backend-project/node_modules/mongoose/lib/collection.js +327 -0
  1304. package/backend-project/node_modules/mongoose/lib/connection.js +1477 -0
  1305. package/backend-project/node_modules/mongoose/lib/connectionstate.js +26 -0
  1306. package/backend-project/node_modules/mongoose/lib/cursor/AggregationCursor.js +386 -0
  1307. package/backend-project/node_modules/mongoose/lib/cursor/ChangeStream.js +153 -0
  1308. package/backend-project/node_modules/mongoose/lib/cursor/QueryCursor.js +579 -0
  1309. package/backend-project/node_modules/mongoose/lib/document.js +4830 -0
  1310. package/backend-project/node_modules/mongoose/lib/document_provider.js +30 -0
  1311. package/backend-project/node_modules/mongoose/lib/driver.js +15 -0
  1312. package/backend-project/node_modules/mongoose/lib/drivers/SPEC.md +4 -0
  1313. package/backend-project/node_modules/mongoose/lib/drivers/browser/binary.js +14 -0
  1314. package/backend-project/node_modules/mongoose/lib/drivers/browser/decimal128.js +7 -0
  1315. package/backend-project/node_modules/mongoose/lib/drivers/browser/index.js +12 -0
  1316. package/backend-project/node_modules/mongoose/lib/drivers/browser/objectid.js +29 -0
  1317. package/backend-project/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js +461 -0
  1318. package/backend-project/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js +409 -0
  1319. package/backend-project/node_modules/mongoose/lib/drivers/node-mongodb-native/index.js +8 -0
  1320. package/backend-project/node_modules/mongoose/lib/error/browserMissingSchema.js +28 -0
  1321. package/backend-project/node_modules/mongoose/lib/error/bulkWriteError.js +41 -0
  1322. package/backend-project/node_modules/mongoose/lib/error/cast.js +159 -0
  1323. package/backend-project/node_modules/mongoose/lib/error/createCollectionsError.js +26 -0
  1324. package/backend-project/node_modules/mongoose/lib/error/divergentArray.js +38 -0
  1325. package/backend-project/node_modules/mongoose/lib/error/eachAsyncMultiError.js +41 -0
  1326. package/backend-project/node_modules/mongoose/lib/error/index.js +227 -0
  1327. package/backend-project/node_modules/mongoose/lib/error/invalidSchemaOption.js +30 -0
  1328. package/backend-project/node_modules/mongoose/lib/error/messages.js +47 -0
  1329. package/backend-project/node_modules/mongoose/lib/error/missingSchema.js +31 -0
  1330. package/backend-project/node_modules/mongoose/lib/error/mongooseError.js +13 -0
  1331. package/backend-project/node_modules/mongoose/lib/error/notFound.js +45 -0
  1332. package/backend-project/node_modules/mongoose/lib/error/objectExpected.js +30 -0
  1333. package/backend-project/node_modules/mongoose/lib/error/objectParameter.js +30 -0
  1334. package/backend-project/node_modules/mongoose/lib/error/overwriteModel.js +30 -0
  1335. package/backend-project/node_modules/mongoose/lib/error/parallelSave.js +30 -0
  1336. package/backend-project/node_modules/mongoose/lib/error/parallelValidate.js +31 -0
  1337. package/backend-project/node_modules/mongoose/lib/error/serverSelection.js +61 -0
  1338. package/backend-project/node_modules/mongoose/lib/error/setOptionError.js +101 -0
  1339. package/backend-project/node_modules/mongoose/lib/error/strict.js +33 -0
  1340. package/backend-project/node_modules/mongoose/lib/error/strictPopulate.js +29 -0
  1341. package/backend-project/node_modules/mongoose/lib/error/syncIndexes.js +30 -0
  1342. package/backend-project/node_modules/mongoose/lib/error/validation.js +103 -0
  1343. package/backend-project/node_modules/mongoose/lib/error/validator.js +99 -0
  1344. package/backend-project/node_modules/mongoose/lib/error/version.js +36 -0
  1345. package/backend-project/node_modules/mongoose/lib/helpers/aggregate/prepareDiscriminatorPipeline.js +39 -0
  1346. package/backend-project/node_modules/mongoose/lib/helpers/aggregate/stringifyFunctionOperators.js +50 -0
  1347. package/backend-project/node_modules/mongoose/lib/helpers/arrayDepth.js +33 -0
  1348. package/backend-project/node_modules/mongoose/lib/helpers/clone.js +180 -0
  1349. package/backend-project/node_modules/mongoose/lib/helpers/common.js +127 -0
  1350. package/backend-project/node_modules/mongoose/lib/helpers/cursor/eachAsync.js +225 -0
  1351. package/backend-project/node_modules/mongoose/lib/helpers/discriminator/applyEmbeddedDiscriminators.js +32 -0
  1352. package/backend-project/node_modules/mongoose/lib/helpers/discriminator/areDiscriminatorValuesEqual.js +16 -0
  1353. package/backend-project/node_modules/mongoose/lib/helpers/discriminator/checkEmbeddedDiscriminatorKeyProjection.js +12 -0
  1354. package/backend-project/node_modules/mongoose/lib/helpers/discriminator/getConstructor.js +29 -0
  1355. package/backend-project/node_modules/mongoose/lib/helpers/discriminator/getDiscriminatorByValue.js +28 -0
  1356. package/backend-project/node_modules/mongoose/lib/helpers/discriminator/getSchemaDiscriminatorByValue.js +27 -0
  1357. package/backend-project/node_modules/mongoose/lib/helpers/discriminator/mergeDiscriminatorSchema.js +76 -0
  1358. package/backend-project/node_modules/mongoose/lib/helpers/document/applyDefaults.js +128 -0
  1359. package/backend-project/node_modules/mongoose/lib/helpers/document/cleanModifiedSubpaths.js +35 -0
  1360. package/backend-project/node_modules/mongoose/lib/helpers/document/compile.js +238 -0
  1361. package/backend-project/node_modules/mongoose/lib/helpers/document/getDeepestSubdocumentForPath.js +38 -0
  1362. package/backend-project/node_modules/mongoose/lib/helpers/document/getEmbeddedDiscriminatorPath.js +53 -0
  1363. package/backend-project/node_modules/mongoose/lib/helpers/document/handleSpreadDoc.js +35 -0
  1364. package/backend-project/node_modules/mongoose/lib/helpers/each.js +25 -0
  1365. package/backend-project/node_modules/mongoose/lib/helpers/error/combinePathErrors.js +22 -0
  1366. package/backend-project/node_modules/mongoose/lib/helpers/firstKey.js +8 -0
  1367. package/backend-project/node_modules/mongoose/lib/helpers/get.js +65 -0
  1368. package/backend-project/node_modules/mongoose/lib/helpers/getConstructorName.js +16 -0
  1369. package/backend-project/node_modules/mongoose/lib/helpers/getDefaultBulkwriteResult.js +27 -0
  1370. package/backend-project/node_modules/mongoose/lib/helpers/getFunctionName.js +10 -0
  1371. package/backend-project/node_modules/mongoose/lib/helpers/immediate.js +16 -0
  1372. package/backend-project/node_modules/mongoose/lib/helpers/indexes/applySchemaCollation.js +13 -0
  1373. package/backend-project/node_modules/mongoose/lib/helpers/indexes/decorateDiscriminatorIndexOptions.js +14 -0
  1374. package/backend-project/node_modules/mongoose/lib/helpers/indexes/getRelatedIndexes.js +59 -0
  1375. package/backend-project/node_modules/mongoose/lib/helpers/indexes/isDefaultIdIndex.js +18 -0
  1376. package/backend-project/node_modules/mongoose/lib/helpers/indexes/isIndexEqual.js +96 -0
  1377. package/backend-project/node_modules/mongoose/lib/helpers/indexes/isTextIndex.js +16 -0
  1378. package/backend-project/node_modules/mongoose/lib/helpers/isAsyncFunction.js +9 -0
  1379. package/backend-project/node_modules/mongoose/lib/helpers/isBsonType.js +16 -0
  1380. package/backend-project/node_modules/mongoose/lib/helpers/isMongooseObject.js +22 -0
  1381. package/backend-project/node_modules/mongoose/lib/helpers/isObject.js +16 -0
  1382. package/backend-project/node_modules/mongoose/lib/helpers/isPOJO.js +12 -0
  1383. package/backend-project/node_modules/mongoose/lib/helpers/isPromise.js +6 -0
  1384. package/backend-project/node_modules/mongoose/lib/helpers/isSimpleValidator.js +22 -0
  1385. package/backend-project/node_modules/mongoose/lib/helpers/model/applyDefaultsToPOJO.js +52 -0
  1386. package/backend-project/node_modules/mongoose/lib/helpers/model/applyHooks.js +149 -0
  1387. package/backend-project/node_modules/mongoose/lib/helpers/model/applyMethods.js +70 -0
  1388. package/backend-project/node_modules/mongoose/lib/helpers/model/applyStaticHooks.js +71 -0
  1389. package/backend-project/node_modules/mongoose/lib/helpers/model/applyStatics.js +13 -0
  1390. package/backend-project/node_modules/mongoose/lib/helpers/model/castBulkWrite.js +284 -0
  1391. package/backend-project/node_modules/mongoose/lib/helpers/model/discriminator.js +213 -0
  1392. package/backend-project/node_modules/mongoose/lib/helpers/model/pushNestedArrayPaths.js +15 -0
  1393. package/backend-project/node_modules/mongoose/lib/helpers/once.js +12 -0
  1394. package/backend-project/node_modules/mongoose/lib/helpers/parallelLimit.js +55 -0
  1395. package/backend-project/node_modules/mongoose/lib/helpers/path/parentPaths.js +18 -0
  1396. package/backend-project/node_modules/mongoose/lib/helpers/path/setDottedPath.js +33 -0
  1397. package/backend-project/node_modules/mongoose/lib/helpers/pluralize.js +95 -0
  1398. package/backend-project/node_modules/mongoose/lib/helpers/populate/SkipPopulateValue.js +10 -0
  1399. package/backend-project/node_modules/mongoose/lib/helpers/populate/assignRawDocsToIdStructure.js +129 -0
  1400. package/backend-project/node_modules/mongoose/lib/helpers/populate/assignVals.js +344 -0
  1401. package/backend-project/node_modules/mongoose/lib/helpers/populate/createPopulateQueryFilter.js +97 -0
  1402. package/backend-project/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.js +758 -0
  1403. package/backend-project/node_modules/mongoose/lib/helpers/populate/getSchemaTypes.js +229 -0
  1404. package/backend-project/node_modules/mongoose/lib/helpers/populate/getVirtual.js +72 -0
  1405. package/backend-project/node_modules/mongoose/lib/helpers/populate/leanPopulateMap.js +7 -0
  1406. package/backend-project/node_modules/mongoose/lib/helpers/populate/lookupLocalFields.js +40 -0
  1407. package/backend-project/node_modules/mongoose/lib/helpers/populate/markArraySubdocsPopulated.js +49 -0
  1408. package/backend-project/node_modules/mongoose/lib/helpers/populate/modelNamesFromRefPath.js +68 -0
  1409. package/backend-project/node_modules/mongoose/lib/helpers/populate/removeDeselectedForeignField.js +31 -0
  1410. package/backend-project/node_modules/mongoose/lib/helpers/populate/validateRef.js +19 -0
  1411. package/backend-project/node_modules/mongoose/lib/helpers/printJestWarning.js +21 -0
  1412. package/backend-project/node_modules/mongoose/lib/helpers/processConnectionOptions.js +65 -0
  1413. package/backend-project/node_modules/mongoose/lib/helpers/projection/applyProjection.js +77 -0
  1414. package/backend-project/node_modules/mongoose/lib/helpers/projection/hasIncludedChildren.js +41 -0
  1415. package/backend-project/node_modules/mongoose/lib/helpers/projection/isDefiningProjection.js +18 -0
  1416. package/backend-project/node_modules/mongoose/lib/helpers/projection/isExclusive.js +37 -0
  1417. package/backend-project/node_modules/mongoose/lib/helpers/projection/isInclusive.js +39 -0
  1418. package/backend-project/node_modules/mongoose/lib/helpers/projection/isNestedProjection.js +8 -0
  1419. package/backend-project/node_modules/mongoose/lib/helpers/projection/isPathExcluded.js +40 -0
  1420. package/backend-project/node_modules/mongoose/lib/helpers/projection/isPathSelectedInclusive.js +28 -0
  1421. package/backend-project/node_modules/mongoose/lib/helpers/projection/isSubpath.js +14 -0
  1422. package/backend-project/node_modules/mongoose/lib/helpers/projection/parseProjection.js +33 -0
  1423. package/backend-project/node_modules/mongoose/lib/helpers/promiseOrCallback.js +54 -0
  1424. package/backend-project/node_modules/mongoose/lib/helpers/query/applyGlobalOption.js +29 -0
  1425. package/backend-project/node_modules/mongoose/lib/helpers/query/applyQueryMiddleware.js +54 -0
  1426. package/backend-project/node_modules/mongoose/lib/helpers/query/cast$expr.js +292 -0
  1427. package/backend-project/node_modules/mongoose/lib/helpers/query/castFilterPath.js +55 -0
  1428. package/backend-project/node_modules/mongoose/lib/helpers/query/castUpdate.js +584 -0
  1429. package/backend-project/node_modules/mongoose/lib/helpers/query/completeMany.js +36 -0
  1430. package/backend-project/node_modules/mongoose/lib/helpers/query/getEmbeddedDiscriminatorPath.js +94 -0
  1431. package/backend-project/node_modules/mongoose/lib/helpers/query/handleImmutable.js +32 -0
  1432. package/backend-project/node_modules/mongoose/lib/helpers/query/handleReadPreferenceAliases.js +23 -0
  1433. package/backend-project/node_modules/mongoose/lib/helpers/query/hasDollarKeys.js +23 -0
  1434. package/backend-project/node_modules/mongoose/lib/helpers/query/isOperator.js +14 -0
  1435. package/backend-project/node_modules/mongoose/lib/helpers/query/sanitizeFilter.js +41 -0
  1436. package/backend-project/node_modules/mongoose/lib/helpers/query/sanitizeProjection.js +14 -0
  1437. package/backend-project/node_modules/mongoose/lib/helpers/query/selectPopulatedFields.js +62 -0
  1438. package/backend-project/node_modules/mongoose/lib/helpers/query/trusted.js +13 -0
  1439. package/backend-project/node_modules/mongoose/lib/helpers/query/validOps.js +22 -0
  1440. package/backend-project/node_modules/mongoose/lib/helpers/schema/addAutoId.js +7 -0
  1441. package/backend-project/node_modules/mongoose/lib/helpers/schema/applyBuiltinPlugins.js +12 -0
  1442. package/backend-project/node_modules/mongoose/lib/helpers/schema/applyPlugins.js +55 -0
  1443. package/backend-project/node_modules/mongoose/lib/helpers/schema/applyWriteConcern.js +33 -0
  1444. package/backend-project/node_modules/mongoose/lib/helpers/schema/cleanPositionalOperators.js +12 -0
  1445. package/backend-project/node_modules/mongoose/lib/helpers/schema/getIndexes.js +172 -0
  1446. package/backend-project/node_modules/mongoose/lib/helpers/schema/getKeysInSchemaOrder.js +28 -0
  1447. package/backend-project/node_modules/mongoose/lib/helpers/schema/getPath.js +37 -0
  1448. package/backend-project/node_modules/mongoose/lib/helpers/schema/getSubdocumentStrictValue.js +32 -0
  1449. package/backend-project/node_modules/mongoose/lib/helpers/schema/handleIdOption.js +20 -0
  1450. package/backend-project/node_modules/mongoose/lib/helpers/schema/handleTimestampOption.js +24 -0
  1451. package/backend-project/node_modules/mongoose/lib/helpers/schema/idGetter.js +46 -0
  1452. package/backend-project/node_modules/mongoose/lib/helpers/schema/merge.js +36 -0
  1453. package/backend-project/node_modules/mongoose/lib/helpers/schematype/handleImmutable.js +50 -0
  1454. package/backend-project/node_modules/mongoose/lib/helpers/setDefaultsOnInsert.js +132 -0
  1455. package/backend-project/node_modules/mongoose/lib/helpers/specialProperties.js +3 -0
  1456. package/backend-project/node_modules/mongoose/lib/helpers/symbols.js +20 -0
  1457. package/backend-project/node_modules/mongoose/lib/helpers/timers.js +3 -0
  1458. package/backend-project/node_modules/mongoose/lib/helpers/timestamps/setDocumentTimestamps.js +26 -0
  1459. package/backend-project/node_modules/mongoose/lib/helpers/timestamps/setupTimestamps.js +110 -0
  1460. package/backend-project/node_modules/mongoose/lib/helpers/topology/allServersUnknown.js +12 -0
  1461. package/backend-project/node_modules/mongoose/lib/helpers/topology/isAtlas.js +31 -0
  1462. package/backend-project/node_modules/mongoose/lib/helpers/topology/isSSLError.js +16 -0
  1463. package/backend-project/node_modules/mongoose/lib/helpers/update/applyTimestampsToChildren.js +193 -0
  1464. package/backend-project/node_modules/mongoose/lib/helpers/update/applyTimestampsToUpdate.js +131 -0
  1465. package/backend-project/node_modules/mongoose/lib/helpers/update/castArrayFilters.js +109 -0
  1466. package/backend-project/node_modules/mongoose/lib/helpers/update/decorateUpdateWithVersionKey.js +26 -0
  1467. package/backend-project/node_modules/mongoose/lib/helpers/update/modifiedPaths.js +33 -0
  1468. package/backend-project/node_modules/mongoose/lib/helpers/update/moveImmutableProperties.js +53 -0
  1469. package/backend-project/node_modules/mongoose/lib/helpers/update/removeUnusedArrayFilters.js +32 -0
  1470. package/backend-project/node_modules/mongoose/lib/helpers/update/updatedPathsByArrayFilter.js +27 -0
  1471. package/backend-project/node_modules/mongoose/lib/helpers/updateValidators.js +249 -0
  1472. package/backend-project/node_modules/mongoose/lib/index.js +1300 -0
  1473. package/backend-project/node_modules/mongoose/lib/internal.js +46 -0
  1474. package/backend-project/node_modules/mongoose/lib/model.js +4945 -0
  1475. package/backend-project/node_modules/mongoose/lib/options/PopulateOptions.js +36 -0
  1476. package/backend-project/node_modules/mongoose/lib/options/SchemaArrayOptions.js +78 -0
  1477. package/backend-project/node_modules/mongoose/lib/options/SchemaBufferOptions.js +38 -0
  1478. package/backend-project/node_modules/mongoose/lib/options/SchemaDateOptions.js +71 -0
  1479. package/backend-project/node_modules/mongoose/lib/options/SchemaDocumentArrayOptions.js +68 -0
  1480. package/backend-project/node_modules/mongoose/lib/options/SchemaMapOptions.js +43 -0
  1481. package/backend-project/node_modules/mongoose/lib/options/SchemaNumberOptions.js +101 -0
  1482. package/backend-project/node_modules/mongoose/lib/options/SchemaObjectIdOptions.js +64 -0
  1483. package/backend-project/node_modules/mongoose/lib/options/SchemaStringOptions.js +138 -0
  1484. package/backend-project/node_modules/mongoose/lib/options/SchemaSubdocumentOptions.js +42 -0
  1485. package/backend-project/node_modules/mongoose/lib/options/SchemaTypeOptions.js +244 -0
  1486. package/backend-project/node_modules/mongoose/lib/options/VirtualOptions.js +164 -0
  1487. package/backend-project/node_modules/mongoose/lib/options/propertyOptions.js +8 -0
  1488. package/backend-project/node_modules/mongoose/lib/options/saveOptions.js +14 -0
  1489. package/backend-project/node_modules/mongoose/lib/options.js +15 -0
  1490. package/backend-project/node_modules/mongoose/lib/plugins/index.js +7 -0
  1491. package/backend-project/node_modules/mongoose/lib/plugins/removeSubdocs.js +35 -0
  1492. package/backend-project/node_modules/mongoose/lib/plugins/saveSubdocs.js +66 -0
  1493. package/backend-project/node_modules/mongoose/lib/plugins/sharding.js +83 -0
  1494. package/backend-project/node_modules/mongoose/lib/plugins/trackTransaction.js +92 -0
  1495. package/backend-project/node_modules/mongoose/lib/plugins/validateBeforeSave.js +51 -0
  1496. package/backend-project/node_modules/mongoose/lib/query.js +5542 -0
  1497. package/backend-project/node_modules/mongoose/lib/queryhelpers.js +403 -0
  1498. package/backend-project/node_modules/mongoose/lib/schema/DocumentArrayElement.js +100 -0
  1499. package/backend-project/node_modules/mongoose/lib/schema/SubdocumentPath.js +397 -0
  1500. package/backend-project/node_modules/mongoose/lib/schema/array.js +686 -0
  1501. package/backend-project/node_modules/mongoose/lib/schema/bigint.js +240 -0
  1502. package/backend-project/node_modules/mongoose/lib/schema/boolean.js +290 -0
  1503. package/backend-project/node_modules/mongoose/lib/schema/buffer.js +290 -0
  1504. package/backend-project/node_modules/mongoose/lib/schema/date.js +426 -0
  1505. package/backend-project/node_modules/mongoose/lib/schema/decimal128.js +228 -0
  1506. package/backend-project/node_modules/mongoose/lib/schema/documentarray.js +616 -0
  1507. package/backend-project/node_modules/mongoose/lib/schema/index.js +28 -0
  1508. package/backend-project/node_modules/mongoose/lib/schema/map.js +84 -0
  1509. package/backend-project/node_modules/mongoose/lib/schema/mixed.js +131 -0
  1510. package/backend-project/node_modules/mongoose/lib/schema/number.js +440 -0
  1511. package/backend-project/node_modules/mongoose/lib/schema/objectid.js +297 -0
  1512. package/backend-project/node_modules/mongoose/lib/schema/operators/bitwise.js +38 -0
  1513. package/backend-project/node_modules/mongoose/lib/schema/operators/exists.js +12 -0
  1514. package/backend-project/node_modules/mongoose/lib/schema/operators/geospatial.js +107 -0
  1515. package/backend-project/node_modules/mongoose/lib/schema/operators/helpers.js +32 -0
  1516. package/backend-project/node_modules/mongoose/lib/schema/operators/text.js +39 -0
  1517. package/backend-project/node_modules/mongoose/lib/schema/operators/type.js +20 -0
  1518. package/backend-project/node_modules/mongoose/lib/schema/string.js +698 -0
  1519. package/backend-project/node_modules/mongoose/lib/schema/symbols.js +5 -0
  1520. package/backend-project/node_modules/mongoose/lib/schema/uuid.js +356 -0
  1521. package/backend-project/node_modules/mongoose/lib/schema.js +2780 -0
  1522. package/backend-project/node_modules/mongoose/lib/schematype.js +1709 -0
  1523. package/backend-project/node_modules/mongoose/lib/statemachine.js +211 -0
  1524. package/backend-project/node_modules/mongoose/lib/types/ArraySubdocument.js +197 -0
  1525. package/backend-project/node_modules/mongoose/lib/types/DocumentArray/index.js +113 -0
  1526. package/backend-project/node_modules/mongoose/lib/types/DocumentArray/isMongooseDocumentArray.js +5 -0
  1527. package/backend-project/node_modules/mongoose/lib/types/DocumentArray/methods/index.js +383 -0
  1528. package/backend-project/node_modules/mongoose/lib/types/array/index.js +119 -0
  1529. package/backend-project/node_modules/mongoose/lib/types/array/isMongooseArray.js +5 -0
  1530. package/backend-project/node_modules/mongoose/lib/types/array/methods/index.js +1031 -0
  1531. package/backend-project/node_modules/mongoose/lib/types/buffer.js +277 -0
  1532. package/backend-project/node_modules/mongoose/lib/types/decimal128.js +13 -0
  1533. package/backend-project/node_modules/mongoose/lib/types/index.js +22 -0
  1534. package/backend-project/node_modules/mongoose/lib/types/map.js +354 -0
  1535. package/backend-project/node_modules/mongoose/lib/types/objectid.js +41 -0
  1536. package/backend-project/node_modules/mongoose/lib/types/subdocument.js +436 -0
  1537. package/backend-project/node_modules/mongoose/lib/types/uuid.js +13 -0
  1538. package/backend-project/node_modules/mongoose/lib/utils.js +988 -0
  1539. package/backend-project/node_modules/mongoose/lib/validoptions.js +38 -0
  1540. package/backend-project/node_modules/mongoose/lib/virtualtype.js +175 -0
  1541. package/backend-project/node_modules/mongoose/node_modules/ms/index.js +162 -0
  1542. package/backend-project/node_modules/mongoose/node_modules/ms/license.md +21 -0
  1543. package/backend-project/node_modules/mongoose/node_modules/ms/package.json +38 -0
  1544. package/backend-project/node_modules/mongoose/node_modules/ms/readme.md +59 -0
  1545. package/backend-project/node_modules/mongoose/package.json +156 -0
  1546. package/backend-project/node_modules/mongoose/startmdb.mjs +19 -0
  1547. package/backend-project/node_modules/mongoose/types/aggregate.d.ts +180 -0
  1548. package/backend-project/node_modules/mongoose/types/augmentations.d.ts +9 -0
  1549. package/backend-project/node_modules/mongoose/types/callback.d.ts +8 -0
  1550. package/backend-project/node_modules/mongoose/types/collection.d.ts +44 -0
  1551. package/backend-project/node_modules/mongoose/types/connection.d.ts +234 -0
  1552. package/backend-project/node_modules/mongoose/types/cursor.d.ts +58 -0
  1553. package/backend-project/node_modules/mongoose/types/document.d.ts +261 -0
  1554. package/backend-project/node_modules/mongoose/types/error.d.ts +134 -0
  1555. package/backend-project/node_modules/mongoose/types/expressions.d.ts +3038 -0
  1556. package/backend-project/node_modules/mongoose/types/helpers.d.ts +32 -0
  1557. package/backend-project/node_modules/mongoose/types/index.d.ts +678 -0
  1558. package/backend-project/node_modules/mongoose/types/indexes.d.ts +89 -0
  1559. package/backend-project/node_modules/mongoose/types/inferschematype.d.ts +230 -0
  1560. package/backend-project/node_modules/mongoose/types/middlewares.d.ts +49 -0
  1561. package/backend-project/node_modules/mongoose/types/models.d.ts +790 -0
  1562. package/backend-project/node_modules/mongoose/types/mongooseoptions.d.ts +219 -0
  1563. package/backend-project/node_modules/mongoose/types/pipelinestage.d.ts +312 -0
  1564. package/backend-project/node_modules/mongoose/types/populate.d.ts +45 -0
  1565. package/backend-project/node_modules/mongoose/types/query.d.ts +781 -0
  1566. package/backend-project/node_modules/mongoose/types/schemaoptions.d.ts +261 -0
  1567. package/backend-project/node_modules/mongoose/types/schematypes.d.ts +490 -0
  1568. package/backend-project/node_modules/mongoose/types/session.d.ts +32 -0
  1569. package/backend-project/node_modules/mongoose/types/types.d.ts +103 -0
  1570. package/backend-project/node_modules/mongoose/types/utility.d.ts +43 -0
  1571. package/backend-project/node_modules/mongoose/types/validation.d.ts +34 -0
  1572. package/backend-project/node_modules/mongoose/types/virtuals.d.ts +14 -0
  1573. package/backend-project/node_modules/mpath/.travis.yml +9 -0
  1574. package/backend-project/node_modules/mpath/History.md +88 -0
  1575. package/backend-project/node_modules/mpath/LICENSE +22 -0
  1576. package/backend-project/node_modules/mpath/README.md +278 -0
  1577. package/backend-project/node_modules/mpath/SECURITY.md +5 -0
  1578. package/backend-project/node_modules/mpath/index.js +3 -0
  1579. package/backend-project/node_modules/mpath/lib/index.js +336 -0
  1580. package/backend-project/node_modules/mpath/lib/stringToParts.js +48 -0
  1581. package/backend-project/node_modules/mpath/package.json +144 -0
  1582. package/backend-project/node_modules/mpath/test/.eslintrc.yml +4 -0
  1583. package/backend-project/node_modules/mpath/test/index.js +1879 -0
  1584. package/backend-project/node_modules/mpath/test/stringToParts.js +30 -0
  1585. package/backend-project/node_modules/mquery/.github/ISSUE_TEMPLATE.md +11 -0
  1586. package/backend-project/node_modules/mquery/.github/PULL_REQUEST_TEMPLATE.md +9 -0
  1587. package/backend-project/node_modules/mquery/History.md +384 -0
  1588. package/backend-project/node_modules/mquery/LICENSE +22 -0
  1589. package/backend-project/node_modules/mquery/README.md +1247 -0
  1590. package/backend-project/node_modules/mquery/SECURITY.md +1 -0
  1591. package/backend-project/node_modules/mquery/lib/collection/collection.js +45 -0
  1592. package/backend-project/node_modules/mquery/lib/collection/index.js +13 -0
  1593. package/backend-project/node_modules/mquery/lib/collection/node.js +114 -0
  1594. package/backend-project/node_modules/mquery/lib/env.js +22 -0
  1595. package/backend-project/node_modules/mquery/lib/mquery.js +2705 -0
  1596. package/backend-project/node_modules/mquery/lib/permissions.js +78 -0
  1597. package/backend-project/node_modules/mquery/lib/utils.js +297 -0
  1598. package/backend-project/node_modules/mquery/node_modules/debug/LICENSE +20 -0
  1599. package/backend-project/node_modules/mquery/node_modules/debug/README.md +481 -0
  1600. package/backend-project/node_modules/mquery/node_modules/debug/package.json +64 -0
  1601. package/backend-project/node_modules/mquery/node_modules/debug/src/browser.js +272 -0
  1602. package/backend-project/node_modules/mquery/node_modules/debug/src/common.js +292 -0
  1603. package/backend-project/node_modules/mquery/node_modules/debug/src/index.js +10 -0
  1604. package/backend-project/node_modules/mquery/node_modules/debug/src/node.js +263 -0
  1605. package/backend-project/node_modules/mquery/node_modules/ms/index.js +162 -0
  1606. package/backend-project/node_modules/mquery/node_modules/ms/license.md +21 -0
  1607. package/backend-project/node_modules/mquery/node_modules/ms/package.json +38 -0
  1608. package/backend-project/node_modules/mquery/node_modules/ms/readme.md +59 -0
  1609. package/backend-project/node_modules/mquery/package.json +38 -0
  1610. package/backend-project/node_modules/ms/index.js +152 -0
  1611. package/backend-project/node_modules/ms/license.md +21 -0
  1612. package/backend-project/node_modules/ms/package.json +37 -0
  1613. package/backend-project/node_modules/ms/readme.md +51 -0
  1614. package/backend-project/node_modules/negotiator/HISTORY.md +108 -0
  1615. package/backend-project/node_modules/negotiator/LICENSE +24 -0
  1616. package/backend-project/node_modules/negotiator/README.md +203 -0
  1617. package/backend-project/node_modules/negotiator/index.js +82 -0
  1618. package/backend-project/node_modules/negotiator/lib/charset.js +169 -0
  1619. package/backend-project/node_modules/negotiator/lib/encoding.js +184 -0
  1620. package/backend-project/node_modules/negotiator/lib/language.js +179 -0
  1621. package/backend-project/node_modules/negotiator/lib/mediaType.js +294 -0
  1622. package/backend-project/node_modules/negotiator/package.json +42 -0
  1623. package/backend-project/node_modules/nodemon/.prettierrc.json +3 -0
  1624. package/backend-project/node_modules/nodemon/LICENSE +21 -0
  1625. package/backend-project/node_modules/nodemon/README.md +439 -0
  1626. package/backend-project/node_modules/nodemon/bin/nodemon.js +16 -0
  1627. package/backend-project/node_modules/nodemon/bin/windows-kill.exe +0 -0
  1628. package/backend-project/node_modules/nodemon/doc/cli/authors.txt +8 -0
  1629. package/backend-project/node_modules/nodemon/doc/cli/config.txt +44 -0
  1630. package/backend-project/node_modules/nodemon/doc/cli/help.txt +29 -0
  1631. package/backend-project/node_modules/nodemon/doc/cli/logo.txt +20 -0
  1632. package/backend-project/node_modules/nodemon/doc/cli/options.txt +36 -0
  1633. package/backend-project/node_modules/nodemon/doc/cli/topics.txt +8 -0
  1634. package/backend-project/node_modules/nodemon/doc/cli/usage.txt +3 -0
  1635. package/backend-project/node_modules/nodemon/doc/cli/whoami.txt +9 -0
  1636. package/backend-project/node_modules/nodemon/index.d.ts +124 -0
  1637. package/backend-project/node_modules/nodemon/jsconfig.json +7 -0
  1638. package/backend-project/node_modules/nodemon/lib/cli/index.js +49 -0
  1639. package/backend-project/node_modules/nodemon/lib/cli/parse.js +230 -0
  1640. package/backend-project/node_modules/nodemon/lib/config/command.js +43 -0
  1641. package/backend-project/node_modules/nodemon/lib/config/defaults.js +34 -0
  1642. package/backend-project/node_modules/nodemon/lib/config/exec.js +240 -0
  1643. package/backend-project/node_modules/nodemon/lib/config/index.js +93 -0
  1644. package/backend-project/node_modules/nodemon/lib/config/load.js +225 -0
  1645. package/backend-project/node_modules/nodemon/lib/help/index.js +27 -0
  1646. package/backend-project/node_modules/nodemon/lib/index.js +1 -0
  1647. package/backend-project/node_modules/nodemon/lib/monitor/index.js +4 -0
  1648. package/backend-project/node_modules/nodemon/lib/monitor/match.js +288 -0
  1649. package/backend-project/node_modules/nodemon/lib/monitor/run.js +562 -0
  1650. package/backend-project/node_modules/nodemon/lib/monitor/signals.js +34 -0
  1651. package/backend-project/node_modules/nodemon/lib/monitor/watch.js +244 -0
  1652. package/backend-project/node_modules/nodemon/lib/nodemon.js +317 -0
  1653. package/backend-project/node_modules/nodemon/lib/rules/add.js +89 -0
  1654. package/backend-project/node_modules/nodemon/lib/rules/index.js +53 -0
  1655. package/backend-project/node_modules/nodemon/lib/rules/parse.js +43 -0
  1656. package/backend-project/node_modules/nodemon/lib/spawn.js +74 -0
  1657. package/backend-project/node_modules/nodemon/lib/utils/bus.js +44 -0
  1658. package/backend-project/node_modules/nodemon/lib/utils/clone.js +40 -0
  1659. package/backend-project/node_modules/nodemon/lib/utils/colour.js +26 -0
  1660. package/backend-project/node_modules/nodemon/lib/utils/index.js +103 -0
  1661. package/backend-project/node_modules/nodemon/lib/utils/log.js +82 -0
  1662. package/backend-project/node_modules/nodemon/lib/utils/merge.js +47 -0
  1663. package/backend-project/node_modules/nodemon/lib/version.js +100 -0
  1664. package/backend-project/node_modules/nodemon/node_modules/debug/LICENSE +20 -0
  1665. package/backend-project/node_modules/nodemon/node_modules/debug/README.md +481 -0
  1666. package/backend-project/node_modules/nodemon/node_modules/debug/package.json +64 -0
  1667. package/backend-project/node_modules/nodemon/node_modules/debug/src/browser.js +272 -0
  1668. package/backend-project/node_modules/nodemon/node_modules/debug/src/common.js +292 -0
  1669. package/backend-project/node_modules/nodemon/node_modules/debug/src/index.js +10 -0
  1670. package/backend-project/node_modules/nodemon/node_modules/debug/src/node.js +263 -0
  1671. package/backend-project/node_modules/nodemon/node_modules/ms/index.js +162 -0
  1672. package/backend-project/node_modules/nodemon/node_modules/ms/license.md +21 -0
  1673. package/backend-project/node_modules/nodemon/node_modules/ms/package.json +38 -0
  1674. package/backend-project/node_modules/nodemon/node_modules/ms/readme.md +59 -0
  1675. package/backend-project/node_modules/nodemon/package.json +78 -0
  1676. package/backend-project/node_modules/normalize-path/LICENSE +21 -0
  1677. package/backend-project/node_modules/normalize-path/README.md +127 -0
  1678. package/backend-project/node_modules/normalize-path/index.js +35 -0
  1679. package/backend-project/node_modules/normalize-path/package.json +77 -0
  1680. package/backend-project/node_modules/object-assign/index.js +90 -0
  1681. package/backend-project/node_modules/object-assign/license +21 -0
  1682. package/backend-project/node_modules/object-assign/package.json +42 -0
  1683. package/backend-project/node_modules/object-assign/readme.md +61 -0
  1684. package/backend-project/node_modules/object-inspect/.eslintrc +53 -0
  1685. package/backend-project/node_modules/object-inspect/.github/FUNDING.yml +12 -0
  1686. package/backend-project/node_modules/object-inspect/.nycrc +13 -0
  1687. package/backend-project/node_modules/object-inspect/CHANGELOG.md +424 -0
  1688. package/backend-project/node_modules/object-inspect/LICENSE +21 -0
  1689. package/backend-project/node_modules/object-inspect/example/all.js +23 -0
  1690. package/backend-project/node_modules/object-inspect/example/circular.js +6 -0
  1691. package/backend-project/node_modules/object-inspect/example/fn.js +5 -0
  1692. package/backend-project/node_modules/object-inspect/example/inspect.js +10 -0
  1693. package/backend-project/node_modules/object-inspect/index.js +544 -0
  1694. package/backend-project/node_modules/object-inspect/package-support.json +20 -0
  1695. package/backend-project/node_modules/object-inspect/package.json +105 -0
  1696. package/backend-project/node_modules/object-inspect/readme.markdown +84 -0
  1697. package/backend-project/node_modules/object-inspect/test/bigint.js +58 -0
  1698. package/backend-project/node_modules/object-inspect/test/browser/dom.js +15 -0
  1699. package/backend-project/node_modules/object-inspect/test/circular.js +16 -0
  1700. package/backend-project/node_modules/object-inspect/test/deep.js +12 -0
  1701. package/backend-project/node_modules/object-inspect/test/element.js +53 -0
  1702. package/backend-project/node_modules/object-inspect/test/err.js +48 -0
  1703. package/backend-project/node_modules/object-inspect/test/fakes.js +29 -0
  1704. package/backend-project/node_modules/object-inspect/test/fn.js +76 -0
  1705. package/backend-project/node_modules/object-inspect/test/global.js +17 -0
  1706. package/backend-project/node_modules/object-inspect/test/has.js +15 -0
  1707. package/backend-project/node_modules/object-inspect/test/holes.js +15 -0
  1708. package/backend-project/node_modules/object-inspect/test/indent-option.js +271 -0
  1709. package/backend-project/node_modules/object-inspect/test/inspect.js +139 -0
  1710. package/backend-project/node_modules/object-inspect/test/lowbyte.js +12 -0
  1711. package/backend-project/node_modules/object-inspect/test/number.js +58 -0
  1712. package/backend-project/node_modules/object-inspect/test/quoteStyle.js +26 -0
  1713. package/backend-project/node_modules/object-inspect/test/toStringTag.js +40 -0
  1714. package/backend-project/node_modules/object-inspect/test/undef.js +12 -0
  1715. package/backend-project/node_modules/object-inspect/test/values.js +261 -0
  1716. package/backend-project/node_modules/object-inspect/test-core-js.js +26 -0
  1717. package/backend-project/node_modules/object-inspect/util.inspect.js +1 -0
  1718. package/backend-project/node_modules/on-finished/HISTORY.md +98 -0
  1719. package/backend-project/node_modules/on-finished/LICENSE +23 -0
  1720. package/backend-project/node_modules/on-finished/README.md +162 -0
  1721. package/backend-project/node_modules/on-finished/index.js +234 -0
  1722. package/backend-project/node_modules/on-finished/package.json +39 -0
  1723. package/backend-project/node_modules/parseurl/HISTORY.md +58 -0
  1724. package/backend-project/node_modules/parseurl/LICENSE +24 -0
  1725. package/backend-project/node_modules/parseurl/README.md +133 -0
  1726. package/backend-project/node_modules/parseurl/index.js +158 -0
  1727. package/backend-project/node_modules/parseurl/package.json +40 -0
  1728. package/backend-project/node_modules/path-to-regexp/LICENSE +21 -0
  1729. package/backend-project/node_modules/path-to-regexp/Readme.md +35 -0
  1730. package/backend-project/node_modules/path-to-regexp/index.js +158 -0
  1731. package/backend-project/node_modules/path-to-regexp/package.json +30 -0
  1732. package/backend-project/node_modules/picomatch/LICENSE +21 -0
  1733. package/backend-project/node_modules/picomatch/README.md +716 -0
  1734. package/backend-project/node_modules/picomatch/index.js +3 -0
  1735. package/backend-project/node_modules/picomatch/lib/constants.js +184 -0
  1736. package/backend-project/node_modules/picomatch/lib/parse.js +1392 -0
  1737. package/backend-project/node_modules/picomatch/lib/picomatch.js +342 -0
  1738. package/backend-project/node_modules/picomatch/lib/scan.js +391 -0
  1739. package/backend-project/node_modules/picomatch/lib/utils.js +64 -0
  1740. package/backend-project/node_modules/picomatch/package.json +81 -0
  1741. package/backend-project/node_modules/proxy-addr/HISTORY.md +161 -0
  1742. package/backend-project/node_modules/proxy-addr/LICENSE +22 -0
  1743. package/backend-project/node_modules/proxy-addr/README.md +139 -0
  1744. package/backend-project/node_modules/proxy-addr/index.js +327 -0
  1745. package/backend-project/node_modules/proxy-addr/package.json +47 -0
  1746. package/backend-project/node_modules/pstree.remy/.travis.yml +8 -0
  1747. package/backend-project/node_modules/pstree.remy/LICENSE +7 -0
  1748. package/backend-project/node_modules/pstree.remy/README.md +26 -0
  1749. package/backend-project/node_modules/pstree.remy/lib/index.js +37 -0
  1750. package/backend-project/node_modules/pstree.remy/lib/tree.js +37 -0
  1751. package/backend-project/node_modules/pstree.remy/lib/utils.js +53 -0
  1752. package/backend-project/node_modules/pstree.remy/package.json +33 -0
  1753. package/backend-project/node_modules/pstree.remy/tests/fixtures/index.js +13 -0
  1754. package/backend-project/node_modules/pstree.remy/tests/fixtures/out1 +10 -0
  1755. package/backend-project/node_modules/pstree.remy/tests/fixtures/out2 +29 -0
  1756. package/backend-project/node_modules/pstree.remy/tests/index.test.js +51 -0
  1757. package/backend-project/node_modules/punycode/LICENSE-MIT.txt +20 -0
  1758. package/backend-project/node_modules/punycode/README.md +148 -0
  1759. package/backend-project/node_modules/punycode/package.json +58 -0
  1760. package/backend-project/node_modules/punycode/punycode.es6.js +444 -0
  1761. package/backend-project/node_modules/punycode/punycode.js +443 -0
  1762. package/backend-project/node_modules/qs/.editorconfig +46 -0
  1763. package/backend-project/node_modules/qs/.github/FUNDING.yml +12 -0
  1764. package/backend-project/node_modules/qs/.github/SECURITY.md +11 -0
  1765. package/backend-project/node_modules/qs/.github/THREAT_MODEL.md +78 -0
  1766. package/backend-project/node_modules/qs/.nycrc +13 -0
  1767. package/backend-project/node_modules/qs/CHANGELOG.md +822 -0
  1768. package/backend-project/node_modules/qs/LICENSE.md +29 -0
  1769. package/backend-project/node_modules/qs/README.md +758 -0
  1770. package/backend-project/node_modules/qs/dist/qs.js +141 -0
  1771. package/backend-project/node_modules/qs/eslint.config.mjs +57 -0
  1772. package/backend-project/node_modules/qs/lib/formats.js +23 -0
  1773. package/backend-project/node_modules/qs/lib/index.js +11 -0
  1774. package/backend-project/node_modules/qs/lib/parse.js +403 -0
  1775. package/backend-project/node_modules/qs/lib/stringify.js +363 -0
  1776. package/backend-project/node_modules/qs/lib/utils.js +342 -0
  1777. package/backend-project/node_modules/qs/package.json +94 -0
  1778. package/backend-project/node_modules/qs/test/empty-keys-cases.js +267 -0
  1779. package/backend-project/node_modules/qs/test/parse.js +1703 -0
  1780. package/backend-project/node_modules/qs/test/stringify.js +1448 -0
  1781. package/backend-project/node_modules/qs/test/utils.js +432 -0
  1782. package/backend-project/node_modules/range-parser/HISTORY.md +56 -0
  1783. package/backend-project/node_modules/range-parser/LICENSE +23 -0
  1784. package/backend-project/node_modules/range-parser/README.md +84 -0
  1785. package/backend-project/node_modules/range-parser/index.js +162 -0
  1786. package/backend-project/node_modules/range-parser/package.json +44 -0
  1787. package/backend-project/node_modules/raw-body/LICENSE +22 -0
  1788. package/backend-project/node_modules/raw-body/README.md +223 -0
  1789. package/backend-project/node_modules/raw-body/index.d.ts +87 -0
  1790. package/backend-project/node_modules/raw-body/index.js +336 -0
  1791. package/backend-project/node_modules/raw-body/package.json +47 -0
  1792. package/backend-project/node_modules/readdirp/LICENSE +21 -0
  1793. package/backend-project/node_modules/readdirp/README.md +122 -0
  1794. package/backend-project/node_modules/readdirp/index.d.ts +43 -0
  1795. package/backend-project/node_modules/readdirp/index.js +287 -0
  1796. package/backend-project/node_modules/readdirp/package.json +122 -0
  1797. package/backend-project/node_modules/safe-buffer/LICENSE +21 -0
  1798. package/backend-project/node_modules/safe-buffer/README.md +584 -0
  1799. package/backend-project/node_modules/safe-buffer/index.d.ts +187 -0
  1800. package/backend-project/node_modules/safe-buffer/index.js +65 -0
  1801. package/backend-project/node_modules/safe-buffer/package.json +51 -0
  1802. package/backend-project/node_modules/safer-buffer/LICENSE +21 -0
  1803. package/backend-project/node_modules/safer-buffer/Porting-Buffer.md +268 -0
  1804. package/backend-project/node_modules/safer-buffer/Readme.md +156 -0
  1805. package/backend-project/node_modules/safer-buffer/dangerous.js +58 -0
  1806. package/backend-project/node_modules/safer-buffer/package.json +34 -0
  1807. package/backend-project/node_modules/safer-buffer/safer.js +77 -0
  1808. package/backend-project/node_modules/safer-buffer/tests.js +406 -0
  1809. package/backend-project/node_modules/semver/LICENSE +15 -0
  1810. package/backend-project/node_modules/semver/README.md +680 -0
  1811. package/backend-project/node_modules/semver/bin/semver.js +195 -0
  1812. package/backend-project/node_modules/semver/classes/comparator.js +143 -0
  1813. package/backend-project/node_modules/semver/classes/index.js +7 -0
  1814. package/backend-project/node_modules/semver/classes/range.js +564 -0
  1815. package/backend-project/node_modules/semver/classes/semver.js +333 -0
  1816. package/backend-project/node_modules/semver/functions/clean.js +8 -0
  1817. package/backend-project/node_modules/semver/functions/cmp.js +54 -0
  1818. package/backend-project/node_modules/semver/functions/coerce.js +62 -0
  1819. package/backend-project/node_modules/semver/functions/compare-build.js +9 -0
  1820. package/backend-project/node_modules/semver/functions/compare-loose.js +5 -0
  1821. package/backend-project/node_modules/semver/functions/compare.js +7 -0
  1822. package/backend-project/node_modules/semver/functions/diff.js +60 -0
  1823. package/backend-project/node_modules/semver/functions/eq.js +5 -0
  1824. package/backend-project/node_modules/semver/functions/gt.js +5 -0
  1825. package/backend-project/node_modules/semver/functions/gte.js +5 -0
  1826. package/backend-project/node_modules/semver/functions/inc.js +21 -0
  1827. package/backend-project/node_modules/semver/functions/lt.js +5 -0
  1828. package/backend-project/node_modules/semver/functions/lte.js +5 -0
  1829. package/backend-project/node_modules/semver/functions/major.js +5 -0
  1830. package/backend-project/node_modules/semver/functions/minor.js +5 -0
  1831. package/backend-project/node_modules/semver/functions/neq.js +5 -0
  1832. package/backend-project/node_modules/semver/functions/parse.js +18 -0
  1833. package/backend-project/node_modules/semver/functions/patch.js +5 -0
  1834. package/backend-project/node_modules/semver/functions/prerelease.js +8 -0
  1835. package/backend-project/node_modules/semver/functions/rcompare.js +5 -0
  1836. package/backend-project/node_modules/semver/functions/rsort.js +5 -0
  1837. package/backend-project/node_modules/semver/functions/satisfies.js +12 -0
  1838. package/backend-project/node_modules/semver/functions/sort.js +5 -0
  1839. package/backend-project/node_modules/semver/functions/truncate.js +48 -0
  1840. package/backend-project/node_modules/semver/functions/valid.js +8 -0
  1841. package/backend-project/node_modules/semver/index.js +93 -0
  1842. package/backend-project/node_modules/semver/internal/constants.js +37 -0
  1843. package/backend-project/node_modules/semver/internal/debug.js +11 -0
  1844. package/backend-project/node_modules/semver/internal/identifiers.js +29 -0
  1845. package/backend-project/node_modules/semver/internal/lrucache.js +42 -0
  1846. package/backend-project/node_modules/semver/internal/parse-options.js +17 -0
  1847. package/backend-project/node_modules/semver/internal/re.js +223 -0
  1848. package/backend-project/node_modules/semver/package.json +78 -0
  1849. package/backend-project/node_modules/semver/preload.js +4 -0
  1850. package/backend-project/node_modules/semver/range.bnf +17 -0
  1851. package/backend-project/node_modules/semver/ranges/gtr.js +6 -0
  1852. package/backend-project/node_modules/semver/ranges/intersects.js +9 -0
  1853. package/backend-project/node_modules/semver/ranges/ltr.js +6 -0
  1854. package/backend-project/node_modules/semver/ranges/max-satisfying.js +27 -0
  1855. package/backend-project/node_modules/semver/ranges/min-satisfying.js +26 -0
  1856. package/backend-project/node_modules/semver/ranges/min-version.js +63 -0
  1857. package/backend-project/node_modules/semver/ranges/outside.js +82 -0
  1858. package/backend-project/node_modules/semver/ranges/simplify.js +49 -0
  1859. package/backend-project/node_modules/semver/ranges/subset.js +249 -0
  1860. package/backend-project/node_modules/semver/ranges/to-comparators.js +10 -0
  1861. package/backend-project/node_modules/semver/ranges/valid.js +13 -0
  1862. package/backend-project/node_modules/send/HISTORY.md +538 -0
  1863. package/backend-project/node_modules/send/LICENSE +23 -0
  1864. package/backend-project/node_modules/send/README.md +327 -0
  1865. package/backend-project/node_modules/send/SECURITY.md +24 -0
  1866. package/backend-project/node_modules/send/index.js +1142 -0
  1867. package/backend-project/node_modules/send/node_modules/ms/index.js +162 -0
  1868. package/backend-project/node_modules/send/node_modules/ms/license.md +21 -0
  1869. package/backend-project/node_modules/send/node_modules/ms/package.json +38 -0
  1870. package/backend-project/node_modules/send/node_modules/ms/readme.md +59 -0
  1871. package/backend-project/node_modules/send/package.json +62 -0
  1872. package/backend-project/node_modules/serve-static/HISTORY.md +493 -0
  1873. package/backend-project/node_modules/serve-static/LICENSE +25 -0
  1874. package/backend-project/node_modules/serve-static/README.md +257 -0
  1875. package/backend-project/node_modules/serve-static/index.js +209 -0
  1876. package/backend-project/node_modules/serve-static/package.json +42 -0
  1877. package/backend-project/node_modules/setprototypeof/LICENSE +13 -0
  1878. package/backend-project/node_modules/setprototypeof/README.md +31 -0
  1879. package/backend-project/node_modules/setprototypeof/index.d.ts +2 -0
  1880. package/backend-project/node_modules/setprototypeof/index.js +17 -0
  1881. package/backend-project/node_modules/setprototypeof/package.json +38 -0
  1882. package/backend-project/node_modules/setprototypeof/test/index.js +24 -0
  1883. package/backend-project/node_modules/side-channel/.editorconfig +9 -0
  1884. package/backend-project/node_modules/side-channel/.eslintrc +12 -0
  1885. package/backend-project/node_modules/side-channel/.github/FUNDING.yml +12 -0
  1886. package/backend-project/node_modules/side-channel/.nycrc +13 -0
  1887. package/backend-project/node_modules/side-channel/CHANGELOG.md +110 -0
  1888. package/backend-project/node_modules/side-channel/LICENSE +21 -0
  1889. package/backend-project/node_modules/side-channel/README.md +61 -0
  1890. package/backend-project/node_modules/side-channel/index.d.ts +14 -0
  1891. package/backend-project/node_modules/side-channel/index.js +43 -0
  1892. package/backend-project/node_modules/side-channel/package.json +85 -0
  1893. package/backend-project/node_modules/side-channel/test/index.js +104 -0
  1894. package/backend-project/node_modules/side-channel/tsconfig.json +9 -0
  1895. package/backend-project/node_modules/side-channel-list/.editorconfig +9 -0
  1896. package/backend-project/node_modules/side-channel-list/.eslintrc +11 -0
  1897. package/backend-project/node_modules/side-channel-list/.github/FUNDING.yml +12 -0
  1898. package/backend-project/node_modules/side-channel-list/.nycrc +13 -0
  1899. package/backend-project/node_modules/side-channel-list/CHANGELOG.md +36 -0
  1900. package/backend-project/node_modules/side-channel-list/LICENSE +21 -0
  1901. package/backend-project/node_modules/side-channel-list/README.md +62 -0
  1902. package/backend-project/node_modules/side-channel-list/index.d.ts +13 -0
  1903. package/backend-project/node_modules/side-channel-list/index.js +111 -0
  1904. package/backend-project/node_modules/side-channel-list/list.d.ts +14 -0
  1905. package/backend-project/node_modules/side-channel-list/package.json +77 -0
  1906. package/backend-project/node_modules/side-channel-list/test/index.js +154 -0
  1907. package/backend-project/node_modules/side-channel-list/tsconfig.json +9 -0
  1908. package/backend-project/node_modules/side-channel-map/.editorconfig +9 -0
  1909. package/backend-project/node_modules/side-channel-map/.eslintrc +11 -0
  1910. package/backend-project/node_modules/side-channel-map/.github/FUNDING.yml +12 -0
  1911. package/backend-project/node_modules/side-channel-map/.nycrc +13 -0
  1912. package/backend-project/node_modules/side-channel-map/CHANGELOG.md +22 -0
  1913. package/backend-project/node_modules/side-channel-map/LICENSE +21 -0
  1914. package/backend-project/node_modules/side-channel-map/README.md +62 -0
  1915. package/backend-project/node_modules/side-channel-map/index.d.ts +15 -0
  1916. package/backend-project/node_modules/side-channel-map/index.js +68 -0
  1917. package/backend-project/node_modules/side-channel-map/package.json +80 -0
  1918. package/backend-project/node_modules/side-channel-map/test/index.js +114 -0
  1919. package/backend-project/node_modules/side-channel-map/tsconfig.json +9 -0
  1920. package/backend-project/node_modules/side-channel-weakmap/.editorconfig +9 -0
  1921. package/backend-project/node_modules/side-channel-weakmap/.eslintrc +12 -0
  1922. package/backend-project/node_modules/side-channel-weakmap/.github/FUNDING.yml +12 -0
  1923. package/backend-project/node_modules/side-channel-weakmap/.nycrc +13 -0
  1924. package/backend-project/node_modules/side-channel-weakmap/CHANGELOG.md +28 -0
  1925. package/backend-project/node_modules/side-channel-weakmap/LICENSE +21 -0
  1926. package/backend-project/node_modules/side-channel-weakmap/README.md +62 -0
  1927. package/backend-project/node_modules/side-channel-weakmap/index.d.ts +15 -0
  1928. package/backend-project/node_modules/side-channel-weakmap/index.js +84 -0
  1929. package/backend-project/node_modules/side-channel-weakmap/package.json +87 -0
  1930. package/backend-project/node_modules/side-channel-weakmap/test/index.js +114 -0
  1931. package/backend-project/node_modules/side-channel-weakmap/tsconfig.json +9 -0
  1932. package/backend-project/node_modules/sift/MIT-LICENSE.txt +20 -0
  1933. package/backend-project/node_modules/sift/README.md +465 -0
  1934. package/backend-project/node_modules/sift/es/index.js +626 -0
  1935. package/backend-project/node_modules/sift/es/index.js.map +1 -0
  1936. package/backend-project/node_modules/sift/es5m/index.js +729 -0
  1937. package/backend-project/node_modules/sift/es5m/index.js.map +1 -0
  1938. package/backend-project/node_modules/sift/index.d.ts +4 -0
  1939. package/backend-project/node_modules/sift/index.js +4 -0
  1940. package/backend-project/node_modules/sift/lib/core.d.ts +120 -0
  1941. package/backend-project/node_modules/sift/lib/index.d.ts +6 -0
  1942. package/backend-project/node_modules/sift/lib/index.js +766 -0
  1943. package/backend-project/node_modules/sift/lib/index.js.map +1 -0
  1944. package/backend-project/node_modules/sift/lib/operations.d.ts +88 -0
  1945. package/backend-project/node_modules/sift/lib/utils.d.ts +9 -0
  1946. package/backend-project/node_modules/sift/package.json +62 -0
  1947. package/backend-project/node_modules/sift/sift.csp.min.js +763 -0
  1948. package/backend-project/node_modules/sift/sift.csp.min.js.map +1 -0
  1949. package/backend-project/node_modules/sift/sift.min.js +16 -0
  1950. package/backend-project/node_modules/sift/sift.min.js.map +1 -0
  1951. package/backend-project/node_modules/sift/src/core.d.ts +120 -0
  1952. package/backend-project/node_modules/sift/src/core.js +267 -0
  1953. package/backend-project/node_modules/sift/src/core.js.map +1 -0
  1954. package/backend-project/node_modules/sift/src/core.ts +481 -0
  1955. package/backend-project/node_modules/sift/src/index.d.ts +6 -0
  1956. package/backend-project/node_modules/sift/src/index.js +38 -0
  1957. package/backend-project/node_modules/sift/src/index.js.map +1 -0
  1958. package/backend-project/node_modules/sift/src/index.ts +54 -0
  1959. package/backend-project/node_modules/sift/src/operations.d.ts +88 -0
  1960. package/backend-project/node_modules/sift/src/operations.js +297 -0
  1961. package/backend-project/node_modules/sift/src/operations.js.map +1 -0
  1962. package/backend-project/node_modules/sift/src/operations.ts +411 -0
  1963. package/backend-project/node_modules/sift/src/utils.d.ts +9 -0
  1964. package/backend-project/node_modules/sift/src/utils.js +70 -0
  1965. package/backend-project/node_modules/sift/src/utils.js.map +1 -0
  1966. package/backend-project/node_modules/sift/src/utils.ts +68 -0
  1967. package/backend-project/node_modules/simple-update-notifier/LICENSE +21 -0
  1968. package/backend-project/node_modules/simple-update-notifier/README.md +82 -0
  1969. package/backend-project/node_modules/simple-update-notifier/build/index.d.ts +13 -0
  1970. package/backend-project/node_modules/simple-update-notifier/build/index.js +210 -0
  1971. package/backend-project/node_modules/simple-update-notifier/package.json +100 -0
  1972. package/backend-project/node_modules/simple-update-notifier/src/borderedText.ts +12 -0
  1973. package/backend-project/node_modules/simple-update-notifier/src/cache.spec.ts +17 -0
  1974. package/backend-project/node_modules/simple-update-notifier/src/cache.ts +44 -0
  1975. package/backend-project/node_modules/simple-update-notifier/src/getDistVersion.spec.ts +35 -0
  1976. package/backend-project/node_modules/simple-update-notifier/src/getDistVersion.ts +29 -0
  1977. package/backend-project/node_modules/simple-update-notifier/src/hasNewVersion.spec.ts +82 -0
  1978. package/backend-project/node_modules/simple-update-notifier/src/hasNewVersion.ts +40 -0
  1979. package/backend-project/node_modules/simple-update-notifier/src/index.spec.ts +27 -0
  1980. package/backend-project/node_modules/simple-update-notifier/src/index.ts +34 -0
  1981. package/backend-project/node_modules/simple-update-notifier/src/isNpmOrYarn.ts +12 -0
  1982. package/backend-project/node_modules/simple-update-notifier/src/types.ts +8 -0
  1983. package/backend-project/node_modules/smart-buffer/.prettierrc.yaml +5 -0
  1984. package/backend-project/node_modules/smart-buffer/.travis.yml +13 -0
  1985. package/backend-project/node_modules/smart-buffer/LICENSE +20 -0
  1986. package/backend-project/node_modules/smart-buffer/README.md +633 -0
  1987. package/backend-project/node_modules/smart-buffer/build/smartbuffer.js +1233 -0
  1988. package/backend-project/node_modules/smart-buffer/build/smartbuffer.js.map +1 -0
  1989. package/backend-project/node_modules/smart-buffer/build/utils.js +108 -0
  1990. package/backend-project/node_modules/smart-buffer/build/utils.js.map +1 -0
  1991. package/backend-project/node_modules/smart-buffer/docs/CHANGELOG.md +70 -0
  1992. package/backend-project/node_modules/smart-buffer/docs/README_v3.md +367 -0
  1993. package/backend-project/node_modules/smart-buffer/docs/ROADMAP.md +0 -0
  1994. package/backend-project/node_modules/smart-buffer/package.json +79 -0
  1995. package/backend-project/node_modules/smart-buffer/typings/smartbuffer.d.ts +755 -0
  1996. package/backend-project/node_modules/smart-buffer/typings/utils.d.ts +66 -0
  1997. package/backend-project/node_modules/socks/.eslintrc.cjs +11 -0
  1998. package/backend-project/node_modules/socks/.prettierrc.yaml +7 -0
  1999. package/backend-project/node_modules/socks/LICENSE +20 -0
  2000. package/backend-project/node_modules/socks/README.md +686 -0
  2001. package/backend-project/node_modules/socks/build/client/socksclient.js +793 -0
  2002. package/backend-project/node_modules/socks/build/client/socksclient.js.map +1 -0
  2003. package/backend-project/node_modules/socks/build/common/constants.js +108 -0
  2004. package/backend-project/node_modules/socks/build/common/constants.js.map +1 -0
  2005. package/backend-project/node_modules/socks/build/common/helpers.js +167 -0
  2006. package/backend-project/node_modules/socks/build/common/helpers.js.map +1 -0
  2007. package/backend-project/node_modules/socks/build/common/receivebuffer.js +43 -0
  2008. package/backend-project/node_modules/socks/build/common/receivebuffer.js.map +1 -0
  2009. package/backend-project/node_modules/socks/build/common/util.js +25 -0
  2010. package/backend-project/node_modules/socks/build/common/util.js.map +1 -0
  2011. package/backend-project/node_modules/socks/build/index.js +18 -0
  2012. package/backend-project/node_modules/socks/build/index.js.map +1 -0
  2013. package/backend-project/node_modules/socks/docs/examples/index.md +17 -0
  2014. package/backend-project/node_modules/socks/docs/examples/javascript/associateExample.md +90 -0
  2015. package/backend-project/node_modules/socks/docs/examples/javascript/bindExample.md +83 -0
  2016. package/backend-project/node_modules/socks/docs/examples/javascript/connectExample.md +258 -0
  2017. package/backend-project/node_modules/socks/docs/examples/typescript/associateExample.md +93 -0
  2018. package/backend-project/node_modules/socks/docs/examples/typescript/bindExample.md +86 -0
  2019. package/backend-project/node_modules/socks/docs/examples/typescript/connectExample.md +265 -0
  2020. package/backend-project/node_modules/socks/docs/index.md +5 -0
  2021. package/backend-project/node_modules/socks/docs/migratingFromV1.md +86 -0
  2022. package/backend-project/node_modules/socks/package.json +58 -0
  2023. package/backend-project/node_modules/socks/typings/client/socksclient.d.ts +162 -0
  2024. package/backend-project/node_modules/socks/typings/common/constants.d.ts +151 -0
  2025. package/backend-project/node_modules/socks/typings/common/helpers.d.ts +17 -0
  2026. package/backend-project/node_modules/socks/typings/common/receivebuffer.d.ts +12 -0
  2027. package/backend-project/node_modules/socks/typings/common/util.d.ts +14 -0
  2028. package/backend-project/node_modules/socks/typings/index.d.ts +1 -0
  2029. package/backend-project/node_modules/sparse-bitfield/.travis.yml +6 -0
  2030. package/backend-project/node_modules/sparse-bitfield/LICENSE +21 -0
  2031. package/backend-project/node_modules/sparse-bitfield/README.md +62 -0
  2032. package/backend-project/node_modules/sparse-bitfield/index.js +95 -0
  2033. package/backend-project/node_modules/sparse-bitfield/package.json +27 -0
  2034. package/backend-project/node_modules/sparse-bitfield/test.js +79 -0
  2035. package/backend-project/node_modules/statuses/HISTORY.md +87 -0
  2036. package/backend-project/node_modules/statuses/LICENSE +23 -0
  2037. package/backend-project/node_modules/statuses/README.md +139 -0
  2038. package/backend-project/node_modules/statuses/codes.json +65 -0
  2039. package/backend-project/node_modules/statuses/index.js +146 -0
  2040. package/backend-project/node_modules/statuses/package.json +49 -0
  2041. package/backend-project/node_modules/supports-color/browser.js +5 -0
  2042. package/backend-project/node_modules/supports-color/index.js +131 -0
  2043. package/backend-project/node_modules/supports-color/license +9 -0
  2044. package/backend-project/node_modules/supports-color/package.json +53 -0
  2045. package/backend-project/node_modules/supports-color/readme.md +66 -0
  2046. package/backend-project/node_modules/to-regex-range/LICENSE +21 -0
  2047. package/backend-project/node_modules/to-regex-range/README.md +305 -0
  2048. package/backend-project/node_modules/to-regex-range/index.js +288 -0
  2049. package/backend-project/node_modules/to-regex-range/package.json +88 -0
  2050. package/backend-project/node_modules/toidentifier/HISTORY.md +9 -0
  2051. package/backend-project/node_modules/toidentifier/LICENSE +21 -0
  2052. package/backend-project/node_modules/toidentifier/README.md +61 -0
  2053. package/backend-project/node_modules/toidentifier/index.js +32 -0
  2054. package/backend-project/node_modules/toidentifier/package.json +38 -0
  2055. package/backend-project/node_modules/touch/LICENSE +15 -0
  2056. package/backend-project/node_modules/touch/README.md +52 -0
  2057. package/backend-project/node_modules/touch/bin/nodetouch.js +112 -0
  2058. package/backend-project/node_modules/touch/index.js +224 -0
  2059. package/backend-project/node_modules/touch/package.json +25 -0
  2060. package/backend-project/node_modules/tr46/LICENSE.md +21 -0
  2061. package/backend-project/node_modules/tr46/README.md +78 -0
  2062. package/backend-project/node_modules/tr46/index.js +298 -0
  2063. package/backend-project/node_modules/tr46/lib/mappingTable.json +1 -0
  2064. package/backend-project/node_modules/tr46/lib/regexes.js +29 -0
  2065. package/backend-project/node_modules/tr46/lib/statusMapping.js +11 -0
  2066. package/backend-project/node_modules/tr46/package.json +47 -0
  2067. package/backend-project/node_modules/type-is/HISTORY.md +259 -0
  2068. package/backend-project/node_modules/type-is/LICENSE +23 -0
  2069. package/backend-project/node_modules/type-is/README.md +170 -0
  2070. package/backend-project/node_modules/type-is/index.js +266 -0
  2071. package/backend-project/node_modules/type-is/package.json +45 -0
  2072. package/backend-project/node_modules/undefsafe/.github/workflows/release.yml +25 -0
  2073. package/backend-project/node_modules/undefsafe/.jscsrc +13 -0
  2074. package/backend-project/node_modules/undefsafe/.jshintrc +16 -0
  2075. package/backend-project/node_modules/undefsafe/.travis.yml +18 -0
  2076. package/backend-project/node_modules/undefsafe/LICENSE +22 -0
  2077. package/backend-project/node_modules/undefsafe/README.md +63 -0
  2078. package/backend-project/node_modules/undefsafe/example.js +14 -0
  2079. package/backend-project/node_modules/undefsafe/lib/undefsafe.js +125 -0
  2080. package/backend-project/node_modules/undefsafe/package.json +34 -0
  2081. package/backend-project/node_modules/undici-types/LICENSE +21 -0
  2082. package/backend-project/node_modules/undici-types/README.md +6 -0
  2083. package/backend-project/node_modules/undici-types/agent.d.ts +32 -0
  2084. package/backend-project/node_modules/undici-types/api.d.ts +43 -0
  2085. package/backend-project/node_modules/undici-types/balanced-pool.d.ts +30 -0
  2086. package/backend-project/node_modules/undici-types/cache-interceptor.d.ts +179 -0
  2087. package/backend-project/node_modules/undici-types/cache.d.ts +36 -0
  2088. package/backend-project/node_modules/undici-types/client-stats.d.ts +15 -0
  2089. package/backend-project/node_modules/undici-types/client.d.ts +123 -0
  2090. package/backend-project/node_modules/undici-types/connector.d.ts +36 -0
  2091. package/backend-project/node_modules/undici-types/content-type.d.ts +21 -0
  2092. package/backend-project/node_modules/undici-types/cookies.d.ts +30 -0
  2093. package/backend-project/node_modules/undici-types/diagnostics-channel.d.ts +74 -0
  2094. package/backend-project/node_modules/undici-types/dispatcher.d.ts +279 -0
  2095. package/backend-project/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
  2096. package/backend-project/node_modules/undici-types/errors.d.ts +177 -0
  2097. package/backend-project/node_modules/undici-types/eventsource.d.ts +66 -0
  2098. package/backend-project/node_modules/undici-types/fetch.d.ts +211 -0
  2099. package/backend-project/node_modules/undici-types/formdata.d.ts +108 -0
  2100. package/backend-project/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  2101. package/backend-project/node_modules/undici-types/global-origin.d.ts +7 -0
  2102. package/backend-project/node_modules/undici-types/h2c-client.d.ts +73 -0
  2103. package/backend-project/node_modules/undici-types/handlers.d.ts +15 -0
  2104. package/backend-project/node_modules/undici-types/header.d.ts +160 -0
  2105. package/backend-project/node_modules/undici-types/index.d.ts +91 -0
  2106. package/backend-project/node_modules/undici-types/interceptors.d.ts +80 -0
  2107. package/backend-project/node_modules/undici-types/mock-agent.d.ts +68 -0
  2108. package/backend-project/node_modules/undici-types/mock-call-history.d.ts +111 -0
  2109. package/backend-project/node_modules/undici-types/mock-client.d.ts +27 -0
  2110. package/backend-project/node_modules/undici-types/mock-errors.d.ts +12 -0
  2111. package/backend-project/node_modules/undici-types/mock-interceptor.d.ts +94 -0
  2112. package/backend-project/node_modules/undici-types/mock-pool.d.ts +27 -0
  2113. package/backend-project/node_modules/undici-types/package.json +55 -0
  2114. package/backend-project/node_modules/undici-types/patch.d.ts +29 -0
  2115. package/backend-project/node_modules/undici-types/pool-stats.d.ts +19 -0
  2116. package/backend-project/node_modules/undici-types/pool.d.ts +41 -0
  2117. package/backend-project/node_modules/undici-types/proxy-agent.d.ts +29 -0
  2118. package/backend-project/node_modules/undici-types/readable.d.ts +68 -0
  2119. package/backend-project/node_modules/undici-types/retry-agent.d.ts +8 -0
  2120. package/backend-project/node_modules/undici-types/retry-handler.d.ts +125 -0
  2121. package/backend-project/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  2122. package/backend-project/node_modules/undici-types/snapshot-agent.d.ts +109 -0
  2123. package/backend-project/node_modules/undici-types/socks5-proxy-agent.d.ts +25 -0
  2124. package/backend-project/node_modules/undici-types/util.d.ts +18 -0
  2125. package/backend-project/node_modules/undici-types/utility.d.ts +7 -0
  2126. package/backend-project/node_modules/undici-types/webidl.d.ts +347 -0
  2127. package/backend-project/node_modules/undici-types/websocket.d.ts +188 -0
  2128. package/backend-project/node_modules/unpipe/HISTORY.md +4 -0
  2129. package/backend-project/node_modules/unpipe/LICENSE +22 -0
  2130. package/backend-project/node_modules/unpipe/README.md +43 -0
  2131. package/backend-project/node_modules/unpipe/index.js +69 -0
  2132. package/backend-project/node_modules/unpipe/package.json +27 -0
  2133. package/backend-project/node_modules/utils-merge/LICENSE +20 -0
  2134. package/backend-project/node_modules/utils-merge/README.md +34 -0
  2135. package/backend-project/node_modules/utils-merge/index.js +23 -0
  2136. package/backend-project/node_modules/utils-merge/package.json +40 -0
  2137. package/backend-project/node_modules/vary/HISTORY.md +39 -0
  2138. package/backend-project/node_modules/vary/LICENSE +22 -0
  2139. package/backend-project/node_modules/vary/README.md +101 -0
  2140. package/backend-project/node_modules/vary/index.js +149 -0
  2141. package/backend-project/node_modules/vary/package.json +43 -0
  2142. package/backend-project/node_modules/webidl-conversions/LICENSE.md +12 -0
  2143. package/backend-project/node_modules/webidl-conversions/README.md +99 -0
  2144. package/backend-project/node_modules/webidl-conversions/lib/index.js +450 -0
  2145. package/backend-project/node_modules/webidl-conversions/package.json +35 -0
  2146. package/backend-project/node_modules/whatwg-url/LICENSE.txt +21 -0
  2147. package/backend-project/node_modules/whatwg-url/README.md +106 -0
  2148. package/backend-project/node_modules/whatwg-url/index.js +27 -0
  2149. package/backend-project/node_modules/whatwg-url/lib/Function.js +42 -0
  2150. package/backend-project/node_modules/whatwg-url/lib/URL-impl.js +209 -0
  2151. package/backend-project/node_modules/whatwg-url/lib/URL.js +442 -0
  2152. package/backend-project/node_modules/whatwg-url/lib/URLSearchParams-impl.js +130 -0
  2153. package/backend-project/node_modules/whatwg-url/lib/URLSearchParams.js +472 -0
  2154. package/backend-project/node_modules/whatwg-url/lib/VoidFunction.js +26 -0
  2155. package/backend-project/node_modules/whatwg-url/lib/encoding.js +16 -0
  2156. package/backend-project/node_modules/whatwg-url/lib/infra.js +26 -0
  2157. package/backend-project/node_modules/whatwg-url/lib/percent-encoding.js +142 -0
  2158. package/backend-project/node_modules/whatwg-url/lib/url-state-machine.js +1244 -0
  2159. package/backend-project/node_modules/whatwg-url/lib/urlencoded.js +106 -0
  2160. package/backend-project/node_modules/whatwg-url/lib/utils.js +190 -0
  2161. package/backend-project/node_modules/whatwg-url/package.json +58 -0
  2162. package/backend-project/node_modules/whatwg-url/webidl2js-wrapper.js +7 -0
  2163. package/backend-project/package-lock.json +1640 -0
  2164. package/backend-project/package.json +29 -0
  2165. package/backend-project/routes/auth.js +8 -0
  2166. package/backend-project/routes/products.js +10 -0
  2167. package/backend-project/routes/reports.js +11 -0
  2168. package/backend-project/routes/transactions.js +12 -0
  2169. package/backend-project/routes/warehouses.js +10 -0
  2170. package/backend-project/server.js +49 -0
  2171. package/bin/stockhub.js +44 -0
  2172. package/frontend-project/package.json +41 -0
  2173. package/frontend-project/postcss.config.js +6 -0
  2174. package/frontend-project/public/index.html +14 -0
  2175. package/frontend-project/src/App.js +59 -0
  2176. package/frontend-project/src/components/Auth/Login.js +116 -0
  2177. package/frontend-project/src/components/Auth/Register.js +142 -0
  2178. package/frontend-project/src/components/Dashboard/Dashboard.js +183 -0
  2179. package/frontend-project/src/components/Layout/Layout.js +162 -0
  2180. package/frontend-project/src/components/Products/Products.js +253 -0
  2181. package/frontend-project/src/components/Reports/Reports.js +312 -0
  2182. package/frontend-project/src/components/Transactions/Transactions.js +310 -0
  2183. package/frontend-project/src/components/Warehouses/Warehouses.js +178 -0
  2184. package/frontend-project/src/index.css +30 -0
  2185. package/frontend-project/src/index.js +11 -0
  2186. package/frontend-project/src/services/api.js +76 -0
  2187. package/frontend-project/tailwind.config.js +19 -0
  2188. package/package.json +49 -0
  2189. package/setup.js +157 -0
@@ -0,0 +1,262 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ScramSHA256 = exports.ScramSHA1 = void 0;
4
+ const crypto = require("crypto");
5
+ const util_1 = require("util");
6
+ const bson_1 = require("../../bson");
7
+ const deps_1 = require("../../deps");
8
+ const error_1 = require("../../error");
9
+ const utils_1 = require("../../utils");
10
+ const auth_provider_1 = require("./auth_provider");
11
+ const providers_1 = require("./providers");
12
+ class ScramSHA extends auth_provider_1.AuthProvider {
13
+ constructor(cryptoMethod) {
14
+ super();
15
+ this.cryptoMethod = cryptoMethod || 'sha1';
16
+ this.randomBytesAsync = (0, util_1.promisify)(crypto.randomBytes);
17
+ }
18
+ async prepare(handshakeDoc, authContext) {
19
+ const cryptoMethod = this.cryptoMethod;
20
+ const credentials = authContext.credentials;
21
+ if (!credentials) {
22
+ throw new error_1.MongoMissingCredentialsError('AuthContext must provide credentials.');
23
+ }
24
+ if (cryptoMethod === 'sha256' &&
25
+ ('kModuleError' in deps_1.saslprep || typeof deps_1.saslprep !== 'function')) {
26
+ (0, utils_1.emitWarning)('Warning: no saslprep library specified. Passwords will not be sanitized');
27
+ }
28
+ const nonce = await this.randomBytesAsync(24);
29
+ // store the nonce for later use
30
+ authContext.nonce = nonce;
31
+ const request = {
32
+ ...handshakeDoc,
33
+ speculativeAuthenticate: {
34
+ ...makeFirstMessage(cryptoMethod, credentials, nonce),
35
+ db: credentials.source
36
+ }
37
+ };
38
+ return request;
39
+ }
40
+ async auth(authContext) {
41
+ const { reauthenticating, response } = authContext;
42
+ if (response?.speculativeAuthenticate && !reauthenticating) {
43
+ return continueScramConversation(this.cryptoMethod, response.speculativeAuthenticate, authContext);
44
+ }
45
+ return executeScram(this.cryptoMethod, authContext);
46
+ }
47
+ }
48
+ function cleanUsername(username) {
49
+ return username.replace('=', '=3D').replace(',', '=2C');
50
+ }
51
+ function clientFirstMessageBare(username, nonce) {
52
+ // NOTE: This is done b/c Javascript uses UTF-16, but the server is hashing in UTF-8.
53
+ // Since the username is not sasl-prep-d, we need to do this here.
54
+ return Buffer.concat([
55
+ Buffer.from('n=', 'utf8'),
56
+ Buffer.from(username, 'utf8'),
57
+ Buffer.from(',r=', 'utf8'),
58
+ Buffer.from(nonce.toString('base64'), 'utf8')
59
+ ]);
60
+ }
61
+ function makeFirstMessage(cryptoMethod, credentials, nonce) {
62
+ const username = cleanUsername(credentials.username);
63
+ const mechanism = cryptoMethod === 'sha1' ? providers_1.AuthMechanism.MONGODB_SCRAM_SHA1 : providers_1.AuthMechanism.MONGODB_SCRAM_SHA256;
64
+ // NOTE: This is done b/c Javascript uses UTF-16, but the server is hashing in UTF-8.
65
+ // Since the username is not sasl-prep-d, we need to do this here.
66
+ return {
67
+ saslStart: 1,
68
+ mechanism,
69
+ payload: new bson_1.Binary(Buffer.concat([Buffer.from('n,,', 'utf8'), clientFirstMessageBare(username, nonce)])),
70
+ autoAuthorize: 1,
71
+ options: { skipEmptyExchange: true }
72
+ };
73
+ }
74
+ async function executeScram(cryptoMethod, authContext) {
75
+ const { connection, credentials } = authContext;
76
+ if (!credentials) {
77
+ throw new error_1.MongoMissingCredentialsError('AuthContext must provide credentials.');
78
+ }
79
+ if (!authContext.nonce) {
80
+ throw new error_1.MongoInvalidArgumentError('AuthContext must contain a valid nonce property');
81
+ }
82
+ const nonce = authContext.nonce;
83
+ const db = credentials.source;
84
+ const saslStartCmd = makeFirstMessage(cryptoMethod, credentials, nonce);
85
+ const response = await connection.commandAsync((0, utils_1.ns)(`${db}.$cmd`), saslStartCmd, undefined);
86
+ await continueScramConversation(cryptoMethod, response, authContext);
87
+ }
88
+ async function continueScramConversation(cryptoMethod, response, authContext) {
89
+ const connection = authContext.connection;
90
+ const credentials = authContext.credentials;
91
+ if (!credentials) {
92
+ throw new error_1.MongoMissingCredentialsError('AuthContext must provide credentials.');
93
+ }
94
+ if (!authContext.nonce) {
95
+ throw new error_1.MongoInvalidArgumentError('Unable to continue SCRAM without valid nonce');
96
+ }
97
+ const nonce = authContext.nonce;
98
+ const db = credentials.source;
99
+ const username = cleanUsername(credentials.username);
100
+ const password = credentials.password;
101
+ let processedPassword;
102
+ if (cryptoMethod === 'sha256') {
103
+ processedPassword =
104
+ 'kModuleError' in deps_1.saslprep || typeof deps_1.saslprep !== 'function' ? password : (0, deps_1.saslprep)(password);
105
+ }
106
+ else {
107
+ processedPassword = passwordDigest(username, password);
108
+ }
109
+ const payload = Buffer.isBuffer(response.payload)
110
+ ? new bson_1.Binary(response.payload)
111
+ : response.payload;
112
+ const dict = parsePayload(payload.value());
113
+ const iterations = parseInt(dict.i, 10);
114
+ if (iterations && iterations < 4096) {
115
+ // TODO(NODE-3483)
116
+ throw new error_1.MongoRuntimeError(`Server returned an invalid iteration count ${iterations}`);
117
+ }
118
+ const salt = dict.s;
119
+ const rnonce = dict.r;
120
+ if (rnonce.startsWith('nonce')) {
121
+ // TODO(NODE-3483)
122
+ throw new error_1.MongoRuntimeError(`Server returned an invalid nonce: ${rnonce}`);
123
+ }
124
+ // Set up start of proof
125
+ const withoutProof = `c=biws,r=${rnonce}`;
126
+ const saltedPassword = HI(processedPassword, Buffer.from(salt, 'base64'), iterations, cryptoMethod);
127
+ const clientKey = HMAC(cryptoMethod, saltedPassword, 'Client Key');
128
+ const serverKey = HMAC(cryptoMethod, saltedPassword, 'Server Key');
129
+ const storedKey = H(cryptoMethod, clientKey);
130
+ const authMessage = [clientFirstMessageBare(username, nonce), payload.value(), withoutProof].join(',');
131
+ const clientSignature = HMAC(cryptoMethod, storedKey, authMessage);
132
+ const clientProof = `p=${xor(clientKey, clientSignature)}`;
133
+ const clientFinal = [withoutProof, clientProof].join(',');
134
+ const serverSignature = HMAC(cryptoMethod, serverKey, authMessage);
135
+ const saslContinueCmd = {
136
+ saslContinue: 1,
137
+ conversationId: response.conversationId,
138
+ payload: new bson_1.Binary(Buffer.from(clientFinal))
139
+ };
140
+ const r = await connection.commandAsync((0, utils_1.ns)(`${db}.$cmd`), saslContinueCmd, undefined);
141
+ const parsedResponse = parsePayload(r.payload.value());
142
+ if (!compareDigest(Buffer.from(parsedResponse.v, 'base64'), serverSignature)) {
143
+ throw new error_1.MongoRuntimeError('Server returned an invalid signature');
144
+ }
145
+ if (r.done !== false) {
146
+ // If the server sends r.done === true we can save one RTT
147
+ return;
148
+ }
149
+ const retrySaslContinueCmd = {
150
+ saslContinue: 1,
151
+ conversationId: r.conversationId,
152
+ payload: Buffer.alloc(0)
153
+ };
154
+ await connection.commandAsync((0, utils_1.ns)(`${db}.$cmd`), retrySaslContinueCmd, undefined);
155
+ }
156
+ function parsePayload(payload) {
157
+ const dict = {};
158
+ const parts = payload.split(',');
159
+ for (let i = 0; i < parts.length; i++) {
160
+ const valueParts = parts[i].split('=');
161
+ dict[valueParts[0]] = valueParts[1];
162
+ }
163
+ return dict;
164
+ }
165
+ function passwordDigest(username, password) {
166
+ if (typeof username !== 'string') {
167
+ throw new error_1.MongoInvalidArgumentError('Username must be a string');
168
+ }
169
+ if (typeof password !== 'string') {
170
+ throw new error_1.MongoInvalidArgumentError('Password must be a string');
171
+ }
172
+ if (password.length === 0) {
173
+ throw new error_1.MongoInvalidArgumentError('Password cannot be empty');
174
+ }
175
+ let md5;
176
+ try {
177
+ md5 = crypto.createHash('md5');
178
+ }
179
+ catch (err) {
180
+ if (crypto.getFips()) {
181
+ // This error is (slightly) more helpful than what comes from OpenSSL directly, e.g.
182
+ // 'Error: error:060800C8:digital envelope routines:EVP_DigestInit_ex:disabled for FIPS'
183
+ throw new Error('Auth mechanism SCRAM-SHA-1 is not supported in FIPS mode');
184
+ }
185
+ throw err;
186
+ }
187
+ md5.update(`${username}:mongo:${password}`, 'utf8');
188
+ return md5.digest('hex');
189
+ }
190
+ // XOR two buffers
191
+ function xor(a, b) {
192
+ if (!Buffer.isBuffer(a)) {
193
+ a = Buffer.from(a);
194
+ }
195
+ if (!Buffer.isBuffer(b)) {
196
+ b = Buffer.from(b);
197
+ }
198
+ const length = Math.max(a.length, b.length);
199
+ const res = [];
200
+ for (let i = 0; i < length; i += 1) {
201
+ res.push(a[i] ^ b[i]);
202
+ }
203
+ return Buffer.from(res).toString('base64');
204
+ }
205
+ function H(method, text) {
206
+ return crypto.createHash(method).update(text).digest();
207
+ }
208
+ function HMAC(method, key, text) {
209
+ return crypto.createHmac(method, key).update(text).digest();
210
+ }
211
+ let _hiCache = {};
212
+ let _hiCacheCount = 0;
213
+ function _hiCachePurge() {
214
+ _hiCache = {};
215
+ _hiCacheCount = 0;
216
+ }
217
+ const hiLengthMap = {
218
+ sha256: 32,
219
+ sha1: 20
220
+ };
221
+ function HI(data, salt, iterations, cryptoMethod) {
222
+ // omit the work if already generated
223
+ const key = [data, salt.toString('base64'), iterations].join('_');
224
+ if (_hiCache[key] != null) {
225
+ return _hiCache[key];
226
+ }
227
+ // generate the salt
228
+ const saltedData = crypto.pbkdf2Sync(data, salt, iterations, hiLengthMap[cryptoMethod], cryptoMethod);
229
+ // cache a copy to speed up the next lookup, but prevent unbounded cache growth
230
+ if (_hiCacheCount >= 200) {
231
+ _hiCachePurge();
232
+ }
233
+ _hiCache[key] = saltedData;
234
+ _hiCacheCount += 1;
235
+ return saltedData;
236
+ }
237
+ function compareDigest(lhs, rhs) {
238
+ if (lhs.length !== rhs.length) {
239
+ return false;
240
+ }
241
+ if (typeof crypto.timingSafeEqual === 'function') {
242
+ return crypto.timingSafeEqual(lhs, rhs);
243
+ }
244
+ let result = 0;
245
+ for (let i = 0; i < lhs.length; i++) {
246
+ result |= lhs[i] ^ rhs[i];
247
+ }
248
+ return result === 0;
249
+ }
250
+ class ScramSHA1 extends ScramSHA {
251
+ constructor() {
252
+ super('sha1');
253
+ }
254
+ }
255
+ exports.ScramSHA1 = ScramSHA1;
256
+ class ScramSHA256 extends ScramSHA {
257
+ constructor() {
258
+ super('sha256');
259
+ }
260
+ }
261
+ exports.ScramSHA256 = ScramSHA256;
262
+ //# sourceMappingURL=scram.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scram.js","sourceRoot":"","sources":["../../../src/cmap/auth/scram.ts"],"names":[],"mappings":";;;AAAA,iCAAiC;AACjC,+BAAiC;AAEjC,qCAAmD;AACnD,qCAAsC;AACtC,uCAIqB;AACrB,uCAA8C;AAE9C,mDAAiE;AAEjE,2CAA4C;AAI5C,MAAM,QAAS,SAAQ,4BAAY;IAGjC,YAAY,YAA0B;QACpC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,YAAY,GAAG,YAAY,IAAI,MAAM,CAAC;QAC3C,IAAI,CAAC,gBAAgB,GAAG,IAAA,gBAAS,EAAC,MAAM,CAAC,WAAW,CAAC,CAAC;IACxD,CAAC;IAEQ,KAAK,CAAC,OAAO,CACpB,YAA+B,EAC/B,WAAwB;QAExB,MAAM,YAAY,GAAG,IAAI,CAAC,YAAY,CAAC;QACvC,MAAM,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;QAC5C,IAAI,CAAC,WAAW,EAAE;YAChB,MAAM,IAAI,oCAA4B,CAAC,uCAAuC,CAAC,CAAC;SACjF;QACD,IACE,YAAY,KAAK,QAAQ;YACzB,CAAC,cAAc,IAAI,e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ChB,CAAC;CACF;AAJD,8BAIC;AAED,MAAa,WAAY,SAAQ,QAAQ;IACvC;QACE,KAAK,CAAC,QAAQ,CAAC,CAAC;IAClB,CAAC;CACF;AAJD,kCAIC"}
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.X509 = void 0;
4
+ const error_1 = require("../../error");
5
+ const utils_1 = require("../../utils");
6
+ const auth_provider_1 = require("./auth_provider");
7
+ class X509 extends auth_provider_1.AuthProvider {
8
+ async prepare(handshakeDoc, authContext) {
9
+ const { credentials } = authContext;
10
+ if (!credentials) {
11
+ throw new error_1.MongoMissingCredentialsError('AuthContext must provide credentials.');
12
+ }
13
+ return { ...handshakeDoc, speculativeAuthenticate: x509AuthenticateCommand(credentials) };
14
+ }
15
+ async auth(authContext) {
16
+ const connection = authContext.connection;
17
+ const credentials = authContext.credentials;
18
+ if (!credentials) {
19
+ throw new error_1.MongoMissingCredentialsError('AuthContext must provide credentials.');
20
+ }
21
+ const response = authContext.response;
22
+ if (response?.speculativeAuthenticate) {
23
+ return;
24
+ }
25
+ await connection.commandAsync((0, utils_1.ns)('$external.$cmd'), x509AuthenticateCommand(credentials), undefined);
26
+ }
27
+ }
28
+ exports.X509 = X509;
29
+ function x509AuthenticateCommand(credentials) {
30
+ const command = { authenticate: 1, mechanism: 'MONGODB-X509' };
31
+ if (credentials.username) {
32
+ command.user = credentials.username;
33
+ }
34
+ return command;
35
+ }
36
+ //# sourceMappingURL=x509.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x509.js","sourceRoot":"","sources":["../../../src/cmap/auth/x509.ts"],"names":[],"mappings":";;;AACA,uCAA2D;AAC3D,uCAAiC;AAEjC,mDAAiE;AAGjE,MAAa,IAAK,SAAQ,4BAAY;IAC3B,KAAK,CAAC,OAAO,CACpB,YAA+B,EAC/B,WAAwB;QAExB,MAAM,EAAE,WAAW,EAAE,GAAG,WAAW,CAAC;QACpC,IAAI,CAAC,WAAW,EAAE;YAChB,MAAM,IAAI,oCAA4B,CAAC,uCAAuC,CAAC,CAAC;SACjF;QACD,OAAO,EAAE,GAAG,YAAY,EAAE,uBAAuB,EAAE,uBAAuB,CAAC,WAAW,CAAC,EAAE,CAAC;IAC5F,CAAC;IAEQ,KAAK,CAAC,IAAI,CAAC,WAAwB;QAC1C,MAAM,UAAU,GAAG,WAAW,CAAC,UAAU,CAAC;QAC1C,MAAM,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;QAC5C,IAAI,CAAC,WAAW,EAAE;YAChB,MAAM,IAAI,oCAA4B,CAAC,uCAAuC,CAAC,CAAC;SACjF;QACD,MAAM,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC;QAEtC,IAAI,QAAQ,EAAE,uBAAuB,EAAE;YACrC,OAAO;SACR;QAED,MAAM,UAAU,CAAC,YAAY,CAC3B,IAAA,UAAE,EAAC,gBAAgB,CAAC,EACpB,uBAAuB,CAAC,WAAW,CAAC,EACpC,SAAS,CACV,CAAC;IACJ,CAAC;CACF;AA9BD,oBA8BC;AAED,SAAS,uBAAuB,CAAC,WAA6B;IAC5D,MAAM,OAAO,GAAa,EAAE,YAAY,EAAE,CAAC,EAAE,SAAS,EAAE,cAAc,EAAE,CAAC;IACzE,IAAI,WAAW,CAAC,QAAQ,EAAE;QACxB,OAAO,CAAC,IAAI,GAAG,WAAW,CAAC,QAAQ,CAAC;KACrC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC"}
@@ -0,0 +1,251 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SENSITIVE_COMMANDS = exports.CommandFailedEvent = exports.CommandSucceededEvent = exports.CommandStartedEvent = void 0;
4
+ const constants_1 = require("../constants");
5
+ const utils_1 = require("../utils");
6
+ const commands_1 = require("./commands");
7
+ /**
8
+ * An event indicating the start of a given command
9
+ * @public
10
+ * @category Event
11
+ */
12
+ class CommandStartedEvent {
13
+ /**
14
+ * Create a started event
15
+ *
16
+ * @internal
17
+ * @param pool - the pool that originated the command
18
+ * @param command - the command
19
+ */
20
+ constructor(connection, command) {
21
+ /** @internal */
22
+ this.name = constants_1.COMMAND_STARTED;
23
+ const cmd = extractCommand(command);
24
+ const commandName = extractCommandName(cmd);
25
+ const { address, connectionId, serviceId } = extractConnectionDetails(connection);
26
+ // TODO: remove in major revision, this is not spec behavior
27
+ if (exports.SENSITIVE_COMMANDS.has(commandName)) {
28
+ this.commandObj = {};
29
+ this.commandObj[commandName] = true;
30
+ }
31
+ this.address = address;
32
+ this.connectionId = connectionId;
33
+ this.serviceId = serviceId;
34
+ this.requestId = command.requestId;
35
+ this.databaseName = databaseName(command);
36
+ this.commandName = commandName;
37
+ this.command = maybeRedact(commandName, cmd, cmd);
38
+ }
39
+ /* @internal */
40
+ get hasServiceId() {
41
+ return !!this.serviceId;
42
+ }
43
+ }
44
+ exports.CommandStartedEvent = CommandStartedEvent;
45
+ /**
46
+ * An event indicating the success of a given command
47
+ * @public
48
+ * @category Event
49
+ */
50
+ class CommandSucceededEvent {
51
+ /**
52
+ * Create a succeeded event
53
+ *
54
+ * @internal
55
+ * @param pool - the pool that originated the command
56
+ * @param command - the command
57
+ * @param reply - the reply for this command from the server
58
+ * @param started - a high resolution tuple timestamp of when the command was first sent, to calculate duration
59
+ */
60
+ constructor(connection, command, reply, started) {
61
+ /** @internal */
62
+ this.name = constants_1.COMMAND_SUCCEEDED;
63
+ const cmd = extractCommand(command);
64
+ const commandName = extractCommandName(cmd);
65
+ const { address, connectionId, serviceId } = extractConnectionDetails(connection);
66
+ this.address = address;
67
+ this.connectionId = connectionId;
68
+ this.serviceId = serviceId;
69
+ this.requestId = command.requestId;
70
+ this.commandName = commandName;
71
+ this.duration = (0, utils_1.calculateDurationInMs)(started);
72
+ this.reply = maybeRedact(commandName, cmd, extractReply(command, reply));
73
+ }
74
+ /* @internal */
75
+ get hasServiceId() {
76
+ return !!this.serviceId;
77
+ }
78
+ }
79
+ exports.CommandSucceededEvent = CommandSucceededEvent;
80
+ /**
81
+ * An event indicating the failure of a given command
82
+ * @public
83
+ * @category Event
84
+ */
85
+ class CommandFailedEvent {
86
+ /**
87
+ * Create a failure event
88
+ *
89
+ * @internal
90
+ * @param pool - the pool that originated the command
91
+ * @param command - the command
92
+ * @param error - the generated error or a server error response
93
+ * @param started - a high resolution tuple timestamp of when the command was first sent, to calculate duration
94
+ */
95
+ constructor(connection, command, error, started) {
96
+ /** @internal */
97
+ this.name = constants_1.COMMAND_FAILED;
98
+ const cmd = extractCommand(command);
99
+ const commandName = extractCommandName(cmd);
100
+ const { address, connectionId, serviceId } = extractConnectionDetails(connection);
101
+ this.address = address;
102
+ this.connectionId = connectionId;
103
+ this.serviceId = serviceId;
104
+ this.requestId = command.requestId;
105
+ this.commandName = commandName;
106
+ this.duration = (0, utils_1.calculateDurationInMs)(started);
107
+ this.failure = maybeRedact(commandName, cmd, error);
108
+ }
109
+ /* @internal */
110
+ get hasServiceId() {
111
+ return !!this.serviceId;
112
+ }
113
+ }
114
+ exports.CommandFailedEvent = CommandFailedEvent;
115
+ /**
116
+ * Commands that we want to redact because of the sensitive nature of their contents
117
+ * @internal
118
+ */
119
+ exports.SENSITIVE_COMMANDS = new Set([
120
+ 'authenticate',
121
+ 'saslStart',
122
+ 'saslContinue',
123
+ 'getnonce',
124
+ 'createUser',
125
+ 'updateUser',
126
+ 'copydbgetnonce',
127
+ 'copydbsaslstart',
128
+ 'copydb'
129
+ ]);
130
+ const HELLO_COMMANDS = new Set(['hello', constants_1.LEGACY_HELLO_COMMAND, constants_1.LEGACY_HELLO_COMMAND_CAMEL_CASE]);
131
+ // helper methods
132
+ const extractCommandName = (commandDoc) => Object.keys(commandDoc)[0];
133
+ const namespace = (command) => command.ns;
134
+ const databaseName = (command) => command.ns.split('.')[0];
135
+ const collectionName = (command) => command.ns.split('.')[1];
136
+ const maybeRedact = (commandName, commandDoc, result) => exports.SENSITIVE_COMMANDS.has(commandName) ||
137
+ (HELLO_COMMANDS.has(commandName) && commandDoc.speculativeAuthenticate)
138
+ ? {}
139
+ : result;
140
+ const LEGACY_FIND_QUERY_MAP = {
141
+ $query: 'filter',
142
+ $orderby: 'sort',
143
+ $hint: 'hint',
144
+ $comment: 'comment',
145
+ $maxScan: 'maxScan',
146
+ $max: 'max',
147
+ $min: 'min',
148
+ $returnKey: 'returnKey',
149
+ $showDiskLoc: 'showRecordId',
150
+ $maxTimeMS: 'maxTimeMS',
151
+ $snapshot: 'snapshot'
152
+ };
153
+ const LEGACY_FIND_OPTIONS_MAP = {
154
+ numberToSkip: 'skip',
155
+ numberToReturn: 'batchSize',
156
+ returnFieldSelector: 'projection'
157
+ };
158
+ const OP_QUERY_KEYS = [
159
+ 'tailable',
160
+ 'oplogReplay',
161
+ 'noCursorTimeout',
162
+ 'awaitData',
163
+ 'partial',
164
+ 'exhaust'
165
+ ];
166
+ /** Extract the actual command from the query, possibly up-converting if it's a legacy format */
167
+ function extractCommand(command) {
168
+ if (command instanceof commands_1.Msg) {
169
+ return (0, utils_1.deepCopy)(command.command);
170
+ }
171
+ if (command.query?.$query) {
172
+ let result;
173
+ if (command.ns === 'admin.$cmd') {
174
+ // up-convert legacy command
175
+ result = Object.assign({}, command.query.$query);
176
+ }
177
+ else {
178
+ // up-convert legacy find command
179
+ result = { find: collectionName(command) };
180
+ Object.keys(LEGACY_FIND_QUERY_MAP).forEach(key => {
181
+ if (command.query[key] != null) {
182
+ result[LEGACY_FIND_QUERY_MAP[key]] = (0, utils_1.deepCopy)(command.query[key]);
183
+ }
184
+ });
185
+ }
186
+ Object.keys(LEGACY_FIND_OPTIONS_MAP).forEach(key => {
187
+ const legacyKey = key;
188
+ if (command[legacyKey] != null) {
189
+ result[LEGACY_FIND_OPTIONS_MAP[legacyKey]] = (0, utils_1.deepCopy)(command[legacyKey]);
190
+ }
191
+ });
192
+ OP_QUERY_KEYS.forEach(key => {
193
+ if (command[key]) {
194
+ result[key] = command[key];
195
+ }
196
+ });
197
+ if (command.pre32Limit != null) {
198
+ result.limit = command.pre32Limit;
199
+ }
200
+ if (command.query.$explain) {
201
+ return { explain: result };
202
+ }
203
+ return result;
204
+ }
205
+ const clonedQuery = {};
206
+ const clonedCommand = {};
207
+ if (command.query) {
208
+ for (const k in command.query) {
209
+ clonedQuery[k] = (0, utils_1.deepCopy)(command.query[k]);
210
+ }
211
+ clonedCommand.query = clonedQuery;
212
+ }
213
+ for (const k in command) {
214
+ if (k === 'query')
215
+ continue;
216
+ clonedCommand[k] = (0, utils_1.deepCopy)(command[k]);
217
+ }
218
+ return command.query ? clonedQuery : clonedCommand;
219
+ }
220
+ function extractReply(command, reply) {
221
+ if (!reply) {
222
+ return reply;
223
+ }
224
+ if (command instanceof commands_1.Msg) {
225
+ return (0, utils_1.deepCopy)(reply.result ? reply.result : reply);
226
+ }
227
+ // is this a legacy find command?
228
+ if (command.query && command.query.$query != null) {
229
+ return {
230
+ ok: 1,
231
+ cursor: {
232
+ id: (0, utils_1.deepCopy)(reply.cursorId),
233
+ ns: namespace(command),
234
+ firstBatch: (0, utils_1.deepCopy)(reply.documents)
235
+ }
236
+ };
237
+ }
238
+ return (0, utils_1.deepCopy)(reply.result ? reply.result : reply);
239
+ }
240
+ function extractConnectionDetails(connection) {
241
+ let connectionId;
242
+ if ('id' in connection) {
243
+ connectionId = connection.id;
244
+ }
245
+ return {
246
+ address: connection.address,
247
+ serviceId: connection.serviceId,
248
+ connectionId
249
+ };
250
+ }
251
+ //# sourceMappingURL=command_monitoring_events.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command_monitoring_events.js","sourceRoot":"","sources":["../../src/cmap/command_monitoring_events.ts"],"names":[],"mappings":";;;AACA,4CAMsB;AACtB,oCAA2D;AAC3D,yCAAgE;AAGhE;;;;GAIG;AACH,MAAa,mBAAmB;IAY9B;;;;;;OAMG;IACH,YAAY,UAAsB,EAAE,OAAiC;QAVrE,gBAAgB;QAChB,SAAI,GAAG,2BAAe,CAAC;QAUrB,MAAM,GAAG,GAAG,cAAc,CAAC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