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,227 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MongoDBAWS = void 0;
|
|
4
|
+
const crypto = require("crypto");
|
|
5
|
+
const process = require("process");
|
|
6
|
+
const util_1 = require("util");
|
|
7
|
+
const BSON = require("../../bson");
|
|
8
|
+
const deps_1 = require("../../deps");
|
|
9
|
+
const error_1 = require("../../error");
|
|
10
|
+
const utils_1 = require("../../utils");
|
|
11
|
+
const auth_provider_1 = require("./auth_provider");
|
|
12
|
+
const mongo_credentials_1 = require("./mongo_credentials");
|
|
13
|
+
const providers_1 = require("./providers");
|
|
14
|
+
/**
|
|
15
|
+
* The following regions use the global AWS STS endpoint, sts.amazonaws.com, by default
|
|
16
|
+
* https://docs.aws.amazon.com/sdkref/latest/guide/feature-sts-regionalized-endpoints.html
|
|
17
|
+
*/
|
|
18
|
+
const LEGACY_REGIONS = new Set([
|
|
19
|
+
'ap-northeast-1',
|
|
20
|
+
'ap-south-1',
|
|
21
|
+
'ap-southeast-1',
|
|
22
|
+
'ap-southeast-2',
|
|
23
|
+
'aws-global',
|
|
24
|
+
'ca-central-1',
|
|
25
|
+
'eu-central-1',
|
|
26
|
+
'eu-north-1',
|
|
27
|
+
'eu-west-1',
|
|
28
|
+
'eu-west-2',
|
|
29
|
+
'eu-west-3',
|
|
30
|
+
'sa-east-1',
|
|
31
|
+
'us-east-1',
|
|
32
|
+
'us-east-2',
|
|
33
|
+
'us-west-1',
|
|
34
|
+
'us-west-2'
|
|
35
|
+
]);
|
|
36
|
+
const ASCII_N = 110;
|
|
37
|
+
const AWS_RELATIVE_URI = 'http://169.254.170.2';
|
|
38
|
+
const AWS_EC2_URI = 'http://169.254.169.254';
|
|
39
|
+
const AWS_EC2_PATH = '/latest/meta-data/iam/security-credentials';
|
|
40
|
+
const bsonOptions = {
|
|
41
|
+
useBigInt64: false,
|
|
42
|
+
promoteLongs: true,
|
|
43
|
+
promoteValues: true,
|
|
44
|
+
promoteBuffers: false,
|
|
45
|
+
bsonRegExp: false
|
|
46
|
+
};
|
|
47
|
+
class MongoDBAWS extends auth_provider_1.AuthProvider {
|
|
48
|
+
constructor() {
|
|
49
|
+
super();
|
|
50
|
+
this.randomBytesAsync = (0, util_1.promisify)(crypto.randomBytes);
|
|
51
|
+
}
|
|
52
|
+
async auth(authContext) {
|
|
53
|
+
const { connection } = authContext;
|
|
54
|
+
if (!authContext.credentials) {
|
|
55
|
+
throw new error_1.MongoMissingCredentialsError('AuthContext must provide credentials.');
|
|
56
|
+
}
|
|
57
|
+
if ('kModuleError' in deps_1.aws4) {
|
|
58
|
+
throw deps_1.aws4['kModuleError'];
|
|
59
|
+
}
|
|
60
|
+
const { sign } = deps_1.aws4;
|
|
61
|
+
if ((0, utils_1.maxWireVersion)(connection) < 9) {
|
|
62
|
+
throw new error_1.MongoCompatibilityError('MONGODB-AWS authentication requires MongoDB version 4.4 or later');
|
|
63
|
+
}
|
|
64
|
+
if (!authContext.credentials.username) {
|
|
65
|
+
authContext.credentials = await makeTempCredentials(authContext.credentials);
|
|
66
|
+
}
|
|
67
|
+
const { credentials } = authContext;
|
|
68
|
+
const accessKeyId = credentials.username;
|
|
69
|
+
const secretAccessKey = credentials.password;
|
|
70
|
+
const sessionToken = credentials.mechanismProperties.AWS_SESSION_TOKEN;
|
|
71
|
+
// If all three defined, include sessionToken, else include username and pass, else no credentials
|
|
72
|
+
const awsCredentials = accessKeyId && secretAccessKey && sessionToken
|
|
73
|
+
? { accessKeyId, secretAccessKey, sessionToken }
|
|
74
|
+
: accessKeyId && secretAccessKey
|
|
75
|
+
? { accessKeyId, secretAccessKey }
|
|
76
|
+
: undefined;
|
|
77
|
+
const db = credentials.source;
|
|
78
|
+
const nonce = await this.randomBytesAsync(32);
|
|
79
|
+
const saslStart = {
|
|
80
|
+
saslStart: 1,
|
|
81
|
+
mechanism: 'MONGODB-AWS',
|
|
82
|
+
payload: BSON.serialize({ r: nonce, p: ASCII_N }, bsonOptions)
|
|
83
|
+
};
|
|
84
|
+
const saslStartResponse = await connection.commandAsync((0, utils_1.ns)(`${db}.$cmd`), saslStart, undefined);
|
|
85
|
+
const serverResponse = BSON.deserialize(saslStartResponse.payload.buffer, bsonOptions);
|
|
86
|
+
const host = serverResponse.h;
|
|
87
|
+
const serverNonce = serverResponse.s.buffer;
|
|
88
|
+
if (serverNonce.length !== 64) {
|
|
89
|
+
// TODO(NODE-3483)
|
|
90
|
+
throw new error_1.MongoRuntimeError(`Invalid server nonce length ${serverNonce.length}, expected 64`);
|
|
91
|
+
}
|
|
92
|
+
if (!utils_1.ByteUtils.equals(serverNonce.subarray(0, nonce.byteLength), nonce)) {
|
|
93
|
+
// throw because the serverNonce's leading 32 bytes must equal the client nonce's 32 bytes
|
|
94
|
+
// https://github.com/mongodb/specifications/blob/875446db44aade414011731840831f38a6c668df/source/auth/auth.rst#id11
|
|
95
|
+
// TODO(NODE-3483)
|
|
96
|
+
throw new error_1.MongoRuntimeError('Server nonce does not begin with client nonce');
|
|
97
|
+
}
|
|
98
|
+
if (host.length < 1 || host.length > 255 || host.indexOf('..') !== -1) {
|
|
99
|
+
// TODO(NODE-3483)
|
|
100
|
+
throw new error_1.MongoRuntimeError(`Server returned an invalid host: "${host}"`);
|
|
101
|
+
}
|
|
102
|
+
const body = 'Action=GetCallerIdentity&Version=2011-06-15';
|
|
103
|
+
const options = sign({
|
|
104
|
+
method: 'POST',
|
|
105
|
+
host,
|
|
106
|
+
region: deriveRegion(serverResponse.h),
|
|
107
|
+
service: 'sts',
|
|
108
|
+
headers: {
|
|
109
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
110
|
+
'Content-Length': body.length,
|
|
111
|
+
'X-MongoDB-Server-Nonce': utils_1.ByteUtils.toBase64(serverNonce),
|
|
112
|
+
'X-MongoDB-GS2-CB-Flag': 'n'
|
|
113
|
+
},
|
|
114
|
+
path: '/',
|
|
115
|
+
body
|
|
116
|
+
}, awsCredentials);
|
|
117
|
+
const payload = {
|
|
118
|
+
a: options.headers.Authorization,
|
|
119
|
+
d: options.headers['X-Amz-Date']
|
|
120
|
+
};
|
|
121
|
+
if (sessionToken) {
|
|
122
|
+
payload.t = sessionToken;
|
|
123
|
+
}
|
|
124
|
+
const saslContinue = {
|
|
125
|
+
saslContinue: 1,
|
|
126
|
+
conversationId: 1,
|
|
127
|
+
payload: BSON.serialize(payload, bsonOptions)
|
|
128
|
+
};
|
|
129
|
+
await connection.commandAsync((0, utils_1.ns)(`${db}.$cmd`), saslContinue, undefined);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
MongoDBAWS.credentialProvider = null;
|
|
133
|
+
exports.MongoDBAWS = MongoDBAWS;
|
|
134
|
+
async function makeTempCredentials(credentials) {
|
|
135
|
+
function makeMongoCredentialsFromAWSTemp(creds) {
|
|
136
|
+
if (!creds.AccessKeyId || !creds.SecretAccessKey || !creds.Token) {
|
|
137
|
+
throw new error_1.MongoMissingCredentialsError('Could not obtain temporary MONGODB-AWS credentials');
|
|
138
|
+
}
|
|
139
|
+
return new mongo_credentials_1.MongoCredentials({
|
|
140
|
+
username: creds.AccessKeyId,
|
|
141
|
+
password: creds.SecretAccessKey,
|
|
142
|
+
source: credentials.source,
|
|
143
|
+
mechanism: providers_1.AuthMechanism.MONGODB_AWS,
|
|
144
|
+
mechanismProperties: {
|
|
145
|
+
AWS_SESSION_TOKEN: creds.Token
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
MongoDBAWS.credentialProvider ?? (MongoDBAWS.credentialProvider = (0, deps_1.getAwsCredentialProvider)());
|
|
150
|
+
// Check if the AWS credential provider from the SDK is present. If not,
|
|
151
|
+
// use the old method.
|
|
152
|
+
if ('kModuleError' in MongoDBAWS.credentialProvider) {
|
|
153
|
+
// If the environment variable AWS_CONTAINER_CREDENTIALS_RELATIVE_URI
|
|
154
|
+
// is set then drivers MUST assume that it was set by an AWS ECS agent
|
|
155
|
+
if (process.env.AWS_CONTAINER_CREDENTIALS_RELATIVE_URI) {
|
|
156
|
+
return makeMongoCredentialsFromAWSTemp(await (0, utils_1.request)(`${AWS_RELATIVE_URI}${process.env.AWS_CONTAINER_CREDENTIALS_RELATIVE_URI}`));
|
|
157
|
+
}
|
|
158
|
+
// Otherwise assume we are on an EC2 instance
|
|
159
|
+
// get a token
|
|
160
|
+
const token = await (0, utils_1.request)(`${AWS_EC2_URI}/latest/api/token`, {
|
|
161
|
+
method: 'PUT',
|
|
162
|
+
json: false,
|
|
163
|
+
headers: { 'X-aws-ec2-metadata-token-ttl-seconds': 30 }
|
|
164
|
+
});
|
|
165
|
+
// get role name
|
|
166
|
+
const roleName = await (0, utils_1.request)(`${AWS_EC2_URI}/${AWS_EC2_PATH}`, {
|
|
167
|
+
json: false,
|
|
168
|
+
headers: { 'X-aws-ec2-metadata-token': token }
|
|
169
|
+
});
|
|
170
|
+
// get temp credentials
|
|
171
|
+
const creds = await (0, utils_1.request)(`${AWS_EC2_URI}/${AWS_EC2_PATH}/${roleName}`, {
|
|
172
|
+
headers: { 'X-aws-ec2-metadata-token': token }
|
|
173
|
+
});
|
|
174
|
+
return makeMongoCredentialsFromAWSTemp(creds);
|
|
175
|
+
}
|
|
176
|
+
else {
|
|
177
|
+
let { AWS_STS_REGIONAL_ENDPOINTS = '', AWS_REGION = '' } = process.env;
|
|
178
|
+
AWS_STS_REGIONAL_ENDPOINTS = AWS_STS_REGIONAL_ENDPOINTS.toLowerCase();
|
|
179
|
+
AWS_REGION = AWS_REGION.toLowerCase();
|
|
180
|
+
/** The option setting should work only for users who have explicit settings in their environment, the driver should not encode "defaults" */
|
|
181
|
+
const awsRegionSettingsExist = AWS_REGION.length !== 0 && AWS_STS_REGIONAL_ENDPOINTS.length !== 0;
|
|
182
|
+
/**
|
|
183
|
+
* If AWS_STS_REGIONAL_ENDPOINTS is set to regional, users are opting into the new behavior of respecting the region settings
|
|
184
|
+
*
|
|
185
|
+
* If AWS_STS_REGIONAL_ENDPOINTS is set to legacy, then "old" regions need to keep using the global setting.
|
|
186
|
+
* Technically the SDK gets this wrong, it reaches out to 'sts.us-east-1.amazonaws.com' when it should be 'sts.amazonaws.com'.
|
|
187
|
+
* That is not our bug to fix here. We leave that up to the SDK.
|
|
188
|
+
*/
|
|
189
|
+
const useRegionalSts = AWS_STS_REGIONAL_ENDPOINTS === 'regional' ||
|
|
190
|
+
(AWS_STS_REGIONAL_ENDPOINTS === 'legacy' && !LEGACY_REGIONS.has(AWS_REGION));
|
|
191
|
+
const provider = awsRegionSettingsExist && useRegionalSts
|
|
192
|
+
? MongoDBAWS.credentialProvider.fromNodeProviderChain({
|
|
193
|
+
clientConfig: { region: AWS_REGION }
|
|
194
|
+
})
|
|
195
|
+
: MongoDBAWS.credentialProvider.fromNodeProviderChain();
|
|
196
|
+
/*
|
|
197
|
+
* Creates a credential provider that will attempt to find credentials from the
|
|
198
|
+
* following sources (listed in order of precedence):
|
|
199
|
+
*
|
|
200
|
+
* - Environment variables exposed via process.env
|
|
201
|
+
* - SSO credentials from token cache
|
|
202
|
+
* - Web identity token credentials
|
|
203
|
+
* - Shared credentials and config ini files
|
|
204
|
+
* - The EC2/ECS Instance Metadata Service
|
|
205
|
+
*/
|
|
206
|
+
try {
|
|
207
|
+
const creds = await provider();
|
|
208
|
+
return makeMongoCredentialsFromAWSTemp({
|
|
209
|
+
AccessKeyId: creds.accessKeyId,
|
|
210
|
+
SecretAccessKey: creds.secretAccessKey,
|
|
211
|
+
Token: creds.sessionToken,
|
|
212
|
+
Expiration: creds.expiration
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
catch (error) {
|
|
216
|
+
throw new error_1.MongoAWSError(error.message);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
function deriveRegion(host) {
|
|
221
|
+
const parts = host.split('.');
|
|
222
|
+
if (parts.length === 1 || parts[1] === 'amazonaws') {
|
|
223
|
+
return 'us-east-1';
|
|
224
|
+
}
|
|
225
|
+
return parts[1];
|
|
226
|
+
}
|
|
227
|
+
//# sourceMappingURL=mongodb_aws.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mongodb_aws.js","sourceRoot":"","sources":["../../../src/cmap/auth/mongodb_aws.ts"],"names":[],"mappings":"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"}
|
package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/aws_service_workflow.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AwsServiceWorkflow = void 0;
|
|
4
|
+
const fs = require("fs");
|
|
5
|
+
const error_1 = require("../../../error");
|
|
6
|
+
const service_workflow_1 = require("./service_workflow");
|
|
7
|
+
/** Error for when the token is missing in the environment. */
|
|
8
|
+
const TOKEN_MISSING_ERROR = 'AWS_WEB_IDENTITY_TOKEN_FILE must be set in the environment.';
|
|
9
|
+
/**
|
|
10
|
+
* Device workflow implementation for AWS.
|
|
11
|
+
*
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
class AwsServiceWorkflow extends service_workflow_1.ServiceWorkflow {
|
|
15
|
+
constructor() {
|
|
16
|
+
super();
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Get the token from the environment.
|
|
20
|
+
*/
|
|
21
|
+
async getToken() {
|
|
22
|
+
const tokenFile = process.env.AWS_WEB_IDENTITY_TOKEN_FILE;
|
|
23
|
+
if (!tokenFile) {
|
|
24
|
+
throw new error_1.MongoAWSError(TOKEN_MISSING_ERROR);
|
|
25
|
+
}
|
|
26
|
+
return fs.promises.readFile(tokenFile, 'utf8');
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.AwsServiceWorkflow = AwsServiceWorkflow;
|
|
30
|
+
//# sourceMappingURL=aws_service_workflow.js.map
|
package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/aws_service_workflow.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aws_service_workflow.js","sourceRoot":"","sources":["../../../../src/cmap/auth/mongodb_oidc/aws_service_workflow.ts"],"names":[],"mappings":";;;AAAA,yBAAyB;AAEzB,0CAA+C;AAC/C,yDAAqD;AAErD,8DAA8D;AAC9D,MAAM,mBAAmB,GAAG,6DAA6D,CAAC;AAE1F;;;;GAIG;AACH,MAAa,kBAAmB,SAAQ,kCAAe;IACrD;QACE,KAAK,EAAE,CAAC;IACV,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,QAAQ;QACZ,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;QAC1D,IAAI,CAAC,SAAS,EAAE;YACd,MAAM,IAAI,qBAAa,CAAC,mBAAmB,CAAC,CAAC;SAC9C;QACD,OAAO,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;IACjD,CAAC;CACF;AAfD,gDAeC"}
|
package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_service_workflow.js
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AzureServiceWorkflow = void 0;
|
|
4
|
+
const error_1 = require("../../../error");
|
|
5
|
+
const utils_1 = require("../../../utils");
|
|
6
|
+
const azure_token_cache_1 = require("./azure_token_cache");
|
|
7
|
+
const service_workflow_1 = require("./service_workflow");
|
|
8
|
+
/** Base URL for getting Azure tokens. */
|
|
9
|
+
const AZURE_BASE_URL = 'http://169.254.169.254/metadata/identity/oauth2/token?api-version=2018-02-01';
|
|
10
|
+
/** Azure request headers. */
|
|
11
|
+
const AZURE_HEADERS = Object.freeze({ Metadata: 'true', Accept: 'application/json' });
|
|
12
|
+
/** Invalid endpoint result error. */
|
|
13
|
+
const ENDPOINT_RESULT_ERROR = 'Azure endpoint did not return a value with only access_token and expires_in properties';
|
|
14
|
+
/** Error for when the token audience is missing in the environment. */
|
|
15
|
+
const TOKEN_AUDIENCE_MISSING_ERROR = 'TOKEN_AUDIENCE must be set in the auth mechanism properties when PROVIDER_NAME is azure.';
|
|
16
|
+
/**
|
|
17
|
+
* Device workflow implementation for Azure.
|
|
18
|
+
*
|
|
19
|
+
* @internal
|
|
20
|
+
*/
|
|
21
|
+
class AzureServiceWorkflow extends service_workflow_1.ServiceWorkflow {
|
|
22
|
+
constructor() {
|
|
23
|
+
super(...arguments);
|
|
24
|
+
this.cache = new azure_token_cache_1.AzureTokenCache();
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Get the token from the environment.
|
|
28
|
+
*/
|
|
29
|
+
async getToken(credentials) {
|
|
30
|
+
const tokenAudience = credentials?.mechanismProperties.TOKEN_AUDIENCE;
|
|
31
|
+
if (!tokenAudience) {
|
|
32
|
+
throw new error_1.MongoAzureError(TOKEN_AUDIENCE_MISSING_ERROR);
|
|
33
|
+
}
|
|
34
|
+
let token;
|
|
35
|
+
const entry = this.cache.getEntry(tokenAudience);
|
|
36
|
+
if (entry?.isValid()) {
|
|
37
|
+
token = entry.token;
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
this.cache.deleteEntry(tokenAudience);
|
|
41
|
+
const response = await getAzureTokenData(tokenAudience);
|
|
42
|
+
if (!isEndpointResultValid(response)) {
|
|
43
|
+
throw new error_1.MongoAzureError(ENDPOINT_RESULT_ERROR);
|
|
44
|
+
}
|
|
45
|
+
this.cache.addEntry(tokenAudience, response);
|
|
46
|
+
token = response.access_token;
|
|
47
|
+
}
|
|
48
|
+
return token;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.AzureServiceWorkflow = AzureServiceWorkflow;
|
|
52
|
+
/**
|
|
53
|
+
* Hit the Azure endpoint to get the token data.
|
|
54
|
+
*/
|
|
55
|
+
async function getAzureTokenData(tokenAudience) {
|
|
56
|
+
const url = `${AZURE_BASE_URL}&resource=${tokenAudience}`;
|
|
57
|
+
const data = await (0, utils_1.request)(url, {
|
|
58
|
+
json: true,
|
|
59
|
+
headers: AZURE_HEADERS
|
|
60
|
+
});
|
|
61
|
+
return data;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Determines if a result returned from the endpoint is valid.
|
|
65
|
+
* This means the result is not nullish, contains the access_token required field
|
|
66
|
+
* and the expires_in required field.
|
|
67
|
+
*/
|
|
68
|
+
function isEndpointResultValid(token) {
|
|
69
|
+
if (token == null || typeof token !== 'object')
|
|
70
|
+
return false;
|
|
71
|
+
return 'access_token' in token && 'expires_in' in token;
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=azure_service_workflow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azure_service_workflow.js","sourceRoot":"","sources":["../../../../src/cmap/auth/mongodb_oidc/azure_service_workflow.ts"],"names":[],"mappings":";;;AAAA,0CAAiD;AACjD,0CAAyC;AAEzC,2DAAsD;AACtD,yDAAqD;AAErD,yCAAyC;AACzC,MAAM,cAAc,GAClB,8EAA8E,CAAC;AAEjF,6BAA6B;AAC7B,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,EAAE,CAAC,CAAC;AAEtF,qCAAqC;AACrC,MAAM,qBAAqB,GACzB,wFAAwF,CAAC;AAE3F,uEAAuE;AACvE,MAAM,4BAA4B,GAChC,0FAA0F,CAAC;AAW7F;;;;GAIG;AACH,MAAa,oBAAqB,SAAQ,kCAAe;IAAzD;;QACE,UAAK,GAAG,IAAI,mCAAe,EAAE,CAAC;IAyBhC,CAAC;IAvBC;;OAEG;IACH,KAAK,CAAC,QAAQ,CAAC,WAA8B;QAC3C,MAAM,aAAa,GAAG,WAAW,EAAE,mBAAmB,CAAC,cAAc,CAAC;QACtE,IAAI,CAAC,aAAa,EAAE;YAClB,MAAM,IAAI,uBAAe,CAAC,4BAA4B,CAAC,CAAC;SACzD;QACD,IAAI,KAAK,CAAC;QACV,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;QACjD,IAAI,KAAK,EAAE,OAAO,EAAE,EAAE;YACpB,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;SACrB;aAAM;YACL,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;YACtC,MAAM,QAAQ,GAAG,MAAM,iBAAiB,CAAC,aAAa,CAAC,CAAC;YACxD,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAE;gBACpC,MAAM,IAAI,uBAAe,CAAC,qBAAqB,CAAC,CAAC;aAClD;YACD,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;YAC7C,KAAK,GAAG,QAAQ,CAAC,YAAY,CAAC;SAC/B;QACD,OAAO,KAAK,CAAC;IACf,CAAC;CACF;AA1BD,oDA0BC;AAED;;GAEG;AACH,KAAK,UAAU,iBAAiB,CAAC,aAAqB;IACpD,MAAM,GAAG,GAAG,GAAG,cAAc,aAAa,aAAa,EAAE,CAAC;IAC1D,MAAM,IAAI,GAAG,MAAM,IAAA,eAAO,EAAC,GAAG,EAAE;QAC9B,IAAI,EAAE,IAAI;QACV,OAAO,EAAE,aAAa;KACvB,CAAC,CAAC;IACH,OAAO,IAAwB,CAAC;AAClC,CAAC;AAED;;;;GAIG;AACH,SAAS,qBAAqB,CAC5B,KAAc;IAEd,IAAI,KAAK,IAAI,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IAC7D,OAAO,cAAc,IAAI,KAAK,IAAI,YAAY,IAAI,KAAK,CAAC;AAC1D,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AzureTokenCache = exports.AzureTokenEntry = void 0;
|
|
4
|
+
const cache_1 = require("./cache");
|
|
5
|
+
/** @internal */
|
|
6
|
+
class AzureTokenEntry extends cache_1.ExpiringCacheEntry {
|
|
7
|
+
/**
|
|
8
|
+
* Instantiate the entry.
|
|
9
|
+
*/
|
|
10
|
+
constructor(token, expiration) {
|
|
11
|
+
super(expiration);
|
|
12
|
+
this.token = token;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.AzureTokenEntry = AzureTokenEntry;
|
|
16
|
+
/**
|
|
17
|
+
* A cache of access tokens from Azure.
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
class AzureTokenCache extends cache_1.Cache {
|
|
21
|
+
/**
|
|
22
|
+
* Add an entry to the cache.
|
|
23
|
+
*/
|
|
24
|
+
addEntry(tokenAudience, token) {
|
|
25
|
+
const entry = new AzureTokenEntry(token.access_token, token.expires_in);
|
|
26
|
+
this.entries.set(tokenAudience, entry);
|
|
27
|
+
return entry;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Create a cache key.
|
|
31
|
+
*/
|
|
32
|
+
cacheKey(tokenAudience) {
|
|
33
|
+
return tokenAudience;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Delete an entry from the cache.
|
|
37
|
+
*/
|
|
38
|
+
deleteEntry(tokenAudience) {
|
|
39
|
+
this.entries.delete(tokenAudience);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Get an Azure token entry from the cache.
|
|
43
|
+
*/
|
|
44
|
+
getEntry(tokenAudience) {
|
|
45
|
+
return this.entries.get(tokenAudience);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.AzureTokenCache = AzureTokenCache;
|
|
49
|
+
//# sourceMappingURL=azure_token_cache.js.map
|
package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_token_cache.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azure_token_cache.js","sourceRoot":"","sources":["../../../../src/cmap/auth/mongodb_oidc/azure_token_cache.ts"],"names":[],"mappings":";;;AACA,mCAAoD;AAEpD,gBAAgB;AAChB,MAAa,eAAgB,SAAQ,0BAAkB;IAGrD;;OAEG;IACH,YAAY,KAAa,EAAE,UAAkB;QAC3C,KAAK,CAAC,UAAU,CAAC,CAAC;QAClB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;CACF;AAVD,0CAUC;AAED;;;GAGG;AACH,MAAa,eAAgB,SAAQ,aAAsB;IACzD;;OAEG;IACH,QAAQ,CAAC,aAAqB,EAAE,KAAuB;QACrD,MAAM,KAAK,GAAG,IAAI,eAAe,CAAC,KAAK,CAAC,YAAY,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;QACxE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;QACvC,OAAO,KAAK,CAAC;IACf,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,aAAqB;QAC5B,OAAO,aAAa,CAAC;IACvB,CAAC;IAED;;OAEG;IACH,WAAW,CAAC,aAAqB;QAC/B,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IACrC,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,aAAqB;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IACzC,CAAC;CACF;AA9BD,0CA8BC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Cache = exports.ExpiringCacheEntry = void 0;
|
|
4
|
+
/* 5 minutes in milliseconds */
|
|
5
|
+
const EXPIRATION_BUFFER_MS = 300000;
|
|
6
|
+
/**
|
|
7
|
+
* An entry in a cache that can expire in a certain amount of time.
|
|
8
|
+
*/
|
|
9
|
+
class ExpiringCacheEntry {
|
|
10
|
+
/**
|
|
11
|
+
* Create a new expiring token entry.
|
|
12
|
+
*/
|
|
13
|
+
constructor(expiration) {
|
|
14
|
+
this.expiration = this.expirationTime(expiration);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* The entry is still valid if the expiration is more than
|
|
18
|
+
* 5 minutes from the expiration time.
|
|
19
|
+
*/
|
|
20
|
+
isValid() {
|
|
21
|
+
return this.expiration - Date.now() > EXPIRATION_BUFFER_MS;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Get an expiration time in milliseconds past epoch.
|
|
25
|
+
*/
|
|
26
|
+
expirationTime(expiresInSeconds) {
|
|
27
|
+
return Date.now() + expiresInSeconds * 1000;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.ExpiringCacheEntry = ExpiringCacheEntry;
|
|
31
|
+
/**
|
|
32
|
+
* Base class for OIDC caches.
|
|
33
|
+
*/
|
|
34
|
+
class Cache {
|
|
35
|
+
/**
|
|
36
|
+
* Create a new cache.
|
|
37
|
+
*/
|
|
38
|
+
constructor() {
|
|
39
|
+
this.entries = new Map();
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Clear the cache.
|
|
43
|
+
*/
|
|
44
|
+
clear() {
|
|
45
|
+
this.entries.clear();
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Create a cache key from the address and username.
|
|
49
|
+
*/
|
|
50
|
+
hashedCacheKey(address, username, callbackHash) {
|
|
51
|
+
return JSON.stringify([address, username, callbackHash]);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.Cache = Cache;
|
|
55
|
+
//# sourceMappingURL=cache.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cache.js","sourceRoot":"","sources":["../../../../src/cmap/auth/mongodb_oidc/cache.ts"],"names":[],"mappings":";;;AAAA,+BAA+B;AAC/B,MAAM,oBAAoB,GAAG,MAAM,CAAC;AAEpC;;GAEG;AACH,MAAsB,kBAAkB;IAGtC;;OAEG;IACH,YAAY,UAAkB;QAC5B,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;IACpD,CAAC;IACD;;;OAGG;IACH,OAAO;QACL,OAAO,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,oBAAoB,CAAC;IAC7D,CAAC;IAED;;OAEG;IACK,cAAc,CAAC,gBAAwB;QAC7C,OAAO,IAAI,CAAC,GAAG,EAAE,GAAG,gBAAgB,GAAG,IAAI,CAAC;IAC9C,CAAC;CACF;AAvBD,gDAuBC;AAED;;GAEG;AACH,MAAsB,KAAK;IAGzB;;OAEG;IACH;QACE,IAAI,CAAC,OAAO,GAAG,IAAI,GAAG,EAAa,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,KAAK;QACH,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IACvB,CAAC;IAOD;;OAEG;IACH,cAAc,CAAC,OAAe,EAAE,QAAgB,EAAE,YAAoB;QACpE,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC,OAAO,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC,CAAC;IAC3D,CAAC;CACF;AA5BD,sBA4BC"}
|
package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_lock_cache.js
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CallbackLockCache = void 0;
|
|
4
|
+
const error_1 = require("../../../error");
|
|
5
|
+
const cache_1 = require("./cache");
|
|
6
|
+
/** Error message for when request callback is missing. */
|
|
7
|
+
const REQUEST_CALLBACK_REQUIRED_ERROR = 'Auth mechanism property REQUEST_TOKEN_CALLBACK is required.';
|
|
8
|
+
/* Counter for function "hashes".*/
|
|
9
|
+
let FN_HASH_COUNTER = 0;
|
|
10
|
+
/* No function present function */
|
|
11
|
+
const NO_FUNCTION = async () => ({ accessToken: 'test' });
|
|
12
|
+
/* The map of function hashes */
|
|
13
|
+
const FN_HASHES = new WeakMap();
|
|
14
|
+
/* Put the no function hash in the map. */
|
|
15
|
+
FN_HASHES.set(NO_FUNCTION, FN_HASH_COUNTER);
|
|
16
|
+
/**
|
|
17
|
+
* A cache of request and refresh callbacks per server/user.
|
|
18
|
+
*/
|
|
19
|
+
class CallbackLockCache extends cache_1.Cache {
|
|
20
|
+
/**
|
|
21
|
+
* Get the callbacks for the connection and credentials. If an entry does not
|
|
22
|
+
* exist a new one will get set.
|
|
23
|
+
*/
|
|
24
|
+
getEntry(connection, credentials) {
|
|
25
|
+
const requestCallback = credentials.mechanismProperties.REQUEST_TOKEN_CALLBACK;
|
|
26
|
+
const refreshCallback = credentials.mechanismProperties.REFRESH_TOKEN_CALLBACK;
|
|
27
|
+
if (!requestCallback) {
|
|
28
|
+
throw new error_1.MongoInvalidArgumentError(REQUEST_CALLBACK_REQUIRED_ERROR);
|
|
29
|
+
}
|
|
30
|
+
const callbackHash = hashFunctions(requestCallback, refreshCallback);
|
|
31
|
+
const key = this.cacheKey(connection.address, credentials.username, callbackHash);
|
|
32
|
+
const entry = this.entries.get(key);
|
|
33
|
+
if (entry) {
|
|
34
|
+
return entry;
|
|
35
|
+
}
|
|
36
|
+
return this.addEntry(key, callbackHash, requestCallback, refreshCallback);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Set locked callbacks on for connection and credentials.
|
|
40
|
+
*/
|
|
41
|
+
addEntry(key, callbackHash, requestCallback, refreshCallback) {
|
|
42
|
+
const entry = {
|
|
43
|
+
requestCallback: withLock(requestCallback),
|
|
44
|
+
refreshCallback: refreshCallback ? withLock(refreshCallback) : undefined,
|
|
45
|
+
callbackHash: callbackHash
|
|
46
|
+
};
|
|
47
|
+
this.entries.set(key, entry);
|
|
48
|
+
return entry;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Create a cache key from the address and username.
|
|
52
|
+
*/
|
|
53
|
+
cacheKey(address, username, callbackHash) {
|
|
54
|
+
return this.hashedCacheKey(address, username, callbackHash);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.CallbackLockCache = CallbackLockCache;
|
|
58
|
+
/**
|
|
59
|
+
* Ensure the callback is only executed one at a time.
|
|
60
|
+
*/
|
|
61
|
+
function withLock(callback) {
|
|
62
|
+
let lock = Promise.resolve();
|
|
63
|
+
return async (info, context) => {
|
|
64
|
+
await lock;
|
|
65
|
+
lock = lock.then(() => callback(info, context));
|
|
66
|
+
return lock;
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Get the hash string for the request and refresh functions.
|
|
71
|
+
*/
|
|
72
|
+
function hashFunctions(requestFn, refreshFn) {
|
|
73
|
+
let requestHash = FN_HASHES.get(requestFn);
|
|
74
|
+
let refreshHash = FN_HASHES.get(refreshFn ?? NO_FUNCTION);
|
|
75
|
+
if (requestHash == null) {
|
|
76
|
+
// Create a new one for the function and put it in the map.
|
|
77
|
+
FN_HASH_COUNTER++;
|
|
78
|
+
requestHash = FN_HASH_COUNTER;
|
|
79
|
+
FN_HASHES.set(requestFn, FN_HASH_COUNTER);
|
|
80
|
+
}
|
|
81
|
+
if (refreshHash == null && refreshFn) {
|
|
82
|
+
// Create a new one for the function and put it in the map.
|
|
83
|
+
FN_HASH_COUNTER++;
|
|
84
|
+
refreshHash = FN_HASH_COUNTER;
|
|
85
|
+
FN_HASHES.set(refreshFn, FN_HASH_COUNTER);
|
|
86
|
+
}
|
|
87
|
+
return `${requestHash}-${refreshHash}`;
|
|
88
|
+
}
|
|
89
|
+
//# sourceMappingURL=callback_lock_cache.js.map
|
package/backend-project/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_lock_cache.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"callback_lock_cache.js","sourceRoot":"","sources":["../../../../src/cmap/auth/mongodb_oidc/callback_lock_cache.ts"],"names":[],"mappings":"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"}
|