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.
- package/.gitignore +35 -0
- package/README.md +303 -0
- package/backend-project/.env +3 -0
- package/backend-project/.env.example +3 -0
- package/backend-project/config/database.js +13 -0
- package/backend-project/controllers/authController.js +70 -0
- package/backend-project/controllers/productController.js +58 -0
- package/backend-project/controllers/reportController.js +206 -0
- package/backend-project/controllers/transactionController.js +199 -0
- package/backend-project/controllers/warehouseController.js +54 -0
- package/backend-project/middleware/auth.js +20 -0
- package/backend-project/models/Product.js +44 -0
- package/backend-project/models/StockTransaction.js +32 -0
- package/backend-project/models/User.js +18 -0
- package/backend-project/models/Warehouse.js +24 -0
- package/backend-project/node_modules/.bin/mime +16 -0
- package/backend-project/node_modules/.bin/mime.cmd +17 -0
- package/backend-project/node_modules/.bin/mime.ps1 +28 -0
- package/backend-project/node_modules/.bin/nodemon +16 -0
- package/backend-project/node_modules/.bin/nodemon.cmd +17 -0
- package/backend-project/node_modules/.bin/nodemon.ps1 +28 -0
- package/backend-project/node_modules/.bin/nodetouch +16 -0
- package/backend-project/node_modules/.bin/nodetouch.cmd +17 -0
- package/backend-project/node_modules/.bin/nodetouch.ps1 +28 -0
- package/backend-project/node_modules/.bin/semver +16 -0
- package/backend-project/node_modules/.bin/semver.cmd +17 -0
- package/backend-project/node_modules/.bin/semver.ps1 +28 -0
- package/backend-project/node_modules/.package-lock.json +1609 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/LICENSE +22 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/.esm-wrapper.mjs +4 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/browser.d.ts +5 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/browser.d.ts.map +1 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/browser.js +12 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/browser.js.map +1 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.d.ts +3 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.d.ts.map +1 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.js +5 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.js.map +1 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-data.d.ts +3 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-data.d.ts.map +1 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-data.js +5 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-data.js.map +1 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-src.d.ts +7 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-src.d.ts.map +1 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-src.js +881 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/code-points-src.js.map +1 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/generate-code-points.d.ts +2 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/generate-code-points.d.ts.map +1 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/generate-code-points.js +83 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/generate-code-points.js.map +1 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/index.d.ts +11 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/index.d.ts.map +1 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/index.js +65 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/index.js.map +1 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/memory-code-points.d.ts +10 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/memory-code-points.d.ts.map +1 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/memory-code-points.js +32 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/memory-code-points.js.map +1 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/node.d.ts +10 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/node.d.ts.map +1 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/node.js +15 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/node.js.map +1 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/util.d.ts +2 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/util.d.ts.map +1 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/util.js +11 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/dist/util.js.map +1 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/package.json +87 -0
- package/backend-project/node_modules/@mongodb-js/saslprep/readme.md +29 -0
- package/backend-project/node_modules/@types/node/LICENSE +21 -0
- package/backend-project/node_modules/@types/node/README.md +15 -0
- package/backend-project/node_modules/@types/node/assert/strict.d.ts +59 -0
- package/backend-project/node_modules/@types/node/assert.d.ts +950 -0
- package/backend-project/node_modules/@types/node/async_hooks.d.ts +711 -0
- package/backend-project/node_modules/@types/node/buffer.buffer.d.ts +466 -0
- package/backend-project/node_modules/@types/node/buffer.d.ts +1765 -0
- package/backend-project/node_modules/@types/node/child_process.d.ts +1366 -0
- package/backend-project/node_modules/@types/node/cluster.d.ts +432 -0
- package/backend-project/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
- package/backend-project/node_modules/@types/node/console.d.ts +93 -0
- package/backend-project/node_modules/@types/node/constants.d.ts +14 -0
- package/backend-project/node_modules/@types/node/crypto.d.ts +4058 -0
- package/backend-project/node_modules/@types/node/dgram.d.ts +537 -0
- package/backend-project/node_modules/@types/node/diagnostics_channel.d.ts +552 -0
- package/backend-project/node_modules/@types/node/dns/promises.d.ts +497 -0
- package/backend-project/node_modules/@types/node/dns.d.ts +876 -0
- package/backend-project/node_modules/@types/node/domain.d.ts +150 -0
- package/backend-project/node_modules/@types/node/events.d.ts +1008 -0
- package/backend-project/node_modules/@types/node/fs/promises.d.ts +1468 -0
- package/backend-project/node_modules/@types/node/fs.d.ts +4780 -0
- package/backend-project/node_modules/@types/node/globals.d.ts +150 -0
- package/backend-project/node_modules/@types/node/globals.typedarray.d.ts +101 -0
- package/backend-project/node_modules/@types/node/http.d.ts +2147 -0
- package/backend-project/node_modules/@types/node/http2.d.ts +2485 -0
- package/backend-project/node_modules/@types/node/https.d.ts +400 -0
- package/backend-project/node_modules/@types/node/index.d.ts +117 -0
- package/backend-project/node_modules/@types/node/inspector/promises.d.ts +35 -0
- package/backend-project/node_modules/@types/node/inspector.d.ts +264 -0
- package/backend-project/node_modules/@types/node/inspector.generated.d.ts +4406 -0
- package/backend-project/node_modules/@types/node/module.d.ts +755 -0
- package/backend-project/node_modules/@types/node/net.d.ts +970 -0
- package/backend-project/node_modules/@types/node/os.d.ts +498 -0
- package/backend-project/node_modules/@types/node/package.json +155 -0
- package/backend-project/node_modules/@types/node/path/posix.d.ts +8 -0
- package/backend-project/node_modules/@types/node/path/win32.d.ts +8 -0
- package/backend-project/node_modules/@types/node/path.d.ts +178 -0
- package/backend-project/node_modules/@types/node/perf_hooks.d.ts +612 -0
- package/backend-project/node_modules/@types/node/process.d.ts +2204 -0
- package/backend-project/node_modules/@types/node/punycode.d.ts +89 -0
- package/backend-project/node_modules/@types/node/querystring.d.ts +139 -0
- package/backend-project/node_modules/@types/node/quic.d.ts +897 -0
- package/backend-project/node_modules/@types/node/readline/promises.d.ts +158 -0
- package/backend-project/node_modules/@types/node/readline.d.ts +507 -0
- package/backend-project/node_modules/@types/node/repl.d.ts +420 -0
- package/backend-project/node_modules/@types/node/sea.d.ts +47 -0
- package/backend-project/node_modules/@types/node/sqlite.d.ts +1068 -0
- package/backend-project/node_modules/@types/node/stream/consumers.d.ts +114 -0
- package/backend-project/node_modules/@types/node/stream/iter.d.ts +301 -0
- package/backend-project/node_modules/@types/node/stream/promises.d.ts +211 -0
- package/backend-project/node_modules/@types/node/stream/web.d.ts +300 -0
- package/backend-project/node_modules/@types/node/stream.d.ts +1774 -0
- package/backend-project/node_modules/@types/node/string_decoder.d.ts +27 -0
- package/backend-project/node_modules/@types/node/test/reporters.d.ts +59 -0
- package/backend-project/node_modules/@types/node/test.d.ts +2279 -0
- package/backend-project/node_modules/@types/node/timers/promises.d.ts +93 -0
- package/backend-project/node_modules/@types/node/timers.d.ts +149 -0
- package/backend-project/node_modules/@types/node/tls.d.ts +1193 -0
- package/backend-project/node_modules/@types/node/trace_events.d.ts +103 -0
- package/backend-project/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +462 -0
- package/backend-project/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/backend-project/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
- package/backend-project/node_modules/@types/node/ts5.6/index.d.ts +119 -0
- package/backend-project/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/backend-project/node_modules/@types/node/ts5.7/index.d.ts +119 -0
- package/backend-project/node_modules/@types/node/tty.d.ts +225 -0
- package/backend-project/node_modules/@types/node/url.d.ts +556 -0
- package/backend-project/node_modules/@types/node/util/types.d.ts +558 -0
- package/backend-project/node_modules/@types/node/util.d.ts +1677 -0
- package/backend-project/node_modules/@types/node/v8.d.ts +980 -0
- package/backend-project/node_modules/@types/node/vm.d.ts +1136 -0
- package/backend-project/node_modules/@types/node/wasi.d.ts +131 -0
- package/backend-project/node_modules/@types/node/web-globals/abortcontroller.d.ts +59 -0
- package/backend-project/node_modules/@types/node/web-globals/blob.d.ts +23 -0
- package/backend-project/node_modules/@types/node/web-globals/console.d.ts +9 -0
- package/backend-project/node_modules/@types/node/web-globals/crypto.d.ts +39 -0
- package/backend-project/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/backend-project/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
- package/backend-project/node_modules/@types/node/web-globals/events.d.ts +106 -0
- package/backend-project/node_modules/@types/node/web-globals/fetch.d.ts +69 -0
- package/backend-project/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
- package/backend-project/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
- package/backend-project/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/backend-project/node_modules/@types/node/web-globals/performance.d.ts +45 -0
- package/backend-project/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/backend-project/node_modules/@types/node/web-globals/streams.d.ts +115 -0
- package/backend-project/node_modules/@types/node/web-globals/timers.d.ts +44 -0
- package/backend-project/node_modules/@types/node/web-globals/url.d.ts +24 -0
- package/backend-project/node_modules/@types/node/worker_threads.d.ts +671 -0
- package/backend-project/node_modules/@types/node/zlib/iter.d.ts +131 -0
- package/backend-project/node_modules/@types/node/zlib.d.ts +589 -0
- package/backend-project/node_modules/@types/webidl-conversions/LICENSE +21 -0
- package/backend-project/node_modules/@types/webidl-conversions/README.md +15 -0
- package/backend-project/node_modules/@types/webidl-conversions/index.d.ts +91 -0
- package/backend-project/node_modules/@types/webidl-conversions/package.json +30 -0
- package/backend-project/node_modules/@types/whatwg-url/LICENSE +21 -0
- package/backend-project/node_modules/@types/whatwg-url/README.md +16 -0
- package/backend-project/node_modules/@types/whatwg-url/dist/URL-impl.d.ts +23 -0
- package/backend-project/node_modules/@types/whatwg-url/dist/URL.d.ts +76 -0
- package/backend-project/node_modules/@types/whatwg-url/dist/URLSearchParams-impl.d.ts +23 -0
- package/backend-project/node_modules/@types/whatwg-url/dist/URLSearchParams.d.ts +91 -0
- package/backend-project/node_modules/@types/whatwg-url/index.d.ts +162 -0
- package/backend-project/node_modules/@types/whatwg-url/package.json +33 -0
- package/backend-project/node_modules/@types/whatwg-url/webidl2js-wrapper.d.ts +4 -0
- package/backend-project/node_modules/accepts/HISTORY.md +243 -0
- package/backend-project/node_modules/accepts/LICENSE +23 -0
- package/backend-project/node_modules/accepts/README.md +140 -0
- package/backend-project/node_modules/accepts/index.js +238 -0
- package/backend-project/node_modules/accepts/package.json +47 -0
- package/backend-project/node_modules/anymatch/LICENSE +15 -0
- package/backend-project/node_modules/anymatch/README.md +87 -0
- package/backend-project/node_modules/anymatch/index.d.ts +20 -0
- package/backend-project/node_modules/anymatch/index.js +104 -0
- package/backend-project/node_modules/anymatch/package.json +48 -0
- package/backend-project/node_modules/array-flatten/LICENSE +21 -0
- package/backend-project/node_modules/array-flatten/README.md +43 -0
- package/backend-project/node_modules/array-flatten/array-flatten.js +64 -0
- package/backend-project/node_modules/array-flatten/package.json +39 -0
- package/backend-project/node_modules/balanced-match/LICENSE.md +23 -0
- package/backend-project/node_modules/balanced-match/README.md +57 -0
- package/backend-project/node_modules/balanced-match/dist/commonjs/index.d.ts +9 -0
- package/backend-project/node_modules/balanced-match/dist/commonjs/index.d.ts.map +1 -0
- package/backend-project/node_modules/balanced-match/dist/commonjs/index.js +59 -0
- package/backend-project/node_modules/balanced-match/dist/commonjs/index.js.map +1 -0
- package/backend-project/node_modules/balanced-match/dist/commonjs/package.json +3 -0
- package/backend-project/node_modules/balanced-match/dist/esm/index.d.ts +9 -0
- package/backend-project/node_modules/balanced-match/dist/esm/index.d.ts.map +1 -0
- package/backend-project/node_modules/balanced-match/dist/esm/index.js +54 -0
- package/backend-project/node_modules/balanced-match/dist/esm/index.js.map +1 -0
- package/backend-project/node_modules/balanced-match/dist/esm/package.json +3 -0
- package/backend-project/node_modules/balanced-match/package.json +68 -0
- package/backend-project/node_modules/bcryptjs/.travis.yml +18 -0
- package/backend-project/node_modules/bcryptjs/.vscode/settings.json +3 -0
- package/backend-project/node_modules/bcryptjs/LICENSE +50 -0
- package/backend-project/node_modules/bcryptjs/README.md +251 -0
- package/backend-project/node_modules/bcryptjs/bin/bcrypt +25 -0
- package/backend-project/node_modules/bcryptjs/bower.json +22 -0
- package/backend-project/node_modules/bcryptjs/dist/README.md +15 -0
- package/backend-project/node_modules/bcryptjs/dist/bcrypt.js +1379 -0
- package/backend-project/node_modules/bcryptjs/dist/bcrypt.min.js +48 -0
- package/backend-project/node_modules/bcryptjs/dist/bcrypt.min.js.gz +0 -0
- package/backend-project/node_modules/bcryptjs/dist/bcrypt.min.map +8 -0
- package/backend-project/node_modules/bcryptjs/externs/bcrypt.js +91 -0
- package/backend-project/node_modules/bcryptjs/externs/minimal-env.js +98 -0
- package/backend-project/node_modules/bcryptjs/index.js +29 -0
- package/backend-project/node_modules/bcryptjs/package.json +47 -0
- package/backend-project/node_modules/bcryptjs/scripts/build.js +37 -0
- package/backend-project/node_modules/bcryptjs/src/bcrypt/impl.js +669 -0
- package/backend-project/node_modules/bcryptjs/src/bcrypt/prng/README.md +5 -0
- package/backend-project/node_modules/bcryptjs/src/bcrypt/prng/accum.js +133 -0
- package/backend-project/node_modules/bcryptjs/src/bcrypt/prng/isaac.js +140 -0
- package/backend-project/node_modules/bcryptjs/src/bcrypt/util/base64.js +115 -0
- package/backend-project/node_modules/bcryptjs/src/bcrypt/util.js +33 -0
- package/backend-project/node_modules/bcryptjs/src/bcrypt.js +327 -0
- package/backend-project/node_modules/bcryptjs/src/bower.json +22 -0
- package/backend-project/node_modules/bcryptjs/src/wrap.js +50 -0
- package/backend-project/node_modules/bcryptjs/tests/quickbrown.txt +150 -0
- package/backend-project/node_modules/bcryptjs/tests/suite.js +197 -0
- package/backend-project/node_modules/binary-extensions/binary-extensions.json +263 -0
- package/backend-project/node_modules/binary-extensions/binary-extensions.json.d.ts +3 -0
- package/backend-project/node_modules/binary-extensions/index.d.ts +14 -0
- package/backend-project/node_modules/binary-extensions/index.js +1 -0
- package/backend-project/node_modules/binary-extensions/license +10 -0
- package/backend-project/node_modules/binary-extensions/package.json +40 -0
- package/backend-project/node_modules/binary-extensions/readme.md +25 -0
- package/backend-project/node_modules/body-parser/HISTORY.md +686 -0
- package/backend-project/node_modules/body-parser/LICENSE +23 -0
- package/backend-project/node_modules/body-parser/README.md +476 -0
- package/backend-project/node_modules/body-parser/index.js +156 -0
- package/backend-project/node_modules/body-parser/lib/read.js +205 -0
- package/backend-project/node_modules/body-parser/lib/types/json.js +243 -0
- package/backend-project/node_modules/body-parser/lib/types/raw.js +101 -0
- package/backend-project/node_modules/body-parser/lib/types/text.js +121 -0
- package/backend-project/node_modules/body-parser/lib/types/urlencoded.js +299 -0
- package/backend-project/node_modules/body-parser/package.json +55 -0
- package/backend-project/node_modules/brace-expansion/LICENSE +23 -0
- package/backend-project/node_modules/brace-expansion/README.md +94 -0
- package/backend-project/node_modules/brace-expansion/dist/commonjs/index.d.ts +6 -0
- package/backend-project/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +1 -0
- package/backend-project/node_modules/brace-expansion/dist/commonjs/index.js +201 -0
- package/backend-project/node_modules/brace-expansion/dist/commonjs/index.js.map +1 -0
- package/backend-project/node_modules/brace-expansion/dist/commonjs/package.json +3 -0
- package/backend-project/node_modules/brace-expansion/dist/esm/index.d.ts +6 -0
- package/backend-project/node_modules/brace-expansion/dist/esm/index.d.ts.map +1 -0
- package/backend-project/node_modules/brace-expansion/dist/esm/index.js +197 -0
- package/backend-project/node_modules/brace-expansion/dist/esm/index.js.map +1 -0
- package/backend-project/node_modules/brace-expansion/dist/esm/package.json +3 -0
- package/backend-project/node_modules/brace-expansion/package.json +64 -0
- package/backend-project/node_modules/braces/LICENSE +21 -0
- package/backend-project/node_modules/braces/README.md +586 -0
- package/backend-project/node_modules/braces/index.js +170 -0
- package/backend-project/node_modules/braces/lib/compile.js +60 -0
- package/backend-project/node_modules/braces/lib/constants.js +57 -0
- package/backend-project/node_modules/braces/lib/expand.js +113 -0
- package/backend-project/node_modules/braces/lib/parse.js +331 -0
- package/backend-project/node_modules/braces/lib/stringify.js +32 -0
- package/backend-project/node_modules/braces/lib/utils.js +122 -0
- package/backend-project/node_modules/braces/package.json +77 -0
- package/backend-project/node_modules/bson/LICENSE.md +201 -0
- package/backend-project/node_modules/bson/README.md +238 -0
- package/backend-project/node_modules/bson/bson.d.ts +1302 -0
- package/backend-project/node_modules/bson/etc/prepare.js +19 -0
- package/backend-project/node_modules/bson/lib/bson.bundle.js +4149 -0
- package/backend-project/node_modules/bson/lib/bson.bundle.js.map +1 -0
- package/backend-project/node_modules/bson/lib/bson.cjs +4144 -0
- package/backend-project/node_modules/bson/lib/bson.cjs.map +1 -0
- package/backend-project/node_modules/bson/lib/bson.mjs +4116 -0
- package/backend-project/node_modules/bson/lib/bson.mjs.map +1 -0
- package/backend-project/node_modules/bson/lib/bson.rn.cjs +4159 -0
- package/backend-project/node_modules/bson/lib/bson.rn.cjs.map +1 -0
- package/backend-project/node_modules/bson/package.json +116 -0
- package/backend-project/node_modules/bson/src/binary.ts +510 -0
- package/backend-project/node_modules/bson/src/bson.ts +250 -0
- package/backend-project/node_modules/bson/src/bson_value.ts +18 -0
- package/backend-project/node_modules/bson/src/code.ts +69 -0
- package/backend-project/node_modules/bson/src/constants.ts +141 -0
- package/backend-project/node_modules/bson/src/db_ref.ts +127 -0
- package/backend-project/node_modules/bson/src/decimal128.ts +858 -0
- package/backend-project/node_modules/bson/src/double.ts +83 -0
- package/backend-project/node_modules/bson/src/error.ts +83 -0
- package/backend-project/node_modules/bson/src/extended_json.ts +515 -0
- package/backend-project/node_modules/bson/src/index.ts +19 -0
- package/backend-project/node_modules/bson/src/int_32.ts +70 -0
- package/backend-project/node_modules/bson/src/long.ts +1067 -0
- package/backend-project/node_modules/bson/src/max_key.ts +36 -0
- package/backend-project/node_modules/bson/src/min_key.ts +36 -0
- package/backend-project/node_modules/bson/src/objectid.ts +323 -0
- package/backend-project/node_modules/bson/src/parser/calculate_size.ts +211 -0
- package/backend-project/node_modules/bson/src/parser/deserializer.ts +751 -0
- package/backend-project/node_modules/bson/src/parser/serializer.ts +1001 -0
- package/backend-project/node_modules/bson/src/parser/utils.ts +29 -0
- package/backend-project/node_modules/bson/src/regexp.ts +114 -0
- package/backend-project/node_modules/bson/src/symbol.ts +58 -0
- package/backend-project/node_modules/bson/src/timestamp.ts +152 -0
- package/backend-project/node_modules/bson/src/utils/byte_utils.ts +61 -0
- package/backend-project/node_modules/bson/src/utils/node_byte_utils.ts +141 -0
- package/backend-project/node_modules/bson/src/utils/web_byte_utils.ts +190 -0
- package/backend-project/node_modules/bson/src/validate_utf8.ts +47 -0
- package/backend-project/node_modules/bson/vendor/base64/LICENSE-MIT.txt +20 -0
- package/backend-project/node_modules/bson/vendor/base64/README.md +112 -0
- package/backend-project/node_modules/bson/vendor/base64/base64.js +157 -0
- package/backend-project/node_modules/bson/vendor/base64/package.json +43 -0
- package/backend-project/node_modules/bson/vendor/text-encoding/LICENSE.md +237 -0
- package/backend-project/node_modules/bson/vendor/text-encoding/README.md +111 -0
- package/backend-project/node_modules/bson/vendor/text-encoding/index.js +9 -0
- package/backend-project/node_modules/bson/vendor/text-encoding/lib/encoding-indexes.js +47 -0
- package/backend-project/node_modules/bson/vendor/text-encoding/lib/encoding.js +3301 -0
- package/backend-project/node_modules/bson/vendor/text-encoding/package.json +37 -0
- package/backend-project/node_modules/buffer-equal-constant-time/.travis.yml +4 -0
- package/backend-project/node_modules/buffer-equal-constant-time/LICENSE.txt +12 -0
- package/backend-project/node_modules/buffer-equal-constant-time/README.md +50 -0
- package/backend-project/node_modules/buffer-equal-constant-time/index.js +41 -0
- package/backend-project/node_modules/buffer-equal-constant-time/package.json +21 -0
- package/backend-project/node_modules/buffer-equal-constant-time/test.js +42 -0
- package/backend-project/node_modules/bytes/History.md +97 -0
- package/backend-project/node_modules/bytes/LICENSE +23 -0
- package/backend-project/node_modules/bytes/Readme.md +152 -0
- package/backend-project/node_modules/bytes/index.js +170 -0
- package/backend-project/node_modules/bytes/package.json +42 -0
- package/backend-project/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
- package/backend-project/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
- package/backend-project/node_modules/call-bind-apply-helpers/.nycrc +9 -0
- package/backend-project/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
- package/backend-project/node_modules/call-bind-apply-helpers/LICENSE +21 -0
- package/backend-project/node_modules/call-bind-apply-helpers/README.md +62 -0
- package/backend-project/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
- package/backend-project/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
- package/backend-project/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
- package/backend-project/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
- package/backend-project/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
- package/backend-project/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
- package/backend-project/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
- package/backend-project/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
- package/backend-project/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
- package/backend-project/node_modules/call-bind-apply-helpers/index.js +15 -0
- package/backend-project/node_modules/call-bind-apply-helpers/package.json +85 -0
- package/backend-project/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
- package/backend-project/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
- package/backend-project/node_modules/call-bind-apply-helpers/test/index.js +63 -0
- package/backend-project/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
- package/backend-project/node_modules/call-bound/.eslintrc +13 -0
- package/backend-project/node_modules/call-bound/.github/FUNDING.yml +12 -0
- package/backend-project/node_modules/call-bound/.nycrc +9 -0
- package/backend-project/node_modules/call-bound/CHANGELOG.md +42 -0
- package/backend-project/node_modules/call-bound/LICENSE +21 -0
- package/backend-project/node_modules/call-bound/README.md +53 -0
- package/backend-project/node_modules/call-bound/index.d.ts +94 -0
- package/backend-project/node_modules/call-bound/index.js +19 -0
- package/backend-project/node_modules/call-bound/package.json +99 -0
- package/backend-project/node_modules/call-bound/test/index.js +61 -0
- package/backend-project/node_modules/call-bound/tsconfig.json +10 -0
- package/backend-project/node_modules/chokidar/LICENSE +21 -0
- package/backend-project/node_modules/chokidar/README.md +308 -0
- package/backend-project/node_modules/chokidar/index.js +973 -0
- package/backend-project/node_modules/chokidar/lib/constants.js +66 -0
- package/backend-project/node_modules/chokidar/lib/fsevents-handler.js +526 -0
- package/backend-project/node_modules/chokidar/lib/nodefs-handler.js +654 -0
- package/backend-project/node_modules/chokidar/package.json +70 -0
- package/backend-project/node_modules/chokidar/types/index.d.ts +192 -0
- package/backend-project/node_modules/content-disposition/HISTORY.md +60 -0
- package/backend-project/node_modules/content-disposition/LICENSE +22 -0
- package/backend-project/node_modules/content-disposition/README.md +142 -0
- package/backend-project/node_modules/content-disposition/index.js +458 -0
- package/backend-project/node_modules/content-disposition/package.json +44 -0
- package/backend-project/node_modules/content-type/HISTORY.md +29 -0
- package/backend-project/node_modules/content-type/LICENSE +22 -0
- package/backend-project/node_modules/content-type/README.md +94 -0
- package/backend-project/node_modules/content-type/index.js +225 -0
- package/backend-project/node_modules/content-type/package.json +42 -0
- package/backend-project/node_modules/cookie/LICENSE +24 -0
- package/backend-project/node_modules/cookie/README.md +317 -0
- package/backend-project/node_modules/cookie/SECURITY.md +25 -0
- package/backend-project/node_modules/cookie/index.js +335 -0
- package/backend-project/node_modules/cookie/package.json +44 -0
- package/backend-project/node_modules/cookie-signature/History.md +42 -0
- package/backend-project/node_modules/cookie-signature/Readme.md +42 -0
- package/backend-project/node_modules/cookie-signature/index.js +51 -0
- package/backend-project/node_modules/cookie-signature/package.json +18 -0
- package/backend-project/node_modules/cors/LICENSE +22 -0
- package/backend-project/node_modules/cors/README.md +277 -0
- package/backend-project/node_modules/cors/lib/index.js +238 -0
- package/backend-project/node_modules/cors/package.json +42 -0
- package/backend-project/node_modules/debug/.coveralls.yml +1 -0
- package/backend-project/node_modules/debug/.eslintrc +11 -0
- package/backend-project/node_modules/debug/.travis.yml +14 -0
- package/backend-project/node_modules/debug/CHANGELOG.md +362 -0
- package/backend-project/node_modules/debug/LICENSE +19 -0
- package/backend-project/node_modules/debug/Makefile +50 -0
- package/backend-project/node_modules/debug/README.md +312 -0
- package/backend-project/node_modules/debug/component.json +19 -0
- package/backend-project/node_modules/debug/karma.conf.js +70 -0
- package/backend-project/node_modules/debug/node.js +1 -0
- package/backend-project/node_modules/debug/package.json +49 -0
- package/backend-project/node_modules/debug/src/browser.js +185 -0
- package/backend-project/node_modules/debug/src/debug.js +202 -0
- package/backend-project/node_modules/debug/src/index.js +10 -0
- package/backend-project/node_modules/debug/src/inspector-log.js +15 -0
- package/backend-project/node_modules/debug/src/node.js +248 -0
- package/backend-project/node_modules/depd/History.md +103 -0
- package/backend-project/node_modules/depd/LICENSE +22 -0
- package/backend-project/node_modules/depd/Readme.md +280 -0
- package/backend-project/node_modules/depd/index.js +538 -0
- package/backend-project/node_modules/depd/lib/browser/index.js +77 -0
- package/backend-project/node_modules/depd/package.json +45 -0
- package/backend-project/node_modules/destroy/LICENSE +23 -0
- package/backend-project/node_modules/destroy/README.md +63 -0
- package/backend-project/node_modules/destroy/index.js +209 -0
- package/backend-project/node_modules/destroy/package.json +48 -0
- package/backend-project/node_modules/dotenv/CHANGELOG.md +520 -0
- package/backend-project/node_modules/dotenv/LICENSE +23 -0
- package/backend-project/node_modules/dotenv/README-es.md +411 -0
- package/backend-project/node_modules/dotenv/README.md +645 -0
- package/backend-project/node_modules/dotenv/SECURITY.md +1 -0
- package/backend-project/node_modules/dotenv/config.d.ts +1 -0
- package/backend-project/node_modules/dotenv/config.js +9 -0
- package/backend-project/node_modules/dotenv/lib/cli-options.js +17 -0
- package/backend-project/node_modules/dotenv/lib/env-options.js +28 -0
- package/backend-project/node_modules/dotenv/lib/main.d.ts +162 -0
- package/backend-project/node_modules/dotenv/lib/main.js +386 -0
- package/backend-project/node_modules/dotenv/package.json +62 -0
- package/backend-project/node_modules/dunder-proto/.eslintrc +5 -0
- package/backend-project/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
- package/backend-project/node_modules/dunder-proto/.nycrc +13 -0
- package/backend-project/node_modules/dunder-proto/CHANGELOG.md +24 -0
- package/backend-project/node_modules/dunder-proto/LICENSE +21 -0
- package/backend-project/node_modules/dunder-proto/README.md +54 -0
- package/backend-project/node_modules/dunder-proto/get.d.ts +5 -0
- package/backend-project/node_modules/dunder-proto/get.js +30 -0
- package/backend-project/node_modules/dunder-proto/package.json +76 -0
- package/backend-project/node_modules/dunder-proto/set.d.ts +5 -0
- package/backend-project/node_modules/dunder-proto/set.js +35 -0
- package/backend-project/node_modules/dunder-proto/test/get.js +34 -0
- package/backend-project/node_modules/dunder-proto/test/index.js +4 -0
- package/backend-project/node_modules/dunder-proto/test/set.js +50 -0
- package/backend-project/node_modules/dunder-proto/tsconfig.json +9 -0
- package/backend-project/node_modules/ecdsa-sig-formatter/CODEOWNERS +1 -0
- package/backend-project/node_modules/ecdsa-sig-formatter/LICENSE +201 -0
- package/backend-project/node_modules/ecdsa-sig-formatter/README.md +65 -0
- package/backend-project/node_modules/ecdsa-sig-formatter/package.json +46 -0
- package/backend-project/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.d.ts +17 -0
- package/backend-project/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js +187 -0
- package/backend-project/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js +23 -0
- package/backend-project/node_modules/ee-first/LICENSE +22 -0
- package/backend-project/node_modules/ee-first/README.md +80 -0
- package/backend-project/node_modules/ee-first/index.js +95 -0
- package/backend-project/node_modules/ee-first/package.json +29 -0
- package/backend-project/node_modules/encodeurl/LICENSE +22 -0
- package/backend-project/node_modules/encodeurl/README.md +109 -0
- package/backend-project/node_modules/encodeurl/index.js +60 -0
- package/backend-project/node_modules/encodeurl/package.json +40 -0
- package/backend-project/node_modules/es-define-property/.eslintrc +13 -0
- package/backend-project/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/backend-project/node_modules/es-define-property/.nycrc +9 -0
- package/backend-project/node_modules/es-define-property/CHANGELOG.md +29 -0
- package/backend-project/node_modules/es-define-property/LICENSE +21 -0
- package/backend-project/node_modules/es-define-property/README.md +49 -0
- package/backend-project/node_modules/es-define-property/index.d.ts +3 -0
- package/backend-project/node_modules/es-define-property/index.js +14 -0
- package/backend-project/node_modules/es-define-property/package.json +81 -0
- package/backend-project/node_modules/es-define-property/test/index.js +56 -0
- package/backend-project/node_modules/es-define-property/tsconfig.json +10 -0
- package/backend-project/node_modules/es-errors/.eslintrc +5 -0
- package/backend-project/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/backend-project/node_modules/es-errors/CHANGELOG.md +40 -0
- package/backend-project/node_modules/es-errors/LICENSE +21 -0
- package/backend-project/node_modules/es-errors/README.md +55 -0
- package/backend-project/node_modules/es-errors/eval.d.ts +3 -0
- package/backend-project/node_modules/es-errors/eval.js +4 -0
- package/backend-project/node_modules/es-errors/index.d.ts +3 -0
- package/backend-project/node_modules/es-errors/index.js +4 -0
- package/backend-project/node_modules/es-errors/package.json +80 -0
- package/backend-project/node_modules/es-errors/range.d.ts +3 -0
- package/backend-project/node_modules/es-errors/range.js +4 -0
- package/backend-project/node_modules/es-errors/ref.d.ts +3 -0
- package/backend-project/node_modules/es-errors/ref.js +4 -0
- package/backend-project/node_modules/es-errors/syntax.d.ts +3 -0
- package/backend-project/node_modules/es-errors/syntax.js +4 -0
- package/backend-project/node_modules/es-errors/test/index.js +19 -0
- package/backend-project/node_modules/es-errors/tsconfig.json +49 -0
- package/backend-project/node_modules/es-errors/type.d.ts +3 -0
- package/backend-project/node_modules/es-errors/type.js +4 -0
- package/backend-project/node_modules/es-errors/uri.d.ts +3 -0
- package/backend-project/node_modules/es-errors/uri.js +4 -0
- package/backend-project/node_modules/es-object-atoms/.eslintrc +16 -0
- package/backend-project/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
- package/backend-project/node_modules/es-object-atoms/CHANGELOG.md +44 -0
- package/backend-project/node_modules/es-object-atoms/LICENSE +21 -0
- package/backend-project/node_modules/es-object-atoms/README.md +63 -0
- package/backend-project/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
- package/backend-project/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
- package/backend-project/node_modules/es-object-atoms/ToObject.d.ts +7 -0
- package/backend-project/node_modules/es-object-atoms/ToObject.js +10 -0
- package/backend-project/node_modules/es-object-atoms/index.d.ts +3 -0
- package/backend-project/node_modules/es-object-atoms/index.js +4 -0
- package/backend-project/node_modules/es-object-atoms/isObject.d.ts +3 -0
- package/backend-project/node_modules/es-object-atoms/isObject.js +6 -0
- package/backend-project/node_modules/es-object-atoms/package.json +79 -0
- package/backend-project/node_modules/es-object-atoms/test/index.js +38 -0
- package/backend-project/node_modules/es-object-atoms/tsconfig.json +7 -0
- package/backend-project/node_modules/escape-html/LICENSE +24 -0
- package/backend-project/node_modules/escape-html/Readme.md +43 -0
- package/backend-project/node_modules/escape-html/index.js +78 -0
- package/backend-project/node_modules/escape-html/package.json +24 -0
- package/backend-project/node_modules/etag/HISTORY.md +83 -0
- package/backend-project/node_modules/etag/LICENSE +22 -0
- package/backend-project/node_modules/etag/README.md +159 -0
- package/backend-project/node_modules/etag/index.js +131 -0
- package/backend-project/node_modules/etag/package.json +47 -0
- package/backend-project/node_modules/express/History.md +3676 -0
- package/backend-project/node_modules/express/LICENSE +24 -0
- package/backend-project/node_modules/express/Readme.md +260 -0
- package/backend-project/node_modules/express/index.js +11 -0
- package/backend-project/node_modules/express/lib/application.js +661 -0
- package/backend-project/node_modules/express/lib/express.js +116 -0
- package/backend-project/node_modules/express/lib/middleware/init.js +43 -0
- package/backend-project/node_modules/express/lib/middleware/query.js +47 -0
- package/backend-project/node_modules/express/lib/request.js +525 -0
- package/backend-project/node_modules/express/lib/response.js +1179 -0
- package/backend-project/node_modules/express/lib/router/index.js +673 -0
- package/backend-project/node_modules/express/lib/router/layer.js +181 -0
- package/backend-project/node_modules/express/lib/router/route.js +230 -0
- package/backend-project/node_modules/express/lib/utils.js +304 -0
- package/backend-project/node_modules/express/lib/view.js +182 -0
- package/backend-project/node_modules/express/package.json +102 -0
- package/backend-project/node_modules/fill-range/LICENSE +21 -0
- package/backend-project/node_modules/fill-range/README.md +237 -0
- package/backend-project/node_modules/fill-range/index.js +248 -0
- package/backend-project/node_modules/fill-range/package.json +74 -0
- package/backend-project/node_modules/finalhandler/HISTORY.md +216 -0
- package/backend-project/node_modules/finalhandler/LICENSE +22 -0
- package/backend-project/node_modules/finalhandler/README.md +147 -0
- package/backend-project/node_modules/finalhandler/SECURITY.md +25 -0
- package/backend-project/node_modules/finalhandler/index.js +341 -0
- package/backend-project/node_modules/finalhandler/package.json +47 -0
- package/backend-project/node_modules/forwarded/HISTORY.md +21 -0
- package/backend-project/node_modules/forwarded/LICENSE +22 -0
- package/backend-project/node_modules/forwarded/README.md +57 -0
- package/backend-project/node_modules/forwarded/index.js +90 -0
- package/backend-project/node_modules/forwarded/package.json +45 -0
- package/backend-project/node_modules/fresh/HISTORY.md +70 -0
- package/backend-project/node_modules/fresh/LICENSE +23 -0
- package/backend-project/node_modules/fresh/README.md +119 -0
- package/backend-project/node_modules/fresh/index.js +137 -0
- package/backend-project/node_modules/fresh/package.json +46 -0
- package/backend-project/node_modules/function-bind/.eslintrc +21 -0
- package/backend-project/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/backend-project/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/backend-project/node_modules/function-bind/.nycrc +13 -0
- package/backend-project/node_modules/function-bind/CHANGELOG.md +136 -0
- package/backend-project/node_modules/function-bind/LICENSE +20 -0
- package/backend-project/node_modules/function-bind/README.md +46 -0
- package/backend-project/node_modules/function-bind/implementation.js +84 -0
- package/backend-project/node_modules/function-bind/index.js +5 -0
- package/backend-project/node_modules/function-bind/package.json +87 -0
- package/backend-project/node_modules/function-bind/test/.eslintrc +9 -0
- package/backend-project/node_modules/function-bind/test/index.js +252 -0
- package/backend-project/node_modules/get-intrinsic/.eslintrc +42 -0
- package/backend-project/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/backend-project/node_modules/get-intrinsic/.nycrc +9 -0
- package/backend-project/node_modules/get-intrinsic/CHANGELOG.md +186 -0
- package/backend-project/node_modules/get-intrinsic/LICENSE +21 -0
- package/backend-project/node_modules/get-intrinsic/README.md +71 -0
- package/backend-project/node_modules/get-intrinsic/index.js +378 -0
- package/backend-project/node_modules/get-intrinsic/package.json +97 -0
- package/backend-project/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
- package/backend-project/node_modules/get-proto/.eslintrc +10 -0
- package/backend-project/node_modules/get-proto/.github/FUNDING.yml +12 -0
- package/backend-project/node_modules/get-proto/.nycrc +9 -0
- package/backend-project/node_modules/get-proto/CHANGELOG.md +21 -0
- package/backend-project/node_modules/get-proto/LICENSE +21 -0
- package/backend-project/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
- package/backend-project/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
- package/backend-project/node_modules/get-proto/README.md +50 -0
- package/backend-project/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
- package/backend-project/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
- package/backend-project/node_modules/get-proto/index.d.ts +5 -0
- package/backend-project/node_modules/get-proto/index.js +27 -0
- package/backend-project/node_modules/get-proto/package.json +81 -0
- package/backend-project/node_modules/get-proto/test/index.js +68 -0
- package/backend-project/node_modules/get-proto/tsconfig.json +9 -0
- package/backend-project/node_modules/glob-parent/CHANGELOG.md +110 -0
- package/backend-project/node_modules/glob-parent/LICENSE +15 -0
- package/backend-project/node_modules/glob-parent/README.md +137 -0
- package/backend-project/node_modules/glob-parent/index.js +42 -0
- package/backend-project/node_modules/glob-parent/package.json +48 -0
- package/backend-project/node_modules/gopd/.eslintrc +16 -0
- package/backend-project/node_modules/gopd/.github/FUNDING.yml +12 -0
- package/backend-project/node_modules/gopd/CHANGELOG.md +45 -0
- package/backend-project/node_modules/gopd/LICENSE +21 -0
- package/backend-project/node_modules/gopd/README.md +40 -0
- package/backend-project/node_modules/gopd/gOPD.d.ts +1 -0
- package/backend-project/node_modules/gopd/gOPD.js +4 -0
- package/backend-project/node_modules/gopd/index.d.ts +5 -0
- package/backend-project/node_modules/gopd/index.js +15 -0
- package/backend-project/node_modules/gopd/package.json +77 -0
- package/backend-project/node_modules/gopd/test/index.js +36 -0
- package/backend-project/node_modules/gopd/tsconfig.json +9 -0
- package/backend-project/node_modules/has-flag/index.js +8 -0
- package/backend-project/node_modules/has-flag/license +9 -0
- package/backend-project/node_modules/has-flag/package.json +44 -0
- package/backend-project/node_modules/has-flag/readme.md +70 -0
- package/backend-project/node_modules/has-symbols/.eslintrc +11 -0
- package/backend-project/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/backend-project/node_modules/has-symbols/.nycrc +9 -0
- package/backend-project/node_modules/has-symbols/CHANGELOG.md +91 -0
- package/backend-project/node_modules/has-symbols/LICENSE +21 -0
- package/backend-project/node_modules/has-symbols/README.md +46 -0
- package/backend-project/node_modules/has-symbols/index.d.ts +3 -0
- package/backend-project/node_modules/has-symbols/index.js +14 -0
- package/backend-project/node_modules/has-symbols/package.json +111 -0
- package/backend-project/node_modules/has-symbols/shams.d.ts +3 -0
- package/backend-project/node_modules/has-symbols/shams.js +45 -0
- package/backend-project/node_modules/has-symbols/test/index.js +22 -0
- package/backend-project/node_modules/has-symbols/test/shams/core-js.js +29 -0
- package/backend-project/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
- package/backend-project/node_modules/has-symbols/test/tests.js +58 -0
- package/backend-project/node_modules/has-symbols/tsconfig.json +10 -0
- package/backend-project/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/backend-project/node_modules/hasown/.nycrc +13 -0
- package/backend-project/node_modules/hasown/CHANGELOG.md +58 -0
- package/backend-project/node_modules/hasown/LICENSE +21 -0
- package/backend-project/node_modules/hasown/README.md +40 -0
- package/backend-project/node_modules/hasown/eslint.config.mjs +6 -0
- package/backend-project/node_modules/hasown/index.d.ts +3 -0
- package/backend-project/node_modules/hasown/index.js +8 -0
- package/backend-project/node_modules/hasown/package.json +91 -0
- package/backend-project/node_modules/hasown/tsconfig.json +6 -0
- package/backend-project/node_modules/http-errors/HISTORY.md +186 -0
- package/backend-project/node_modules/http-errors/LICENSE +23 -0
- package/backend-project/node_modules/http-errors/README.md +169 -0
- package/backend-project/node_modules/http-errors/index.js +290 -0
- package/backend-project/node_modules/http-errors/package.json +54 -0
- package/backend-project/node_modules/iconv-lite/Changelog.md +162 -0
- package/backend-project/node_modules/iconv-lite/LICENSE +21 -0
- package/backend-project/node_modules/iconv-lite/README.md +156 -0
- package/backend-project/node_modules/iconv-lite/encodings/dbcs-codec.js +555 -0
- package/backend-project/node_modules/iconv-lite/encodings/dbcs-data.js +176 -0
- package/backend-project/node_modules/iconv-lite/encodings/index.js +22 -0
- package/backend-project/node_modules/iconv-lite/encodings/internal.js +188 -0
- package/backend-project/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
- package/backend-project/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/backend-project/node_modules/iconv-lite/encodings/sbcs-data.js +174 -0
- package/backend-project/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/backend-project/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/backend-project/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/backend-project/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/backend-project/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/backend-project/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/backend-project/node_modules/iconv-lite/encodings/tables/gbk-added.json +55 -0
- package/backend-project/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/backend-project/node_modules/iconv-lite/encodings/utf16.js +177 -0
- package/backend-project/node_modules/iconv-lite/encodings/utf7.js +290 -0
- package/backend-project/node_modules/iconv-lite/lib/bom-handling.js +52 -0
- package/backend-project/node_modules/iconv-lite/lib/extend-node.js +217 -0
- package/backend-project/node_modules/iconv-lite/lib/index.d.ts +24 -0
- package/backend-project/node_modules/iconv-lite/lib/index.js +153 -0
- package/backend-project/node_modules/iconv-lite/lib/streams.js +121 -0
- package/backend-project/node_modules/iconv-lite/package.json +46 -0
- package/backend-project/node_modules/ignore-by-default/LICENSE +14 -0
- package/backend-project/node_modules/ignore-by-default/README.md +26 -0
- package/backend-project/node_modules/ignore-by-default/index.js +12 -0
- package/backend-project/node_modules/ignore-by-default/package.json +34 -0
- package/backend-project/node_modules/inherits/LICENSE +16 -0
- package/backend-project/node_modules/inherits/README.md +42 -0
- package/backend-project/node_modules/inherits/inherits.js +9 -0
- package/backend-project/node_modules/inherits/inherits_browser.js +27 -0
- package/backend-project/node_modules/inherits/package.json +29 -0
- package/backend-project/node_modules/ip-address/LICENSE +19 -0
- package/backend-project/node_modules/ip-address/README.md +278 -0
- package/backend-project/node_modules/ip-address/dist/address-error.d.ts +4 -0
- package/backend-project/node_modules/ip-address/dist/address-error.js +12 -0
- package/backend-project/node_modules/ip-address/dist/address-error.js.map +1 -0
- package/backend-project/node_modules/ip-address/dist/common.d.ts +20 -0
- package/backend-project/node_modules/ip-address/dist/common.js +67 -0
- package/backend-project/node_modules/ip-address/dist/common.js.map +1 -0
- package/backend-project/node_modules/ip-address/dist/ip-address.d.ts +7 -0
- package/backend-project/node_modules/ip-address/dist/ip-address.js +35 -0
- package/backend-project/node_modules/ip-address/dist/ip-address.js.map +1 -0
- package/backend-project/node_modules/ip-address/dist/ipv4.d.ts +267 -0
- package/backend-project/node_modules/ip-address/dist/ipv4.js +485 -0
- package/backend-project/node_modules/ip-address/dist/ipv4.js.map +1 -0
- package/backend-project/node_modules/ip-address/dist/ipv6.d.ts +489 -0
- package/backend-project/node_modules/ip-address/dist/ipv6.js +1217 -0
- package/backend-project/node_modules/ip-address/dist/ipv6.js.map +1 -0
- package/backend-project/node_modules/ip-address/dist/v4/constants.d.ts +4 -0
- package/backend-project/node_modules/ip-address/dist/v4/constants.js +8 -0
- package/backend-project/node_modules/ip-address/dist/v4/constants.js.map +1 -0
- package/backend-project/node_modules/ip-address/dist/v6/constants.d.ts +44 -0
- package/backend-project/node_modules/ip-address/dist/v6/constants.js +81 -0
- package/backend-project/node_modules/ip-address/dist/v6/constants.js.map +1 -0
- package/backend-project/node_modules/ip-address/dist/v6/helpers.d.ts +18 -0
- package/backend-project/node_modules/ip-address/dist/v6/helpers.js +54 -0
- package/backend-project/node_modules/ip-address/dist/v6/helpers.js.map +1 -0
- package/backend-project/node_modules/ip-address/dist/v6/regular-expressions.d.ts +5 -0
- package/backend-project/node_modules/ip-address/dist/v6/regular-expressions.js +95 -0
- package/backend-project/node_modules/ip-address/dist/v6/regular-expressions.js.map +1 -0
- package/backend-project/node_modules/ip-address/package.json +88 -0
- package/backend-project/node_modules/ipaddr.js/LICENSE +19 -0
- package/backend-project/node_modules/ipaddr.js/README.md +233 -0
- package/backend-project/node_modules/ipaddr.js/ipaddr.min.js +1 -0
- package/backend-project/node_modules/ipaddr.js/lib/ipaddr.js +673 -0
- package/backend-project/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +68 -0
- package/backend-project/node_modules/ipaddr.js/package.json +35 -0
- package/backend-project/node_modules/is-binary-path/index.d.ts +17 -0
- package/backend-project/node_modules/is-binary-path/index.js +7 -0
- package/backend-project/node_modules/is-binary-path/license +9 -0
- package/backend-project/node_modules/is-binary-path/package.json +40 -0
- package/backend-project/node_modules/is-binary-path/readme.md +34 -0
- package/backend-project/node_modules/is-extglob/LICENSE +21 -0
- package/backend-project/node_modules/is-extglob/README.md +107 -0
- package/backend-project/node_modules/is-extglob/index.js +20 -0
- package/backend-project/node_modules/is-extglob/package.json +69 -0
- package/backend-project/node_modules/is-glob/LICENSE +21 -0
- package/backend-project/node_modules/is-glob/README.md +206 -0
- package/backend-project/node_modules/is-glob/index.js +150 -0
- package/backend-project/node_modules/is-glob/package.json +81 -0
- package/backend-project/node_modules/is-number/LICENSE +21 -0
- package/backend-project/node_modules/is-number/README.md +187 -0
- package/backend-project/node_modules/is-number/index.js +18 -0
- package/backend-project/node_modules/is-number/package.json +82 -0
- package/backend-project/node_modules/jsonwebtoken/LICENSE +21 -0
- package/backend-project/node_modules/jsonwebtoken/README.md +396 -0
- package/backend-project/node_modules/jsonwebtoken/decode.js +30 -0
- package/backend-project/node_modules/jsonwebtoken/index.js +8 -0
- package/backend-project/node_modules/jsonwebtoken/lib/JsonWebTokenError.js +14 -0
- package/backend-project/node_modules/jsonwebtoken/lib/NotBeforeError.js +13 -0
- package/backend-project/node_modules/jsonwebtoken/lib/TokenExpiredError.js +13 -0
- package/backend-project/node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js +3 -0
- package/backend-project/node_modules/jsonwebtoken/lib/psSupported.js +3 -0
- package/backend-project/node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js +3 -0
- package/backend-project/node_modules/jsonwebtoken/lib/timespan.js +18 -0
- package/backend-project/node_modules/jsonwebtoken/lib/validateAsymmetricKey.js +66 -0
- package/backend-project/node_modules/jsonwebtoken/node_modules/ms/index.js +162 -0
- package/backend-project/node_modules/jsonwebtoken/node_modules/ms/license.md +21 -0
- package/backend-project/node_modules/jsonwebtoken/node_modules/ms/package.json +38 -0
- package/backend-project/node_modules/jsonwebtoken/node_modules/ms/readme.md +59 -0
- package/backend-project/node_modules/jsonwebtoken/package.json +70 -0
- package/backend-project/node_modules/jsonwebtoken/sign.js +253 -0
- package/backend-project/node_modules/jsonwebtoken/verify.js +263 -0
- package/backend-project/node_modules/jwa/LICENSE +17 -0
- package/backend-project/node_modules/jwa/README.md +150 -0
- package/backend-project/node_modules/jwa/index.js +266 -0
- package/backend-project/node_modules/jwa/opslevel.yml +6 -0
- package/backend-project/node_modules/jwa/package.json +37 -0
- package/backend-project/node_modules/jws/CHANGELOG.md +56 -0
- package/backend-project/node_modules/jws/LICENSE +17 -0
- package/backend-project/node_modules/jws/index.js +22 -0
- package/backend-project/node_modules/jws/lib/data-stream.js +55 -0
- package/backend-project/node_modules/jws/lib/sign-stream.js +83 -0
- package/backend-project/node_modules/jws/lib/tostring.js +10 -0
- package/backend-project/node_modules/jws/lib/verify-stream.js +125 -0
- package/backend-project/node_modules/jws/opslevel.yml +6 -0
- package/backend-project/node_modules/jws/package.json +34 -0
- package/backend-project/node_modules/jws/readme.md +255 -0
- package/backend-project/node_modules/kareem/LICENSE +202 -0
- package/backend-project/node_modules/kareem/README.md +420 -0
- package/backend-project/node_modules/kareem/index.js +668 -0
- package/backend-project/node_modules/kareem/package.json +31 -0
- package/backend-project/node_modules/lodash.includes/LICENSE +47 -0
- package/backend-project/node_modules/lodash.includes/README.md +18 -0
- package/backend-project/node_modules/lodash.includes/index.js +745 -0
- package/backend-project/node_modules/lodash.includes/package.json +17 -0
- package/backend-project/node_modules/lodash.isboolean/LICENSE +22 -0
- package/backend-project/node_modules/lodash.isboolean/README.md +18 -0
- package/backend-project/node_modules/lodash.isboolean/index.js +70 -0
- package/backend-project/node_modules/lodash.isboolean/package.json +17 -0
- package/backend-project/node_modules/lodash.isinteger/LICENSE +47 -0
- package/backend-project/node_modules/lodash.isinteger/README.md +18 -0
- package/backend-project/node_modules/lodash.isinteger/index.js +265 -0
- package/backend-project/node_modules/lodash.isinteger/package.json +17 -0
- package/backend-project/node_modules/lodash.isnumber/LICENSE +22 -0
- package/backend-project/node_modules/lodash.isnumber/README.md +18 -0
- package/backend-project/node_modules/lodash.isnumber/index.js +79 -0
- package/backend-project/node_modules/lodash.isnumber/package.json +17 -0
- package/backend-project/node_modules/lodash.isplainobject/LICENSE +47 -0
- package/backend-project/node_modules/lodash.isplainobject/README.md +18 -0
- package/backend-project/node_modules/lodash.isplainobject/index.js +139 -0
- package/backend-project/node_modules/lodash.isplainobject/package.json +17 -0
- package/backend-project/node_modules/lodash.isstring/LICENSE +22 -0
- package/backend-project/node_modules/lodash.isstring/README.md +18 -0
- package/backend-project/node_modules/lodash.isstring/index.js +95 -0
- package/backend-project/node_modules/lodash.isstring/package.json +17 -0
- package/backend-project/node_modules/lodash.once/LICENSE +47 -0
- package/backend-project/node_modules/lodash.once/README.md +18 -0
- package/backend-project/node_modules/lodash.once/index.js +294 -0
- package/backend-project/node_modules/lodash.once/package.json +17 -0
- package/backend-project/node_modules/math-intrinsics/.eslintrc +16 -0
- package/backend-project/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
- package/backend-project/node_modules/math-intrinsics/CHANGELOG.md +24 -0
- package/backend-project/node_modules/math-intrinsics/LICENSE +21 -0
- package/backend-project/node_modules/math-intrinsics/README.md +50 -0
- package/backend-project/node_modules/math-intrinsics/abs.d.ts +1 -0
- package/backend-project/node_modules/math-intrinsics/abs.js +4 -0
- package/backend-project/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
- package/backend-project/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
- package/backend-project/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
- package/backend-project/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
- package/backend-project/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
- package/backend-project/node_modules/math-intrinsics/constants/maxValue.js +5 -0
- package/backend-project/node_modules/math-intrinsics/floor.d.ts +1 -0
- package/backend-project/node_modules/math-intrinsics/floor.js +4 -0
- package/backend-project/node_modules/math-intrinsics/isFinite.d.ts +3 -0
- package/backend-project/node_modules/math-intrinsics/isFinite.js +12 -0
- package/backend-project/node_modules/math-intrinsics/isInteger.d.ts +3 -0
- package/backend-project/node_modules/math-intrinsics/isInteger.js +16 -0
- package/backend-project/node_modules/math-intrinsics/isNaN.d.ts +1 -0
- package/backend-project/node_modules/math-intrinsics/isNaN.js +6 -0
- package/backend-project/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
- package/backend-project/node_modules/math-intrinsics/isNegativeZero.js +6 -0
- package/backend-project/node_modules/math-intrinsics/max.d.ts +1 -0
- package/backend-project/node_modules/math-intrinsics/max.js +4 -0
- package/backend-project/node_modules/math-intrinsics/min.d.ts +1 -0
- package/backend-project/node_modules/math-intrinsics/min.js +4 -0
- package/backend-project/node_modules/math-intrinsics/mod.d.ts +3 -0
- package/backend-project/node_modules/math-intrinsics/mod.js +9 -0
- package/backend-project/node_modules/math-intrinsics/package.json +86 -0
- package/backend-project/node_modules/math-intrinsics/pow.d.ts +1 -0
- package/backend-project/node_modules/math-intrinsics/pow.js +4 -0
- package/backend-project/node_modules/math-intrinsics/round.d.ts +1 -0
- package/backend-project/node_modules/math-intrinsics/round.js +4 -0
- package/backend-project/node_modules/math-intrinsics/sign.d.ts +3 -0
- package/backend-project/node_modules/math-intrinsics/sign.js +11 -0
- package/backend-project/node_modules/math-intrinsics/test/index.js +192 -0
- package/backend-project/node_modules/math-intrinsics/tsconfig.json +3 -0
- package/backend-project/node_modules/media-typer/HISTORY.md +22 -0
- package/backend-project/node_modules/media-typer/LICENSE +22 -0
- package/backend-project/node_modules/media-typer/README.md +81 -0
- package/backend-project/node_modules/media-typer/index.js +270 -0
- package/backend-project/node_modules/media-typer/package.json +26 -0
- package/backend-project/node_modules/memory-pager/.travis.yml +4 -0
- package/backend-project/node_modules/memory-pager/LICENSE +21 -0
- package/backend-project/node_modules/memory-pager/README.md +65 -0
- package/backend-project/node_modules/memory-pager/index.js +160 -0
- package/backend-project/node_modules/memory-pager/package.json +24 -0
- package/backend-project/node_modules/memory-pager/test.js +80 -0
- package/backend-project/node_modules/merge-descriptors/HISTORY.md +21 -0
- package/backend-project/node_modules/merge-descriptors/LICENSE +23 -0
- package/backend-project/node_modules/merge-descriptors/README.md +49 -0
- package/backend-project/node_modules/merge-descriptors/index.js +60 -0
- package/backend-project/node_modules/merge-descriptors/package.json +39 -0
- package/backend-project/node_modules/methods/HISTORY.md +29 -0
- package/backend-project/node_modules/methods/LICENSE +24 -0
- package/backend-project/node_modules/methods/README.md +51 -0
- package/backend-project/node_modules/methods/index.js +69 -0
- package/backend-project/node_modules/methods/package.json +36 -0
- package/backend-project/node_modules/mime/CHANGELOG.md +164 -0
- package/backend-project/node_modules/mime/LICENSE +21 -0
- package/backend-project/node_modules/mime/README.md +90 -0
- package/backend-project/node_modules/mime/cli.js +8 -0
- package/backend-project/node_modules/mime/mime.js +108 -0
- package/backend-project/node_modules/mime/package.json +44 -0
- package/backend-project/node_modules/mime/src/build.js +53 -0
- package/backend-project/node_modules/mime/src/test.js +60 -0
- package/backend-project/node_modules/mime/types.json +1 -0
- package/backend-project/node_modules/mime-db/HISTORY.md +507 -0
- package/backend-project/node_modules/mime-db/LICENSE +23 -0
- package/backend-project/node_modules/mime-db/README.md +100 -0
- package/backend-project/node_modules/mime-db/db.json +8519 -0
- package/backend-project/node_modules/mime-db/index.js +12 -0
- package/backend-project/node_modules/mime-db/package.json +60 -0
- package/backend-project/node_modules/mime-types/HISTORY.md +397 -0
- package/backend-project/node_modules/mime-types/LICENSE +23 -0
- package/backend-project/node_modules/mime-types/README.md +113 -0
- package/backend-project/node_modules/mime-types/index.js +188 -0
- package/backend-project/node_modules/mime-types/package.json +44 -0
- package/backend-project/node_modules/minimatch/LICENSE.md +55 -0
- package/backend-project/node_modules/minimatch/README.md +528 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +2 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/ast.d.ts +22 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/ast.js +845 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +8 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/brace-expressions.js +150 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/escape.d.ts +15 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/escape.js +30 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/index.d.ts +174 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/index.js +1127 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/package.json +3 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/unescape.d.ts +22 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/unescape.js +38 -0
- package/backend-project/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
- package/backend-project/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +2 -0
- package/backend-project/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
- package/backend-project/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
- package/backend-project/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
- package/backend-project/node_modules/minimatch/dist/esm/ast.d.ts +22 -0
- package/backend-project/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
- package/backend-project/node_modules/minimatch/dist/esm/ast.js +841 -0
- package/backend-project/node_modules/minimatch/dist/esm/ast.js.map +1 -0
- package/backend-project/node_modules/minimatch/dist/esm/brace-expressions.d.ts +8 -0
- package/backend-project/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
- package/backend-project/node_modules/minimatch/dist/esm/brace-expressions.js +146 -0
- package/backend-project/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
- package/backend-project/node_modules/minimatch/dist/esm/escape.d.ts +15 -0
- package/backend-project/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
- package/backend-project/node_modules/minimatch/dist/esm/escape.js +26 -0
- package/backend-project/node_modules/minimatch/dist/esm/escape.js.map +1 -0
- package/backend-project/node_modules/minimatch/dist/esm/index.d.ts +174 -0
- package/backend-project/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
- package/backend-project/node_modules/minimatch/dist/esm/index.js +1114 -0
- package/backend-project/node_modules/minimatch/dist/esm/index.js.map +1 -0
- package/backend-project/node_modules/minimatch/dist/esm/package.json +3 -0
- package/backend-project/node_modules/minimatch/dist/esm/unescape.d.ts +22 -0
- package/backend-project/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
- package/backend-project/node_modules/minimatch/dist/esm/unescape.js +34 -0
- package/backend-project/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
- package/backend-project/node_modules/minimatch/package.json +73 -0
- package/backend-project/node_modules/mongodb/LICENSE.md +201 -0
- package/backend-project/node_modules/mongodb/README.md +310 -0
- package/backend-project/node_modules/mongodb/etc/prepare.js +12 -0
- package/backend-project/node_modules/mongodb/lib/admin.js +149 -0
- package/backend-project/node_modules/mongodb/lib/admin.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/bson.js +61 -0
- package/backend-project/node_modules/mongodb/lib/bson.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/bulk/common.js +907 -0
- package/backend-project/node_modules/mongodb/lib/bulk/common.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/bulk/ordered.js +67 -0
- package/backend-project/node_modules/mongodb/lib/bulk/ordered.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/bulk/unordered.js +92 -0
- package/backend-project/node_modules/mongodb/lib/bulk/unordered.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/change_stream.js +397 -0
- package/backend-project/node_modules/mongodb/lib/change_stream.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/auth_provider.js +47 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/auth_provider.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/gssapi.js +153 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/gssapi.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongo_credentials.js +177 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongo_credentials.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongocr.js +35 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongocr.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_aws.js +227 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_aws.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/aws_service_workflow.js +30 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/aws_service_workflow.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_service_workflow.js +73 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_service_workflow.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_token_cache.js +49 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_token_cache.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/cache.js +55 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/cache.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_lock_cache.js +89 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_lock_cache.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_workflow.js +204 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_workflow.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/service_workflow.js +43 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/service_workflow.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_entry_cache.js +62 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_entry_cache.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.js +68 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/plain.js +26 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/plain.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/providers.js +24 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/providers.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/scram.js +262 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/scram.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/x509.js +36 -0
- package/backend-project/node_modules/mongodb/lib/cmap/auth/x509.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/command_monitoring_events.js +251 -0
- package/backend-project/node_modules/mongodb/lib/cmap/command_monitoring_events.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/commands.js +487 -0
- package/backend-project/node_modules/mongodb/lib/cmap/commands.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/connect.js +378 -0
- package/backend-project/node_modules/mongodb/lib/cmap/connect.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/connection.js +492 -0
- package/backend-project/node_modules/mongodb/lib/cmap/connection.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/connection_pool.js +637 -0
- package/backend-project/node_modules/mongodb/lib/cmap/connection_pool.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/connection_pool_events.js +191 -0
- package/backend-project/node_modules/mongodb/lib/cmap/connection_pool_events.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/errors.js +64 -0
- package/backend-project/node_modules/mongodb/lib/cmap/errors.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/handshake/client_metadata.js +173 -0
- package/backend-project/node_modules/mongodb/lib/cmap/handshake/client_metadata.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/message_stream.js +156 -0
- package/backend-project/node_modules/mongodb/lib/cmap/message_stream.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/metrics.js +62 -0
- package/backend-project/node_modules/mongodb/lib/cmap/metrics.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/stream_description.js +51 -0
- package/backend-project/node_modules/mongodb/lib/cmap/stream_description.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/wire_protocol/compression.js +107 -0
- package/backend-project/node_modules/mongodb/lib/cmap/wire_protocol/compression.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/wire_protocol/constants.js +17 -0
- package/backend-project/node_modules/mongodb/lib/cmap/wire_protocol/constants.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cmap/wire_protocol/shared.js +40 -0
- package/backend-project/node_modules/mongodb/lib/cmap/wire_protocol/shared.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/collection.js +629 -0
- package/backend-project/node_modules/mongodb/lib/collection.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/connection_string.js +1103 -0
- package/backend-project/node_modules/mongodb/lib/connection_string.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/constants.js +142 -0
- package/backend-project/node_modules/mongodb/lib/constants.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cursor/abstract_cursor.js +698 -0
- package/backend-project/node_modules/mongodb/lib/cursor/abstract_cursor.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cursor/aggregation_cursor.js +168 -0
- package/backend-project/node_modules/mongodb/lib/cursor/aggregation_cursor.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cursor/change_stream_cursor.js +115 -0
- package/backend-project/node_modules/mongodb/lib/cursor/change_stream_cursor.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cursor/find_cursor.js +382 -0
- package/backend-project/node_modules/mongodb/lib/cursor/find_cursor.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cursor/list_collections_cursor.js +37 -0
- package/backend-project/node_modules/mongodb/lib/cursor/list_collections_cursor.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cursor/list_indexes_cursor.js +36 -0
- package/backend-project/node_modules/mongodb/lib/cursor/list_indexes_cursor.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cursor/list_search_indexes_cursor.js +14 -0
- package/backend-project/node_modules/mongodb/lib/cursor/list_search_indexes_cursor.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/cursor/run_command_cursor.js +94 -0
- package/backend-project/node_modules/mongodb/lib/cursor/run_command_cursor.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/db.js +379 -0
- package/backend-project/node_modules/mongodb/lib/db.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/deps.js +87 -0
- package/backend-project/node_modules/mongodb/lib/deps.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/encrypter.js +103 -0
- package/backend-project/node_modules/mongodb/lib/encrypter.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/error.js +832 -0
- package/backend-project/node_modules/mongodb/lib/error.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/explain.js +35 -0
- package/backend-project/node_modules/mongodb/lib/explain.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/gridfs/download.js +313 -0
- package/backend-project/node_modules/mongodb/lib/gridfs/download.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/gridfs/index.js +128 -0
- package/backend-project/node_modules/mongodb/lib/gridfs/index.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/gridfs/upload.js +330 -0
- package/backend-project/node_modules/mongodb/lib/gridfs/upload.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/index.js +162 -0
- package/backend-project/node_modules/mongodb/lib/index.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/mongo_client.js +329 -0
- package/backend-project/node_modules/mongodb/lib/mongo_client.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/mongo_logger.js +360 -0
- package/backend-project/node_modules/mongodb/lib/mongo_logger.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/mongo_types.js +22 -0
- package/backend-project/node_modules/mongodb/lib/mongo_types.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/add_user.js +74 -0
- package/backend-project/node_modules/mongodb/lib/operations/add_user.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/aggregate.js +92 -0
- package/backend-project/node_modules/mongodb/lib/operations/aggregate.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/bulk_write.js +36 -0
- package/backend-project/node_modules/mongodb/lib/operations/bulk_write.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/collections.js +32 -0
- package/backend-project/node_modules/mongodb/lib/operations/collections.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/command.js +88 -0
- package/backend-project/node_modules/mongodb/lib/operations/command.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/common_functions.js +69 -0
- package/backend-project/node_modules/mongodb/lib/operations/common_functions.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/count.js +39 -0
- package/backend-project/node_modules/mongodb/lib/operations/count.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/count_documents.js +37 -0
- package/backend-project/node_modules/mongodb/lib/operations/count_documents.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/create_collection.js +108 -0
- package/backend-project/node_modules/mongodb/lib/operations/create_collection.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/delete.js +119 -0
- package/backend-project/node_modules/mongodb/lib/operations/delete.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/distinct.js +67 -0
- package/backend-project/node_modules/mongodb/lib/operations/distinct.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/drop.js +82 -0
- package/backend-project/node_modules/mongodb/lib/operations/drop.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/estimated_document_count.js +38 -0
- package/backend-project/node_modules/mongodb/lib/operations/estimated_document_count.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/eval.js +55 -0
- package/backend-project/node_modules/mongodb/lib/operations/eval.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/execute_operation.js +162 -0
- package/backend-project/node_modules/mongodb/lib/operations/execute_operation.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/find.js +149 -0
- package/backend-project/node_modules/mongodb/lib/operations/find.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/find_and_modify.js +152 -0
- package/backend-project/node_modules/mongodb/lib/operations/find_and_modify.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/get_more.js +58 -0
- package/backend-project/node_modules/mongodb/lib/operations/get_more.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/indexes.js +270 -0
- package/backend-project/node_modules/mongodb/lib/operations/indexes.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/insert.js +95 -0
- package/backend-project/node_modules/mongodb/lib/operations/insert.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/is_capped.js +28 -0
- package/backend-project/node_modules/mongodb/lib/operations/is_capped.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/kill_cursors.js +32 -0
- package/backend-project/node_modules/mongodb/lib/operations/kill_cursors.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/list_collections.js +47 -0
- package/backend-project/node_modules/mongodb/lib/operations/list_collections.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/list_databases.js +35 -0
- package/backend-project/node_modules/mongodb/lib/operations/list_databases.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/operation.js +82 -0
- package/backend-project/node_modules/mongodb/lib/operations/operation.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/options_operation.js +28 -0
- package/backend-project/node_modules/mongodb/lib/operations/options_operation.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/profiling_level.js +33 -0
- package/backend-project/node_modules/mongodb/lib/operations/profiling_level.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/remove_user.js +21 -0
- package/backend-project/node_modules/mongodb/lib/operations/remove_user.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/rename.js +46 -0
- package/backend-project/node_modules/mongodb/lib/operations/rename.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/run_command.js +26 -0
- package/backend-project/node_modules/mongodb/lib/operations/run_command.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/search_indexes/create.js +29 -0
- package/backend-project/node_modules/mongodb/lib/operations/search_indexes/create.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/search_indexes/drop.js +30 -0
- package/backend-project/node_modules/mongodb/lib/operations/search_indexes/drop.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/search_indexes/update.js +30 -0
- package/backend-project/node_modules/mongodb/lib/operations/search_indexes/update.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/set_profiling_level.js +51 -0
- package/backend-project/node_modules/mongodb/lib/operations/set_profiling_level.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/stats.js +48 -0
- package/backend-project/node_modules/mongodb/lib/operations/stats.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/update.js +183 -0
- package/backend-project/node_modules/mongodb/lib/operations/update.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/operations/validate_collection.js +41 -0
- package/backend-project/node_modules/mongodb/lib/operations/validate_collection.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/read_concern.js +73 -0
- package/backend-project/node_modules/mongodb/lib/read_concern.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/read_preference.js +195 -0
- package/backend-project/node_modules/mongodb/lib/read_preference.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/sdam/common.js +56 -0
- package/backend-project/node_modules/mongodb/lib/sdam/common.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/sdam/events.js +125 -0
- package/backend-project/node_modules/mongodb/lib/sdam/events.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/sdam/monitor.js +414 -0
- package/backend-project/node_modules/mongodb/lib/sdam/monitor.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/sdam/server.js +382 -0
- package/backend-project/node_modules/mongodb/lib/sdam/server.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/sdam/server_description.js +189 -0
- package/backend-project/node_modules/mongodb/lib/sdam/server_description.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/sdam/server_selection.js +226 -0
- package/backend-project/node_modules/mongodb/lib/sdam/server_selection.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/sdam/srv_polling.js +103 -0
- package/backend-project/node_modules/mongodb/lib/sdam/srv_polling.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/sdam/topology.js +621 -0
- package/backend-project/node_modules/mongodb/lib/sdam/topology.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/sdam/topology_description.js +360 -0
- package/backend-project/node_modules/mongodb/lib/sdam/topology_description.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/sessions.js +739 -0
- package/backend-project/node_modules/mongodb/lib/sessions.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/sort.js +97 -0
- package/backend-project/node_modules/mongodb/lib/sort.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/transactions.js +138 -0
- package/backend-project/node_modules/mongodb/lib/transactions.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/utils.js +1064 -0
- package/backend-project/node_modules/mongodb/lib/utils.js.map +1 -0
- package/backend-project/node_modules/mongodb/lib/write_concern.js +86 -0
- package/backend-project/node_modules/mongodb/lib/write_concern.js.map +1 -0
- package/backend-project/node_modules/mongodb/mongodb.d.ts +6750 -0
- package/backend-project/node_modules/mongodb/package.json +163 -0
- package/backend-project/node_modules/mongodb/src/admin.ts +192 -0
- package/backend-project/node_modules/mongodb/src/bson.ts +117 -0
- package/backend-project/node_modules/mongodb/src/bulk/common.ts +1338 -0
- package/backend-project/node_modules/mongodb/src/bulk/ordered.ts +83 -0
- package/backend-project/node_modules/mongodb/src/bulk/unordered.ts +116 -0
- package/backend-project/node_modules/mongodb/src/change_stream.ts +973 -0
- package/backend-project/node_modules/mongodb/src/cmap/auth/auth_provider.ts +73 -0
- package/backend-project/node_modules/mongodb/src/cmap/auth/gssapi.ts +204 -0
- package/backend-project/node_modules/mongodb/src/cmap/auth/mongo_credentials.ts +278 -0
- package/backend-project/node_modules/mongodb/src/cmap/auth/mongocr.ts +42 -0
- package/backend-project/node_modules/mongodb/src/cmap/auth/mongodb_aws.ts +293 -0
- package/backend-project/node_modules/mongodb/src/cmap/auth/mongodb_oidc/aws_service_workflow.ts +29 -0
- package/backend-project/node_modules/mongodb/src/cmap/auth/mongodb_oidc/azure_service_workflow.ts +86 -0
- package/backend-project/node_modules/mongodb/src/cmap/auth/mongodb_oidc/azure_token_cache.ts +51 -0
- package/backend-project/node_modules/mongodb/src/cmap/auth/mongodb_oidc/cache.ts +63 -0
- package/backend-project/node_modules/mongodb/src/cmap/auth/mongodb_oidc/callback_lock_cache.ts +114 -0
- package/backend-project/node_modules/mongodb/src/cmap/auth/mongodb_oidc/callback_workflow.ts +296 -0
- package/backend-project/node_modules/mongodb/src/cmap/auth/mongodb_oidc/service_workflow.ts +49 -0
- package/backend-project/node_modules/mongodb/src/cmap/auth/mongodb_oidc/token_entry_cache.ts +77 -0
- package/backend-project/node_modules/mongodb/src/cmap/auth/mongodb_oidc.ts +149 -0
- package/backend-project/node_modules/mongodb/src/cmap/auth/plain.ts +25 -0
- package/backend-project/node_modules/mongodb/src/cmap/auth/providers.ts +24 -0
- package/backend-project/node_modules/mongodb/src/cmap/auth/scram.ts +354 -0
- package/backend-project/node_modules/mongodb/src/cmap/auth/x509.ts +47 -0
- package/backend-project/node_modules/mongodb/src/cmap/command_monitoring_events.ts +316 -0
- package/backend-project/node_modules/mongodb/src/cmap/commands.ts +712 -0
- package/backend-project/node_modules/mongodb/src/cmap/connect.ts +503 -0
- package/backend-project/node_modules/mongodb/src/cmap/connection.ts +758 -0
- package/backend-project/node_modules/mongodb/src/cmap/connection_pool.ts +920 -0
- package/backend-project/node_modules/mongodb/src/cmap/connection_pool_events.ts +268 -0
- package/backend-project/node_modules/mongodb/src/cmap/errors.ts +75 -0
- package/backend-project/node_modules/mongodb/src/cmap/handshake/client_metadata.ts +273 -0
- package/backend-project/node_modules/mongodb/src/cmap/message_stream.ts +234 -0
- package/backend-project/node_modules/mongodb/src/cmap/metrics.ts +58 -0
- package/backend-project/node_modules/mongodb/src/cmap/stream_description.ts +76 -0
- package/backend-project/node_modules/mongodb/src/cmap/wire_protocol/compression.ts +126 -0
- package/backend-project/node_modules/mongodb/src/cmap/wire_protocol/constants.ts +13 -0
- package/backend-project/node_modules/mongodb/src/cmap/wire_protocol/shared.ts +53 -0
- package/backend-project/node_modules/mongodb/src/collection.ts +1145 -0
- package/backend-project/node_modules/mongodb/src/connection_string.ts +1315 -0
- package/backend-project/node_modules/mongodb/src/constants.ts +147 -0
- package/backend-project/node_modules/mongodb/src/cursor/abstract_cursor.ts +948 -0
- package/backend-project/node_modules/mongodb/src/cursor/aggregation_cursor.ts +208 -0
- package/backend-project/node_modules/mongodb/src/cursor/change_stream_cursor.ts +194 -0
- package/backend-project/node_modules/mongodb/src/cursor/find_cursor.ts +458 -0
- package/backend-project/node_modules/mongodb/src/cursor/list_collections_cursor.ts +52 -0
- package/backend-project/node_modules/mongodb/src/cursor/list_indexes_cursor.ts +41 -0
- package/backend-project/node_modules/mongodb/src/cursor/list_search_indexes_cursor.ts +20 -0
- package/backend-project/node_modules/mongodb/src/cursor/run_command_cursor.ts +140 -0
- package/backend-project/node_modules/mongodb/src/db.ts +558 -0
- package/backend-project/node_modules/mongodb/src/deps.ts +428 -0
- package/backend-project/node_modules/mongodb/src/encrypter.ts +131 -0
- package/backend-project/node_modules/mongodb/src/error.ts +968 -0
- package/backend-project/node_modules/mongodb/src/explain.ts +52 -0
- package/backend-project/node_modules/mongodb/src/gridfs/download.ts +474 -0
- package/backend-project/node_modules/mongodb/src/gridfs/index.ts +213 -0
- package/backend-project/node_modules/mongodb/src/gridfs/upload.ts +510 -0
- package/backend-project/node_modules/mongodb/src/index.ts +508 -0
- package/backend-project/node_modules/mongodb/src/mongo_client.ts +839 -0
- package/backend-project/node_modules/mongodb/src/mongo_logger.ts +538 -0
- package/backend-project/node_modules/mongodb/src/mongo_types.ts +575 -0
- package/backend-project/node_modules/mongodb/src/operations/add_user.ts +124 -0
- package/backend-project/node_modules/mongodb/src/operations/aggregate.ts +149 -0
- package/backend-project/node_modules/mongodb/src/operations/bulk_write.ts +62 -0
- package/backend-project/node_modules/mongodb/src/operations/collections.ts +50 -0
- package/backend-project/node_modules/mongodb/src/operations/command.ts +177 -0
- package/backend-project/node_modules/mongodb/src/operations/common_functions.ts +105 -0
- package/backend-project/node_modules/mongodb/src/operations/count.ts +68 -0
- package/backend-project/node_modules/mongodb/src/operations/count_documents.ts +57 -0
- package/backend-project/node_modules/mongodb/src/operations/create_collection.ts +217 -0
- package/backend-project/node_modules/mongodb/src/operations/delete.ts +182 -0
- package/backend-project/node_modules/mongodb/src/operations/distinct.ts +90 -0
- package/backend-project/node_modules/mongodb/src/operations/drop.ts +119 -0
- package/backend-project/node_modules/mongodb/src/operations/estimated_document_count.ts +62 -0
- package/backend-project/node_modules/mongodb/src/operations/eval.ts +82 -0
- package/backend-project/node_modules/mongodb/src/operations/execute_operation.ts +270 -0
- package/backend-project/node_modules/mongodb/src/operations/find.ts +271 -0
- package/backend-project/node_modules/mongodb/src/operations/find_and_modify.ts +303 -0
- package/backend-project/node_modules/mongodb/src/operations/get_more.ts +111 -0
- package/backend-project/node_modules/mongodb/src/operations/indexes.ts +526 -0
- package/backend-project/node_modules/mongodb/src/operations/insert.ts +158 -0
- package/backend-project/node_modules/mongodb/src/operations/is_capped.ts +44 -0
- package/backend-project/node_modules/mongodb/src/operations/kill_cursors.ts +62 -0
- package/backend-project/node_modules/mongodb/src/operations/list_collections.ts +99 -0
- package/backend-project/node_modules/mongodb/src/operations/list_databases.ts +66 -0
- package/backend-project/node_modules/mongodb/src/operations/operation.ts +141 -0
- package/backend-project/node_modules/mongodb/src/operations/options_operation.ts +45 -0
- package/backend-project/node_modules/mongodb/src/operations/profiling_level.ts +39 -0
- package/backend-project/node_modules/mongodb/src/operations/remove_user.ts +33 -0
- package/backend-project/node_modules/mongodb/src/operations/rename.ts +67 -0
- package/backend-project/node_modules/mongodb/src/operations/run_command.ts +73 -0
- package/backend-project/node_modules/mongodb/src/operations/search_indexes/create.ts +54 -0
- package/backend-project/node_modules/mongodb/src/operations/search_indexes/drop.ts +39 -0
- package/backend-project/node_modules/mongodb/src/operations/search_indexes/update.ts +40 -0
- package/backend-project/node_modules/mongodb/src/operations/set_profiling_level.ts +74 -0
- package/backend-project/node_modules/mongodb/src/operations/stats.ts +280 -0
- package/backend-project/node_modules/mongodb/src/operations/update.ts +314 -0
- package/backend-project/node_modules/mongodb/src/operations/validate_collection.ts +59 -0
- package/backend-project/node_modules/mongodb/src/read_concern.ts +88 -0
- package/backend-project/node_modules/mongodb/src/read_preference.ts +262 -0
- package/backend-project/node_modules/mongodb/src/sdam/common.ts +79 -0
- package/backend-project/node_modules/mongodb/src/sdam/events.ts +182 -0
- package/backend-project/node_modules/mongodb/src/sdam/monitor.ts +595 -0
- package/backend-project/node_modules/mongodb/src/sdam/server.ts +587 -0
- package/backend-project/node_modules/mongodb/src/sdam/server_description.ts +262 -0
- package/backend-project/node_modules/mongodb/src/sdam/server_selection.ts +324 -0
- package/backend-project/node_modules/mongodb/src/sdam/srv_polling.ts +142 -0
- package/backend-project/node_modules/mongodb/src/sdam/topology.ts +994 -0
- package/backend-project/node_modules/mongodb/src/sdam/topology_description.ts +511 -0
- package/backend-project/node_modules/mongodb/src/sessions.ts +1050 -0
- package/backend-project/node_modules/mongodb/src/sort.ts +132 -0
- package/backend-project/node_modules/mongodb/src/transactions.ts +188 -0
- package/backend-project/node_modules/mongodb/src/utils.ts +1336 -0
- package/backend-project/node_modules/mongodb/src/write_concern.ts +161 -0
- package/backend-project/node_modules/mongodb/tsconfig.json +45 -0
- package/backend-project/node_modules/mongodb-connection-string-url/.esm-wrapper.mjs +6 -0
- package/backend-project/node_modules/mongodb-connection-string-url/LICENSE +192 -0
- package/backend-project/node_modules/mongodb-connection-string-url/README.md +25 -0
- package/backend-project/node_modules/mongodb-connection-string-url/lib/index.d.ts +62 -0
- package/backend-project/node_modules/mongodb-connection-string-url/lib/index.js +213 -0
- package/backend-project/node_modules/mongodb-connection-string-url/lib/index.js.map +1 -0
- package/backend-project/node_modules/mongodb-connection-string-url/lib/redact.d.ts +7 -0
- package/backend-project/node_modules/mongodb-connection-string-url/lib/redact.js +86 -0
- package/backend-project/node_modules/mongodb-connection-string-url/lib/redact.js.map +1 -0
- package/backend-project/node_modules/mongodb-connection-string-url/package.json +62 -0
- package/backend-project/node_modules/mongoose/.claude/settings.local.json +7 -0
- package/backend-project/node_modules/mongoose/LICENSE.md +22 -0
- package/backend-project/node_modules/mongoose/README.md +375 -0
- package/backend-project/node_modules/mongoose/SECURITY.md +1 -0
- package/backend-project/node_modules/mongoose/browser.js +8 -0
- package/backend-project/node_modules/mongoose/dist/browser.umd.js +2 -0
- package/backend-project/node_modules/mongoose/index.js +63 -0
- package/backend-project/node_modules/mongoose/lib/aggregate.js +1199 -0
- package/backend-project/node_modules/mongoose/lib/browser.js +132 -0
- package/backend-project/node_modules/mongoose/lib/browserDocument.js +101 -0
- package/backend-project/node_modules/mongoose/lib/cast/bigint.js +36 -0
- package/backend-project/node_modules/mongoose/lib/cast/boolean.js +32 -0
- package/backend-project/node_modules/mongoose/lib/cast/date.js +41 -0
- package/backend-project/node_modules/mongoose/lib/cast/decimal128.js +39 -0
- package/backend-project/node_modules/mongoose/lib/cast/number.js +42 -0
- package/backend-project/node_modules/mongoose/lib/cast/objectid.js +29 -0
- package/backend-project/node_modules/mongoose/lib/cast/string.js +37 -0
- package/backend-project/node_modules/mongoose/lib/cast.js +443 -0
- package/backend-project/node_modules/mongoose/lib/collection.js +327 -0
- package/backend-project/node_modules/mongoose/lib/connection.js +1477 -0
- package/backend-project/node_modules/mongoose/lib/connectionstate.js +26 -0
- package/backend-project/node_modules/mongoose/lib/cursor/AggregationCursor.js +386 -0
- package/backend-project/node_modules/mongoose/lib/cursor/ChangeStream.js +153 -0
- package/backend-project/node_modules/mongoose/lib/cursor/QueryCursor.js +579 -0
- package/backend-project/node_modules/mongoose/lib/document.js +4830 -0
- package/backend-project/node_modules/mongoose/lib/document_provider.js +30 -0
- package/backend-project/node_modules/mongoose/lib/driver.js +15 -0
- package/backend-project/node_modules/mongoose/lib/drivers/SPEC.md +4 -0
- package/backend-project/node_modules/mongoose/lib/drivers/browser/binary.js +14 -0
- package/backend-project/node_modules/mongoose/lib/drivers/browser/decimal128.js +7 -0
- package/backend-project/node_modules/mongoose/lib/drivers/browser/index.js +12 -0
- package/backend-project/node_modules/mongoose/lib/drivers/browser/objectid.js +29 -0
- package/backend-project/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js +461 -0
- package/backend-project/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js +409 -0
- package/backend-project/node_modules/mongoose/lib/drivers/node-mongodb-native/index.js +8 -0
- package/backend-project/node_modules/mongoose/lib/error/browserMissingSchema.js +28 -0
- package/backend-project/node_modules/mongoose/lib/error/bulkWriteError.js +41 -0
- package/backend-project/node_modules/mongoose/lib/error/cast.js +159 -0
- package/backend-project/node_modules/mongoose/lib/error/createCollectionsError.js +26 -0
- package/backend-project/node_modules/mongoose/lib/error/divergentArray.js +38 -0
- package/backend-project/node_modules/mongoose/lib/error/eachAsyncMultiError.js +41 -0
- package/backend-project/node_modules/mongoose/lib/error/index.js +227 -0
- package/backend-project/node_modules/mongoose/lib/error/invalidSchemaOption.js +30 -0
- package/backend-project/node_modules/mongoose/lib/error/messages.js +47 -0
- package/backend-project/node_modules/mongoose/lib/error/missingSchema.js +31 -0
- package/backend-project/node_modules/mongoose/lib/error/mongooseError.js +13 -0
- package/backend-project/node_modules/mongoose/lib/error/notFound.js +45 -0
- package/backend-project/node_modules/mongoose/lib/error/objectExpected.js +30 -0
- package/backend-project/node_modules/mongoose/lib/error/objectParameter.js +30 -0
- package/backend-project/node_modules/mongoose/lib/error/overwriteModel.js +30 -0
- package/backend-project/node_modules/mongoose/lib/error/parallelSave.js +30 -0
- package/backend-project/node_modules/mongoose/lib/error/parallelValidate.js +31 -0
- package/backend-project/node_modules/mongoose/lib/error/serverSelection.js +61 -0
- package/backend-project/node_modules/mongoose/lib/error/setOptionError.js +101 -0
- package/backend-project/node_modules/mongoose/lib/error/strict.js +33 -0
- package/backend-project/node_modules/mongoose/lib/error/strictPopulate.js +29 -0
- package/backend-project/node_modules/mongoose/lib/error/syncIndexes.js +30 -0
- package/backend-project/node_modules/mongoose/lib/error/validation.js +103 -0
- package/backend-project/node_modules/mongoose/lib/error/validator.js +99 -0
- package/backend-project/node_modules/mongoose/lib/error/version.js +36 -0
- package/backend-project/node_modules/mongoose/lib/helpers/aggregate/prepareDiscriminatorPipeline.js +39 -0
- package/backend-project/node_modules/mongoose/lib/helpers/aggregate/stringifyFunctionOperators.js +50 -0
- package/backend-project/node_modules/mongoose/lib/helpers/arrayDepth.js +33 -0
- package/backend-project/node_modules/mongoose/lib/helpers/clone.js +180 -0
- package/backend-project/node_modules/mongoose/lib/helpers/common.js +127 -0
- package/backend-project/node_modules/mongoose/lib/helpers/cursor/eachAsync.js +225 -0
- package/backend-project/node_modules/mongoose/lib/helpers/discriminator/applyEmbeddedDiscriminators.js +32 -0
- package/backend-project/node_modules/mongoose/lib/helpers/discriminator/areDiscriminatorValuesEqual.js +16 -0
- package/backend-project/node_modules/mongoose/lib/helpers/discriminator/checkEmbeddedDiscriminatorKeyProjection.js +12 -0
- package/backend-project/node_modules/mongoose/lib/helpers/discriminator/getConstructor.js +29 -0
- package/backend-project/node_modules/mongoose/lib/helpers/discriminator/getDiscriminatorByValue.js +28 -0
- package/backend-project/node_modules/mongoose/lib/helpers/discriminator/getSchemaDiscriminatorByValue.js +27 -0
- package/backend-project/node_modules/mongoose/lib/helpers/discriminator/mergeDiscriminatorSchema.js +76 -0
- package/backend-project/node_modules/mongoose/lib/helpers/document/applyDefaults.js +128 -0
- package/backend-project/node_modules/mongoose/lib/helpers/document/cleanModifiedSubpaths.js +35 -0
- package/backend-project/node_modules/mongoose/lib/helpers/document/compile.js +238 -0
- package/backend-project/node_modules/mongoose/lib/helpers/document/getDeepestSubdocumentForPath.js +38 -0
- package/backend-project/node_modules/mongoose/lib/helpers/document/getEmbeddedDiscriminatorPath.js +53 -0
- package/backend-project/node_modules/mongoose/lib/helpers/document/handleSpreadDoc.js +35 -0
- package/backend-project/node_modules/mongoose/lib/helpers/each.js +25 -0
- package/backend-project/node_modules/mongoose/lib/helpers/error/combinePathErrors.js +22 -0
- package/backend-project/node_modules/mongoose/lib/helpers/firstKey.js +8 -0
- package/backend-project/node_modules/mongoose/lib/helpers/get.js +65 -0
- package/backend-project/node_modules/mongoose/lib/helpers/getConstructorName.js +16 -0
- package/backend-project/node_modules/mongoose/lib/helpers/getDefaultBulkwriteResult.js +27 -0
- package/backend-project/node_modules/mongoose/lib/helpers/getFunctionName.js +10 -0
- package/backend-project/node_modules/mongoose/lib/helpers/immediate.js +16 -0
- package/backend-project/node_modules/mongoose/lib/helpers/indexes/applySchemaCollation.js +13 -0
- package/backend-project/node_modules/mongoose/lib/helpers/indexes/decorateDiscriminatorIndexOptions.js +14 -0
- package/backend-project/node_modules/mongoose/lib/helpers/indexes/getRelatedIndexes.js +59 -0
- package/backend-project/node_modules/mongoose/lib/helpers/indexes/isDefaultIdIndex.js +18 -0
- package/backend-project/node_modules/mongoose/lib/helpers/indexes/isIndexEqual.js +96 -0
- package/backend-project/node_modules/mongoose/lib/helpers/indexes/isTextIndex.js +16 -0
- package/backend-project/node_modules/mongoose/lib/helpers/isAsyncFunction.js +9 -0
- package/backend-project/node_modules/mongoose/lib/helpers/isBsonType.js +16 -0
- package/backend-project/node_modules/mongoose/lib/helpers/isMongooseObject.js +22 -0
- package/backend-project/node_modules/mongoose/lib/helpers/isObject.js +16 -0
- package/backend-project/node_modules/mongoose/lib/helpers/isPOJO.js +12 -0
- package/backend-project/node_modules/mongoose/lib/helpers/isPromise.js +6 -0
- package/backend-project/node_modules/mongoose/lib/helpers/isSimpleValidator.js +22 -0
- package/backend-project/node_modules/mongoose/lib/helpers/model/applyDefaultsToPOJO.js +52 -0
- package/backend-project/node_modules/mongoose/lib/helpers/model/applyHooks.js +149 -0
- package/backend-project/node_modules/mongoose/lib/helpers/model/applyMethods.js +70 -0
- package/backend-project/node_modules/mongoose/lib/helpers/model/applyStaticHooks.js +71 -0
- package/backend-project/node_modules/mongoose/lib/helpers/model/applyStatics.js +13 -0
- package/backend-project/node_modules/mongoose/lib/helpers/model/castBulkWrite.js +284 -0
- package/backend-project/node_modules/mongoose/lib/helpers/model/discriminator.js +213 -0
- package/backend-project/node_modules/mongoose/lib/helpers/model/pushNestedArrayPaths.js +15 -0
- package/backend-project/node_modules/mongoose/lib/helpers/once.js +12 -0
- package/backend-project/node_modules/mongoose/lib/helpers/parallelLimit.js +55 -0
- package/backend-project/node_modules/mongoose/lib/helpers/path/parentPaths.js +18 -0
- package/backend-project/node_modules/mongoose/lib/helpers/path/setDottedPath.js +33 -0
- package/backend-project/node_modules/mongoose/lib/helpers/pluralize.js +95 -0
- package/backend-project/node_modules/mongoose/lib/helpers/populate/SkipPopulateValue.js +10 -0
- package/backend-project/node_modules/mongoose/lib/helpers/populate/assignRawDocsToIdStructure.js +129 -0
- package/backend-project/node_modules/mongoose/lib/helpers/populate/assignVals.js +344 -0
- package/backend-project/node_modules/mongoose/lib/helpers/populate/createPopulateQueryFilter.js +97 -0
- package/backend-project/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.js +758 -0
- package/backend-project/node_modules/mongoose/lib/helpers/populate/getSchemaTypes.js +229 -0
- package/backend-project/node_modules/mongoose/lib/helpers/populate/getVirtual.js +72 -0
- package/backend-project/node_modules/mongoose/lib/helpers/populate/leanPopulateMap.js +7 -0
- package/backend-project/node_modules/mongoose/lib/helpers/populate/lookupLocalFields.js +40 -0
- package/backend-project/node_modules/mongoose/lib/helpers/populate/markArraySubdocsPopulated.js +49 -0
- package/backend-project/node_modules/mongoose/lib/helpers/populate/modelNamesFromRefPath.js +68 -0
- package/backend-project/node_modules/mongoose/lib/helpers/populate/removeDeselectedForeignField.js +31 -0
- package/backend-project/node_modules/mongoose/lib/helpers/populate/validateRef.js +19 -0
- package/backend-project/node_modules/mongoose/lib/helpers/printJestWarning.js +21 -0
- package/backend-project/node_modules/mongoose/lib/helpers/processConnectionOptions.js +65 -0
- package/backend-project/node_modules/mongoose/lib/helpers/projection/applyProjection.js +77 -0
- package/backend-project/node_modules/mongoose/lib/helpers/projection/hasIncludedChildren.js +41 -0
- package/backend-project/node_modules/mongoose/lib/helpers/projection/isDefiningProjection.js +18 -0
- package/backend-project/node_modules/mongoose/lib/helpers/projection/isExclusive.js +37 -0
- package/backend-project/node_modules/mongoose/lib/helpers/projection/isInclusive.js +39 -0
- package/backend-project/node_modules/mongoose/lib/helpers/projection/isNestedProjection.js +8 -0
- package/backend-project/node_modules/mongoose/lib/helpers/projection/isPathExcluded.js +40 -0
- package/backend-project/node_modules/mongoose/lib/helpers/projection/isPathSelectedInclusive.js +28 -0
- package/backend-project/node_modules/mongoose/lib/helpers/projection/isSubpath.js +14 -0
- package/backend-project/node_modules/mongoose/lib/helpers/projection/parseProjection.js +33 -0
- package/backend-project/node_modules/mongoose/lib/helpers/promiseOrCallback.js +54 -0
- package/backend-project/node_modules/mongoose/lib/helpers/query/applyGlobalOption.js +29 -0
- package/backend-project/node_modules/mongoose/lib/helpers/query/applyQueryMiddleware.js +54 -0
- package/backend-project/node_modules/mongoose/lib/helpers/query/cast$expr.js +292 -0
- package/backend-project/node_modules/mongoose/lib/helpers/query/castFilterPath.js +55 -0
- package/backend-project/node_modules/mongoose/lib/helpers/query/castUpdate.js +584 -0
- package/backend-project/node_modules/mongoose/lib/helpers/query/completeMany.js +36 -0
- package/backend-project/node_modules/mongoose/lib/helpers/query/getEmbeddedDiscriminatorPath.js +94 -0
- package/backend-project/node_modules/mongoose/lib/helpers/query/handleImmutable.js +32 -0
- package/backend-project/node_modules/mongoose/lib/helpers/query/handleReadPreferenceAliases.js +23 -0
- package/backend-project/node_modules/mongoose/lib/helpers/query/hasDollarKeys.js +23 -0
- package/backend-project/node_modules/mongoose/lib/helpers/query/isOperator.js +14 -0
- package/backend-project/node_modules/mongoose/lib/helpers/query/sanitizeFilter.js +41 -0
- package/backend-project/node_modules/mongoose/lib/helpers/query/sanitizeProjection.js +14 -0
- package/backend-project/node_modules/mongoose/lib/helpers/query/selectPopulatedFields.js +62 -0
- package/backend-project/node_modules/mongoose/lib/helpers/query/trusted.js +13 -0
- package/backend-project/node_modules/mongoose/lib/helpers/query/validOps.js +22 -0
- package/backend-project/node_modules/mongoose/lib/helpers/schema/addAutoId.js +7 -0
- package/backend-project/node_modules/mongoose/lib/helpers/schema/applyBuiltinPlugins.js +12 -0
- package/backend-project/node_modules/mongoose/lib/helpers/schema/applyPlugins.js +55 -0
- package/backend-project/node_modules/mongoose/lib/helpers/schema/applyWriteConcern.js +33 -0
- package/backend-project/node_modules/mongoose/lib/helpers/schema/cleanPositionalOperators.js +12 -0
- package/backend-project/node_modules/mongoose/lib/helpers/schema/getIndexes.js +172 -0
- package/backend-project/node_modules/mongoose/lib/helpers/schema/getKeysInSchemaOrder.js +28 -0
- package/backend-project/node_modules/mongoose/lib/helpers/schema/getPath.js +37 -0
- package/backend-project/node_modules/mongoose/lib/helpers/schema/getSubdocumentStrictValue.js +32 -0
- package/backend-project/node_modules/mongoose/lib/helpers/schema/handleIdOption.js +20 -0
- package/backend-project/node_modules/mongoose/lib/helpers/schema/handleTimestampOption.js +24 -0
- package/backend-project/node_modules/mongoose/lib/helpers/schema/idGetter.js +46 -0
- package/backend-project/node_modules/mongoose/lib/helpers/schema/merge.js +36 -0
- package/backend-project/node_modules/mongoose/lib/helpers/schematype/handleImmutable.js +50 -0
- package/backend-project/node_modules/mongoose/lib/helpers/setDefaultsOnInsert.js +132 -0
- package/backend-project/node_modules/mongoose/lib/helpers/specialProperties.js +3 -0
- package/backend-project/node_modules/mongoose/lib/helpers/symbols.js +20 -0
- package/backend-project/node_modules/mongoose/lib/helpers/timers.js +3 -0
- package/backend-project/node_modules/mongoose/lib/helpers/timestamps/setDocumentTimestamps.js +26 -0
- package/backend-project/node_modules/mongoose/lib/helpers/timestamps/setupTimestamps.js +110 -0
- package/backend-project/node_modules/mongoose/lib/helpers/topology/allServersUnknown.js +12 -0
- package/backend-project/node_modules/mongoose/lib/helpers/topology/isAtlas.js +31 -0
- package/backend-project/node_modules/mongoose/lib/helpers/topology/isSSLError.js +16 -0
- package/backend-project/node_modules/mongoose/lib/helpers/update/applyTimestampsToChildren.js +193 -0
- package/backend-project/node_modules/mongoose/lib/helpers/update/applyTimestampsToUpdate.js +131 -0
- package/backend-project/node_modules/mongoose/lib/helpers/update/castArrayFilters.js +109 -0
- package/backend-project/node_modules/mongoose/lib/helpers/update/decorateUpdateWithVersionKey.js +26 -0
- package/backend-project/node_modules/mongoose/lib/helpers/update/modifiedPaths.js +33 -0
- package/backend-project/node_modules/mongoose/lib/helpers/update/moveImmutableProperties.js +53 -0
- package/backend-project/node_modules/mongoose/lib/helpers/update/removeUnusedArrayFilters.js +32 -0
- package/backend-project/node_modules/mongoose/lib/helpers/update/updatedPathsByArrayFilter.js +27 -0
- package/backend-project/node_modules/mongoose/lib/helpers/updateValidators.js +249 -0
- package/backend-project/node_modules/mongoose/lib/index.js +1300 -0
- package/backend-project/node_modules/mongoose/lib/internal.js +46 -0
- package/backend-project/node_modules/mongoose/lib/model.js +4945 -0
- package/backend-project/node_modules/mongoose/lib/options/PopulateOptions.js +36 -0
- package/backend-project/node_modules/mongoose/lib/options/SchemaArrayOptions.js +78 -0
- package/backend-project/node_modules/mongoose/lib/options/SchemaBufferOptions.js +38 -0
- package/backend-project/node_modules/mongoose/lib/options/SchemaDateOptions.js +71 -0
- package/backend-project/node_modules/mongoose/lib/options/SchemaDocumentArrayOptions.js +68 -0
- package/backend-project/node_modules/mongoose/lib/options/SchemaMapOptions.js +43 -0
- package/backend-project/node_modules/mongoose/lib/options/SchemaNumberOptions.js +101 -0
- package/backend-project/node_modules/mongoose/lib/options/SchemaObjectIdOptions.js +64 -0
- package/backend-project/node_modules/mongoose/lib/options/SchemaStringOptions.js +138 -0
- package/backend-project/node_modules/mongoose/lib/options/SchemaSubdocumentOptions.js +42 -0
- package/backend-project/node_modules/mongoose/lib/options/SchemaTypeOptions.js +244 -0
- package/backend-project/node_modules/mongoose/lib/options/VirtualOptions.js +164 -0
- package/backend-project/node_modules/mongoose/lib/options/propertyOptions.js +8 -0
- package/backend-project/node_modules/mongoose/lib/options/saveOptions.js +14 -0
- package/backend-project/node_modules/mongoose/lib/options.js +15 -0
- package/backend-project/node_modules/mongoose/lib/plugins/index.js +7 -0
- package/backend-project/node_modules/mongoose/lib/plugins/removeSubdocs.js +35 -0
- package/backend-project/node_modules/mongoose/lib/plugins/saveSubdocs.js +66 -0
- package/backend-project/node_modules/mongoose/lib/plugins/sharding.js +83 -0
- package/backend-project/node_modules/mongoose/lib/plugins/trackTransaction.js +92 -0
- package/backend-project/node_modules/mongoose/lib/plugins/validateBeforeSave.js +51 -0
- package/backend-project/node_modules/mongoose/lib/query.js +5542 -0
- package/backend-project/node_modules/mongoose/lib/queryhelpers.js +403 -0
- package/backend-project/node_modules/mongoose/lib/schema/DocumentArrayElement.js +100 -0
- package/backend-project/node_modules/mongoose/lib/schema/SubdocumentPath.js +397 -0
- package/backend-project/node_modules/mongoose/lib/schema/array.js +686 -0
- package/backend-project/node_modules/mongoose/lib/schema/bigint.js +240 -0
- package/backend-project/node_modules/mongoose/lib/schema/boolean.js +290 -0
- package/backend-project/node_modules/mongoose/lib/schema/buffer.js +290 -0
- package/backend-project/node_modules/mongoose/lib/schema/date.js +426 -0
- package/backend-project/node_modules/mongoose/lib/schema/decimal128.js +228 -0
- package/backend-project/node_modules/mongoose/lib/schema/documentarray.js +616 -0
- package/backend-project/node_modules/mongoose/lib/schema/index.js +28 -0
- package/backend-project/node_modules/mongoose/lib/schema/map.js +84 -0
- package/backend-project/node_modules/mongoose/lib/schema/mixed.js +131 -0
- package/backend-project/node_modules/mongoose/lib/schema/number.js +440 -0
- package/backend-project/node_modules/mongoose/lib/schema/objectid.js +297 -0
- package/backend-project/node_modules/mongoose/lib/schema/operators/bitwise.js +38 -0
- package/backend-project/node_modules/mongoose/lib/schema/operators/exists.js +12 -0
- package/backend-project/node_modules/mongoose/lib/schema/operators/geospatial.js +107 -0
- package/backend-project/node_modules/mongoose/lib/schema/operators/helpers.js +32 -0
- package/backend-project/node_modules/mongoose/lib/schema/operators/text.js +39 -0
- package/backend-project/node_modules/mongoose/lib/schema/operators/type.js +20 -0
- package/backend-project/node_modules/mongoose/lib/schema/string.js +698 -0
- package/backend-project/node_modules/mongoose/lib/schema/symbols.js +5 -0
- package/backend-project/node_modules/mongoose/lib/schema/uuid.js +356 -0
- package/backend-project/node_modules/mongoose/lib/schema.js +2780 -0
- package/backend-project/node_modules/mongoose/lib/schematype.js +1709 -0
- package/backend-project/node_modules/mongoose/lib/statemachine.js +211 -0
- package/backend-project/node_modules/mongoose/lib/types/ArraySubdocument.js +197 -0
- package/backend-project/node_modules/mongoose/lib/types/DocumentArray/index.js +113 -0
- package/backend-project/node_modules/mongoose/lib/types/DocumentArray/isMongooseDocumentArray.js +5 -0
- package/backend-project/node_modules/mongoose/lib/types/DocumentArray/methods/index.js +383 -0
- package/backend-project/node_modules/mongoose/lib/types/array/index.js +119 -0
- package/backend-project/node_modules/mongoose/lib/types/array/isMongooseArray.js +5 -0
- package/backend-project/node_modules/mongoose/lib/types/array/methods/index.js +1031 -0
- package/backend-project/node_modules/mongoose/lib/types/buffer.js +277 -0
- package/backend-project/node_modules/mongoose/lib/types/decimal128.js +13 -0
- package/backend-project/node_modules/mongoose/lib/types/index.js +22 -0
- package/backend-project/node_modules/mongoose/lib/types/map.js +354 -0
- package/backend-project/node_modules/mongoose/lib/types/objectid.js +41 -0
- package/backend-project/node_modules/mongoose/lib/types/subdocument.js +436 -0
- package/backend-project/node_modules/mongoose/lib/types/uuid.js +13 -0
- package/backend-project/node_modules/mongoose/lib/utils.js +988 -0
- package/backend-project/node_modules/mongoose/lib/validoptions.js +38 -0
- package/backend-project/node_modules/mongoose/lib/virtualtype.js +175 -0
- package/backend-project/node_modules/mongoose/node_modules/ms/index.js +162 -0
- package/backend-project/node_modules/mongoose/node_modules/ms/license.md +21 -0
- package/backend-project/node_modules/mongoose/node_modules/ms/package.json +38 -0
- package/backend-project/node_modules/mongoose/node_modules/ms/readme.md +59 -0
- package/backend-project/node_modules/mongoose/package.json +156 -0
- package/backend-project/node_modules/mongoose/startmdb.mjs +19 -0
- package/backend-project/node_modules/mongoose/types/aggregate.d.ts +180 -0
- package/backend-project/node_modules/mongoose/types/augmentations.d.ts +9 -0
- package/backend-project/node_modules/mongoose/types/callback.d.ts +8 -0
- package/backend-project/node_modules/mongoose/types/collection.d.ts +44 -0
- package/backend-project/node_modules/mongoose/types/connection.d.ts +234 -0
- package/backend-project/node_modules/mongoose/types/cursor.d.ts +58 -0
- package/backend-project/node_modules/mongoose/types/document.d.ts +261 -0
- package/backend-project/node_modules/mongoose/types/error.d.ts +134 -0
- package/backend-project/node_modules/mongoose/types/expressions.d.ts +3038 -0
- package/backend-project/node_modules/mongoose/types/helpers.d.ts +32 -0
- package/backend-project/node_modules/mongoose/types/index.d.ts +678 -0
- package/backend-project/node_modules/mongoose/types/indexes.d.ts +89 -0
- package/backend-project/node_modules/mongoose/types/inferschematype.d.ts +230 -0
- package/backend-project/node_modules/mongoose/types/middlewares.d.ts +49 -0
- package/backend-project/node_modules/mongoose/types/models.d.ts +790 -0
- package/backend-project/node_modules/mongoose/types/mongooseoptions.d.ts +219 -0
- package/backend-project/node_modules/mongoose/types/pipelinestage.d.ts +312 -0
- package/backend-project/node_modules/mongoose/types/populate.d.ts +45 -0
- package/backend-project/node_modules/mongoose/types/query.d.ts +781 -0
- package/backend-project/node_modules/mongoose/types/schemaoptions.d.ts +261 -0
- package/backend-project/node_modules/mongoose/types/schematypes.d.ts +490 -0
- package/backend-project/node_modules/mongoose/types/session.d.ts +32 -0
- package/backend-project/node_modules/mongoose/types/types.d.ts +103 -0
- package/backend-project/node_modules/mongoose/types/utility.d.ts +43 -0
- package/backend-project/node_modules/mongoose/types/validation.d.ts +34 -0
- package/backend-project/node_modules/mongoose/types/virtuals.d.ts +14 -0
- package/backend-project/node_modules/mpath/.travis.yml +9 -0
- package/backend-project/node_modules/mpath/History.md +88 -0
- package/backend-project/node_modules/mpath/LICENSE +22 -0
- package/backend-project/node_modules/mpath/README.md +278 -0
- package/backend-project/node_modules/mpath/SECURITY.md +5 -0
- package/backend-project/node_modules/mpath/index.js +3 -0
- package/backend-project/node_modules/mpath/lib/index.js +336 -0
- package/backend-project/node_modules/mpath/lib/stringToParts.js +48 -0
- package/backend-project/node_modules/mpath/package.json +144 -0
- package/backend-project/node_modules/mpath/test/.eslintrc.yml +4 -0
- package/backend-project/node_modules/mpath/test/index.js +1879 -0
- package/backend-project/node_modules/mpath/test/stringToParts.js +30 -0
- package/backend-project/node_modules/mquery/.github/ISSUE_TEMPLATE.md +11 -0
- package/backend-project/node_modules/mquery/.github/PULL_REQUEST_TEMPLATE.md +9 -0
- package/backend-project/node_modules/mquery/History.md +384 -0
- package/backend-project/node_modules/mquery/LICENSE +22 -0
- package/backend-project/node_modules/mquery/README.md +1247 -0
- package/backend-project/node_modules/mquery/SECURITY.md +1 -0
- package/backend-project/node_modules/mquery/lib/collection/collection.js +45 -0
- package/backend-project/node_modules/mquery/lib/collection/index.js +13 -0
- package/backend-project/node_modules/mquery/lib/collection/node.js +114 -0
- package/backend-project/node_modules/mquery/lib/env.js +22 -0
- package/backend-project/node_modules/mquery/lib/mquery.js +2705 -0
- package/backend-project/node_modules/mquery/lib/permissions.js +78 -0
- package/backend-project/node_modules/mquery/lib/utils.js +297 -0
- package/backend-project/node_modules/mquery/node_modules/debug/LICENSE +20 -0
- package/backend-project/node_modules/mquery/node_modules/debug/README.md +481 -0
- package/backend-project/node_modules/mquery/node_modules/debug/package.json +64 -0
- package/backend-project/node_modules/mquery/node_modules/debug/src/browser.js +272 -0
- package/backend-project/node_modules/mquery/node_modules/debug/src/common.js +292 -0
- package/backend-project/node_modules/mquery/node_modules/debug/src/index.js +10 -0
- package/backend-project/node_modules/mquery/node_modules/debug/src/node.js +263 -0
- package/backend-project/node_modules/mquery/node_modules/ms/index.js +162 -0
- package/backend-project/node_modules/mquery/node_modules/ms/license.md +21 -0
- package/backend-project/node_modules/mquery/node_modules/ms/package.json +38 -0
- package/backend-project/node_modules/mquery/node_modules/ms/readme.md +59 -0
- package/backend-project/node_modules/mquery/package.json +38 -0
- package/backend-project/node_modules/ms/index.js +152 -0
- package/backend-project/node_modules/ms/license.md +21 -0
- package/backend-project/node_modules/ms/package.json +37 -0
- package/backend-project/node_modules/ms/readme.md +51 -0
- package/backend-project/node_modules/negotiator/HISTORY.md +108 -0
- package/backend-project/node_modules/negotiator/LICENSE +24 -0
- package/backend-project/node_modules/negotiator/README.md +203 -0
- package/backend-project/node_modules/negotiator/index.js +82 -0
- package/backend-project/node_modules/negotiator/lib/charset.js +169 -0
- package/backend-project/node_modules/negotiator/lib/encoding.js +184 -0
- package/backend-project/node_modules/negotiator/lib/language.js +179 -0
- package/backend-project/node_modules/negotiator/lib/mediaType.js +294 -0
- package/backend-project/node_modules/negotiator/package.json +42 -0
- package/backend-project/node_modules/nodemon/.prettierrc.json +3 -0
- package/backend-project/node_modules/nodemon/LICENSE +21 -0
- package/backend-project/node_modules/nodemon/README.md +439 -0
- package/backend-project/node_modules/nodemon/bin/nodemon.js +16 -0
- package/backend-project/node_modules/nodemon/bin/windows-kill.exe +0 -0
- package/backend-project/node_modules/nodemon/doc/cli/authors.txt +8 -0
- package/backend-project/node_modules/nodemon/doc/cli/config.txt +44 -0
- package/backend-project/node_modules/nodemon/doc/cli/help.txt +29 -0
- package/backend-project/node_modules/nodemon/doc/cli/logo.txt +20 -0
- package/backend-project/node_modules/nodemon/doc/cli/options.txt +36 -0
- package/backend-project/node_modules/nodemon/doc/cli/topics.txt +8 -0
- package/backend-project/node_modules/nodemon/doc/cli/usage.txt +3 -0
- package/backend-project/node_modules/nodemon/doc/cli/whoami.txt +9 -0
- package/backend-project/node_modules/nodemon/index.d.ts +124 -0
- package/backend-project/node_modules/nodemon/jsconfig.json +7 -0
- package/backend-project/node_modules/nodemon/lib/cli/index.js +49 -0
- package/backend-project/node_modules/nodemon/lib/cli/parse.js +230 -0
- package/backend-project/node_modules/nodemon/lib/config/command.js +43 -0
- package/backend-project/node_modules/nodemon/lib/config/defaults.js +34 -0
- package/backend-project/node_modules/nodemon/lib/config/exec.js +240 -0
- package/backend-project/node_modules/nodemon/lib/config/index.js +93 -0
- package/backend-project/node_modules/nodemon/lib/config/load.js +225 -0
- package/backend-project/node_modules/nodemon/lib/help/index.js +27 -0
- package/backend-project/node_modules/nodemon/lib/index.js +1 -0
- package/backend-project/node_modules/nodemon/lib/monitor/index.js +4 -0
- package/backend-project/node_modules/nodemon/lib/monitor/match.js +288 -0
- package/backend-project/node_modules/nodemon/lib/monitor/run.js +562 -0
- package/backend-project/node_modules/nodemon/lib/monitor/signals.js +34 -0
- package/backend-project/node_modules/nodemon/lib/monitor/watch.js +244 -0
- package/backend-project/node_modules/nodemon/lib/nodemon.js +317 -0
- package/backend-project/node_modules/nodemon/lib/rules/add.js +89 -0
- package/backend-project/node_modules/nodemon/lib/rules/index.js +53 -0
- package/backend-project/node_modules/nodemon/lib/rules/parse.js +43 -0
- package/backend-project/node_modules/nodemon/lib/spawn.js +74 -0
- package/backend-project/node_modules/nodemon/lib/utils/bus.js +44 -0
- package/backend-project/node_modules/nodemon/lib/utils/clone.js +40 -0
- package/backend-project/node_modules/nodemon/lib/utils/colour.js +26 -0
- package/backend-project/node_modules/nodemon/lib/utils/index.js +103 -0
- package/backend-project/node_modules/nodemon/lib/utils/log.js +82 -0
- package/backend-project/node_modules/nodemon/lib/utils/merge.js +47 -0
- package/backend-project/node_modules/nodemon/lib/version.js +100 -0
- package/backend-project/node_modules/nodemon/node_modules/debug/LICENSE +20 -0
- package/backend-project/node_modules/nodemon/node_modules/debug/README.md +481 -0
- package/backend-project/node_modules/nodemon/node_modules/debug/package.json +64 -0
- package/backend-project/node_modules/nodemon/node_modules/debug/src/browser.js +272 -0
- package/backend-project/node_modules/nodemon/node_modules/debug/src/common.js +292 -0
- package/backend-project/node_modules/nodemon/node_modules/debug/src/index.js +10 -0
- package/backend-project/node_modules/nodemon/node_modules/debug/src/node.js +263 -0
- package/backend-project/node_modules/nodemon/node_modules/ms/index.js +162 -0
- package/backend-project/node_modules/nodemon/node_modules/ms/license.md +21 -0
- package/backend-project/node_modules/nodemon/node_modules/ms/package.json +38 -0
- package/backend-project/node_modules/nodemon/node_modules/ms/readme.md +59 -0
- package/backend-project/node_modules/nodemon/package.json +78 -0
- package/backend-project/node_modules/normalize-path/LICENSE +21 -0
- package/backend-project/node_modules/normalize-path/README.md +127 -0
- package/backend-project/node_modules/normalize-path/index.js +35 -0
- package/backend-project/node_modules/normalize-path/package.json +77 -0
- package/backend-project/node_modules/object-assign/index.js +90 -0
- package/backend-project/node_modules/object-assign/license +21 -0
- package/backend-project/node_modules/object-assign/package.json +42 -0
- package/backend-project/node_modules/object-assign/readme.md +61 -0
- package/backend-project/node_modules/object-inspect/.eslintrc +53 -0
- package/backend-project/node_modules/object-inspect/.github/FUNDING.yml +12 -0
- package/backend-project/node_modules/object-inspect/.nycrc +13 -0
- package/backend-project/node_modules/object-inspect/CHANGELOG.md +424 -0
- package/backend-project/node_modules/object-inspect/LICENSE +21 -0
- package/backend-project/node_modules/object-inspect/example/all.js +23 -0
- package/backend-project/node_modules/object-inspect/example/circular.js +6 -0
- package/backend-project/node_modules/object-inspect/example/fn.js +5 -0
- package/backend-project/node_modules/object-inspect/example/inspect.js +10 -0
- package/backend-project/node_modules/object-inspect/index.js +544 -0
- package/backend-project/node_modules/object-inspect/package-support.json +20 -0
- package/backend-project/node_modules/object-inspect/package.json +105 -0
- package/backend-project/node_modules/object-inspect/readme.markdown +84 -0
- package/backend-project/node_modules/object-inspect/test/bigint.js +58 -0
- package/backend-project/node_modules/object-inspect/test/browser/dom.js +15 -0
- package/backend-project/node_modules/object-inspect/test/circular.js +16 -0
- package/backend-project/node_modules/object-inspect/test/deep.js +12 -0
- package/backend-project/node_modules/object-inspect/test/element.js +53 -0
- package/backend-project/node_modules/object-inspect/test/err.js +48 -0
- package/backend-project/node_modules/object-inspect/test/fakes.js +29 -0
- package/backend-project/node_modules/object-inspect/test/fn.js +76 -0
- package/backend-project/node_modules/object-inspect/test/global.js +17 -0
- package/backend-project/node_modules/object-inspect/test/has.js +15 -0
- package/backend-project/node_modules/object-inspect/test/holes.js +15 -0
- package/backend-project/node_modules/object-inspect/test/indent-option.js +271 -0
- package/backend-project/node_modules/object-inspect/test/inspect.js +139 -0
- package/backend-project/node_modules/object-inspect/test/lowbyte.js +12 -0
- package/backend-project/node_modules/object-inspect/test/number.js +58 -0
- package/backend-project/node_modules/object-inspect/test/quoteStyle.js +26 -0
- package/backend-project/node_modules/object-inspect/test/toStringTag.js +40 -0
- package/backend-project/node_modules/object-inspect/test/undef.js +12 -0
- package/backend-project/node_modules/object-inspect/test/values.js +261 -0
- package/backend-project/node_modules/object-inspect/test-core-js.js +26 -0
- package/backend-project/node_modules/object-inspect/util.inspect.js +1 -0
- package/backend-project/node_modules/on-finished/HISTORY.md +98 -0
- package/backend-project/node_modules/on-finished/LICENSE +23 -0
- package/backend-project/node_modules/on-finished/README.md +162 -0
- package/backend-project/node_modules/on-finished/index.js +234 -0
- package/backend-project/node_modules/on-finished/package.json +39 -0
- package/backend-project/node_modules/parseurl/HISTORY.md +58 -0
- package/backend-project/node_modules/parseurl/LICENSE +24 -0
- package/backend-project/node_modules/parseurl/README.md +133 -0
- package/backend-project/node_modules/parseurl/index.js +158 -0
- package/backend-project/node_modules/parseurl/package.json +40 -0
- package/backend-project/node_modules/path-to-regexp/LICENSE +21 -0
- package/backend-project/node_modules/path-to-regexp/Readme.md +35 -0
- package/backend-project/node_modules/path-to-regexp/index.js +158 -0
- package/backend-project/node_modules/path-to-regexp/package.json +30 -0
- package/backend-project/node_modules/picomatch/LICENSE +21 -0
- package/backend-project/node_modules/picomatch/README.md +716 -0
- package/backend-project/node_modules/picomatch/index.js +3 -0
- package/backend-project/node_modules/picomatch/lib/constants.js +184 -0
- package/backend-project/node_modules/picomatch/lib/parse.js +1392 -0
- package/backend-project/node_modules/picomatch/lib/picomatch.js +342 -0
- package/backend-project/node_modules/picomatch/lib/scan.js +391 -0
- package/backend-project/node_modules/picomatch/lib/utils.js +64 -0
- package/backend-project/node_modules/picomatch/package.json +81 -0
- package/backend-project/node_modules/proxy-addr/HISTORY.md +161 -0
- package/backend-project/node_modules/proxy-addr/LICENSE +22 -0
- package/backend-project/node_modules/proxy-addr/README.md +139 -0
- package/backend-project/node_modules/proxy-addr/index.js +327 -0
- package/backend-project/node_modules/proxy-addr/package.json +47 -0
- package/backend-project/node_modules/pstree.remy/.travis.yml +8 -0
- package/backend-project/node_modules/pstree.remy/LICENSE +7 -0
- package/backend-project/node_modules/pstree.remy/README.md +26 -0
- package/backend-project/node_modules/pstree.remy/lib/index.js +37 -0
- package/backend-project/node_modules/pstree.remy/lib/tree.js +37 -0
- package/backend-project/node_modules/pstree.remy/lib/utils.js +53 -0
- package/backend-project/node_modules/pstree.remy/package.json +33 -0
- package/backend-project/node_modules/pstree.remy/tests/fixtures/index.js +13 -0
- package/backend-project/node_modules/pstree.remy/tests/fixtures/out1 +10 -0
- package/backend-project/node_modules/pstree.remy/tests/fixtures/out2 +29 -0
- package/backend-project/node_modules/pstree.remy/tests/index.test.js +51 -0
- package/backend-project/node_modules/punycode/LICENSE-MIT.txt +20 -0
- package/backend-project/node_modules/punycode/README.md +148 -0
- package/backend-project/node_modules/punycode/package.json +58 -0
- package/backend-project/node_modules/punycode/punycode.es6.js +444 -0
- package/backend-project/node_modules/punycode/punycode.js +443 -0
- package/backend-project/node_modules/qs/.editorconfig +46 -0
- package/backend-project/node_modules/qs/.github/FUNDING.yml +12 -0
- package/backend-project/node_modules/qs/.github/SECURITY.md +11 -0
- package/backend-project/node_modules/qs/.github/THREAT_MODEL.md +78 -0
- package/backend-project/node_modules/qs/.nycrc +13 -0
- package/backend-project/node_modules/qs/CHANGELOG.md +822 -0
- package/backend-project/node_modules/qs/LICENSE.md +29 -0
- package/backend-project/node_modules/qs/README.md +758 -0
- package/backend-project/node_modules/qs/dist/qs.js +141 -0
- package/backend-project/node_modules/qs/eslint.config.mjs +57 -0
- package/backend-project/node_modules/qs/lib/formats.js +23 -0
- package/backend-project/node_modules/qs/lib/index.js +11 -0
- package/backend-project/node_modules/qs/lib/parse.js +403 -0
- package/backend-project/node_modules/qs/lib/stringify.js +363 -0
- package/backend-project/node_modules/qs/lib/utils.js +342 -0
- package/backend-project/node_modules/qs/package.json +94 -0
- package/backend-project/node_modules/qs/test/empty-keys-cases.js +267 -0
- package/backend-project/node_modules/qs/test/parse.js +1703 -0
- package/backend-project/node_modules/qs/test/stringify.js +1448 -0
- package/backend-project/node_modules/qs/test/utils.js +432 -0
- package/backend-project/node_modules/range-parser/HISTORY.md +56 -0
- package/backend-project/node_modules/range-parser/LICENSE +23 -0
- package/backend-project/node_modules/range-parser/README.md +84 -0
- package/backend-project/node_modules/range-parser/index.js +162 -0
- package/backend-project/node_modules/range-parser/package.json +44 -0
- package/backend-project/node_modules/raw-body/LICENSE +22 -0
- package/backend-project/node_modules/raw-body/README.md +223 -0
- package/backend-project/node_modules/raw-body/index.d.ts +87 -0
- package/backend-project/node_modules/raw-body/index.js +336 -0
- package/backend-project/node_modules/raw-body/package.json +47 -0
- package/backend-project/node_modules/readdirp/LICENSE +21 -0
- package/backend-project/node_modules/readdirp/README.md +122 -0
- package/backend-project/node_modules/readdirp/index.d.ts +43 -0
- package/backend-project/node_modules/readdirp/index.js +287 -0
- package/backend-project/node_modules/readdirp/package.json +122 -0
- package/backend-project/node_modules/safe-buffer/LICENSE +21 -0
- package/backend-project/node_modules/safe-buffer/README.md +584 -0
- package/backend-project/node_modules/safe-buffer/index.d.ts +187 -0
- package/backend-project/node_modules/safe-buffer/index.js +65 -0
- package/backend-project/node_modules/safe-buffer/package.json +51 -0
- package/backend-project/node_modules/safer-buffer/LICENSE +21 -0
- package/backend-project/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- package/backend-project/node_modules/safer-buffer/Readme.md +156 -0
- package/backend-project/node_modules/safer-buffer/dangerous.js +58 -0
- package/backend-project/node_modules/safer-buffer/package.json +34 -0
- package/backend-project/node_modules/safer-buffer/safer.js +77 -0
- package/backend-project/node_modules/safer-buffer/tests.js +406 -0
- package/backend-project/node_modules/semver/LICENSE +15 -0
- package/backend-project/node_modules/semver/README.md +680 -0
- package/backend-project/node_modules/semver/bin/semver.js +195 -0
- package/backend-project/node_modules/semver/classes/comparator.js +143 -0
- package/backend-project/node_modules/semver/classes/index.js +7 -0
- package/backend-project/node_modules/semver/classes/range.js +564 -0
- package/backend-project/node_modules/semver/classes/semver.js +333 -0
- package/backend-project/node_modules/semver/functions/clean.js +8 -0
- package/backend-project/node_modules/semver/functions/cmp.js +54 -0
- package/backend-project/node_modules/semver/functions/coerce.js +62 -0
- package/backend-project/node_modules/semver/functions/compare-build.js +9 -0
- package/backend-project/node_modules/semver/functions/compare-loose.js +5 -0
- package/backend-project/node_modules/semver/functions/compare.js +7 -0
- package/backend-project/node_modules/semver/functions/diff.js +60 -0
- package/backend-project/node_modules/semver/functions/eq.js +5 -0
- package/backend-project/node_modules/semver/functions/gt.js +5 -0
- package/backend-project/node_modules/semver/functions/gte.js +5 -0
- package/backend-project/node_modules/semver/functions/inc.js +21 -0
- package/backend-project/node_modules/semver/functions/lt.js +5 -0
- package/backend-project/node_modules/semver/functions/lte.js +5 -0
- package/backend-project/node_modules/semver/functions/major.js +5 -0
- package/backend-project/node_modules/semver/functions/minor.js +5 -0
- package/backend-project/node_modules/semver/functions/neq.js +5 -0
- package/backend-project/node_modules/semver/functions/parse.js +18 -0
- package/backend-project/node_modules/semver/functions/patch.js +5 -0
- package/backend-project/node_modules/semver/functions/prerelease.js +8 -0
- package/backend-project/node_modules/semver/functions/rcompare.js +5 -0
- package/backend-project/node_modules/semver/functions/rsort.js +5 -0
- package/backend-project/node_modules/semver/functions/satisfies.js +12 -0
- package/backend-project/node_modules/semver/functions/sort.js +5 -0
- package/backend-project/node_modules/semver/functions/truncate.js +48 -0
- package/backend-project/node_modules/semver/functions/valid.js +8 -0
- package/backend-project/node_modules/semver/index.js +93 -0
- package/backend-project/node_modules/semver/internal/constants.js +37 -0
- package/backend-project/node_modules/semver/internal/debug.js +11 -0
- package/backend-project/node_modules/semver/internal/identifiers.js +29 -0
- package/backend-project/node_modules/semver/internal/lrucache.js +42 -0
- package/backend-project/node_modules/semver/internal/parse-options.js +17 -0
- package/backend-project/node_modules/semver/internal/re.js +223 -0
- package/backend-project/node_modules/semver/package.json +78 -0
- package/backend-project/node_modules/semver/preload.js +4 -0
- package/backend-project/node_modules/semver/range.bnf +17 -0
- package/backend-project/node_modules/semver/ranges/gtr.js +6 -0
- package/backend-project/node_modules/semver/ranges/intersects.js +9 -0
- package/backend-project/node_modules/semver/ranges/ltr.js +6 -0
- package/backend-project/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/backend-project/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/backend-project/node_modules/semver/ranges/min-version.js +63 -0
- package/backend-project/node_modules/semver/ranges/outside.js +82 -0
- package/backend-project/node_modules/semver/ranges/simplify.js +49 -0
- package/backend-project/node_modules/semver/ranges/subset.js +249 -0
- package/backend-project/node_modules/semver/ranges/to-comparators.js +10 -0
- package/backend-project/node_modules/semver/ranges/valid.js +13 -0
- package/backend-project/node_modules/send/HISTORY.md +538 -0
- package/backend-project/node_modules/send/LICENSE +23 -0
- package/backend-project/node_modules/send/README.md +327 -0
- package/backend-project/node_modules/send/SECURITY.md +24 -0
- package/backend-project/node_modules/send/index.js +1142 -0
- package/backend-project/node_modules/send/node_modules/ms/index.js +162 -0
- package/backend-project/node_modules/send/node_modules/ms/license.md +21 -0
- package/backend-project/node_modules/send/node_modules/ms/package.json +38 -0
- package/backend-project/node_modules/send/node_modules/ms/readme.md +59 -0
- package/backend-project/node_modules/send/package.json +62 -0
- package/backend-project/node_modules/serve-static/HISTORY.md +493 -0
- package/backend-project/node_modules/serve-static/LICENSE +25 -0
- package/backend-project/node_modules/serve-static/README.md +257 -0
- package/backend-project/node_modules/serve-static/index.js +209 -0
- package/backend-project/node_modules/serve-static/package.json +42 -0
- package/backend-project/node_modules/setprototypeof/LICENSE +13 -0
- package/backend-project/node_modules/setprototypeof/README.md +31 -0
- package/backend-project/node_modules/setprototypeof/index.d.ts +2 -0
- package/backend-project/node_modules/setprototypeof/index.js +17 -0
- package/backend-project/node_modules/setprototypeof/package.json +38 -0
- package/backend-project/node_modules/setprototypeof/test/index.js +24 -0
- package/backend-project/node_modules/side-channel/.editorconfig +9 -0
- package/backend-project/node_modules/side-channel/.eslintrc +12 -0
- package/backend-project/node_modules/side-channel/.github/FUNDING.yml +12 -0
- package/backend-project/node_modules/side-channel/.nycrc +13 -0
- package/backend-project/node_modules/side-channel/CHANGELOG.md +110 -0
- package/backend-project/node_modules/side-channel/LICENSE +21 -0
- package/backend-project/node_modules/side-channel/README.md +61 -0
- package/backend-project/node_modules/side-channel/index.d.ts +14 -0
- package/backend-project/node_modules/side-channel/index.js +43 -0
- package/backend-project/node_modules/side-channel/package.json +85 -0
- package/backend-project/node_modules/side-channel/test/index.js +104 -0
- package/backend-project/node_modules/side-channel/tsconfig.json +9 -0
- package/backend-project/node_modules/side-channel-list/.editorconfig +9 -0
- package/backend-project/node_modules/side-channel-list/.eslintrc +11 -0
- package/backend-project/node_modules/side-channel-list/.github/FUNDING.yml +12 -0
- package/backend-project/node_modules/side-channel-list/.nycrc +13 -0
- package/backend-project/node_modules/side-channel-list/CHANGELOG.md +36 -0
- package/backend-project/node_modules/side-channel-list/LICENSE +21 -0
- package/backend-project/node_modules/side-channel-list/README.md +62 -0
- package/backend-project/node_modules/side-channel-list/index.d.ts +13 -0
- package/backend-project/node_modules/side-channel-list/index.js +111 -0
- package/backend-project/node_modules/side-channel-list/list.d.ts +14 -0
- package/backend-project/node_modules/side-channel-list/package.json +77 -0
- package/backend-project/node_modules/side-channel-list/test/index.js +154 -0
- package/backend-project/node_modules/side-channel-list/tsconfig.json +9 -0
- package/backend-project/node_modules/side-channel-map/.editorconfig +9 -0
- package/backend-project/node_modules/side-channel-map/.eslintrc +11 -0
- package/backend-project/node_modules/side-channel-map/.github/FUNDING.yml +12 -0
- package/backend-project/node_modules/side-channel-map/.nycrc +13 -0
- package/backend-project/node_modules/side-channel-map/CHANGELOG.md +22 -0
- package/backend-project/node_modules/side-channel-map/LICENSE +21 -0
- package/backend-project/node_modules/side-channel-map/README.md +62 -0
- package/backend-project/node_modules/side-channel-map/index.d.ts +15 -0
- package/backend-project/node_modules/side-channel-map/index.js +68 -0
- package/backend-project/node_modules/side-channel-map/package.json +80 -0
- package/backend-project/node_modules/side-channel-map/test/index.js +114 -0
- package/backend-project/node_modules/side-channel-map/tsconfig.json +9 -0
- package/backend-project/node_modules/side-channel-weakmap/.editorconfig +9 -0
- package/backend-project/node_modules/side-channel-weakmap/.eslintrc +12 -0
- package/backend-project/node_modules/side-channel-weakmap/.github/FUNDING.yml +12 -0
- package/backend-project/node_modules/side-channel-weakmap/.nycrc +13 -0
- package/backend-project/node_modules/side-channel-weakmap/CHANGELOG.md +28 -0
- package/backend-project/node_modules/side-channel-weakmap/LICENSE +21 -0
- package/backend-project/node_modules/side-channel-weakmap/README.md +62 -0
- package/backend-project/node_modules/side-channel-weakmap/index.d.ts +15 -0
- package/backend-project/node_modules/side-channel-weakmap/index.js +84 -0
- package/backend-project/node_modules/side-channel-weakmap/package.json +87 -0
- package/backend-project/node_modules/side-channel-weakmap/test/index.js +114 -0
- package/backend-project/node_modules/side-channel-weakmap/tsconfig.json +9 -0
- package/backend-project/node_modules/sift/MIT-LICENSE.txt +20 -0
- package/backend-project/node_modules/sift/README.md +465 -0
- package/backend-project/node_modules/sift/es/index.js +626 -0
- package/backend-project/node_modules/sift/es/index.js.map +1 -0
- package/backend-project/node_modules/sift/es5m/index.js +729 -0
- package/backend-project/node_modules/sift/es5m/index.js.map +1 -0
- package/backend-project/node_modules/sift/index.d.ts +4 -0
- package/backend-project/node_modules/sift/index.js +4 -0
- package/backend-project/node_modules/sift/lib/core.d.ts +120 -0
- package/backend-project/node_modules/sift/lib/index.d.ts +6 -0
- package/backend-project/node_modules/sift/lib/index.js +766 -0
- package/backend-project/node_modules/sift/lib/index.js.map +1 -0
- package/backend-project/node_modules/sift/lib/operations.d.ts +88 -0
- package/backend-project/node_modules/sift/lib/utils.d.ts +9 -0
- package/backend-project/node_modules/sift/package.json +62 -0
- package/backend-project/node_modules/sift/sift.csp.min.js +763 -0
- package/backend-project/node_modules/sift/sift.csp.min.js.map +1 -0
- package/backend-project/node_modules/sift/sift.min.js +16 -0
- package/backend-project/node_modules/sift/sift.min.js.map +1 -0
- package/backend-project/node_modules/sift/src/core.d.ts +120 -0
- package/backend-project/node_modules/sift/src/core.js +267 -0
- package/backend-project/node_modules/sift/src/core.js.map +1 -0
- package/backend-project/node_modules/sift/src/core.ts +481 -0
- package/backend-project/node_modules/sift/src/index.d.ts +6 -0
- package/backend-project/node_modules/sift/src/index.js +38 -0
- package/backend-project/node_modules/sift/src/index.js.map +1 -0
- package/backend-project/node_modules/sift/src/index.ts +54 -0
- package/backend-project/node_modules/sift/src/operations.d.ts +88 -0
- package/backend-project/node_modules/sift/src/operations.js +297 -0
- package/backend-project/node_modules/sift/src/operations.js.map +1 -0
- package/backend-project/node_modules/sift/src/operations.ts +411 -0
- package/backend-project/node_modules/sift/src/utils.d.ts +9 -0
- package/backend-project/node_modules/sift/src/utils.js +70 -0
- package/backend-project/node_modules/sift/src/utils.js.map +1 -0
- package/backend-project/node_modules/sift/src/utils.ts +68 -0
- package/backend-project/node_modules/simple-update-notifier/LICENSE +21 -0
- package/backend-project/node_modules/simple-update-notifier/README.md +82 -0
- package/backend-project/node_modules/simple-update-notifier/build/index.d.ts +13 -0
- package/backend-project/node_modules/simple-update-notifier/build/index.js +210 -0
- package/backend-project/node_modules/simple-update-notifier/package.json +100 -0
- package/backend-project/node_modules/simple-update-notifier/src/borderedText.ts +12 -0
- package/backend-project/node_modules/simple-update-notifier/src/cache.spec.ts +17 -0
- package/backend-project/node_modules/simple-update-notifier/src/cache.ts +44 -0
- package/backend-project/node_modules/simple-update-notifier/src/getDistVersion.spec.ts +35 -0
- package/backend-project/node_modules/simple-update-notifier/src/getDistVersion.ts +29 -0
- package/backend-project/node_modules/simple-update-notifier/src/hasNewVersion.spec.ts +82 -0
- package/backend-project/node_modules/simple-update-notifier/src/hasNewVersion.ts +40 -0
- package/backend-project/node_modules/simple-update-notifier/src/index.spec.ts +27 -0
- package/backend-project/node_modules/simple-update-notifier/src/index.ts +34 -0
- package/backend-project/node_modules/simple-update-notifier/src/isNpmOrYarn.ts +12 -0
- package/backend-project/node_modules/simple-update-notifier/src/types.ts +8 -0
- package/backend-project/node_modules/smart-buffer/.prettierrc.yaml +5 -0
- package/backend-project/node_modules/smart-buffer/.travis.yml +13 -0
- package/backend-project/node_modules/smart-buffer/LICENSE +20 -0
- package/backend-project/node_modules/smart-buffer/README.md +633 -0
- package/backend-project/node_modules/smart-buffer/build/smartbuffer.js +1233 -0
- package/backend-project/node_modules/smart-buffer/build/smartbuffer.js.map +1 -0
- package/backend-project/node_modules/smart-buffer/build/utils.js +108 -0
- package/backend-project/node_modules/smart-buffer/build/utils.js.map +1 -0
- package/backend-project/node_modules/smart-buffer/docs/CHANGELOG.md +70 -0
- package/backend-project/node_modules/smart-buffer/docs/README_v3.md +367 -0
- package/backend-project/node_modules/smart-buffer/docs/ROADMAP.md +0 -0
- package/backend-project/node_modules/smart-buffer/package.json +79 -0
- package/backend-project/node_modules/smart-buffer/typings/smartbuffer.d.ts +755 -0
- package/backend-project/node_modules/smart-buffer/typings/utils.d.ts +66 -0
- package/backend-project/node_modules/socks/.eslintrc.cjs +11 -0
- package/backend-project/node_modules/socks/.prettierrc.yaml +7 -0
- package/backend-project/node_modules/socks/LICENSE +20 -0
- package/backend-project/node_modules/socks/README.md +686 -0
- package/backend-project/node_modules/socks/build/client/socksclient.js +793 -0
- package/backend-project/node_modules/socks/build/client/socksclient.js.map +1 -0
- package/backend-project/node_modules/socks/build/common/constants.js +108 -0
- package/backend-project/node_modules/socks/build/common/constants.js.map +1 -0
- package/backend-project/node_modules/socks/build/common/helpers.js +167 -0
- package/backend-project/node_modules/socks/build/common/helpers.js.map +1 -0
- package/backend-project/node_modules/socks/build/common/receivebuffer.js +43 -0
- package/backend-project/node_modules/socks/build/common/receivebuffer.js.map +1 -0
- package/backend-project/node_modules/socks/build/common/util.js +25 -0
- package/backend-project/node_modules/socks/build/common/util.js.map +1 -0
- package/backend-project/node_modules/socks/build/index.js +18 -0
- package/backend-project/node_modules/socks/build/index.js.map +1 -0
- package/backend-project/node_modules/socks/docs/examples/index.md +17 -0
- package/backend-project/node_modules/socks/docs/examples/javascript/associateExample.md +90 -0
- package/backend-project/node_modules/socks/docs/examples/javascript/bindExample.md +83 -0
- package/backend-project/node_modules/socks/docs/examples/javascript/connectExample.md +258 -0
- package/backend-project/node_modules/socks/docs/examples/typescript/associateExample.md +93 -0
- package/backend-project/node_modules/socks/docs/examples/typescript/bindExample.md +86 -0
- package/backend-project/node_modules/socks/docs/examples/typescript/connectExample.md +265 -0
- package/backend-project/node_modules/socks/docs/index.md +5 -0
- package/backend-project/node_modules/socks/docs/migratingFromV1.md +86 -0
- package/backend-project/node_modules/socks/package.json +58 -0
- package/backend-project/node_modules/socks/typings/client/socksclient.d.ts +162 -0
- package/backend-project/node_modules/socks/typings/common/constants.d.ts +151 -0
- package/backend-project/node_modules/socks/typings/common/helpers.d.ts +17 -0
- package/backend-project/node_modules/socks/typings/common/receivebuffer.d.ts +12 -0
- package/backend-project/node_modules/socks/typings/common/util.d.ts +14 -0
- package/backend-project/node_modules/socks/typings/index.d.ts +1 -0
- package/backend-project/node_modules/sparse-bitfield/.travis.yml +6 -0
- package/backend-project/node_modules/sparse-bitfield/LICENSE +21 -0
- package/backend-project/node_modules/sparse-bitfield/README.md +62 -0
- package/backend-project/node_modules/sparse-bitfield/index.js +95 -0
- package/backend-project/node_modules/sparse-bitfield/package.json +27 -0
- package/backend-project/node_modules/sparse-bitfield/test.js +79 -0
- package/backend-project/node_modules/statuses/HISTORY.md +87 -0
- package/backend-project/node_modules/statuses/LICENSE +23 -0
- package/backend-project/node_modules/statuses/README.md +139 -0
- package/backend-project/node_modules/statuses/codes.json +65 -0
- package/backend-project/node_modules/statuses/index.js +146 -0
- package/backend-project/node_modules/statuses/package.json +49 -0
- package/backend-project/node_modules/supports-color/browser.js +5 -0
- package/backend-project/node_modules/supports-color/index.js +131 -0
- package/backend-project/node_modules/supports-color/license +9 -0
- package/backend-project/node_modules/supports-color/package.json +53 -0
- package/backend-project/node_modules/supports-color/readme.md +66 -0
- package/backend-project/node_modules/to-regex-range/LICENSE +21 -0
- package/backend-project/node_modules/to-regex-range/README.md +305 -0
- package/backend-project/node_modules/to-regex-range/index.js +288 -0
- package/backend-project/node_modules/to-regex-range/package.json +88 -0
- package/backend-project/node_modules/toidentifier/HISTORY.md +9 -0
- package/backend-project/node_modules/toidentifier/LICENSE +21 -0
- package/backend-project/node_modules/toidentifier/README.md +61 -0
- package/backend-project/node_modules/toidentifier/index.js +32 -0
- package/backend-project/node_modules/toidentifier/package.json +38 -0
- package/backend-project/node_modules/touch/LICENSE +15 -0
- package/backend-project/node_modules/touch/README.md +52 -0
- package/backend-project/node_modules/touch/bin/nodetouch.js +112 -0
- package/backend-project/node_modules/touch/index.js +224 -0
- package/backend-project/node_modules/touch/package.json +25 -0
- package/backend-project/node_modules/tr46/LICENSE.md +21 -0
- package/backend-project/node_modules/tr46/README.md +78 -0
- package/backend-project/node_modules/tr46/index.js +298 -0
- package/backend-project/node_modules/tr46/lib/mappingTable.json +1 -0
- package/backend-project/node_modules/tr46/lib/regexes.js +29 -0
- package/backend-project/node_modules/tr46/lib/statusMapping.js +11 -0
- package/backend-project/node_modules/tr46/package.json +47 -0
- package/backend-project/node_modules/type-is/HISTORY.md +259 -0
- package/backend-project/node_modules/type-is/LICENSE +23 -0
- package/backend-project/node_modules/type-is/README.md +170 -0
- package/backend-project/node_modules/type-is/index.js +266 -0
- package/backend-project/node_modules/type-is/package.json +45 -0
- package/backend-project/node_modules/undefsafe/.github/workflows/release.yml +25 -0
- package/backend-project/node_modules/undefsafe/.jscsrc +13 -0
- package/backend-project/node_modules/undefsafe/.jshintrc +16 -0
- package/backend-project/node_modules/undefsafe/.travis.yml +18 -0
- package/backend-project/node_modules/undefsafe/LICENSE +22 -0
- package/backend-project/node_modules/undefsafe/README.md +63 -0
- package/backend-project/node_modules/undefsafe/example.js +14 -0
- package/backend-project/node_modules/undefsafe/lib/undefsafe.js +125 -0
- package/backend-project/node_modules/undefsafe/package.json +34 -0
- package/backend-project/node_modules/undici-types/LICENSE +21 -0
- package/backend-project/node_modules/undici-types/README.md +6 -0
- package/backend-project/node_modules/undici-types/agent.d.ts +32 -0
- package/backend-project/node_modules/undici-types/api.d.ts +43 -0
- package/backend-project/node_modules/undici-types/balanced-pool.d.ts +30 -0
- package/backend-project/node_modules/undici-types/cache-interceptor.d.ts +179 -0
- package/backend-project/node_modules/undici-types/cache.d.ts +36 -0
- package/backend-project/node_modules/undici-types/client-stats.d.ts +15 -0
- package/backend-project/node_modules/undici-types/client.d.ts +123 -0
- package/backend-project/node_modules/undici-types/connector.d.ts +36 -0
- package/backend-project/node_modules/undici-types/content-type.d.ts +21 -0
- package/backend-project/node_modules/undici-types/cookies.d.ts +30 -0
- package/backend-project/node_modules/undici-types/diagnostics-channel.d.ts +74 -0
- package/backend-project/node_modules/undici-types/dispatcher.d.ts +279 -0
- package/backend-project/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
- package/backend-project/node_modules/undici-types/errors.d.ts +177 -0
- package/backend-project/node_modules/undici-types/eventsource.d.ts +66 -0
- package/backend-project/node_modules/undici-types/fetch.d.ts +211 -0
- package/backend-project/node_modules/undici-types/formdata.d.ts +108 -0
- package/backend-project/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/backend-project/node_modules/undici-types/global-origin.d.ts +7 -0
- package/backend-project/node_modules/undici-types/h2c-client.d.ts +73 -0
- package/backend-project/node_modules/undici-types/handlers.d.ts +15 -0
- package/backend-project/node_modules/undici-types/header.d.ts +160 -0
- package/backend-project/node_modules/undici-types/index.d.ts +91 -0
- package/backend-project/node_modules/undici-types/interceptors.d.ts +80 -0
- package/backend-project/node_modules/undici-types/mock-agent.d.ts +68 -0
- package/backend-project/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/backend-project/node_modules/undici-types/mock-client.d.ts +27 -0
- package/backend-project/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/backend-project/node_modules/undici-types/mock-interceptor.d.ts +94 -0
- package/backend-project/node_modules/undici-types/mock-pool.d.ts +27 -0
- package/backend-project/node_modules/undici-types/package.json +55 -0
- package/backend-project/node_modules/undici-types/patch.d.ts +29 -0
- package/backend-project/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/backend-project/node_modules/undici-types/pool.d.ts +41 -0
- package/backend-project/node_modules/undici-types/proxy-agent.d.ts +29 -0
- package/backend-project/node_modules/undici-types/readable.d.ts +68 -0
- package/backend-project/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/backend-project/node_modules/undici-types/retry-handler.d.ts +125 -0
- package/backend-project/node_modules/undici-types/round-robin-pool.d.ts +41 -0
- package/backend-project/node_modules/undici-types/snapshot-agent.d.ts +109 -0
- package/backend-project/node_modules/undici-types/socks5-proxy-agent.d.ts +25 -0
- package/backend-project/node_modules/undici-types/util.d.ts +18 -0
- package/backend-project/node_modules/undici-types/utility.d.ts +7 -0
- package/backend-project/node_modules/undici-types/webidl.d.ts +347 -0
- package/backend-project/node_modules/undici-types/websocket.d.ts +188 -0
- package/backend-project/node_modules/unpipe/HISTORY.md +4 -0
- package/backend-project/node_modules/unpipe/LICENSE +22 -0
- package/backend-project/node_modules/unpipe/README.md +43 -0
- package/backend-project/node_modules/unpipe/index.js +69 -0
- package/backend-project/node_modules/unpipe/package.json +27 -0
- package/backend-project/node_modules/utils-merge/LICENSE +20 -0
- package/backend-project/node_modules/utils-merge/README.md +34 -0
- package/backend-project/node_modules/utils-merge/index.js +23 -0
- package/backend-project/node_modules/utils-merge/package.json +40 -0
- package/backend-project/node_modules/vary/HISTORY.md +39 -0
- package/backend-project/node_modules/vary/LICENSE +22 -0
- package/backend-project/node_modules/vary/README.md +101 -0
- package/backend-project/node_modules/vary/index.js +149 -0
- package/backend-project/node_modules/vary/package.json +43 -0
- package/backend-project/node_modules/webidl-conversions/LICENSE.md +12 -0
- package/backend-project/node_modules/webidl-conversions/README.md +99 -0
- package/backend-project/node_modules/webidl-conversions/lib/index.js +450 -0
- package/backend-project/node_modules/webidl-conversions/package.json +35 -0
- package/backend-project/node_modules/whatwg-url/LICENSE.txt +21 -0
- package/backend-project/node_modules/whatwg-url/README.md +106 -0
- package/backend-project/node_modules/whatwg-url/index.js +27 -0
- package/backend-project/node_modules/whatwg-url/lib/Function.js +42 -0
- package/backend-project/node_modules/whatwg-url/lib/URL-impl.js +209 -0
- package/backend-project/node_modules/whatwg-url/lib/URL.js +442 -0
- package/backend-project/node_modules/whatwg-url/lib/URLSearchParams-impl.js +130 -0
- package/backend-project/node_modules/whatwg-url/lib/URLSearchParams.js +472 -0
- package/backend-project/node_modules/whatwg-url/lib/VoidFunction.js +26 -0
- package/backend-project/node_modules/whatwg-url/lib/encoding.js +16 -0
- package/backend-project/node_modules/whatwg-url/lib/infra.js +26 -0
- package/backend-project/node_modules/whatwg-url/lib/percent-encoding.js +142 -0
- package/backend-project/node_modules/whatwg-url/lib/url-state-machine.js +1244 -0
- package/backend-project/node_modules/whatwg-url/lib/urlencoded.js +106 -0
- package/backend-project/node_modules/whatwg-url/lib/utils.js +190 -0
- package/backend-project/node_modules/whatwg-url/package.json +58 -0
- package/backend-project/node_modules/whatwg-url/webidl2js-wrapper.js +7 -0
- package/backend-project/package-lock.json +1640 -0
- package/backend-project/package.json +29 -0
- package/backend-project/routes/auth.js +8 -0
- package/backend-project/routes/products.js +10 -0
- package/backend-project/routes/reports.js +11 -0
- package/backend-project/routes/transactions.js +12 -0
- package/backend-project/routes/warehouses.js +10 -0
- package/backend-project/server.js +49 -0
- package/bin/stockhub.js +44 -0
- package/frontend-project/package.json +41 -0
- package/frontend-project/postcss.config.js +6 -0
- package/frontend-project/public/index.html +14 -0
- package/frontend-project/src/App.js +59 -0
- package/frontend-project/src/components/Auth/Login.js +116 -0
- package/frontend-project/src/components/Auth/Register.js +142 -0
- package/frontend-project/src/components/Dashboard/Dashboard.js +183 -0
- package/frontend-project/src/components/Layout/Layout.js +162 -0
- package/frontend-project/src/components/Products/Products.js +253 -0
- package/frontend-project/src/components/Reports/Reports.js +312 -0
- package/frontend-project/src/components/Transactions/Transactions.js +310 -0
- package/frontend-project/src/components/Warehouses/Warehouses.js +178 -0
- package/frontend-project/src/index.css +30 -0
- package/frontend-project/src/index.js +11 -0
- package/frontend-project/src/services/api.js +76 -0
- package/frontend-project/tailwind.config.js +19 -0
- package/package.json +49 -0
- package/setup.js +157 -0
|
@@ -0,0 +1,1064 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.matchesParentDomain = exports.parseUnsignedInteger = exports.parseInteger = exports.compareObjectId = exports.getMongoDBClientEncryption = exports.commandSupportsReadConcern = exports.shuffle = exports.supportsRetryableWrites = exports.enumToString = exports.emitWarningOnce = exports.emitWarning = exports.MONGODB_WARNING_CODE = exports.DEFAULT_PK_FACTORY = exports.HostAddress = exports.BufferPool = exports.List = exports.deepCopy = exports.isRecord = exports.setDifference = exports.isHello = exports.isSuperset = exports.resolveOptions = exports.hasAtomicOperators = exports.calculateDurationInMs = exports.now = exports.makeStateMachine = exports.errorStrictEqual = exports.arrayStrictEqual = exports.eachAsync = exports.maxWireVersion = exports.uuidV4 = exports.databaseNamespace = exports.maybeCallback = exports.makeCounter = exports.MongoDBCollectionNamespace = exports.MongoDBNamespace = exports.ns = exports.getTopology = exports.decorateWithExplain = exports.decorateWithReadConcern = exports.decorateWithCollation = exports.isPromiseLike = exports.applyRetryableWrites = exports.filterOptions = exports.mergeOptions = exports.isObject = exports.normalizeHintField = exports.checkCollectionName = exports.hostMatchesWildcards = exports.ByteUtils = void 0;
|
|
4
|
+
exports.request = void 0;
|
|
5
|
+
const crypto = require("crypto");
|
|
6
|
+
const http = require("http");
|
|
7
|
+
const url = require("url");
|
|
8
|
+
const url_1 = require("url");
|
|
9
|
+
const bson_1 = require("./bson");
|
|
10
|
+
const constants_1 = require("./cmap/wire_protocol/constants");
|
|
11
|
+
const constants_2 = require("./constants");
|
|
12
|
+
const error_1 = require("./error");
|
|
13
|
+
const read_concern_1 = require("./read_concern");
|
|
14
|
+
const read_preference_1 = require("./read_preference");
|
|
15
|
+
const common_1 = require("./sdam/common");
|
|
16
|
+
const write_concern_1 = require("./write_concern");
|
|
17
|
+
exports.ByteUtils = {
|
|
18
|
+
toLocalBufferType(buffer) {
|
|
19
|
+
return Buffer.isBuffer(buffer)
|
|
20
|
+
? buffer
|
|
21
|
+
: Buffer.from(buffer.buffer, buffer.byteOffset, buffer.byteLength);
|
|
22
|
+
},
|
|
23
|
+
equals(seqA, seqB) {
|
|
24
|
+
return exports.ByteUtils.toLocalBufferType(seqA).equals(seqB);
|
|
25
|
+
},
|
|
26
|
+
compare(seqA, seqB) {
|
|
27
|
+
return exports.ByteUtils.toLocalBufferType(seqA).compare(seqB);
|
|
28
|
+
},
|
|
29
|
+
toBase64(uint8array) {
|
|
30
|
+
return exports.ByteUtils.toLocalBufferType(uint8array).toString('base64');
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Determines if a connection's address matches a user provided list
|
|
35
|
+
* of domain wildcards.
|
|
36
|
+
*/
|
|
37
|
+
function hostMatchesWildcards(host, wildcards) {
|
|
38
|
+
for (const wildcard of wildcards) {
|
|
39
|
+
if (host === wildcard ||
|
|
40
|
+
(wildcard.startsWith('*.') && host?.endsWith(wildcard.substring(2, wildcard.length))) ||
|
|
41
|
+
(wildcard.startsWith('*/') && host?.endsWith(wildcard.substring(2, wildcard.length)))) {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
exports.hostMatchesWildcards = hostMatchesWildcards;
|
|
48
|
+
/**
|
|
49
|
+
* Throws if collectionName is not a valid mongodb collection namespace.
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
function checkCollectionName(collectionName) {
|
|
53
|
+
if ('string' !== typeof collectionName) {
|
|
54
|
+
throw new error_1.MongoInvalidArgumentError('Collection name must be a String');
|
|
55
|
+
}
|
|
56
|
+
if (!collectionName || collectionName.indexOf('..') !== -1) {
|
|
57
|
+
throw new error_1.MongoInvalidArgumentError('Collection names cannot be empty');
|
|
58
|
+
}
|
|
59
|
+
if (collectionName.indexOf('$') !== -1 &&
|
|
60
|
+
collectionName.match(/((^\$cmd)|(oplog\.\$main))/) == null) {
|
|
61
|
+
// TODO(NODE-3483): Use MongoNamespace static method
|
|
62
|
+
throw new error_1.MongoInvalidArgumentError("Collection names must not contain '$'");
|
|
63
|
+
}
|
|
64
|
+
if (collectionName.match(/^\.|\.$/) != null) {
|
|
65
|
+
// TODO(NODE-3483): Use MongoNamespace static method
|
|
66
|
+
throw new error_1.MongoInvalidArgumentError("Collection names must not start or end with '.'");
|
|
67
|
+
}
|
|
68
|
+
// Validate that we are not passing 0x00 in the collection name
|
|
69
|
+
if (collectionName.indexOf('\x00') !== -1) {
|
|
70
|
+
// TODO(NODE-3483): Use MongoNamespace static method
|
|
71
|
+
throw new error_1.MongoInvalidArgumentError('Collection names cannot contain a null character');
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.checkCollectionName = checkCollectionName;
|
|
75
|
+
/**
|
|
76
|
+
* Ensure Hint field is in a shape we expect:
|
|
77
|
+
* - object of index names mapping to 1 or -1
|
|
78
|
+
* - just an index name
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
function normalizeHintField(hint) {
|
|
82
|
+
let finalHint = undefined;
|
|
83
|
+
if (typeof hint === 'string') {
|
|
84
|
+
finalHint = hint;
|
|
85
|
+
}
|
|
86
|
+
else if (Array.isArray(hint)) {
|
|
87
|
+
finalHint = {};
|
|
88
|
+
hint.forEach(param => {
|
|
89
|
+
finalHint[param] = 1;
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
else if (hint != null && typeof hint === 'object') {
|
|
93
|
+
finalHint = {};
|
|
94
|
+
for (const name in hint) {
|
|
95
|
+
finalHint[name] = hint[name];
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
return finalHint;
|
|
99
|
+
}
|
|
100
|
+
exports.normalizeHintField = normalizeHintField;
|
|
101
|
+
const TO_STRING = (object) => Object.prototype.toString.call(object);
|
|
102
|
+
/**
|
|
103
|
+
* Checks if arg is an Object:
|
|
104
|
+
* - **NOTE**: the check is based on the `[Symbol.toStringTag]() === 'Object'`
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
107
|
+
function isObject(arg) {
|
|
108
|
+
return '[object Object]' === TO_STRING(arg);
|
|
109
|
+
}
|
|
110
|
+
exports.isObject = isObject;
|
|
111
|
+
/** @internal */
|
|
112
|
+
function mergeOptions(target, source) {
|
|
113
|
+
return { ...target, ...source };
|
|
114
|
+
}
|
|
115
|
+
exports.mergeOptions = mergeOptions;
|
|
116
|
+
/** @internal */
|
|
117
|
+
function filterOptions(options, names) {
|
|
118
|
+
const filterOptions = {};
|
|
119
|
+
for (const name in options) {
|
|
120
|
+
if (names.includes(name)) {
|
|
121
|
+
filterOptions[name] = options[name];
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
// Filtered options
|
|
125
|
+
return filterOptions;
|
|
126
|
+
}
|
|
127
|
+
exports.filterOptions = filterOptions;
|
|
128
|
+
/**
|
|
129
|
+
* Applies retryWrites: true to a command if retryWrites is set on the command's database.
|
|
130
|
+
* @internal
|
|
131
|
+
*
|
|
132
|
+
* @param target - The target command to which we will apply retryWrites.
|
|
133
|
+
* @param db - The database from which we can inherit a retryWrites value.
|
|
134
|
+
*/
|
|
135
|
+
function applyRetryableWrites(target, db) {
|
|
136
|
+
if (db && db.s.options?.retryWrites) {
|
|
137
|
+
target.retryWrites = true;
|
|
138
|
+
}
|
|
139
|
+
return target;
|
|
140
|
+
}
|
|
141
|
+
exports.applyRetryableWrites = applyRetryableWrites;
|
|
142
|
+
/**
|
|
143
|
+
* Applies a write concern to a command based on well defined inheritance rules, optionally
|
|
144
|
+
* detecting support for the write concern in the first place.
|
|
145
|
+
* @internal
|
|
146
|
+
*
|
|
147
|
+
* @param target - the target command we will be applying the write concern to
|
|
148
|
+
* @param sources - sources where we can inherit default write concerns from
|
|
149
|
+
* @param options - optional settings passed into a command for write concern overrides
|
|
150
|
+
*/
|
|
151
|
+
/**
|
|
152
|
+
* Checks if a given value is a Promise
|
|
153
|
+
*
|
|
154
|
+
* @typeParam T - The resolution type of the possible promise
|
|
155
|
+
* @param value - An object that could be a promise
|
|
156
|
+
* @returns true if the provided value is a Promise
|
|
157
|
+
*/
|
|
158
|
+
function isPromiseLike(value) {
|
|
159
|
+
return !!value && typeof value.then === 'function';
|
|
160
|
+
}
|
|
161
|
+
exports.isPromiseLike = isPromiseLike;
|
|
162
|
+
/**
|
|
163
|
+
* Applies collation to a given command.
|
|
164
|
+
* @internal
|
|
165
|
+
*
|
|
166
|
+
* @param command - the command on which to apply collation
|
|
167
|
+
* @param target - target of command
|
|
168
|
+
* @param options - options containing collation settings
|
|
169
|
+
*/
|
|
170
|
+
function decorateWithCollation(command, target, options) {
|
|
171
|
+
const capabilities = getTopology(target).capabilities;
|
|
172
|
+
if (options.collation && typeof options.collation === 'object') {
|
|
173
|
+
if (capabilities && capabilities.commandsTakeCollation) {
|
|
174
|
+
command.collation = options.collation;
|
|
175
|
+
}
|
|
176
|
+
else {
|
|
177
|
+
throw new error_1.MongoCompatibilityError(`Current topology does not support collation`);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
exports.decorateWithCollation = decorateWithCollation;
|
|
182
|
+
/**
|
|
183
|
+
* Applies a read concern to a given command.
|
|
184
|
+
* @internal
|
|
185
|
+
*
|
|
186
|
+
* @param command - the command on which to apply the read concern
|
|
187
|
+
* @param coll - the parent collection of the operation calling this method
|
|
188
|
+
*/
|
|
189
|
+
function decorateWithReadConcern(command, coll, options) {
|
|
190
|
+
if (options && options.session && options.session.inTransaction()) {
|
|
191
|
+
return;
|
|
192
|
+
}
|
|
193
|
+
const readConcern = Object.assign({}, command.readConcern || {});
|
|
194
|
+
if (coll.s.readConcern) {
|
|
195
|
+
Object.assign(readConcern, coll.s.readConcern);
|
|
196
|
+
}
|
|
197
|
+
if (Object.keys(readConcern).length > 0) {
|
|
198
|
+
Object.assign(command, { readConcern: readConcern });
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
exports.decorateWithReadConcern = decorateWithReadConcern;
|
|
202
|
+
/**
|
|
203
|
+
* Applies an explain to a given command.
|
|
204
|
+
* @internal
|
|
205
|
+
*
|
|
206
|
+
* @param command - the command on which to apply the explain
|
|
207
|
+
* @param options - the options containing the explain verbosity
|
|
208
|
+
*/
|
|
209
|
+
function decorateWithExplain(command, explain) {
|
|
210
|
+
if (command.explain) {
|
|
211
|
+
return command;
|
|
212
|
+
}
|
|
213
|
+
return { explain: command, verbosity: explain.verbosity };
|
|
214
|
+
}
|
|
215
|
+
exports.decorateWithExplain = decorateWithExplain;
|
|
216
|
+
/**
|
|
217
|
+
* A helper function to get the topology from a given provider. Throws
|
|
218
|
+
* if the topology cannot be found.
|
|
219
|
+
* @throws MongoNotConnectedError
|
|
220
|
+
* @internal
|
|
221
|
+
*/
|
|
222
|
+
function getTopology(provider) {
|
|
223
|
+
// MongoClient or ClientSession or AbstractCursor
|
|
224
|
+
if ('topology' in provider && provider.topology) {
|
|
225
|
+
return provider.topology;
|
|
226
|
+
}
|
|
227
|
+
else if ('client' in provider && provider.client.topology) {
|
|
228
|
+
return provider.client.topology;
|
|
229
|
+
}
|
|
230
|
+
throw new error_1.MongoNotConnectedError('MongoClient must be connected to perform this operation');
|
|
231
|
+
}
|
|
232
|
+
exports.getTopology = getTopology;
|
|
233
|
+
/** @internal */
|
|
234
|
+
function ns(ns) {
|
|
235
|
+
return MongoDBNamespace.fromString(ns);
|
|
236
|
+
}
|
|
237
|
+
exports.ns = ns;
|
|
238
|
+
/** @public */
|
|
239
|
+
class MongoDBNamespace {
|
|
240
|
+
/**
|
|
241
|
+
* Create a namespace object
|
|
242
|
+
*
|
|
243
|
+
* @param db - database name
|
|
244
|
+
* @param collection - collection name
|
|
245
|
+
*/
|
|
246
|
+
constructor(db, collection) {
|
|
247
|
+
this.db = db;
|
|
248
|
+
this.collection = collection;
|
|
249
|
+
this.collection = collection === '' ? undefined : collection;
|
|
250
|
+
}
|
|
251
|
+
toString() {
|
|
252
|
+
return this.collection ? `${this.db}.${this.collection}` : this.db;
|
|
253
|
+
}
|
|
254
|
+
withCollection(collection) {
|
|
255
|
+
return new MongoDBCollectionNamespace(this.db, collection);
|
|
256
|
+
}
|
|
257
|
+
static fromString(namespace) {
|
|
258
|
+
if (typeof namespace !== 'string' || namespace === '') {
|
|
259
|
+
// TODO(NODE-3483): Replace with MongoNamespaceError
|
|
260
|
+
throw new error_1.MongoRuntimeError(`Cannot parse namespace from "${namespace}"`);
|
|
261
|
+
}
|
|
262
|
+
const [db, ...collectionParts] = namespace.split('.');
|
|
263
|
+
const collection = collectionParts.join('.');
|
|
264
|
+
return new MongoDBNamespace(db, collection === '' ? undefined : collection);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
exports.MongoDBNamespace = MongoDBNamespace;
|
|
268
|
+
/**
|
|
269
|
+
* @public
|
|
270
|
+
*
|
|
271
|
+
* A class representing a collection's namespace. This class enforces (through Typescript) that
|
|
272
|
+
* the `collection` portion of the namespace is defined and should only be
|
|
273
|
+
* used in scenarios where this can be guaranteed.
|
|
274
|
+
*/
|
|
275
|
+
class MongoDBCollectionNamespace extends MongoDBNamespace {
|
|
276
|
+
constructor(db, collection) {
|
|
277
|
+
super(db, collection);
|
|
278
|
+
this.collection = collection;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
exports.MongoDBCollectionNamespace = MongoDBCollectionNamespace;
|
|
282
|
+
/** @internal */
|
|
283
|
+
function* makeCounter(seed = 0) {
|
|
284
|
+
let count = seed;
|
|
285
|
+
while (true) {
|
|
286
|
+
const newCount = count;
|
|
287
|
+
count += 1;
|
|
288
|
+
yield newCount;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
exports.makeCounter = makeCounter;
|
|
292
|
+
function maybeCallback(promiseFn, callback) {
|
|
293
|
+
const promise = promiseFn();
|
|
294
|
+
if (callback == null) {
|
|
295
|
+
return promise;
|
|
296
|
+
}
|
|
297
|
+
promise.then(result => callback(undefined, result), error => callback(error));
|
|
298
|
+
return;
|
|
299
|
+
}
|
|
300
|
+
exports.maybeCallback = maybeCallback;
|
|
301
|
+
/** @internal */
|
|
302
|
+
function databaseNamespace(ns) {
|
|
303
|
+
return ns.split('.')[0];
|
|
304
|
+
}
|
|
305
|
+
exports.databaseNamespace = databaseNamespace;
|
|
306
|
+
/**
|
|
307
|
+
* Synchronously Generate a UUIDv4
|
|
308
|
+
* @internal
|
|
309
|
+
*/
|
|
310
|
+
function uuidV4() {
|
|
311
|
+
const result = crypto.randomBytes(16);
|
|
312
|
+
result[6] = (result[6] & 0x0f) | 0x40;
|
|
313
|
+
result[8] = (result[8] & 0x3f) | 0x80;
|
|
314
|
+
return result;
|
|
315
|
+
}
|
|
316
|
+
exports.uuidV4 = uuidV4;
|
|
317
|
+
/**
|
|
318
|
+
* A helper function for determining `maxWireVersion` between legacy and new topology instances
|
|
319
|
+
* @internal
|
|
320
|
+
*/
|
|
321
|
+
function maxWireVersion(topologyOrServer) {
|
|
322
|
+
if (topologyOrServer) {
|
|
323
|
+
if (topologyOrServer.loadBalanced) {
|
|
324
|
+
// Since we do not have a monitor, we assume the load balanced server is always
|
|
325
|
+
// pointed at the latest mongodb version. There is a risk that for on-prem
|
|
326
|
+
// deployments that don't upgrade immediately that this could alert to the
|
|
327
|
+
// application that a feature is available that is actually not.
|
|
328
|
+
return constants_1.MAX_SUPPORTED_WIRE_VERSION;
|
|
329
|
+
}
|
|
330
|
+
if (topologyOrServer.hello) {
|
|
331
|
+
return topologyOrServer.hello.maxWireVersion;
|
|
332
|
+
}
|
|
333
|
+
if ('lastHello' in topologyOrServer && typeof topologyOrServer.lastHello === 'function') {
|
|
334
|
+
const lastHello = topologyOrServer.lastHello();
|
|
335
|
+
if (lastHello) {
|
|
336
|
+
return lastHello.maxWireVersion;
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
if (topologyOrServer.description &&
|
|
340
|
+
'maxWireVersion' in topologyOrServer.description &&
|
|
341
|
+
topologyOrServer.description.maxWireVersion != null) {
|
|
342
|
+
return topologyOrServer.description.maxWireVersion;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
return 0;
|
|
346
|
+
}
|
|
347
|
+
exports.maxWireVersion = maxWireVersion;
|
|
348
|
+
/**
|
|
349
|
+
* Applies the function `eachFn` to each item in `arr`, in parallel.
|
|
350
|
+
* @internal
|
|
351
|
+
*
|
|
352
|
+
* @param arr - An array of items to asynchronously iterate over
|
|
353
|
+
* @param eachFn - A function to call on each item of the array. The callback signature is `(item, callback)`, where the callback indicates iteration is complete.
|
|
354
|
+
* @param callback - The callback called after every item has been iterated
|
|
355
|
+
*/
|
|
356
|
+
function eachAsync(arr, eachFn, callback) {
|
|
357
|
+
arr = arr || [];
|
|
358
|
+
let idx = 0;
|
|
359
|
+
let awaiting = 0;
|
|
360
|
+
for (idx = 0; idx < arr.length; ++idx) {
|
|
361
|
+
awaiting++;
|
|
362
|
+
eachFn(arr[idx], eachCallback);
|
|
363
|
+
}
|
|
364
|
+
if (awaiting === 0) {
|
|
365
|
+
callback();
|
|
366
|
+
return;
|
|
367
|
+
}
|
|
368
|
+
function eachCallback(err) {
|
|
369
|
+
awaiting--;
|
|
370
|
+
if (err) {
|
|
371
|
+
callback(err);
|
|
372
|
+
return;
|
|
373
|
+
}
|
|
374
|
+
if (idx === arr.length && awaiting <= 0) {
|
|
375
|
+
callback();
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
exports.eachAsync = eachAsync;
|
|
380
|
+
/** @internal */
|
|
381
|
+
function arrayStrictEqual(arr, arr2) {
|
|
382
|
+
if (!Array.isArray(arr) || !Array.isArray(arr2)) {
|
|
383
|
+
return false;
|
|
384
|
+
}
|
|
385
|
+
return arr.length === arr2.length && arr.every((elt, idx) => elt === arr2[idx]);
|
|
386
|
+
}
|
|
387
|
+
exports.arrayStrictEqual = arrayStrictEqual;
|
|
388
|
+
/** @internal */
|
|
389
|
+
function errorStrictEqual(lhs, rhs) {
|
|
390
|
+
if (lhs === rhs) {
|
|
391
|
+
return true;
|
|
392
|
+
}
|
|
393
|
+
if (!lhs || !rhs) {
|
|
394
|
+
return lhs === rhs;
|
|
395
|
+
}
|
|
396
|
+
if ((lhs == null && rhs != null) || (lhs != null && rhs == null)) {
|
|
397
|
+
return false;
|
|
398
|
+
}
|
|
399
|
+
if (lhs.constructor.name !== rhs.constructor.name) {
|
|
400
|
+
return false;
|
|
401
|
+
}
|
|
402
|
+
if (lhs.message !== rhs.message) {
|
|
403
|
+
return false;
|
|
404
|
+
}
|
|
405
|
+
return true;
|
|
406
|
+
}
|
|
407
|
+
exports.errorStrictEqual = errorStrictEqual;
|
|
408
|
+
/** @internal */
|
|
409
|
+
function makeStateMachine(stateTable) {
|
|
410
|
+
return function stateTransition(target, newState) {
|
|
411
|
+
const legalStates = stateTable[target.s.state];
|
|
412
|
+
if (legalStates && legalStates.indexOf(newState) < 0) {
|
|
413
|
+
throw new error_1.MongoRuntimeError(`illegal state transition from [${target.s.state}] => [${newState}], allowed: [${legalStates}]`);
|
|
414
|
+
}
|
|
415
|
+
target.emit('stateChanged', target.s.state, newState);
|
|
416
|
+
target.s.state = newState;
|
|
417
|
+
};
|
|
418
|
+
}
|
|
419
|
+
exports.makeStateMachine = makeStateMachine;
|
|
420
|
+
/** @internal */
|
|
421
|
+
function now() {
|
|
422
|
+
const hrtime = process.hrtime();
|
|
423
|
+
return Math.floor(hrtime[0] * 1000 + hrtime[1] / 1000000);
|
|
424
|
+
}
|
|
425
|
+
exports.now = now;
|
|
426
|
+
/** @internal */
|
|
427
|
+
function calculateDurationInMs(started) {
|
|
428
|
+
if (typeof started !== 'number') {
|
|
429
|
+
throw new error_1.MongoInvalidArgumentError('Numeric value required to calculate duration');
|
|
430
|
+
}
|
|
431
|
+
const elapsed = now() - started;
|
|
432
|
+
return elapsed < 0 ? 0 : elapsed;
|
|
433
|
+
}
|
|
434
|
+
exports.calculateDurationInMs = calculateDurationInMs;
|
|
435
|
+
/** @internal */
|
|
436
|
+
function hasAtomicOperators(doc) {
|
|
437
|
+
if (Array.isArray(doc)) {
|
|
438
|
+
for (const document of doc) {
|
|
439
|
+
if (hasAtomicOperators(document)) {
|
|
440
|
+
return true;
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
return false;
|
|
444
|
+
}
|
|
445
|
+
const keys = Object.keys(doc);
|
|
446
|
+
return keys.length > 0 && keys[0][0] === '$';
|
|
447
|
+
}
|
|
448
|
+
exports.hasAtomicOperators = hasAtomicOperators;
|
|
449
|
+
/**
|
|
450
|
+
* Merge inherited properties from parent into options, prioritizing values from options,
|
|
451
|
+
* then values from parent.
|
|
452
|
+
* @internal
|
|
453
|
+
*/
|
|
454
|
+
function resolveOptions(parent, options) {
|
|
455
|
+
const result = Object.assign({}, options, (0, bson_1.resolveBSONOptions)(options, parent));
|
|
456
|
+
// Users cannot pass a readConcern/writeConcern to operations in a transaction
|
|
457
|
+
const session = options?.session;
|
|
458
|
+
if (!session?.inTransaction()) {
|
|
459
|
+
const readConcern = read_concern_1.ReadConcern.fromOptions(options) ?? parent?.readConcern;
|
|
460
|
+
if (readConcern) {
|
|
461
|
+
result.readConcern = readConcern;
|
|
462
|
+
}
|
|
463
|
+
const writeConcern = write_concern_1.WriteConcern.fromOptions(options) ?? parent?.writeConcern;
|
|
464
|
+
if (writeConcern) {
|
|
465
|
+
result.writeConcern = writeConcern;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
const readPreference = read_preference_1.ReadPreference.fromOptions(options) ?? parent?.readPreference;
|
|
469
|
+
if (readPreference) {
|
|
470
|
+
result.readPreference = readPreference;
|
|
471
|
+
}
|
|
472
|
+
return result;
|
|
473
|
+
}
|
|
474
|
+
exports.resolveOptions = resolveOptions;
|
|
475
|
+
function isSuperset(set, subset) {
|
|
476
|
+
set = Array.isArray(set) ? new Set(set) : set;
|
|
477
|
+
subset = Array.isArray(subset) ? new Set(subset) : subset;
|
|
478
|
+
for (const elem of subset) {
|
|
479
|
+
if (!set.has(elem)) {
|
|
480
|
+
return false;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
return true;
|
|
484
|
+
}
|
|
485
|
+
exports.isSuperset = isSuperset;
|
|
486
|
+
/**
|
|
487
|
+
* Checks if the document is a Hello request
|
|
488
|
+
* @internal
|
|
489
|
+
*/
|
|
490
|
+
function isHello(doc) {
|
|
491
|
+
return doc[constants_2.LEGACY_HELLO_COMMAND] || doc.hello ? true : false;
|
|
492
|
+
}
|
|
493
|
+
exports.isHello = isHello;
|
|
494
|
+
/** Returns the items that are uniquely in setA */
|
|
495
|
+
function setDifference(setA, setB) {
|
|
496
|
+
const difference = new Set(setA);
|
|
497
|
+
for (const elem of setB) {
|
|
498
|
+
difference.delete(elem);
|
|
499
|
+
}
|
|
500
|
+
return difference;
|
|
501
|
+
}
|
|
502
|
+
exports.setDifference = setDifference;
|
|
503
|
+
const HAS_OWN = (object, prop) => Object.prototype.hasOwnProperty.call(object, prop);
|
|
504
|
+
function isRecord(value, requiredKeys = undefined) {
|
|
505
|
+
if (!isObject(value)) {
|
|
506
|
+
return false;
|
|
507
|
+
}
|
|
508
|
+
const ctor = value.constructor;
|
|
509
|
+
if (ctor && ctor.prototype) {
|
|
510
|
+
if (!isObject(ctor.prototype)) {
|
|
511
|
+
return false;
|
|
512
|
+
}
|
|
513
|
+
// Check to see if some method exists from the Object exists
|
|
514
|
+
if (!HAS_OWN(ctor.prototype, 'isPrototypeOf')) {
|
|
515
|
+
return false;
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
if (requiredKeys) {
|
|
519
|
+
const keys = Object.keys(value);
|
|
520
|
+
return isSuperset(keys, requiredKeys);
|
|
521
|
+
}
|
|
522
|
+
return true;
|
|
523
|
+
}
|
|
524
|
+
exports.isRecord = isRecord;
|
|
525
|
+
/**
|
|
526
|
+
* Make a deep copy of an object
|
|
527
|
+
*
|
|
528
|
+
* NOTE: This is not meant to be the perfect implementation of a deep copy,
|
|
529
|
+
* but instead something that is good enough for the purposes of
|
|
530
|
+
* command monitoring.
|
|
531
|
+
*/
|
|
532
|
+
function deepCopy(value) {
|
|
533
|
+
if (value == null) {
|
|
534
|
+
return value;
|
|
535
|
+
}
|
|
536
|
+
else if (Array.isArray(value)) {
|
|
537
|
+
return value.map(item => deepCopy(item));
|
|
538
|
+
}
|
|
539
|
+
else if (isRecord(value)) {
|
|
540
|
+
const res = {};
|
|
541
|
+
for (const key in value) {
|
|
542
|
+
res[key] = deepCopy(value[key]);
|
|
543
|
+
}
|
|
544
|
+
return res;
|
|
545
|
+
}
|
|
546
|
+
const ctor = value.constructor;
|
|
547
|
+
if (ctor) {
|
|
548
|
+
switch (ctor.name.toLowerCase()) {
|
|
549
|
+
case 'date':
|
|
550
|
+
return new ctor(Number(value));
|
|
551
|
+
case 'map':
|
|
552
|
+
return new Map(value);
|
|
553
|
+
case 'set':
|
|
554
|
+
return new Set(value);
|
|
555
|
+
case 'buffer':
|
|
556
|
+
return Buffer.from(value);
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
return value;
|
|
560
|
+
}
|
|
561
|
+
exports.deepCopy = deepCopy;
|
|
562
|
+
/**
|
|
563
|
+
* A sequential list of items in a circularly linked list
|
|
564
|
+
* @remarks
|
|
565
|
+
* The head node is special, it is always defined and has a value of null.
|
|
566
|
+
* It is never "included" in the list, in that, it is not returned by pop/shift or yielded by the iterator.
|
|
567
|
+
* The circular linkage and always defined head node are to reduce checks for null next/prev references to zero.
|
|
568
|
+
* New nodes are declared as object literals with keys always in the same order: next, prev, value.
|
|
569
|
+
* @internal
|
|
570
|
+
*/
|
|
571
|
+
class List {
|
|
572
|
+
get length() {
|
|
573
|
+
return this.count;
|
|
574
|
+
}
|
|
575
|
+
get [Symbol.toStringTag]() {
|
|
576
|
+
return 'List';
|
|
577
|
+
}
|
|
578
|
+
constructor() {
|
|
579
|
+
this.count = 0;
|
|
580
|
+
// this is carefully crafted:
|
|
581
|
+
// declaring a complete and consistently key ordered
|
|
582
|
+
// object is beneficial to the runtime optimizations
|
|
583
|
+
this.head = {
|
|
584
|
+
next: null,
|
|
585
|
+
prev: null,
|
|
586
|
+
value: null
|
|
587
|
+
};
|
|
588
|
+
this.head.next = this.head;
|
|
589
|
+
this.head.prev = this.head;
|
|
590
|
+
}
|
|
591
|
+
toArray() {
|
|
592
|
+
return Array.from(this);
|
|
593
|
+
}
|
|
594
|
+
toString() {
|
|
595
|
+
return `head <=> ${this.toArray().join(' <=> ')} <=> head`;
|
|
596
|
+
}
|
|
597
|
+
*[Symbol.iterator]() {
|
|
598
|
+
for (const node of this.nodes()) {
|
|
599
|
+
yield node.value;
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
*nodes() {
|
|
603
|
+
let ptr = this.head.next;
|
|
604
|
+
while (ptr !== this.head) {
|
|
605
|
+
// Save next before yielding so that we make removing within iteration safe
|
|
606
|
+
const { next } = ptr;
|
|
607
|
+
yield ptr;
|
|
608
|
+
ptr = next;
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
/** Insert at end of list */
|
|
612
|
+
push(value) {
|
|
613
|
+
this.count += 1;
|
|
614
|
+
const newNode = {
|
|
615
|
+
next: this.head,
|
|
616
|
+
prev: this.head.prev,
|
|
617
|
+
value
|
|
618
|
+
};
|
|
619
|
+
this.head.prev.next = newNode;
|
|
620
|
+
this.head.prev = newNode;
|
|
621
|
+
}
|
|
622
|
+
/** Inserts every item inside an iterable instead of the iterable itself */
|
|
623
|
+
pushMany(iterable) {
|
|
624
|
+
for (const value of iterable) {
|
|
625
|
+
this.push(value);
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
/** Insert at front of list */
|
|
629
|
+
unshift(value) {
|
|
630
|
+
this.count += 1;
|
|
631
|
+
const newNode = {
|
|
632
|
+
next: this.head.next,
|
|
633
|
+
prev: this.head,
|
|
634
|
+
value
|
|
635
|
+
};
|
|
636
|
+
this.head.next.prev = newNode;
|
|
637
|
+
this.head.next = newNode;
|
|
638
|
+
}
|
|
639
|
+
remove(node) {
|
|
640
|
+
if (node === this.head || this.length === 0) {
|
|
641
|
+
return null;
|
|
642
|
+
}
|
|
643
|
+
this.count -= 1;
|
|
644
|
+
const prevNode = node.prev;
|
|
645
|
+
const nextNode = node.next;
|
|
646
|
+
prevNode.next = nextNode;
|
|
647
|
+
nextNode.prev = prevNode;
|
|
648
|
+
return node.value;
|
|
649
|
+
}
|
|
650
|
+
/** Removes the first node at the front of the list */
|
|
651
|
+
shift() {
|
|
652
|
+
return this.remove(this.head.next);
|
|
653
|
+
}
|
|
654
|
+
/** Removes the last node at the end of the list */
|
|
655
|
+
pop() {
|
|
656
|
+
return this.remove(this.head.prev);
|
|
657
|
+
}
|
|
658
|
+
/** Iterates through the list and removes nodes where filter returns true */
|
|
659
|
+
prune(filter) {
|
|
660
|
+
for (const node of this.nodes()) {
|
|
661
|
+
if (filter(node.value)) {
|
|
662
|
+
this.remove(node);
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
clear() {
|
|
667
|
+
this.count = 0;
|
|
668
|
+
this.head.next = this.head;
|
|
669
|
+
this.head.prev = this.head;
|
|
670
|
+
}
|
|
671
|
+
/** Returns the first item in the list, does not remove */
|
|
672
|
+
first() {
|
|
673
|
+
// If the list is empty, value will be the head's null
|
|
674
|
+
return this.head.next.value;
|
|
675
|
+
}
|
|
676
|
+
/** Returns the last item in the list, does not remove */
|
|
677
|
+
last() {
|
|
678
|
+
// If the list is empty, value will be the head's null
|
|
679
|
+
return this.head.prev.value;
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
exports.List = List;
|
|
683
|
+
/**
|
|
684
|
+
* A pool of Buffers which allow you to read them as if they were one
|
|
685
|
+
* @internal
|
|
686
|
+
*/
|
|
687
|
+
class BufferPool {
|
|
688
|
+
constructor() {
|
|
689
|
+
this.buffers = new List();
|
|
690
|
+
this.totalByteLength = 0;
|
|
691
|
+
}
|
|
692
|
+
get length() {
|
|
693
|
+
return this.totalByteLength;
|
|
694
|
+
}
|
|
695
|
+
/** Adds a buffer to the internal buffer pool list */
|
|
696
|
+
append(buffer) {
|
|
697
|
+
this.buffers.push(buffer);
|
|
698
|
+
this.totalByteLength += buffer.length;
|
|
699
|
+
}
|
|
700
|
+
/**
|
|
701
|
+
* If BufferPool contains 4 bytes or more construct an int32 from the leading bytes,
|
|
702
|
+
* otherwise return null. Size can be negative, caller should error check.
|
|
703
|
+
*/
|
|
704
|
+
getInt32() {
|
|
705
|
+
if (this.totalByteLength < 4) {
|
|
706
|
+
return null;
|
|
707
|
+
}
|
|
708
|
+
const firstBuffer = this.buffers.first();
|
|
709
|
+
if (firstBuffer != null && firstBuffer.byteLength >= 4) {
|
|
710
|
+
return firstBuffer.readInt32LE(0);
|
|
711
|
+
}
|
|
712
|
+
// Unlikely case: an int32 is split across buffers.
|
|
713
|
+
// Use read and put the returned buffer back on top
|
|
714
|
+
const top4Bytes = this.read(4);
|
|
715
|
+
const value = top4Bytes.readInt32LE(0);
|
|
716
|
+
// Put it back.
|
|
717
|
+
this.totalByteLength += 4;
|
|
718
|
+
this.buffers.unshift(top4Bytes);
|
|
719
|
+
return value;
|
|
720
|
+
}
|
|
721
|
+
/** Reads the requested number of bytes, optionally consuming them */
|
|
722
|
+
read(size) {
|
|
723
|
+
if (typeof size !== 'number' || size < 0) {
|
|
724
|
+
throw new error_1.MongoInvalidArgumentError('Argument "size" must be a non-negative number');
|
|
725
|
+
}
|
|
726
|
+
// oversized request returns empty buffer
|
|
727
|
+
if (size > this.totalByteLength) {
|
|
728
|
+
return Buffer.alloc(0);
|
|
729
|
+
}
|
|
730
|
+
// We know we have enough, we just don't know how it is spread across chunks
|
|
731
|
+
// TODO(NODE-4732): alloc API should change based on raw option
|
|
732
|
+
const result = Buffer.allocUnsafe(size);
|
|
733
|
+
for (let bytesRead = 0; bytesRead < size;) {
|
|
734
|
+
const buffer = this.buffers.shift();
|
|
735
|
+
if (buffer == null) {
|
|
736
|
+
break;
|
|
737
|
+
}
|
|
738
|
+
const bytesRemaining = size - bytesRead;
|
|
739
|
+
const bytesReadable = Math.min(bytesRemaining, buffer.byteLength);
|
|
740
|
+
const bytes = buffer.subarray(0, bytesReadable);
|
|
741
|
+
result.set(bytes, bytesRead);
|
|
742
|
+
bytesRead += bytesReadable;
|
|
743
|
+
this.totalByteLength -= bytesReadable;
|
|
744
|
+
if (bytesReadable < buffer.byteLength) {
|
|
745
|
+
this.buffers.unshift(buffer.subarray(bytesReadable));
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
return result;
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
exports.BufferPool = BufferPool;
|
|
752
|
+
/** @public */
|
|
753
|
+
class HostAddress {
|
|
754
|
+
constructor(hostString) {
|
|
755
|
+
this.host = undefined;
|
|
756
|
+
this.port = undefined;
|
|
757
|
+
this.socketPath = undefined;
|
|
758
|
+
this.isIPv6 = false;
|
|
759
|
+
const escapedHost = hostString.split(' ').join('%20'); // escape spaces, for socket path hosts
|
|
760
|
+
if (escapedHost.endsWith('.sock')) {
|
|
761
|
+
// heuristically determine if we're working with a domain socket
|
|
762
|
+
this.socketPath = decodeURIComponent(escapedHost);
|
|
763
|
+
return;
|
|
764
|
+
}
|
|
765
|
+
const urlString = `iLoveJS://${escapedHost}`;
|
|
766
|
+
let url;
|
|
767
|
+
try {
|
|
768
|
+
url = new url_1.URL(urlString);
|
|
769
|
+
}
|
|
770
|
+
catch (urlError) {
|
|
771
|
+
const runtimeError = new error_1.MongoRuntimeError(`Unable to parse ${escapedHost} with URL`);
|
|
772
|
+
runtimeError.cause = urlError;
|
|
773
|
+
throw runtimeError;
|
|
774
|
+
}
|
|
775
|
+
const hostname = url.hostname;
|
|
776
|
+
const port = url.port;
|
|
777
|
+
let normalized = decodeURIComponent(hostname).toLowerCase();
|
|
778
|
+
if (normalized.startsWith('[') && normalized.endsWith(']')) {
|
|
779
|
+
this.isIPv6 = true;
|
|
780
|
+
normalized = normalized.substring(1, hostname.length - 1);
|
|
781
|
+
}
|
|
782
|
+
this.host = normalized.toLowerCase();
|
|
783
|
+
if (typeof port === 'number') {
|
|
784
|
+
this.port = port;
|
|
785
|
+
}
|
|
786
|
+
else if (typeof port === 'string' && port !== '') {
|
|
787
|
+
this.port = Number.parseInt(port, 10);
|
|
788
|
+
}
|
|
789
|
+
else {
|
|
790
|
+
this.port = 27017;
|
|
791
|
+
}
|
|
792
|
+
if (this.port === 0) {
|
|
793
|
+
throw new error_1.MongoParseError('Invalid port (zero) with hostname');
|
|
794
|
+
}
|
|
795
|
+
Object.freeze(this);
|
|
796
|
+
}
|
|
797
|
+
[Symbol.for('nodejs.util.inspect.custom')]() {
|
|
798
|
+
return this.inspect();
|
|
799
|
+
}
|
|
800
|
+
inspect() {
|
|
801
|
+
return `new HostAddress('${this.toString()}')`;
|
|
802
|
+
}
|
|
803
|
+
toString() {
|
|
804
|
+
if (typeof this.host === 'string') {
|
|
805
|
+
if (this.isIPv6) {
|
|
806
|
+
return `[${this.host}]:${this.port}`;
|
|
807
|
+
}
|
|
808
|
+
return `${this.host}:${this.port}`;
|
|
809
|
+
}
|
|
810
|
+
return `${this.socketPath}`;
|
|
811
|
+
}
|
|
812
|
+
static fromString(s) {
|
|
813
|
+
return new HostAddress(s);
|
|
814
|
+
}
|
|
815
|
+
static fromHostPort(host, port) {
|
|
816
|
+
if (host.includes(':')) {
|
|
817
|
+
host = `[${host}]`; // IPv6 address
|
|
818
|
+
}
|
|
819
|
+
return HostAddress.fromString(`${host}:${port}`);
|
|
820
|
+
}
|
|
821
|
+
static fromSrvRecord({ name, port }) {
|
|
822
|
+
return HostAddress.fromHostPort(name, port);
|
|
823
|
+
}
|
|
824
|
+
toHostPort() {
|
|
825
|
+
if (this.socketPath) {
|
|
826
|
+
return { host: this.socketPath, port: 0 };
|
|
827
|
+
}
|
|
828
|
+
const host = this.host ?? '';
|
|
829
|
+
const port = this.port ?? 0;
|
|
830
|
+
return { host, port };
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
exports.HostAddress = HostAddress;
|
|
834
|
+
exports.DEFAULT_PK_FACTORY = {
|
|
835
|
+
// We prefer not to rely on ObjectId having a createPk method
|
|
836
|
+
createPk() {
|
|
837
|
+
return new bson_1.ObjectId();
|
|
838
|
+
}
|
|
839
|
+
};
|
|
840
|
+
/**
|
|
841
|
+
* When the driver used emitWarning the code will be equal to this.
|
|
842
|
+
* @public
|
|
843
|
+
*
|
|
844
|
+
* @example
|
|
845
|
+
* ```ts
|
|
846
|
+
* process.on('warning', (warning) => {
|
|
847
|
+
* if (warning.code === MONGODB_WARNING_CODE) console.error('Ah an important warning! :)')
|
|
848
|
+
* })
|
|
849
|
+
* ```
|
|
850
|
+
*/
|
|
851
|
+
exports.MONGODB_WARNING_CODE = 'MONGODB DRIVER';
|
|
852
|
+
/** @internal */
|
|
853
|
+
function emitWarning(message) {
|
|
854
|
+
return process.emitWarning(message, { code: exports.MONGODB_WARNING_CODE });
|
|
855
|
+
}
|
|
856
|
+
exports.emitWarning = emitWarning;
|
|
857
|
+
const emittedWarnings = new Set();
|
|
858
|
+
/**
|
|
859
|
+
* Will emit a warning once for the duration of the application.
|
|
860
|
+
* Uses the message to identify if it has already been emitted
|
|
861
|
+
* so using string interpolation can cause multiple emits
|
|
862
|
+
* @internal
|
|
863
|
+
*/
|
|
864
|
+
function emitWarningOnce(message) {
|
|
865
|
+
if (!emittedWarnings.has(message)) {
|
|
866
|
+
emittedWarnings.add(message);
|
|
867
|
+
return emitWarning(message);
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
exports.emitWarningOnce = emitWarningOnce;
|
|
871
|
+
/**
|
|
872
|
+
* Takes a JS object and joins the values into a string separated by ', '
|
|
873
|
+
*/
|
|
874
|
+
function enumToString(en) {
|
|
875
|
+
return Object.values(en).join(', ');
|
|
876
|
+
}
|
|
877
|
+
exports.enumToString = enumToString;
|
|
878
|
+
/**
|
|
879
|
+
* Determine if a server supports retryable writes.
|
|
880
|
+
*
|
|
881
|
+
* @internal
|
|
882
|
+
*/
|
|
883
|
+
function supportsRetryableWrites(server) {
|
|
884
|
+
if (!server) {
|
|
885
|
+
return false;
|
|
886
|
+
}
|
|
887
|
+
if (server.loadBalanced) {
|
|
888
|
+
// Loadbalanced topologies will always support retry writes
|
|
889
|
+
return true;
|
|
890
|
+
}
|
|
891
|
+
if (server.description.logicalSessionTimeoutMinutes != null) {
|
|
892
|
+
// that supports sessions
|
|
893
|
+
if (server.description.type !== common_1.ServerType.Standalone) {
|
|
894
|
+
// and that is not a standalone
|
|
895
|
+
return true;
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
return false;
|
|
899
|
+
}
|
|
900
|
+
exports.supportsRetryableWrites = supportsRetryableWrites;
|
|
901
|
+
/**
|
|
902
|
+
* Fisher–Yates Shuffle
|
|
903
|
+
*
|
|
904
|
+
* Reference: https://bost.ocks.org/mike/shuffle/
|
|
905
|
+
* @param sequence - items to be shuffled
|
|
906
|
+
* @param limit - Defaults to `0`. If nonzero shuffle will slice the randomized array e.g, `.slice(0, limit)` otherwise will return the entire randomized array.
|
|
907
|
+
*/
|
|
908
|
+
function shuffle(sequence, limit = 0) {
|
|
909
|
+
const items = Array.from(sequence); // shallow copy in order to never shuffle the input
|
|
910
|
+
if (limit > items.length) {
|
|
911
|
+
throw new error_1.MongoRuntimeError('Limit must be less than the number of items');
|
|
912
|
+
}
|
|
913
|
+
let remainingItemsToShuffle = items.length;
|
|
914
|
+
const lowerBound = limit % items.length === 0 ? 1 : items.length - limit;
|
|
915
|
+
while (remainingItemsToShuffle > lowerBound) {
|
|
916
|
+
// Pick a remaining element
|
|
917
|
+
const randomIndex = Math.floor(Math.random() * remainingItemsToShuffle);
|
|
918
|
+
remainingItemsToShuffle -= 1;
|
|
919
|
+
// And swap it with the current element
|
|
920
|
+
const swapHold = items[remainingItemsToShuffle];
|
|
921
|
+
items[remainingItemsToShuffle] = items[randomIndex];
|
|
922
|
+
items[randomIndex] = swapHold;
|
|
923
|
+
}
|
|
924
|
+
return limit % items.length === 0 ? items : items.slice(lowerBound);
|
|
925
|
+
}
|
|
926
|
+
exports.shuffle = shuffle;
|
|
927
|
+
// TODO(NODE-4936): read concern eligibility for commands should be codified in command construction
|
|
928
|
+
// @see https://github.com/mongodb/specifications/blob/master/source/read-write-concern/read-write-concern.rst#read-concern
|
|
929
|
+
function commandSupportsReadConcern(command, options) {
|
|
930
|
+
if (command.aggregate || command.count || command.distinct || command.find || command.geoNear) {
|
|
931
|
+
return true;
|
|
932
|
+
}
|
|
933
|
+
if (command.mapReduce &&
|
|
934
|
+
options &&
|
|
935
|
+
options.out &&
|
|
936
|
+
(options.out.inline === 1 || options.out === 'inline')) {
|
|
937
|
+
return true;
|
|
938
|
+
}
|
|
939
|
+
return false;
|
|
940
|
+
}
|
|
941
|
+
exports.commandSupportsReadConcern = commandSupportsReadConcern;
|
|
942
|
+
/** A utility function to get the instance of mongodb-client-encryption, if it exists. */
|
|
943
|
+
function getMongoDBClientEncryption() {
|
|
944
|
+
let mongodbClientEncryption = null;
|
|
945
|
+
// NOTE(NODE-4254): This is to get around the circular dependency between
|
|
946
|
+
// mongodb-client-encryption and the driver in the test scenarios.
|
|
947
|
+
if (typeof process.env.MONGODB_CLIENT_ENCRYPTION_OVERRIDE === 'string' &&
|
|
948
|
+
process.env.MONGODB_CLIENT_ENCRYPTION_OVERRIDE.length > 0) {
|
|
949
|
+
try {
|
|
950
|
+
// NOTE(NODE-3199): Ensure you always wrap an optional require literally in the try block
|
|
951
|
+
// Cannot be moved to helper utility function, bundlers search and replace the actual require call
|
|
952
|
+
// in a way that makes this line throw at bundle time, not runtime, catching here will make bundling succeed
|
|
953
|
+
mongodbClientEncryption = require(process.env.MONGODB_CLIENT_ENCRYPTION_OVERRIDE);
|
|
954
|
+
}
|
|
955
|
+
catch {
|
|
956
|
+
// ignore
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
else {
|
|
960
|
+
try {
|
|
961
|
+
// NOTE(NODE-3199): Ensure you always wrap an optional require literally in the try block
|
|
962
|
+
// Cannot be moved to helper utility function, bundlers search and replace the actual require call
|
|
963
|
+
// in a way that makes this line throw at bundle time, not runtime, catching here will make bundling succeed
|
|
964
|
+
mongodbClientEncryption = require('mongodb-client-encryption');
|
|
965
|
+
}
|
|
966
|
+
catch {
|
|
967
|
+
// ignore
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
return mongodbClientEncryption;
|
|
971
|
+
}
|
|
972
|
+
exports.getMongoDBClientEncryption = getMongoDBClientEncryption;
|
|
973
|
+
/**
|
|
974
|
+
* Compare objectIds. `null` is always less
|
|
975
|
+
* - `+1 = oid1 is greater than oid2`
|
|
976
|
+
* - `-1 = oid1 is less than oid2`
|
|
977
|
+
* - `+0 = oid1 is equal oid2`
|
|
978
|
+
*/
|
|
979
|
+
function compareObjectId(oid1, oid2) {
|
|
980
|
+
if (oid1 == null && oid2 == null) {
|
|
981
|
+
return 0;
|
|
982
|
+
}
|
|
983
|
+
if (oid1 == null) {
|
|
984
|
+
return -1;
|
|
985
|
+
}
|
|
986
|
+
if (oid2 == null) {
|
|
987
|
+
return 1;
|
|
988
|
+
}
|
|
989
|
+
return exports.ByteUtils.compare(oid1.id, oid2.id);
|
|
990
|
+
}
|
|
991
|
+
exports.compareObjectId = compareObjectId;
|
|
992
|
+
function parseInteger(value) {
|
|
993
|
+
if (typeof value === 'number')
|
|
994
|
+
return Math.trunc(value);
|
|
995
|
+
const parsedValue = Number.parseInt(String(value), 10);
|
|
996
|
+
return Number.isNaN(parsedValue) ? null : parsedValue;
|
|
997
|
+
}
|
|
998
|
+
exports.parseInteger = parseInteger;
|
|
999
|
+
function parseUnsignedInteger(value) {
|
|
1000
|
+
const parsedInt = parseInteger(value);
|
|
1001
|
+
return parsedInt != null && parsedInt >= 0 ? parsedInt : null;
|
|
1002
|
+
}
|
|
1003
|
+
exports.parseUnsignedInteger = parseUnsignedInteger;
|
|
1004
|
+
/**
|
|
1005
|
+
* Determines whether a provided address matches the provided parent domain.
|
|
1006
|
+
*
|
|
1007
|
+
* If a DNS server were to become compromised SRV records would still need to
|
|
1008
|
+
* advertise addresses that are under the same domain as the srvHost.
|
|
1009
|
+
*
|
|
1010
|
+
* @param address - The address to check against a domain
|
|
1011
|
+
* @param srvHost - The domain to check the provided address against
|
|
1012
|
+
* @returns Whether the provided address matches the parent domain
|
|
1013
|
+
*/
|
|
1014
|
+
function matchesParentDomain(address, srvHost) {
|
|
1015
|
+
// Remove trailing dot if exists on either the resolved address or the srv hostname
|
|
1016
|
+
const normalizedAddress = address.endsWith('.') ? address.slice(0, address.length - 1) : address;
|
|
1017
|
+
const normalizedSrvHost = srvHost.endsWith('.') ? srvHost.slice(0, srvHost.length - 1) : srvHost;
|
|
1018
|
+
const allCharacterBeforeFirstDot = /^.*?\./;
|
|
1019
|
+
// Remove all characters before first dot
|
|
1020
|
+
// Add leading dot back to string so
|
|
1021
|
+
// an srvHostDomain = '.trusted.site'
|
|
1022
|
+
// will not satisfy an addressDomain that endsWith '.fake-trusted.site'
|
|
1023
|
+
const addressDomain = `.${normalizedAddress.replace(allCharacterBeforeFirstDot, '')}`;
|
|
1024
|
+
const srvHostDomain = `.${normalizedSrvHost.replace(allCharacterBeforeFirstDot, '')}`;
|
|
1025
|
+
return addressDomain.endsWith(srvHostDomain);
|
|
1026
|
+
}
|
|
1027
|
+
exports.matchesParentDomain = matchesParentDomain;
|
|
1028
|
+
async function request(uri, options = {}) {
|
|
1029
|
+
return new Promise((resolve, reject) => {
|
|
1030
|
+
const requestOptions = {
|
|
1031
|
+
method: 'GET',
|
|
1032
|
+
timeout: 10000,
|
|
1033
|
+
json: true,
|
|
1034
|
+
...url.parse(uri),
|
|
1035
|
+
...options
|
|
1036
|
+
};
|
|
1037
|
+
const req = http.request(requestOptions, res => {
|
|
1038
|
+
res.setEncoding('utf8');
|
|
1039
|
+
let data = '';
|
|
1040
|
+
res.on('data', d => {
|
|
1041
|
+
data += d;
|
|
1042
|
+
});
|
|
1043
|
+
res.once('end', () => {
|
|
1044
|
+
if (options.json === false) {
|
|
1045
|
+
resolve(data);
|
|
1046
|
+
return;
|
|
1047
|
+
}
|
|
1048
|
+
try {
|
|
1049
|
+
const parsed = JSON.parse(data);
|
|
1050
|
+
resolve(parsed);
|
|
1051
|
+
}
|
|
1052
|
+
catch {
|
|
1053
|
+
// TODO(NODE-3483)
|
|
1054
|
+
reject(new error_1.MongoRuntimeError(`Invalid JSON response: "${data}"`));
|
|
1055
|
+
}
|
|
1056
|
+
});
|
|
1057
|
+
});
|
|
1058
|
+
req.once('timeout', () => req.destroy(new error_1.MongoNetworkTimeoutError(`Network request to ${uri} timed out after ${options.timeout} ms`)));
|
|
1059
|
+
req.once('error', error => reject(error));
|
|
1060
|
+
req.end();
|
|
1061
|
+
});
|
|
1062
|
+
}
|
|
1063
|
+
exports.request = request;
|
|
1064
|
+
//# sourceMappingURL=utils.js.map
|