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,1366 @@
|
|
|
1
|
+
declare module "node:child_process" {
|
|
2
|
+
import { NonSharedBuffer } from "node:buffer";
|
|
3
|
+
import * as dgram from "node:dgram";
|
|
4
|
+
import { Abortable, EventEmitter, InternalEventEmitter } from "node:events";
|
|
5
|
+
import * as net from "node:net";
|
|
6
|
+
import { Readable, Stream, Writable } from "node:stream";
|
|
7
|
+
import { URL } from "node:url";
|
|
8
|
+
type Serializable = string | object | number | boolean | bigint;
|
|
9
|
+
type SendHandle = net.Socket | net.Server | dgram.Socket | undefined;
|
|
10
|
+
interface ChildProcessEventMap {
|
|
11
|
+
"close": [code: number | null, signal: NodeJS.Signals | null];
|
|
12
|
+
"disconnect": [];
|
|
13
|
+
"error": [err: Error];
|
|
14
|
+
"exit": [code: number | null, signal: NodeJS.Signals | null];
|
|
15
|
+
"message": [message: Serializable, sendHandle: SendHandle];
|
|
16
|
+
"spawn": [];
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Instances of the `ChildProcess` represent spawned child processes.
|
|
20
|
+
*
|
|
21
|
+
* Instances of `ChildProcess` are not intended to be created directly. Rather,
|
|
22
|
+
* use the {@link spawn}, {@link exec},{@link execFile}, or {@link fork} methods to create
|
|
23
|
+
* instances of `ChildProcess`.
|
|
24
|
+
* @since v2.2.0
|
|
25
|
+
*/
|
|
26
|
+
class ChildProcess implements EventEmitter {
|
|
27
|
+
/**
|
|
28
|
+
* A `Writable Stream` that represents the child process's `stdin`.
|
|
29
|
+
*
|
|
30
|
+
* If a child process waits to read all of its input, the child will not continue
|
|
31
|
+
* until this stream has been closed via `end()`.
|
|
32
|
+
*
|
|
33
|
+
* If the child was spawned with `stdio[0]` set to anything other than `'pipe'`,
|
|
34
|
+
* then this will be `null`.
|
|
35
|
+
*
|
|
36
|
+
* `subprocess.stdin` is an alias for `subprocess.stdio[0]`. Both properties will
|
|
37
|
+
* refer to the same value.
|
|
38
|
+
*
|
|
39
|
+
* The `subprocess.stdin` property can be `null` or `undefined` if the child process could not be successfully spawned.
|
|
40
|
+
* @since v0.1.90
|
|
41
|
+
*/
|
|
42
|
+
stdin: Writable | null;
|
|
43
|
+
/**
|
|
44
|
+
* A `Readable Stream` that represents the child process's `stdout`.
|
|
45
|
+
*
|
|
46
|
+
* If the child was spawned with `stdio[1]` set to anything other than `'pipe'`,
|
|
47
|
+
* then this will be `null`.
|
|
48
|
+
*
|
|
49
|
+
* `subprocess.stdout` is an alias for `subprocess.stdio[1]`. Both properties will
|
|
50
|
+
* refer to the same value.
|
|
51
|
+
*
|
|
52
|
+
* ```js
|
|
53
|
+
* import { spawn } from 'node:child_process';
|
|
54
|
+
*
|
|
55
|
+
* const subprocess = spawn('ls');
|
|
56
|
+
*
|
|
57
|
+
* subprocess.stdout.on('data', (data) => {
|
|
58
|
+
* console.log(`Received chunk ${data}`);
|
|
59
|
+
* });
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* The `subprocess.stdout` property can be `null` or `undefined` if the child process could not be successfully spawned.
|
|
63
|
+
* @since v0.1.90
|
|
64
|
+
*/
|
|
65
|
+
stdout: Readable | null;
|
|
66
|
+
/**
|
|
67
|
+
* A `Readable Stream` that represents the child process's `stderr`.
|
|
68
|
+
*
|
|
69
|
+
* If the child was spawned with `stdio[2]` set to anything other than `'pipe'`,
|
|
70
|
+
* then this will be `null`.
|
|
71
|
+
*
|
|
72
|
+
* `subprocess.stderr` is an alias for `subprocess.stdio[2]`. Both properties will
|
|
73
|
+
* refer to the same value.
|
|
74
|
+
*
|
|
75
|
+
* The `subprocess.stderr` property can be `null` or `undefined` if the child process could not be successfully spawned.
|
|
76
|
+
* @since v0.1.90
|
|
77
|
+
*/
|
|
78
|
+
stderr: Readable | null;
|
|
79
|
+
/**
|
|
80
|
+
* The `subprocess.channel` property is a reference to the child's IPC channel. If
|
|
81
|
+
* no IPC channel exists, this property is `undefined`.
|
|
82
|
+
* @since v7.1.0
|
|
83
|
+
*/
|
|
84
|
+
readonly channel?: Control | null;
|
|
85
|
+
/**
|
|
86
|
+
* A sparse array of pipes to the child process, corresponding with positions in
|
|
87
|
+
* the `stdio` option passed to {@link spawn} that have been set
|
|
88
|
+
* to the value `'pipe'`. `subprocess.stdio[0]`, `subprocess.stdio[1]`, and `subprocess.stdio[2]` are also available as `subprocess.stdin`, `subprocess.stdout`, and `subprocess.stderr`,
|
|
89
|
+
* respectively.
|
|
90
|
+
*
|
|
91
|
+
* In the following example, only the child's fd `1` (stdout) is configured as a
|
|
92
|
+
* pipe, so only the parent's `subprocess.stdio[1]` is a stream, all other values
|
|
93
|
+
* in the array are `null`.
|
|
94
|
+
*
|
|
95
|
+
* ```js
|
|
96
|
+
* import assert from 'node:assert';
|
|
97
|
+
* import fs from 'node:fs';
|
|
98
|
+
* import child_process from 'node:child_process';
|
|
99
|
+
*
|
|
100
|
+
* const subprocess = child_process.spawn('ls', {
|
|
101
|
+
* stdio: [
|
|
102
|
+
* 0, // Use parent's stdin for child.
|
|
103
|
+
* 'pipe', // Pipe child's stdout to parent.
|
|
104
|
+
* fs.openSync('err.out', 'w'), // Direct child's stderr to a file.
|
|
105
|
+
* ],
|
|
106
|
+
* });
|
|
107
|
+
*
|
|
108
|
+
* assert.strictEqual(subprocess.stdio[0], null);
|
|
109
|
+
* assert.strictEqual(subprocess.stdio[0], subprocess.stdin);
|
|
110
|
+
*
|
|
111
|
+
* assert(subprocess.stdout);
|
|
112
|
+
* assert.strictEqual(subprocess.stdio[1], subprocess.stdout);
|
|
113
|
+
*
|
|
114
|
+
* assert.strictEqual(subprocess.stdio[2], null);
|
|
115
|
+
* assert.strictEqual(subprocess.stdio[2], subprocess.stderr);
|
|
116
|
+
* ```
|
|
117
|
+
*
|
|
118
|
+
* The `subprocess.stdio` property can be `undefined` if the child process could
|
|
119
|
+
* not be successfully spawned.
|
|
120
|
+
* @since v0.7.10
|
|
121
|
+
*/
|
|
122
|
+
readonly stdio: [
|
|
123
|
+
Writable | null,
|
|
124
|
+
// stdin
|
|
125
|
+
Readable | null,
|
|
126
|
+
// stdout
|
|
127
|
+
Readable | null,
|
|
128
|
+
// stderr
|
|
129
|
+
Readable | Writable | null | undefined,
|
|
130
|
+
// extra
|
|
131
|
+
Readable | Writable | null | undefined, // extra
|
|
132
|
+
];
|
|
133
|
+
/**
|
|
134
|
+
* The `subprocess.killed` property indicates whether the child process
|
|
135
|
+
* successfully received a signal from `subprocess.kill()`. The `killed` property
|
|
136
|
+
* does not indicate that the child process has been terminated.
|
|
137
|
+
* @since v0.5.10
|
|
138
|
+
*/
|
|
139
|
+
readonly killed: boolean;
|
|
140
|
+
/**
|
|
141
|
+
* Returns the process identifier (PID) of the child process. If the child process
|
|
142
|
+
* fails to spawn due to errors, then the value is `undefined` and `error` is
|
|
143
|
+
* emitted.
|
|
144
|
+
*
|
|
145
|
+
* ```js
|
|
146
|
+
* import { spawn } from 'node:child_process';
|
|
147
|
+
* const grep = spawn('grep', ['ssh']);
|
|
148
|
+
*
|
|
149
|
+
* console.log(`Spawned child pid: ${grep.pid}`);
|
|
150
|
+
* grep.stdin.end();
|
|
151
|
+
* ```
|
|
152
|
+
* @since v0.1.90
|
|
153
|
+
*/
|
|
154
|
+
readonly pid?: number | undefined;
|
|
155
|
+
/**
|
|
156
|
+
* The `subprocess.connected` property indicates whether it is still possible to
|
|
157
|
+
* send and receive messages from a child process. When `subprocess.connected` is `false`, it is no longer possible to send or receive messages.
|
|
158
|
+
* @since v0.7.2
|
|
159
|
+
*/
|
|
160
|
+
readonly connected: boolean;
|
|
161
|
+
/**
|
|
162
|
+
* The `subprocess.exitCode` property indicates the exit code of the child process.
|
|
163
|
+
* If the child process is still running, the field will be `null`.
|
|
164
|
+
*
|
|
165
|
+
* When the child process is terminated by a signal, `subprocess.exitCode` will be
|
|
166
|
+
* `null` and `subprocess.signalCode` will be set. To get the corresponding
|
|
167
|
+
* POSIX exit code, use
|
|
168
|
+
* `util.convertProcessSignalToExitCode(subprocess.signalCode)`.
|
|
169
|
+
*/
|
|
170
|
+
readonly exitCode: number | null;
|
|
171
|
+
/**
|
|
172
|
+
* The `subprocess.signalCode` property indicates the signal received by
|
|
173
|
+
* the child process if any, else `null`.
|
|
174
|
+
*/
|
|
175
|
+
readonly signalCode: NodeJS.Signals | null;
|
|
176
|
+
/**
|
|
177
|
+
* The `subprocess.spawnargs` property represents the full list of command-line
|
|
178
|
+
* arguments the child process was launched with.
|
|
179
|
+
*/
|
|
180
|
+
readonly spawnargs: string[];
|
|
181
|
+
/**
|
|
182
|
+
* The `subprocess.spawnfile` property indicates the executable file name of
|
|
183
|
+
* the child process that is launched.
|
|
184
|
+
*
|
|
185
|
+
* For {@link fork}, its value will be equal to `process.execPath`.
|
|
186
|
+
* For {@link spawn}, its value will be the name of
|
|
187
|
+
* the executable file.
|
|
188
|
+
* For {@link exec}, its value will be the name of the shell
|
|
189
|
+
* in which the child process is launched.
|
|
190
|
+
*/
|
|
191
|
+
readonly spawnfile: string;
|
|
192
|
+
/**
|
|
193
|
+
* The `subprocess.kill()` method sends a signal to the child process. If no
|
|
194
|
+
* argument is given, the process will be sent the `'SIGTERM'` signal. See [`signal(7)`](http://man7.org/linux/man-pages/man7/signal.7.html) for a list of available signals. This function
|
|
195
|
+
* returns `true` if [`kill(2)`](http://man7.org/linux/man-pages/man2/kill.2.html) succeeds, and `false` otherwise.
|
|
196
|
+
*
|
|
197
|
+
* ```js
|
|
198
|
+
* import { spawn } from 'node:child_process';
|
|
199
|
+
* const grep = spawn('grep', ['ssh']);
|
|
200
|
+
*
|
|
201
|
+
* grep.on('close', (code, signal) => {
|
|
202
|
+
* console.log(
|
|
203
|
+
* `child process terminated due to receipt of signal ${signal}`);
|
|
204
|
+
* });
|
|
205
|
+
*
|
|
206
|
+
* // Send SIGHUP to process.
|
|
207
|
+
* grep.kill('SIGHUP');
|
|
208
|
+
* ```
|
|
209
|
+
*
|
|
210
|
+
* The `ChildProcess` object may emit an `'error'` event if the signal
|
|
211
|
+
* cannot be delivered. Sending a signal to a child process that has already exited
|
|
212
|
+
* is not an error but may have unforeseen consequences. Specifically, if the
|
|
213
|
+
* process identifier (PID) has been reassigned to another process, the signal will
|
|
214
|
+
* be delivered to that process instead which can have unexpected results.
|
|
215
|
+
*
|
|
216
|
+
* While the function is called `kill`, the signal delivered to the child process
|
|
217
|
+
* may not actually terminate the process.
|
|
218
|
+
*
|
|
219
|
+
* See [`kill(2)`](http://man7.org/linux/man-pages/man2/kill.2.html) for reference.
|
|
220
|
+
*
|
|
221
|
+
* On Windows, where POSIX signals do not exist, the `signal` argument will be
|
|
222
|
+
* ignored, and the process will be killed forcefully and abruptly (similar to `'SIGKILL'`).
|
|
223
|
+
* See `Signal Events` for more details.
|
|
224
|
+
*
|
|
225
|
+
* On Linux, child processes of child processes will not be terminated
|
|
226
|
+
* when attempting to kill their parent. This is likely to happen when running a
|
|
227
|
+
* new process in a shell or with the use of the `shell` option of `ChildProcess`:
|
|
228
|
+
*
|
|
229
|
+
* ```js
|
|
230
|
+
* 'use strict';
|
|
231
|
+
* import { spawn } from 'node:child_process';
|
|
232
|
+
*
|
|
233
|
+
* const subprocess = spawn(
|
|
234
|
+
* 'sh',
|
|
235
|
+
* [
|
|
236
|
+
* '-c',
|
|
237
|
+
* `node -e "setInterval(() => {
|
|
238
|
+
* console.log(process.pid, 'is alive')
|
|
239
|
+
* }, 500);"`,
|
|
240
|
+
* ], {
|
|
241
|
+
* stdio: ['inherit', 'inherit', 'inherit'],
|
|
242
|
+
* },
|
|
243
|
+
* );
|
|
244
|
+
*
|
|
245
|
+
* setTimeout(() => {
|
|
246
|
+
* subprocess.kill(); // Does not terminate the Node.js process in the shell.
|
|
247
|
+
* }, 2000);
|
|
248
|
+
* ```
|
|
249
|
+
* @since v0.1.90
|
|
250
|
+
*/
|
|
251
|
+
kill(signal?: NodeJS.Signals | number): boolean;
|
|
252
|
+
/**
|
|
253
|
+
* Calls {@link ChildProcess.kill} with `'SIGTERM'`.
|
|
254
|
+
* @since v20.5.0
|
|
255
|
+
*/
|
|
256
|
+
[Symbol.dispose](): void;
|
|
257
|
+
/**
|
|
258
|
+
* When an IPC channel has been established between the parent and child (
|
|
259
|
+
* i.e. when using {@link fork}), the `subprocess.send()` method can
|
|
260
|
+
* be used to send messages to the child process. When the child process is a
|
|
261
|
+
* Node.js instance, these messages can be received via the `'message'` event.
|
|
262
|
+
*
|
|
263
|
+
* The message goes through serialization and parsing. The resulting
|
|
264
|
+
* message might not be the same as what is originally sent.
|
|
265
|
+
*
|
|
266
|
+
* For example, in the parent script:
|
|
267
|
+
*
|
|
268
|
+
* ```js
|
|
269
|
+
* import cp from 'node:child_process';
|
|
270
|
+
* const n = cp.fork(`${__dirname}/sub.js`);
|
|
271
|
+
*
|
|
272
|
+
* n.on('message', (m) => {
|
|
273
|
+
* console.log('PARENT got message:', m);
|
|
274
|
+
* });
|
|
275
|
+
*
|
|
276
|
+
* // Causes the child to print: CHILD got message: { hello: 'world' }
|
|
277
|
+
* n.send({ hello: 'world' });
|
|
278
|
+
* ```
|
|
279
|
+
*
|
|
280
|
+
* And then the child script, `'sub.js'` might look like this:
|
|
281
|
+
*
|
|
282
|
+
* ```js
|
|
283
|
+
* process.on('message', (m) => {
|
|
284
|
+
* console.log('CHILD got message:', m);
|
|
285
|
+
* });
|
|
286
|
+
*
|
|
287
|
+
* // Causes the parent to print: PARENT got message: { foo: 'bar', baz: null }
|
|
288
|
+
* process.send({ foo: 'bar', baz: NaN });
|
|
289
|
+
* ```
|
|
290
|
+
*
|
|
291
|
+
* Child Node.js processes will have a `process.send()` method of their own
|
|
292
|
+
* that allows the child to send messages back to the parent.
|
|
293
|
+
*
|
|
294
|
+
* There is a special case when sending a `{cmd: 'NODE_foo'}` message. Messages
|
|
295
|
+
* containing a `NODE_` prefix in the `cmd` property are reserved for use within
|
|
296
|
+
* Node.js core and will not be emitted in the child's `'message'` event. Rather, such messages are emitted using the `'internalMessage'` event and are consumed internally by Node.js.
|
|
297
|
+
* Applications should avoid using such messages or listening for `'internalMessage'` events as it is subject to change without notice.
|
|
298
|
+
*
|
|
299
|
+
* The optional `sendHandle` argument that may be passed to `subprocess.send()` is
|
|
300
|
+
* for passing a TCP server or socket object to the child process. The child will
|
|
301
|
+
* receive the object as the second argument passed to the callback function
|
|
302
|
+
* registered on the `'message'` event. Any data that is received and buffered in
|
|
303
|
+
* the socket will not be sent to the child. Sending IPC sockets is not supported on Windows.
|
|
304
|
+
*
|
|
305
|
+
* The optional `callback` is a function that is invoked after the message is
|
|
306
|
+
* sent but before the child may have received it. The function is called with a
|
|
307
|
+
* single argument: `null` on success, or an `Error` object on failure.
|
|
308
|
+
*
|
|
309
|
+
* If no `callback` function is provided and the message cannot be sent, an `'error'` event will be emitted by the `ChildProcess` object. This can
|
|
310
|
+
* happen, for instance, when the child process has already exited.
|
|
311
|
+
*
|
|
312
|
+
* `subprocess.send()` will return `false` if the channel has closed or when the
|
|
313
|
+
* backlog of unsent messages exceeds a threshold that makes it unwise to send
|
|
314
|
+
* more. Otherwise, the method returns `true`. The `callback` function can be
|
|
315
|
+
* used to implement flow control.
|
|
316
|
+
*
|
|
317
|
+
* #### Example: sending a server object
|
|
318
|
+
*
|
|
319
|
+
* The `sendHandle` argument can be used, for instance, to pass the handle of
|
|
320
|
+
* a TCP server object to the child process as illustrated in the example below:
|
|
321
|
+
*
|
|
322
|
+
* ```js
|
|
323
|
+
* import { createServer } from 'node:net';
|
|
324
|
+
* import { fork } from 'node:child_process';
|
|
325
|
+
* const subprocess = fork('subprocess.js');
|
|
326
|
+
*
|
|
327
|
+
* // Open up the server object and send the handle.
|
|
328
|
+
* const server = createServer();
|
|
329
|
+
* server.on('connection', (socket) => {
|
|
330
|
+
* socket.end('handled by parent');
|
|
331
|
+
* });
|
|
332
|
+
* server.listen(1337, () => {
|
|
333
|
+
* subprocess.send('server', server);
|
|
334
|
+
* });
|
|
335
|
+
* ```
|
|
336
|
+
*
|
|
337
|
+
* The child would then receive the server object as:
|
|
338
|
+
*
|
|
339
|
+
* ```js
|
|
340
|
+
* process.on('message', (m, server) => {
|
|
341
|
+
* if (m === 'server') {
|
|
342
|
+
* server.on('connection', (socket) => {
|
|
343
|
+
* socket.end('handled by child');
|
|
344
|
+
* });
|
|
345
|
+
* }
|
|
346
|
+
* });
|
|
347
|
+
* ```
|
|
348
|
+
*
|
|
349
|
+
* Once the server is now shared between the parent and child, some connections
|
|
350
|
+
* can be handled by the parent and some by the child.
|
|
351
|
+
*
|
|
352
|
+
* While the example above uses a server created using the `node:net` module, `node:dgram` module servers use exactly the same workflow with the exceptions of
|
|
353
|
+
* listening on a `'message'` event instead of `'connection'` and using `server.bind()` instead of `server.listen()`. This is, however, only
|
|
354
|
+
* supported on Unix platforms.
|
|
355
|
+
*
|
|
356
|
+
* #### Example: sending a socket object
|
|
357
|
+
*
|
|
358
|
+
* Similarly, the `sendHandler` argument can be used to pass the handle of a
|
|
359
|
+
* socket to the child process. The example below spawns two children that each
|
|
360
|
+
* handle connections with "normal" or "special" priority:
|
|
361
|
+
*
|
|
362
|
+
* ```js
|
|
363
|
+
* import { createServer } from 'node:net';
|
|
364
|
+
* import { fork } from 'node:child_process';
|
|
365
|
+
* const normal = fork('subprocess.js', ['normal']);
|
|
366
|
+
* const special = fork('subprocess.js', ['special']);
|
|
367
|
+
*
|
|
368
|
+
* // Open up the server and send sockets to child. Use pauseOnConnect to prevent
|
|
369
|
+
* // the sockets from being read before they are sent to the child process.
|
|
370
|
+
* const server = createServer({ pauseOnConnect: true });
|
|
371
|
+
* server.on('connection', (socket) => {
|
|
372
|
+
*
|
|
373
|
+
* // If this is special priority...
|
|
374
|
+
* if (socket.remoteAddress === '74.125.127.100') {
|
|
375
|
+
* special.send('socket', socket);
|
|
376
|
+
* return;
|
|
377
|
+
* }
|
|
378
|
+
* // This is normal priority.
|
|
379
|
+
* normal.send('socket', socket);
|
|
380
|
+
* });
|
|
381
|
+
* server.listen(1337);
|
|
382
|
+
* ```
|
|
383
|
+
*
|
|
384
|
+
* The `subprocess.js` would receive the socket handle as the second argument
|
|
385
|
+
* passed to the event callback function:
|
|
386
|
+
*
|
|
387
|
+
* ```js
|
|
388
|
+
* process.on('message', (m, socket) => {
|
|
389
|
+
* if (m === 'socket') {
|
|
390
|
+
* if (socket) {
|
|
391
|
+
* // Check that the client socket exists.
|
|
392
|
+
* // It is possible for the socket to be closed between the time it is
|
|
393
|
+
* // sent and the time it is received in the child process.
|
|
394
|
+
* socket.end(`Request handled with ${process.argv[2]} priority`);
|
|
395
|
+
* }
|
|
396
|
+
* }
|
|
397
|
+
* });
|
|
398
|
+
* ```
|
|
399
|
+
*
|
|
400
|
+
* Do not use `.maxConnections` on a socket that has been passed to a subprocess.
|
|
401
|
+
* The parent cannot track when the socket is destroyed.
|
|
402
|
+
*
|
|
403
|
+
* Any `'message'` handlers in the subprocess should verify that `socket` exists,
|
|
404
|
+
* as the connection may have been closed during the time it takes to send the
|
|
405
|
+
* connection to the child.
|
|
406
|
+
* @since v0.5.9
|
|
407
|
+
* @param sendHandle `undefined`, or a [`net.Socket`](https://nodejs.org/docs/latest-v25.x/api/net.html#class-netsocket), [`net.Server`](https://nodejs.org/docs/latest-v25.x/api/net.html#class-netserver), or [`dgram.Socket`](https://nodejs.org/docs/latest-v25.x/api/dgram.html#class-dgramsocket) object.
|
|
408
|
+
* @param options The `options` argument, if present, is an object used to parameterize the sending of certain types of handles. `options` supports the following properties:
|
|
409
|
+
*/
|
|
410
|
+
send(message: Serializable, callback?: (error: Error | null) => void): boolean;
|
|
411
|
+
send(message: Serializable, sendHandle?: SendHandle, callback?: (error: Error | null) => void): boolean;
|
|
412
|
+
send(
|
|
413
|
+
message: Serializable,
|
|
414
|
+
sendHandle?: SendHandle,
|
|
415
|
+
options?: MessageOptions,
|
|
416
|
+
callback?: (error: Error | null) => void,
|
|
417
|
+
): boolean;
|
|
418
|
+
/**
|
|
419
|
+
* Closes the IPC channel between parent and child, allowing the child to exit
|
|
420
|
+
* gracefully once there are no other connections keeping it alive. After calling
|
|
421
|
+
* this method the `subprocess.connected` and `process.connected` properties in
|
|
422
|
+
* both the parent and child (respectively) will be set to `false`, and it will be
|
|
423
|
+
* no longer possible to pass messages between the processes.
|
|
424
|
+
*
|
|
425
|
+
* The `'disconnect'` event will be emitted when there are no messages in the
|
|
426
|
+
* process of being received. This will most often be triggered immediately after
|
|
427
|
+
* calling `subprocess.disconnect()`.
|
|
428
|
+
*
|
|
429
|
+
* When the child process is a Node.js instance (e.g. spawned using {@link fork}), the `process.disconnect()` method can be invoked
|
|
430
|
+
* within the child process to close the IPC channel as well.
|
|
431
|
+
* @since v0.7.2
|
|
432
|
+
*/
|
|
433
|
+
disconnect(): void;
|
|
434
|
+
/**
|
|
435
|
+
* By default, the parent will wait for the detached child to exit. To prevent the
|
|
436
|
+
* parent from waiting for a given `subprocess` to exit, use the `subprocess.unref()` method. Doing so will cause the parent's event loop to not
|
|
437
|
+
* include the child in its reference count, allowing the parent to exit
|
|
438
|
+
* independently of the child, unless there is an established IPC channel between
|
|
439
|
+
* the child and the parent.
|
|
440
|
+
*
|
|
441
|
+
* ```js
|
|
442
|
+
* import { spawn } from 'node:child_process';
|
|
443
|
+
*
|
|
444
|
+
* const subprocess = spawn(process.argv[0], ['child_program.js'], {
|
|
445
|
+
* detached: true,
|
|
446
|
+
* stdio: 'ignore',
|
|
447
|
+
* });
|
|
448
|
+
*
|
|
449
|
+
* subprocess.unref();
|
|
450
|
+
* ```
|
|
451
|
+
* @since v0.7.10
|
|
452
|
+
*/
|
|
453
|
+
unref(): void;
|
|
454
|
+
/**
|
|
455
|
+
* Calling `subprocess.ref()` after making a call to `subprocess.unref()` will
|
|
456
|
+
* restore the removed reference count for the child process, forcing the parent
|
|
457
|
+
* to wait for the child to exit before exiting itself.
|
|
458
|
+
*
|
|
459
|
+
* ```js
|
|
460
|
+
* import { spawn } from 'node:child_process';
|
|
461
|
+
*
|
|
462
|
+
* const subprocess = spawn(process.argv[0], ['child_program.js'], {
|
|
463
|
+
* detached: true,
|
|
464
|
+
* stdio: 'ignore',
|
|
465
|
+
* });
|
|
466
|
+
*
|
|
467
|
+
* subprocess.unref();
|
|
468
|
+
* subprocess.ref();
|
|
469
|
+
* ```
|
|
470
|
+
* @since v0.7.10
|
|
471
|
+
*/
|
|
472
|
+
ref(): void;
|
|
473
|
+
}
|
|
474
|
+
interface ChildProcess extends InternalEventEmitter<ChildProcessEventMap> {}
|
|
475
|
+
// return this object when stdio option is undefined or not specified
|
|
476
|
+
interface ChildProcessWithoutNullStreams extends ChildProcess {
|
|
477
|
+
stdin: Writable;
|
|
478
|
+
stdout: Readable;
|
|
479
|
+
stderr: Readable;
|
|
480
|
+
readonly stdio: [
|
|
481
|
+
Writable,
|
|
482
|
+
Readable,
|
|
483
|
+
Readable,
|
|
484
|
+
// stderr
|
|
485
|
+
Readable | Writable | null | undefined,
|
|
486
|
+
// extra, no modification
|
|
487
|
+
Readable | Writable | null | undefined, // extra, no modification
|
|
488
|
+
];
|
|
489
|
+
}
|
|
490
|
+
// return this object when stdio option is a tuple of 3
|
|
491
|
+
interface ChildProcessByStdio<I extends null | Writable, O extends null | Readable, E extends null | Readable>
|
|
492
|
+
extends ChildProcess
|
|
493
|
+
{
|
|
494
|
+
stdin: I;
|
|
495
|
+
stdout: O;
|
|
496
|
+
stderr: E;
|
|
497
|
+
readonly stdio: [
|
|
498
|
+
I,
|
|
499
|
+
O,
|
|
500
|
+
E,
|
|
501
|
+
Readable | Writable | null | undefined,
|
|
502
|
+
// extra, no modification
|
|
503
|
+
Readable | Writable | null | undefined, // extra, no modification
|
|
504
|
+
];
|
|
505
|
+
}
|
|
506
|
+
interface Control extends EventEmitter {
|
|
507
|
+
ref(): void;
|
|
508
|
+
unref(): void;
|
|
509
|
+
}
|
|
510
|
+
interface MessageOptions {
|
|
511
|
+
keepOpen?: boolean | undefined;
|
|
512
|
+
}
|
|
513
|
+
type IOType = "overlapped" | "pipe" | "ignore" | "inherit";
|
|
514
|
+
type StdioOptions = IOType | Array<IOType | "ipc" | Stream | number | null | undefined>;
|
|
515
|
+
type SerializationType = "json" | "advanced";
|
|
516
|
+
interface MessagingOptions extends Abortable {
|
|
517
|
+
/**
|
|
518
|
+
* Specify the kind of serialization used for sending messages between processes.
|
|
519
|
+
* @default 'json'
|
|
520
|
+
*/
|
|
521
|
+
serialization?: SerializationType | undefined;
|
|
522
|
+
/**
|
|
523
|
+
* The signal value to be used when the spawned process will be killed by the abort signal.
|
|
524
|
+
* @default 'SIGTERM'
|
|
525
|
+
*/
|
|
526
|
+
killSignal?: NodeJS.Signals | number | undefined;
|
|
527
|
+
/**
|
|
528
|
+
* In milliseconds the maximum amount of time the process is allowed to run.
|
|
529
|
+
*/
|
|
530
|
+
timeout?: number | undefined;
|
|
531
|
+
}
|
|
532
|
+
interface ProcessEnvOptions {
|
|
533
|
+
uid?: number | undefined;
|
|
534
|
+
gid?: number | undefined;
|
|
535
|
+
cwd?: string | URL | undefined;
|
|
536
|
+
env?: NodeJS.ProcessEnv | undefined;
|
|
537
|
+
}
|
|
538
|
+
interface CommonOptions extends ProcessEnvOptions {
|
|
539
|
+
/**
|
|
540
|
+
* @default false
|
|
541
|
+
*/
|
|
542
|
+
windowsHide?: boolean | undefined;
|
|
543
|
+
/**
|
|
544
|
+
* @default 0
|
|
545
|
+
*/
|
|
546
|
+
timeout?: number | undefined;
|
|
547
|
+
}
|
|
548
|
+
interface CommonSpawnOptions extends CommonOptions, MessagingOptions, Abortable {
|
|
549
|
+
argv0?: string | undefined;
|
|
550
|
+
/**
|
|
551
|
+
* Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
|
|
552
|
+
* If passed as an array, the first element is used for `stdin`, the second for
|
|
553
|
+
* `stdout`, and the third for `stderr`. A fourth element can be used to
|
|
554
|
+
* specify the `stdio` behavior beyond the standard streams. See
|
|
555
|
+
* {@link ChildProcess.stdio} for more information.
|
|
556
|
+
*
|
|
557
|
+
* @default 'pipe'
|
|
558
|
+
*/
|
|
559
|
+
stdio?: StdioOptions | undefined;
|
|
560
|
+
shell?: boolean | string | undefined;
|
|
561
|
+
windowsVerbatimArguments?: boolean | undefined;
|
|
562
|
+
}
|
|
563
|
+
interface SpawnOptions extends CommonSpawnOptions {
|
|
564
|
+
detached?: boolean | undefined;
|
|
565
|
+
}
|
|
566
|
+
interface SpawnOptionsWithoutStdio extends SpawnOptions {
|
|
567
|
+
stdio?: StdioPipeNamed | StdioPipe[] | undefined;
|
|
568
|
+
}
|
|
569
|
+
type StdioNull = "inherit" | "ignore" | Stream;
|
|
570
|
+
type StdioPipeNamed = "pipe" | "overlapped";
|
|
571
|
+
type StdioPipe = undefined | null | StdioPipeNamed;
|
|
572
|
+
interface SpawnOptionsWithStdioTuple<
|
|
573
|
+
Stdin extends StdioNull | StdioPipe,
|
|
574
|
+
Stdout extends StdioNull | StdioPipe,
|
|
575
|
+
Stderr extends StdioNull | StdioPipe,
|
|
576
|
+
> extends SpawnOptions {
|
|
577
|
+
stdio: [Stdin, Stdout, Stderr];
|
|
578
|
+
}
|
|
579
|
+
/**
|
|
580
|
+
* The `child_process.spawn()` method spawns a new process using the given `command`, with command-line arguments in `args`. If omitted, `args` defaults
|
|
581
|
+
* to an empty array.
|
|
582
|
+
*
|
|
583
|
+
* **If the `shell` option is enabled, do not pass unsanitized user input to this**
|
|
584
|
+
* **function. Any input containing shell metacharacters may be used to trigger**
|
|
585
|
+
* **arbitrary command execution.**
|
|
586
|
+
*
|
|
587
|
+
* A third argument may be used to specify additional options, with these defaults:
|
|
588
|
+
*
|
|
589
|
+
* ```js
|
|
590
|
+
* const defaults = {
|
|
591
|
+
* cwd: undefined,
|
|
592
|
+
* env: process.env,
|
|
593
|
+
* };
|
|
594
|
+
* ```
|
|
595
|
+
*
|
|
596
|
+
* Use `cwd` to specify the working directory from which the process is spawned.
|
|
597
|
+
* If not given, the default is to inherit the current working directory. If given,
|
|
598
|
+
* but the path does not exist, the child process emits an `ENOENT` error
|
|
599
|
+
* and exits immediately. `ENOENT` is also emitted when the command
|
|
600
|
+
* does not exist.
|
|
601
|
+
*
|
|
602
|
+
* Use `env` to specify environment variables that will be visible to the new
|
|
603
|
+
* process, the default is `process.env`.
|
|
604
|
+
*
|
|
605
|
+
* `undefined` values in `env` will be ignored.
|
|
606
|
+
*
|
|
607
|
+
* Example of running `ls -lh /usr`, capturing `stdout`, `stderr`, and the
|
|
608
|
+
* exit code:
|
|
609
|
+
*
|
|
610
|
+
* ```js
|
|
611
|
+
* import { spawn } from 'node:child_process';
|
|
612
|
+
* import { once } from 'node:events';
|
|
613
|
+
* const ls = spawn('ls', ['-lh', '/usr']);
|
|
614
|
+
*
|
|
615
|
+
* ls.stdout.on('data', (data) => {
|
|
616
|
+
* console.log(`stdout: ${data}`);
|
|
617
|
+
* });
|
|
618
|
+
*
|
|
619
|
+
* ls.stderr.on('data', (data) => {
|
|
620
|
+
* console.error(`stderr: ${data}`);
|
|
621
|
+
* });
|
|
622
|
+
*
|
|
623
|
+
* const [code] = await once(ls, 'close');
|
|
624
|
+
* console.log(`child process exited with code ${code}`);
|
|
625
|
+
* ```
|
|
626
|
+
*
|
|
627
|
+
* Example: A very elaborate way to run `ps ax | grep ssh`
|
|
628
|
+
*
|
|
629
|
+
* ```js
|
|
630
|
+
* import { spawn } from 'node:child_process';
|
|
631
|
+
* const ps = spawn('ps', ['ax']);
|
|
632
|
+
* const grep = spawn('grep', ['ssh']);
|
|
633
|
+
*
|
|
634
|
+
* ps.stdout.on('data', (data) => {
|
|
635
|
+
* grep.stdin.write(data);
|
|
636
|
+
* });
|
|
637
|
+
*
|
|
638
|
+
* ps.stderr.on('data', (data) => {
|
|
639
|
+
* console.error(`ps stderr: ${data}`);
|
|
640
|
+
* });
|
|
641
|
+
*
|
|
642
|
+
* ps.on('close', (code) => {
|
|
643
|
+
* if (code !== 0) {
|
|
644
|
+
* console.log(`ps process exited with code ${code}`);
|
|
645
|
+
* }
|
|
646
|
+
* grep.stdin.end();
|
|
647
|
+
* });
|
|
648
|
+
*
|
|
649
|
+
* grep.stdout.on('data', (data) => {
|
|
650
|
+
* console.log(data.toString());
|
|
651
|
+
* });
|
|
652
|
+
*
|
|
653
|
+
* grep.stderr.on('data', (data) => {
|
|
654
|
+
* console.error(`grep stderr: ${data}`);
|
|
655
|
+
* });
|
|
656
|
+
*
|
|
657
|
+
* grep.on('close', (code) => {
|
|
658
|
+
* if (code !== 0) {
|
|
659
|
+
* console.log(`grep process exited with code ${code}`);
|
|
660
|
+
* }
|
|
661
|
+
* });
|
|
662
|
+
* ```
|
|
663
|
+
*
|
|
664
|
+
* Example of checking for failed `spawn`:
|
|
665
|
+
*
|
|
666
|
+
* ```js
|
|
667
|
+
* import { spawn } from 'node:child_process';
|
|
668
|
+
* const subprocess = spawn('bad_command');
|
|
669
|
+
*
|
|
670
|
+
* subprocess.on('error', (err) => {
|
|
671
|
+
* console.error('Failed to start subprocess.');
|
|
672
|
+
* });
|
|
673
|
+
* ```
|
|
674
|
+
*
|
|
675
|
+
* Certain platforms (macOS, Linux) will use the value of `argv[0]` for the process
|
|
676
|
+
* title while others (Windows, SunOS) will use `command`.
|
|
677
|
+
*
|
|
678
|
+
* Node.js overwrites `argv[0]` with `process.execPath` on startup, so `process.argv[0]` in a Node.js child process will not match the `argv0` parameter passed to `spawn` from the parent. Retrieve
|
|
679
|
+
* it with the `process.argv0` property instead.
|
|
680
|
+
*
|
|
681
|
+
* If the `signal` option is enabled, calling `.abort()` on the corresponding `AbortController` is similar to calling `.kill()` on the child process except
|
|
682
|
+
* the error passed to the callback will be an `AbortError`:
|
|
683
|
+
*
|
|
684
|
+
* ```js
|
|
685
|
+
* import { spawn } from 'node:child_process';
|
|
686
|
+
* const controller = new AbortController();
|
|
687
|
+
* const { signal } = controller;
|
|
688
|
+
* const grep = spawn('grep', ['ssh'], { signal });
|
|
689
|
+
* grep.on('error', (err) => {
|
|
690
|
+
* // This will be called with err being an AbortError if the controller aborts
|
|
691
|
+
* });
|
|
692
|
+
* controller.abort(); // Stops the child process
|
|
693
|
+
* ```
|
|
694
|
+
* @since v0.1.90
|
|
695
|
+
* @param command The command to run.
|
|
696
|
+
* @param args List of string arguments.
|
|
697
|
+
*/
|
|
698
|
+
function spawn(command: string, options?: SpawnOptionsWithoutStdio): ChildProcessWithoutNullStreams;
|
|
699
|
+
function spawn(
|
|
700
|
+
command: string,
|
|
701
|
+
options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioPipe>,
|
|
702
|
+
): ChildProcessByStdio<Writable, Readable, Readable>;
|
|
703
|
+
function spawn(
|
|
704
|
+
command: string,
|
|
705
|
+
options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioNull>,
|
|
706
|
+
): ChildProcessByStdio<Writable, Readable, null>;
|
|
707
|
+
function spawn(
|
|
708
|
+
command: string,
|
|
709
|
+
options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioPipe>,
|
|
710
|
+
): ChildProcessByStdio<Writable, null, Readable>;
|
|
711
|
+
function spawn(
|
|
712
|
+
command: string,
|
|
713
|
+
options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioPipe>,
|
|
714
|
+
): ChildProcessByStdio<null, Readable, Readable>;
|
|
715
|
+
function spawn(
|
|
716
|
+
command: string,
|
|
717
|
+
options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioNull>,
|
|
718
|
+
): ChildProcessByStdio<Writable, null, null>;
|
|
719
|
+
function spawn(
|
|
720
|
+
command: string,
|
|
721
|
+
options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioNull>,
|
|
722
|
+
): ChildProcessByStdio<null, Readable, null>;
|
|
723
|
+
function spawn(
|
|
724
|
+
command: string,
|
|
725
|
+
options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioPipe>,
|
|
726
|
+
): ChildProcessByStdio<null, null, Readable>;
|
|
727
|
+
function spawn(
|
|
728
|
+
command: string,
|
|
729
|
+
options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioNull>,
|
|
730
|
+
): ChildProcessByStdio<null, null, null>;
|
|
731
|
+
function spawn(command: string, options: SpawnOptions): ChildProcess;
|
|
732
|
+
// overloads of spawn with 'args'
|
|
733
|
+
function spawn(
|
|
734
|
+
command: string,
|
|
735
|
+
args?: readonly string[],
|
|
736
|
+
options?: SpawnOptionsWithoutStdio,
|
|
737
|
+
): ChildProcessWithoutNullStreams;
|
|
738
|
+
function spawn(
|
|
739
|
+
command: string,
|
|
740
|
+
args: readonly string[],
|
|
741
|
+
options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioPipe>,
|
|
742
|
+
): ChildProcessByStdio<Writable, Readable, Readable>;
|
|
743
|
+
function spawn(
|
|
744
|
+
command: string,
|
|
745
|
+
args: readonly string[],
|
|
746
|
+
options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioNull>,
|
|
747
|
+
): ChildProcessByStdio<Writable, Readable, null>;
|
|
748
|
+
function spawn(
|
|
749
|
+
command: string,
|
|
750
|
+
args: readonly string[],
|
|
751
|
+
options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioPipe>,
|
|
752
|
+
): ChildProcessByStdio<Writable, null, Readable>;
|
|
753
|
+
function spawn(
|
|
754
|
+
command: string,
|
|
755
|
+
args: readonly string[],
|
|
756
|
+
options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioPipe>,
|
|
757
|
+
): ChildProcessByStdio<null, Readable, Readable>;
|
|
758
|
+
function spawn(
|
|
759
|
+
command: string,
|
|
760
|
+
args: readonly string[],
|
|
761
|
+
options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioNull>,
|
|
762
|
+
): ChildProcessByStdio<Writable, null, null>;
|
|
763
|
+
function spawn(
|
|
764
|
+
command: string,
|
|
765
|
+
args: readonly string[],
|
|
766
|
+
options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioNull>,
|
|
767
|
+
): ChildProcessByStdio<null, Readable, null>;
|
|
768
|
+
function spawn(
|
|
769
|
+
command: string,
|
|
770
|
+
args: readonly string[],
|
|
771
|
+
options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioPipe>,
|
|
772
|
+
): ChildProcessByStdio<null, null, Readable>;
|
|
773
|
+
function spawn(
|
|
774
|
+
command: string,
|
|
775
|
+
args: readonly string[],
|
|
776
|
+
options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioNull>,
|
|
777
|
+
): ChildProcessByStdio<null, null, null>;
|
|
778
|
+
function spawn(command: string, args: readonly string[], options: SpawnOptions): ChildProcess;
|
|
779
|
+
interface ExecOptions extends CommonOptions {
|
|
780
|
+
shell?: string | undefined;
|
|
781
|
+
signal?: AbortSignal | undefined;
|
|
782
|
+
maxBuffer?: number | undefined;
|
|
783
|
+
killSignal?: NodeJS.Signals | number | undefined;
|
|
784
|
+
encoding?: string | null | undefined;
|
|
785
|
+
}
|
|
786
|
+
interface ExecOptionsWithStringEncoding extends ExecOptions {
|
|
787
|
+
encoding?: BufferEncoding | undefined;
|
|
788
|
+
}
|
|
789
|
+
interface ExecOptionsWithBufferEncoding extends ExecOptions {
|
|
790
|
+
encoding: "buffer" | null; // specify `null`.
|
|
791
|
+
}
|
|
792
|
+
// TODO: Just Plain Wrong™ (see also nodejs/node#57392)
|
|
793
|
+
interface ExecException extends Error {
|
|
794
|
+
cmd?: string;
|
|
795
|
+
killed?: boolean;
|
|
796
|
+
code?: number;
|
|
797
|
+
signal?: NodeJS.Signals;
|
|
798
|
+
stdout?: string;
|
|
799
|
+
stderr?: string;
|
|
800
|
+
}
|
|
801
|
+
/**
|
|
802
|
+
* Spawns a shell then executes the `command` within that shell, buffering any
|
|
803
|
+
* generated output. The `command` string passed to the exec function is processed
|
|
804
|
+
* directly by the shell and special characters (vary based on [shell](https://en.wikipedia.org/wiki/List_of_command-line_interpreters))
|
|
805
|
+
* need to be dealt with accordingly:
|
|
806
|
+
*
|
|
807
|
+
* ```js
|
|
808
|
+
* import { exec } from 'node:child_process';
|
|
809
|
+
*
|
|
810
|
+
* exec('"/path/to/test file/test.sh" arg1 arg2');
|
|
811
|
+
* // Double quotes are used so that the space in the path is not interpreted as
|
|
812
|
+
* // a delimiter of multiple arguments.
|
|
813
|
+
*
|
|
814
|
+
* exec('echo "The \\$HOME variable is $HOME"');
|
|
815
|
+
* // The $HOME variable is escaped in the first instance, but not in the second.
|
|
816
|
+
* ```
|
|
817
|
+
*
|
|
818
|
+
* **Never pass unsanitized user input to this function. Any input containing shell**
|
|
819
|
+
* **metacharacters may be used to trigger arbitrary command execution.**
|
|
820
|
+
*
|
|
821
|
+
* If a `callback` function is provided, it is called with the arguments `(error, stdout, stderr)`. On success, `error` will be `null`. On error, `error` will be an instance of `Error`. The
|
|
822
|
+
* `error.code` property will be
|
|
823
|
+
* the exit code of the process. By convention, any exit code other than `0` indicates an error. `error.signal` will be the signal that terminated the
|
|
824
|
+
* process.
|
|
825
|
+
*
|
|
826
|
+
* The `stdout` and `stderr` arguments passed to the callback will contain the
|
|
827
|
+
* stdout and stderr output of the child process. By default, Node.js will decode
|
|
828
|
+
* the output as UTF-8 and pass strings to the callback. The `encoding` option
|
|
829
|
+
* can be used to specify the character encoding used to decode the stdout and
|
|
830
|
+
* stderr output. If `encoding` is `'buffer'`, or an unrecognized character
|
|
831
|
+
* encoding, `Buffer` objects will be passed to the callback instead.
|
|
832
|
+
*
|
|
833
|
+
* ```js
|
|
834
|
+
* import { exec } from 'node:child_process';
|
|
835
|
+
* exec('cat *.js missing_file | wc -l', (error, stdout, stderr) => {
|
|
836
|
+
* if (error) {
|
|
837
|
+
* console.error(`exec error: ${error}`);
|
|
838
|
+
* return;
|
|
839
|
+
* }
|
|
840
|
+
* console.log(`stdout: ${stdout}`);
|
|
841
|
+
* console.error(`stderr: ${stderr}`);
|
|
842
|
+
* });
|
|
843
|
+
* ```
|
|
844
|
+
*
|
|
845
|
+
* If `timeout` is greater than `0`, the parent will send the signal
|
|
846
|
+
* identified by the `killSignal` property (the default is `'SIGTERM'`) if the
|
|
847
|
+
* child runs longer than `timeout` milliseconds.
|
|
848
|
+
*
|
|
849
|
+
* Unlike the [`exec(3)`](http://man7.org/linux/man-pages/man3/exec.3.html) POSIX system call, `child_process.exec()` does not replace
|
|
850
|
+
* the existing process and uses a shell to execute the command.
|
|
851
|
+
*
|
|
852
|
+
* If this method is invoked as its `util.promisify()` ed version, it returns
|
|
853
|
+
* a `Promise` for an `Object` with `stdout` and `stderr` properties. The returned `ChildProcess` instance is attached to the `Promise` as a `child` property. In
|
|
854
|
+
* case of an error (including any error resulting in an exit code other than 0), a
|
|
855
|
+
* rejected promise is returned, with the same `error` object given in the
|
|
856
|
+
* callback, but with two additional properties `stdout` and `stderr`.
|
|
857
|
+
*
|
|
858
|
+
* ```js
|
|
859
|
+
* import util from 'node:util';
|
|
860
|
+
* import child_process from 'node:child_process';
|
|
861
|
+
* const exec = util.promisify(child_process.exec);
|
|
862
|
+
*
|
|
863
|
+
* async function lsExample() {
|
|
864
|
+
* const { stdout, stderr } = await exec('ls');
|
|
865
|
+
* console.log('stdout:', stdout);
|
|
866
|
+
* console.error('stderr:', stderr);
|
|
867
|
+
* }
|
|
868
|
+
* lsExample();
|
|
869
|
+
* ```
|
|
870
|
+
*
|
|
871
|
+
* If the `signal` option is enabled, calling `.abort()` on the corresponding `AbortController` is similar to calling `.kill()` on the child process except
|
|
872
|
+
* the error passed to the callback will be an `AbortError`:
|
|
873
|
+
*
|
|
874
|
+
* ```js
|
|
875
|
+
* import { exec } from 'node:child_process';
|
|
876
|
+
* const controller = new AbortController();
|
|
877
|
+
* const { signal } = controller;
|
|
878
|
+
* const child = exec('grep ssh', { signal }, (error) => {
|
|
879
|
+
* console.error(error); // an AbortError
|
|
880
|
+
* });
|
|
881
|
+
* controller.abort();
|
|
882
|
+
* ```
|
|
883
|
+
* @since v0.1.90
|
|
884
|
+
* @param command The command to run, with space-separated arguments.
|
|
885
|
+
* @param callback called with the output when process terminates.
|
|
886
|
+
*/
|
|
887
|
+
function exec(
|
|
888
|
+
command: string,
|
|
889
|
+
callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
|
|
890
|
+
): ChildProcess;
|
|
891
|
+
// `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
|
|
892
|
+
function exec(
|
|
893
|
+
command: string,
|
|
894
|
+
options: ExecOptionsWithBufferEncoding,
|
|
895
|
+
callback?: (error: ExecException | null, stdout: NonSharedBuffer, stderr: NonSharedBuffer) => void,
|
|
896
|
+
): ChildProcess;
|
|
897
|
+
// `options` with well-known or absent `encoding` means stdout/stderr are definitely `string`.
|
|
898
|
+
function exec(
|
|
899
|
+
command: string,
|
|
900
|
+
options: ExecOptionsWithStringEncoding,
|
|
901
|
+
callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
|
|
902
|
+
): ChildProcess;
|
|
903
|
+
// fallback if nothing else matches. Worst case is always `string | Buffer`.
|
|
904
|
+
function exec(
|
|
905
|
+
command: string,
|
|
906
|
+
options: ExecOptions | undefined | null,
|
|
907
|
+
callback?: (
|
|
908
|
+
error: ExecException | null,
|
|
909
|
+
stdout: string | NonSharedBuffer,
|
|
910
|
+
stderr: string | NonSharedBuffer,
|
|
911
|
+
) => void,
|
|
912
|
+
): ChildProcess;
|
|
913
|
+
interface PromiseWithChild<T> extends Promise<T> {
|
|
914
|
+
child: ChildProcess;
|
|
915
|
+
}
|
|
916
|
+
namespace exec {
|
|
917
|
+
function __promisify__(command: string): PromiseWithChild<{
|
|
918
|
+
stdout: string;
|
|
919
|
+
stderr: string;
|
|
920
|
+
}>;
|
|
921
|
+
function __promisify__(
|
|
922
|
+
command: string,
|
|
923
|
+
options: ExecOptionsWithBufferEncoding,
|
|
924
|
+
): PromiseWithChild<{
|
|
925
|
+
stdout: NonSharedBuffer;
|
|
926
|
+
stderr: NonSharedBuffer;
|
|
927
|
+
}>;
|
|
928
|
+
function __promisify__(
|
|
929
|
+
command: string,
|
|
930
|
+
options: ExecOptionsWithStringEncoding,
|
|
931
|
+
): PromiseWithChild<{
|
|
932
|
+
stdout: string;
|
|
933
|
+
stderr: string;
|
|
934
|
+
}>;
|
|
935
|
+
function __promisify__(
|
|
936
|
+
command: string,
|
|
937
|
+
options: ExecOptions | undefined | null,
|
|
938
|
+
): PromiseWithChild<{
|
|
939
|
+
stdout: string | NonSharedBuffer;
|
|
940
|
+
stderr: string | NonSharedBuffer;
|
|
941
|
+
}>;
|
|
942
|
+
}
|
|
943
|
+
interface ExecFileOptions extends CommonOptions, Abortable {
|
|
944
|
+
maxBuffer?: number | undefined;
|
|
945
|
+
killSignal?: NodeJS.Signals | number | undefined;
|
|
946
|
+
windowsVerbatimArguments?: boolean | undefined;
|
|
947
|
+
shell?: boolean | string | undefined;
|
|
948
|
+
signal?: AbortSignal | undefined;
|
|
949
|
+
encoding?: string | null | undefined;
|
|
950
|
+
}
|
|
951
|
+
interface ExecFileOptionsWithStringEncoding extends ExecFileOptions {
|
|
952
|
+
encoding?: BufferEncoding | undefined;
|
|
953
|
+
}
|
|
954
|
+
interface ExecFileOptionsWithBufferEncoding extends ExecFileOptions {
|
|
955
|
+
encoding: "buffer" | null;
|
|
956
|
+
}
|
|
957
|
+
/** @deprecated Use `ExecFileOptions` instead. */
|
|
958
|
+
interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions {}
|
|
959
|
+
// TODO: execFile exceptions can take many forms... this accurately describes none of them
|
|
960
|
+
type ExecFileException =
|
|
961
|
+
& Omit<ExecException, "code">
|
|
962
|
+
& Omit<NodeJS.ErrnoException, "code">
|
|
963
|
+
& { code?: string | number | null };
|
|
964
|
+
/**
|
|
965
|
+
* The `child_process.execFile()` function is similar to {@link exec} except that it does not spawn a shell by default. Rather, the specified
|
|
966
|
+
* executable `file` is spawned directly as a new process making it slightly more
|
|
967
|
+
* efficient than {@link exec}.
|
|
968
|
+
*
|
|
969
|
+
* The same options as {@link exec} are supported. Since a shell is
|
|
970
|
+
* not spawned, behaviors such as I/O redirection and file globbing are not
|
|
971
|
+
* supported.
|
|
972
|
+
*
|
|
973
|
+
* ```js
|
|
974
|
+
* import { execFile } from 'node:child_process';
|
|
975
|
+
* const child = execFile('node', ['--version'], (error, stdout, stderr) => {
|
|
976
|
+
* if (error) {
|
|
977
|
+
* throw error;
|
|
978
|
+
* }
|
|
979
|
+
* console.log(stdout);
|
|
980
|
+
* });
|
|
981
|
+
* ```
|
|
982
|
+
*
|
|
983
|
+
* The `stdout` and `stderr` arguments passed to the callback will contain the
|
|
984
|
+
* stdout and stderr output of the child process. By default, Node.js will decode
|
|
985
|
+
* the output as UTF-8 and pass strings to the callback. The `encoding` option
|
|
986
|
+
* can be used to specify the character encoding used to decode the stdout and
|
|
987
|
+
* stderr output. If `encoding` is `'buffer'`, or an unrecognized character
|
|
988
|
+
* encoding, `Buffer` objects will be passed to the callback instead.
|
|
989
|
+
*
|
|
990
|
+
* If this method is invoked as its `util.promisify()` ed version, it returns
|
|
991
|
+
* a `Promise` for an `Object` with `stdout` and `stderr` properties. The returned `ChildProcess` instance is attached to the `Promise` as a `child` property. In
|
|
992
|
+
* case of an error (including any error resulting in an exit code other than 0), a
|
|
993
|
+
* rejected promise is returned, with the same `error` object given in the
|
|
994
|
+
* callback, but with two additional properties `stdout` and `stderr`.
|
|
995
|
+
*
|
|
996
|
+
* ```js
|
|
997
|
+
* import util from 'node:util';
|
|
998
|
+
* import child_process from 'node:child_process';
|
|
999
|
+
* const execFile = util.promisify(child_process.execFile);
|
|
1000
|
+
* async function getVersion() {
|
|
1001
|
+
* const { stdout } = await execFile('node', ['--version']);
|
|
1002
|
+
* console.log(stdout);
|
|
1003
|
+
* }
|
|
1004
|
+
* getVersion();
|
|
1005
|
+
* ```
|
|
1006
|
+
*
|
|
1007
|
+
* **If the `shell` option is enabled, do not pass unsanitized user input to this**
|
|
1008
|
+
* **function. Any input containing shell metacharacters may be used to trigger**
|
|
1009
|
+
* **arbitrary command execution.**
|
|
1010
|
+
*
|
|
1011
|
+
* If the `signal` option is enabled, calling `.abort()` on the corresponding `AbortController` is similar to calling `.kill()` on the child process except
|
|
1012
|
+
* the error passed to the callback will be an `AbortError`:
|
|
1013
|
+
*
|
|
1014
|
+
* ```js
|
|
1015
|
+
* import { execFile } from 'node:child_process';
|
|
1016
|
+
* const controller = new AbortController();
|
|
1017
|
+
* const { signal } = controller;
|
|
1018
|
+
* const child = execFile('node', ['--version'], { signal }, (error) => {
|
|
1019
|
+
* console.error(error); // an AbortError
|
|
1020
|
+
* });
|
|
1021
|
+
* controller.abort();
|
|
1022
|
+
* ```
|
|
1023
|
+
* @since v0.1.91
|
|
1024
|
+
* @param file The name or path of the executable file to run.
|
|
1025
|
+
* @param args List of string arguments.
|
|
1026
|
+
* @param callback Called with the output when process terminates.
|
|
1027
|
+
*/
|
|
1028
|
+
// no `options` definitely means stdout/stderr are `string`.
|
|
1029
|
+
function execFile(
|
|
1030
|
+
file: string,
|
|
1031
|
+
callback?: (error: ExecFileException | null, stdout: string, stderr: string) => void,
|
|
1032
|
+
): ChildProcess;
|
|
1033
|
+
function execFile(
|
|
1034
|
+
file: string,
|
|
1035
|
+
args: readonly string[] | undefined | null,
|
|
1036
|
+
callback?: (error: ExecFileException | null, stdout: string, stderr: string) => void,
|
|
1037
|
+
): ChildProcess;
|
|
1038
|
+
// `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
|
|
1039
|
+
function execFile(
|
|
1040
|
+
file: string,
|
|
1041
|
+
options: ExecFileOptionsWithBufferEncoding,
|
|
1042
|
+
callback?: (error: ExecFileException | null, stdout: NonSharedBuffer, stderr: NonSharedBuffer) => void,
|
|
1043
|
+
): ChildProcess;
|
|
1044
|
+
function execFile(
|
|
1045
|
+
file: string,
|
|
1046
|
+
args: readonly string[] | undefined | null,
|
|
1047
|
+
options: ExecFileOptionsWithBufferEncoding,
|
|
1048
|
+
callback?: (error: ExecFileException | null, stdout: NonSharedBuffer, stderr: NonSharedBuffer) => void,
|
|
1049
|
+
): ChildProcess;
|
|
1050
|
+
// `options` with well-known or absent `encoding` means stdout/stderr are definitely `string`.
|
|
1051
|
+
function execFile(
|
|
1052
|
+
file: string,
|
|
1053
|
+
options: ExecFileOptionsWithStringEncoding,
|
|
1054
|
+
callback?: (error: ExecFileException | null, stdout: string, stderr: string) => void,
|
|
1055
|
+
): ChildProcess;
|
|
1056
|
+
function execFile(
|
|
1057
|
+
file: string,
|
|
1058
|
+
args: readonly string[] | undefined | null,
|
|
1059
|
+
options: ExecFileOptionsWithStringEncoding,
|
|
1060
|
+
callback?: (error: ExecFileException | null, stdout: string, stderr: string) => void,
|
|
1061
|
+
): ChildProcess;
|
|
1062
|
+
// fallback if nothing else matches. Worst case is always `string | Buffer`.
|
|
1063
|
+
function execFile(
|
|
1064
|
+
file: string,
|
|
1065
|
+
options: ExecFileOptions | undefined | null,
|
|
1066
|
+
callback:
|
|
1067
|
+
| ((
|
|
1068
|
+
error: ExecFileException | null,
|
|
1069
|
+
stdout: string | NonSharedBuffer,
|
|
1070
|
+
stderr: string | NonSharedBuffer,
|
|
1071
|
+
) => void)
|
|
1072
|
+
| undefined
|
|
1073
|
+
| null,
|
|
1074
|
+
): ChildProcess;
|
|
1075
|
+
function execFile(
|
|
1076
|
+
file: string,
|
|
1077
|
+
args: readonly string[] | undefined | null,
|
|
1078
|
+
options: ExecFileOptions | undefined | null,
|
|
1079
|
+
callback:
|
|
1080
|
+
| ((
|
|
1081
|
+
error: ExecFileException | null,
|
|
1082
|
+
stdout: string | NonSharedBuffer,
|
|
1083
|
+
stderr: string | NonSharedBuffer,
|
|
1084
|
+
) => void)
|
|
1085
|
+
| undefined
|
|
1086
|
+
| null,
|
|
1087
|
+
): ChildProcess;
|
|
1088
|
+
namespace execFile {
|
|
1089
|
+
function __promisify__(file: string): PromiseWithChild<{
|
|
1090
|
+
stdout: string;
|
|
1091
|
+
stderr: string;
|
|
1092
|
+
}>;
|
|
1093
|
+
function __promisify__(
|
|
1094
|
+
file: string,
|
|
1095
|
+
args: readonly string[] | undefined | null,
|
|
1096
|
+
): PromiseWithChild<{
|
|
1097
|
+
stdout: string;
|
|
1098
|
+
stderr: string;
|
|
1099
|
+
}>;
|
|
1100
|
+
function __promisify__(
|
|
1101
|
+
file: string,
|
|
1102
|
+
options: ExecFileOptionsWithBufferEncoding,
|
|
1103
|
+
): PromiseWithChild<{
|
|
1104
|
+
stdout: NonSharedBuffer;
|
|
1105
|
+
stderr: NonSharedBuffer;
|
|
1106
|
+
}>;
|
|
1107
|
+
function __promisify__(
|
|
1108
|
+
file: string,
|
|
1109
|
+
args: readonly string[] | undefined | null,
|
|
1110
|
+
options: ExecFileOptionsWithBufferEncoding,
|
|
1111
|
+
): PromiseWithChild<{
|
|
1112
|
+
stdout: NonSharedBuffer;
|
|
1113
|
+
stderr: NonSharedBuffer;
|
|
1114
|
+
}>;
|
|
1115
|
+
function __promisify__(
|
|
1116
|
+
file: string,
|
|
1117
|
+
options: ExecFileOptionsWithStringEncoding,
|
|
1118
|
+
): PromiseWithChild<{
|
|
1119
|
+
stdout: string;
|
|
1120
|
+
stderr: string;
|
|
1121
|
+
}>;
|
|
1122
|
+
function __promisify__(
|
|
1123
|
+
file: string,
|
|
1124
|
+
args: readonly string[] | undefined | null,
|
|
1125
|
+
options: ExecFileOptionsWithStringEncoding,
|
|
1126
|
+
): PromiseWithChild<{
|
|
1127
|
+
stdout: string;
|
|
1128
|
+
stderr: string;
|
|
1129
|
+
}>;
|
|
1130
|
+
function __promisify__(
|
|
1131
|
+
file: string,
|
|
1132
|
+
options: ExecFileOptions | undefined | null,
|
|
1133
|
+
): PromiseWithChild<{
|
|
1134
|
+
stdout: string | NonSharedBuffer;
|
|
1135
|
+
stderr: string | NonSharedBuffer;
|
|
1136
|
+
}>;
|
|
1137
|
+
function __promisify__(
|
|
1138
|
+
file: string,
|
|
1139
|
+
args: readonly string[] | undefined | null,
|
|
1140
|
+
options: ExecFileOptions | undefined | null,
|
|
1141
|
+
): PromiseWithChild<{
|
|
1142
|
+
stdout: string | NonSharedBuffer;
|
|
1143
|
+
stderr: string | NonSharedBuffer;
|
|
1144
|
+
}>;
|
|
1145
|
+
}
|
|
1146
|
+
interface ForkOptions extends ProcessEnvOptions, MessagingOptions, Abortable {
|
|
1147
|
+
execPath?: string | undefined;
|
|
1148
|
+
execArgv?: string[] | undefined;
|
|
1149
|
+
silent?: boolean | undefined;
|
|
1150
|
+
/**
|
|
1151
|
+
* Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
|
|
1152
|
+
* If passed as an array, the first element is used for `stdin`, the second for
|
|
1153
|
+
* `stdout`, and the third for `stderr`. A fourth element can be used to
|
|
1154
|
+
* specify the `stdio` behavior beyond the standard streams. See
|
|
1155
|
+
* {@link ChildProcess.stdio} for more information.
|
|
1156
|
+
*
|
|
1157
|
+
* @default 'pipe'
|
|
1158
|
+
*/
|
|
1159
|
+
stdio?: StdioOptions | undefined;
|
|
1160
|
+
detached?: boolean | undefined;
|
|
1161
|
+
windowsVerbatimArguments?: boolean | undefined;
|
|
1162
|
+
}
|
|
1163
|
+
/**
|
|
1164
|
+
* The `child_process.fork()` method is a special case of {@link spawn} used specifically to spawn new Node.js processes.
|
|
1165
|
+
* Like {@link spawn}, a `ChildProcess` object is returned. The
|
|
1166
|
+
* returned `ChildProcess` will have an additional communication channel
|
|
1167
|
+
* built-in that allows messages to be passed back and forth between the parent and
|
|
1168
|
+
* child. See `subprocess.send()` for details.
|
|
1169
|
+
*
|
|
1170
|
+
* Keep in mind that spawned Node.js child processes are
|
|
1171
|
+
* independent of the parent with exception of the IPC communication channel
|
|
1172
|
+
* that is established between the two. Each process has its own memory, with
|
|
1173
|
+
* their own V8 instances. Because of the additional resource allocations
|
|
1174
|
+
* required, spawning a large number of child Node.js processes is not
|
|
1175
|
+
* recommended.
|
|
1176
|
+
*
|
|
1177
|
+
* By default, `child_process.fork()` will spawn new Node.js instances using the `process.execPath` of the parent process. The `execPath` property in the `options` object allows for an alternative
|
|
1178
|
+
* execution path to be used.
|
|
1179
|
+
*
|
|
1180
|
+
* Node.js processes launched with a custom `execPath` will communicate with the
|
|
1181
|
+
* parent process using the file descriptor (fd) identified using the
|
|
1182
|
+
* environment variable `NODE_CHANNEL_FD` on the child process.
|
|
1183
|
+
*
|
|
1184
|
+
* Unlike the [`fork(2)`](http://man7.org/linux/man-pages/man2/fork.2.html) POSIX system call, `child_process.fork()` does not clone the
|
|
1185
|
+
* current process.
|
|
1186
|
+
*
|
|
1187
|
+
* The `shell` option available in {@link spawn} is not supported by `child_process.fork()` and will be ignored if set.
|
|
1188
|
+
*
|
|
1189
|
+
* If the `signal` option is enabled, calling `.abort()` on the corresponding `AbortController` is similar to calling `.kill()` on the child process except
|
|
1190
|
+
* the error passed to the callback will be an `AbortError`:
|
|
1191
|
+
*
|
|
1192
|
+
* ```js
|
|
1193
|
+
* if (process.argv[2] === 'child') {
|
|
1194
|
+
* setTimeout(() => {
|
|
1195
|
+
* console.log(`Hello from ${process.argv[2]}!`);
|
|
1196
|
+
* }, 1_000);
|
|
1197
|
+
* } else {
|
|
1198
|
+
* import { fork } from 'node:child_process';
|
|
1199
|
+
* const controller = new AbortController();
|
|
1200
|
+
* const { signal } = controller;
|
|
1201
|
+
* const child = fork(__filename, ['child'], { signal });
|
|
1202
|
+
* child.on('error', (err) => {
|
|
1203
|
+
* // This will be called with err being an AbortError if the controller aborts
|
|
1204
|
+
* });
|
|
1205
|
+
* controller.abort(); // Stops the child process
|
|
1206
|
+
* }
|
|
1207
|
+
* ```
|
|
1208
|
+
* @since v0.5.0
|
|
1209
|
+
* @param modulePath The module to run in the child.
|
|
1210
|
+
* @param args List of string arguments.
|
|
1211
|
+
*/
|
|
1212
|
+
function fork(modulePath: string | URL, options?: ForkOptions): ChildProcess;
|
|
1213
|
+
function fork(modulePath: string | URL, args?: readonly string[], options?: ForkOptions): ChildProcess;
|
|
1214
|
+
interface SpawnSyncOptions extends CommonSpawnOptions {
|
|
1215
|
+
input?: string | NodeJS.ArrayBufferView | undefined;
|
|
1216
|
+
maxBuffer?: number | undefined;
|
|
1217
|
+
encoding?: BufferEncoding | "buffer" | null | undefined;
|
|
1218
|
+
}
|
|
1219
|
+
interface SpawnSyncOptionsWithStringEncoding extends SpawnSyncOptions {
|
|
1220
|
+
encoding: BufferEncoding;
|
|
1221
|
+
}
|
|
1222
|
+
interface SpawnSyncOptionsWithBufferEncoding extends SpawnSyncOptions {
|
|
1223
|
+
encoding?: "buffer" | null | undefined;
|
|
1224
|
+
}
|
|
1225
|
+
interface SpawnSyncReturns<T> {
|
|
1226
|
+
pid: number;
|
|
1227
|
+
output: Array<T | null>;
|
|
1228
|
+
stdout: T;
|
|
1229
|
+
stderr: T;
|
|
1230
|
+
status: number | null;
|
|
1231
|
+
signal: NodeJS.Signals | null;
|
|
1232
|
+
error?: Error;
|
|
1233
|
+
}
|
|
1234
|
+
/**
|
|
1235
|
+
* The `child_process.spawnSync()` method is generally identical to {@link spawn} with the exception that the function will not return
|
|
1236
|
+
* until the child process has fully closed. When a timeout has been encountered
|
|
1237
|
+
* and `killSignal` is sent, the method won't return until the process has
|
|
1238
|
+
* completely exited. If the process intercepts and handles the `SIGTERM` signal
|
|
1239
|
+
* and doesn't exit, the parent process will wait until the child process has
|
|
1240
|
+
* exited.
|
|
1241
|
+
*
|
|
1242
|
+
* **If the `shell` option is enabled, do not pass unsanitized user input to this**
|
|
1243
|
+
* **function. Any input containing shell metacharacters may be used to trigger**
|
|
1244
|
+
* **arbitrary command execution.**
|
|
1245
|
+
* @since v0.11.12
|
|
1246
|
+
* @param command The command to run.
|
|
1247
|
+
* @param args List of string arguments.
|
|
1248
|
+
*/
|
|
1249
|
+
function spawnSync(command: string): SpawnSyncReturns<NonSharedBuffer>;
|
|
1250
|
+
function spawnSync(command: string, options: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>;
|
|
1251
|
+
function spawnSync(command: string, options: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<NonSharedBuffer>;
|
|
1252
|
+
function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns<string | NonSharedBuffer>;
|
|
1253
|
+
function spawnSync(command: string, args: readonly string[]): SpawnSyncReturns<NonSharedBuffer>;
|
|
1254
|
+
function spawnSync(
|
|
1255
|
+
command: string,
|
|
1256
|
+
args: readonly string[],
|
|
1257
|
+
options: SpawnSyncOptionsWithStringEncoding,
|
|
1258
|
+
): SpawnSyncReturns<string>;
|
|
1259
|
+
function spawnSync(
|
|
1260
|
+
command: string,
|
|
1261
|
+
args: readonly string[],
|
|
1262
|
+
options: SpawnSyncOptionsWithBufferEncoding,
|
|
1263
|
+
): SpawnSyncReturns<NonSharedBuffer>;
|
|
1264
|
+
function spawnSync(
|
|
1265
|
+
command: string,
|
|
1266
|
+
args?: readonly string[],
|
|
1267
|
+
options?: SpawnSyncOptions,
|
|
1268
|
+
): SpawnSyncReturns<string | NonSharedBuffer>;
|
|
1269
|
+
interface CommonExecOptions extends CommonOptions {
|
|
1270
|
+
input?: string | NodeJS.ArrayBufferView | undefined;
|
|
1271
|
+
/**
|
|
1272
|
+
* Can be set to 'pipe', 'inherit, or 'ignore', or an array of these strings.
|
|
1273
|
+
* If passed as an array, the first element is used for `stdin`, the second for
|
|
1274
|
+
* `stdout`, and the third for `stderr`. A fourth element can be used to
|
|
1275
|
+
* specify the `stdio` behavior beyond the standard streams. See
|
|
1276
|
+
* {@link ChildProcess.stdio} for more information.
|
|
1277
|
+
*
|
|
1278
|
+
* @default 'pipe'
|
|
1279
|
+
*/
|
|
1280
|
+
stdio?: StdioOptions | undefined;
|
|
1281
|
+
killSignal?: NodeJS.Signals | number | undefined;
|
|
1282
|
+
maxBuffer?: number | undefined;
|
|
1283
|
+
encoding?: BufferEncoding | "buffer" | null | undefined;
|
|
1284
|
+
}
|
|
1285
|
+
interface ExecSyncOptions extends CommonExecOptions {
|
|
1286
|
+
shell?: string | undefined;
|
|
1287
|
+
}
|
|
1288
|
+
interface ExecSyncOptionsWithStringEncoding extends ExecSyncOptions {
|
|
1289
|
+
encoding: BufferEncoding;
|
|
1290
|
+
}
|
|
1291
|
+
interface ExecSyncOptionsWithBufferEncoding extends ExecSyncOptions {
|
|
1292
|
+
encoding?: "buffer" | null | undefined;
|
|
1293
|
+
}
|
|
1294
|
+
/**
|
|
1295
|
+
* The `child_process.execSync()` method is generally identical to {@link exec} with the exception that the method will not return
|
|
1296
|
+
* until the child process has fully closed. When a timeout has been encountered
|
|
1297
|
+
* and `killSignal` is sent, the method won't return until the process has
|
|
1298
|
+
* completely exited. If the child process intercepts and handles the `SIGTERM` signal and doesn't exit, the parent process will wait until the child process
|
|
1299
|
+
* has exited.
|
|
1300
|
+
*
|
|
1301
|
+
* If the process times out or has a non-zero exit code, this method will throw.
|
|
1302
|
+
* The `Error` object will contain the entire result from {@link spawnSync}.
|
|
1303
|
+
*
|
|
1304
|
+
* **Never pass unsanitized user input to this function. Any input containing shell**
|
|
1305
|
+
* **metacharacters may be used to trigger arbitrary command execution.**
|
|
1306
|
+
* @since v0.11.12
|
|
1307
|
+
* @param command The command to run.
|
|
1308
|
+
* @return The stdout from the command.
|
|
1309
|
+
*/
|
|
1310
|
+
function execSync(command: string): NonSharedBuffer;
|
|
1311
|
+
function execSync(command: string, options: ExecSyncOptionsWithStringEncoding): string;
|
|
1312
|
+
function execSync(command: string, options: ExecSyncOptionsWithBufferEncoding): NonSharedBuffer;
|
|
1313
|
+
function execSync(command: string, options?: ExecSyncOptions): string | NonSharedBuffer;
|
|
1314
|
+
interface ExecFileSyncOptions extends CommonExecOptions {
|
|
1315
|
+
shell?: boolean | string | undefined;
|
|
1316
|
+
}
|
|
1317
|
+
interface ExecFileSyncOptionsWithStringEncoding extends ExecFileSyncOptions {
|
|
1318
|
+
encoding: BufferEncoding;
|
|
1319
|
+
}
|
|
1320
|
+
interface ExecFileSyncOptionsWithBufferEncoding extends ExecFileSyncOptions {
|
|
1321
|
+
encoding?: "buffer" | null | undefined; // specify `null`.
|
|
1322
|
+
}
|
|
1323
|
+
/**
|
|
1324
|
+
* The `child_process.execFileSync()` method is generally identical to {@link execFile} with the exception that the method will not
|
|
1325
|
+
* return until the child process has fully closed. When a timeout has been
|
|
1326
|
+
* encountered and `killSignal` is sent, the method won't return until the process
|
|
1327
|
+
* has completely exited.
|
|
1328
|
+
*
|
|
1329
|
+
* If the child process intercepts and handles the `SIGTERM` signal and
|
|
1330
|
+
* does not exit, the parent process will still wait until the child process has
|
|
1331
|
+
* exited.
|
|
1332
|
+
*
|
|
1333
|
+
* If the process times out or has a non-zero exit code, this method will throw an `Error` that will include the full result of the underlying {@link spawnSync}.
|
|
1334
|
+
*
|
|
1335
|
+
* **If the `shell` option is enabled, do not pass unsanitized user input to this**
|
|
1336
|
+
* **function. Any input containing shell metacharacters may be used to trigger**
|
|
1337
|
+
* **arbitrary command execution.**
|
|
1338
|
+
* @since v0.11.12
|
|
1339
|
+
* @param file The name or path of the executable file to run.
|
|
1340
|
+
* @param args List of string arguments.
|
|
1341
|
+
* @return The stdout from the command.
|
|
1342
|
+
*/
|
|
1343
|
+
function execFileSync(file: string): NonSharedBuffer;
|
|
1344
|
+
function execFileSync(file: string, options: ExecFileSyncOptionsWithStringEncoding): string;
|
|
1345
|
+
function execFileSync(file: string, options: ExecFileSyncOptionsWithBufferEncoding): NonSharedBuffer;
|
|
1346
|
+
function execFileSync(file: string, options?: ExecFileSyncOptions): string | NonSharedBuffer;
|
|
1347
|
+
function execFileSync(file: string, args: readonly string[]): NonSharedBuffer;
|
|
1348
|
+
function execFileSync(
|
|
1349
|
+
file: string,
|
|
1350
|
+
args: readonly string[],
|
|
1351
|
+
options: ExecFileSyncOptionsWithStringEncoding,
|
|
1352
|
+
): string;
|
|
1353
|
+
function execFileSync(
|
|
1354
|
+
file: string,
|
|
1355
|
+
args: readonly string[],
|
|
1356
|
+
options: ExecFileSyncOptionsWithBufferEncoding,
|
|
1357
|
+
): NonSharedBuffer;
|
|
1358
|
+
function execFileSync(
|
|
1359
|
+
file: string,
|
|
1360
|
+
args?: readonly string[],
|
|
1361
|
+
options?: ExecFileSyncOptions,
|
|
1362
|
+
): string | NonSharedBuffer;
|
|
1363
|
+
}
|
|
1364
|
+
declare module "child_process" {
|
|
1365
|
+
export * from "node:child_process";
|
|
1366
|
+
}
|