smart001 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/backend/db.js +19 -0
- package/backend/node_modules/.bin/bcrypt +16 -0
- package/backend/node_modules/.bin/bcrypt.cmd +17 -0
- package/backend/node_modules/.bin/bcrypt.ps1 +28 -0
- package/backend/node_modules/.bin/json +16 -0
- package/backend/node_modules/.bin/json.cmd +17 -0
- package/backend/node_modules/.bin/json.ps1 +28 -0
- package/backend/node_modules/.bin/node-gyp-build +16 -0
- package/backend/node_modules/.bin/node-gyp-build-optional +16 -0
- package/backend/node_modules/.bin/node-gyp-build-optional.cmd +17 -0
- package/backend/node_modules/.bin/node-gyp-build-optional.ps1 +28 -0
- package/backend/node_modules/.bin/node-gyp-build-test +16 -0
- package/backend/node_modules/.bin/node-gyp-build-test.cmd +17 -0
- package/backend/node_modules/.bin/node-gyp-build-test.ps1 +28 -0
- package/backend/node_modules/.bin/node-gyp-build.cmd +17 -0
- package/backend/node_modules/.bin/node-gyp-build.ps1 +28 -0
- package/backend/node_modules/.bin/nodemon +16 -0
- package/backend/node_modules/.bin/nodemon.cmd +17 -0
- package/backend/node_modules/.bin/nodemon.ps1 +28 -0
- package/backend/node_modules/.bin/nodetouch +16 -0
- package/backend/node_modules/.bin/nodetouch.cmd +17 -0
- package/backend/node_modules/.bin/nodetouch.ps1 +28 -0
- package/backend/node_modules/.bin/semver +16 -0
- package/backend/node_modules/.bin/semver.cmd +17 -0
- package/backend/node_modules/.bin/semver.ps1 +28 -0
- package/backend/node_modules/.package-lock.json +1475 -0
- package/backend/node_modules/@types/node/LICENSE +21 -0
- package/backend/node_modules/@types/node/README.md +15 -0
- package/backend/node_modules/@types/node/assert/strict.d.ts +59 -0
- package/backend/node_modules/@types/node/assert.d.ts +950 -0
- package/backend/node_modules/@types/node/async_hooks.d.ts +711 -0
- package/backend/node_modules/@types/node/buffer.buffer.d.ts +466 -0
- package/backend/node_modules/@types/node/buffer.d.ts +1765 -0
- package/backend/node_modules/@types/node/child_process.d.ts +1366 -0
- package/backend/node_modules/@types/node/cluster.d.ts +432 -0
- package/backend/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
- package/backend/node_modules/@types/node/console.d.ts +93 -0
- package/backend/node_modules/@types/node/constants.d.ts +14 -0
- package/backend/node_modules/@types/node/crypto.d.ts +4058 -0
- package/backend/node_modules/@types/node/dgram.d.ts +537 -0
- package/backend/node_modules/@types/node/diagnostics_channel.d.ts +552 -0
- package/backend/node_modules/@types/node/dns/promises.d.ts +497 -0
- package/backend/node_modules/@types/node/dns.d.ts +876 -0
- package/backend/node_modules/@types/node/domain.d.ts +150 -0
- package/backend/node_modules/@types/node/events.d.ts +1008 -0
- package/backend/node_modules/@types/node/fs/promises.d.ts +1468 -0
- package/backend/node_modules/@types/node/fs.d.ts +4780 -0
- package/backend/node_modules/@types/node/globals.d.ts +150 -0
- package/backend/node_modules/@types/node/globals.typedarray.d.ts +101 -0
- package/backend/node_modules/@types/node/http.d.ts +2147 -0
- package/backend/node_modules/@types/node/http2.d.ts +2485 -0
- package/backend/node_modules/@types/node/https.d.ts +400 -0
- package/backend/node_modules/@types/node/index.d.ts +117 -0
- package/backend/node_modules/@types/node/inspector/promises.d.ts +35 -0
- package/backend/node_modules/@types/node/inspector.d.ts +264 -0
- package/backend/node_modules/@types/node/inspector.generated.d.ts +4406 -0
- package/backend/node_modules/@types/node/module.d.ts +755 -0
- package/backend/node_modules/@types/node/net.d.ts +970 -0
- package/backend/node_modules/@types/node/os.d.ts +498 -0
- package/backend/node_modules/@types/node/package.json +155 -0
- package/backend/node_modules/@types/node/path/posix.d.ts +8 -0
- package/backend/node_modules/@types/node/path/win32.d.ts +8 -0
- package/backend/node_modules/@types/node/path.d.ts +178 -0
- package/backend/node_modules/@types/node/perf_hooks.d.ts +612 -0
- package/backend/node_modules/@types/node/process.d.ts +2204 -0
- package/backend/node_modules/@types/node/punycode.d.ts +89 -0
- package/backend/node_modules/@types/node/querystring.d.ts +139 -0
- package/backend/node_modules/@types/node/quic.d.ts +897 -0
- package/backend/node_modules/@types/node/readline/promises.d.ts +158 -0
- package/backend/node_modules/@types/node/readline.d.ts +507 -0
- package/backend/node_modules/@types/node/repl.d.ts +420 -0
- package/backend/node_modules/@types/node/sea.d.ts +47 -0
- package/backend/node_modules/@types/node/sqlite.d.ts +1068 -0
- package/backend/node_modules/@types/node/stream/consumers.d.ts +114 -0
- package/backend/node_modules/@types/node/stream/iter.d.ts +301 -0
- package/backend/node_modules/@types/node/stream/promises.d.ts +211 -0
- package/backend/node_modules/@types/node/stream/web.d.ts +300 -0
- package/backend/node_modules/@types/node/stream.d.ts +1774 -0
- package/backend/node_modules/@types/node/string_decoder.d.ts +27 -0
- package/backend/node_modules/@types/node/test/reporters.d.ts +59 -0
- package/backend/node_modules/@types/node/test.d.ts +2279 -0
- package/backend/node_modules/@types/node/timers/promises.d.ts +93 -0
- package/backend/node_modules/@types/node/timers.d.ts +149 -0
- package/backend/node_modules/@types/node/tls.d.ts +1193 -0
- package/backend/node_modules/@types/node/trace_events.d.ts +103 -0
- package/backend/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +462 -0
- package/backend/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/backend/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
- package/backend/node_modules/@types/node/ts5.6/index.d.ts +119 -0
- package/backend/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/backend/node_modules/@types/node/ts5.7/index.d.ts +119 -0
- package/backend/node_modules/@types/node/tty.d.ts +225 -0
- package/backend/node_modules/@types/node/url.d.ts +556 -0
- package/backend/node_modules/@types/node/util/types.d.ts +558 -0
- package/backend/node_modules/@types/node/util.d.ts +1677 -0
- package/backend/node_modules/@types/node/v8.d.ts +980 -0
- package/backend/node_modules/@types/node/vm.d.ts +1136 -0
- package/backend/node_modules/@types/node/wasi.d.ts +131 -0
- package/backend/node_modules/@types/node/web-globals/abortcontroller.d.ts +59 -0
- package/backend/node_modules/@types/node/web-globals/blob.d.ts +23 -0
- package/backend/node_modules/@types/node/web-globals/console.d.ts +9 -0
- package/backend/node_modules/@types/node/web-globals/crypto.d.ts +39 -0
- package/backend/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/backend/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
- package/backend/node_modules/@types/node/web-globals/events.d.ts +106 -0
- package/backend/node_modules/@types/node/web-globals/fetch.d.ts +69 -0
- package/backend/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
- package/backend/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
- package/backend/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/backend/node_modules/@types/node/web-globals/performance.d.ts +45 -0
- package/backend/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/backend/node_modules/@types/node/web-globals/streams.d.ts +115 -0
- package/backend/node_modules/@types/node/web-globals/timers.d.ts +44 -0
- package/backend/node_modules/@types/node/web-globals/url.d.ts +24 -0
- package/backend/node_modules/@types/node/worker_threads.d.ts +671 -0
- package/backend/node_modules/@types/node/zlib/iter.d.ts +131 -0
- package/backend/node_modules/@types/node/zlib.d.ts +589 -0
- package/backend/node_modules/accepts/HISTORY.md +250 -0
- package/backend/node_modules/accepts/LICENSE +23 -0
- package/backend/node_modules/accepts/README.md +140 -0
- package/backend/node_modules/accepts/index.js +238 -0
- package/backend/node_modules/accepts/package.json +47 -0
- package/backend/node_modules/anymatch/LICENSE +15 -0
- package/backend/node_modules/anymatch/README.md +87 -0
- package/backend/node_modules/anymatch/index.d.ts +20 -0
- package/backend/node_modules/anymatch/index.js +104 -0
- package/backend/node_modules/anymatch/package.json +48 -0
- package/backend/node_modules/aws-ssl-profiles/LICENSE +19 -0
- package/backend/node_modules/aws-ssl-profiles/README.md +146 -0
- package/backend/node_modules/aws-ssl-profiles/lib/@types/profiles.d.ts +4 -0
- package/backend/node_modules/aws-ssl-profiles/lib/@types/profiles.js +2 -0
- package/backend/node_modules/aws-ssl-profiles/lib/index.d.ts +8 -0
- package/backend/node_modules/aws-ssl-profiles/lib/index.js +13 -0
- package/backend/node_modules/aws-ssl-profiles/lib/profiles/ca/defaults.d.ts +9 -0
- package/backend/node_modules/aws-ssl-profiles/lib/profiles/ca/defaults.js +2888 -0
- package/backend/node_modules/aws-ssl-profiles/lib/profiles/ca/proxies.d.ts +8 -0
- package/backend/node_modules/aws-ssl-profiles/lib/profiles/ca/proxies.js +111 -0
- package/backend/node_modules/aws-ssl-profiles/package.json +52 -0
- package/backend/node_modules/balanced-match/LICENSE.md +23 -0
- package/backend/node_modules/balanced-match/README.md +57 -0
- package/backend/node_modules/balanced-match/dist/commonjs/index.d.ts +9 -0
- package/backend/node_modules/balanced-match/dist/commonjs/index.d.ts.map +1 -0
- package/backend/node_modules/balanced-match/dist/commonjs/index.js +59 -0
- package/backend/node_modules/balanced-match/dist/commonjs/index.js.map +1 -0
- package/backend/node_modules/balanced-match/dist/commonjs/package.json +3 -0
- package/backend/node_modules/balanced-match/dist/esm/index.d.ts +9 -0
- package/backend/node_modules/balanced-match/dist/esm/index.d.ts.map +1 -0
- package/backend/node_modules/balanced-match/dist/esm/index.js +54 -0
- package/backend/node_modules/balanced-match/dist/esm/index.js.map +1 -0
- package/backend/node_modules/balanced-match/dist/esm/package.json +3 -0
- package/backend/node_modules/balanced-match/package.json +68 -0
- package/backend/node_modules/bcrypt/.dockerignore +6 -0
- package/backend/node_modules/bcrypt/.editorconfig +19 -0
- package/backend/node_modules/bcrypt/.github/workflows/build-pack-publish.yml +110 -0
- package/backend/node_modules/bcrypt/.github/workflows/ci.yaml +42 -0
- package/backend/node_modules/bcrypt/CHANGELOG.md +184 -0
- package/backend/node_modules/bcrypt/Dockerfile +57 -0
- package/backend/node_modules/bcrypt/Dockerfile-alpine +41 -0
- package/backend/node_modules/bcrypt/ISSUE_TEMPLATE.md +18 -0
- package/backend/node_modules/bcrypt/LICENSE +19 -0
- package/backend/node_modules/bcrypt/Makefile +19 -0
- package/backend/node_modules/bcrypt/README.md +388 -0
- package/backend/node_modules/bcrypt/SECURITY.md +15 -0
- package/backend/node_modules/bcrypt/bcrypt.js +242 -0
- package/backend/node_modules/bcrypt/binding.gyp +49 -0
- package/backend/node_modules/bcrypt/build-all.sh +37 -0
- package/backend/node_modules/bcrypt/examples/async_compare.js +28 -0
- package/backend/node_modules/bcrypt/examples/forever_gen_salt.js +8 -0
- package/backend/node_modules/bcrypt/package.json +62 -0
- package/backend/node_modules/bcrypt/prebuilds/darwin-arm64/bcrypt.node +0 -0
- package/backend/node_modules/bcrypt/prebuilds/darwin-x64/bcrypt.node +0 -0
- package/backend/node_modules/bcrypt/prebuilds/linux-arm/bcrypt.glibc.node +0 -0
- package/backend/node_modules/bcrypt/prebuilds/linux-arm/bcrypt.musl.node +0 -0
- package/backend/node_modules/bcrypt/prebuilds/linux-arm64/bcrypt.glibc.node +0 -0
- package/backend/node_modules/bcrypt/prebuilds/linux-arm64/bcrypt.musl.node +0 -0
- package/backend/node_modules/bcrypt/prebuilds/linux-x64/bcrypt.glibc.node +0 -0
- package/backend/node_modules/bcrypt/prebuilds/linux-x64/bcrypt.musl.node +0 -0
- package/backend/node_modules/bcrypt/prebuilds/win32-arm64/bcrypt.node +0 -0
- package/backend/node_modules/bcrypt/prebuilds/win32-x64/bcrypt.node +0 -0
- package/backend/node_modules/bcrypt/promises.js +45 -0
- package/backend/node_modules/bcrypt/src/bcrypt.cc +315 -0
- package/backend/node_modules/bcrypt/src/bcrypt_node.cc +288 -0
- package/backend/node_modules/bcrypt/src/blowfish.cc +679 -0
- package/backend/node_modules/bcrypt/src/node_blf.h +132 -0
- package/backend/node_modules/bcrypt/test/async.test.js +209 -0
- package/backend/node_modules/bcrypt/test/implementation.test.js +48 -0
- package/backend/node_modules/bcrypt/test/promise.test.js +168 -0
- package/backend/node_modules/bcrypt/test/repetitions.test.js +55 -0
- package/backend/node_modules/bcrypt/test/sync.test.js +125 -0
- package/backend/node_modules/bcryptjs/LICENSE +27 -0
- package/backend/node_modules/bcryptjs/README.md +201 -0
- package/backend/node_modules/bcryptjs/bin/bcrypt +23 -0
- package/backend/node_modules/bcryptjs/index.d.ts +3 -0
- package/backend/node_modules/bcryptjs/index.js +1159 -0
- package/backend/node_modules/bcryptjs/package.json +76 -0
- package/backend/node_modules/bcryptjs/types.d.ts +157 -0
- package/backend/node_modules/bcryptjs/umd/index.d.ts +3 -0
- package/backend/node_modules/bcryptjs/umd/index.js +1220 -0
- package/backend/node_modules/bcryptjs/umd/package.json +3 -0
- package/backend/node_modules/bcryptjs/umd/types.d.ts +157 -0
- package/backend/node_modules/binary-extensions/binary-extensions.json +263 -0
- package/backend/node_modules/binary-extensions/binary-extensions.json.d.ts +3 -0
- package/backend/node_modules/binary-extensions/index.d.ts +14 -0
- package/backend/node_modules/binary-extensions/index.js +1 -0
- package/backend/node_modules/binary-extensions/license +10 -0
- package/backend/node_modules/binary-extensions/package.json +40 -0
- package/backend/node_modules/binary-extensions/readme.md +25 -0
- package/backend/node_modules/body-parser/LICENSE +23 -0
- package/backend/node_modules/body-parser/README.md +494 -0
- package/backend/node_modules/body-parser/index.js +71 -0
- package/backend/node_modules/body-parser/lib/read.js +247 -0
- package/backend/node_modules/body-parser/lib/types/json.js +158 -0
- package/backend/node_modules/body-parser/lib/types/raw.js +42 -0
- package/backend/node_modules/body-parser/lib/types/text.js +36 -0
- package/backend/node_modules/body-parser/lib/types/urlencoded.js +142 -0
- package/backend/node_modules/body-parser/lib/utils.js +98 -0
- package/backend/node_modules/body-parser/package.json +52 -0
- package/backend/node_modules/brace-expansion/LICENSE +23 -0
- package/backend/node_modules/brace-expansion/README.md +94 -0
- package/backend/node_modules/brace-expansion/dist/commonjs/index.d.ts +6 -0
- package/backend/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +1 -0
- package/backend/node_modules/brace-expansion/dist/commonjs/index.js +201 -0
- package/backend/node_modules/brace-expansion/dist/commonjs/index.js.map +1 -0
- package/backend/node_modules/brace-expansion/dist/commonjs/package.json +3 -0
- package/backend/node_modules/brace-expansion/dist/esm/index.d.ts +6 -0
- package/backend/node_modules/brace-expansion/dist/esm/index.d.ts.map +1 -0
- package/backend/node_modules/brace-expansion/dist/esm/index.js +197 -0
- package/backend/node_modules/brace-expansion/dist/esm/index.js.map +1 -0
- package/backend/node_modules/brace-expansion/dist/esm/package.json +3 -0
- package/backend/node_modules/brace-expansion/package.json +64 -0
- package/backend/node_modules/braces/LICENSE +21 -0
- package/backend/node_modules/braces/README.md +586 -0
- package/backend/node_modules/braces/index.js +170 -0
- package/backend/node_modules/braces/lib/compile.js +60 -0
- package/backend/node_modules/braces/lib/constants.js +57 -0
- package/backend/node_modules/braces/lib/expand.js +113 -0
- package/backend/node_modules/braces/lib/parse.js +331 -0
- package/backend/node_modules/braces/lib/stringify.js +32 -0
- package/backend/node_modules/braces/lib/utils.js +122 -0
- package/backend/node_modules/braces/package.json +77 -0
- package/backend/node_modules/buffer-equal-constant-time/.travis.yml +4 -0
- package/backend/node_modules/buffer-equal-constant-time/LICENSE.txt +12 -0
- package/backend/node_modules/buffer-equal-constant-time/README.md +50 -0
- package/backend/node_modules/buffer-equal-constant-time/index.js +41 -0
- package/backend/node_modules/buffer-equal-constant-time/package.json +21 -0
- package/backend/node_modules/buffer-equal-constant-time/test.js +42 -0
- package/backend/node_modules/bytes/History.md +97 -0
- package/backend/node_modules/bytes/LICENSE +23 -0
- package/backend/node_modules/bytes/Readme.md +152 -0
- package/backend/node_modules/bytes/index.js +170 -0
- package/backend/node_modules/bytes/package.json +42 -0
- package/backend/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
- package/backend/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
- package/backend/node_modules/call-bind-apply-helpers/.nycrc +9 -0
- package/backend/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
- package/backend/node_modules/call-bind-apply-helpers/LICENSE +21 -0
- package/backend/node_modules/call-bind-apply-helpers/README.md +62 -0
- package/backend/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
- package/backend/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
- package/backend/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
- package/backend/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
- package/backend/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
- package/backend/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
- package/backend/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
- package/backend/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
- package/backend/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
- package/backend/node_modules/call-bind-apply-helpers/index.js +15 -0
- package/backend/node_modules/call-bind-apply-helpers/package.json +85 -0
- package/backend/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
- package/backend/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
- package/backend/node_modules/call-bind-apply-helpers/test/index.js +63 -0
- package/backend/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
- package/backend/node_modules/call-bound/.eslintrc +13 -0
- package/backend/node_modules/call-bound/.github/FUNDING.yml +12 -0
- package/backend/node_modules/call-bound/.nycrc +9 -0
- package/backend/node_modules/call-bound/CHANGELOG.md +42 -0
- package/backend/node_modules/call-bound/LICENSE +21 -0
- package/backend/node_modules/call-bound/README.md +53 -0
- package/backend/node_modules/call-bound/index.d.ts +94 -0
- package/backend/node_modules/call-bound/index.js +19 -0
- package/backend/node_modules/call-bound/package.json +99 -0
- package/backend/node_modules/call-bound/test/index.js +61 -0
- package/backend/node_modules/call-bound/tsconfig.json +10 -0
- package/backend/node_modules/chokidar/LICENSE +21 -0
- package/backend/node_modules/chokidar/README.md +308 -0
- package/backend/node_modules/chokidar/index.js +973 -0
- package/backend/node_modules/chokidar/lib/constants.js +66 -0
- package/backend/node_modules/chokidar/lib/fsevents-handler.js +526 -0
- package/backend/node_modules/chokidar/lib/nodefs-handler.js +654 -0
- package/backend/node_modules/chokidar/package.json +70 -0
- package/backend/node_modules/chokidar/types/index.d.ts +192 -0
- package/backend/node_modules/content-disposition/LICENSE +22 -0
- package/backend/node_modules/content-disposition/README.md +141 -0
- package/backend/node_modules/content-disposition/index.js +536 -0
- package/backend/node_modules/content-disposition/package.json +40 -0
- package/backend/node_modules/content-type/HISTORY.md +29 -0
- package/backend/node_modules/content-type/LICENSE +22 -0
- package/backend/node_modules/content-type/README.md +94 -0
- package/backend/node_modules/content-type/index.js +225 -0
- package/backend/node_modules/content-type/package.json +42 -0
- package/backend/node_modules/cookie/LICENSE +24 -0
- package/backend/node_modules/cookie/README.md +317 -0
- package/backend/node_modules/cookie/SECURITY.md +25 -0
- package/backend/node_modules/cookie/index.js +335 -0
- package/backend/node_modules/cookie/package.json +44 -0
- package/backend/node_modules/cookie-signature/History.md +70 -0
- package/backend/node_modules/cookie-signature/LICENSE +22 -0
- package/backend/node_modules/cookie-signature/Readme.md +23 -0
- package/backend/node_modules/cookie-signature/index.js +47 -0
- package/backend/node_modules/cookie-signature/package.json +24 -0
- package/backend/node_modules/cors/LICENSE +22 -0
- package/backend/node_modules/cors/README.md +277 -0
- package/backend/node_modules/cors/lib/index.js +238 -0
- package/backend/node_modules/cors/package.json +42 -0
- package/backend/node_modules/debug/LICENSE +20 -0
- package/backend/node_modules/debug/README.md +481 -0
- package/backend/node_modules/debug/package.json +64 -0
- package/backend/node_modules/debug/src/browser.js +272 -0
- package/backend/node_modules/debug/src/common.js +292 -0
- package/backend/node_modules/debug/src/index.js +10 -0
- package/backend/node_modules/debug/src/node.js +263 -0
- package/backend/node_modules/denque/CHANGELOG.md +29 -0
- package/backend/node_modules/denque/LICENSE +201 -0
- package/backend/node_modules/denque/README.md +77 -0
- package/backend/node_modules/denque/index.d.ts +47 -0
- package/backend/node_modules/denque/index.js +481 -0
- package/backend/node_modules/denque/package.json +58 -0
- package/backend/node_modules/depd/History.md +103 -0
- package/backend/node_modules/depd/LICENSE +22 -0
- package/backend/node_modules/depd/Readme.md +280 -0
- package/backend/node_modules/depd/index.js +538 -0
- package/backend/node_modules/depd/lib/browser/index.js +77 -0
- package/backend/node_modules/depd/package.json +45 -0
- package/backend/node_modules/dunder-proto/.eslintrc +5 -0
- package/backend/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
- package/backend/node_modules/dunder-proto/.nycrc +13 -0
- package/backend/node_modules/dunder-proto/CHANGELOG.md +24 -0
- package/backend/node_modules/dunder-proto/LICENSE +21 -0
- package/backend/node_modules/dunder-proto/README.md +54 -0
- package/backend/node_modules/dunder-proto/get.d.ts +5 -0
- package/backend/node_modules/dunder-proto/get.js +30 -0
- package/backend/node_modules/dunder-proto/package.json +76 -0
- package/backend/node_modules/dunder-proto/set.d.ts +5 -0
- package/backend/node_modules/dunder-proto/set.js +35 -0
- package/backend/node_modules/dunder-proto/test/get.js +34 -0
- package/backend/node_modules/dunder-proto/test/index.js +4 -0
- package/backend/node_modules/dunder-proto/test/set.js +50 -0
- package/backend/node_modules/dunder-proto/tsconfig.json +9 -0
- package/backend/node_modules/ecdsa-sig-formatter/CODEOWNERS +1 -0
- package/backend/node_modules/ecdsa-sig-formatter/LICENSE +201 -0
- package/backend/node_modules/ecdsa-sig-formatter/README.md +65 -0
- package/backend/node_modules/ecdsa-sig-formatter/package.json +46 -0
- package/backend/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.d.ts +17 -0
- package/backend/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js +187 -0
- package/backend/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js +23 -0
- package/backend/node_modules/ee-first/LICENSE +22 -0
- package/backend/node_modules/ee-first/README.md +80 -0
- package/backend/node_modules/ee-first/index.js +95 -0
- package/backend/node_modules/ee-first/package.json +29 -0
- package/backend/node_modules/encodeurl/LICENSE +22 -0
- package/backend/node_modules/encodeurl/README.md +109 -0
- package/backend/node_modules/encodeurl/index.js +60 -0
- package/backend/node_modules/encodeurl/package.json +40 -0
- package/backend/node_modules/es-define-property/.eslintrc +13 -0
- package/backend/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/backend/node_modules/es-define-property/.nycrc +9 -0
- package/backend/node_modules/es-define-property/CHANGELOG.md +29 -0
- package/backend/node_modules/es-define-property/LICENSE +21 -0
- package/backend/node_modules/es-define-property/README.md +49 -0
- package/backend/node_modules/es-define-property/index.d.ts +3 -0
- package/backend/node_modules/es-define-property/index.js +14 -0
- package/backend/node_modules/es-define-property/package.json +81 -0
- package/backend/node_modules/es-define-property/test/index.js +56 -0
- package/backend/node_modules/es-define-property/tsconfig.json +10 -0
- package/backend/node_modules/es-errors/.eslintrc +5 -0
- package/backend/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/backend/node_modules/es-errors/CHANGELOG.md +40 -0
- package/backend/node_modules/es-errors/LICENSE +21 -0
- package/backend/node_modules/es-errors/README.md +55 -0
- package/backend/node_modules/es-errors/eval.d.ts +3 -0
- package/backend/node_modules/es-errors/eval.js +4 -0
- package/backend/node_modules/es-errors/index.d.ts +3 -0
- package/backend/node_modules/es-errors/index.js +4 -0
- package/backend/node_modules/es-errors/package.json +80 -0
- package/backend/node_modules/es-errors/range.d.ts +3 -0
- package/backend/node_modules/es-errors/range.js +4 -0
- package/backend/node_modules/es-errors/ref.d.ts +3 -0
- package/backend/node_modules/es-errors/ref.js +4 -0
- package/backend/node_modules/es-errors/syntax.d.ts +3 -0
- package/backend/node_modules/es-errors/syntax.js +4 -0
- package/backend/node_modules/es-errors/test/index.js +19 -0
- package/backend/node_modules/es-errors/tsconfig.json +49 -0
- package/backend/node_modules/es-errors/type.d.ts +3 -0
- package/backend/node_modules/es-errors/type.js +4 -0
- package/backend/node_modules/es-errors/uri.d.ts +3 -0
- package/backend/node_modules/es-errors/uri.js +4 -0
- package/backend/node_modules/es-object-atoms/.eslintrc +16 -0
- package/backend/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
- package/backend/node_modules/es-object-atoms/CHANGELOG.md +37 -0
- package/backend/node_modules/es-object-atoms/LICENSE +21 -0
- package/backend/node_modules/es-object-atoms/README.md +63 -0
- package/backend/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
- package/backend/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
- package/backend/node_modules/es-object-atoms/ToObject.d.ts +7 -0
- package/backend/node_modules/es-object-atoms/ToObject.js +10 -0
- package/backend/node_modules/es-object-atoms/index.d.ts +3 -0
- package/backend/node_modules/es-object-atoms/index.js +4 -0
- package/backend/node_modules/es-object-atoms/isObject.d.ts +3 -0
- package/backend/node_modules/es-object-atoms/isObject.js +6 -0
- package/backend/node_modules/es-object-atoms/package.json +80 -0
- package/backend/node_modules/es-object-atoms/test/index.js +38 -0
- package/backend/node_modules/es-object-atoms/tsconfig.json +6 -0
- package/backend/node_modules/escape-html/LICENSE +24 -0
- package/backend/node_modules/escape-html/Readme.md +43 -0
- package/backend/node_modules/escape-html/index.js +78 -0
- package/backend/node_modules/escape-html/package.json +24 -0
- package/backend/node_modules/etag/HISTORY.md +83 -0
- package/backend/node_modules/etag/LICENSE +22 -0
- package/backend/node_modules/etag/README.md +159 -0
- package/backend/node_modules/etag/index.js +131 -0
- package/backend/node_modules/etag/package.json +47 -0
- package/backend/node_modules/express/LICENSE +24 -0
- package/backend/node_modules/express/Readme.md +276 -0
- package/backend/node_modules/express/index.js +11 -0
- package/backend/node_modules/express/lib/application.js +631 -0
- package/backend/node_modules/express/lib/express.js +81 -0
- package/backend/node_modules/express/lib/request.js +514 -0
- package/backend/node_modules/express/lib/response.js +1053 -0
- package/backend/node_modules/express/lib/utils.js +271 -0
- package/backend/node_modules/express/lib/view.js +205 -0
- package/backend/node_modules/express/package.json +99 -0
- package/backend/node_modules/fill-range/LICENSE +21 -0
- package/backend/node_modules/fill-range/README.md +237 -0
- package/backend/node_modules/fill-range/index.js +248 -0
- package/backend/node_modules/fill-range/package.json +74 -0
- package/backend/node_modules/finalhandler/HISTORY.md +239 -0
- package/backend/node_modules/finalhandler/LICENSE +22 -0
- package/backend/node_modules/finalhandler/README.md +150 -0
- package/backend/node_modules/finalhandler/index.js +293 -0
- package/backend/node_modules/finalhandler/package.json +47 -0
- package/backend/node_modules/forwarded/HISTORY.md +21 -0
- package/backend/node_modules/forwarded/LICENSE +22 -0
- package/backend/node_modules/forwarded/README.md +57 -0
- package/backend/node_modules/forwarded/index.js +90 -0
- package/backend/node_modules/forwarded/package.json +45 -0
- package/backend/node_modules/fresh/HISTORY.md +80 -0
- package/backend/node_modules/fresh/LICENSE +23 -0
- package/backend/node_modules/fresh/README.md +117 -0
- package/backend/node_modules/fresh/index.js +136 -0
- package/backend/node_modules/fresh/package.json +46 -0
- package/backend/node_modules/function-bind/.eslintrc +21 -0
- package/backend/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/backend/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/backend/node_modules/function-bind/.nycrc +13 -0
- package/backend/node_modules/function-bind/CHANGELOG.md +136 -0
- package/backend/node_modules/function-bind/LICENSE +20 -0
- package/backend/node_modules/function-bind/README.md +46 -0
- package/backend/node_modules/function-bind/implementation.js +84 -0
- package/backend/node_modules/function-bind/index.js +5 -0
- package/backend/node_modules/function-bind/package.json +87 -0
- package/backend/node_modules/function-bind/test/.eslintrc +9 -0
- package/backend/node_modules/function-bind/test/index.js +252 -0
- package/backend/node_modules/generate-function/.travis.yml +3 -0
- package/backend/node_modules/generate-function/LICENSE +21 -0
- package/backend/node_modules/generate-function/README.md +89 -0
- package/backend/node_modules/generate-function/example.js +27 -0
- package/backend/node_modules/generate-function/index.js +181 -0
- package/backend/node_modules/generate-function/package.json +32 -0
- package/backend/node_modules/generate-function/test.js +49 -0
- package/backend/node_modules/get-intrinsic/.eslintrc +42 -0
- package/backend/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/backend/node_modules/get-intrinsic/.nycrc +9 -0
- package/backend/node_modules/get-intrinsic/CHANGELOG.md +186 -0
- package/backend/node_modules/get-intrinsic/LICENSE +21 -0
- package/backend/node_modules/get-intrinsic/README.md +71 -0
- package/backend/node_modules/get-intrinsic/index.js +378 -0
- package/backend/node_modules/get-intrinsic/package.json +97 -0
- package/backend/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
- package/backend/node_modules/get-proto/.eslintrc +10 -0
- package/backend/node_modules/get-proto/.github/FUNDING.yml +12 -0
- package/backend/node_modules/get-proto/.nycrc +9 -0
- package/backend/node_modules/get-proto/CHANGELOG.md +21 -0
- package/backend/node_modules/get-proto/LICENSE +21 -0
- package/backend/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
- package/backend/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
- package/backend/node_modules/get-proto/README.md +50 -0
- package/backend/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
- package/backend/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
- package/backend/node_modules/get-proto/index.d.ts +5 -0
- package/backend/node_modules/get-proto/index.js +27 -0
- package/backend/node_modules/get-proto/package.json +81 -0
- package/backend/node_modules/get-proto/test/index.js +68 -0
- package/backend/node_modules/get-proto/tsconfig.json +9 -0
- package/backend/node_modules/glob-parent/CHANGELOG.md +110 -0
- package/backend/node_modules/glob-parent/LICENSE +15 -0
- package/backend/node_modules/glob-parent/README.md +137 -0
- package/backend/node_modules/glob-parent/index.js +42 -0
- package/backend/node_modules/glob-parent/package.json +48 -0
- package/backend/node_modules/gopd/.eslintrc +16 -0
- package/backend/node_modules/gopd/.github/FUNDING.yml +12 -0
- package/backend/node_modules/gopd/CHANGELOG.md +45 -0
- package/backend/node_modules/gopd/LICENSE +21 -0
- package/backend/node_modules/gopd/README.md +40 -0
- package/backend/node_modules/gopd/gOPD.d.ts +1 -0
- package/backend/node_modules/gopd/gOPD.js +4 -0
- package/backend/node_modules/gopd/index.d.ts +5 -0
- package/backend/node_modules/gopd/index.js +15 -0
- package/backend/node_modules/gopd/package.json +77 -0
- package/backend/node_modules/gopd/test/index.js +36 -0
- package/backend/node_modules/gopd/tsconfig.json +9 -0
- package/backend/node_modules/has-flag/index.js +8 -0
- package/backend/node_modules/has-flag/license +9 -0
- package/backend/node_modules/has-flag/package.json +44 -0
- package/backend/node_modules/has-flag/readme.md +70 -0
- package/backend/node_modules/has-symbols/.eslintrc +11 -0
- package/backend/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/backend/node_modules/has-symbols/.nycrc +9 -0
- package/backend/node_modules/has-symbols/CHANGELOG.md +91 -0
- package/backend/node_modules/has-symbols/LICENSE +21 -0
- package/backend/node_modules/has-symbols/README.md +46 -0
- package/backend/node_modules/has-symbols/index.d.ts +3 -0
- package/backend/node_modules/has-symbols/index.js +14 -0
- package/backend/node_modules/has-symbols/package.json +111 -0
- package/backend/node_modules/has-symbols/shams.d.ts +3 -0
- package/backend/node_modules/has-symbols/shams.js +45 -0
- package/backend/node_modules/has-symbols/test/index.js +22 -0
- package/backend/node_modules/has-symbols/test/shams/core-js.js +29 -0
- package/backend/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
- package/backend/node_modules/has-symbols/test/tests.js +58 -0
- package/backend/node_modules/has-symbols/tsconfig.json +10 -0
- package/backend/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/backend/node_modules/hasown/.nycrc +13 -0
- package/backend/node_modules/hasown/CHANGELOG.md +51 -0
- package/backend/node_modules/hasown/LICENSE +21 -0
- package/backend/node_modules/hasown/README.md +40 -0
- package/backend/node_modules/hasown/eslint.config.mjs +6 -0
- package/backend/node_modules/hasown/index.d.ts +4 -0
- package/backend/node_modules/hasown/index.js +8 -0
- package/backend/node_modules/hasown/package.json +92 -0
- package/backend/node_modules/hasown/tsconfig.json +6 -0
- package/backend/node_modules/http-errors/HISTORY.md +186 -0
- package/backend/node_modules/http-errors/LICENSE +23 -0
- package/backend/node_modules/http-errors/README.md +169 -0
- package/backend/node_modules/http-errors/index.js +290 -0
- package/backend/node_modules/http-errors/package.json +54 -0
- package/backend/node_modules/iconv-lite/LICENSE +21 -0
- package/backend/node_modules/iconv-lite/README.md +138 -0
- package/backend/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
- package/backend/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
- package/backend/node_modules/iconv-lite/encodings/index.js +23 -0
- package/backend/node_modules/iconv-lite/encodings/internal.js +218 -0
- package/backend/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
- package/backend/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/backend/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
- package/backend/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/backend/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/backend/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/backend/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/backend/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/backend/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/backend/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/backend/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/backend/node_modules/iconv-lite/encodings/utf16.js +187 -0
- package/backend/node_modules/iconv-lite/encodings/utf32.js +307 -0
- package/backend/node_modules/iconv-lite/encodings/utf7.js +283 -0
- package/backend/node_modules/iconv-lite/lib/bom-handling.js +48 -0
- package/backend/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
- package/backend/node_modules/iconv-lite/lib/index.d.ts +129 -0
- package/backend/node_modules/iconv-lite/lib/index.js +182 -0
- package/backend/node_modules/iconv-lite/lib/streams.js +105 -0
- package/backend/node_modules/iconv-lite/package.json +70 -0
- package/backend/node_modules/iconv-lite/types/encodings.d.ts +423 -0
- package/backend/node_modules/ignore-by-default/LICENSE +14 -0
- package/backend/node_modules/ignore-by-default/README.md +26 -0
- package/backend/node_modules/ignore-by-default/index.js +12 -0
- package/backend/node_modules/ignore-by-default/package.json +34 -0
- package/backend/node_modules/inherits/LICENSE +16 -0
- package/backend/node_modules/inherits/README.md +42 -0
- package/backend/node_modules/inherits/inherits.js +9 -0
- package/backend/node_modules/inherits/inherits_browser.js +27 -0
- package/backend/node_modules/inherits/package.json +29 -0
- package/backend/node_modules/ipaddr.js/LICENSE +19 -0
- package/backend/node_modules/ipaddr.js/README.md +233 -0
- package/backend/node_modules/ipaddr.js/ipaddr.min.js +1 -0
- package/backend/node_modules/ipaddr.js/lib/ipaddr.js +673 -0
- package/backend/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +68 -0
- package/backend/node_modules/ipaddr.js/package.json +35 -0
- package/backend/node_modules/is-binary-path/index.d.ts +17 -0
- package/backend/node_modules/is-binary-path/index.js +7 -0
- package/backend/node_modules/is-binary-path/license +9 -0
- package/backend/node_modules/is-binary-path/package.json +40 -0
- package/backend/node_modules/is-binary-path/readme.md +34 -0
- package/backend/node_modules/is-extglob/LICENSE +21 -0
- package/backend/node_modules/is-extglob/README.md +107 -0
- package/backend/node_modules/is-extglob/index.js +20 -0
- package/backend/node_modules/is-extglob/package.json +69 -0
- package/backend/node_modules/is-glob/LICENSE +21 -0
- package/backend/node_modules/is-glob/README.md +206 -0
- package/backend/node_modules/is-glob/index.js +150 -0
- package/backend/node_modules/is-glob/package.json +81 -0
- package/backend/node_modules/is-number/LICENSE +21 -0
- package/backend/node_modules/is-number/README.md +187 -0
- package/backend/node_modules/is-number/index.js +18 -0
- package/backend/node_modules/is-number/package.json +82 -0
- package/backend/node_modules/is-promise/LICENSE +19 -0
- package/backend/node_modules/is-promise/index.d.ts +2 -0
- package/backend/node_modules/is-promise/index.js +6 -0
- package/backend/node_modules/is-promise/index.mjs +3 -0
- package/backend/node_modules/is-promise/package.json +30 -0
- package/backend/node_modules/is-promise/readme.md +33 -0
- package/backend/node_modules/is-property/LICENSE +22 -0
- package/backend/node_modules/is-property/README.md +28 -0
- package/backend/node_modules/is-property/is-property.js +5 -0
- package/backend/node_modules/is-property/package.json +36 -0
- package/backend/node_modules/json/.gitmodules +3 -0
- package/backend/node_modules/json/.jshintrc +3 -0
- package/backend/node_modules/json/CHANGES.md +1050 -0
- package/backend/node_modules/json/LICENSE.txt +24 -0
- package/backend/node_modules/json/README.md +122 -0
- package/backend/node_modules/json/lib/json.js +1765 -0
- package/backend/node_modules/json/man/man1/json.1 +1151 -0
- package/backend/node_modules/json/package.json +38 -0
- package/backend/node_modules/jsonwebtoken/LICENSE +21 -0
- package/backend/node_modules/jsonwebtoken/README.md +396 -0
- package/backend/node_modules/jsonwebtoken/decode.js +30 -0
- package/backend/node_modules/jsonwebtoken/index.js +8 -0
- package/backend/node_modules/jsonwebtoken/lib/JsonWebTokenError.js +14 -0
- package/backend/node_modules/jsonwebtoken/lib/NotBeforeError.js +13 -0
- package/backend/node_modules/jsonwebtoken/lib/TokenExpiredError.js +13 -0
- package/backend/node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js +3 -0
- package/backend/node_modules/jsonwebtoken/lib/psSupported.js +3 -0
- package/backend/node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js +3 -0
- package/backend/node_modules/jsonwebtoken/lib/timespan.js +18 -0
- package/backend/node_modules/jsonwebtoken/lib/validateAsymmetricKey.js +66 -0
- package/backend/node_modules/jsonwebtoken/package.json +70 -0
- package/backend/node_modules/jsonwebtoken/sign.js +253 -0
- package/backend/node_modules/jsonwebtoken/verify.js +263 -0
- package/backend/node_modules/jwa/LICENSE +17 -0
- package/backend/node_modules/jwa/README.md +150 -0
- package/backend/node_modules/jwa/index.js +266 -0
- package/backend/node_modules/jwa/opslevel.yml +6 -0
- package/backend/node_modules/jwa/package.json +37 -0
- package/backend/node_modules/jws/CHANGELOG.md +56 -0
- package/backend/node_modules/jws/LICENSE +17 -0
- package/backend/node_modules/jws/index.js +22 -0
- package/backend/node_modules/jws/lib/data-stream.js +55 -0
- package/backend/node_modules/jws/lib/sign-stream.js +83 -0
- package/backend/node_modules/jws/lib/tostring.js +10 -0
- package/backend/node_modules/jws/lib/verify-stream.js +125 -0
- package/backend/node_modules/jws/opslevel.yml +6 -0
- package/backend/node_modules/jws/package.json +34 -0
- package/backend/node_modules/jws/readme.md +255 -0
- package/backend/node_modules/lodash.includes/LICENSE +47 -0
- package/backend/node_modules/lodash.includes/README.md +18 -0
- package/backend/node_modules/lodash.includes/index.js +745 -0
- package/backend/node_modules/lodash.includes/package.json +17 -0
- package/backend/node_modules/lodash.isboolean/LICENSE +22 -0
- package/backend/node_modules/lodash.isboolean/README.md +18 -0
- package/backend/node_modules/lodash.isboolean/index.js +70 -0
- package/backend/node_modules/lodash.isboolean/package.json +17 -0
- package/backend/node_modules/lodash.isinteger/LICENSE +47 -0
- package/backend/node_modules/lodash.isinteger/README.md +18 -0
- package/backend/node_modules/lodash.isinteger/index.js +265 -0
- package/backend/node_modules/lodash.isinteger/package.json +17 -0
- package/backend/node_modules/lodash.isnumber/LICENSE +22 -0
- package/backend/node_modules/lodash.isnumber/README.md +18 -0
- package/backend/node_modules/lodash.isnumber/index.js +79 -0
- package/backend/node_modules/lodash.isnumber/package.json +17 -0
- package/backend/node_modules/lodash.isplainobject/LICENSE +47 -0
- package/backend/node_modules/lodash.isplainobject/README.md +18 -0
- package/backend/node_modules/lodash.isplainobject/index.js +139 -0
- package/backend/node_modules/lodash.isplainobject/package.json +17 -0
- package/backend/node_modules/lodash.isstring/LICENSE +22 -0
- package/backend/node_modules/lodash.isstring/README.md +18 -0
- package/backend/node_modules/lodash.isstring/index.js +95 -0
- package/backend/node_modules/lodash.isstring/package.json +17 -0
- package/backend/node_modules/lodash.once/LICENSE +47 -0
- package/backend/node_modules/lodash.once/README.md +18 -0
- package/backend/node_modules/lodash.once/index.js +294 -0
- package/backend/node_modules/lodash.once/package.json +17 -0
- package/backend/node_modules/long/LICENSE +202 -0
- package/backend/node_modules/long/README.md +286 -0
- package/backend/node_modules/long/index.d.ts +2 -0
- package/backend/node_modules/long/index.js +1581 -0
- package/backend/node_modules/long/package.json +58 -0
- package/backend/node_modules/long/types.d.ts +474 -0
- package/backend/node_modules/long/umd/index.d.ts +3 -0
- package/backend/node_modules/long/umd/index.js +1622 -0
- package/backend/node_modules/long/umd/package.json +3 -0
- package/backend/node_modules/long/umd/types.d.ts +474 -0
- package/backend/node_modules/lru.min/LICENSE +21 -0
- package/backend/node_modules/lru.min/README.md +392 -0
- package/backend/node_modules/lru.min/browser/lru.min.js +1 -0
- package/backend/node_modules/lru.min/lib/index.d.ts +38 -0
- package/backend/node_modules/lru.min/lib/index.js +248 -0
- package/backend/node_modules/lru.min/lib/index.mjs +227 -0
- package/backend/node_modules/lru.min/package.json +87 -0
- package/backend/node_modules/math-intrinsics/.eslintrc +16 -0
- package/backend/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
- package/backend/node_modules/math-intrinsics/CHANGELOG.md +24 -0
- package/backend/node_modules/math-intrinsics/LICENSE +21 -0
- package/backend/node_modules/math-intrinsics/README.md +50 -0
- package/backend/node_modules/math-intrinsics/abs.d.ts +1 -0
- package/backend/node_modules/math-intrinsics/abs.js +4 -0
- package/backend/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
- package/backend/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
- package/backend/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
- package/backend/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
- package/backend/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
- package/backend/node_modules/math-intrinsics/constants/maxValue.js +5 -0
- package/backend/node_modules/math-intrinsics/floor.d.ts +1 -0
- package/backend/node_modules/math-intrinsics/floor.js +4 -0
- package/backend/node_modules/math-intrinsics/isFinite.d.ts +3 -0
- package/backend/node_modules/math-intrinsics/isFinite.js +12 -0
- package/backend/node_modules/math-intrinsics/isInteger.d.ts +3 -0
- package/backend/node_modules/math-intrinsics/isInteger.js +16 -0
- package/backend/node_modules/math-intrinsics/isNaN.d.ts +1 -0
- package/backend/node_modules/math-intrinsics/isNaN.js +6 -0
- package/backend/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
- package/backend/node_modules/math-intrinsics/isNegativeZero.js +6 -0
- package/backend/node_modules/math-intrinsics/max.d.ts +1 -0
- package/backend/node_modules/math-intrinsics/max.js +4 -0
- package/backend/node_modules/math-intrinsics/min.d.ts +1 -0
- package/backend/node_modules/math-intrinsics/min.js +4 -0
- package/backend/node_modules/math-intrinsics/mod.d.ts +3 -0
- package/backend/node_modules/math-intrinsics/mod.js +9 -0
- package/backend/node_modules/math-intrinsics/package.json +86 -0
- package/backend/node_modules/math-intrinsics/pow.d.ts +1 -0
- package/backend/node_modules/math-intrinsics/pow.js +4 -0
- package/backend/node_modules/math-intrinsics/round.d.ts +1 -0
- package/backend/node_modules/math-intrinsics/round.js +4 -0
- package/backend/node_modules/math-intrinsics/sign.d.ts +3 -0
- package/backend/node_modules/math-intrinsics/sign.js +11 -0
- package/backend/node_modules/math-intrinsics/test/index.js +192 -0
- package/backend/node_modules/math-intrinsics/tsconfig.json +3 -0
- package/backend/node_modules/media-typer/HISTORY.md +50 -0
- package/backend/node_modules/media-typer/LICENSE +22 -0
- package/backend/node_modules/media-typer/README.md +93 -0
- package/backend/node_modules/media-typer/index.js +143 -0
- package/backend/node_modules/media-typer/package.json +33 -0
- package/backend/node_modules/merge-descriptors/index.d.ts +11 -0
- package/backend/node_modules/merge-descriptors/index.js +26 -0
- package/backend/node_modules/merge-descriptors/license +11 -0
- package/backend/node_modules/merge-descriptors/package.json +50 -0
- package/backend/node_modules/merge-descriptors/readme.md +55 -0
- package/backend/node_modules/mime-db/HISTORY.md +541 -0
- package/backend/node_modules/mime-db/LICENSE +23 -0
- package/backend/node_modules/mime-db/README.md +109 -0
- package/backend/node_modules/mime-db/db.json +9342 -0
- package/backend/node_modules/mime-db/index.js +12 -0
- package/backend/node_modules/mime-db/package.json +56 -0
- package/backend/node_modules/mime-types/HISTORY.md +428 -0
- package/backend/node_modules/mime-types/LICENSE +23 -0
- package/backend/node_modules/mime-types/README.md +126 -0
- package/backend/node_modules/mime-types/index.js +211 -0
- package/backend/node_modules/mime-types/mimeScore.js +57 -0
- package/backend/node_modules/mime-types/package.json +49 -0
- package/backend/node_modules/minimatch/LICENSE.md +55 -0
- package/backend/node_modules/minimatch/README.md +528 -0
- package/backend/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +2 -0
- package/backend/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
- package/backend/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
- package/backend/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
- package/backend/node_modules/minimatch/dist/commonjs/ast.d.ts +22 -0
- package/backend/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
- package/backend/node_modules/minimatch/dist/commonjs/ast.js +845 -0
- package/backend/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
- package/backend/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +8 -0
- package/backend/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
- package/backend/node_modules/minimatch/dist/commonjs/brace-expressions.js +150 -0
- package/backend/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
- package/backend/node_modules/minimatch/dist/commonjs/escape.d.ts +15 -0
- package/backend/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
- package/backend/node_modules/minimatch/dist/commonjs/escape.js +30 -0
- package/backend/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
- package/backend/node_modules/minimatch/dist/commonjs/index.d.ts +174 -0
- package/backend/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
- package/backend/node_modules/minimatch/dist/commonjs/index.js +1127 -0
- package/backend/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
- package/backend/node_modules/minimatch/dist/commonjs/package.json +3 -0
- package/backend/node_modules/minimatch/dist/commonjs/unescape.d.ts +22 -0
- package/backend/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
- package/backend/node_modules/minimatch/dist/commonjs/unescape.js +38 -0
- package/backend/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
- package/backend/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +2 -0
- package/backend/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
- package/backend/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
- package/backend/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
- package/backend/node_modules/minimatch/dist/esm/ast.d.ts +22 -0
- package/backend/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
- package/backend/node_modules/minimatch/dist/esm/ast.js +841 -0
- package/backend/node_modules/minimatch/dist/esm/ast.js.map +1 -0
- package/backend/node_modules/minimatch/dist/esm/brace-expressions.d.ts +8 -0
- package/backend/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
- package/backend/node_modules/minimatch/dist/esm/brace-expressions.js +146 -0
- package/backend/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
- package/backend/node_modules/minimatch/dist/esm/escape.d.ts +15 -0
- package/backend/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
- package/backend/node_modules/minimatch/dist/esm/escape.js +26 -0
- package/backend/node_modules/minimatch/dist/esm/escape.js.map +1 -0
- package/backend/node_modules/minimatch/dist/esm/index.d.ts +174 -0
- package/backend/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
- package/backend/node_modules/minimatch/dist/esm/index.js +1114 -0
- package/backend/node_modules/minimatch/dist/esm/index.js.map +1 -0
- package/backend/node_modules/minimatch/dist/esm/package.json +3 -0
- package/backend/node_modules/minimatch/dist/esm/unescape.d.ts +22 -0
- package/backend/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
- package/backend/node_modules/minimatch/dist/esm/unescape.js +34 -0
- package/backend/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
- package/backend/node_modules/minimatch/package.json +73 -0
- package/backend/node_modules/ms/index.js +162 -0
- package/backend/node_modules/ms/license.md +21 -0
- package/backend/node_modules/ms/package.json +38 -0
- package/backend/node_modules/ms/readme.md +59 -0
- package/backend/node_modules/mysql2/License +19 -0
- package/backend/node_modules/mysql2/README.md +114 -0
- package/backend/node_modules/mysql2/index.d.ts +1 -0
- package/backend/node_modules/mysql2/index.js +77 -0
- package/backend/node_modules/mysql2/lib/auth_41.js +95 -0
- package/backend/node_modules/mysql2/lib/auth_plugins/caching_sha2_password.js +115 -0
- package/backend/node_modules/mysql2/lib/auth_plugins/caching_sha2_password.md +18 -0
- package/backend/node_modules/mysql2/lib/auth_plugins/index.js +8 -0
- package/backend/node_modules/mysql2/lib/auth_plugins/mysql_clear_password.js +17 -0
- package/backend/node_modules/mysql2/lib/auth_plugins/mysql_native_password.js +34 -0
- package/backend/node_modules/mysql2/lib/auth_plugins/sha256_password.js +74 -0
- package/backend/node_modules/mysql2/lib/base/connection.js +1139 -0
- package/backend/node_modules/mysql2/lib/base/pool.js +343 -0
- package/backend/node_modules/mysql2/lib/commands/auth_switch.js +151 -0
- package/backend/node_modules/mysql2/lib/commands/binlog_dump.js +109 -0
- package/backend/node_modules/mysql2/lib/commands/change_user.js +68 -0
- package/backend/node_modules/mysql2/lib/commands/client_handshake.js +386 -0
- package/backend/node_modules/mysql2/lib/commands/close_statement.js +18 -0
- package/backend/node_modules/mysql2/lib/commands/command.js +54 -0
- package/backend/node_modules/mysql2/lib/commands/execute.js +116 -0
- package/backend/node_modules/mysql2/lib/commands/index.js +29 -0
- package/backend/node_modules/mysql2/lib/commands/ping.js +36 -0
- package/backend/node_modules/mysql2/lib/commands/prepare.js +143 -0
- package/backend/node_modules/mysql2/lib/commands/query.js +365 -0
- package/backend/node_modules/mysql2/lib/commands/quit.js +29 -0
- package/backend/node_modules/mysql2/lib/commands/register_slave.js +27 -0
- package/backend/node_modules/mysql2/lib/commands/reset_connection.js +29 -0
- package/backend/node_modules/mysql2/lib/commands/server_handshake.js +205 -0
- package/backend/node_modules/mysql2/lib/compressed_protocol.js +153 -0
- package/backend/node_modules/mysql2/lib/connection.js +12 -0
- package/backend/node_modules/mysql2/lib/connection_config.js +300 -0
- package/backend/node_modules/mysql2/lib/constants/charset_encodings.js +317 -0
- package/backend/node_modules/mysql2/lib/constants/charsets.js +317 -0
- package/backend/node_modules/mysql2/lib/constants/client.js +39 -0
- package/backend/node_modules/mysql2/lib/constants/commands.js +37 -0
- package/backend/node_modules/mysql2/lib/constants/cursor.js +9 -0
- package/backend/node_modules/mysql2/lib/constants/encoding_charset.js +50 -0
- package/backend/node_modules/mysql2/lib/constants/errors.js +3973 -0
- package/backend/node_modules/mysql2/lib/constants/field_flags.js +20 -0
- package/backend/node_modules/mysql2/lib/constants/server_status.js +44 -0
- package/backend/node_modules/mysql2/lib/constants/session_track.js +11 -0
- package/backend/node_modules/mysql2/lib/constants/ssl_profiles.js +11 -0
- package/backend/node_modules/mysql2/lib/constants/types.js +64 -0
- package/backend/node_modules/mysql2/lib/create_connection.js +10 -0
- package/backend/node_modules/mysql2/lib/create_pool.js +10 -0
- package/backend/node_modules/mysql2/lib/create_pool_cluster.js +9 -0
- package/backend/node_modules/mysql2/lib/helpers.js +83 -0
- package/backend/node_modules/mysql2/lib/packet_parser.js +195 -0
- package/backend/node_modules/mysql2/lib/packets/auth_next_factor.js +35 -0
- package/backend/node_modules/mysql2/lib/packets/auth_switch_request.js +38 -0
- package/backend/node_modules/mysql2/lib/packets/auth_switch_request_more_data.js +33 -0
- package/backend/node_modules/mysql2/lib/packets/auth_switch_response.js +30 -0
- package/backend/node_modules/mysql2/lib/packets/binary_row.js +95 -0
- package/backend/node_modules/mysql2/lib/packets/binlog_dump.js +33 -0
- package/backend/node_modules/mysql2/lib/packets/binlog_query_statusvars.js +115 -0
- package/backend/node_modules/mysql2/lib/packets/change_user.js +97 -0
- package/backend/node_modules/mysql2/lib/packets/close_statement.js +21 -0
- package/backend/node_modules/mysql2/lib/packets/column_definition.js +291 -0
- package/backend/node_modules/mysql2/lib/packets/encode_parameter.js +69 -0
- package/backend/node_modules/mysql2/lib/packets/execute.js +177 -0
- package/backend/node_modules/mysql2/lib/packets/handshake.js +112 -0
- package/backend/node_modules/mysql2/lib/packets/handshake_response.js +173 -0
- package/backend/node_modules/mysql2/lib/packets/index.js +154 -0
- package/backend/node_modules/mysql2/lib/packets/packet.js +978 -0
- package/backend/node_modules/mysql2/lib/packets/prepare_statement.js +27 -0
- package/backend/node_modules/mysql2/lib/packets/prepared_statement_header.js +16 -0
- package/backend/node_modules/mysql2/lib/packets/query.js +102 -0
- package/backend/node_modules/mysql2/lib/packets/register_slave.js +46 -0
- package/backend/node_modules/mysql2/lib/packets/reset_connection.js +17 -0
- package/backend/node_modules/mysql2/lib/packets/resultset_header.js +124 -0
- package/backend/node_modules/mysql2/lib/packets/ssl_request.js +25 -0
- package/backend/node_modules/mysql2/lib/packets/text_row.js +47 -0
- package/backend/node_modules/mysql2/lib/parsers/binary_parser.js +235 -0
- package/backend/node_modules/mysql2/lib/parsers/parser_cache.js +68 -0
- package/backend/node_modules/mysql2/lib/parsers/static_binary_parser.js +213 -0
- package/backend/node_modules/mysql2/lib/parsers/static_text_parser.js +152 -0
- package/backend/node_modules/mysql2/lib/parsers/string.js +50 -0
- package/backend/node_modules/mysql2/lib/parsers/text_parser.js +214 -0
- package/backend/node_modules/mysql2/lib/pool.js +12 -0
- package/backend/node_modules/mysql2/lib/pool_cluster.js +375 -0
- package/backend/node_modules/mysql2/lib/pool_config.js +34 -0
- package/backend/node_modules/mysql2/lib/pool_connection.js +81 -0
- package/backend/node_modules/mysql2/lib/promise/capture_local_err.js +25 -0
- package/backend/node_modules/mysql2/lib/promise/connection.js +237 -0
- package/backend/node_modules/mysql2/lib/promise/inherit_events.js +27 -0
- package/backend/node_modules/mysql2/lib/promise/make_done_cb.js +16 -0
- package/backend/node_modules/mysql2/lib/promise/pool.js +118 -0
- package/backend/node_modules/mysql2/lib/promise/pool_cluster.js +59 -0
- package/backend/node_modules/mysql2/lib/promise/pool_connection.js +19 -0
- package/backend/node_modules/mysql2/lib/promise/prepared_statement_info.js +35 -0
- package/backend/node_modules/mysql2/lib/results_stream.js +38 -0
- package/backend/node_modules/mysql2/lib/server.js +37 -0
- package/backend/node_modules/mysql2/lib/tracing.js +81 -0
- package/backend/node_modules/mysql2/package.json +95 -0
- package/backend/node_modules/mysql2/promise.d.ts +141 -0
- package/backend/node_modules/mysql2/promise.js +209 -0
- package/backend/node_modules/mysql2/typings/mysql/LICENSE.txt +15 -0
- package/backend/node_modules/mysql2/typings/mysql/index.d.ts +93 -0
- package/backend/node_modules/mysql2/typings/mysql/info.txt +1 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/Auth.d.ts +30 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/Connection.d.ts +456 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/Pool.d.ts +78 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/PoolCluster.d.ts +92 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/PoolConnection.d.ts +11 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/Server.d.ts +11 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/Tracing.d.ts +71 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/constants/CharsetToEncoding.d.ts +8 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/constants/Charsets.d.ts +326 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/constants/Types.d.ts +70 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/constants/index.d.ts +5 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/parsers/ParserCache.d.ts +4 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/parsers/index.d.ts +18 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/parsers/typeCast.d.ts +54 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/protocol/packets/Field.d.ts +10 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/protocol/packets/FieldPacket.d.ts +27 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/protocol/packets/OkPacket.d.ts +23 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/protocol/packets/ProcedurePacket.d.ts +13 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/protocol/packets/ResultSetHeader.d.ts +18 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/protocol/packets/RowDataPacket.d.ts +9 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/protocol/packets/index.d.ts +28 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/protocol/packets/params/ErrorPacketParams.d.ts +6 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/protocol/packets/params/OkPacketParams.d.ts +9 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/protocol/sequences/ExecutableBase.d.ts +41 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/protocol/sequences/Prepare.d.ts +65 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/protocol/sequences/Query.d.ts +235 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/protocol/sequences/QueryableBase.d.ts +41 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/protocol/sequences/Sequence.d.ts +5 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/protocol/sequences/promise/ExecutableBase.d.ts +17 -0
- package/backend/node_modules/mysql2/typings/mysql/lib/protocol/sequences/promise/QueryableBase.d.ts +18 -0
- package/backend/node_modules/named-placeholders/LICENSE +21 -0
- package/backend/node_modules/named-placeholders/README.md +27 -0
- package/backend/node_modules/named-placeholders/index.js +179 -0
- package/backend/node_modules/named-placeholders/package.json +36 -0
- package/backend/node_modules/negotiator/HISTORY.md +114 -0
- package/backend/node_modules/negotiator/LICENSE +24 -0
- package/backend/node_modules/negotiator/README.md +212 -0
- package/backend/node_modules/negotiator/index.js +83 -0
- package/backend/node_modules/negotiator/lib/charset.js +169 -0
- package/backend/node_modules/negotiator/lib/encoding.js +205 -0
- package/backend/node_modules/negotiator/lib/language.js +179 -0
- package/backend/node_modules/negotiator/lib/mediaType.js +294 -0
- package/backend/node_modules/negotiator/package.json +43 -0
- package/backend/node_modules/node-addon-api/LICENSE.md +9 -0
- package/backend/node_modules/node-addon-api/README.md +95 -0
- package/backend/node_modules/node-addon-api/common.gypi +21 -0
- package/backend/node_modules/node-addon-api/except.gypi +25 -0
- package/backend/node_modules/node-addon-api/index.js +14 -0
- package/backend/node_modules/node-addon-api/napi-inl.deprecated.h +186 -0
- package/backend/node_modules/node-addon-api/napi-inl.h +7181 -0
- package/backend/node_modules/node-addon-api/napi.h +3380 -0
- package/backend/node_modules/node-addon-api/node_addon_api.gyp +42 -0
- package/backend/node_modules/node-addon-api/node_api.gyp +9 -0
- package/backend/node_modules/node-addon-api/noexcept.gypi +26 -0
- package/backend/node_modules/node-addon-api/nothing.c +0 -0
- package/backend/node_modules/node-addon-api/package-support.json +21 -0
- package/backend/node_modules/node-addon-api/package.json +480 -0
- package/backend/node_modules/node-addon-api/tools/README.md +73 -0
- package/backend/node_modules/node-addon-api/tools/check-napi.js +99 -0
- package/backend/node_modules/node-addon-api/tools/clang-format.js +71 -0
- package/backend/node_modules/node-addon-api/tools/conversion.js +301 -0
- package/backend/node_modules/node-gyp-build/LICENSE +21 -0
- package/backend/node_modules/node-gyp-build/README.md +58 -0
- package/backend/node_modules/node-gyp-build/SECURITY.md +5 -0
- package/backend/node_modules/node-gyp-build/bin.js +84 -0
- package/backend/node_modules/node-gyp-build/build-test.js +19 -0
- package/backend/node_modules/node-gyp-build/index.js +6 -0
- package/backend/node_modules/node-gyp-build/node-gyp-build.js +207 -0
- package/backend/node_modules/node-gyp-build/optional.js +7 -0
- package/backend/node_modules/node-gyp-build/package.json +43 -0
- package/backend/node_modules/nodemon/.prettierrc.json +3 -0
- package/backend/node_modules/nodemon/LICENSE +21 -0
- package/backend/node_modules/nodemon/README.md +439 -0
- package/backend/node_modules/nodemon/bin/nodemon.js +16 -0
- package/backend/node_modules/nodemon/bin/windows-kill.exe +0 -0
- package/backend/node_modules/nodemon/doc/cli/authors.txt +8 -0
- package/backend/node_modules/nodemon/doc/cli/config.txt +44 -0
- package/backend/node_modules/nodemon/doc/cli/help.txt +29 -0
- package/backend/node_modules/nodemon/doc/cli/logo.txt +20 -0
- package/backend/node_modules/nodemon/doc/cli/options.txt +36 -0
- package/backend/node_modules/nodemon/doc/cli/topics.txt +8 -0
- package/backend/node_modules/nodemon/doc/cli/usage.txt +3 -0
- package/backend/node_modules/nodemon/doc/cli/whoami.txt +9 -0
- package/backend/node_modules/nodemon/index.d.ts +124 -0
- package/backend/node_modules/nodemon/jsconfig.json +7 -0
- package/backend/node_modules/nodemon/lib/cli/index.js +49 -0
- package/backend/node_modules/nodemon/lib/cli/parse.js +230 -0
- package/backend/node_modules/nodemon/lib/config/command.js +43 -0
- package/backend/node_modules/nodemon/lib/config/defaults.js +34 -0
- package/backend/node_modules/nodemon/lib/config/exec.js +240 -0
- package/backend/node_modules/nodemon/lib/config/index.js +93 -0
- package/backend/node_modules/nodemon/lib/config/load.js +225 -0
- package/backend/node_modules/nodemon/lib/help/index.js +27 -0
- package/backend/node_modules/nodemon/lib/index.js +1 -0
- package/backend/node_modules/nodemon/lib/monitor/index.js +4 -0
- package/backend/node_modules/nodemon/lib/monitor/match.js +288 -0
- package/backend/node_modules/nodemon/lib/monitor/run.js +562 -0
- package/backend/node_modules/nodemon/lib/monitor/signals.js +34 -0
- package/backend/node_modules/nodemon/lib/monitor/watch.js +244 -0
- package/backend/node_modules/nodemon/lib/nodemon.js +317 -0
- package/backend/node_modules/nodemon/lib/rules/add.js +89 -0
- package/backend/node_modules/nodemon/lib/rules/index.js +53 -0
- package/backend/node_modules/nodemon/lib/rules/parse.js +43 -0
- package/backend/node_modules/nodemon/lib/spawn.js +74 -0
- package/backend/node_modules/nodemon/lib/utils/bus.js +44 -0
- package/backend/node_modules/nodemon/lib/utils/clone.js +40 -0
- package/backend/node_modules/nodemon/lib/utils/colour.js +26 -0
- package/backend/node_modules/nodemon/lib/utils/index.js +103 -0
- package/backend/node_modules/nodemon/lib/utils/log.js +82 -0
- package/backend/node_modules/nodemon/lib/utils/merge.js +47 -0
- package/backend/node_modules/nodemon/lib/version.js +100 -0
- package/backend/node_modules/nodemon/package.json +78 -0
- package/backend/node_modules/normalize-path/LICENSE +21 -0
- package/backend/node_modules/normalize-path/README.md +127 -0
- package/backend/node_modules/normalize-path/index.js +35 -0
- package/backend/node_modules/normalize-path/package.json +77 -0
- package/backend/node_modules/object-assign/index.js +90 -0
- package/backend/node_modules/object-assign/license +21 -0
- package/backend/node_modules/object-assign/package.json +42 -0
- package/backend/node_modules/object-assign/readme.md +61 -0
- package/backend/node_modules/object-inspect/.eslintrc +53 -0
- package/backend/node_modules/object-inspect/.github/FUNDING.yml +12 -0
- package/backend/node_modules/object-inspect/.nycrc +13 -0
- package/backend/node_modules/object-inspect/CHANGELOG.md +424 -0
- package/backend/node_modules/object-inspect/LICENSE +21 -0
- package/backend/node_modules/object-inspect/example/all.js +23 -0
- package/backend/node_modules/object-inspect/example/circular.js +6 -0
- package/backend/node_modules/object-inspect/example/fn.js +5 -0
- package/backend/node_modules/object-inspect/example/inspect.js +10 -0
- package/backend/node_modules/object-inspect/index.js +544 -0
- package/backend/node_modules/object-inspect/package-support.json +20 -0
- package/backend/node_modules/object-inspect/package.json +105 -0
- package/backend/node_modules/object-inspect/readme.markdown +84 -0
- package/backend/node_modules/object-inspect/test/bigint.js +58 -0
- package/backend/node_modules/object-inspect/test/browser/dom.js +15 -0
- package/backend/node_modules/object-inspect/test/circular.js +16 -0
- package/backend/node_modules/object-inspect/test/deep.js +12 -0
- package/backend/node_modules/object-inspect/test/element.js +53 -0
- package/backend/node_modules/object-inspect/test/err.js +48 -0
- package/backend/node_modules/object-inspect/test/fakes.js +29 -0
- package/backend/node_modules/object-inspect/test/fn.js +76 -0
- package/backend/node_modules/object-inspect/test/global.js +17 -0
- package/backend/node_modules/object-inspect/test/has.js +15 -0
- package/backend/node_modules/object-inspect/test/holes.js +15 -0
- package/backend/node_modules/object-inspect/test/indent-option.js +271 -0
- package/backend/node_modules/object-inspect/test/inspect.js +139 -0
- package/backend/node_modules/object-inspect/test/lowbyte.js +12 -0
- package/backend/node_modules/object-inspect/test/number.js +58 -0
- package/backend/node_modules/object-inspect/test/quoteStyle.js +26 -0
- package/backend/node_modules/object-inspect/test/toStringTag.js +40 -0
- package/backend/node_modules/object-inspect/test/undef.js +12 -0
- package/backend/node_modules/object-inspect/test/values.js +261 -0
- package/backend/node_modules/object-inspect/test-core-js.js +26 -0
- package/backend/node_modules/object-inspect/util.inspect.js +1 -0
- package/backend/node_modules/on-finished/HISTORY.md +98 -0
- package/backend/node_modules/on-finished/LICENSE +23 -0
- package/backend/node_modules/on-finished/README.md +162 -0
- package/backend/node_modules/on-finished/index.js +234 -0
- package/backend/node_modules/on-finished/package.json +39 -0
- package/backend/node_modules/once/LICENSE +15 -0
- package/backend/node_modules/once/README.md +79 -0
- package/backend/node_modules/once/once.js +42 -0
- package/backend/node_modules/once/package.json +33 -0
- package/backend/node_modules/parseurl/HISTORY.md +58 -0
- package/backend/node_modules/parseurl/LICENSE +24 -0
- package/backend/node_modules/parseurl/README.md +133 -0
- package/backend/node_modules/parseurl/index.js +158 -0
- package/backend/node_modules/parseurl/package.json +40 -0
- package/backend/node_modules/path-to-regexp/LICENSE +21 -0
- package/backend/node_modules/path-to-regexp/Readme.md +224 -0
- package/backend/node_modules/path-to-regexp/dist/index.d.ts +147 -0
- package/backend/node_modules/path-to-regexp/dist/index.js +431 -0
- package/backend/node_modules/path-to-regexp/dist/index.js.map +1 -0
- package/backend/node_modules/path-to-regexp/package.json +64 -0
- package/backend/node_modules/picomatch/LICENSE +21 -0
- package/backend/node_modules/picomatch/README.md +716 -0
- package/backend/node_modules/picomatch/index.js +3 -0
- package/backend/node_modules/picomatch/lib/constants.js +184 -0
- package/backend/node_modules/picomatch/lib/parse.js +1392 -0
- package/backend/node_modules/picomatch/lib/picomatch.js +342 -0
- package/backend/node_modules/picomatch/lib/scan.js +391 -0
- package/backend/node_modules/picomatch/lib/utils.js +64 -0
- package/backend/node_modules/picomatch/package.json +81 -0
- package/backend/node_modules/proxy-addr/HISTORY.md +161 -0
- package/backend/node_modules/proxy-addr/LICENSE +22 -0
- package/backend/node_modules/proxy-addr/README.md +139 -0
- package/backend/node_modules/proxy-addr/index.js +327 -0
- package/backend/node_modules/proxy-addr/package.json +47 -0
- package/backend/node_modules/pstree.remy/.travis.yml +8 -0
- package/backend/node_modules/pstree.remy/LICENSE +7 -0
- package/backend/node_modules/pstree.remy/README.md +26 -0
- package/backend/node_modules/pstree.remy/lib/index.js +37 -0
- package/backend/node_modules/pstree.remy/lib/tree.js +37 -0
- package/backend/node_modules/pstree.remy/lib/utils.js +53 -0
- package/backend/node_modules/pstree.remy/package.json +33 -0
- package/backend/node_modules/pstree.remy/tests/fixtures/index.js +13 -0
- package/backend/node_modules/pstree.remy/tests/fixtures/out1 +10 -0
- package/backend/node_modules/pstree.remy/tests/fixtures/out2 +29 -0
- package/backend/node_modules/pstree.remy/tests/index.test.js +51 -0
- package/backend/node_modules/qs/.editorconfig +46 -0
- package/backend/node_modules/qs/.github/FUNDING.yml +12 -0
- package/backend/node_modules/qs/.github/SECURITY.md +11 -0
- package/backend/node_modules/qs/.github/THREAT_MODEL.md +78 -0
- package/backend/node_modules/qs/.nycrc +13 -0
- package/backend/node_modules/qs/CHANGELOG.md +822 -0
- package/backend/node_modules/qs/LICENSE.md +29 -0
- package/backend/node_modules/qs/README.md +758 -0
- package/backend/node_modules/qs/dist/qs.js +141 -0
- package/backend/node_modules/qs/eslint.config.mjs +57 -0
- package/backend/node_modules/qs/lib/formats.js +23 -0
- package/backend/node_modules/qs/lib/index.js +11 -0
- package/backend/node_modules/qs/lib/parse.js +403 -0
- package/backend/node_modules/qs/lib/stringify.js +363 -0
- package/backend/node_modules/qs/lib/utils.js +342 -0
- package/backend/node_modules/qs/package.json +94 -0
- package/backend/node_modules/qs/test/empty-keys-cases.js +267 -0
- package/backend/node_modules/qs/test/parse.js +1703 -0
- package/backend/node_modules/qs/test/stringify.js +1448 -0
- package/backend/node_modules/qs/test/utils.js +432 -0
- package/backend/node_modules/range-parser/HISTORY.md +56 -0
- package/backend/node_modules/range-parser/LICENSE +23 -0
- package/backend/node_modules/range-parser/README.md +84 -0
- package/backend/node_modules/range-parser/index.js +162 -0
- package/backend/node_modules/range-parser/package.json +44 -0
- package/backend/node_modules/raw-body/LICENSE +22 -0
- package/backend/node_modules/raw-body/README.md +223 -0
- package/backend/node_modules/raw-body/index.d.ts +85 -0
- package/backend/node_modules/raw-body/index.js +336 -0
- package/backend/node_modules/raw-body/package.json +46 -0
- package/backend/node_modules/readdirp/LICENSE +21 -0
- package/backend/node_modules/readdirp/README.md +122 -0
- package/backend/node_modules/readdirp/index.d.ts +43 -0
- package/backend/node_modules/readdirp/index.js +287 -0
- package/backend/node_modules/readdirp/package.json +122 -0
- package/backend/node_modules/router/HISTORY.md +228 -0
- package/backend/node_modules/router/LICENSE +23 -0
- package/backend/node_modules/router/README.md +416 -0
- package/backend/node_modules/router/index.js +748 -0
- package/backend/node_modules/router/lib/layer.js +247 -0
- package/backend/node_modules/router/lib/route.js +242 -0
- package/backend/node_modules/router/package.json +44 -0
- package/backend/node_modules/safe-buffer/LICENSE +21 -0
- package/backend/node_modules/safe-buffer/README.md +584 -0
- package/backend/node_modules/safe-buffer/index.d.ts +187 -0
- package/backend/node_modules/safe-buffer/index.js +65 -0
- package/backend/node_modules/safe-buffer/package.json +51 -0
- package/backend/node_modules/safer-buffer/LICENSE +21 -0
- package/backend/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- package/backend/node_modules/safer-buffer/Readme.md +156 -0
- package/backend/node_modules/safer-buffer/dangerous.js +58 -0
- package/backend/node_modules/safer-buffer/package.json +34 -0
- package/backend/node_modules/safer-buffer/safer.js +77 -0
- package/backend/node_modules/safer-buffer/tests.js +406 -0
- package/backend/node_modules/semver/LICENSE +15 -0
- package/backend/node_modules/semver/README.md +680 -0
- package/backend/node_modules/semver/bin/semver.js +195 -0
- package/backend/node_modules/semver/classes/comparator.js +143 -0
- package/backend/node_modules/semver/classes/index.js +7 -0
- package/backend/node_modules/semver/classes/range.js +557 -0
- package/backend/node_modules/semver/classes/semver.js +333 -0
- package/backend/node_modules/semver/functions/clean.js +8 -0
- package/backend/node_modules/semver/functions/cmp.js +54 -0
- package/backend/node_modules/semver/functions/coerce.js +62 -0
- package/backend/node_modules/semver/functions/compare-build.js +9 -0
- package/backend/node_modules/semver/functions/compare-loose.js +5 -0
- package/backend/node_modules/semver/functions/compare.js +7 -0
- package/backend/node_modules/semver/functions/diff.js +60 -0
- package/backend/node_modules/semver/functions/eq.js +5 -0
- package/backend/node_modules/semver/functions/gt.js +5 -0
- package/backend/node_modules/semver/functions/gte.js +5 -0
- package/backend/node_modules/semver/functions/inc.js +21 -0
- package/backend/node_modules/semver/functions/lt.js +5 -0
- package/backend/node_modules/semver/functions/lte.js +5 -0
- package/backend/node_modules/semver/functions/major.js +5 -0
- package/backend/node_modules/semver/functions/minor.js +5 -0
- package/backend/node_modules/semver/functions/neq.js +5 -0
- package/backend/node_modules/semver/functions/parse.js +18 -0
- package/backend/node_modules/semver/functions/patch.js +5 -0
- package/backend/node_modules/semver/functions/prerelease.js +8 -0
- package/backend/node_modules/semver/functions/rcompare.js +5 -0
- package/backend/node_modules/semver/functions/rsort.js +5 -0
- package/backend/node_modules/semver/functions/satisfies.js +12 -0
- package/backend/node_modules/semver/functions/sort.js +5 -0
- package/backend/node_modules/semver/functions/truncate.js +48 -0
- package/backend/node_modules/semver/functions/valid.js +8 -0
- package/backend/node_modules/semver/index.js +93 -0
- package/backend/node_modules/semver/internal/constants.js +37 -0
- package/backend/node_modules/semver/internal/debug.js +11 -0
- package/backend/node_modules/semver/internal/identifiers.js +29 -0
- package/backend/node_modules/semver/internal/lrucache.js +42 -0
- package/backend/node_modules/semver/internal/parse-options.js +17 -0
- package/backend/node_modules/semver/internal/re.js +223 -0
- package/backend/node_modules/semver/package.json +78 -0
- package/backend/node_modules/semver/preload.js +4 -0
- package/backend/node_modules/semver/range.bnf +17 -0
- package/backend/node_modules/semver/ranges/gtr.js +6 -0
- package/backend/node_modules/semver/ranges/intersects.js +9 -0
- package/backend/node_modules/semver/ranges/ltr.js +6 -0
- package/backend/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/backend/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/backend/node_modules/semver/ranges/min-version.js +63 -0
- package/backend/node_modules/semver/ranges/outside.js +82 -0
- package/backend/node_modules/semver/ranges/simplify.js +49 -0
- package/backend/node_modules/semver/ranges/subset.js +249 -0
- package/backend/node_modules/semver/ranges/to-comparators.js +10 -0
- package/backend/node_modules/semver/ranges/valid.js +13 -0
- package/backend/node_modules/send/LICENSE +23 -0
- package/backend/node_modules/send/README.md +317 -0
- package/backend/node_modules/send/index.js +997 -0
- package/backend/node_modules/send/package.json +63 -0
- package/backend/node_modules/serve-static/LICENSE +25 -0
- package/backend/node_modules/serve-static/README.md +253 -0
- package/backend/node_modules/serve-static/index.js +208 -0
- package/backend/node_modules/serve-static/package.json +44 -0
- package/backend/node_modules/setprototypeof/LICENSE +13 -0
- package/backend/node_modules/setprototypeof/README.md +31 -0
- package/backend/node_modules/setprototypeof/index.d.ts +2 -0
- package/backend/node_modules/setprototypeof/index.js +17 -0
- package/backend/node_modules/setprototypeof/package.json +38 -0
- package/backend/node_modules/setprototypeof/test/index.js +24 -0
- package/backend/node_modules/side-channel/.editorconfig +9 -0
- package/backend/node_modules/side-channel/.eslintrc +12 -0
- package/backend/node_modules/side-channel/.github/FUNDING.yml +12 -0
- package/backend/node_modules/side-channel/.nycrc +13 -0
- package/backend/node_modules/side-channel/CHANGELOG.md +110 -0
- package/backend/node_modules/side-channel/LICENSE +21 -0
- package/backend/node_modules/side-channel/README.md +61 -0
- package/backend/node_modules/side-channel/index.d.ts +14 -0
- package/backend/node_modules/side-channel/index.js +43 -0
- package/backend/node_modules/side-channel/package.json +85 -0
- package/backend/node_modules/side-channel/test/index.js +104 -0
- package/backend/node_modules/side-channel/tsconfig.json +9 -0
- package/backend/node_modules/side-channel-list/.editorconfig +9 -0
- package/backend/node_modules/side-channel-list/.eslintrc +11 -0
- package/backend/node_modules/side-channel-list/.github/FUNDING.yml +12 -0
- package/backend/node_modules/side-channel-list/.nycrc +13 -0
- package/backend/node_modules/side-channel-list/CHANGELOG.md +36 -0
- package/backend/node_modules/side-channel-list/LICENSE +21 -0
- package/backend/node_modules/side-channel-list/README.md +62 -0
- package/backend/node_modules/side-channel-list/index.d.ts +13 -0
- package/backend/node_modules/side-channel-list/index.js +111 -0
- package/backend/node_modules/side-channel-list/list.d.ts +14 -0
- package/backend/node_modules/side-channel-list/package.json +77 -0
- package/backend/node_modules/side-channel-list/test/index.js +154 -0
- package/backend/node_modules/side-channel-list/tsconfig.json +9 -0
- package/backend/node_modules/side-channel-map/.editorconfig +9 -0
- package/backend/node_modules/side-channel-map/.eslintrc +11 -0
- package/backend/node_modules/side-channel-map/.github/FUNDING.yml +12 -0
- package/backend/node_modules/side-channel-map/.nycrc +13 -0
- package/backend/node_modules/side-channel-map/CHANGELOG.md +22 -0
- package/backend/node_modules/side-channel-map/LICENSE +21 -0
- package/backend/node_modules/side-channel-map/README.md +62 -0
- package/backend/node_modules/side-channel-map/index.d.ts +15 -0
- package/backend/node_modules/side-channel-map/index.js +68 -0
- package/backend/node_modules/side-channel-map/package.json +80 -0
- package/backend/node_modules/side-channel-map/test/index.js +114 -0
- package/backend/node_modules/side-channel-map/tsconfig.json +9 -0
- package/backend/node_modules/side-channel-weakmap/.editorconfig +9 -0
- package/backend/node_modules/side-channel-weakmap/.eslintrc +12 -0
- package/backend/node_modules/side-channel-weakmap/.github/FUNDING.yml +12 -0
- package/backend/node_modules/side-channel-weakmap/.nycrc +13 -0
- package/backend/node_modules/side-channel-weakmap/CHANGELOG.md +28 -0
- package/backend/node_modules/side-channel-weakmap/LICENSE +21 -0
- package/backend/node_modules/side-channel-weakmap/README.md +62 -0
- package/backend/node_modules/side-channel-weakmap/index.d.ts +15 -0
- package/backend/node_modules/side-channel-weakmap/index.js +84 -0
- package/backend/node_modules/side-channel-weakmap/package.json +87 -0
- package/backend/node_modules/side-channel-weakmap/test/index.js +114 -0
- package/backend/node_modules/side-channel-weakmap/tsconfig.json +9 -0
- package/backend/node_modules/simple-update-notifier/LICENSE +21 -0
- package/backend/node_modules/simple-update-notifier/README.md +82 -0
- package/backend/node_modules/simple-update-notifier/build/index.d.ts +13 -0
- package/backend/node_modules/simple-update-notifier/build/index.js +210 -0
- package/backend/node_modules/simple-update-notifier/package.json +100 -0
- package/backend/node_modules/simple-update-notifier/src/borderedText.ts +12 -0
- package/backend/node_modules/simple-update-notifier/src/cache.spec.ts +17 -0
- package/backend/node_modules/simple-update-notifier/src/cache.ts +44 -0
- package/backend/node_modules/simple-update-notifier/src/getDistVersion.spec.ts +35 -0
- package/backend/node_modules/simple-update-notifier/src/getDistVersion.ts +29 -0
- package/backend/node_modules/simple-update-notifier/src/hasNewVersion.spec.ts +82 -0
- package/backend/node_modules/simple-update-notifier/src/hasNewVersion.ts +40 -0
- package/backend/node_modules/simple-update-notifier/src/index.spec.ts +27 -0
- package/backend/node_modules/simple-update-notifier/src/index.ts +34 -0
- package/backend/node_modules/simple-update-notifier/src/isNpmOrYarn.ts +12 -0
- package/backend/node_modules/simple-update-notifier/src/types.ts +8 -0
- package/backend/node_modules/sql-escaper/LICENSE +21 -0
- package/backend/node_modules/sql-escaper/README.md +424 -0
- package/backend/node_modules/sql-escaper/lib/index.d.ts +15 -0
- package/backend/node_modules/sql-escaper/lib/index.js +398 -0
- package/backend/node_modules/sql-escaper/lib/index.mjs +305 -0
- package/backend/node_modules/sql-escaper/lib/types.d.ts +5 -0
- package/backend/node_modules/sql-escaper/lib/types.js +2 -0
- package/backend/node_modules/sql-escaper/package.json +81 -0
- package/backend/node_modules/statuses/HISTORY.md +87 -0
- package/backend/node_modules/statuses/LICENSE +23 -0
- package/backend/node_modules/statuses/README.md +139 -0
- package/backend/node_modules/statuses/codes.json +65 -0
- package/backend/node_modules/statuses/index.js +146 -0
- package/backend/node_modules/statuses/package.json +49 -0
- package/backend/node_modules/supports-color/browser.js +5 -0
- package/backend/node_modules/supports-color/index.js +131 -0
- package/backend/node_modules/supports-color/license +9 -0
- package/backend/node_modules/supports-color/package.json +53 -0
- package/backend/node_modules/supports-color/readme.md +66 -0
- package/backend/node_modules/to-regex-range/LICENSE +21 -0
- package/backend/node_modules/to-regex-range/README.md +305 -0
- package/backend/node_modules/to-regex-range/index.js +288 -0
- package/backend/node_modules/to-regex-range/package.json +88 -0
- package/backend/node_modules/toidentifier/HISTORY.md +9 -0
- package/backend/node_modules/toidentifier/LICENSE +21 -0
- package/backend/node_modules/toidentifier/README.md +61 -0
- package/backend/node_modules/toidentifier/index.js +32 -0
- package/backend/node_modules/toidentifier/package.json +38 -0
- package/backend/node_modules/token/index.js +60 -0
- package/backend/node_modules/token/package.json +24 -0
- package/backend/node_modules/token/readme.md +70 -0
- package/backend/node_modules/token/test/token.test.js +77 -0
- package/backend/node_modules/touch/LICENSE +15 -0
- package/backend/node_modules/touch/README.md +52 -0
- package/backend/node_modules/touch/bin/nodetouch.js +112 -0
- package/backend/node_modules/touch/index.js +224 -0
- package/backend/node_modules/touch/package.json +25 -0
- package/backend/node_modules/type-is/HISTORY.md +292 -0
- package/backend/node_modules/type-is/LICENSE +23 -0
- package/backend/node_modules/type-is/README.md +198 -0
- package/backend/node_modules/type-is/index.js +240 -0
- package/backend/node_modules/type-is/node_modules/content-type/LICENSE +22 -0
- package/backend/node_modules/type-is/node_modules/content-type/README.md +69 -0
- package/backend/node_modules/type-is/node_modules/content-type/dist/index.d.ts +26 -0
- package/backend/node_modules/type-is/node_modules/content-type/dist/index.js +170 -0
- package/backend/node_modules/type-is/node_modules/content-type/dist/index.js.map +1 -0
- package/backend/node_modules/type-is/node_modules/content-type/package.json +52 -0
- package/backend/node_modules/type-is/package.json +51 -0
- package/backend/node_modules/undefsafe/.github/workflows/release.yml +25 -0
- package/backend/node_modules/undefsafe/.jscsrc +13 -0
- package/backend/node_modules/undefsafe/.jshintrc +16 -0
- package/backend/node_modules/undefsafe/.travis.yml +18 -0
- package/backend/node_modules/undefsafe/LICENSE +22 -0
- package/backend/node_modules/undefsafe/README.md +63 -0
- package/backend/node_modules/undefsafe/example.js +14 -0
- package/backend/node_modules/undefsafe/lib/undefsafe.js +125 -0
- package/backend/node_modules/undefsafe/package.json +34 -0
- package/backend/node_modules/undici-types/LICENSE +21 -0
- package/backend/node_modules/undici-types/README.md +6 -0
- package/backend/node_modules/undici-types/agent.d.ts +32 -0
- package/backend/node_modules/undici-types/api.d.ts +43 -0
- package/backend/node_modules/undici-types/balanced-pool.d.ts +30 -0
- package/backend/node_modules/undici-types/cache-interceptor.d.ts +179 -0
- package/backend/node_modules/undici-types/cache.d.ts +36 -0
- package/backend/node_modules/undici-types/client-stats.d.ts +15 -0
- package/backend/node_modules/undici-types/client.d.ts +123 -0
- package/backend/node_modules/undici-types/connector.d.ts +36 -0
- package/backend/node_modules/undici-types/content-type.d.ts +21 -0
- package/backend/node_modules/undici-types/cookies.d.ts +30 -0
- package/backend/node_modules/undici-types/diagnostics-channel.d.ts +74 -0
- package/backend/node_modules/undici-types/dispatcher.d.ts +279 -0
- package/backend/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
- package/backend/node_modules/undici-types/errors.d.ts +177 -0
- package/backend/node_modules/undici-types/eventsource.d.ts +66 -0
- package/backend/node_modules/undici-types/fetch.d.ts +211 -0
- package/backend/node_modules/undici-types/formdata.d.ts +108 -0
- package/backend/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/backend/node_modules/undici-types/global-origin.d.ts +7 -0
- package/backend/node_modules/undici-types/h2c-client.d.ts +73 -0
- package/backend/node_modules/undici-types/handlers.d.ts +15 -0
- package/backend/node_modules/undici-types/header.d.ts +160 -0
- package/backend/node_modules/undici-types/index.d.ts +91 -0
- package/backend/node_modules/undici-types/interceptors.d.ts +80 -0
- package/backend/node_modules/undici-types/mock-agent.d.ts +68 -0
- package/backend/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/backend/node_modules/undici-types/mock-client.d.ts +27 -0
- package/backend/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/backend/node_modules/undici-types/mock-interceptor.d.ts +94 -0
- package/backend/node_modules/undici-types/mock-pool.d.ts +27 -0
- package/backend/node_modules/undici-types/package.json +55 -0
- package/backend/node_modules/undici-types/patch.d.ts +29 -0
- package/backend/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/backend/node_modules/undici-types/pool.d.ts +41 -0
- package/backend/node_modules/undici-types/proxy-agent.d.ts +29 -0
- package/backend/node_modules/undici-types/readable.d.ts +68 -0
- package/backend/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/backend/node_modules/undici-types/retry-handler.d.ts +125 -0
- package/backend/node_modules/undici-types/round-robin-pool.d.ts +41 -0
- package/backend/node_modules/undici-types/snapshot-agent.d.ts +109 -0
- package/backend/node_modules/undici-types/socks5-proxy-agent.d.ts +25 -0
- package/backend/node_modules/undici-types/util.d.ts +18 -0
- package/backend/node_modules/undici-types/utility.d.ts +7 -0
- package/backend/node_modules/undici-types/webidl.d.ts +347 -0
- package/backend/node_modules/undici-types/websocket.d.ts +188 -0
- package/backend/node_modules/unpipe/HISTORY.md +4 -0
- package/backend/node_modules/unpipe/LICENSE +22 -0
- package/backend/node_modules/unpipe/README.md +43 -0
- package/backend/node_modules/unpipe/index.js +69 -0
- package/backend/node_modules/unpipe/package.json +27 -0
- package/backend/node_modules/vary/HISTORY.md +39 -0
- package/backend/node_modules/vary/LICENSE +22 -0
- package/backend/node_modules/vary/README.md +101 -0
- package/backend/node_modules/vary/index.js +149 -0
- package/backend/node_modules/vary/package.json +43 -0
- package/backend/node_modules/web/README.md +191 -0
- package/backend/node_modules/web/package.json +17 -0
- package/backend/node_modules/web/test-web.js +16 -0
- package/backend/node_modules/web/web.js +200 -0
- package/backend/node_modules/wrappy/LICENSE +15 -0
- package/backend/node_modules/wrappy/README.md +36 -0
- package/backend/node_modules/wrappy/package.json +29 -0
- package/backend/node_modules/wrappy/wrappy.js +33 -0
- package/backend/package-lock.json +1506 -0
- package/backend/package.json +25 -0
- package/backend/server.js +561 -0
- package/epms.sql +162 -0
- package/frontend/README.md +16 -0
- package/frontend/eslint.config.js +21 -0
- package/frontend/index.html +13 -0
- package/frontend/package-lock.json +3042 -0
- package/frontend/package.json +31 -0
- package/frontend/public/favicon.svg +1 -0
- package/frontend/public/icons.svg +24 -0
- package/frontend/src/App.css +184 -0
- package/frontend/src/App.jsx +58 -0
- package/frontend/src/assets/hero.png +0 -0
- package/frontend/src/assets/react.svg +1 -0
- package/frontend/src/assets/vite.svg +1 -0
- package/frontend/src/components/Sidebar.jsx +77 -0
- package/frontend/src/index.css +1 -0
- package/frontend/src/main.jsx +12 -0
- package/frontend/src/pages/Dashboard.jsx +26 -0
- package/frontend/src/pages/Department.jsx +282 -0
- package/frontend/src/pages/Employee.jsx +317 -0
- package/frontend/src/pages/Login.jsx +114 -0
- package/frontend/src/pages/Payroll.jsx +113 -0
- package/frontend/src/pages/Register.jsx +108 -0
- package/frontend/src/pages/Salary.jsx +166 -0
- package/frontend/vite.config.js +8 -0
- package/package.json +13 -0
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PathError = exports.TokenData = void 0;
|
|
4
|
+
exports.parse = parse;
|
|
5
|
+
exports.compile = compile;
|
|
6
|
+
exports.match = match;
|
|
7
|
+
exports.pathToRegexp = pathToRegexp;
|
|
8
|
+
exports.stringify = stringify;
|
|
9
|
+
const DEFAULT_DELIMITER = "/";
|
|
10
|
+
const NOOP_VALUE = (value) => value;
|
|
11
|
+
const ID_START = /^[$_\p{ID_Start}]$/u;
|
|
12
|
+
const ID_CONTINUE = /^[$\u200c\u200d\p{ID_Continue}]$/u;
|
|
13
|
+
const ID = /^[$_\p{ID_Start}][$\u200c\u200d\p{ID_Continue}]*$/u;
|
|
14
|
+
/**
|
|
15
|
+
* Escape text for stringify to path.
|
|
16
|
+
*/
|
|
17
|
+
function escapeText(str) {
|
|
18
|
+
return str.replace(/[{}()\[\]+?!:*\\]/g, "\\$&");
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Escape a regular expression string.
|
|
22
|
+
*/
|
|
23
|
+
function escape(str) {
|
|
24
|
+
return str.replace(/[.+*?^${}()[\]|/\\]/g, "\\$&");
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Tokenized path instance.
|
|
28
|
+
*/
|
|
29
|
+
class TokenData {
|
|
30
|
+
constructor(tokens, originalPath) {
|
|
31
|
+
this.tokens = tokens;
|
|
32
|
+
this.originalPath = originalPath;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.TokenData = TokenData;
|
|
36
|
+
/**
|
|
37
|
+
* ParseError is thrown when there is an error processing the path.
|
|
38
|
+
*/
|
|
39
|
+
class PathError extends TypeError {
|
|
40
|
+
constructor(message, originalPath) {
|
|
41
|
+
let text = message;
|
|
42
|
+
if (originalPath)
|
|
43
|
+
text += `: ${originalPath}`;
|
|
44
|
+
text += `; visit https://git.new/pathToRegexpError for info`;
|
|
45
|
+
super(text);
|
|
46
|
+
this.originalPath = originalPath;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.PathError = PathError;
|
|
50
|
+
/**
|
|
51
|
+
* Parse a string for the raw tokens.
|
|
52
|
+
*/
|
|
53
|
+
function parse(str, options = {}) {
|
|
54
|
+
const { encodePath = NOOP_VALUE } = options;
|
|
55
|
+
const chars = [...str];
|
|
56
|
+
let index = 0;
|
|
57
|
+
function consumeUntil(end) {
|
|
58
|
+
const output = [];
|
|
59
|
+
let path = "";
|
|
60
|
+
function writePath() {
|
|
61
|
+
if (!path)
|
|
62
|
+
return;
|
|
63
|
+
output.push({
|
|
64
|
+
type: "text",
|
|
65
|
+
value: encodePath(path),
|
|
66
|
+
});
|
|
67
|
+
path = "";
|
|
68
|
+
}
|
|
69
|
+
while (index < chars.length) {
|
|
70
|
+
const value = chars[index++];
|
|
71
|
+
if (value === end) {
|
|
72
|
+
writePath();
|
|
73
|
+
return output;
|
|
74
|
+
}
|
|
75
|
+
if (value === "\\") {
|
|
76
|
+
if (index === chars.length) {
|
|
77
|
+
throw new PathError(`Unexpected end after \\ at index ${index}`, str);
|
|
78
|
+
}
|
|
79
|
+
path += chars[index++];
|
|
80
|
+
continue;
|
|
81
|
+
}
|
|
82
|
+
if (value === ":" || value === "*") {
|
|
83
|
+
const type = value === ":" ? "param" : "wildcard";
|
|
84
|
+
let name = "";
|
|
85
|
+
if (ID_START.test(chars[index])) {
|
|
86
|
+
do {
|
|
87
|
+
name += chars[index++];
|
|
88
|
+
} while (ID_CONTINUE.test(chars[index]));
|
|
89
|
+
}
|
|
90
|
+
else if (chars[index] === '"') {
|
|
91
|
+
let quoteStart = index;
|
|
92
|
+
while (index < chars.length) {
|
|
93
|
+
if (chars[++index] === '"') {
|
|
94
|
+
index++;
|
|
95
|
+
quoteStart = 0;
|
|
96
|
+
break;
|
|
97
|
+
}
|
|
98
|
+
// Increment over escape characters.
|
|
99
|
+
if (chars[index] === "\\")
|
|
100
|
+
index++;
|
|
101
|
+
name += chars[index];
|
|
102
|
+
}
|
|
103
|
+
if (quoteStart) {
|
|
104
|
+
throw new PathError(`Unterminated quote at index ${quoteStart}`, str);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
if (!name) {
|
|
108
|
+
throw new PathError(`Missing parameter name at index ${index}`, str);
|
|
109
|
+
}
|
|
110
|
+
writePath();
|
|
111
|
+
output.push({ type, name });
|
|
112
|
+
continue;
|
|
113
|
+
}
|
|
114
|
+
if (value === "{") {
|
|
115
|
+
writePath();
|
|
116
|
+
output.push({
|
|
117
|
+
type: "group",
|
|
118
|
+
tokens: consumeUntil("}"),
|
|
119
|
+
});
|
|
120
|
+
continue;
|
|
121
|
+
}
|
|
122
|
+
if (value === "}" ||
|
|
123
|
+
value === "(" ||
|
|
124
|
+
value === ")" ||
|
|
125
|
+
value === "[" ||
|
|
126
|
+
value === "]" ||
|
|
127
|
+
value === "+" ||
|
|
128
|
+
value === "?" ||
|
|
129
|
+
value === "!") {
|
|
130
|
+
throw new PathError(`Unexpected ${value} at index ${index - 1}`, str);
|
|
131
|
+
}
|
|
132
|
+
path += value;
|
|
133
|
+
}
|
|
134
|
+
if (end) {
|
|
135
|
+
throw new PathError(`Unexpected end at index ${index}, expected ${end}`, str);
|
|
136
|
+
}
|
|
137
|
+
writePath();
|
|
138
|
+
return output;
|
|
139
|
+
}
|
|
140
|
+
return new TokenData(consumeUntil(""), str);
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Compile a string to a template function for the path.
|
|
144
|
+
*/
|
|
145
|
+
function compile(path, options = {}) {
|
|
146
|
+
const { encode = encodeURIComponent, delimiter = DEFAULT_DELIMITER } = options;
|
|
147
|
+
const data = typeof path === "object" ? path : parse(path, options);
|
|
148
|
+
const fn = tokensToFunction(data.tokens, delimiter, encode);
|
|
149
|
+
return function path(params = {}) {
|
|
150
|
+
const missing = [];
|
|
151
|
+
const path = fn(params, missing);
|
|
152
|
+
if (missing.length) {
|
|
153
|
+
throw new TypeError(`Missing parameters: ${missing.join(", ")}`);
|
|
154
|
+
}
|
|
155
|
+
return path;
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
function tokensToFunction(tokens, delimiter, encode) {
|
|
159
|
+
const encoders = tokens.map((token) => tokenToFunction(token, delimiter, encode));
|
|
160
|
+
return (data, missing) => {
|
|
161
|
+
let result = "";
|
|
162
|
+
for (const encoder of encoders) {
|
|
163
|
+
result += encoder(data, missing);
|
|
164
|
+
}
|
|
165
|
+
return result;
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Convert a single token into a path building function.
|
|
170
|
+
*/
|
|
171
|
+
function tokenToFunction(token, delimiter, encode) {
|
|
172
|
+
if (token.type === "text")
|
|
173
|
+
return () => token.value;
|
|
174
|
+
if (token.type === "group") {
|
|
175
|
+
const fn = tokensToFunction(token.tokens, delimiter, encode);
|
|
176
|
+
return (data, missing) => {
|
|
177
|
+
const len = missing.length;
|
|
178
|
+
const value = fn(data, missing);
|
|
179
|
+
if (missing.length === len)
|
|
180
|
+
return value;
|
|
181
|
+
missing.length = len; // Reset optional group.
|
|
182
|
+
return "";
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
const encodeValue = encode || NOOP_VALUE;
|
|
186
|
+
if (token.type === "wildcard" && encode !== false) {
|
|
187
|
+
return (data, missing) => {
|
|
188
|
+
const value = data[token.name];
|
|
189
|
+
if (value == null) {
|
|
190
|
+
missing.push(token.name);
|
|
191
|
+
return "";
|
|
192
|
+
}
|
|
193
|
+
if (!Array.isArray(value) || value.length === 0) {
|
|
194
|
+
throw new TypeError(`Expected "${token.name}" to be a non-empty array`);
|
|
195
|
+
}
|
|
196
|
+
let result = "";
|
|
197
|
+
for (let i = 0; i < value.length; i++) {
|
|
198
|
+
if (typeof value[i] !== "string") {
|
|
199
|
+
throw new TypeError(`Expected "${token.name}/${i}" to be a string`);
|
|
200
|
+
}
|
|
201
|
+
if (i > 0)
|
|
202
|
+
result += delimiter;
|
|
203
|
+
result += encodeValue(value[i]);
|
|
204
|
+
}
|
|
205
|
+
return result;
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
return (data, missing) => {
|
|
209
|
+
const value = data[token.name];
|
|
210
|
+
if (value == null) {
|
|
211
|
+
missing.push(token.name);
|
|
212
|
+
return "";
|
|
213
|
+
}
|
|
214
|
+
if (typeof value !== "string") {
|
|
215
|
+
throw new TypeError(`Expected "${token.name}" to be a string`);
|
|
216
|
+
}
|
|
217
|
+
return encodeValue(value);
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* Transform a path into a match function.
|
|
222
|
+
*/
|
|
223
|
+
function match(path, options = {}) {
|
|
224
|
+
const { decode = decodeURIComponent, delimiter = DEFAULT_DELIMITER } = options;
|
|
225
|
+
const { regexp, keys } = pathToRegexp(path, options);
|
|
226
|
+
const decoders = keys.map((key) => {
|
|
227
|
+
if (decode === false)
|
|
228
|
+
return NOOP_VALUE;
|
|
229
|
+
if (key.type === "param")
|
|
230
|
+
return decode;
|
|
231
|
+
return (value) => value.split(delimiter).map(decode);
|
|
232
|
+
});
|
|
233
|
+
return function match(input) {
|
|
234
|
+
const m = regexp.exec(input);
|
|
235
|
+
if (!m)
|
|
236
|
+
return false;
|
|
237
|
+
const path = m[0];
|
|
238
|
+
const params = Object.create(null);
|
|
239
|
+
for (let i = 1; i < m.length; i++) {
|
|
240
|
+
if (m[i] === undefined)
|
|
241
|
+
continue;
|
|
242
|
+
const key = keys[i - 1];
|
|
243
|
+
const decoder = decoders[i - 1];
|
|
244
|
+
params[key.name] = decoder(m[i]);
|
|
245
|
+
}
|
|
246
|
+
return { path, params };
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* Transform a path into a regular expression and capture keys.
|
|
251
|
+
*/
|
|
252
|
+
function pathToRegexp(path, options = {}) {
|
|
253
|
+
const { delimiter = DEFAULT_DELIMITER, end = true, sensitive = false, trailing = true, } = options;
|
|
254
|
+
const keys = [];
|
|
255
|
+
let source = "";
|
|
256
|
+
let combinations = 0;
|
|
257
|
+
function process(path) {
|
|
258
|
+
if (Array.isArray(path)) {
|
|
259
|
+
for (const p of path)
|
|
260
|
+
process(p);
|
|
261
|
+
return;
|
|
262
|
+
}
|
|
263
|
+
const data = typeof path === "object" ? path : parse(path, options);
|
|
264
|
+
flatten(data.tokens, 0, [], (tokens) => {
|
|
265
|
+
if (combinations >= 256) {
|
|
266
|
+
throw new PathError("Too many path combinations", data.originalPath);
|
|
267
|
+
}
|
|
268
|
+
if (combinations > 0)
|
|
269
|
+
source += "|";
|
|
270
|
+
source += toRegExpSource(tokens, delimiter, keys, data.originalPath);
|
|
271
|
+
combinations++;
|
|
272
|
+
});
|
|
273
|
+
}
|
|
274
|
+
process(path);
|
|
275
|
+
let pattern = `^(?:${source})`;
|
|
276
|
+
if (trailing)
|
|
277
|
+
pattern += "(?:" + escape(delimiter) + "$)?";
|
|
278
|
+
pattern += end ? "$" : "(?=" + escape(delimiter) + "|$)";
|
|
279
|
+
return { regexp: new RegExp(pattern, sensitive ? "" : "i"), keys };
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* Generate a flat list of sequence tokens from the given tokens.
|
|
283
|
+
*/
|
|
284
|
+
function flatten(tokens, index, result, callback) {
|
|
285
|
+
while (index < tokens.length) {
|
|
286
|
+
const token = tokens[index++];
|
|
287
|
+
if (token.type === "group") {
|
|
288
|
+
const len = result.length;
|
|
289
|
+
flatten(token.tokens, 0, result, (seq) => flatten(tokens, index, seq, callback));
|
|
290
|
+
result.length = len;
|
|
291
|
+
continue;
|
|
292
|
+
}
|
|
293
|
+
result.push(token);
|
|
294
|
+
}
|
|
295
|
+
callback(result);
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* Transform a flat sequence of tokens into a regular expression.
|
|
299
|
+
*/
|
|
300
|
+
function toRegExpSource(tokens, delimiter, keys, originalPath) {
|
|
301
|
+
let result = "";
|
|
302
|
+
let backtrack = "";
|
|
303
|
+
let wildcardBacktrack = "";
|
|
304
|
+
let prevCaptureType = 0;
|
|
305
|
+
let hasSegmentCapture = 0;
|
|
306
|
+
let index = 0;
|
|
307
|
+
function hasInSegment(index, type) {
|
|
308
|
+
while (index < tokens.length) {
|
|
309
|
+
const token = tokens[index++];
|
|
310
|
+
if (token.type === type)
|
|
311
|
+
return true;
|
|
312
|
+
if (token.type === "text") {
|
|
313
|
+
if (token.value.includes(delimiter))
|
|
314
|
+
break;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
return false;
|
|
318
|
+
}
|
|
319
|
+
function peekText(index) {
|
|
320
|
+
let result = "";
|
|
321
|
+
while (index < tokens.length) {
|
|
322
|
+
const token = tokens[index++];
|
|
323
|
+
if (token.type !== "text")
|
|
324
|
+
break;
|
|
325
|
+
result += token.value;
|
|
326
|
+
}
|
|
327
|
+
return result;
|
|
328
|
+
}
|
|
329
|
+
while (index < tokens.length) {
|
|
330
|
+
const token = tokens[index++];
|
|
331
|
+
if (token.type === "text") {
|
|
332
|
+
result += escape(token.value);
|
|
333
|
+
backtrack += token.value;
|
|
334
|
+
if (prevCaptureType === 2)
|
|
335
|
+
wildcardBacktrack += token.value;
|
|
336
|
+
if (token.value.includes(delimiter))
|
|
337
|
+
hasSegmentCapture = 0;
|
|
338
|
+
continue;
|
|
339
|
+
}
|
|
340
|
+
if (token.type === "param" || token.type === "wildcard") {
|
|
341
|
+
if (prevCaptureType && !backtrack) {
|
|
342
|
+
throw new PathError(`Missing text before "${token.name}" ${token.type}`, originalPath);
|
|
343
|
+
}
|
|
344
|
+
if (token.type === "param") {
|
|
345
|
+
result +=
|
|
346
|
+
hasSegmentCapture & 2 // Seen wildcard in segment.
|
|
347
|
+
? `(${negate(delimiter, backtrack)}+)`
|
|
348
|
+
: hasInSegment(index, "wildcard") // See wildcard later in segment.
|
|
349
|
+
? `(${negate(delimiter, peekText(index))}+)`
|
|
350
|
+
: hasSegmentCapture & 1 // Seen parameter in segment.
|
|
351
|
+
? `(${negate(delimiter, backtrack)}+|${escape(backtrack)})`
|
|
352
|
+
: `(${negate(delimiter, "")}+)`;
|
|
353
|
+
hasSegmentCapture |= prevCaptureType = 1;
|
|
354
|
+
}
|
|
355
|
+
else {
|
|
356
|
+
result +=
|
|
357
|
+
hasSegmentCapture & 2 // Seen wildcard in segment.
|
|
358
|
+
? `(${negate(backtrack, "")}+)`
|
|
359
|
+
: wildcardBacktrack // No capture in segment, seen wildcard in path.
|
|
360
|
+
? `(${negate(wildcardBacktrack, "")}+|${negate(delimiter, "")}+)`
|
|
361
|
+
: `([^]+)`;
|
|
362
|
+
wildcardBacktrack = "";
|
|
363
|
+
hasSegmentCapture |= prevCaptureType = 2;
|
|
364
|
+
}
|
|
365
|
+
keys.push(token);
|
|
366
|
+
backtrack = "";
|
|
367
|
+
continue;
|
|
368
|
+
}
|
|
369
|
+
throw new TypeError(`Unknown token type: ${token.type}`);
|
|
370
|
+
}
|
|
371
|
+
return result;
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* Block backtracking on previous text/delimiter.
|
|
375
|
+
*/
|
|
376
|
+
function negate(a, b) {
|
|
377
|
+
if (b.length > a.length)
|
|
378
|
+
return negate(b, a); // Longest string first.
|
|
379
|
+
if (a === b)
|
|
380
|
+
b = ""; // Cleaner regex strings, no duplication.
|
|
381
|
+
if (b.length > 1)
|
|
382
|
+
return `(?:(?!${escape(a)}|${escape(b)})[^])`;
|
|
383
|
+
if (a.length > 1)
|
|
384
|
+
return `(?:(?!${escape(a)})[^${escape(b)}])`;
|
|
385
|
+
return `[^${escape(a + b)}]`;
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* Stringify an array of tokens into a path string.
|
|
389
|
+
*/
|
|
390
|
+
function stringifyTokens(tokens, index) {
|
|
391
|
+
let value = "";
|
|
392
|
+
while (index < tokens.length) {
|
|
393
|
+
const token = tokens[index++];
|
|
394
|
+
if (token.type === "text") {
|
|
395
|
+
value += escapeText(token.value);
|
|
396
|
+
continue;
|
|
397
|
+
}
|
|
398
|
+
if (token.type === "group") {
|
|
399
|
+
value += "{" + stringifyTokens(token.tokens, 0) + "}";
|
|
400
|
+
continue;
|
|
401
|
+
}
|
|
402
|
+
if (token.type === "param") {
|
|
403
|
+
value += ":" + stringifyName(token.name, tokens[index]);
|
|
404
|
+
continue;
|
|
405
|
+
}
|
|
406
|
+
if (token.type === "wildcard") {
|
|
407
|
+
value += "*" + stringifyName(token.name, tokens[index]);
|
|
408
|
+
continue;
|
|
409
|
+
}
|
|
410
|
+
throw new TypeError(`Unknown token type: ${token.type}`);
|
|
411
|
+
}
|
|
412
|
+
return value;
|
|
413
|
+
}
|
|
414
|
+
/**
|
|
415
|
+
* Stringify token data into a path string.
|
|
416
|
+
*/
|
|
417
|
+
function stringify(data) {
|
|
418
|
+
return stringifyTokens(data.tokens, 0);
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* Stringify a parameter name, escaping when it cannot be emitted directly.
|
|
422
|
+
*/
|
|
423
|
+
function stringifyName(name, next) {
|
|
424
|
+
if (!ID.test(name))
|
|
425
|
+
return JSON.stringify(name);
|
|
426
|
+
if ((next === null || next === void 0 ? void 0 : next.type) === "text" && ID_CONTINUE.test(next.value[0])) {
|
|
427
|
+
return JSON.stringify(name);
|
|
428
|
+
}
|
|
429
|
+
return name;
|
|
430
|
+
}
|
|
431
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAqJA,sBAiHC;AAKD,0BAmBC;AA2HD,sBA+BC;AAKD,oCAuCC;AAyKD,8BAEC;AA/oBD,MAAM,iBAAiB,GAAG,GAAG,CAAC;AAC9B,MAAM,UAAU,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,KAAK,CAAC;AAC5C,MAAM,QAAQ,GAAG,qBAAqB,CAAC;AACvC,MAAM,WAAW,GAAG,mCAAmC,CAAC;AACxD,MAAM,EAAE,GAAG,oDAAoD,CAAC;AAwDhE;;GAEG;AACH,SAAS,UAAU,CAAC,GAAW;IAC7B,OAAO,GAAG,CAAC,OAAO,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;AACnD,CAAC;AAED;;GAEG;AACH,SAAS,MAAM,CAAC,GAAW;IACzB,OAAO,GAAG,CAAC,OAAO,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;AACrD,CAAC;AAiDD;;GAEG;AACH,MAAa,SAAS;IACpB,YACkB,MAAe,EACf,YAAqB;QADrB,WAAM,GAAN,MAAM,CAAS;QACf,iBAAY,GAAZ,YAAY,CAAS;IACpC,CAAC;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KAAK,CAAC,CAAC,CAAC;YACxD,SAAS;QACX,CAAC;QAED,MAAM,IAAI,SAAS,CAAC,uBAAwB,KAAa,CAAC,IAAI,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAe;IACvC,OAAO,eAAe,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AACzC,CAAC;AAED;;GAEG;AACH,SAAS,aAAa,CAAC,IAAY,EAAE,IAAuB;IAC1D,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAEhD,IAAI,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,MAAK,MAAM,IAAI,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC7D,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC","sourcesContent":["const DEFAULT_DELIMITER = \"/\";\nconst NOOP_VALUE = (value: string) => value;\nconst ID_START = /^[$_\\p{ID_Start}]$/u;\nconst ID_CONTINUE = /^[$\\u200c\\u200d\\p{ID_Continue}]$/u;\nconst ID = /^[$_\\p{ID_Start}][$\\u200c\\u200d\\p{ID_Continue}]*$/u;\n\n/**\n * Encode a string into another string.\n */\nexport type Encode = (value: string) => string;\n\n/**\n * Decode a string into another string.\n */\nexport type Decode = (value: string) => string;\n\nexport interface ParseOptions {\n /**\n * A function for encoding input strings.\n */\n encodePath?: Encode;\n}\n\nexport interface PathToRegexpOptions {\n /**\n * Matches the path completely without trailing characters. (default: `true`)\n */\n end?: boolean;\n /**\n * Allows optional trailing delimiter to match. (default: `true`)\n */\n trailing?: boolean;\n /**\n * Match will be case sensitive. (default: `false`)\n */\n sensitive?: boolean;\n /**\n * The default delimiter for segments. (default: `'/'`)\n */\n delimiter?: string;\n}\n\nexport interface MatchOptions extends PathToRegexpOptions {\n /**\n * Function for decoding strings for params, or `false` to disable entirely. (default: `decodeURIComponent`)\n */\n decode?: Decode | false;\n}\n\nexport interface CompileOptions {\n /**\n * Function for encoding input strings for output into the path, or `false` to disable entirely. (default: `encodeURIComponent`)\n */\n encode?: Encode | false;\n /**\n * The default delimiter for segments. (default: `'/'`)\n */\n delimiter?: string;\n}\n\n/**\n * Escape text for stringify to path.\n */\nfunction escapeText(str: string) {\n return str.replace(/[{}()\\[\\]+?!:*\\\\]/g, \"\\\\$&\");\n}\n\n/**\n * Escape a regular expression string.\n */\nfunction escape(str: string) {\n return str.replace(/[.+*?^${}()[\\]|/\\\\]/g, \"\\\\$&\");\n}\n\n/**\n * Plain text.\n */\nexport interface Text {\n type: \"text\";\n value: string;\n}\n\n/**\n * A parameter designed to match arbitrary text within a segment.\n */\nexport interface Parameter {\n type: \"param\";\n name: string;\n}\n\n/**\n * A wildcard parameter designed to match multiple segments.\n */\nexport interface Wildcard {\n type: \"wildcard\";\n name: string;\n}\n\n/**\n * A set of possible tokens to expand when matching.\n */\nexport interface Group {\n type: \"group\";\n tokens: Token[];\n}\n\n/**\n * A token that corresponds with a regexp capture.\n */\nexport type Key = Parameter | Wildcard;\n\n/**\n * A sequence of `path-to-regexp` keys that match capturing groups.\n */\nexport type Keys = Array<Key>;\n\n/**\n * A sequence of path match characters.\n */\nexport type Token = Text | Parameter | Wildcard | Group;\n\n/**\n * Tokenized path instance.\n */\nexport class TokenData {\n constructor(\n public readonly tokens: Token[],\n public readonly originalPath?: string,\n ) {}\n}\n\n/**\n * ParseError is thrown when there is an error processing the path.\n */\nexport class PathError extends TypeError {\n constructor(\n message: string,\n public readonly originalPath: string | undefined,\n ) {\n let text = message;\n if (originalPath) text += `: ${originalPath}`;\n text += `; visit https://git.new/pathToRegexpError for info`;\n super(text);\n }\n}\n\n/**\n * Parse a string for the raw tokens.\n */\nexport function parse(str: string, options: ParseOptions = {}): TokenData {\n const { encodePath = NOOP_VALUE } = options;\n const chars = [...str];\n let index = 0;\n\n function consumeUntil(end: string): Token[] {\n const output: Token[] = [];\n let path = \"\";\n\n function writePath() {\n if (!path) return;\n output.push({\n type: \"text\",\n value: encodePath(path),\n });\n path = \"\";\n }\n\n while (index < chars.length) {\n const value = chars[index++];\n\n if (value === end) {\n writePath();\n return output;\n }\n\n if (value === \"\\\\\") {\n if (index === chars.length) {\n throw new PathError(`Unexpected end after \\\\ at index ${index}`, str);\n }\n\n path += chars[index++];\n continue;\n }\n\n if (value === \":\" || value === \"*\") {\n const type = value === \":\" ? \"param\" : \"wildcard\";\n let name = \"\";\n\n if (ID_START.test(chars[index])) {\n do {\n name += chars[index++];\n } while (ID_CONTINUE.test(chars[index]));\n } else if (chars[index] === '\"') {\n let quoteStart = index;\n\n while (index < chars.length) {\n if (chars[++index] === '\"') {\n index++;\n quoteStart = 0;\n break;\n }\n\n // Increment over escape characters.\n if (chars[index] === \"\\\\\") index++;\n\n name += chars[index];\n }\n\n if (quoteStart) {\n throw new PathError(\n `Unterminated quote at index ${quoteStart}`,\n str,\n );\n }\n }\n\n if (!name) {\n throw new PathError(`Missing parameter name at index ${index}`, str);\n }\n\n writePath();\n output.push({ type, name });\n continue;\n }\n\n if (value === \"{\") {\n writePath();\n output.push({\n type: \"group\",\n tokens: consumeUntil(\"}\"),\n });\n continue;\n }\n\n if (\n value === \"}\" ||\n value === \"(\" ||\n value === \")\" ||\n value === \"[\" ||\n value === \"]\" ||\n value === \"+\" ||\n value === \"?\" ||\n value === \"!\"\n ) {\n throw new PathError(`Unexpected ${value} at index ${index - 1}`, str);\n }\n\n path += value;\n }\n\n if (end) {\n throw new PathError(\n `Unexpected end at index ${index}, expected ${end}`,\n str,\n );\n }\n\n writePath();\n return output;\n }\n\n return new TokenData(consumeUntil(\"\"), str);\n}\n\n/**\n * Compile a string to a template function for the path.\n */\nexport function compile<P extends ParamData = ParamData>(\n path: Path,\n options: CompileOptions & ParseOptions = {},\n) {\n const { encode = encodeURIComponent, delimiter = DEFAULT_DELIMITER } =\n options;\n const data = typeof path === \"object\" ? path : parse(path, options);\n const fn = tokensToFunction(data.tokens, delimiter, encode);\n\n return function path(params: P = {} as P) {\n const missing: string[] = [];\n const path = fn(params, missing);\n\n if (missing.length) {\n throw new TypeError(`Missing parameters: ${missing.join(\", \")}`);\n }\n\n return path;\n };\n}\n\nexport type ParamData = Partial<Record<string, string | string[]>>;\nexport type PathFunction<P extends ParamData> = (data?: P) => string;\n\n/**\n * Internal path builder function.\n */\ntype TokenEncoder = (data: ParamData, missing: string[]) => string;\n\nfunction tokensToFunction(\n tokens: Token[],\n delimiter: string,\n encode: Encode | false,\n): TokenEncoder {\n const encoders = tokens.map((token) =>\n tokenToFunction(token, delimiter, encode),\n );\n\n return (data: ParamData, missing: string[]) => {\n let result = \"\";\n\n for (const encoder of encoders) {\n result += encoder(data, missing);\n }\n\n return result;\n };\n}\n\n/**\n * Convert a single token into a path building function.\n */\nfunction tokenToFunction(\n token: Token,\n delimiter: string,\n encode: Encode | false,\n): TokenEncoder {\n if (token.type === \"text\") return () => token.value;\n\n if (token.type === \"group\") {\n const fn = tokensToFunction(token.tokens, delimiter, encode);\n\n return (data, missing) => {\n const len = missing.length;\n const value = fn(data, missing);\n if (missing.length === len) return value;\n\n missing.length = len; // Reset optional group.\n return \"\";\n };\n }\n\n const encodeValue = encode || NOOP_VALUE;\n\n if (token.type === \"wildcard\" && encode !== false) {\n return (data, missing) => {\n const value = data[token.name];\n if (value == null) {\n missing.push(token.name);\n return \"\";\n }\n\n if (!Array.isArray(value) || value.length === 0) {\n throw new TypeError(`Expected \"${token.name}\" to be a non-empty array`);\n }\n\n let result = \"\";\n\n for (let i = 0; i < value.length; i++) {\n if (typeof value[i] !== \"string\") {\n throw new TypeError(`Expected \"${token.name}/${i}\" to be a string`);\n }\n\n if (i > 0) result += delimiter;\n result += encodeValue(value[i]);\n }\n\n return result;\n };\n }\n\n return (data, missing) => {\n const value = data[token.name];\n if (value == null) {\n missing.push(token.name);\n return \"\";\n }\n\n if (typeof value !== \"string\") {\n throw new TypeError(`Expected \"${token.name}\" to be a string`);\n }\n\n return encodeValue(value);\n };\n}\n\n/**\n * A match result contains data about the path match.\n */\nexport interface MatchResult<P extends ParamData> {\n path: string;\n params: P;\n}\n\n/**\n * A match is either `false` (no match) or a match result.\n */\nexport type Match<P extends ParamData> = false | MatchResult<P>;\n\n/**\n * The match function takes a string and returns whether it matched the path.\n */\nexport type MatchFunction<P extends ParamData> = (path: string) => Match<P>;\n\n/**\n * Supported path types.\n */\nexport type Path = string | TokenData;\n\n/**\n * Transform a path into a match function.\n */\nexport function match<P extends ParamData>(\n path: Path | Path[],\n options: MatchOptions & ParseOptions = {},\n): MatchFunction<P> {\n const { decode = decodeURIComponent, delimiter = DEFAULT_DELIMITER } =\n options;\n const { regexp, keys } = pathToRegexp(path, options);\n\n const decoders = keys.map((key) => {\n if (decode === false) return NOOP_VALUE;\n if (key.type === \"param\") return decode;\n return (value: string) => value.split(delimiter).map(decode);\n });\n\n return function match(input: string) {\n const m = regexp.exec(input);\n if (!m) return false;\n\n const path = m[0];\n const params = Object.create(null);\n\n for (let i = 1; i < m.length; i++) {\n if (m[i] === undefined) continue;\n\n const key = keys[i - 1];\n const decoder = decoders[i - 1];\n params[key.name] = decoder(m[i]);\n }\n\n return { path, params };\n };\n}\n\n/**\n * Transform a path into a regular expression and capture keys.\n */\nexport function pathToRegexp(\n path: Path | Path[],\n options: PathToRegexpOptions & ParseOptions = {},\n) {\n const {\n delimiter = DEFAULT_DELIMITER,\n end = true,\n sensitive = false,\n trailing = true,\n } = options;\n const keys: Keys = [];\n let source = \"\";\n let combinations = 0;\n\n function process(path: Path | Path[]) {\n if (Array.isArray(path)) {\n for (const p of path) process(p);\n return;\n }\n\n const data = typeof path === \"object\" ? path : parse(path, options);\n flatten(data.tokens, 0, [], (tokens) => {\n if (combinations >= 256) {\n throw new PathError(\"Too many path combinations\", data.originalPath);\n }\n\n if (combinations > 0) source += \"|\";\n source += toRegExpSource(tokens, delimiter, keys, data.originalPath);\n combinations++;\n });\n }\n\n process(path);\n\n let pattern = `^(?:${source})`;\n if (trailing) pattern += \"(?:\" + escape(delimiter) + \"$)?\";\n pattern += end ? \"$\" : \"(?=\" + escape(delimiter) + \"|$)\";\n\n return { regexp: new RegExp(pattern, sensitive ? \"\" : \"i\"), keys };\n}\n\n/**\n * Generate a flat list of sequence tokens from the given tokens.\n */\nfunction flatten(\n tokens: Token[],\n index: number,\n result: Exclude<Token, Group>[],\n callback: (result: Exclude<Token, Group>[]) => void,\n): void {\n while (index < tokens.length) {\n const token = tokens[index++];\n\n if (token.type === \"group\") {\n const len = result.length;\n flatten(token.tokens, 0, result, (seq) =>\n flatten(tokens, index, seq, callback),\n );\n result.length = len;\n continue;\n }\n\n result.push(token);\n }\n\n callback(result);\n}\n\n/**\n * Transform a flat sequence of tokens into a regular expression.\n */\nfunction toRegExpSource(\n tokens: Exclude<Token, Group>[],\n delimiter: string,\n keys: Keys,\n originalPath: string | undefined,\n): string {\n let result = \"\";\n let backtrack = \"\";\n let wildcardBacktrack = \"\";\n let prevCaptureType: 0 | 1 | 2 = 0;\n let hasSegmentCapture = 0;\n let index = 0;\n\n function hasInSegment(index: number, type: Token[\"type\"]) {\n while (index < tokens.length) {\n const token = tokens[index++];\n if (token.type === type) return true;\n if (token.type === \"text\") {\n if (token.value.includes(delimiter)) break;\n }\n }\n return false;\n }\n\n function peekText(index: number) {\n let result = \"\";\n while (index < tokens.length) {\n const token = tokens[index++];\n if (token.type !== \"text\") break;\n result += token.value;\n }\n return result;\n }\n\n while (index < tokens.length) {\n const token = tokens[index++];\n\n if (token.type === \"text\") {\n result += escape(token.value);\n backtrack += token.value;\n if (prevCaptureType === 2) wildcardBacktrack += token.value;\n if (token.value.includes(delimiter)) hasSegmentCapture = 0;\n continue;\n }\n\n if (token.type === \"param\" || token.type === \"wildcard\") {\n if (prevCaptureType && !backtrack) {\n throw new PathError(\n `Missing text before \"${token.name}\" ${token.type}`,\n originalPath,\n );\n }\n\n if (token.type === \"param\") {\n result +=\n hasSegmentCapture & 2 // Seen wildcard in segment.\n ? `(${negate(delimiter, backtrack)}+)`\n : hasInSegment(index, \"wildcard\") // See wildcard later in segment.\n ? `(${negate(delimiter, peekText(index))}+)`\n : hasSegmentCapture & 1 // Seen parameter in segment.\n ? `(${negate(delimiter, backtrack)}+|${escape(backtrack)})`\n : `(${negate(delimiter, \"\")}+)`;\n\n hasSegmentCapture |= prevCaptureType = 1;\n } else {\n result +=\n hasSegmentCapture & 2 // Seen wildcard in segment.\n ? `(${negate(backtrack, \"\")}+)`\n : wildcardBacktrack // No capture in segment, seen wildcard in path.\n ? `(${negate(wildcardBacktrack, \"\")}+|${negate(delimiter, \"\")}+)`\n : `([^]+)`;\n\n wildcardBacktrack = \"\";\n hasSegmentCapture |= prevCaptureType = 2;\n }\n\n keys.push(token);\n backtrack = \"\";\n continue;\n }\n\n throw new TypeError(`Unknown token type: ${(token as any).type}`);\n }\n\n return result;\n}\n\n/**\n * Block backtracking on previous text/delimiter.\n */\nfunction negate(a: string, b: string): string {\n if (b.length > a.length) return negate(b, a); // Longest string first.\n\n if (a === b) b = \"\"; // Cleaner regex strings, no duplication.\n if (b.length > 1) return `(?:(?!${escape(a)}|${escape(b)})[^])`;\n if (a.length > 1) return `(?:(?!${escape(a)})[^${escape(b)}])`;\n return `[^${escape(a + b)}]`;\n}\n\n/**\n * Stringify an array of tokens into a path string.\n */\nfunction stringifyTokens(tokens: Token[], index: number): string {\n let value = \"\";\n\n while (index < tokens.length) {\n const token = tokens[index++];\n\n if (token.type === \"text\") {\n value += escapeText(token.value);\n continue;\n }\n\n if (token.type === \"group\") {\n value += \"{\" + stringifyTokens(token.tokens, 0) + \"}\";\n continue;\n }\n\n if (token.type === \"param\") {\n value += \":\" + stringifyName(token.name, tokens[index]);\n continue;\n }\n\n if (token.type === \"wildcard\") {\n value += \"*\" + stringifyName(token.name, tokens[index]);\n continue;\n }\n\n throw new TypeError(`Unknown token type: ${(token as any).type}`);\n }\n\n return value;\n}\n\n/**\n * Stringify token data into a path string.\n */\nexport function stringify(data: TokenData): string {\n return stringifyTokens(data.tokens, 0);\n}\n\n/**\n * Stringify a parameter name, escaping when it cannot be emitted directly.\n */\nfunction stringifyName(name: string, next: Token | undefined): string {\n if (!ID.test(name)) return JSON.stringify(name);\n\n if (next?.type === \"text\" && ID_CONTINUE.test(next.value[0])) {\n return JSON.stringify(name);\n }\n\n return name;\n}\n"]}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "path-to-regexp",
|
|
3
|
+
"version": "8.4.2",
|
|
4
|
+
"description": "Express style path to RegExp utility",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"express",
|
|
7
|
+
"regexp",
|
|
8
|
+
"route",
|
|
9
|
+
"routing"
|
|
10
|
+
],
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/pillarjs/path-to-regexp.git"
|
|
14
|
+
},
|
|
15
|
+
"funding": {
|
|
16
|
+
"type": "opencollective",
|
|
17
|
+
"url": "https://opencollective.com/express"
|
|
18
|
+
},
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"exports": "./dist/index.js",
|
|
21
|
+
"main": "dist/index.js",
|
|
22
|
+
"typings": "dist/index.d.ts",
|
|
23
|
+
"files": [
|
|
24
|
+
"dist/"
|
|
25
|
+
],
|
|
26
|
+
"scripts": {
|
|
27
|
+
"bench": "vitest bench",
|
|
28
|
+
"build": "ts-scripts build",
|
|
29
|
+
"format": "ts-scripts format",
|
|
30
|
+
"lint": "ts-scripts lint",
|
|
31
|
+
"prepare": "ts-scripts install && npm run build",
|
|
32
|
+
"size": "size-limit",
|
|
33
|
+
"specs": "ts-scripts specs",
|
|
34
|
+
"test": "ts-scripts test && npm run size"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@borderless/ts-scripts": "^0.15.0",
|
|
38
|
+
"@size-limit/preset-small-lib": "^11.1.2",
|
|
39
|
+
"@types/node": "^22.7.2",
|
|
40
|
+
"@types/semver": "^7.3.1",
|
|
41
|
+
"@vitest/coverage-v8": "^3.0.5",
|
|
42
|
+
"recheck": "^4.5.0",
|
|
43
|
+
"size-limit": "^11.1.2",
|
|
44
|
+
"typescript": "^5.7.3",
|
|
45
|
+
"vitest": "^3.0.5"
|
|
46
|
+
},
|
|
47
|
+
"publishConfig": {
|
|
48
|
+
"access": "public"
|
|
49
|
+
},
|
|
50
|
+
"size-limit": [
|
|
51
|
+
{
|
|
52
|
+
"path": "dist/index.js",
|
|
53
|
+
"limit": "2 kB"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"ts-scripts": {
|
|
57
|
+
"dist": [
|
|
58
|
+
"dist"
|
|
59
|
+
],
|
|
60
|
+
"project": [
|
|
61
|
+
"tsconfig.build.json"
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017-present, Jon Schlinkert.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|