├── .env ├── .gitignore ├── config ├── custom-environment-variables.json └── default.json ├── controllers ├── login.controller.js ├── signup.controller.js └── students.controller.js ├── documentation └── swagger-doc.js ├── middleware └── protectRoutes.js ├── models ├── student.model.js └── user.model.js ├── node_modules ├── .bin │ ├── js-yaml │ ├── mime │ ├── nodemon │ ├── nodetouch │ ├── nopt │ ├── semver │ ├── swagger-jsdoc │ └── z-schema ├── .package-lock.json ├── @apidevtools │ ├── json-schema-ref-parser │ │ ├── LICENSE │ │ ├── README.md │ │ ├── lib │ │ │ ├── bundle.js │ │ │ ├── dereference.js │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── normalize-args.js │ │ │ ├── options.js │ │ │ ├── parse.js │ │ │ ├── parsers │ │ │ │ ├── binary.js │ │ │ │ ├── json.js │ │ │ │ ├── text.js │ │ │ │ └── yaml.js │ │ │ ├── pointer.js │ │ │ ├── ref.js │ │ │ ├── refs.js │ │ │ ├── resolve-external.js │ │ │ ├── resolvers │ │ │ │ ├── file.js │ │ │ │ └── http.js │ │ │ └── util │ │ │ │ ├── errors.js │ │ │ │ ├── plugins.js │ │ │ │ └── url.js │ │ └── package.json │ ├── openapi-schemas │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── lib │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── index.js.map │ │ │ ├── json-schema.d.ts │ │ │ ├── json-schema.js │ │ │ └── json-schema.js.map │ │ ├── package.json │ │ └── schemas │ │ │ ├── v1.2 │ │ │ ├── README.md │ │ │ ├── apiDeclaration.json │ │ │ ├── authorizationObject.json │ │ │ ├── dataType.json │ │ │ ├── dataTypeBase.json │ │ │ ├── infoObject.json │ │ │ ├── modelsObject.json │ │ │ ├── oauth2GrantType.json │ │ │ ├── operationObject.json │ │ │ ├── parameterObject.json │ │ │ ├── resourceListing.json │ │ │ └── resourceObject.json │ │ │ ├── v2.0 │ │ │ ├── README.md │ │ │ └── schema.json │ │ │ ├── v3.0 │ │ │ ├── README.md │ │ │ ├── schema.json │ │ │ └── schema.yaml │ │ │ └── v3.1 │ │ │ ├── README.md │ │ │ ├── dialect │ │ │ └── base.schema.json │ │ │ ├── meta │ │ │ └── base.schema.json │ │ │ ├── schema-base.json │ │ │ ├── schema-base.yaml │ │ │ ├── schema.json │ │ │ └── schema.yaml │ ├── swagger-methods │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── lib │ │ │ └── index.js │ │ └── package.json │ └── swagger-parser │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── lib │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── options.js │ │ ├── util.js │ │ └── validators │ │ │ ├── schema.js │ │ │ └── spec.js │ │ └── package.json ├── @hapi │ ├── hoek │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── lib │ │ │ ├── applyToDefaults.js │ │ │ ├── assert.js │ │ │ ├── bench.js │ │ │ ├── block.js │ │ │ ├── clone.js │ │ │ ├── contain.js │ │ │ ├── deepEqual.js │ │ │ ├── error.js │ │ │ ├── escapeHeaderAttribute.js │ │ │ ├── escapeHtml.js │ │ │ ├── escapeJson.js │ │ │ ├── escapeRegex.js │ │ │ ├── flatten.js │ │ │ ├── ignore.js │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── intersect.js │ │ │ ├── isPromise.js │ │ │ ├── merge.js │ │ │ ├── once.js │ │ │ ├── reach.js │ │ │ ├── reachTemplate.js │ │ │ ├── stringify.js │ │ │ ├── types.js │ │ │ ├── utils.js │ │ │ └── wait.js │ │ └── package.json │ └── topo │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── lib │ │ ├── index.d.ts │ │ └── index.js │ │ └── package.json ├── @jsdevtools │ └── ono │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── cjs │ │ ├── constructor.d.ts │ │ ├── constructor.js │ │ ├── constructor.js.map │ │ ├── extend-error.d.ts │ │ ├── extend-error.js │ │ ├── extend-error.js.map │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.js.map │ │ ├── isomorphic.browser.d.ts │ │ ├── isomorphic.browser.js │ │ ├── isomorphic.browser.js.map │ │ ├── isomorphic.node.d.ts │ │ ├── isomorphic.node.js │ │ ├── isomorphic.node.js.map │ │ ├── normalize.d.ts │ │ ├── normalize.js │ │ ├── normalize.js.map │ │ ├── singleton.d.ts │ │ ├── singleton.js │ │ ├── singleton.js.map │ │ ├── stack.d.ts │ │ ├── stack.js │ │ ├── stack.js.map │ │ ├── to-json.d.ts │ │ ├── to-json.js │ │ ├── to-json.js.map │ │ ├── types.d.ts │ │ ├── types.js │ │ └── types.js.map │ │ ├── esm │ │ ├── constructor.d.ts │ │ ├── constructor.js │ │ ├── constructor.js.map │ │ ├── extend-error.d.ts │ │ ├── extend-error.js │ │ ├── extend-error.js.map │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.js.map │ │ ├── isomorphic.browser.d.ts │ │ ├── isomorphic.browser.js │ │ ├── isomorphic.browser.js.map │ │ ├── isomorphic.node.d.ts │ │ ├── isomorphic.node.js │ │ ├── isomorphic.node.js.map │ │ ├── normalize.d.ts │ │ ├── normalize.js │ │ ├── normalize.js.map │ │ ├── singleton.d.ts │ │ ├── singleton.js │ │ ├── singleton.js.map │ │ ├── stack.d.ts │ │ ├── stack.js │ │ ├── stack.js.map │ │ ├── to-json.d.ts │ │ ├── to-json.js │ │ ├── to-json.js.map │ │ ├── types.d.ts │ │ ├── types.js │ │ └── types.js.map │ │ └── package.json ├── @mongodb-js │ └── saslprep │ │ ├── LICENSE │ │ ├── dist │ │ ├── .esm-wrapper.mjs │ │ ├── browser.d.ts │ │ ├── browser.d.ts.map │ │ ├── browser.js │ │ ├── browser.js.map │ │ ├── code-points-data-browser.d.ts │ │ ├── code-points-data-browser.d.ts.map │ │ ├── code-points-data-browser.js │ │ ├── code-points-data-browser.js.map │ │ ├── code-points-data.d.ts │ │ ├── code-points-data.d.ts.map │ │ ├── code-points-data.js │ │ ├── code-points-data.js.map │ │ ├── code-points-src.d.ts │ │ ├── code-points-src.d.ts.map │ │ ├── code-points-src.js │ │ ├── code-points-src.js.map │ │ ├── generate-code-points.d.ts │ │ ├── generate-code-points.d.ts.map │ │ ├── generate-code-points.js │ │ ├── generate-code-points.js.map │ │ ├── index.d.ts │ │ ├── index.d.ts.map │ │ ├── index.js │ │ ├── index.js.map │ │ ├── memory-code-points.d.ts │ │ ├── memory-code-points.d.ts.map │ │ ├── memory-code-points.js │ │ ├── memory-code-points.js.map │ │ ├── node.d.ts │ │ ├── node.d.ts.map │ │ ├── node.js │ │ ├── node.js.map │ │ ├── util.d.ts │ │ ├── util.d.ts.map │ │ ├── util.js │ │ └── util.js.map │ │ ├── package.json │ │ └── readme.md ├── @sideway │ ├── address │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── lib │ │ │ ├── decode.js │ │ │ ├── domain.js │ │ │ ├── email.js │ │ │ ├── errors.js │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── ip.js │ │ │ ├── tlds.js │ │ │ └── uri.js │ │ └── package.json │ ├── formula │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── lib │ │ │ ├── index.d.ts │ │ │ └── index.js │ │ └── package.json │ └── pinpoint │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── lib │ │ ├── index.d.ts │ │ └── index.js │ │ └── package.json ├── @types │ ├── json-schema │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.d.ts │ │ └── package.json │ ├── webidl-conversions │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.d.ts │ │ └── package.json │ └── whatwg-url │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.d.ts │ │ ├── lib │ │ ├── URL-impl.d.ts │ │ ├── URL.d.ts │ │ ├── URLSearchParams-impl.d.ts │ │ └── URLSearchParams.d.ts │ │ ├── package.json │ │ └── webidl2js-wrapper.d.ts ├── abbrev │ ├── LICENSE │ ├── README.md │ ├── abbrev.js │ └── package.json ├── accepts │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── anymatch │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ └── package.json ├── argparse │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── argparse.js │ ├── lib │ │ ├── sub.js │ │ └── textwrap.js │ └── package.json ├── array-flatten │ ├── LICENSE │ ├── README.md │ ├── array-flatten.js │ └── package.json ├── balanced-match │ ├── .github │ │ └── FUNDING.yml │ ├── LICENSE.md │ ├── README.md │ ├── index.js │ └── package.json ├── bcryptjs │ ├── .npmignore │ ├── .travis.yml │ ├── .vscode │ │ └── settings.json │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── bcrypt │ ├── bower.json │ ├── dist │ │ ├── README.md │ │ ├── bcrypt.js │ │ ├── bcrypt.min.js │ │ ├── bcrypt.min.js.gz │ │ └── bcrypt.min.map │ ├── externs │ │ ├── bcrypt.js │ │ └── minimal-env.js │ ├── index.js │ ├── package.json │ ├── scripts │ │ └── build.js │ ├── src │ │ ├── bcrypt.js │ │ ├── bcrypt │ │ │ ├── impl.js │ │ │ ├── prng │ │ │ │ ├── README.md │ │ │ │ ├── accum.js │ │ │ │ └── isaac.js │ │ │ ├── util.js │ │ │ └── util │ │ │ │ └── base64.js │ │ ├── bower.json │ │ └── wrap.js │ └── tests │ │ ├── quickbrown.txt │ │ └── suite.js ├── binary-extensions │ ├── binary-extensions.json │ ├── binary-extensions.json.d.ts │ ├── index.d.ts │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── body-parser │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── SECURITY.md │ ├── index.js │ ├── lib │ │ ├── read.js │ │ └── types │ │ │ ├── json.js │ │ │ ├── raw.js │ │ │ ├── text.js │ │ │ └── urlencoded.js │ └── package.json ├── brace-expansion │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── braces │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── compile.js │ │ ├── constants.js │ │ ├── expand.js │ │ ├── parse.js │ │ ├── stringify.js │ │ └── utils.js │ └── package.json ├── bson │ ├── LICENSE.md │ ├── README.md │ ├── bson.d.ts │ ├── etc │ │ └── prepare.js │ ├── lib │ │ ├── bson.bundle.js │ │ ├── bson.bundle.js.map │ │ ├── bson.cjs │ │ ├── bson.cjs.map │ │ ├── bson.mjs │ │ ├── bson.mjs.map │ │ ├── bson.rn.cjs │ │ └── bson.rn.cjs.map │ ├── package.json │ ├── src │ │ ├── binary.ts │ │ ├── bson.ts │ │ ├── bson_value.ts │ │ ├── code.ts │ │ ├── constants.ts │ │ ├── db_ref.ts │ │ ├── decimal128.ts │ │ ├── double.ts │ │ ├── error.ts │ │ ├── extended_json.ts │ │ ├── index.ts │ │ ├── int_32.ts │ │ ├── long.ts │ │ ├── max_key.ts │ │ ├── min_key.ts │ │ ├── objectid.ts │ │ ├── parser │ │ │ ├── calculate_size.ts │ │ │ ├── deserializer.ts │ │ │ ├── on_demand │ │ │ │ ├── index.ts │ │ │ │ └── parse_to_elements.ts │ │ │ ├── serializer.ts │ │ │ └── utils.ts │ │ ├── regexp.ts │ │ ├── symbol.ts │ │ ├── timestamp.ts │ │ ├── utils │ │ │ ├── byte_utils.ts │ │ │ ├── latin.ts │ │ │ ├── node_byte_utils.ts │ │ │ ├── number_utils.ts │ │ │ └── web_byte_utils.ts │ │ └── validate_utf8.ts │ └── vendor │ │ ├── base64 │ │ ├── LICENSE-MIT.txt │ │ ├── README.md │ │ ├── base64.js │ │ └── package.json │ │ └── text-encoding │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── index.js │ │ ├── lib │ │ ├── encoding-indexes.js │ │ └── encoding.js │ │ └── package.json ├── buffer-equal-constant-time │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE.txt │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── bytes │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ └── package.json ├── call-bind │ ├── .eslintignore │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── callBound.js │ ├── index.js │ ├── package.json │ └── test │ │ ├── callBound.js │ │ └── index.js ├── call-me-maybe │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── src │ │ ├── maybe.js │ │ └── next.js ├── chokidar │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── constants.js │ │ ├── fsevents-handler.js │ │ └── nodefs-handler.js │ ├── package.json │ └── types │ │ └── index.d.ts ├── colors │ ├── LICENSE │ ├── README.md │ ├── examples │ │ ├── normal-usage.js │ │ └── safe-string.js │ ├── index.d.ts │ ├── lib │ │ ├── colors.js │ │ ├── custom │ │ │ ├── trap.js │ │ │ └── zalgo.js │ │ ├── extendStringPrototype.js │ │ ├── index.js │ │ ├── maps │ │ │ ├── america.js │ │ │ ├── rainbow.js │ │ │ ├── random.js │ │ │ └── zebra.js │ │ ├── styles.js │ │ └── system │ │ │ ├── has-flag.js │ │ │ └── supports-colors.js │ ├── package.json │ ├── safe.d.ts │ ├── safe.js │ └── themes │ │ └── generic-logging.js ├── commander │ ├── CHANGELOG.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ ├── package.json │ └── typings │ │ └── index.d.ts ├── concat-map │ ├── .travis.yml │ ├── LICENSE │ ├── README.markdown │ ├── example │ │ └── map.js │ ├── index.js │ ├── package.json │ └── test │ │ └── map.js ├── content-disposition │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── content-type │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── cookie-signature │ ├── .npmignore │ ├── History.md │ ├── Readme.md │ ├── index.js │ └── package.json ├── cookie │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── SECURITY.md │ ├── index.js │ └── package.json ├── cors │ ├── CONTRIBUTING.md │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── lib │ │ └── index.js │ └── package.json ├── debug │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── src │ │ ├── browser.js │ │ ├── index.js │ │ └── node.js ├── define-data-property │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ ├── package.json │ ├── test │ │ └── index.js │ └── tsconfig.json ├── depd │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ ├── lib │ │ └── browser │ │ │ └── index.js │ └── package.json ├── destroy │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── doctrine │ ├── CHANGELOG.md │ ├── LICENSE │ ├── LICENSE.closure-compiler │ ├── LICENSE.esprima │ ├── README.md │ ├── lib │ │ ├── doctrine.js │ │ ├── typed.js │ │ └── utility.js │ └── package.json ├── dotenv │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README-es.md │ ├── README.md │ ├── config.d.ts │ ├── config.js │ ├── lib │ │ ├── cli-options.js │ │ ├── env-options.js │ │ ├── main.d.ts │ │ └── main.js │ └── package.json ├── ecdsa-sig-formatter │ ├── CODEOWNERS │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── src │ │ ├── ecdsa-sig-formatter.d.ts │ │ ├── ecdsa-sig-formatter.js │ │ └── param-bytes-for-alg.js ├── ee-first │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── encodeurl │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── es-define-property │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ ├── package.json │ ├── test │ │ └── index.js │ └── tsconfig.json ├── es-errors │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── eval.d.ts │ ├── eval.js │ ├── index.d.ts │ ├── index.js │ ├── package.json │ ├── range.d.ts │ ├── range.js │ ├── ref.d.ts │ ├── ref.js │ ├── syntax.d.ts │ ├── syntax.js │ ├── test │ │ └── index.js │ ├── tsconfig.json │ ├── type.d.ts │ ├── type.js │ ├── uri.d.ts │ └── uri.js ├── escape-html │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ └── package.json ├── esutils │ ├── LICENSE.BSD │ ├── README.md │ ├── lib │ │ ├── ast.js │ │ ├── code.js │ │ ├── keyword.js │ │ └── utils.js │ └── package.json ├── etag │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── express │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ ├── lib │ │ ├── application.js │ │ ├── express.js │ │ ├── middleware │ │ │ ├── init.js │ │ │ └── query.js │ │ ├── request.js │ │ ├── response.js │ │ ├── router │ │ │ ├── index.js │ │ │ ├── layer.js │ │ │ └── route.js │ │ ├── utils.js │ │ └── view.js │ └── package.json ├── fill-range │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── finalhandler │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── SECURITY.md │ ├── index.js │ └── package.json ├── forwarded │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── fresh │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── fs.realpath │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── old.js │ └── package.json ├── function-bind │ ├── .eslintrc │ ├── .github │ │ ├── FUNDING.yml │ │ └── SECURITY.md │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── implementation.js │ ├── index.js │ ├── package.json │ └── test │ │ ├── .eslintrc │ │ └── index.js ├── get-intrinsic │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ └── GetIntrinsic.js ├── glob-parent │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── glob │ ├── LICENSE │ ├── README.md │ ├── changelog.md │ ├── common.js │ ├── glob.js │ ├── package.json │ └── sync.js ├── gopd │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ └── index.js ├── has-flag │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── has-property-descriptors │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ └── index.js ├── has-proto │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ ├── package.json │ ├── test │ │ └── index.js │ └── tsconfig.json ├── has-symbols │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ ├── shams.js │ └── test │ │ ├── index.js │ │ ├── shams │ │ ├── core-js.js │ │ └── get-own-property-symbols.js │ │ └── tests.js ├── hasown │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ ├── package.json │ └── tsconfig.json ├── http-errors │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── iconv-lite │ ├── Changelog.md │ ├── LICENSE │ ├── README.md │ ├── encodings │ │ ├── dbcs-codec.js │ │ ├── dbcs-data.js │ │ ├── index.js │ │ ├── internal.js │ │ ├── sbcs-codec.js │ │ ├── sbcs-data-generated.js │ │ ├── sbcs-data.js │ │ ├── tables │ │ │ ├── big5-added.json │ │ │ ├── cp936.json │ │ │ ├── cp949.json │ │ │ ├── cp950.json │ │ │ ├── eucjp.json │ │ │ ├── gb18030-ranges.json │ │ │ ├── gbk-added.json │ │ │ └── shiftjis.json │ │ ├── utf16.js │ │ └── utf7.js │ ├── lib │ │ ├── bom-handling.js │ │ ├── extend-node.js │ │ ├── index.d.ts │ │ ├── index.js │ │ └── streams.js │ └── package.json ├── ignore-by-default │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── inflight │ ├── LICENSE │ ├── README.md │ ├── inflight.js │ └── package.json ├── inherits │ ├── LICENSE │ ├── README.md │ ├── inherits.js │ ├── inherits_browser.js │ └── package.json ├── ipaddr.js │ ├── LICENSE │ ├── README.md │ ├── ipaddr.min.js │ ├── lib │ │ ├── ipaddr.js │ │ └── ipaddr.js.d.ts │ └── package.json ├── is-binary-path │ ├── index.d.ts │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── is-extglob │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── is-glob │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── is-number │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── joi-password-complexity │ ├── CHANGELOG.md │ ├── README.md │ ├── lib │ │ ├── index.d.ts │ │ ├── index.es.js │ │ └── index.js │ └── package.json ├── joi │ ├── LICENSE.md │ ├── README.md │ ├── dist │ │ └── joi-browser.min.js │ ├── lib │ │ ├── annotate.js │ │ ├── base.js │ │ ├── cache.js │ │ ├── common.js │ │ ├── compile.js │ │ ├── errors.js │ │ ├── extend.js │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── manifest.js │ │ ├── messages.js │ │ ├── modify.js │ │ ├── ref.js │ │ ├── schemas.js │ │ ├── state.js │ │ ├── template.js │ │ ├── trace.js │ │ ├── types │ │ │ ├── alternatives.js │ │ │ ├── any.js │ │ │ ├── array.js │ │ │ ├── binary.js │ │ │ ├── boolean.js │ │ │ ├── date.js │ │ │ ├── function.js │ │ │ ├── keys.js │ │ │ ├── link.js │ │ │ ├── number.js │ │ │ ├── object.js │ │ │ ├── string.js │ │ │ └── symbol.js │ │ ├── validator.js │ │ └── values.js │ └── package.json ├── js-yaml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── js-yaml.js │ ├── dist │ │ ├── js-yaml.js │ │ ├── js-yaml.min.js │ │ └── js-yaml.mjs │ ├── index.js │ ├── lib │ │ ├── common.js │ │ ├── dumper.js │ │ ├── exception.js │ │ ├── loader.js │ │ ├── schema.js │ │ ├── schema │ │ │ ├── core.js │ │ │ ├── default.js │ │ │ ├── failsafe.js │ │ │ └── json.js │ │ ├── snippet.js │ │ ├── type.js │ │ └── type │ │ │ ├── binary.js │ │ │ ├── bool.js │ │ │ ├── float.js │ │ │ ├── int.js │ │ │ ├── map.js │ │ │ ├── merge.js │ │ │ ├── null.js │ │ │ ├── omap.js │ │ │ ├── pairs.js │ │ │ ├── seq.js │ │ │ ├── set.js │ │ │ ├── str.js │ │ │ └── timestamp.js │ └── package.json ├── jsonwebtoken │ ├── LICENSE │ ├── README.md │ ├── decode.js │ ├── index.js │ ├── lib │ │ ├── JsonWebTokenError.js │ │ ├── NotBeforeError.js │ │ ├── TokenExpiredError.js │ │ ├── asymmetricKeyDetailsSupported.js │ │ ├── psSupported.js │ │ ├── rsaPssKeyDetailsSupported.js │ │ ├── timespan.js │ │ └── validateAsymmetricKey.js │ ├── node_modules │ │ └── ms │ │ │ ├── index.js │ │ │ ├── license.md │ │ │ ├── package.json │ │ │ └── readme.md │ ├── package.json │ ├── sign.js │ └── verify.js ├── jwa │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── jws │ ├── CHANGELOG.md │ ├── LICENSE │ ├── index.js │ ├── lib │ │ ├── data-stream.js │ │ ├── sign-stream.js │ │ ├── tostring.js │ │ └── verify-stream.js │ ├── package.json │ └── readme.md ├── kareem │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── SECURITY.md │ ├── index.d.ts │ ├── index.js │ └── package.json ├── lodash.get │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── lodash.includes │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── lodash.isboolean │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── lodash.isequal │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── lodash.isinteger │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── lodash.isnumber │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── lodash.isplainobject │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── lodash.isstring │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── lodash.mergewith │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── lodash.once │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── lru-cache │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── media-typer │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── memory-pager │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── merge-descriptors │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── methods │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── mime-db │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── db.json │ ├── index.js │ └── package.json ├── mime-types │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── mime │ ├── .npmignore │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── cli.js │ ├── mime.js │ ├── package.json │ ├── src │ │ ├── build.js │ │ └── test.js │ └── types.json ├── minimatch │ ├── LICENSE │ ├── README.md │ ├── minimatch.js │ └── package.json ├── mongodb-connection-string-url │ ├── .esm-wrapper.mjs │ ├── LICENSE │ ├── README.md │ ├── lib │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.js.map │ │ ├── redact.d.ts │ │ ├── redact.js │ │ └── redact.js.map │ └── package.json ├── mongodb │ ├── LICENSE.md │ ├── README.md │ ├── etc │ │ └── prepare.js │ ├── lib │ │ ├── admin.js │ │ ├── admin.js.map │ │ ├── bson.js │ │ ├── bson.js.map │ │ ├── bulk │ │ │ ├── common.js │ │ │ ├── common.js.map │ │ │ ├── ordered.js │ │ │ ├── ordered.js.map │ │ │ ├── unordered.js │ │ │ └── unordered.js.map │ │ ├── change_stream.js │ │ ├── change_stream.js.map │ │ ├── client-side-encryption │ │ │ ├── auto_encrypter.js │ │ │ ├── auto_encrypter.js.map │ │ │ ├── client_encryption.js │ │ │ ├── client_encryption.js.map │ │ │ ├── crypto_callbacks.js │ │ │ ├── crypto_callbacks.js.map │ │ │ ├── errors.js │ │ │ ├── errors.js.map │ │ │ ├── mongocryptd_manager.js │ │ │ ├── mongocryptd_manager.js.map │ │ │ ├── providers │ │ │ │ ├── aws.js │ │ │ │ ├── aws.js.map │ │ │ │ ├── azure.js │ │ │ │ ├── azure.js.map │ │ │ │ ├── gcp.js │ │ │ │ ├── gcp.js.map │ │ │ │ ├── index.js │ │ │ │ ├── index.js.map │ │ │ │ ├── utils.js │ │ │ │ └── utils.js.map │ │ │ ├── state_machine.js │ │ │ └── state_machine.js.map │ │ ├── cmap │ │ │ ├── auth │ │ │ │ ├── auth_provider.js │ │ │ │ ├── auth_provider.js.map │ │ │ │ ├── gssapi.js │ │ │ │ ├── gssapi.js.map │ │ │ │ ├── mongo_credentials.js │ │ │ │ ├── mongo_credentials.js.map │ │ │ │ ├── mongocr.js │ │ │ │ ├── mongocr.js.map │ │ │ │ ├── mongodb_aws.js │ │ │ │ ├── mongodb_aws.js.map │ │ │ │ ├── mongodb_oidc.js │ │ │ │ ├── mongodb_oidc.js.map │ │ │ │ ├── mongodb_oidc │ │ │ │ │ ├── aws_service_workflow.js │ │ │ │ │ ├── aws_service_workflow.js.map │ │ │ │ │ ├── azure_service_workflow.js │ │ │ │ │ ├── azure_service_workflow.js.map │ │ │ │ │ ├── azure_token_cache.js │ │ │ │ │ ├── azure_token_cache.js.map │ │ │ │ │ ├── cache.js │ │ │ │ │ ├── cache.js.map │ │ │ │ │ ├── callback_lock_cache.js │ │ │ │ │ ├── callback_lock_cache.js.map │ │ │ │ │ ├── callback_workflow.js │ │ │ │ │ ├── callback_workflow.js.map │ │ │ │ │ ├── service_workflow.js │ │ │ │ │ ├── service_workflow.js.map │ │ │ │ │ ├── token_entry_cache.js │ │ │ │ │ └── token_entry_cache.js.map │ │ │ │ ├── plain.js │ │ │ │ ├── plain.js.map │ │ │ │ ├── providers.js │ │ │ │ ├── providers.js.map │ │ │ │ ├── scram.js │ │ │ │ ├── scram.js.map │ │ │ │ ├── x509.js │ │ │ │ └── x509.js.map │ │ │ ├── command_monitoring_events.js │ │ │ ├── command_monitoring_events.js.map │ │ │ ├── commands.js │ │ │ ├── commands.js.map │ │ │ ├── connect.js │ │ │ ├── connect.js.map │ │ │ ├── connection.js │ │ │ ├── connection.js.map │ │ │ ├── connection_pool.js │ │ │ ├── connection_pool.js.map │ │ │ ├── connection_pool_events.js │ │ │ ├── connection_pool_events.js.map │ │ │ ├── errors.js │ │ │ ├── errors.js.map │ │ │ ├── handshake │ │ │ │ ├── client_metadata.js │ │ │ │ └── client_metadata.js.map │ │ │ ├── metrics.js │ │ │ ├── metrics.js.map │ │ │ ├── stream_description.js │ │ │ ├── stream_description.js.map │ │ │ └── wire_protocol │ │ │ │ ├── compression.js │ │ │ │ ├── compression.js.map │ │ │ │ ├── constants.js │ │ │ │ ├── constants.js.map │ │ │ │ ├── on_data.js │ │ │ │ ├── on_data.js.map │ │ │ │ ├── shared.js │ │ │ │ └── shared.js.map │ │ ├── collection.js │ │ ├── collection.js.map │ │ ├── connection_string.js │ │ ├── connection_string.js.map │ │ ├── constants.js │ │ ├── constants.js.map │ │ ├── cursor │ │ │ ├── abstract_cursor.js │ │ │ ├── abstract_cursor.js.map │ │ │ ├── aggregation_cursor.js │ │ │ ├── aggregation_cursor.js.map │ │ │ ├── change_stream_cursor.js │ │ │ ├── change_stream_cursor.js.map │ │ │ ├── find_cursor.js │ │ │ ├── find_cursor.js.map │ │ │ ├── list_collections_cursor.js │ │ │ ├── list_collections_cursor.js.map │ │ │ ├── list_indexes_cursor.js │ │ │ ├── list_indexes_cursor.js.map │ │ │ ├── list_search_indexes_cursor.js │ │ │ ├── list_search_indexes_cursor.js.map │ │ │ ├── run_command_cursor.js │ │ │ └── run_command_cursor.js.map │ │ ├── db.js │ │ ├── db.js.map │ │ ├── deps.js │ │ ├── deps.js.map │ │ ├── encrypter.js │ │ ├── encrypter.js.map │ │ ├── error.js │ │ ├── error.js.map │ │ ├── explain.js │ │ ├── explain.js.map │ │ ├── gridfs │ │ │ ├── download.js │ │ │ ├── download.js.map │ │ │ ├── index.js │ │ │ ├── index.js.map │ │ │ ├── upload.js │ │ │ └── upload.js.map │ │ ├── index.js │ │ ├── index.js.map │ │ ├── mongo_client.js │ │ ├── mongo_client.js.map │ │ ├── mongo_client_auth_providers.js │ │ ├── mongo_client_auth_providers.js.map │ │ ├── mongo_logger.js │ │ ├── mongo_logger.js.map │ │ ├── mongo_types.js │ │ ├── mongo_types.js.map │ │ ├── operations │ │ │ ├── aggregate.js │ │ │ ├── aggregate.js.map │ │ │ ├── bulk_write.js │ │ │ ├── bulk_write.js.map │ │ │ ├── collections.js │ │ │ ├── collections.js.map │ │ │ ├── command.js │ │ │ ├── command.js.map │ │ │ ├── common_functions.js │ │ │ ├── common_functions.js.map │ │ │ ├── count.js │ │ │ ├── count.js.map │ │ │ ├── count_documents.js │ │ │ ├── count_documents.js.map │ │ │ ├── create_collection.js │ │ │ ├── create_collection.js.map │ │ │ ├── delete.js │ │ │ ├── delete.js.map │ │ │ ├── distinct.js │ │ │ ├── distinct.js.map │ │ │ ├── drop.js │ │ │ ├── drop.js.map │ │ │ ├── estimated_document_count.js │ │ │ ├── estimated_document_count.js.map │ │ │ ├── execute_operation.js │ │ │ ├── execute_operation.js.map │ │ │ ├── find.js │ │ │ ├── find.js.map │ │ │ ├── find_and_modify.js │ │ │ ├── find_and_modify.js.map │ │ │ ├── get_more.js │ │ │ ├── get_more.js.map │ │ │ ├── indexes.js │ │ │ ├── indexes.js.map │ │ │ ├── insert.js │ │ │ ├── insert.js.map │ │ │ ├── is_capped.js │ │ │ ├── is_capped.js.map │ │ │ ├── kill_cursors.js │ │ │ ├── kill_cursors.js.map │ │ │ ├── list_collections.js │ │ │ ├── list_collections.js.map │ │ │ ├── list_databases.js │ │ │ ├── list_databases.js.map │ │ │ ├── operation.js │ │ │ ├── operation.js.map │ │ │ ├── options_operation.js │ │ │ ├── options_operation.js.map │ │ │ ├── profiling_level.js │ │ │ ├── profiling_level.js.map │ │ │ ├── remove_user.js │ │ │ ├── remove_user.js.map │ │ │ ├── rename.js │ │ │ ├── rename.js.map │ │ │ ├── run_command.js │ │ │ ├── run_command.js.map │ │ │ ├── search_indexes │ │ │ │ ├── create.js │ │ │ │ ├── create.js.map │ │ │ │ ├── drop.js │ │ │ │ ├── drop.js.map │ │ │ │ ├── update.js │ │ │ │ └── update.js.map │ │ │ ├── set_profiling_level.js │ │ │ ├── set_profiling_level.js.map │ │ │ ├── stats.js │ │ │ ├── stats.js.map │ │ │ ├── update.js │ │ │ ├── update.js.map │ │ │ ├── validate_collection.js │ │ │ └── validate_collection.js.map │ │ ├── read_concern.js │ │ ├── read_concern.js.map │ │ ├── read_preference.js │ │ ├── read_preference.js.map │ │ ├── sdam │ │ │ ├── common.js │ │ │ ├── common.js.map │ │ │ ├── events.js │ │ │ ├── events.js.map │ │ │ ├── monitor.js │ │ │ ├── monitor.js.map │ │ │ ├── server.js │ │ │ ├── server.js.map │ │ │ ├── server_description.js │ │ │ ├── server_description.js.map │ │ │ ├── server_selection.js │ │ │ ├── server_selection.js.map │ │ │ ├── server_selection_events.js │ │ │ ├── server_selection_events.js.map │ │ │ ├── srv_polling.js │ │ │ ├── srv_polling.js.map │ │ │ ├── topology.js │ │ │ ├── topology.js.map │ │ │ ├── topology_description.js │ │ │ └── topology_description.js.map │ │ ├── sessions.js │ │ ├── sessions.js.map │ │ ├── sort.js │ │ ├── sort.js.map │ │ ├── transactions.js │ │ ├── transactions.js.map │ │ ├── utils.js │ │ ├── utils.js.map │ │ ├── write_concern.js │ │ └── write_concern.js.map │ ├── mongodb.d.ts │ ├── package.json │ ├── src │ │ ├── admin.ts │ │ ├── bson.ts │ │ ├── bulk │ │ │ ├── common.ts │ │ │ ├── ordered.ts │ │ │ └── unordered.ts │ │ ├── change_stream.ts │ │ ├── client-side-encryption │ │ │ ├── auto_encrypter.ts │ │ │ ├── client_encryption.ts │ │ │ ├── crypto_callbacks.ts │ │ │ ├── errors.ts │ │ │ ├── mongocryptd_manager.ts │ │ │ ├── providers │ │ │ │ ├── aws.ts │ │ │ │ ├── azure.ts │ │ │ │ ├── gcp.ts │ │ │ │ ├── index.ts │ │ │ │ └── utils.ts │ │ │ └── state_machine.ts │ │ ├── cmap │ │ │ ├── auth │ │ │ │ ├── auth_provider.ts │ │ │ │ ├── gssapi.ts │ │ │ │ ├── mongo_credentials.ts │ │ │ │ ├── mongocr.ts │ │ │ │ ├── mongodb_aws.ts │ │ │ │ ├── mongodb_oidc.ts │ │ │ │ ├── mongodb_oidc │ │ │ │ │ ├── aws_service_workflow.ts │ │ │ │ │ ├── azure_service_workflow.ts │ │ │ │ │ ├── azure_token_cache.ts │ │ │ │ │ ├── cache.ts │ │ │ │ │ ├── callback_lock_cache.ts │ │ │ │ │ ├── callback_workflow.ts │ │ │ │ │ ├── service_workflow.ts │ │ │ │ │ └── token_entry_cache.ts │ │ │ │ ├── plain.ts │ │ │ │ ├── providers.ts │ │ │ │ ├── scram.ts │ │ │ │ └── x509.ts │ │ │ ├── command_monitoring_events.ts │ │ │ ├── commands.ts │ │ │ ├── connect.ts │ │ │ ├── connection.ts │ │ │ ├── connection_pool.ts │ │ │ ├── connection_pool_events.ts │ │ │ ├── errors.ts │ │ │ ├── handshake │ │ │ │ └── client_metadata.ts │ │ │ ├── metrics.ts │ │ │ ├── stream_description.ts │ │ │ └── wire_protocol │ │ │ │ ├── compression.ts │ │ │ │ ├── constants.ts │ │ │ │ ├── on_data.ts │ │ │ │ └── shared.ts │ │ ├── collection.ts │ │ ├── connection_string.ts │ │ ├── constants.ts │ │ ├── cursor │ │ │ ├── abstract_cursor.ts │ │ │ ├── aggregation_cursor.ts │ │ │ ├── change_stream_cursor.ts │ │ │ ├── find_cursor.ts │ │ │ ├── list_collections_cursor.ts │ │ │ ├── list_indexes_cursor.ts │ │ │ ├── list_search_indexes_cursor.ts │ │ │ └── run_command_cursor.ts │ │ ├── db.ts │ │ ├── deps.ts │ │ ├── encrypter.ts │ │ ├── error.ts │ │ ├── explain.ts │ │ ├── gridfs │ │ │ ├── download.ts │ │ │ ├── index.ts │ │ │ └── upload.ts │ │ ├── index.ts │ │ ├── mongo_client.ts │ │ ├── mongo_client_auth_providers.ts │ │ ├── mongo_logger.ts │ │ ├── mongo_types.ts │ │ ├── operations │ │ │ ├── aggregate.ts │ │ │ ├── bulk_write.ts │ │ │ ├── collections.ts │ │ │ ├── command.ts │ │ │ ├── common_functions.ts │ │ │ ├── count.ts │ │ │ ├── count_documents.ts │ │ │ ├── create_collection.ts │ │ │ ├── delete.ts │ │ │ ├── distinct.ts │ │ │ ├── drop.ts │ │ │ ├── estimated_document_count.ts │ │ │ ├── execute_operation.ts │ │ │ ├── find.ts │ │ │ ├── find_and_modify.ts │ │ │ ├── get_more.ts │ │ │ ├── indexes.ts │ │ │ ├── insert.ts │ │ │ ├── is_capped.ts │ │ │ ├── kill_cursors.ts │ │ │ ├── list_collections.ts │ │ │ ├── list_databases.ts │ │ │ ├── operation.ts │ │ │ ├── options_operation.ts │ │ │ ├── profiling_level.ts │ │ │ ├── remove_user.ts │ │ │ ├── rename.ts │ │ │ ├── run_command.ts │ │ │ ├── search_indexes │ │ │ │ ├── create.ts │ │ │ │ ├── drop.ts │ │ │ │ └── update.ts │ │ │ ├── set_profiling_level.ts │ │ │ ├── stats.ts │ │ │ ├── update.ts │ │ │ └── validate_collection.ts │ │ ├── read_concern.ts │ │ ├── read_preference.ts │ │ ├── sdam │ │ │ ├── common.ts │ │ │ ├── events.ts │ │ │ ├── monitor.ts │ │ │ ├── server.ts │ │ │ ├── server_description.ts │ │ │ ├── server_selection.ts │ │ │ ├── server_selection_events.ts │ │ │ ├── srv_polling.ts │ │ │ ├── topology.ts │ │ │ └── topology_description.ts │ │ ├── sessions.ts │ │ ├── sort.ts │ │ ├── transactions.ts │ │ ├── utils.ts │ │ └── write_concern.ts │ └── tsconfig.json ├── mongoose │ ├── LICENSE.md │ ├── README.md │ ├── SECURITY.md │ ├── browser.js │ ├── dist │ │ └── browser.umd.js │ ├── index.js │ ├── lib │ │ ├── aggregate.js │ │ ├── browser.js │ │ ├── browserDocument.js │ │ ├── cast.js │ │ ├── cast │ │ │ ├── bigint.js │ │ │ ├── boolean.js │ │ │ ├── date.js │ │ │ ├── decimal128.js │ │ │ ├── number.js │ │ │ ├── objectid.js │ │ │ └── string.js │ │ ├── collection.js │ │ ├── connection.js │ │ ├── connectionState.js │ │ ├── constants.js │ │ ├── cursor │ │ │ ├── aggregationCursor.js │ │ │ ├── changeStream.js │ │ │ └── queryCursor.js │ │ ├── document.js │ │ ├── documentProvider.js │ │ ├── driver.js │ │ ├── drivers │ │ │ ├── SPEC.md │ │ │ ├── browser │ │ │ │ ├── binary.js │ │ │ │ ├── decimal128.js │ │ │ │ ├── index.js │ │ │ │ └── objectid.js │ │ │ └── node-mongodb-native │ │ │ │ ├── collection.js │ │ │ │ ├── connection.js │ │ │ │ └── index.js │ │ ├── error │ │ │ ├── browserMissingSchema.js │ │ │ ├── bulkWriteError.js │ │ │ ├── cast.js │ │ │ ├── createCollectionsError.js │ │ │ ├── divergentArray.js │ │ │ ├── eachAsyncMultiError.js │ │ │ ├── index.js │ │ │ ├── invalidSchemaOption.js │ │ │ ├── messages.js │ │ │ ├── missingSchema.js │ │ │ ├── mongooseError.js │ │ │ ├── notFound.js │ │ │ ├── objectExpected.js │ │ │ ├── objectParameter.js │ │ │ ├── overwriteModel.js │ │ │ ├── parallelSave.js │ │ │ ├── parallelValidate.js │ │ │ ├── serverSelection.js │ │ │ ├── setOptionError.js │ │ │ ├── strict.js │ │ │ ├── strictPopulate.js │ │ │ ├── syncIndexes.js │ │ │ ├── validation.js │ │ │ ├── validator.js │ │ │ └── version.js │ │ ├── helpers │ │ │ ├── aggregate │ │ │ │ ├── prepareDiscriminatorPipeline.js │ │ │ │ └── stringifyFunctionOperators.js │ │ │ ├── arrayDepth.js │ │ │ ├── clone.js │ │ │ ├── common.js │ │ │ ├── cursor │ │ │ │ └── eachAsync.js │ │ │ ├── discriminator │ │ │ │ ├── applyEmbeddedDiscriminators.js │ │ │ │ ├── areDiscriminatorValuesEqual.js │ │ │ │ ├── checkEmbeddedDiscriminatorKeyProjection.js │ │ │ │ ├── getConstructor.js │ │ │ │ ├── getDiscriminatorByValue.js │ │ │ │ ├── getSchemaDiscriminatorByValue.js │ │ │ │ └── mergeDiscriminatorSchema.js │ │ │ ├── document │ │ │ │ ├── applyDefaults.js │ │ │ │ ├── cleanModifiedSubpaths.js │ │ │ │ ├── compile.js │ │ │ │ ├── getDeepestSubdocumentForPath.js │ │ │ │ ├── getEmbeddedDiscriminatorPath.js │ │ │ │ └── handleSpreadDoc.js │ │ │ ├── each.js │ │ │ ├── error │ │ │ │ └── combinePathErrors.js │ │ │ ├── firstKey.js │ │ │ ├── get.js │ │ │ ├── getConstructorName.js │ │ │ ├── getDefaultBulkwriteResult.js │ │ │ ├── getFunctionName.js │ │ │ ├── immediate.js │ │ │ ├── indexes │ │ │ │ ├── applySchemaCollation.js │ │ │ │ ├── decorateDiscriminatorIndexOptions.js │ │ │ │ ├── getRelatedIndexes.js │ │ │ │ ├── isDefaultIdIndex.js │ │ │ │ ├── isIndexEqual.js │ │ │ │ └── isTextIndex.js │ │ │ ├── isAsyncFunction.js │ │ │ ├── isBsonType.js │ │ │ ├── isMongooseObject.js │ │ │ ├── isObject.js │ │ │ ├── isPOJO.js │ │ │ ├── isPromise.js │ │ │ ├── isSimpleValidator.js │ │ │ ├── minimize.js │ │ │ ├── model │ │ │ │ ├── applyDefaultsToPOJO.js │ │ │ │ ├── applyHooks.js │ │ │ │ ├── applyMethods.js │ │ │ │ ├── applyStaticHooks.js │ │ │ │ ├── applyStatics.js │ │ │ │ ├── castBulkWrite.js │ │ │ │ ├── discriminator.js │ │ │ │ └── pushNestedArrayPaths.js │ │ │ ├── once.js │ │ │ ├── parallelLimit.js │ │ │ ├── path │ │ │ │ ├── parentPaths.js │ │ │ │ └── setDottedPath.js │ │ │ ├── pluralize.js │ │ │ ├── populate │ │ │ │ ├── assignRawDocsToIdStructure.js │ │ │ │ ├── assignVals.js │ │ │ │ ├── createPopulateQueryFilter.js │ │ │ │ ├── getModelsMapForPopulate.js │ │ │ │ ├── getSchemaTypes.js │ │ │ │ ├── getVirtual.js │ │ │ │ ├── leanPopulateMap.js │ │ │ │ ├── lookupLocalFields.js │ │ │ │ ├── markArraySubdocsPopulated.js │ │ │ │ ├── modelNamesFromRefPath.js │ │ │ │ ├── removeDeselectedForeignField.js │ │ │ │ ├── setPopulatedVirtualValue.js │ │ │ │ ├── skipPopulateValue.js │ │ │ │ └── validateRef.js │ │ │ ├── printJestWarning.js │ │ │ ├── processConnectionOptions.js │ │ │ ├── projection │ │ │ │ ├── applyProjection.js │ │ │ │ ├── hasIncludedChildren.js │ │ │ │ ├── isDefiningProjection.js │ │ │ │ ├── isExclusive.js │ │ │ │ ├── isInclusive.js │ │ │ │ ├── isNestedProjection.js │ │ │ │ ├── isPathExcluded.js │ │ │ │ ├── isPathSelectedInclusive.js │ │ │ │ ├── isSubpath.js │ │ │ │ └── parseProjection.js │ │ │ ├── promiseOrCallback.js │ │ │ ├── query │ │ │ │ ├── applyGlobalOption.js │ │ │ │ ├── cast$expr.js │ │ │ │ ├── castFilterPath.js │ │ │ │ ├── castUpdate.js │ │ │ │ ├── getEmbeddedDiscriminatorPath.js │ │ │ │ ├── handleImmutable.js │ │ │ │ ├── handleReadPreferenceAliases.js │ │ │ │ ├── hasDollarKeys.js │ │ │ │ ├── isOperator.js │ │ │ │ ├── sanitizeFilter.js │ │ │ │ ├── sanitizeProjection.js │ │ │ │ ├── selectPopulatedFields.js │ │ │ │ ├── trusted.js │ │ │ │ └── validOps.js │ │ │ ├── schema │ │ │ │ ├── addAutoId.js │ │ │ │ ├── applyBuiltinPlugins.js │ │ │ │ ├── applyPlugins.js │ │ │ │ ├── applyWriteConcern.js │ │ │ │ ├── cleanPositionalOperators.js │ │ │ │ ├── getIndexes.js │ │ │ │ ├── getKeysInSchemaOrder.js │ │ │ │ ├── getPath.js │ │ │ │ ├── getSubdocumentStrictValue.js │ │ │ │ ├── handleIdOption.js │ │ │ │ ├── handleTimestampOption.js │ │ │ │ ├── idGetter.js │ │ │ │ └── merge.js │ │ │ ├── schematype │ │ │ │ └── handleImmutable.js │ │ │ ├── setDefaultsOnInsert.js │ │ │ ├── specialProperties.js │ │ │ ├── symbols.js │ │ │ ├── timers.js │ │ │ ├── timestamps │ │ │ │ ├── setDocumentTimestamps.js │ │ │ │ └── setupTimestamps.js │ │ │ ├── topology │ │ │ │ ├── allServersUnknown.js │ │ │ │ ├── isAtlas.js │ │ │ │ └── isSSLError.js │ │ │ ├── update │ │ │ │ ├── applyTimestampsToChildren.js │ │ │ │ ├── applyTimestampsToUpdate.js │ │ │ │ ├── castArrayFilters.js │ │ │ │ ├── decorateUpdateWithVersionKey.js │ │ │ │ ├── modifiedPaths.js │ │ │ │ ├── moveImmutableProperties.js │ │ │ │ ├── removeUnusedArrayFilters.js │ │ │ │ └── updatedPathsByArrayFilter.js │ │ │ └── updateValidators.js │ │ ├── index.js │ │ ├── internal.js │ │ ├── model.js │ │ ├── mongoose.js │ │ ├── options.js │ │ ├── options │ │ │ ├── populateOptions.js │ │ │ ├── propertyOptions.js │ │ │ ├── saveOptions.js │ │ │ ├── schemaArrayOptions.js │ │ │ ├── schemaBufferOptions.js │ │ │ ├── schemaDateOptions.js │ │ │ ├── schemaDocumentArrayOptions.js │ │ │ ├── schemaMapOptions.js │ │ │ ├── schemaNumberOptions.js │ │ │ ├── schemaObjectIdOptions.js │ │ │ ├── schemaStringOptions.js │ │ │ ├── schemaSubdocumentOptions.js │ │ │ ├── schemaTypeOptions.js │ │ │ └── virtualOptions.js │ │ ├── plugins │ │ │ ├── index.js │ │ │ ├── saveSubdocs.js │ │ │ ├── sharding.js │ │ │ ├── trackTransaction.js │ │ │ └── validateBeforeSave.js │ │ ├── query.js │ │ ├── queryHelpers.js │ │ ├── schema.js │ │ ├── schema │ │ │ ├── array.js │ │ │ ├── bigint.js │ │ │ ├── boolean.js │ │ │ ├── buffer.js │ │ │ ├── date.js │ │ │ ├── decimal128.js │ │ │ ├── documentArray.js │ │ │ ├── documentArrayElement.js │ │ │ ├── index.js │ │ │ ├── map.js │ │ │ ├── mixed.js │ │ │ ├── number.js │ │ │ ├── objectId.js │ │ │ ├── operators │ │ │ │ ├── bitwise.js │ │ │ │ ├── exists.js │ │ │ │ ├── geospatial.js │ │ │ │ ├── helpers.js │ │ │ │ ├── text.js │ │ │ │ └── type.js │ │ │ ├── string.js │ │ │ ├── subdocument.js │ │ │ ├── symbols.js │ │ │ └── uuid.js │ │ ├── schemaType.js │ │ ├── stateMachine.js │ │ ├── types │ │ │ ├── array │ │ │ │ ├── index.js │ │ │ │ ├── isMongooseArray.js │ │ │ │ └── methods │ │ │ │ │ └── index.js │ │ │ ├── arraySubdocument.js │ │ │ ├── buffer.js │ │ │ ├── decimal128.js │ │ │ ├── documentArray │ │ │ │ ├── index.js │ │ │ │ ├── isMongooseDocumentArray.js │ │ │ │ └── methods │ │ │ │ │ └── index.js │ │ │ ├── index.js │ │ │ ├── map.js │ │ │ ├── objectid.js │ │ │ ├── subdocument.js │ │ │ └── uuid.js │ │ ├── utils.js │ │ ├── validOptions.js │ │ └── virtualType.js │ ├── node_modules │ │ └── ms │ │ │ ├── index.js │ │ │ ├── license.md │ │ │ ├── package.json │ │ │ └── readme.md │ ├── package.json │ └── types │ │ ├── aggregate.d.ts │ │ ├── augmentations.d.ts │ │ ├── callback.d.ts │ │ ├── collection.d.ts │ │ ├── connection.d.ts │ │ ├── cursor.d.ts │ │ ├── document.d.ts │ │ ├── error.d.ts │ │ ├── expressions.d.ts │ │ ├── helpers.d.ts │ │ ├── index.d.ts │ │ ├── indexes.d.ts │ │ ├── inferschematype.d.ts │ │ ├── middlewares.d.ts │ │ ├── models.d.ts │ │ ├── mongooseoptions.d.ts │ │ ├── pipelinestage.d.ts │ │ ├── populate.d.ts │ │ ├── query.d.ts │ │ ├── schemaoptions.d.ts │ │ ├── schematypes.d.ts │ │ ├── session.d.ts │ │ ├── types.d.ts │ │ ├── utility.d.ts │ │ ├── validation.d.ts │ │ └── virtuals.d.ts ├── mpath │ ├── .travis.yml │ ├── History.md │ ├── LICENSE │ ├── README.md │ ├── SECURITY.md │ ├── index.js │ ├── lib │ │ ├── index.js │ │ └── stringToParts.js │ ├── package.json │ └── test │ │ ├── .eslintrc.yml │ │ ├── index.js │ │ └── stringToParts.js ├── mquery │ ├── .github │ │ ├── ISSUE_TEMPLATE.md │ │ └── PULL_REQUEST_TEMPLATE.md │ ├── History.md │ ├── LICENSE │ ├── README.md │ ├── SECURITY.md │ ├── lib │ │ ├── collection │ │ │ ├── collection.js │ │ │ ├── index.js │ │ │ └── node.js │ │ ├── env.js │ │ ├── mquery.js │ │ ├── permissions.js │ │ └── utils.js │ └── package.json ├── ms │ ├── index.js │ ├── license.md │ ├── package.json │ └── readme.md ├── negotiator │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── charset.js │ │ ├── encoding.js │ │ ├── language.js │ │ └── mediaType.js │ └── package.json ├── nodemon │ ├── .prettierrc.json │ ├── LICENSE │ ├── README.md │ ├── bin │ │ ├── nodemon.js │ │ └── windows-kill.exe │ ├── doc │ │ └── cli │ │ │ ├── authors.txt │ │ │ ├── config.txt │ │ │ ├── help.txt │ │ │ ├── logo.txt │ │ │ ├── options.txt │ │ │ ├── topics.txt │ │ │ ├── usage.txt │ │ │ └── whoami.txt │ ├── lib │ │ ├── cli │ │ │ ├── index.js │ │ │ └── parse.js │ │ ├── config │ │ │ ├── command.js │ │ │ ├── defaults.js │ │ │ ├── exec.js │ │ │ ├── index.js │ │ │ └── load.js │ │ ├── help │ │ │ └── index.js │ │ ├── index.js │ │ ├── monitor │ │ │ ├── index.js │ │ │ ├── match.js │ │ │ ├── run.js │ │ │ ├── signals.js │ │ │ └── watch.js │ │ ├── nodemon.js │ │ ├── rules │ │ │ ├── add.js │ │ │ ├── index.js │ │ │ └── parse.js │ │ ├── spawn.js │ │ ├── utils │ │ │ ├── bus.js │ │ │ ├── clone.js │ │ │ ├── colour.js │ │ │ ├── index.js │ │ │ ├── log.js │ │ │ └── merge.js │ │ └── version.js │ └── package.json ├── nopt │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── nopt.js │ ├── examples │ │ └── my-program.js │ ├── lib │ │ └── nopt.js │ └── package.json ├── normalize-path │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── object-assign │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── object-inspect │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── example │ │ ├── all.js │ │ ├── circular.js │ │ ├── fn.js │ │ └── inspect.js │ ├── index.js │ ├── package-support.json │ ├── package.json │ ├── readme.markdown │ ├── test-core-js.js │ ├── test │ │ ├── bigint.js │ │ ├── browser │ │ │ └── dom.js │ │ ├── circular.js │ │ ├── deep.js │ │ ├── element.js │ │ ├── err.js │ │ ├── fakes.js │ │ ├── fn.js │ │ ├── global.js │ │ ├── has.js │ │ ├── holes.js │ │ ├── indent-option.js │ │ ├── inspect.js │ │ ├── lowbyte.js │ │ ├── number.js │ │ ├── quoteStyle.js │ │ ├── toStringTag.js │ │ ├── undef.js │ │ └── values.js │ └── util.inspect.js ├── on-finished │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── once │ ├── LICENSE │ ├── README.md │ ├── once.js │ └── package.json ├── openapi-types │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── dist │ │ ├── index.d.ts │ │ ├── index.js │ │ └── index.js.map │ └── package.json ├── parseurl │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── path-is-absolute │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── path-to-regexp │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ └── package.json ├── picomatch │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── constants.js │ │ ├── parse.js │ │ ├── picomatch.js │ │ ├── scan.js │ │ └── utils.js │ └── package.json ├── proxy-addr │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── pstree.remy │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── lib │ │ ├── index.js │ │ ├── tree.js │ │ └── utils.js │ ├── package.json │ └── tests │ │ ├── fixtures │ │ ├── index.js │ │ ├── out1 │ │ └── out2 │ │ └── index.test.js ├── punycode │ ├── LICENSE-MIT.txt │ ├── README.md │ ├── package.json │ ├── punycode.es6.js │ └── punycode.js ├── qs │ ├── .editorconfig │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── dist │ │ └── qs.js │ ├── lib │ │ ├── formats.js │ │ ├── index.js │ │ ├── parse.js │ │ ├── stringify.js │ │ └── utils.js │ ├── package.json │ └── test │ │ ├── parse.js │ │ ├── stringify.js │ │ └── utils.js ├── range-parser │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── raw-body │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── SECURITY.md │ ├── index.d.ts │ ├── index.js │ └── package.json ├── readdirp │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ └── package.json ├── safe-buffer │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ └── package.json ├── safer-buffer │ ├── LICENSE │ ├── Porting-Buffer.md │ ├── Readme.md │ ├── dangerous.js │ ├── package.json │ ├── safer.js │ └── tests.js ├── semver │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── semver.js │ ├── classes │ │ ├── comparator.js │ │ ├── index.js │ │ ├── range.js │ │ └── semver.js │ ├── functions │ │ ├── clean.js │ │ ├── cmp.js │ │ ├── coerce.js │ │ ├── compare-build.js │ │ ├── compare-loose.js │ │ ├── compare.js │ │ ├── diff.js │ │ ├── eq.js │ │ ├── gt.js │ │ ├── gte.js │ │ ├── inc.js │ │ ├── lt.js │ │ ├── lte.js │ │ ├── major.js │ │ ├── minor.js │ │ ├── neq.js │ │ ├── parse.js │ │ ├── patch.js │ │ ├── prerelease.js │ │ ├── rcompare.js │ │ ├── rsort.js │ │ ├── satisfies.js │ │ ├── sort.js │ │ └── valid.js │ ├── index.js │ ├── internal │ │ ├── constants.js │ │ ├── debug.js │ │ ├── identifiers.js │ │ ├── parse-options.js │ │ └── re.js │ ├── package.json │ ├── preload.js │ ├── range.bnf │ └── ranges │ │ ├── gtr.js │ │ ├── intersects.js │ │ ├── ltr.js │ │ ├── max-satisfying.js │ │ ├── min-satisfying.js │ │ ├── min-version.js │ │ ├── outside.js │ │ ├── simplify.js │ │ ├── subset.js │ │ ├── to-comparators.js │ │ └── valid.js ├── send │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── SECURITY.md │ ├── index.js │ ├── node_modules │ │ └── ms │ │ │ ├── index.js │ │ │ ├── license.md │ │ │ ├── package.json │ │ │ └── readme.md │ └── package.json ├── serve-static │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── set-function-length │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── env.d.ts │ ├── env.js │ ├── index.d.ts │ ├── index.js │ ├── package.json │ └── tsconfig.json ├── setprototypeof │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ ├── package.json │ └── test │ │ └── index.js ├── side-channel │ ├── .editorconfig │ ├── .eslintrc │ ├── .github │ │ └── FUNDING.yml │ ├── .nycrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ ├── package.json │ ├── test │ │ └── index.js │ └── tsconfig.json ├── sift │ ├── MIT-LICENSE.txt │ ├── README.md │ ├── es │ │ ├── index.js │ │ └── index.js.map │ ├── es5m │ │ ├── index.js │ │ └── index.js.map │ ├── index.d.ts │ ├── index.js │ ├── lib │ │ ├── core.d.ts │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.js.map │ │ ├── operations.d.ts │ │ └── utils.d.ts │ ├── package.json │ ├── sift.csp.min.js │ ├── sift.csp.min.js.map │ ├── sift.min.js │ ├── sift.min.js.map │ └── src │ │ ├── core.d.ts │ │ ├── core.js │ │ ├── core.js.map │ │ ├── core.ts │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.js.map │ │ ├── index.ts │ │ ├── operations.d.ts │ │ ├── operations.js │ │ ├── operations.js.map │ │ ├── operations.ts │ │ ├── utils.d.ts │ │ ├── utils.js │ │ ├── utils.js.map │ │ └── utils.ts ├── simple-update-notifier │ ├── LICENSE │ ├── README.md │ ├── build │ │ ├── index.d.ts │ │ └── index.js │ ├── package.json │ └── src │ │ ├── borderedText.ts │ │ ├── cache.spec.ts │ │ ├── cache.ts │ │ ├── getDistVersion.spec.ts │ │ ├── getDistVersion.ts │ │ ├── hasNewVersion.spec.ts │ │ ├── hasNewVersion.ts │ │ ├── index.spec.ts │ │ ├── index.ts │ │ ├── isNpmOrYarn.ts │ │ └── types.ts ├── sparse-bitfield │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── statuses │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── codes.json │ ├── index.js │ └── package.json ├── supports-color │ ├── browser.js │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── swagger-jsdoc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── swagger-jsdoc.js │ ├── docusaurus │ │ ├── .eslintrc.json │ │ ├── README.md │ │ ├── babel.config.js │ │ ├── docs │ │ │ └── intro.md │ │ ├── docusaurus.config.js │ │ ├── package.json │ │ ├── sidebars.js │ │ ├── src │ │ │ ├── css │ │ │ │ └── custom.css │ │ │ └── pages │ │ │ │ ├── index.js │ │ │ │ ├── index.module.css │ │ │ │ └── markdown-page.md │ │ ├── static │ │ │ ├── .nojekyll │ │ │ └── img │ │ │ │ ├── docusaurus.png │ │ │ │ ├── favicon.ico │ │ │ │ ├── logo.svg │ │ │ │ ├── screenshot.png │ │ │ │ ├── undraw_docusaurus_mountain.svg │ │ │ │ ├── undraw_docusaurus_react.svg │ │ │ │ └── undraw_docusaurus_tree.svg │ │ ├── versioned_docs │ │ │ ├── version-5.x │ │ │ │ ├── Contributing │ │ │ │ │ ├── contributing.md │ │ │ │ │ └── report-issues.md │ │ │ │ ├── cli.md │ │ │ │ ├── fundamental-concepts.md │ │ │ │ ├── installation.md │ │ │ │ ├── intro.md │ │ │ │ ├── quick-start.md │ │ │ │ └── validation.md │ │ │ ├── version-6.x │ │ │ │ ├── Contributing │ │ │ │ │ ├── _category_.json │ │ │ │ │ ├── fundamental-concepts.md │ │ │ │ │ ├── project-goals.md │ │ │ │ │ ├── reporting-issues.md │ │ │ │ │ └── typescript.md │ │ │ │ ├── Quick Start │ │ │ │ │ ├── _category_.json │ │ │ │ │ ├── cli.md │ │ │ │ │ └── first-steps.md │ │ │ │ └── intro.md │ │ │ └── version-7.x │ │ │ │ ├── Contributing │ │ │ │ ├── _category_.json │ │ │ │ ├── fundamental-concepts.md │ │ │ │ ├── project-goals.md │ │ │ │ ├── reporting-issues.md │ │ │ │ └── typescript.md │ │ │ │ ├── intro.md │ │ │ │ └── quick-start │ │ │ │ ├── _category_.json │ │ │ │ └── first-steps.md │ │ ├── versioned_sidebars │ │ │ ├── version-5.x-sidebars.json │ │ │ ├── version-6.x-sidebars.json │ │ │ └── version-7.x-sidebars.json │ │ ├── versions.json │ │ └── yarn.lock │ ├── index.js │ ├── package.json │ └── src │ │ ├── lib.js │ │ ├── specification.js │ │ └── utils.js ├── swagger-parser │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ └── package.json ├── swagger-ui-dist │ ├── LICENSE │ ├── NOTICE │ ├── README.md │ ├── absolute-path.js │ ├── favicon-16x16.png │ ├── favicon-32x32.png │ ├── index.css │ ├── index.html │ ├── index.js │ ├── oauth2-redirect.html │ ├── package.json │ ├── swagger-initializer.js │ ├── swagger-ui-bundle.js │ ├── swagger-ui-bundle.js.map │ ├── swagger-ui-es-bundle-core.js │ ├── swagger-ui-es-bundle-core.js.map │ ├── swagger-ui-es-bundle.js │ ├── swagger-ui-es-bundle.js.map │ ├── swagger-ui-standalone-preset.js │ ├── swagger-ui-standalone-preset.js.map │ ├── swagger-ui.css │ ├── swagger-ui.css.map │ ├── swagger-ui.js │ └── swagger-ui.js.map ├── swagger-ui-express │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── to-regex-range │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── toidentifier │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── touch │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── nodetouch.js │ ├── index.js │ └── package.json ├── tr46 │ ├── LICENSE.md │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── mappingTable.json │ │ ├── regexes.js │ │ └── statusMapping.js │ └── package.json ├── type-is │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── undefsafe │ ├── .github │ │ └── workflows │ │ │ └── release.yml │ ├── .jscsrc │ ├── .jshintrc │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── example.js │ ├── lib │ │ └── undefsafe.js │ └── package.json ├── unpipe │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── utils-merge │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── validator │ ├── LICENSE │ ├── README.md │ ├── es │ │ ├── index.js │ │ └── lib │ │ │ ├── alpha.js │ │ │ ├── blacklist.js │ │ │ ├── contains.js │ │ │ ├── equals.js │ │ │ ├── escape.js │ │ │ ├── isAfter.js │ │ │ ├── isAlpha.js │ │ │ ├── isAlphanumeric.js │ │ │ ├── isAscii.js │ │ │ ├── isBIC.js │ │ │ ├── isBase32.js │ │ │ ├── isBase58.js │ │ │ ├── isBase64.js │ │ │ ├── isBefore.js │ │ │ ├── isBoolean.js │ │ │ ├── isBtcAddress.js │ │ │ ├── isByteLength.js │ │ │ ├── isCreditCard.js │ │ │ ├── isCurrency.js │ │ │ ├── isDataURI.js │ │ │ ├── isDate.js │ │ │ ├── isDecimal.js │ │ │ ├── isDivisibleBy.js │ │ │ ├── isEAN.js │ │ │ ├── isEmail.js │ │ │ ├── isEmpty.js │ │ │ ├── isEthereumAddress.js │ │ │ ├── isFQDN.js │ │ │ ├── isFloat.js │ │ │ ├── isFullWidth.js │ │ │ ├── isHSL.js │ │ │ ├── isHalfWidth.js │ │ │ ├── isHash.js │ │ │ ├── isHexColor.js │ │ │ ├── isHexadecimal.js │ │ │ ├── isIBAN.js │ │ │ ├── isIMEI.js │ │ │ ├── isIP.js │ │ │ ├── isIPRange.js │ │ │ ├── isISBN.js │ │ │ ├── isISIN.js │ │ │ ├── isISO31661Alpha2.js │ │ │ ├── isISO31661Alpha3.js │ │ │ ├── isISO4217.js │ │ │ ├── isISO6346.js │ │ │ ├── isISO6391.js │ │ │ ├── isISO8601.js │ │ │ ├── isISRC.js │ │ │ ├── isISSN.js │ │ │ ├── isIdentityCard.js │ │ │ ├── isIn.js │ │ │ ├── isInt.js │ │ │ ├── isJSON.js │ │ │ ├── isJWT.js │ │ │ ├── isLatLong.js │ │ │ ├── isLength.js │ │ │ ├── isLicensePlate.js │ │ │ ├── isLocale.js │ │ │ ├── isLowercase.js │ │ │ ├── isLuhnNumber.js │ │ │ ├── isLuhnValid.js │ │ │ ├── isMACAddress.js │ │ │ ├── isMD5.js │ │ │ ├── isMagnetURI.js │ │ │ ├── isMailtoURI.js │ │ │ ├── isMimeType.js │ │ │ ├── isMobilePhone.js │ │ │ ├── isMongoId.js │ │ │ ├── isMultibyte.js │ │ │ ├── isNumeric.js │ │ │ ├── isOctal.js │ │ │ ├── isPassportNumber.js │ │ │ ├── isPort.js │ │ │ ├── isPostalCode.js │ │ │ ├── isRFC3339.js │ │ │ ├── isRgbColor.js │ │ │ ├── isSemVer.js │ │ │ ├── isSlug.js │ │ │ ├── isStrongPassword.js │ │ │ ├── isSurrogatePair.js │ │ │ ├── isTaxID.js │ │ │ ├── isTime.js │ │ │ ├── isURL.js │ │ │ ├── isUUID.js │ │ │ ├── isUppercase.js │ │ │ ├── isVAT.js │ │ │ ├── isVariableWidth.js │ │ │ ├── isWhitelisted.js │ │ │ ├── ltrim.js │ │ │ ├── matches.js │ │ │ ├── normalizeEmail.js │ │ │ ├── rtrim.js │ │ │ ├── stripLow.js │ │ │ ├── toBoolean.js │ │ │ ├── toDate.js │ │ │ ├── toFloat.js │ │ │ ├── toInt.js │ │ │ ├── trim.js │ │ │ ├── unescape.js │ │ │ ├── util │ │ │ ├── algorithms.js │ │ │ ├── assertString.js │ │ │ ├── includes.js │ │ │ ├── merge.js │ │ │ ├── multilineRegex.js │ │ │ ├── toString.js │ │ │ └── typeOf.js │ │ │ └── whitelist.js │ ├── index.js │ ├── lib │ │ ├── alpha.js │ │ ├── blacklist.js │ │ ├── contains.js │ │ ├── equals.js │ │ ├── escape.js │ │ ├── isAfter.js │ │ ├── isAlpha.js │ │ ├── isAlphanumeric.js │ │ ├── isAscii.js │ │ ├── isBIC.js │ │ ├── isBase32.js │ │ ├── isBase58.js │ │ ├── isBase64.js │ │ ├── isBefore.js │ │ ├── isBoolean.js │ │ ├── isBtcAddress.js │ │ ├── isByteLength.js │ │ ├── isCreditCard.js │ │ ├── isCurrency.js │ │ ├── isDataURI.js │ │ ├── isDate.js │ │ ├── isDecimal.js │ │ ├── isDivisibleBy.js │ │ ├── isEAN.js │ │ ├── isEmail.js │ │ ├── isEmpty.js │ │ ├── isEthereumAddress.js │ │ ├── isFQDN.js │ │ ├── isFloat.js │ │ ├── isFullWidth.js │ │ ├── isHSL.js │ │ ├── isHalfWidth.js │ │ ├── isHash.js │ │ ├── isHexColor.js │ │ ├── isHexadecimal.js │ │ ├── isIBAN.js │ │ ├── isIMEI.js │ │ ├── isIP.js │ │ ├── isIPRange.js │ │ ├── isISBN.js │ │ ├── isISIN.js │ │ ├── isISO31661Alpha2.js │ │ ├── isISO31661Alpha3.js │ │ ├── isISO4217.js │ │ ├── isISO6346.js │ │ ├── isISO6391.js │ │ ├── isISO8601.js │ │ ├── isISRC.js │ │ ├── isISSN.js │ │ ├── isIdentityCard.js │ │ ├── isIn.js │ │ ├── isInt.js │ │ ├── isJSON.js │ │ ├── isJWT.js │ │ ├── isLatLong.js │ │ ├── isLength.js │ │ ├── isLicensePlate.js │ │ ├── isLocale.js │ │ ├── isLowercase.js │ │ ├── isLuhnNumber.js │ │ ├── isLuhnValid.js │ │ ├── isMACAddress.js │ │ ├── isMD5.js │ │ ├── isMagnetURI.js │ │ ├── isMailtoURI.js │ │ ├── isMimeType.js │ │ ├── isMobilePhone.js │ │ ├── isMongoId.js │ │ ├── isMultibyte.js │ │ ├── isNumeric.js │ │ ├── isOctal.js │ │ ├── isPassportNumber.js │ │ ├── isPort.js │ │ ├── isPostalCode.js │ │ ├── isRFC3339.js │ │ ├── isRgbColor.js │ │ ├── isSemVer.js │ │ ├── isSlug.js │ │ ├── isStrongPassword.js │ │ ├── isSurrogatePair.js │ │ ├── isTaxID.js │ │ ├── isTime.js │ │ ├── isURL.js │ │ ├── isUUID.js │ │ ├── isUppercase.js │ │ ├── isVAT.js │ │ ├── isVariableWidth.js │ │ ├── isWhitelisted.js │ │ ├── ltrim.js │ │ ├── matches.js │ │ ├── normalizeEmail.js │ │ ├── rtrim.js │ │ ├── stripLow.js │ │ ├── toBoolean.js │ │ ├── toDate.js │ │ ├── toFloat.js │ │ ├── toInt.js │ │ ├── trim.js │ │ ├── unescape.js │ │ ├── util │ │ │ ├── algorithms.js │ │ │ ├── assertString.js │ │ │ ├── includes.js │ │ │ ├── merge.js │ │ │ ├── multilineRegex.js │ │ │ ├── toString.js │ │ │ └── typeOf.js │ │ └── whitelist.js │ ├── package.json │ ├── validator.js │ └── validator.min.js ├── vary │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── webidl-conversions │ ├── LICENSE.md │ ├── README.md │ ├── lib │ │ └── index.js │ └── package.json ├── whatwg-url │ ├── LICENSE.txt │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── Function.js │ │ ├── URL-impl.js │ │ ├── URL.js │ │ ├── URLSearchParams-impl.js │ │ ├── URLSearchParams.js │ │ ├── VoidFunction.js │ │ ├── encoding.js │ │ ├── infra.js │ │ ├── percent-encoding.js │ │ ├── url-state-machine.js │ │ ├── urlencoded.js │ │ └── utils.js │ ├── package.json │ └── webidl2js-wrapper.js ├── wrappy │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── wrappy.js ├── yallist │ ├── LICENSE │ ├── README.md │ ├── iterator.js │ ├── package.json │ └── yallist.js ├── yaml │ ├── LICENSE │ ├── README.md │ ├── browser │ │ ├── dist │ │ │ ├── Schema-ea978338.js │ │ │ ├── errors-2634d01a.js │ │ │ ├── index.js │ │ │ ├── parse-cst.js │ │ │ ├── parse-d1ba890f.js │ │ │ ├── stringifyNumber-d8af95b1.js │ │ │ ├── types.js │ │ │ └── util.js │ │ ├── index.js │ │ ├── parse-cst.js │ │ ├── types.js │ │ └── util.js │ ├── dist │ │ ├── Document-f89a2614.js │ │ ├── Schema-807430ba.js │ │ ├── _rollupPluginBabelHelpers-eed30217.js │ │ ├── index.js │ │ ├── parse-3997f544.js │ │ ├── parse-cst.js │ │ ├── stringifyNumber-dea1120c.js │ │ ├── test-events.js │ │ ├── types.js │ │ └── util.js │ ├── index.d.ts │ ├── index.js │ ├── package.json │ ├── parse-cst.d.ts │ ├── parse-cst.js │ ├── types.d.ts │ ├── types.js │ ├── types.mjs │ ├── util.d.ts │ ├── util.js │ └── util.mjs └── z-schema │ ├── LICENSE │ ├── README.md │ ├── bin │ └── z-schema │ ├── dist │ ├── ZSchema-browser-min.js │ ├── ZSchema-browser-min.js.map │ ├── ZSchema-browser-test.js │ └── ZSchema-browser.js │ ├── index.d.ts │ ├── node_modules │ └── commander │ │ ├── LICENSE │ │ ├── Readme.md │ │ ├── esm.mjs │ │ ├── index.js │ │ ├── lib │ │ ├── argument.js │ │ ├── command.js │ │ ├── error.js │ │ ├── help.js │ │ ├── option.js │ │ └── suggestSimilar.js │ │ ├── package-support.json │ │ ├── package.json │ │ └── typings │ │ └── index.d.ts │ ├── package.json │ └── src │ ├── Errors.js │ ├── FormatValidators.js │ ├── JsonValidation.js │ ├── Polyfills.js │ ├── Report.js │ ├── SchemaCache.js │ ├── SchemaCompilation.js │ ├── SchemaValidation.js │ ├── Utils.js │ ├── ZSchema.js │ └── schemas │ ├── hyper-schema.json │ └── schema.json ├── package-lock.json ├── package.json ├── routes └── routes.js ├── server.js ├── swagger-doc-pettemplate.json └── utils └── dbconn.js /.env: -------------------------------------------------------------------------------- 1 | PORT = 8000 2 | MONGO_URI = "mongodb+srv://elvinhumura:ozFRLj65PJ6dmwzo@cluster0.huok3f1.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0" 3 | JWT_SECRET = lowSl9GpbI6riIGN1qk/WBXSTNTR+iZX+749B7CYl30= 4 | SALT = 10 -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .env -------------------------------------------------------------------------------- /config/custom-environment-variables.json: -------------------------------------------------------------------------------- 1 | { 2 | "JWT_PRIVATE_KEY" : "myprivatekey" 3 | } -------------------------------------------------------------------------------- /config/default.json: -------------------------------------------------------------------------------- 1 | { 2 | "JWT_PRIVATE_KEY": "" 3 | } -------------------------------------------------------------------------------- /models/student.model.js: -------------------------------------------------------------------------------- 1 | const { string } = require('joi'); 2 | const mongoose = require('mongoose'); 3 | 4 | const studentSchema = new mongoose.Schema({ 5 | names: { 6 | type: String, 7 | }, 8 | age:{ 9 | type: String, 10 | }, 11 | grade:{ 12 | type:String, 13 | } 14 | }) 15 | 16 | const Student = mongoose.model('Student', studentSchema); 17 | 18 | module.exports = Student; -------------------------------------------------------------------------------- /node_modules/.bin/js-yaml: -------------------------------------------------------------------------------- 1 | ../js-yaml/bin/js-yaml.js -------------------------------------------------------------------------------- /node_modules/.bin/mime: -------------------------------------------------------------------------------- 1 | ../mime/cli.js -------------------------------------------------------------------------------- /node_modules/.bin/nodemon: -------------------------------------------------------------------------------- 1 | ../nodemon/bin/nodemon.js -------------------------------------------------------------------------------- /node_modules/.bin/nodetouch: -------------------------------------------------------------------------------- 1 | ../touch/bin/nodetouch.js -------------------------------------------------------------------------------- /node_modules/.bin/nopt: -------------------------------------------------------------------------------- 1 | ../nopt/bin/nopt.js -------------------------------------------------------------------------------- /node_modules/.bin/semver: -------------------------------------------------------------------------------- 1 | ../semver/bin/semver.js -------------------------------------------------------------------------------- /node_modules/.bin/swagger-jsdoc: -------------------------------------------------------------------------------- 1 | ../swagger-jsdoc/bin/swagger-jsdoc.js -------------------------------------------------------------------------------- /node_modules/.bin/z-schema: -------------------------------------------------------------------------------- 1 | ../z-schema/bin/z-schema -------------------------------------------------------------------------------- /node_modules/@apidevtools/openapi-schemas/lib/json-schema.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=json-schema.js.map -------------------------------------------------------------------------------- /node_modules/@apidevtools/openapi-schemas/lib/json-schema.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"json-schema.js","sourceRoot":"","sources":["../src/json-schema.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /node_modules/@apidevtools/openapi-schemas/schemas/v1.2/README.md: -------------------------------------------------------------------------------- 1 | # Swagger Specification JSON Schemas 2 | 3 | The work on the JSON Schema for the Swagger Specification was donated to the community by [Francis Galiegue](https://github.com/fge)! 4 | 5 | Keep in mind that due to some JSON Schema limitations, not all constraints can be described. The missing constraints will be listed here in the future. 6 | -------------------------------------------------------------------------------- /node_modules/@apidevtools/openapi-schemas/schemas/v1.2/resourceObject.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/schemas/v1.2/resourceObject.json#", 3 | "$schema": "http://json-schema.org/draft-04/schema#", 4 | "type": "object", 5 | "required": [ "path" ], 6 | "properties": { 7 | "path": { "type": "string", "format": "uri" }, 8 | "description": { "type": "string" } 9 | }, 10 | "additionalProperties": false 11 | } -------------------------------------------------------------------------------- /node_modules/@apidevtools/openapi-schemas/schemas/v2.0/README.md: -------------------------------------------------------------------------------- 1 | # OpenAPI Specification v2.0 JSON Schema 2 | 3 | This is the JSON Schema file for the OpenAPI Specification version 2.0. Download and install it via NPM. 4 | 5 | ## Install via NPM 6 | 7 | ```shell 8 | npm install --save swagger-schema-official 9 | ``` 10 | 11 | ## License 12 | 13 | Apache-2.0 14 | -------------------------------------------------------------------------------- /node_modules/@apidevtools/openapi-schemas/schemas/v3.1/schema-base.yaml: -------------------------------------------------------------------------------- 1 | $id: 'https://spec.openapis.org/oas/3.1/schema-base/2021-04-15' 2 | $schema: 'https://json-schema.org/draft/2020-12/schema' 3 | 4 | $ref: 'https://spec.openapis.org/oas/3.1/schema/2021-04-15' 5 | properties: 6 | jsonSchemaDialect: 7 | $ref: '#/$defs/dialect' 8 | 9 | $defs: 10 | dialect: 11 | const: 'https://spec.openapis.org/oas/3.1/dialect/base' 12 | schema: 13 | $dynamicAnchor: meta 14 | $ref": 'https://spec.openapis.org/oas/3.1/dialect/base' 15 | properties: 16 | $schema: 17 | $ref: '#/$defs/dialect' 18 | -------------------------------------------------------------------------------- /node_modules/@apidevtools/swagger-methods/lib/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | module.exports = [ 4 | "get", "put", "post", "delete", "options", "head", "patch" 5 | ]; 6 | -------------------------------------------------------------------------------- /node_modules/@apidevtools/swagger-parser/lib/util.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | const util = require("util"); 4 | 5 | exports.format = util.format; 6 | exports.inherits = util.inherits; 7 | 8 | /** 9 | * Regular Expression that matches Swagger path params. 10 | */ 11 | exports.swaggerParamRegExp = /\{([^/}]+)}/g; 12 | -------------------------------------------------------------------------------- /node_modules/@hapi/hoek/lib/assert.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const AssertError = require('./error'); 4 | 5 | 6 | const internals = {}; 7 | 8 | 9 | module.exports = function (condition, ...args) { 10 | 11 | if (condition) { 12 | return; 13 | } 14 | 15 | if (args.length === 1 && 16 | args[0] instanceof Error) { 17 | 18 | throw args[0]; 19 | } 20 | 21 | throw new AssertError(args); 22 | }; 23 | -------------------------------------------------------------------------------- /node_modules/@hapi/hoek/lib/bench.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const internals = {}; 4 | 5 | 6 | module.exports = internals.Bench = class { 7 | 8 | constructor() { 9 | 10 | this.ts = 0; 11 | this.reset(); 12 | } 13 | 14 | reset() { 15 | 16 | this.ts = internals.Bench.now(); 17 | } 18 | 19 | elapsed() { 20 | 21 | return internals.Bench.now() - this.ts; 22 | } 23 | 24 | static now() { 25 | 26 | const ts = process.hrtime(); 27 | return (ts[0] * 1e3) + (ts[1] / 1e6); 28 | } 29 | }; 30 | -------------------------------------------------------------------------------- /node_modules/@hapi/hoek/lib/block.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const Ignore = require('./ignore'); 4 | 5 | 6 | const internals = {}; 7 | 8 | 9 | module.exports = function () { 10 | 11 | return new Promise(Ignore); 12 | }; 13 | -------------------------------------------------------------------------------- /node_modules/@hapi/hoek/lib/escapeHeaderAttribute.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const Assert = require('./assert'); 4 | 5 | 6 | const internals = {}; 7 | 8 | 9 | module.exports = function (attribute) { 10 | 11 | // Allowed value characters: !#$%&'()*+,-./:;<=>?@[]^_`{|}~ and space, a-z, A-Z, 0-9, \, " 12 | 13 | Assert(/^[ \w\!#\$%&'\(\)\*\+,\-\.\/\:;<\=>\?@\[\]\^`\{\|\}~\"\\]*$/.test(attribute), 'Bad attribute value (' + attribute + ')'); 14 | 15 | return attribute.replace(/\\/g, '\\\\').replace(/\"/g, '\\"'); // Escape quotes and slash 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/@hapi/hoek/lib/escapeJson.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const internals = {}; 4 | 5 | 6 | module.exports = function (input) { 7 | 8 | if (!input) { 9 | return ''; 10 | } 11 | 12 | return input.replace(/[<>&\u2028\u2029]/g, internals.escape); 13 | }; 14 | 15 | 16 | internals.escape = function (char) { 17 | 18 | return internals.replacements.get(char); 19 | }; 20 | 21 | 22 | internals.replacements = new Map([ 23 | ['<', '\\u003c'], 24 | ['>', '\\u003e'], 25 | ['&', '\\u0026'], 26 | ['\u2028', '\\u2028'], 27 | ['\u2029', '\\u2029'] 28 | ]); 29 | -------------------------------------------------------------------------------- /node_modules/@hapi/hoek/lib/escapeRegex.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const internals = {}; 4 | 5 | 6 | module.exports = function (string) { 7 | 8 | // Escape ^$.*+-?=!:|\/()[]{}, 9 | 10 | return string.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g, '\\$&'); 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/@hapi/hoek/lib/flatten.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const internals = {}; 4 | 5 | 6 | module.exports = internals.flatten = function (array, target) { 7 | 8 | const result = target || []; 9 | 10 | for (const entry of array) { 11 | if (Array.isArray(entry)) { 12 | internals.flatten(entry, result); 13 | } 14 | else { 15 | result.push(entry); 16 | } 17 | } 18 | 19 | return result; 20 | }; 21 | -------------------------------------------------------------------------------- /node_modules/@hapi/hoek/lib/ignore.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const internals = {}; 4 | 5 | 6 | module.exports = function () { }; 7 | -------------------------------------------------------------------------------- /node_modules/@hapi/hoek/lib/isPromise.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const internals = {}; 4 | 5 | 6 | module.exports = function (promise) { 7 | 8 | return !!promise && typeof promise.then === 'function'; 9 | }; 10 | -------------------------------------------------------------------------------- /node_modules/@hapi/hoek/lib/once.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const internals = { 4 | wrapped: Symbol('wrapped') 5 | }; 6 | 7 | 8 | module.exports = function (method) { 9 | 10 | if (method[internals.wrapped]) { 11 | return method; 12 | } 13 | 14 | let once = false; 15 | const wrappedFn = function (...args) { 16 | 17 | if (!once) { 18 | once = true; 19 | method(...args); 20 | } 21 | }; 22 | 23 | wrappedFn[internals.wrapped] = true; 24 | return wrappedFn; 25 | }; 26 | -------------------------------------------------------------------------------- /node_modules/@hapi/hoek/lib/reachTemplate.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const Reach = require('./reach'); 4 | 5 | 6 | const internals = {}; 7 | 8 | 9 | module.exports = function (obj, template, options) { 10 | 11 | return template.replace(/{([^{}]+)}/g, ($0, chain) => { 12 | 13 | const value = Reach(obj, chain, options); 14 | return (value === undefined || value === null ? '' : value); 15 | }); 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/@hapi/hoek/lib/stringify.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const internals = {}; 4 | 5 | 6 | module.exports = function (...args) { 7 | 8 | try { 9 | return JSON.stringify(...args); 10 | } 11 | catch (err) { 12 | return '[Cannot display object: ' + err.message + ']'; 13 | } 14 | }; 15 | -------------------------------------------------------------------------------- /node_modules/@hapi/hoek/lib/utils.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const internals = {}; 4 | 5 | 6 | exports.keys = function (obj, options = {}) { 7 | 8 | return options.symbols !== false ? Reflect.ownKeys(obj) : Object.getOwnPropertyNames(obj); // Defaults to true 9 | }; 10 | -------------------------------------------------------------------------------- /node_modules/@jsdevtools/ono/cjs/constructor.d.ts: -------------------------------------------------------------------------------- 1 | import { OnoConstructor } from "./types"; 2 | declare const constructor: OnoConstructor; 3 | export { constructor as Ono }; 4 | -------------------------------------------------------------------------------- /node_modules/@jsdevtools/ono/cjs/extend-error.d.ts: -------------------------------------------------------------------------------- 1 | import { ErrorLike, OnoError } from "./types"; 2 | /** 3 | * Extends the new error with the properties of the original error and the `props` object. 4 | * 5 | * @param newError - The error object to extend 6 | * @param originalError - The original error object, if any 7 | * @param props - Additional properties to add, if any 8 | */ 9 | export declare function extendError(error: T, originalError?: E, props?: P): T & E & P & OnoError; 10 | -------------------------------------------------------------------------------- /node_modules/@jsdevtools/ono/cjs/index.d.ts: -------------------------------------------------------------------------------- 1 | import { ono } from "./singleton"; 2 | export { Ono } from "./constructor"; 3 | export * from "./types"; 4 | export { ono }; 5 | export default ono; 6 | -------------------------------------------------------------------------------- /node_modules/@jsdevtools/ono/cjs/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yBAAyB;AACzB,2CAAkC;AAIzB,oFAJA,eAAG,OAIA;AAFZ,6CAAoC;AAA3B,kGAAA,GAAG,OAAA;AACZ,0CAAwB;AAGxB,kBAAe,eAAG,CAAC;AAEnB,+BAA+B;AAC/B,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,OAAO,MAAM,CAAC,OAAO,KAAK,QAAQ,EAAE;IACpE,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;CACxE"} -------------------------------------------------------------------------------- /node_modules/@jsdevtools/ono/cjs/isomorphic.browser.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"isomorphic.browser.js","sourceRoot":"","sources":["../src/isomorphic.browser.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;GAQG;AACU,QAAA,MAAM,GAAG,KAAK,CAAC;AAE5B;;;GAGG;AACU,QAAA,gBAAgB,GAAG,KAAK,CAAC"} -------------------------------------------------------------------------------- /node_modules/@jsdevtools/ono/cjs/normalize.d.ts: -------------------------------------------------------------------------------- 1 | import { ErrorLike, OnoOptions } from "./types"; 2 | /** 3 | * Normalizes Ono options, accounting for defaults and optional options. 4 | */ 5 | export declare function normalizeOptions(options?: OnoOptions): OnoOptions; 6 | /** 7 | * Normalizes the Ono arguments, accounting for defaults, options, and optional arguments. 8 | */ 9 | export declare function normalizeArgs(args: unknown[], options: OnoOptions): { 10 | originalError: E | undefined; 11 | props: P | undefined; 12 | message: string; 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/@jsdevtools/ono/cjs/singleton.d.ts: -------------------------------------------------------------------------------- 1 | import { OnoSingleton } from "./types"; 2 | declare const singleton: OnoSingleton; 3 | export { singleton as ono }; 4 | -------------------------------------------------------------------------------- /node_modules/@jsdevtools/ono/cjs/to-json.d.ts: -------------------------------------------------------------------------------- 1 | import { ErrorLike, ErrorPOJO } from "./types"; 2 | /** 3 | * Custom JSON serializer for Error objects. 4 | * Returns all built-in error properties, as well as extended properties. 5 | */ 6 | export declare function toJSON(this: E): ErrorPOJO & E; 7 | /** 8 | * Returns own, inherited, enumerable, non-enumerable, string, and symbol keys of `obj`. 9 | * Does NOT return members of the base Object prototype, or the specified omitted keys. 10 | */ 11 | export declare function getDeepKeys(obj: object, omit?: Array): Set; 12 | -------------------------------------------------------------------------------- /node_modules/@jsdevtools/ono/cjs/types.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const util_1 = require("util"); 4 | //# sourceMappingURL=types.js.map -------------------------------------------------------------------------------- /node_modules/@jsdevtools/ono/cjs/types.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;AAAA,+BAA+B"} -------------------------------------------------------------------------------- /node_modules/@jsdevtools/ono/esm/constructor.d.ts: -------------------------------------------------------------------------------- 1 | import { OnoConstructor } from "./types"; 2 | declare const constructor: OnoConstructor; 3 | export { constructor as Ono }; 4 | -------------------------------------------------------------------------------- /node_modules/@jsdevtools/ono/esm/extend-error.d.ts: -------------------------------------------------------------------------------- 1 | import { ErrorLike, OnoError } from "./types"; 2 | /** 3 | * Extends the new error with the properties of the original error and the `props` object. 4 | * 5 | * @param newError - The error object to extend 6 | * @param originalError - The original error object, if any 7 | * @param props - Additional properties to add, if any 8 | */ 9 | export declare function extendError(error: T, originalError?: E, props?: P): T & E & P & OnoError; 10 | -------------------------------------------------------------------------------- /node_modules/@jsdevtools/ono/esm/index.d.ts: -------------------------------------------------------------------------------- 1 | import { ono } from "./singleton"; 2 | export { Ono } from "./constructor"; 3 | export * from "./types"; 4 | export { ono }; 5 | export default ono; 6 | -------------------------------------------------------------------------------- /node_modules/@jsdevtools/ono/esm/index.js: -------------------------------------------------------------------------------- 1 | /* eslint-env commonjs */ 2 | import { ono } from "./singleton"; 3 | export { Ono } from "./constructor"; 4 | export * from "./types"; 5 | export { ono }; 6 | export default ono; 7 | // CommonJS default export hack 8 | if (typeof module === "object" && typeof module.exports === "object") { 9 | module.exports = Object.assign(module.exports.default, module.exports); 10 | } 11 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /node_modules/@jsdevtools/ono/esm/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAElC,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AACpC,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,GAAG,EAAE,CAAC;AAEf,eAAe,GAAG,CAAC;AAEnB,+BAA+B;AAC/B,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,OAAO,MAAM,CAAC,OAAO,KAAK,QAAQ,EAAE;IACpE,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;CACxE"} -------------------------------------------------------------------------------- /node_modules/@jsdevtools/ono/esm/isomorphic.browser.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"isomorphic.browser.js","sourceRoot":"","sources":["../src/isomorphic.browser.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,KAAK,CAAC;AAE5B;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,KAAK,CAAC"} -------------------------------------------------------------------------------- /node_modules/@jsdevtools/ono/esm/normalize.d.ts: -------------------------------------------------------------------------------- 1 | import { ErrorLike, OnoOptions } from "./types"; 2 | /** 3 | * Normalizes Ono options, accounting for defaults and optional options. 4 | */ 5 | export declare function normalizeOptions(options?: OnoOptions): OnoOptions; 6 | /** 7 | * Normalizes the Ono arguments, accounting for defaults, options, and optional arguments. 8 | */ 9 | export declare function normalizeArgs(args: unknown[], options: OnoOptions): { 10 | originalError: E | undefined; 11 | props: P | undefined; 12 | message: string; 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/@jsdevtools/ono/esm/singleton.d.ts: -------------------------------------------------------------------------------- 1 | import { OnoSingleton } from "./types"; 2 | declare const singleton: OnoSingleton; 3 | export { singleton as ono }; 4 | -------------------------------------------------------------------------------- /node_modules/@jsdevtools/ono/esm/to-json.d.ts: -------------------------------------------------------------------------------- 1 | import { ErrorLike, ErrorPOJO } from "./types"; 2 | /** 3 | * Custom JSON serializer for Error objects. 4 | * Returns all built-in error properties, as well as extended properties. 5 | */ 6 | export declare function toJSON(this: E): ErrorPOJO & E; 7 | /** 8 | * Returns own, inherited, enumerable, non-enumerable, string, and symbol keys of `obj`. 9 | * Does NOT return members of the base Object prototype, or the specified omitted keys. 10 | */ 11 | export declare function getDeepKeys(obj: object, omit?: Array): Set; 12 | -------------------------------------------------------------------------------- /node_modules/@jsdevtools/ono/esm/types.js: -------------------------------------------------------------------------------- 1 | import { inspect } from "util"; 2 | //# sourceMappingURL=types.js.map -------------------------------------------------------------------------------- /node_modules/@jsdevtools/ono/esm/types.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC"} -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/.esm-wrapper.mjs: -------------------------------------------------------------------------------- 1 | import mod from "./node.js"; 2 | 3 | export default mod; 4 | export const saslprep = mod.saslprep; 5 | -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/browser.d.ts: -------------------------------------------------------------------------------- 1 | declare const saslprep: (args_0: string, args_1?: { 2 | allowUnassigned?: boolean | undefined; 3 | } | undefined) => string; 4 | export = saslprep; 5 | //# sourceMappingURL=browser.d.ts.map -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/browser.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,QAAQ;;wBAAmC,CAAC;AAIlD,SAAS,QAAQ,CAAC"} -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/browser.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"browser.js","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":";;;;AAAA,oDAAgC;AAChC,6DAA8D;AAC9D,0FAA8C;AAE9C,MAAM,UAAU,GAAG,IAAA,2CAAsB,EAAC,kCAAI,CAAC,CAAC;AAEhD,MAAM,QAAQ,GAAG,eAAS,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;AAElD,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAC;AAEzD,iBAAS,QAAQ,CAAC"} -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare const data: Buffer; 3 | export default data; 4 | //# sourceMappingURL=code-points-data-browser.d.ts.map -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"code-points-data-browser.d.ts","sourceRoot":"","sources":["../src/code-points-data-browser.ts"],"names":[],"mappings":";AAAA,QAAA,MAAM,IAAI,QAGT,CAAC;AACF,eAAe,IAAI,CAAC"} -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"code-points-data-browser.js","sourceRoot":"","sources":["../src/code-points-data-browser.ts"],"names":[],"mappings":";;AAAA,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CACtB,8sliBAA8sliB,EAC9sliB,QAAQ,CACT,CAAC;AACF,kBAAe,IAAI,CAAC"} -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/code-points-data.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare const _default: Buffer; 3 | export default _default; 4 | //# sourceMappingURL=code-points-data.d.ts.map -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/code-points-data.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"code-points-data.d.ts","sourceRoot":"","sources":["../src/code-points-data.ts"],"names":[],"mappings":";;AAEA,wBAKE"} -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/code-points-data.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"code-points-data.js","sourceRoot":"","sources":["../src/code-points-data.ts"],"names":[],"mappings":";;AAAA,+BAAkC;AAElC,kBAAe,IAAA,iBAAU,EACvB,MAAM,CAAC,IAAI,CACT,0nFAA0nF,EAC1nF,QAAQ,CACT,CACF,CAAC"} -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/code-points-src.d.ts: -------------------------------------------------------------------------------- 1 | export declare const unassigned_code_points: Set; 2 | export declare const commonly_mapped_to_nothing: Set; 3 | export declare const non_ASCII_space_characters: Set; 4 | export declare const prohibited_characters: Set; 5 | export declare const bidirectional_r_al: Set; 6 | export declare const bidirectional_l: Set; 7 | //# sourceMappingURL=code-points-src.d.ts.map -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/code-points-src.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"code-points-src.d.ts","sourceRoot":"","sources":["../src/code-points-src.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,sBAAsB,aA6YjC,CAAC;AAMH,eAAO,MAAM,0BAA0B,aAIrC,CAAC;AAMH,eAAO,MAAM,0BAA0B,aASrC,CAAC;AAMH,eAAO,MAAM,qBAAqB,aA6GhC,CAAC;AAMH,eAAO,MAAM,kBAAkB,aAmC7B,CAAC;AAMH,eAAO,MAAM,eAAe,aAyW1B,CAAC"} -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/generate-code-points.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=generate-code-points.d.ts.map -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/generate-code-points.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"generate-code-points.d.ts","sourceRoot":"","sources":["../src/generate-code-points.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { createMemoryCodePoints } from './memory-code-points'; 2 | declare function saslprep({ unassigned_code_points, commonly_mapped_to_nothing, non_ASCII_space_characters, prohibited_characters, bidirectional_r_al, bidirectional_l, }: ReturnType, input: string, opts?: { 3 | allowUnassigned?: boolean; 4 | }): string; 5 | declare namespace saslprep { 6 | export var saslprep: typeof import("."); 7 | var _a: typeof import("."); 8 | export { _a as default }; 9 | } 10 | export = saslprep; 11 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAsCnE,iBAAS,QAAQ,CACf,EACE,sBAAsB,EACtB,0BAA0B,EAC1B,0BAA0B,EAC1B,qBAAqB,EACrB,kBAAkB,EAClB,eAAe,GAChB,EAAE,UAAU,CAAC,OAAO,sBAAsB,CAAC,EAC5C,KAAK,EAAE,MAAM,EACb,IAAI,GAAE;IAAE,eAAe,CAAC,EAAE,OAAO,CAAA;CAAO,GACvC,MAAM,CAqGR;kBAhHQ,QAAQ;;;;;AAoHjB,SAAS,QAAQ,CAAC"} -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/memory-code-points.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import bitfield from 'sparse-bitfield'; 3 | export declare function createMemoryCodePoints(data: Buffer): { 4 | unassigned_code_points: bitfield.BitFieldInstance; 5 | commonly_mapped_to_nothing: bitfield.BitFieldInstance; 6 | non_ASCII_space_characters: bitfield.BitFieldInstance; 7 | prohibited_characters: bitfield.BitFieldInstance; 8 | bidirectional_r_al: bitfield.BitFieldInstance; 9 | bidirectional_l: bitfield.BitFieldInstance; 10 | }; 11 | //# sourceMappingURL=memory-code-points.d.ts.map -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/memory-code-points.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"memory-code-points.d.ts","sourceRoot":"","sources":["../src/memory-code-points.ts"],"names":[],"mappings":";AAAA,OAAO,QAAQ,MAAM,iBAAiB,CAAC;AAEvC,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM;;;;;;;EA+BlD"} -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/node.d.ts: -------------------------------------------------------------------------------- 1 | declare function saslprep(input: string, opts?: { 2 | allowUnassigned?: boolean; 3 | }): string; 4 | declare namespace saslprep { 5 | export var saslprep: typeof import("./node"); 6 | var _a: typeof import("./node"); 7 | export { _a as default }; 8 | } 9 | export = saslprep; 10 | //# sourceMappingURL=node.d.ts.map -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/node.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAMA,iBAAS,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE;IAAE,eAAe,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,MAAM,CAE7E;kBAFQ,QAAQ;;;;;AAOjB,SAAS,QAAQ,CAAC"} -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/node.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"node.js","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":";;;;AAAA,oDAAgC;AAChC,6DAA8D;AAC9D,0EAAsC;AAEtC,MAAM,UAAU,GAAG,IAAA,2CAAsB,EAAC,0BAAI,CAAC,CAAC;AAEhD,SAAS,QAAQ,CAAC,KAAa,EAAE,IAAoC;IACnE,OAAO,IAAA,eAAS,EAAC,UAAU,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;AAC5C,CAAC;AAED,QAAQ,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC7B,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC;AAE5B,iBAAS,QAAQ,CAAC"} -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/util.d.ts: -------------------------------------------------------------------------------- 1 | export declare function range(from: number, to: number): number[]; 2 | //# sourceMappingURL=util.d.ts.map -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/util.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":"AAGA,wBAAgB,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,EAAE,CAQxD"} -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/util.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.range = void 0; 4 | function range(from, to) { 5 | const list = new Array(to - from + 1); 6 | for (let i = 0; i < list.length; i += 1) { 7 | list[i] = from + i; 8 | } 9 | return list; 10 | } 11 | exports.range = range; 12 | //# sourceMappingURL=util.js.map -------------------------------------------------------------------------------- /node_modules/@mongodb-js/saslprep/dist/util.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"util.js","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":";;;AAGA,SAAgB,KAAK,CAAC,IAAY,EAAE,EAAU;IAE5C,MAAM,IAAI,GAAG,IAAI,KAAK,CAAC,EAAE,GAAG,IAAI,GAAG,CAAC,CAAC,CAAC;IAEtC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE;QACvC,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC;KACpB;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AARD,sBAQC"} -------------------------------------------------------------------------------- /node_modules/@sideway/address/README.md: -------------------------------------------------------------------------------- 1 | # @sideway/address 2 | 3 | #### Validate email address and domain. 4 | 5 | **address** is part of the **joi** ecosystem. 6 | 7 | ### Visit the [joi.dev](https://joi.dev) Developer Portal for tutorials, documentation, and support 8 | 9 | ## Useful resources 10 | 11 | - [Documentation and API](https://joi.dev/module/address/) 12 | - [Versions status](https://joi.dev/resources/status/#address) 13 | - [Changelog](https://joi.dev/module/address/changelog/) 14 | - [Project policies](https://joi.dev/policies/) 15 | -------------------------------------------------------------------------------- /node_modules/@sideway/pinpoint/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const internals = {}; 4 | 5 | 6 | exports.location = function (depth = 0) { 7 | 8 | const orig = Error.prepareStackTrace; 9 | Error.prepareStackTrace = (ignore, stack) => stack; 10 | 11 | const capture = {}; 12 | Error.captureStackTrace(capture, this); 13 | const line = capture.stack[depth + 1]; 14 | 15 | Error.prepareStackTrace = orig; 16 | 17 | return { 18 | filename: line.getFileName(), 19 | line: line.getLineNumber() 20 | }; 21 | }; 22 | -------------------------------------------------------------------------------- /node_modules/@types/whatwg-url/webidl2js-wrapper.d.ts: -------------------------------------------------------------------------------- 1 | import * as URL from "./lib/URL"; 2 | import * as URLSearchParams from "./lib/URLSearchParams"; 3 | 4 | export { URL, URLSearchParams }; 5 | -------------------------------------------------------------------------------- /node_modules/balanced-match/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | tidelift: "npm/balanced-match" 2 | patreon: juliangruber 3 | -------------------------------------------------------------------------------- /node_modules/bcryptjs/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log 3 | debug.log 4 | doco/ 5 | tests/bench.js 6 | *.png 7 | -------------------------------------------------------------------------------- /node_modules/bcryptjs/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 5 | - 0.12 6 | - 4 7 | - 6 8 | 9 | before_script: npm -g install testjs 10 | 11 | env: 12 | - CXX=g++-4.8 13 | addons: 14 | apt: 15 | sources: 16 | - ubuntu-toolchain-r-test 17 | packages: 18 | - g++-4.8 19 | -------------------------------------------------------------------------------- /node_modules/bcryptjs/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "vsicons.presets.angular": false 3 | } -------------------------------------------------------------------------------- /node_modules/bcryptjs/dist/bcrypt.min.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/humuraelvin/JS-full-stackBackend-with-swagger-js-documentation/521675a887d7f72319d32553b5a7336b0b38abde/node_modules/bcryptjs/dist/bcrypt.min.js.gz -------------------------------------------------------------------------------- /node_modules/bcryptjs/src/bcrypt/prng/README.md: -------------------------------------------------------------------------------- 1 | Because of [reasonable security doubts](https://github.com/dcodeIO/bcrypt.js/issues/16), these files, which used to be 2 | a part of bcrypt-isaac.js, are no longer used but are kept here for reference only. 3 | 4 | What is required instead is a proper way to collect entropy sources (using an intermediate stream cipher) which is then 5 | used to seed the CSPRNG. Pick one and use `bcrypt.setRandomFallback` instead. 6 | -------------------------------------------------------------------------------- /node_modules/binary-extensions/binary-extensions.json.d.ts: -------------------------------------------------------------------------------- 1 | declare const binaryExtensionsJson: readonly string[]; 2 | 3 | export = binaryExtensionsJson; 4 | -------------------------------------------------------------------------------- /node_modules/binary-extensions/index.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | List of binary file extensions. 3 | 4 | @example 5 | ``` 6 | import binaryExtensions = require('binary-extensions'); 7 | 8 | console.log(binaryExtensions); 9 | //=> ['3ds', '3g2', …] 10 | ``` 11 | */ 12 | declare const binaryExtensions: readonly string[]; 13 | 14 | export = binaryExtensions; 15 | -------------------------------------------------------------------------------- /node_modules/binary-extensions/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./binary-extensions.json'); 2 | -------------------------------------------------------------------------------- /node_modules/bson/vendor/text-encoding/index.js: -------------------------------------------------------------------------------- 1 | // This is free and unencumbered software released into the public domain. 2 | // See LICENSE.md for more information. 3 | 4 | var encoding = require("./lib/encoding.js"); 5 | 6 | module.exports = { 7 | TextEncoder: encoding.TextEncoder, 8 | TextDecoder: encoding.TextDecoder, 9 | }; 10 | -------------------------------------------------------------------------------- /node_modules/buffer-equal-constant-time/.npmignore: -------------------------------------------------------------------------------- 1 | .*.sw[mnop] 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /node_modules/buffer-equal-constant-time/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.11" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/buffer-equal-constant-time/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "buffer-equal-constant-time", 3 | "version": "1.0.1", 4 | "description": "Constant-time comparison of Buffers", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "mocha test.js" 8 | }, 9 | "repository": "git@github.com:goinstant/buffer-equal-constant-time.git", 10 | "keywords": [ 11 | "buffer", 12 | "equal", 13 | "constant-time", 14 | "crypto" 15 | ], 16 | "author": "GoInstant Inc., a salesforce.com company", 17 | "license": "BSD-3-Clause", 18 | "devDependencies": { 19 | "mocha": "~1.15.1" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/call-bind/.eslintignore: -------------------------------------------------------------------------------- 1 | coverage/ 2 | -------------------------------------------------------------------------------- /node_modules/call-bind/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "func-name-matching": 0, 8 | "id-length": 0, 9 | "new-cap": [2, { 10 | "capIsNewExceptions": [ 11 | "GetIntrinsic", 12 | ], 13 | }], 14 | "no-magic-numbers": 0, 15 | }, 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/call-bind/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "exclude": [ 6 | "coverage", 7 | "test" 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/call-bind/callBound.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var GetIntrinsic = require('get-intrinsic'); 4 | 5 | var callBind = require('./'); 6 | 7 | var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf')); 8 | 9 | module.exports = function callBoundIntrinsic(name, allowMissing) { 10 | var intrinsic = GetIntrinsic(name, !!allowMissing); 11 | if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) { 12 | return callBind(intrinsic); 13 | } 14 | return intrinsic; 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/call-me-maybe/src/maybe.js: -------------------------------------------------------------------------------- 1 | "use strict" 2 | 3 | var next = require('./next.js') 4 | 5 | module.exports = function maybe (cb, promise) { 6 | if (cb) { 7 | promise 8 | .then(function (result) { 9 | next(function () { cb(null, result) }) 10 | }, function (err) { 11 | next(function () { cb(err) }) 12 | }) 13 | return undefined 14 | } 15 | else { 16 | return promise 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /node_modules/call-me-maybe/src/next.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | function makeNext () { 4 | if (typeof process === 'object' && typeof process.nextTick === 'function') { 5 | return process.nextTick 6 | } else if (typeof setImmediate === 'function') { 7 | return setImmediate 8 | } else { 9 | return function next (f) { 10 | setTimeout(f, 0) 11 | } 12 | } 13 | } 14 | 15 | module.exports = makeNext() 16 | -------------------------------------------------------------------------------- /node_modules/colors/lib/index.js: -------------------------------------------------------------------------------- 1 | var colors = require('./colors'); 2 | module['exports'] = colors; 3 | 4 | // Remark: By default, colors will add style properties to String.prototype. 5 | // 6 | // If you don't wish to extend String.prototype, you can do this instead and 7 | // native String will not be touched: 8 | // 9 | // var colors = require('colors/safe); 10 | // colors.red("foo") 11 | // 12 | // 13 | require('./extendStringPrototype')(); 14 | -------------------------------------------------------------------------------- /node_modules/colors/lib/maps/america.js: -------------------------------------------------------------------------------- 1 | module['exports'] = function(colors) { 2 | return function(letter, i, exploded) { 3 | if (letter === ' ') return letter; 4 | switch (i%3) { 5 | case 0: return colors.red(letter); 6 | case 1: return colors.white(letter); 7 | case 2: return colors.blue(letter); 8 | } 9 | }; 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/colors/lib/maps/rainbow.js: -------------------------------------------------------------------------------- 1 | module['exports'] = function(colors) { 2 | // RoY G BiV 3 | var rainbowColors = ['red', 'yellow', 'green', 'blue', 'magenta']; 4 | return function(letter, i, exploded) { 5 | if (letter === ' ') { 6 | return letter; 7 | } else { 8 | return colors[rainbowColors[i++ % rainbowColors.length]](letter); 9 | } 10 | }; 11 | }; 12 | 13 | -------------------------------------------------------------------------------- /node_modules/colors/lib/maps/random.js: -------------------------------------------------------------------------------- 1 | module['exports'] = function(colors) { 2 | var available = ['underline', 'inverse', 'grey', 'yellow', 'red', 'green', 3 | 'blue', 'white', 'cyan', 'magenta', 'brightYellow', 'brightRed', 4 | 'brightGreen', 'brightBlue', 'brightWhite', 'brightCyan', 'brightMagenta']; 5 | return function(letter, i, exploded) { 6 | return letter === ' ' ? letter : 7 | colors[ 8 | available[Math.round(Math.random() * (available.length - 2))] 9 | ](letter); 10 | }; 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/colors/lib/maps/zebra.js: -------------------------------------------------------------------------------- 1 | module['exports'] = function(colors) { 2 | return function(letter, i, exploded) { 3 | return i % 2 === 0 ? letter : colors.inverse(letter); 4 | }; 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/colors/safe.js: -------------------------------------------------------------------------------- 1 | // 2 | // Remark: Requiring this file will use the "safe" colors API, 3 | // which will not touch String.prototype. 4 | // 5 | // var colors = require('colors/safe'); 6 | // colors.red("foo") 7 | // 8 | // 9 | var colors = require('./lib/colors'); 10 | module['exports'] = colors; 11 | -------------------------------------------------------------------------------- /node_modules/colors/themes/generic-logging.js: -------------------------------------------------------------------------------- 1 | module['exports'] = { 2 | silly: 'rainbow', 3 | input: 'grey', 4 | verbose: 'cyan', 5 | prompt: 'grey', 6 | info: 'green', 7 | data: 'grey', 8 | help: 'cyan', 9 | warn: 'yellow', 10 | debug: 'blue', 11 | error: 'red', 12 | }; 13 | -------------------------------------------------------------------------------- /node_modules/concat-map/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /node_modules/concat-map/example/map.js: -------------------------------------------------------------------------------- 1 | var concatMap = require('../'); 2 | var xs = [ 1, 2, 3, 4, 5, 6 ]; 3 | var ys = concatMap(xs, function (x) { 4 | return x % 2 ? [ x - 0.1, x, x + 0.1 ] : []; 5 | }); 6 | console.dir(ys); 7 | -------------------------------------------------------------------------------- /node_modules/concat-map/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function (xs, fn) { 2 | var res = []; 3 | for (var i = 0; i < xs.length; i++) { 4 | var x = fn(xs[i], i); 5 | if (isArray(x)) res.push.apply(res, x); 6 | else res.push(x); 7 | } 8 | return res; 9 | }; 10 | 11 | var isArray = Array.isArray || function (xs) { 12 | return Object.prototype.toString.call(xs) === '[object Array]'; 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/cookie-signature/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | *.sock 5 | -------------------------------------------------------------------------------- /node_modules/cookie-signature/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cookie-signature", 3 | "version": "1.0.6", 4 | "description": "Sign and unsign cookies", 5 | "keywords": ["cookie", "sign", "unsign"], 6 | "author": "TJ Holowaychuk ", 7 | "license": "MIT", 8 | "repository": { "type": "git", "url": "https://github.com/visionmedia/node-cookie-signature.git"}, 9 | "dependencies": {}, 10 | "devDependencies": { 11 | "mocha": "*", 12 | "should": "*" 13 | }, 14 | "scripts": { 15 | "test": "mocha --require should --reporter spec" 16 | }, 17 | "main": "index" 18 | } 19 | -------------------------------------------------------------------------------- /node_modules/debug/src/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Detect Electron renderer / nwjs process, which is node, but we should 3 | * treat as a browser. 4 | */ 5 | 6 | if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) { 7 | module.exports = require('./browser.js'); 8 | } else { 9 | module.exports = require('./node.js'); 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/define-data-property/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "complexity": 0, 8 | "id-length": 0, 9 | "new-cap": ["error", { 10 | "capIsNewExceptions": [ 11 | "GetIntrinsic", 12 | ], 13 | }], 14 | }, 15 | 16 | "overrides": [ 17 | { 18 | "files": "test/**", 19 | "rules": { 20 | "max-lines-per-function": "off", 21 | }, 22 | }, 23 | ], 24 | } 25 | -------------------------------------------------------------------------------- /node_modules/define-data-property/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "lines": 86, 6 | "statements": 85.93, 7 | "functions": 82.43, 8 | "branches": 76.06, 9 | "exclude": [ 10 | "coverage", 11 | "test" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/define-data-property/index.d.ts: -------------------------------------------------------------------------------- 1 | 2 | declare function defineDataProperty( 3 | obj: Record, 4 | property: keyof typeof obj, 5 | value: typeof obj[typeof property], 6 | nonEnumerable?: boolean | null, 7 | nonWritable?: boolean | null, 8 | nonConfigurable?: boolean | null, 9 | loose?: boolean 10 | ): void; 11 | 12 | export = defineDataProperty; -------------------------------------------------------------------------------- /node_modules/dotenv/config.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/dotenv/config.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | require('./lib/main').config( 3 | Object.assign( 4 | {}, 5 | require('./lib/env-options'), 6 | require('./lib/cli-options')(process.argv) 7 | ) 8 | ) 9 | })() 10 | -------------------------------------------------------------------------------- /node_modules/dotenv/lib/cli-options.js: -------------------------------------------------------------------------------- 1 | const re = /^dotenv_config_(encoding|path|debug|override|DOTENV_KEY)=(.+)$/ 2 | 3 | module.exports = function optionMatcher (args) { 4 | return args.reduce(function (acc, cur) { 5 | const matches = cur.match(re) 6 | if (matches) { 7 | acc[matches[1]] = matches[2] 8 | } 9 | return acc 10 | }, {}) 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/ecdsa-sig-formatter/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @omsmith 2 | -------------------------------------------------------------------------------- /node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | function getParamSize(keySize) { 4 | var result = ((keySize / 8) | 0) + (keySize % 8 === 0 ? 0 : 1); 5 | return result; 6 | } 7 | 8 | var paramBytesForAlg = { 9 | ES256: getParamSize(256), 10 | ES384: getParamSize(384), 11 | ES512: getParamSize(521) 12 | }; 13 | 14 | function getParamBytesForAlg(alg) { 15 | var paramBytes = paramBytesForAlg[alg]; 16 | if (paramBytes) { 17 | return paramBytes; 18 | } 19 | 20 | throw new Error('Unknown algorithm "' + alg + '"'); 21 | } 22 | 23 | module.exports = getParamBytesForAlg; 24 | -------------------------------------------------------------------------------- /node_modules/encodeurl/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.0.2 / 2018-01-21 2 | ================== 3 | 4 | * Fix encoding `%` as last character 5 | 6 | 1.0.1 / 2016-06-09 7 | ================== 8 | 9 | * Fix encoding unpaired surrogates at start/end of string 10 | 11 | 1.0.0 / 2016-06-08 12 | ================== 13 | 14 | * Initial release 15 | -------------------------------------------------------------------------------- /node_modules/es-define-property/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "new-cap": ["error", { 8 | "capIsNewExceptions": [ 9 | "GetIntrinsic", 10 | ], 11 | }], 12 | }, 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/es-define-property/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "exclude": [ 6 | "coverage", 7 | "test" 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/es-define-property/index.d.ts: -------------------------------------------------------------------------------- 1 | declare const defineProperty: false | typeof Object.defineProperty; 2 | 3 | export = defineProperty; -------------------------------------------------------------------------------- /node_modules/es-define-property/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var GetIntrinsic = require('get-intrinsic'); 4 | 5 | /** @type {import('.')} */ 6 | var $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false; 7 | if ($defineProperty) { 8 | try { 9 | $defineProperty({}, 'a', { value: 1 }); 10 | } catch (e) { 11 | // IE 8 has a broken defineProperty 12 | $defineProperty = false; 13 | } 14 | } 15 | 16 | module.exports = $defineProperty; 17 | -------------------------------------------------------------------------------- /node_modules/es-errors/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/es-errors/eval.d.ts: -------------------------------------------------------------------------------- 1 | declare const EvalError: EvalErrorConstructor; 2 | 3 | export = EvalError; 4 | -------------------------------------------------------------------------------- /node_modules/es-errors/eval.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./eval')} */ 4 | module.exports = EvalError; 5 | -------------------------------------------------------------------------------- /node_modules/es-errors/index.d.ts: -------------------------------------------------------------------------------- 1 | declare const Error: ErrorConstructor; 2 | 3 | export = Error; 4 | -------------------------------------------------------------------------------- /node_modules/es-errors/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('.')} */ 4 | module.exports = Error; 5 | -------------------------------------------------------------------------------- /node_modules/es-errors/range.d.ts: -------------------------------------------------------------------------------- 1 | declare const RangeError: RangeErrorConstructor; 2 | 3 | export = RangeError; 4 | -------------------------------------------------------------------------------- /node_modules/es-errors/range.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./range')} */ 4 | module.exports = RangeError; 5 | -------------------------------------------------------------------------------- /node_modules/es-errors/ref.d.ts: -------------------------------------------------------------------------------- 1 | declare const ReferenceError: ReferenceErrorConstructor; 2 | 3 | export = ReferenceError; 4 | -------------------------------------------------------------------------------- /node_modules/es-errors/ref.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./ref')} */ 4 | module.exports = ReferenceError; 5 | -------------------------------------------------------------------------------- /node_modules/es-errors/syntax.d.ts: -------------------------------------------------------------------------------- 1 | declare const SyntaxError: SyntaxErrorConstructor; 2 | 3 | export = SyntaxError; 4 | -------------------------------------------------------------------------------- /node_modules/es-errors/syntax.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./syntax')} */ 4 | module.exports = SyntaxError; 5 | -------------------------------------------------------------------------------- /node_modules/es-errors/test/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var test = require('tape'); 4 | 5 | var E = require('../'); 6 | var R = require('../range'); 7 | var Ref = require('../ref'); 8 | var S = require('../syntax'); 9 | var T = require('../type'); 10 | 11 | test('errors', function (t) { 12 | t.equal(E, Error); 13 | t.equal(R, RangeError); 14 | t.equal(Ref, ReferenceError); 15 | t.equal(S, SyntaxError); 16 | t.equal(T, TypeError); 17 | 18 | t.end(); 19 | }); 20 | -------------------------------------------------------------------------------- /node_modules/es-errors/type.d.ts: -------------------------------------------------------------------------------- 1 | declare const TypeError: TypeErrorConstructor 2 | 3 | export = TypeError; 4 | -------------------------------------------------------------------------------- /node_modules/es-errors/type.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./type')} */ 4 | module.exports = TypeError; 5 | -------------------------------------------------------------------------------- /node_modules/es-errors/uri.d.ts: -------------------------------------------------------------------------------- 1 | declare const URIError: URIErrorConstructor; 2 | 3 | export = URIError; 4 | -------------------------------------------------------------------------------- /node_modules/es-errors/uri.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** @type {import('./uri')} */ 4 | module.exports = URIError; 5 | -------------------------------------------------------------------------------- /node_modules/escape-html/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "escape-html", 3 | "description": "Escape string for use in HTML", 4 | "version": "1.0.3", 5 | "license": "MIT", 6 | "keywords": [ 7 | "escape", 8 | "html", 9 | "utility" 10 | ], 11 | "repository": "component/escape-html", 12 | "devDependencies": { 13 | "benchmark": "1.0.0", 14 | "beautify-benchmark": "0.2.4" 15 | }, 16 | "files": [ 17 | "LICENSE", 18 | "Readme.md", 19 | "index.js" 20 | ], 21 | "scripts": { 22 | "bench": "node benchmark/index.js" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /node_modules/express/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * express 3 | * Copyright(c) 2009-2013 TJ Holowaychuk 4 | * Copyright(c) 2013 Roman Shtylman 5 | * Copyright(c) 2014-2015 Douglas Christopher Wilson 6 | * MIT Licensed 7 | */ 8 | 9 | 'use strict'; 10 | 11 | module.exports = require('./lib/express'); 12 | -------------------------------------------------------------------------------- /node_modules/forwarded/HISTORY.md: -------------------------------------------------------------------------------- 1 | 0.2.0 / 2021-05-31 2 | ================== 3 | 4 | * Use `req.socket` over deprecated `req.connection` 5 | 6 | 0.1.2 / 2017-09-14 7 | ================== 8 | 9 | * perf: improve header parsing 10 | * perf: reduce overhead when no `X-Forwarded-For` header 11 | 12 | 0.1.1 / 2017-09-10 13 | ================== 14 | 15 | * Fix trimming leading / trailing OWS 16 | * perf: hoist regular expression 17 | 18 | 0.1.0 / 2014-09-21 19 | ================== 20 | 21 | * Initial release 22 | -------------------------------------------------------------------------------- /node_modules/function-bind/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "func-name-matching": 0, 8 | "indent": [2, 4], 9 | "no-new-func": [1], 10 | }, 11 | 12 | "overrides": [ 13 | { 14 | "files": "test/**", 15 | "rules": { 16 | "max-lines-per-function": 0, 17 | "strict": [0] 18 | }, 19 | }, 20 | ], 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/function-bind/.github/SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security 2 | 3 | Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report. 4 | -------------------------------------------------------------------------------- /node_modules/function-bind/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "lines": 86, 6 | "statements": 85.93, 7 | "functions": 82.43, 8 | "branches": 76.06, 9 | "exclude": [ 10 | "coverage", 11 | "test" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/function-bind/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var implementation = require('./implementation'); 4 | 5 | module.exports = Function.prototype.bind || implementation; 6 | -------------------------------------------------------------------------------- /node_modules/function-bind/test/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "rules": { 3 | "array-bracket-newline": 0, 4 | "array-element-newline": 0, 5 | "max-statements-per-line": [2, { "max": 2 }], 6 | "no-invalid-this": 0, 7 | "no-magic-numbers": 0, 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/get-intrinsic/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "exclude": [ 6 | "coverage", 7 | "test" 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/gopd/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "func-style": [2, "declaration"], 8 | "id-length": 0, 9 | "multiline-comment-style": 0, 10 | "new-cap": [2, { 11 | "capIsNewExceptions": [ 12 | "GetIntrinsic", 13 | ], 14 | }], 15 | }, 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/gopd/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var GetIntrinsic = require('get-intrinsic'); 4 | 5 | var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true); 6 | 7 | if ($gOPD) { 8 | try { 9 | $gOPD([], 'length'); 10 | } catch (e) { 11 | // IE 8 has a broken gOPD 12 | $gOPD = null; 13 | } 14 | } 15 | 16 | module.exports = $gOPD; 17 | -------------------------------------------------------------------------------- /node_modules/has-flag/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = (flag, argv) => { 3 | argv = argv || process.argv; 4 | const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--'); 5 | const pos = argv.indexOf(prefix + flag); 6 | const terminatorPos = argv.indexOf('--'); 7 | return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos); 8 | }; 9 | -------------------------------------------------------------------------------- /node_modules/has-property-descriptors/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "func-name-matching": 0, 8 | "id-length": 0, 9 | "new-cap": [2, { 10 | "capIsNewExceptions": ["GetIntrinsic"], 11 | }], 12 | }, 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/has-property-descriptors/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "exclude": [ 6 | "coverage", 7 | "test" 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/has-proto/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/has-proto/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function hasProto(): boolean; 2 | 3 | export = hasProto; -------------------------------------------------------------------------------- /node_modules/has-proto/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var test = { 4 | __proto__: null, 5 | foo: {} 6 | }; 7 | 8 | var $Object = Object; 9 | 10 | /** @type {import('.')} */ 11 | module.exports = function hasProto() { 12 | // @ts-expect-error: TS errors on an inherited property for some reason 13 | return { __proto__: test }.foo === test.foo 14 | && !(test instanceof $Object); 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/has-proto/test/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var test = require('tape'); 4 | var hasProto = require('../'); 5 | 6 | test('hasProto', function (t) { 7 | var result = hasProto(); 8 | t.equal(typeof result, 'boolean', 'returns a boolean (' + result + ')'); 9 | 10 | var obj = { __proto__: null }; 11 | if (result) { 12 | t.notOk('toString' in obj, 'null object lacks toString'); 13 | } else { 14 | t.ok('toString' in obj, 'without proto, null object has toString'); 15 | t.equal(obj.__proto__, null); // eslint-disable-line no-proto 16 | } 17 | 18 | t.end(); 19 | }); 20 | -------------------------------------------------------------------------------- /node_modules/has-symbols/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "max-statements-per-line": [2, { "max": 2 }], 8 | "no-magic-numbers": 0, 9 | "multiline-comment-style": 0, 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/has-symbols/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "exclude": [ 6 | "coverage", 7 | "test" 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/has-symbols/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var origSymbol = typeof Symbol !== 'undefined' && Symbol; 4 | var hasSymbolSham = require('./shams'); 5 | 6 | module.exports = function hasNativeSymbols() { 7 | if (typeof origSymbol !== 'function') { return false; } 8 | if (typeof Symbol !== 'function') { return false; } 9 | if (typeof origSymbol('foo') !== 'symbol') { return false; } 10 | if (typeof Symbol('bar') !== 'symbol') { return false; } 11 | 12 | return hasSymbolSham(); 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/hasown/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/hasown/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "lines": 86, 6 | "statements": 85.93, 7 | "functions": 82.43, 8 | "branches": 76.06, 9 | "exclude": [ 10 | "coverage", 11 | "test" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/hasown/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function hasOwn(o: O, p: K): o is O & Record; 2 | 3 | export = hasOwn; 4 | -------------------------------------------------------------------------------- /node_modules/hasown/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var call = Function.prototype.call; 4 | var $hasOwn = Object.prototype.hasOwnProperty; 5 | var bind = require('function-bind'); 6 | 7 | /** @type {import('.')} */ 8 | module.exports = bind.call(call, $hasOwn); 9 | -------------------------------------------------------------------------------- /node_modules/hasown/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@ljharb/tsconfig", 3 | "exclude": [ 4 | "coverage", 5 | ], 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | try { 2 | var util = require('util'); 3 | /* istanbul ignore next */ 4 | if (typeof util.inherits !== 'function') throw ''; 5 | module.exports = util.inherits; 6 | } catch (e) { 7 | /* istanbul ignore next */ 8 | module.exports = require('./inherits_browser.js'); 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/is-binary-path/index.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | Check if a file path is a binary file. 3 | 4 | @example 5 | ``` 6 | import isBinaryPath = require('is-binary-path'); 7 | 8 | isBinaryPath('source/unicorn.png'); 9 | //=> true 10 | 11 | isBinaryPath('source/unicorn.txt'); 12 | //=> false 13 | ``` 14 | */ 15 | declare function isBinaryPath(filePath: string): boolean; 16 | 17 | export = isBinaryPath; 18 | -------------------------------------------------------------------------------- /node_modules/is-binary-path/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | const path = require('path'); 3 | const binaryExtensions = require('binary-extensions'); 4 | 5 | const extensions = new Set(binaryExtensions); 6 | 7 | module.exports = filePath => extensions.has(path.extname(filePath).slice(1).toLowerCase()); 8 | -------------------------------------------------------------------------------- /node_modules/is-extglob/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-extglob 3 | * 4 | * Copyright (c) 2014-2016, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | module.exports = function isExtglob(str) { 9 | if (typeof str !== 'string' || str === '') { 10 | return false; 11 | } 12 | 13 | var match; 14 | while ((match = /(\\).|([@?!+*]\(.*\))/g.exec(str))) { 15 | if (match[2]) return true; 16 | str = str.slice(match.index + match[0].length); 17 | } 18 | 19 | return false; 20 | }; 21 | -------------------------------------------------------------------------------- /node_modules/is-number/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-number 3 | * 4 | * Copyright (c) 2014-present, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function(num) { 11 | if (typeof num === 'number') { 12 | return num - num === 0; 13 | } 14 | if (typeof num === 'string' && num.trim() !== '') { 15 | return Number.isFinite ? Number.isFinite(+num) : isFinite(+num); 16 | } 17 | return false; 18 | }; 19 | -------------------------------------------------------------------------------- /node_modules/joi-password-complexity/lib/index.d.ts: -------------------------------------------------------------------------------- 1 | import Joi from 'joi'; 2 | export interface JoiPasswordComplexity extends Joi.StringSchema { 3 | passwordComplexity(): this; 4 | } 5 | export interface ComplexityOptions { 6 | min?: number; 7 | max?: number; 8 | lowerCase?: number; 9 | upperCase?: number; 10 | numeric?: number; 11 | symbol?: number; 12 | requirementCount?: number; 13 | } 14 | declare const _default: ({ min, max, lowerCase, upperCase, numeric, symbol, requirementCount, }?: ComplexityOptions, label?: string) => JoiPasswordComplexity; 15 | export default _default; 16 | -------------------------------------------------------------------------------- /node_modules/joi/README.md: -------------------------------------------------------------------------------- 1 | # joi 2 | 3 | #### The most powerful schema description language and data validator for JavaScript. 4 | 5 | ## Installation 6 | `npm install joi` 7 | 8 | ### Visit the [joi.dev](https://joi.dev) Developer Portal for tutorials, documentation, and support 9 | 10 | ## Useful resources 11 | 12 | - [Documentation and API](https://joi.dev/api/) 13 | - [Versions status](https://joi.dev/resources/status/#joi) 14 | - [Changelog](https://joi.dev/resources/changelog/) 15 | - [Project policies](https://joi.dev/policies/) 16 | -------------------------------------------------------------------------------- /node_modules/joi/lib/types/object.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const Keys = require('./keys'); 4 | 5 | 6 | const internals = {}; 7 | 8 | 9 | module.exports = Keys.extend({ 10 | 11 | type: 'object', 12 | 13 | cast: { 14 | map: { 15 | from: (value) => value && typeof value === 'object', 16 | to(value, helpers) { 17 | 18 | return new Map(Object.entries(value)); 19 | } 20 | } 21 | } 22 | }); 23 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/schema/core.js: -------------------------------------------------------------------------------- 1 | // Standard YAML's Core schema. 2 | // http://www.yaml.org/spec/1.2/spec.html#id2804923 3 | // 4 | // NOTE: JS-YAML does not support schema-specific tag resolution restrictions. 5 | // So, Core schema has no distinctions from JSON schema is JS-YAML. 6 | 7 | 8 | 'use strict'; 9 | 10 | 11 | module.exports = require('./json'); 12 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/schema/failsafe.js: -------------------------------------------------------------------------------- 1 | // Standard YAML's Failsafe schema. 2 | // http://www.yaml.org/spec/1.2/spec.html#id2802346 3 | 4 | 5 | 'use strict'; 6 | 7 | 8 | var Schema = require('../schema'); 9 | 10 | 11 | module.exports = new Schema({ 12 | explicit: [ 13 | require('../type/str'), 14 | require('../type/seq'), 15 | require('../type/map') 16 | ] 17 | }); 18 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/type/map.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | module.exports = new Type('tag:yaml.org,2002:map', { 6 | kind: 'mapping', 7 | construct: function (data) { return data !== null ? data : {}; } 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/type/merge.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | function resolveYamlMerge(data) { 6 | return data === '<<' || data === null; 7 | } 8 | 9 | module.exports = new Type('tag:yaml.org,2002:merge', { 10 | kind: 'scalar', 11 | resolve: resolveYamlMerge 12 | }); 13 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/type/seq.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | module.exports = new Type('tag:yaml.org,2002:seq', { 6 | kind: 'sequence', 7 | construct: function (data) { return data !== null ? data : []; } 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/type/str.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | module.exports = new Type('tag:yaml.org,2002:str', { 6 | kind: 'scalar', 7 | construct: function (data) { return data !== null ? data : ''; } 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/jsonwebtoken/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | decode: require('./decode'), 3 | verify: require('./verify'), 4 | sign: require('./sign'), 5 | JsonWebTokenError: require('./lib/JsonWebTokenError'), 6 | NotBeforeError: require('./lib/NotBeforeError'), 7 | TokenExpiredError: require('./lib/TokenExpiredError'), 8 | }; 9 | -------------------------------------------------------------------------------- /node_modules/jsonwebtoken/lib/JsonWebTokenError.js: -------------------------------------------------------------------------------- 1 | var JsonWebTokenError = function (message, error) { 2 | Error.call(this, message); 3 | if(Error.captureStackTrace) { 4 | Error.captureStackTrace(this, this.constructor); 5 | } 6 | this.name = 'JsonWebTokenError'; 7 | this.message = message; 8 | if (error) this.inner = error; 9 | }; 10 | 11 | JsonWebTokenError.prototype = Object.create(Error.prototype); 12 | JsonWebTokenError.prototype.constructor = JsonWebTokenError; 13 | 14 | module.exports = JsonWebTokenError; 15 | -------------------------------------------------------------------------------- /node_modules/jsonwebtoken/lib/NotBeforeError.js: -------------------------------------------------------------------------------- 1 | var JsonWebTokenError = require('./JsonWebTokenError'); 2 | 3 | var NotBeforeError = function (message, date) { 4 | JsonWebTokenError.call(this, message); 5 | this.name = 'NotBeforeError'; 6 | this.date = date; 7 | }; 8 | 9 | NotBeforeError.prototype = Object.create(JsonWebTokenError.prototype); 10 | 11 | NotBeforeError.prototype.constructor = NotBeforeError; 12 | 13 | module.exports = NotBeforeError; -------------------------------------------------------------------------------- /node_modules/jsonwebtoken/lib/TokenExpiredError.js: -------------------------------------------------------------------------------- 1 | var JsonWebTokenError = require('./JsonWebTokenError'); 2 | 3 | var TokenExpiredError = function (message, expiredAt) { 4 | JsonWebTokenError.call(this, message); 5 | this.name = 'TokenExpiredError'; 6 | this.expiredAt = expiredAt; 7 | }; 8 | 9 | TokenExpiredError.prototype = Object.create(JsonWebTokenError.prototype); 10 | 11 | TokenExpiredError.prototype.constructor = TokenExpiredError; 12 | 13 | module.exports = TokenExpiredError; -------------------------------------------------------------------------------- /node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js: -------------------------------------------------------------------------------- 1 | const semver = require('semver'); 2 | 3 | module.exports = semver.satisfies(process.version, '>=15.7.0'); 4 | -------------------------------------------------------------------------------- /node_modules/jsonwebtoken/lib/psSupported.js: -------------------------------------------------------------------------------- 1 | var semver = require('semver'); 2 | 3 | module.exports = semver.satisfies(process.version, '^6.12.0 || >=8.0.0'); 4 | -------------------------------------------------------------------------------- /node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js: -------------------------------------------------------------------------------- 1 | const semver = require('semver'); 2 | 3 | module.exports = semver.satisfies(process.version, '>=16.9.0'); 4 | -------------------------------------------------------------------------------- /node_modules/jsonwebtoken/lib/timespan.js: -------------------------------------------------------------------------------- 1 | var ms = require('ms'); 2 | 3 | module.exports = function (time, iat) { 4 | var timestamp = iat || Math.floor(Date.now() / 1000); 5 | 6 | if (typeof time === 'string') { 7 | var milliseconds = ms(time); 8 | if (typeof milliseconds === 'undefined') { 9 | return; 10 | } 11 | return Math.floor(timestamp + milliseconds / 1000); 12 | } else if (typeof time === 'number') { 13 | return timestamp + time; 14 | } else { 15 | return; 16 | } 17 | 18 | }; -------------------------------------------------------------------------------- /node_modules/jws/lib/tostring.js: -------------------------------------------------------------------------------- 1 | /*global module*/ 2 | var Buffer = require('buffer').Buffer; 3 | 4 | module.exports = function toString(obj) { 5 | if (typeof obj === 'string') 6 | return obj; 7 | if (typeof obj === 'number' || Buffer.isBuffer(obj)) 8 | return obj.toString(); 9 | return JSON.stringify(obj); 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/kareem/SECURITY.md: -------------------------------------------------------------------------------- 1 | ## Security contact information 2 | 3 | To report a security vulnerability, please use the 4 | [Tidelift security contact](https://tidelift.com/security). 5 | Tidelift will coordinate the fix and disclosure. 6 | -------------------------------------------------------------------------------- /node_modules/lodash.get/README.md: -------------------------------------------------------------------------------- 1 | # lodash.get v4.4.2 2 | 3 | The [lodash](https://lodash.com/) method `_.get` exported as a [Node.js](https://nodejs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | ```bash 9 | $ {sudo -H} npm i -g npm 10 | $ npm i --save lodash.get 11 | ``` 12 | 13 | In Node.js: 14 | ```js 15 | var get = require('lodash.get'); 16 | ``` 17 | 18 | See the [documentation](https://lodash.com/docs#get) or [package source](https://github.com/lodash/lodash/blob/4.4.2-npm-packages/lodash.get) for more details. 19 | -------------------------------------------------------------------------------- /node_modules/lodash.includes/README.md: -------------------------------------------------------------------------------- 1 | # lodash.includes v4.3.0 2 | 3 | The [lodash](https://lodash.com/) method `_.includes` exported as a [Node.js](https://nodejs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | ```bash 9 | $ {sudo -H} npm i -g npm 10 | $ npm i --save lodash.includes 11 | ``` 12 | 13 | In Node.js: 14 | ```js 15 | var includes = require('lodash.includes'); 16 | ``` 17 | 18 | See the [documentation](https://lodash.com/docs#includes) or [package source](https://github.com/lodash/lodash/blob/4.3.0-npm-packages/lodash.includes) for more details. 19 | -------------------------------------------------------------------------------- /node_modules/lodash.isboolean/README.md: -------------------------------------------------------------------------------- 1 | # lodash.isboolean v3.0.3 2 | 3 | The [lodash](https://lodash.com/) method `_.isBoolean` exported as a [Node.js](https://nodejs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | ```bash 9 | $ {sudo -H} npm i -g npm 10 | $ npm i --save lodash.isboolean 11 | ``` 12 | 13 | In Node.js: 14 | ```js 15 | var isBoolean = require('lodash.isboolean'); 16 | ``` 17 | 18 | See the [documentation](https://lodash.com/docs#isBoolean) or [package source](https://github.com/lodash/lodash/blob/3.0.3-npm-packages/lodash.isboolean) for more details. 19 | -------------------------------------------------------------------------------- /node_modules/lodash.isequal/README.md: -------------------------------------------------------------------------------- 1 | # lodash.isequal v4.5.0 2 | 3 | The [Lodash](https://lodash.com/) method `_.isEqual` exported as a [Node.js](https://nodejs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | ```bash 9 | $ {sudo -H} npm i -g npm 10 | $ npm i --save lodash.isequal 11 | ``` 12 | 13 | In Node.js: 14 | ```js 15 | var isEqual = require('lodash.isequal'); 16 | ``` 17 | 18 | See the [documentation](https://lodash.com/docs#isEqual) or [package source](https://github.com/lodash/lodash/blob/4.5.0-npm-packages/lodash.isequal) for more details. 19 | -------------------------------------------------------------------------------- /node_modules/lodash.isinteger/README.md: -------------------------------------------------------------------------------- 1 | # lodash.isinteger v4.0.4 2 | 3 | The [lodash](https://lodash.com/) method `_.isInteger` exported as a [Node.js](https://nodejs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | ```bash 9 | $ {sudo -H} npm i -g npm 10 | $ npm i --save lodash.isinteger 11 | ``` 12 | 13 | In Node.js: 14 | ```js 15 | var isInteger = require('lodash.isinteger'); 16 | ``` 17 | 18 | See the [documentation](https://lodash.com/docs#isInteger) or [package source](https://github.com/lodash/lodash/blob/4.0.4-npm-packages/lodash.isinteger) for more details. 19 | -------------------------------------------------------------------------------- /node_modules/lodash.isnumber/README.md: -------------------------------------------------------------------------------- 1 | # lodash.isnumber v3.0.3 2 | 3 | The [lodash](https://lodash.com/) method `_.isNumber` exported as a [Node.js](https://nodejs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | ```bash 9 | $ {sudo -H} npm i -g npm 10 | $ npm i --save lodash.isnumber 11 | ``` 12 | 13 | In Node.js: 14 | ```js 15 | var isNumber = require('lodash.isnumber'); 16 | ``` 17 | 18 | See the [documentation](https://lodash.com/docs#isNumber) or [package source](https://github.com/lodash/lodash/blob/3.0.3-npm-packages/lodash.isnumber) for more details. 19 | -------------------------------------------------------------------------------- /node_modules/lodash.isplainobject/README.md: -------------------------------------------------------------------------------- 1 | # lodash.isplainobject v4.0.6 2 | 3 | The [lodash](https://lodash.com/) method `_.isPlainObject` exported as a [Node.js](https://nodejs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | ```bash 9 | $ {sudo -H} npm i -g npm 10 | $ npm i --save lodash.isplainobject 11 | ``` 12 | 13 | In Node.js: 14 | ```js 15 | var isPlainObject = require('lodash.isplainobject'); 16 | ``` 17 | 18 | See the [documentation](https://lodash.com/docs#isPlainObject) or [package source](https://github.com/lodash/lodash/blob/4.0.6-npm-packages/lodash.isplainobject) for more details. 19 | -------------------------------------------------------------------------------- /node_modules/lodash.isstring/README.md: -------------------------------------------------------------------------------- 1 | # lodash.isstring v4.0.1 2 | 3 | The [lodash](https://lodash.com/) method `_.isString` exported as a [Node.js](https://nodejs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | ```bash 9 | $ {sudo -H} npm i -g npm 10 | $ npm i --save lodash.isstring 11 | ``` 12 | 13 | In Node.js: 14 | ```js 15 | var isString = require('lodash.isstring'); 16 | ``` 17 | 18 | See the [documentation](https://lodash.com/docs#isString) or [package source](https://github.com/lodash/lodash/blob/4.0.1-npm-packages/lodash.isstring) for more details. 19 | -------------------------------------------------------------------------------- /node_modules/lodash.mergewith/README.md: -------------------------------------------------------------------------------- 1 | # lodash.mergewith v4.6.2 2 | 3 | The [Lodash](https://lodash.com/) method `_.mergeWith` exported as a [Node.js](https://nodejs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | ```bash 9 | $ {sudo -H} npm i -g npm 10 | $ npm i --save lodash.mergewith 11 | ``` 12 | 13 | In Node.js: 14 | ```js 15 | var mergeWith = require('lodash.mergewith'); 16 | ``` 17 | 18 | See the [documentation](https://lodash.com/docs#mergeWith) or [package source](https://github.com/lodash/lodash/blob/4.6.2-npm-packages/lodash.mergewith) for more details. 19 | -------------------------------------------------------------------------------- /node_modules/lodash.once/README.md: -------------------------------------------------------------------------------- 1 | # lodash.once v4.1.1 2 | 3 | The [lodash](https://lodash.com/) method `_.once` exported as a [Node.js](https://nodejs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | ```bash 9 | $ {sudo -H} npm i -g npm 10 | $ npm i --save lodash.once 11 | ``` 12 | 13 | In Node.js: 14 | ```js 15 | var once = require('lodash.once'); 16 | ``` 17 | 18 | See the [documentation](https://lodash.com/docs#once) or [package source](https://github.com/lodash/lodash/blob/4.1.1-npm-packages/lodash.once) for more details. 19 | -------------------------------------------------------------------------------- /node_modules/media-typer/HISTORY.md: -------------------------------------------------------------------------------- 1 | 0.3.0 / 2014-09-07 2 | ================== 3 | 4 | * Support Node.js 0.6 5 | * Throw error when parameter format invalid on parse 6 | 7 | 0.2.0 / 2014-06-18 8 | ================== 9 | 10 | * Add `typer.format()` to format media types 11 | 12 | 0.1.0 / 2014-06-17 13 | ================== 14 | 15 | * Accept `req` as argument to `parse` 16 | * Accept `res` as argument to `parse` 17 | * Parse media type with extra LWS between type and first parameter 18 | 19 | 0.0.0 / 2014-06-13 20 | ================== 21 | 22 | * Initial implementation 23 | -------------------------------------------------------------------------------- /node_modules/memory-pager/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - '4' 4 | - '6' 5 | -------------------------------------------------------------------------------- /node_modules/merge-descriptors/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.0.1 / 2016-01-17 2 | ================== 3 | 4 | * perf: enable strict mode 5 | 6 | 1.0.0 / 2015-03-01 7 | ================== 8 | 9 | * Add option to only add new descriptors 10 | * Add simple argument validation 11 | * Add jsdoc to source file 12 | 13 | 0.0.2 / 2013-12-14 14 | ================== 15 | 16 | * Move repository to `component` organization 17 | 18 | 0.0.1 / 2013-10-29 19 | ================== 20 | 21 | * Initial release 22 | -------------------------------------------------------------------------------- /node_modules/methods/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.1.2 / 2016-01-17 2 | ================== 3 | 4 | * perf: enable strict mode 5 | 6 | 1.1.1 / 2014-12-30 7 | ================== 8 | 9 | * Improve `browserify` support 10 | 11 | 1.1.0 / 2014-07-05 12 | ================== 13 | 14 | * Add `CONNECT` method 15 | 16 | 1.0.1 / 2014-06-02 17 | ================== 18 | 19 | * Fix module to work with harmony transform 20 | 21 | 1.0.0 / 2014-05-08 22 | ================== 23 | 24 | * Add `PURGE` method 25 | 26 | 0.1.0 / 2013-10-28 27 | ================== 28 | 29 | * Add `http.METHODS` support 30 | -------------------------------------------------------------------------------- /node_modules/mime-db/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * mime-db 3 | * Copyright(c) 2014 Jonathan Ong 4 | * Copyright(c) 2015-2022 Douglas Christopher Wilson 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module exports. 10 | */ 11 | 12 | module.exports = require('./db.json') 13 | -------------------------------------------------------------------------------- /node_modules/mime/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/humuraelvin/JS-full-stackBackend-with-swagger-js-documentation/521675a887d7f72319d32553b5a7336b0b38abde/node_modules/mime/.npmignore -------------------------------------------------------------------------------- /node_modules/mime/cli.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var mime = require('./mime.js'); 4 | var file = process.argv[2]; 5 | var type = mime.lookup(file); 6 | 7 | process.stdout.write(type + '\n'); 8 | 9 | -------------------------------------------------------------------------------- /node_modules/mongodb-connection-string-url/.esm-wrapper.mjs: -------------------------------------------------------------------------------- 1 | import mod from "./lib/index.js"; 2 | 3 | export default mod["default"]; 4 | export const CommaAndColonSeparatedRecord = mod.CommaAndColonSeparatedRecord; 5 | export const ConnectionString = mod.ConnectionString; 6 | export const redactConnectionString = mod.redactConnectionString; 7 | -------------------------------------------------------------------------------- /node_modules/mongodb-connection-string-url/lib/redact.d.ts: -------------------------------------------------------------------------------- 1 | import ConnectionString from './index'; 2 | export interface ConnectionStringRedactionOptions { 3 | redactUsernames?: boolean; 4 | replacementString?: string; 5 | } 6 | export declare function redactValidConnectionString(inputUrl: Readonly, options?: ConnectionStringRedactionOptions): ConnectionString; 7 | export declare function redactConnectionString(uri: string, options?: ConnectionStringRedactionOptions): string; 8 | -------------------------------------------------------------------------------- /node_modules/mongodb/etc/prepare.js: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env node 2 | var cp = require('child_process'); 3 | var fs = require('fs'); 4 | var os = require('os'); 5 | 6 | if (fs.existsSync('src')) { 7 | cp.spawn('npm', ['run', 'build:dts'], { stdio: 'inherit', shell: os.platform() === 'win32' }); 8 | } else { 9 | if (!fs.existsSync('lib')) { 10 | console.warn('MongoDB: No compiled javascript present, the driver is not installed correctly.'); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/mongodb/lib/client-side-encryption/providers/aws.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"aws.js","sourceRoot":"","sources":["../../../src/client-side-encryption/providers/aws.ts"],"names":[],"mappings":";;;AAAA,qCAAsD;AAGtD;;GAEG;AACI,KAAK,UAAU,kBAAkB,CAAC,YAA0B;IACjE,MAAM,kBAAkB,GAAG,IAAA,+BAAwB,GAAE,CAAC;IAEtD,IAAI,cAAc,IAAI,kBAAkB,EAAE;QACxC,OAAO,YAAY,CAAC;KACrB;IAED,MAAM,EAAE,qBAAqB,EAAE,GAAG,kBAAkB,CAAC;IACrD,MAAM,QAAQ,GAAG,qBAAqB,EAAE,CAAC;IACzC,8DAA8D;IAC9D,sCAAsC;IACtC,MAAM,GAAG,GAAG,MAAM,QAAQ,EAAE,CAAC;IAC7B,OAAO,EAAE,GAAG,YAAY,EAAE,GAAG,EAAE,CAAC;AAClC,CAAC;AAbD,gDAaC"} -------------------------------------------------------------------------------- /node_modules/mongodb/lib/client-side-encryption/providers/gcp.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"gcp.js","sourceRoot":"","sources":["../../../src/client-side-encryption/providers/gcp.ts"],"names":[],"mappings":";;;AAAA,qCAA4C;AAG5C,gBAAgB;AACT,KAAK,UAAU,kBAAkB,CAAC,YAA0B;IACjE,MAAM,WAAW,GAAG,IAAA,qBAAc,GAAE,CAAC;IAErC,IAAI,cAAc,IAAI,WAAW,EAAE;QACjC,OAAO,YAAY,CAAC;KACrB;IAED,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,GAAG,MAAM,WAAW,CAAC,QAAQ,CAA2B;QACzF,QAAQ,EAAE,gCAAgC;KAC3C,CAAC,CAAC;IACH,OAAO,EAAE,GAAG,YAAY,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,EAAE,CAAC;AACnD,CAAC;AAXD,gDAWC"} -------------------------------------------------------------------------------- /node_modules/mongodb/lib/cmap/auth/providers.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"providers.js","sourceRoot":"","sources":["../../../src/cmap/auth/providers.ts"],"names":[],"mappings":";;;AAAA,cAAc;AACD,QAAA,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC;IACzC,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,YAAY;IACxB,eAAe,EAAE,SAAS;IAC1B,cAAc,EAAE,QAAQ;IACxB,aAAa,EAAE,OAAO;IACtB,kBAAkB,EAAE,aAAa;IACjC,oBAAoB,EAAE,eAAe;IACrC,YAAY,EAAE,cAAc;IAC5B,oBAAoB;IACpB,YAAY,EAAE,cAAc;CACpB,CAAC,CAAC;AAKZ,gBAAgB;AACH,QAAA,4BAA4B,GAAG,IAAI,GAAG,CAAgB;IACjE,qBAAa,CAAC,cAAc;IAC5B,qBAAa,CAAC,WAAW;IACzB,qBAAa,CAAC,YAAY;IAC1B,qBAAa,CAAC,YAAY;CAC3B,CAAC,CAAC"} -------------------------------------------------------------------------------- /node_modules/mongodb/lib/cmap/wire_protocol/constants.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/cmap/wire_protocol/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,4BAA4B,GAAG,KAAK,CAAC;AACrC,QAAA,4BAA4B,GAAG,KAAK,CAAC;AACrC,QAAA,0BAA0B,GAAG,CAAC,CAAC;AAC/B,QAAA,0BAA0B,GAAG,EAAE,CAAC;AAChC,QAAA,6BAA6B,GAAG,EAAE,CAAC;AACnC,QAAA,+BAA+B,GAAG,KAAK,CAAC;AACxC,QAAA,QAAQ,GAAG,CAAC,CAAC;AACb,QAAA,SAAS,GAAG,IAAI,CAAC;AACjB,QAAA,SAAS,GAAG,IAAI,CAAC;AACjB,QAAA,QAAQ,GAAG,IAAI,CAAC;AAChB,QAAA,SAAS,GAAG,IAAI,CAAC;AACjB,QAAA,aAAa,GAAG,IAAI,CAAC;AACrB,QAAA,MAAM,GAAG,IAAI,CAAC"} -------------------------------------------------------------------------------- /node_modules/mongodb/lib/cursor/list_search_indexes_cursor.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"list_search_indexes_cursor.js","sourceRoot":"","sources":["../../src/cursor/list_search_indexes_cursor.ts"],"names":[],"mappings":";;;AAEA,6DAAyD;AAKzD,cAAc;AACd,MAAa,uBAAwB,SAAQ,sCAAmC;IAC9E,gBAAgB;IAChB,YACE,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,EAAc,EACzC,IAAmB,EACnB,UAAoC,EAAE;QAEtC,MAAM,QAAQ,GACZ,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,kBAAkB,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,kBAAkB,EAAE,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;QACnF,KAAK,CAAC,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;IACvC,CAAC;CACF;AAXD,0DAWC"} -------------------------------------------------------------------------------- /node_modules/mongodb/src/cmap/wire_protocol/constants.ts: -------------------------------------------------------------------------------- 1 | export const MIN_SUPPORTED_SERVER_VERSION = '3.6'; 2 | export const MAX_SUPPORTED_SERVER_VERSION = '7.0'; 3 | export const MIN_SUPPORTED_WIRE_VERSION = 6; 4 | export const MAX_SUPPORTED_WIRE_VERSION = 21; 5 | export const MIN_SUPPORTED_QE_WIRE_VERSION = 21; 6 | export const MIN_SUPPORTED_QE_SERVER_VERSION = '7.0'; 7 | export const OP_REPLY = 1; 8 | export const OP_UPDATE = 2001; 9 | export const OP_INSERT = 2002; 10 | export const OP_QUERY = 2004; 11 | export const OP_DELETE = 2006; 12 | export const OP_COMPRESSED = 2012; 13 | export const OP_MSG = 2013; 14 | -------------------------------------------------------------------------------- /node_modules/mongoose/SECURITY.md: -------------------------------------------------------------------------------- 1 | Please follow the instructions on [Tidelift's security page](https://tidelift.com/docs/security) to report a security issue. 2 | -------------------------------------------------------------------------------- /node_modules/mongoose/browser.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Export lib/mongoose 3 | * 4 | */ 5 | 6 | 'use strict'; 7 | 8 | module.exports = require('./lib/browser'); 9 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/driver.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /*! 4 | * ignore 5 | */ 6 | 7 | let driver = null; 8 | 9 | module.exports.get = function() { 10 | return driver; 11 | }; 12 | 13 | module.exports.set = function(v) { 14 | driver = v; 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/drivers/SPEC.md: -------------------------------------------------------------------------------- 1 | 2 | # Driver Spec 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/drivers/browser/binary.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Module dependencies. 4 | */ 5 | 6 | 'use strict'; 7 | 8 | const Binary = require('bson').Binary; 9 | 10 | /*! 11 | * Module exports. 12 | */ 13 | 14 | module.exports = exports = Binary; 15 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/drivers/browser/decimal128.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * ignore 3 | */ 4 | 5 | 'use strict'; 6 | 7 | module.exports = require('bson').Decimal128; 8 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/drivers/browser/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Module exports. 3 | */ 4 | 5 | 'use strict'; 6 | 7 | exports.Collection = function() { 8 | throw new Error('Cannot create a collection from browser library'); 9 | }; 10 | exports.Connection = function() { 11 | throw new Error('Cannot create a connection from browser library'); 12 | }; 13 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/drivers/node-mongodb-native/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Module exports. 3 | */ 4 | 5 | 'use strict'; 6 | 7 | exports.Collection = require('./collection'); 8 | exports.Connection = require('./connection'); 9 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/error/mongooseError.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /*! 4 | * ignore 5 | */ 6 | 7 | class MongooseError extends Error { } 8 | 9 | Object.defineProperty(MongooseError.prototype, 'name', { 10 | value: 'MongooseError' 11 | }); 12 | 13 | module.exports = MongooseError; 14 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/discriminator/areDiscriminatorValuesEqual.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const isBsonType = require('../isBsonType'); 4 | 5 | module.exports = function areDiscriminatorValuesEqual(a, b) { 6 | if (typeof a === 'string' && typeof b === 'string') { 7 | return a === b; 8 | } 9 | if (typeof a === 'number' && typeof b === 'number') { 10 | return a === b; 11 | } 12 | if (isBsonType(a, 'ObjectId') && isBsonType(b, 'ObjectId')) { 13 | return a.toString() === b.toString(); 14 | } 15 | return false; 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/each.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function each(arr, cb, done) { 4 | if (arr.length === 0) { 5 | return done(); 6 | } 7 | 8 | let remaining = arr.length; 9 | let err = null; 10 | for (const v of arr) { 11 | cb(v, function(_err) { 12 | if (err != null) { 13 | return; 14 | } 15 | if (_err != null) { 16 | err = _err; 17 | return done(err); 18 | } 19 | 20 | if (--remaining <= 0) { 21 | return done(); 22 | } 23 | }); 24 | } 25 | }; 26 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/error/combinePathErrors.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /*! 4 | * ignore 5 | */ 6 | 7 | module.exports = function combinePathErrors(err) { 8 | const keys = Object.keys(err.errors || {}); 9 | const len = keys.length; 10 | const msgs = []; 11 | let key; 12 | 13 | for (let i = 0; i < len; ++i) { 14 | key = keys[i]; 15 | if (err === err.errors[key]) { 16 | continue; 17 | } 18 | msgs.push(key + ': ' + err.errors[key].message); 19 | } 20 | 21 | return msgs.join(', '); 22 | }; 23 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/firstKey.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function firstKey(obj) { 4 | if (obj == null) { 5 | return null; 6 | } 7 | return Object.keys(obj)[0]; 8 | }; 9 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/getConstructorName.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * If `val` is an object, returns constructor name, if possible. Otherwise returns undefined. 5 | * @api private 6 | */ 7 | 8 | module.exports = function getConstructorName(val) { 9 | if (val == null) { 10 | return void 0; 11 | } 12 | if (typeof val.constructor !== 'function') { 13 | return void 0; 14 | } 15 | return val.constructor.name; 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/getFunctionName.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const functionNameRE = /^function\s*([^\s(]+)/; 4 | 5 | module.exports = function(fn) { 6 | return ( 7 | fn.name || 8 | (fn.toString().trim().match(functionNameRE) || [])[1] 9 | ); 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/immediate.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Centralize this so we can more easily work around issues with people 3 | * stubbing out `process.nextTick()` in tests using sinon: 4 | * https://github.com/sinonjs/lolex#automatically-incrementing-mocked-time 5 | * See gh-6074 6 | */ 7 | 8 | 'use strict'; 9 | 10 | const nextTick = typeof process !== 'undefined' && typeof process.nextTick === 'function' ? 11 | process.nextTick.bind(process) : 12 | cb => setTimeout(cb, 0); // Fallback for browser build 13 | 14 | module.exports = function immediate(cb) { 15 | return nextTick(cb); 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/indexes/applySchemaCollation.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const isTextIndex = require('./isTextIndex'); 4 | 5 | module.exports = function applySchemaCollation(indexKeys, indexOptions, schemaOptions) { 6 | if (isTextIndex(indexKeys)) { 7 | return; 8 | } 9 | 10 | if (schemaOptions.hasOwnProperty('collation') && !indexOptions.hasOwnProperty('collation')) { 11 | indexOptions.collation = schemaOptions.collation; 12 | } 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/indexes/isDefaultIdIndex.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const get = require('../get'); 4 | 5 | module.exports = function isDefaultIdIndex(index) { 6 | if (Array.isArray(index)) { 7 | // Mongoose syntax 8 | const keys = Object.keys(index[0]); 9 | return keys.length === 1 && keys[0] === '_id' && index[0]._id !== 'hashed'; 10 | } 11 | 12 | if (typeof index !== 'object') { 13 | return false; 14 | } 15 | 16 | const key = get(index, 'key', {}); 17 | return Object.keys(key).length === 1 && key.hasOwnProperty('_id'); 18 | }; 19 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/indexes/isTextIndex.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Returns `true` if the given index options have a `text` option. 5 | */ 6 | 7 | module.exports = function isTextIndex(indexKeys) { 8 | let isTextIndex = false; 9 | for (const key of Object.keys(indexKeys)) { 10 | if (indexKeys[key] === 'text') { 11 | isTextIndex = true; 12 | } 13 | } 14 | 15 | return isTextIndex; 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/isAsyncFunction.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function isAsyncFunction(v) { 4 | return ( 5 | typeof v === 'function' && 6 | v.constructor && 7 | v.constructor.name === 'AsyncFunction' 8 | ); 9 | }; 10 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/isBsonType.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Get the bson type, if it exists 5 | * @api private 6 | */ 7 | 8 | function isBsonType(obj, typename) { 9 | return ( 10 | typeof obj === 'object' && 11 | obj !== null && 12 | obj._bsontype === typename 13 | ); 14 | } 15 | 16 | module.exports = isBsonType; 17 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/isObject.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Determines if `arg` is an object. 5 | * 6 | * @param {Object|Array|String|Function|RegExp|any} arg 7 | * @api private 8 | * @return {Boolean} 9 | */ 10 | 11 | module.exports = function(arg) { 12 | return ( 13 | Buffer.isBuffer(arg) || 14 | Object.prototype.toString.call(arg) === '[object Object]' 15 | ); 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/isPOJO.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function isPOJO(arg) { 4 | if (arg == null || typeof arg !== 'object') { 5 | return false; 6 | } 7 | const proto = Object.getPrototypeOf(arg); 8 | // Prototype may be null if you used `Object.create(null)` 9 | // Checking `proto`'s constructor is safe because `getPrototypeOf()` 10 | // explicitly crosses the boundary from object data to object metadata 11 | return !proto || proto.constructor.name === 'Object'; 12 | }; 13 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/isPromise.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | function isPromise(val) { 3 | return !!val && (typeof val === 'object' || typeof val === 'function') && typeof val.then === 'function'; 4 | } 5 | 6 | module.exports = isPromise; 7 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/isSimpleValidator.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Determines if `arg` is a flat object. 5 | * 6 | * @param {Object|Array|String|Function|RegExp|any} arg 7 | * @api private 8 | * @return {Boolean} 9 | */ 10 | 11 | module.exports = function isSimpleValidator(obj) { 12 | const keys = Object.keys(obj); 13 | let result = true; 14 | for (let i = 0, len = keys.length; i < len; ++i) { 15 | if (typeof obj[keys[i]] === 'object' && obj[keys[i]] !== null) { 16 | result = false; 17 | break; 18 | } 19 | } 20 | 21 | return result; 22 | }; 23 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/model/applyStatics.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Register statics for this model 5 | * @param {Model} model 6 | * @param {Schema} schema 7 | * @api private 8 | */ 9 | module.exports = function applyStatics(model, schema) { 10 | for (const i in schema.statics) { 11 | model[i] = schema.statics[i]; 12 | } 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/model/pushNestedArrayPaths.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function pushNestedArrayPaths(paths, nestedArray, path) { 4 | if (nestedArray == null) { 5 | return; 6 | } 7 | 8 | for (let i = 0; i < nestedArray.length; ++i) { 9 | if (Array.isArray(nestedArray[i])) { 10 | pushNestedArrayPaths(paths, nestedArray[i], path + '.' + i); 11 | } else { 12 | paths.push(path + '.' + i); 13 | } 14 | } 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/once.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function once(fn) { 4 | let called = false; 5 | return function() { 6 | if (called) { 7 | return; 8 | } 9 | called = true; 10 | return fn.apply(null, arguments); 11 | }; 12 | }; 13 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/path/parentPaths.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const dotRE = /\./g; 4 | module.exports = function parentPaths(path) { 5 | if (path.indexOf('.') === -1) { 6 | return [path]; 7 | } 8 | const pieces = path.split(dotRE); 9 | const len = pieces.length; 10 | const ret = new Array(len); 11 | let cur = ''; 12 | for (let i = 0; i < len; ++i) { 13 | cur += (cur.length !== 0) ? '.' + pieces[i] : pieces[i]; 14 | ret[i] = cur; 15 | } 16 | 17 | return ret; 18 | }; 19 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/populate/leanPopulateMap.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /*! 4 | * ignore 5 | */ 6 | 7 | module.exports = new WeakMap(); 8 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/populate/skipPopulateValue.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function SkipPopulateValue(val) { 4 | if (!(this instanceof SkipPopulateValue)) { 5 | return new SkipPopulateValue(val); 6 | } 7 | 8 | this.val = val; 9 | return this; 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/populate/validateRef.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const MongooseError = require('../../error/mongooseError'); 4 | const util = require('util'); 5 | 6 | module.exports = validateRef; 7 | 8 | function validateRef(ref, path) { 9 | if (typeof ref === 'string') { 10 | return; 11 | } 12 | 13 | if (typeof ref === 'function') { 14 | return; 15 | } 16 | 17 | throw new MongooseError('Invalid ref at path "' + path + '". Got ' + 18 | util.inspect(ref, { depth: 0 })); 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/projection/isDefiningProjection.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /*! 4 | * ignore 5 | */ 6 | 7 | module.exports = function isDefiningProjection(val) { 8 | if (val == null) { 9 | // `undefined` or `null` become exclusive projections 10 | return true; 11 | } 12 | if (typeof val === 'object') { 13 | // Only cases where a value does **not** define whether the whole projection 14 | // is inclusive or exclusive are `$meta` and `$slice`. 15 | return !('$meta' in val) && !('$slice' in val); 16 | } 17 | return true; 18 | }; 19 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/projection/isNestedProjection.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function isNestedProjection(val) { 4 | if (val == null || typeof val !== 'object') { 5 | return false; 6 | } 7 | return val.$slice == null && val.$elemMatch == null && val.$meta == null && val.$ == null; 8 | }; 9 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/projection/isSubpath.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Determines if `path2` is a subpath of or equal to `path1` 5 | * 6 | * @param {string} path1 7 | * @param {string} path2 8 | * @return {Boolean} 9 | * @api private 10 | */ 11 | 12 | module.exports = function isSubpath(path1, path2) { 13 | return path1 === path2 || path2.startsWith(path1 + '.'); 14 | }; 15 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/query/handleReadPreferenceAliases.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function handleReadPreferenceAliases(pref) { 4 | switch (pref) { 5 | case 'p': 6 | pref = 'primary'; 7 | break; 8 | case 'pp': 9 | pref = 'primaryPreferred'; 10 | break; 11 | case 's': 12 | pref = 'secondary'; 13 | break; 14 | case 'sp': 15 | pref = 'secondaryPreferred'; 16 | break; 17 | case 'n': 18 | pref = 'nearest'; 19 | break; 20 | } 21 | 22 | return pref; 23 | }; 24 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/query/hasDollarKeys.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /*! 4 | * ignore 5 | */ 6 | 7 | module.exports = function hasDollarKeys(obj) { 8 | 9 | if (typeof obj !== 'object' || obj === null) { 10 | return false; 11 | } 12 | 13 | const keys = Object.keys(obj); 14 | const len = keys.length; 15 | 16 | for (let i = 0; i < len; ++i) { 17 | if (keys[i][0] === '$') { 18 | return true; 19 | } 20 | } 21 | 22 | return false; 23 | }; 24 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/query/isOperator.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const specialKeys = new Set([ 4 | '$ref', 5 | '$id', 6 | '$db' 7 | ]); 8 | 9 | module.exports = function isOperator(path) { 10 | return ( 11 | path[0] === '$' && 12 | !specialKeys.has(path) 13 | ); 14 | }; 15 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/query/sanitizeProjection.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function sanitizeProjection(projection) { 4 | if (projection == null) { 5 | return; 6 | } 7 | 8 | const keys = Object.keys(projection); 9 | for (let i = 0; i < keys.length; ++i) { 10 | if (typeof projection[keys[i]] === 'string') { 11 | projection[keys[i]] = 1; 12 | } 13 | } 14 | }; 15 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/query/trusted.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const trustedSymbol = Symbol('mongoose#trustedSymbol'); 4 | 5 | exports.trustedSymbol = trustedSymbol; 6 | 7 | exports.trusted = function trusted(obj) { 8 | if (obj == null || typeof obj !== 'object') { 9 | return obj; 10 | } 11 | obj[trustedSymbol] = true; 12 | return obj; 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/query/validOps.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = require('../../constants').queryMiddlewareFunctions; 4 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/schema/addAutoId.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function addAutoId(schema) { 4 | const _obj = { _id: { auto: true } }; 5 | _obj._id[schema.options.typeKey] = 'ObjectId'; 6 | schema.add(_obj); 7 | }; 8 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/schema/applyBuiltinPlugins.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const builtinPlugins = require('../../plugins'); 4 | 5 | module.exports = function applyBuiltinPlugins(schema) { 6 | for (const plugin of Object.values(builtinPlugins)) { 7 | plugin(schema, { deduplicate: true }); 8 | } 9 | schema.plugins = Object.values(builtinPlugins). 10 | map(fn => ({ fn, opts: { deduplicate: true } })). 11 | concat(schema.plugins); 12 | }; 13 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/schema/cleanPositionalOperators.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * For consistency's sake, we replace positional operator `$` and array filters 5 | * `$[]` and `$[foo]` with `0` when looking up schema paths. 6 | */ 7 | 8 | module.exports = function cleanPositionalOperators(path) { 9 | return path. 10 | replace(/\.\$(\[[^\]]*\])?(?=\.)/g, '.0'). 11 | replace(/\.\$(\[[^\]]*\])?$/g, '.0'); 12 | }; 13 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/schema/handleIdOption.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const addAutoId = require('./addAutoId'); 4 | 5 | module.exports = function handleIdOption(schema, options) { 6 | if (options == null || options._id == null) { 7 | return schema; 8 | } 9 | 10 | schema = schema.clone(); 11 | if (!options._id) { 12 | schema.remove('_id'); 13 | schema.options._id = false; 14 | } else if (!schema.paths['_id']) { 15 | addAutoId(schema); 16 | schema.options._id = true; 17 | } 18 | 19 | return schema; 20 | }; 21 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/schema/handleTimestampOption.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = handleTimestampOption; 4 | 5 | /*! 6 | * ignore 7 | */ 8 | 9 | function handleTimestampOption(arg, prop) { 10 | if (arg == null) { 11 | return null; 12 | } 13 | 14 | if (typeof arg === 'boolean') { 15 | return prop; 16 | } 17 | if (typeof arg[prop] === 'boolean') { 18 | return arg[prop] ? prop : null; 19 | } 20 | if (!(prop in arg)) { 21 | return prop; 22 | } 23 | return arg[prop]; 24 | } 25 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/specialProperties.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = new Set(['__proto__', 'constructor', 'prototype']); 4 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/timers.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | exports.setTimeout = setTimeout; 4 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/helpers/topology/allServersUnknown.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const getConstructorName = require('../getConstructorName'); 4 | 5 | module.exports = function allServersUnknown(topologyDescription) { 6 | if (getConstructorName(topologyDescription) !== 'TopologyDescription') { 7 | return false; 8 | } 9 | 10 | const servers = Array.from(topologyDescription.servers.values()); 11 | return servers.length > 0 && servers.every(server => server.type === 'Unknown'); 12 | }; 13 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /*! 4 | * Module dependencies. 5 | */ 6 | 7 | require('./driver').set(require('./drivers/node-mongodb-native')); 8 | 9 | const mongoose = require('./mongoose'); 10 | 11 | mongoose.Mongoose.prototype.mongo = require('mongodb'); 12 | 13 | module.exports = mongoose; 14 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/options.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /*! 4 | * ignore 5 | */ 6 | 7 | exports.internalToObjectOptions = { 8 | transform: false, 9 | virtuals: false, 10 | getters: false, 11 | _skipDepopulateTopLevel: true, 12 | depopulate: true, 13 | flattenDecimals: false, 14 | useProjection: false, 15 | versionKey: true 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/options/propertyOptions.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = Object.freeze({ 4 | enumerable: true, 5 | configurable: true, 6 | writable: true, 7 | value: void 0 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/options/saveOptions.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const clone = require('../helpers/clone'); 4 | 5 | class SaveOptions { 6 | constructor(obj) { 7 | if (obj == null) { 8 | return; 9 | } 10 | Object.assign(this, clone(obj)); 11 | } 12 | } 13 | 14 | module.exports = SaveOptions; 15 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/plugins/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | exports.saveSubdocs = require('./saveSubdocs'); 4 | exports.sharding = require('./sharding'); 5 | exports.trackTransaction = require('./trackTransaction'); 6 | exports.validateBeforeSave = require('./validateBeforeSave'); 7 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/schema/operators/exists.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const castBoolean = require('../../cast/boolean'); 4 | 5 | /*! 6 | * ignore 7 | */ 8 | 9 | module.exports = function(val) { 10 | const path = this != null ? this.path : null; 11 | return castBoolean(val, path); 12 | }; 13 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/schema/operators/type.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /*! 4 | * ignore 5 | */ 6 | 7 | module.exports = function(val) { 8 | if (Array.isArray(val)) { 9 | if (!val.every(v => typeof v === 'number' || typeof v === 'string')) { 10 | throw new Error('$type array values must be strings or numbers'); 11 | } 12 | return val; 13 | } 14 | 15 | if (typeof val !== 'number' && typeof val !== 'string') { 16 | throw new Error('$type parameter must be number, string, or array of numbers and strings'); 17 | } 18 | 19 | return val; 20 | }; 21 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/schema/symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | exports.schemaMixedSymbol = Symbol.for('mongoose:schema_mixed'); 4 | 5 | exports.builtInMiddleware = Symbol.for('mongoose:built-in-middleware'); 6 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/types/array/isMongooseArray.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | exports.isMongooseArray = function(mongooseArray) { 4 | return Array.isArray(mongooseArray) && mongooseArray.isMongooseArray; 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/types/decimal128.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Decimal128 type constructor 3 | * 4 | * #### Example: 5 | * 6 | * const id = new mongoose.Types.Decimal128('3.1415'); 7 | * 8 | * @constructor Decimal128 9 | */ 10 | 11 | 'use strict'; 12 | 13 | module.exports = require('bson').Decimal128; 14 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/types/documentArray/isMongooseDocumentArray.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | exports.isMongooseDocumentArray = function(mongooseDocumentArray) { 4 | return Array.isArray(mongooseDocumentArray) && mongooseDocumentArray.isMongooseDocumentArray; 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/types/index.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Module exports. 4 | */ 5 | 6 | 'use strict'; 7 | 8 | exports.Array = require('./array'); 9 | exports.Buffer = require('./buffer'); 10 | 11 | exports.Document = // @deprecate 12 | exports.Embedded = require('./arraySubdocument'); 13 | 14 | exports.DocumentArray = require('./documentArray'); 15 | exports.Decimal128 = require('./decimal128'); 16 | exports.ObjectId = require('./objectid'); 17 | 18 | exports.Map = require('./map'); 19 | 20 | exports.Subdocument = require('./subdocument'); 21 | 22 | exports.UUID = require('./uuid'); 23 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/types/uuid.js: -------------------------------------------------------------------------------- 1 | /** 2 | * UUID type constructor 3 | * 4 | * #### Example: 5 | * 6 | * const id = new mongoose.Types.UUID(); 7 | * 8 | * @constructor UUID 9 | */ 10 | 11 | 'use strict'; 12 | 13 | module.exports = require('bson').UUID; 14 | -------------------------------------------------------------------------------- /node_modules/mongoose/types/augmentations.d.ts: -------------------------------------------------------------------------------- 1 | // this import is required so that types get merged instead of completely overwritten 2 | import 'bson'; 3 | 4 | declare module 'bson' { 5 | interface ObjectId { 6 | /** Mongoose automatically adds a conveniency "_id" getter on the base ObjectId class */ 7 | _id: this; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/mongoose/types/callback.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'mongoose' { 2 | type CallbackError = NativeError | null; 3 | 4 | type Callback = (error: CallbackError, result: T) => void; 5 | 6 | type CallbackWithoutResult = (error: CallbackError) => void; 7 | type CallbackWithoutResultAndOptionalError = (error?: CallbackError) => void; 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/mpath/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | - "5" 5 | - "6" 6 | - "7" 7 | - "8" 8 | - "9" 9 | - "10" 10 | -------------------------------------------------------------------------------- /node_modules/mpath/SECURITY.md: -------------------------------------------------------------------------------- 1 | # Reporting a Vulnerability 2 | 3 | Please report suspected security vulnerabilities to val [at] karpov [dot] io. 4 | You will receive a response from us within 72 hours. 5 | If the issue is confirmed, we will release a patch as soon as possible depending on complexity. 6 | -------------------------------------------------------------------------------- /node_modules/mpath/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = exports = require('./lib'); 4 | -------------------------------------------------------------------------------- /node_modules/mpath/test/.eslintrc.yml: -------------------------------------------------------------------------------- 1 | env: 2 | mocha: true 3 | rules: 4 | no-unused-vars: off -------------------------------------------------------------------------------- /node_modules/mquery/.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | **Do you want to request a *feature* or report a *bug*?** 4 | 5 | **What is the current behavior?** 6 | 7 | **If the current behavior is a bug, please provide the steps to reproduce.** 8 | 9 | **What is the expected behavior?** 10 | 11 | **What are the versions of Node.js and mquery are you are using? Note that "latest" is not a version.** 12 | -------------------------------------------------------------------------------- /node_modules/mquery/.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | **Summary** 4 | 5 | 6 | 7 | **Examples** 8 | 9 | 10 | -------------------------------------------------------------------------------- /node_modules/mquery/SECURITY.md: -------------------------------------------------------------------------------- 1 | Please follow the instructions on [Tidelift's security page](https://tidelift.com/docs/security) to report a security issue. 2 | -------------------------------------------------------------------------------- /node_modules/mquery/lib/collection/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const env = require('../env'); 4 | 5 | if ('unknown' == env.type) { 6 | throw new Error('Unknown environment'); 7 | } 8 | 9 | module.exports = 10 | env.isNode ? require('./node') : 11 | env.isMongo ? require('./collection') : 12 | require('./collection'); 13 | 14 | -------------------------------------------------------------------------------- /node_modules/nodemon/.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/nodemon/bin/nodemon.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | const cli = require('../lib/cli'); 4 | const nodemon = require('../lib/'); 5 | const options = cli.parse(process.argv); 6 | 7 | nodemon(options); 8 | 9 | const fs = require('fs'); 10 | 11 | // checks for available update and returns an instance 12 | const pkg = JSON.parse(fs.readFileSync(__dirname + '/../package.json')); 13 | 14 | if (pkg.version.indexOf('0.0.0') !== 0 && options.noUpdateNotifier !== true) { 15 | require('simple-update-notifier')({ pkg }); 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/nodemon/bin/windows-kill.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/humuraelvin/JS-full-stackBackend-with-swagger-js-documentation/521675a887d7f72319d32553b5a7336b0b38abde/node_modules/nodemon/bin/windows-kill.exe -------------------------------------------------------------------------------- /node_modules/nodemon/doc/cli/authors.txt: -------------------------------------------------------------------------------- 1 | 2 | Remy Sharp - author and maintainer 3 | https://github.com/remy 4 | https://twitter.com/rem 5 | 6 | Contributors: https://github.com/remy/nodemon/graphs/contributors ❤︎ 7 | 8 | Please help make nodemon better: https://github.com/remy/nodemon/ 9 | -------------------------------------------------------------------------------- /node_modules/nodemon/doc/cli/topics.txt: -------------------------------------------------------------------------------- 1 | 2 | options .................. show all available nodemon options 3 | config ................... default config options using nodemon.json 4 | authors .................. contributors to this project 5 | logo ..................... <3 6 | whoami ................... I, AM, NODEMON \o/ 7 | 8 | Please support https://github.com/remy/nodemon/ 9 | -------------------------------------------------------------------------------- /node_modules/nodemon/doc/cli/usage.txt: -------------------------------------------------------------------------------- 1 | Usage: nodemon [nodemon options] [script.js] [args] 2 | 3 | See "nodemon --help" for more. 4 | -------------------------------------------------------------------------------- /node_modules/nodemon/lib/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./nodemon'); -------------------------------------------------------------------------------- /node_modules/nodemon/lib/monitor/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | run: require('./run'), 3 | watch: require('./watch').watch, 4 | }; 5 | -------------------------------------------------------------------------------- /node_modules/nopt/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/humuraelvin/JS-full-stackBackend-with-swagger-js-documentation/521675a887d7f72319d32553b5a7336b0b38abde/node_modules/nopt/.npmignore -------------------------------------------------------------------------------- /node_modules/nopt/package.json: -------------------------------------------------------------------------------- 1 | { "name" : "nopt" 2 | , "version" : "1.0.10" 3 | , "description" : "Option parsing for Node, supporting types, shorthands, etc. Used by npm." 4 | , "author" : "Isaac Z. Schlueter (http://blog.izs.me/)" 5 | , "main" : "lib/nopt.js" 6 | , "scripts" : { "test" : "node lib/nopt.js" } 7 | , "repository" : "http://github.com/isaacs/nopt" 8 | , "bin" : "./bin/nopt.js" 9 | , "license" : 10 | { "type" : "MIT" 11 | , "url" : "https://github.com/isaacs/nopt/raw/master/LICENSE" } 12 | , "dependencies" : { "abbrev" : "1" }} 13 | -------------------------------------------------------------------------------- /node_modules/object-inspect/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "instrumentation": false, 5 | "sourceMap": false, 6 | "reporter": ["text-summary", "text", "html", "json"], 7 | "exclude": [ 8 | "coverage", 9 | "example", 10 | "test", 11 | "test-core-js.js" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/object-inspect/example/all.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var inspect = require('../'); 4 | var Buffer = require('safer-buffer').Buffer; 5 | 6 | var holes = ['a', 'b']; 7 | holes[4] = 'e'; 8 | holes[6] = 'g'; 9 | 10 | var obj = { 11 | a: 1, 12 | b: [3, 4, undefined, null], 13 | c: undefined, 14 | d: null, 15 | e: { 16 | regex: /^x/i, 17 | buf: Buffer.from('abc'), 18 | holes: holes 19 | }, 20 | now: new Date() 21 | }; 22 | obj.self = obj; 23 | console.log(inspect(obj)); 24 | -------------------------------------------------------------------------------- /node_modules/object-inspect/example/circular.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var inspect = require('../'); 4 | var obj = { a: 1, b: [3, 4] }; 5 | obj.c = obj; 6 | console.log(inspect(obj)); 7 | -------------------------------------------------------------------------------- /node_modules/object-inspect/example/fn.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var inspect = require('../'); 4 | var obj = [1, 2, function f(n) { return n + 5; }, 4]; 5 | console.log(inspect(obj)); 6 | -------------------------------------------------------------------------------- /node_modules/object-inspect/example/inspect.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /* eslint-env browser */ 4 | var inspect = require('../'); 5 | 6 | var d = document.createElement('div'); 7 | d.setAttribute('id', 'beep'); 8 | d.innerHTML = 'woooiiiii'; 9 | 10 | console.log(inspect([d, { a: 3, b: 4, c: [5, 6, [7, [8, [9]]]] }])); 11 | -------------------------------------------------------------------------------- /node_modules/object-inspect/package-support.json: -------------------------------------------------------------------------------- 1 | { 2 | "versions": [ 3 | { 4 | "version": "*", 5 | "target": { 6 | "node": "all" 7 | }, 8 | "response": { 9 | "type": "time-permitting" 10 | }, 11 | "backing": { 12 | "npm-funding": true, 13 | "donations": [ 14 | "https://github.com/ljharb", 15 | "https://tidelift.com/funding/github/npm/object-inspect" 16 | ] 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /node_modules/object-inspect/test/browser/dom.js: -------------------------------------------------------------------------------- 1 | var inspect = require('../../'); 2 | var test = require('tape'); 3 | 4 | test('dom element', function (t) { 5 | t.plan(1); 6 | 7 | var d = document.createElement('div'); 8 | d.setAttribute('id', 'beep'); 9 | d.innerHTML = 'woooiiiii'; 10 | 11 | t.equal( 12 | inspect([d, { a: 3, b: 4, c: [5, 6, [7, [8, [9]]]] }]), 13 | '[
...
, { a: 3, b: 4, c: [ 5, 6, [ 7, [ 8, [Object] ] ] ] } ]' 14 | ); 15 | }); 16 | -------------------------------------------------------------------------------- /node_modules/object-inspect/test/circular.js: -------------------------------------------------------------------------------- 1 | var inspect = require('../'); 2 | var test = require('tape'); 3 | 4 | test('circular', function (t) { 5 | t.plan(2); 6 | var obj = { a: 1, b: [3, 4] }; 7 | obj.c = obj; 8 | t.equal(inspect(obj), '{ a: 1, b: [ 3, 4 ], c: [Circular] }'); 9 | 10 | var double = {}; 11 | double.a = [double]; 12 | double.b = {}; 13 | double.b.inner = double.b; 14 | double.b.obj = double; 15 | t.equal(inspect(double), '{ a: [ [Circular] ], b: { inner: [Circular], obj: [Circular] } }'); 16 | }); 17 | -------------------------------------------------------------------------------- /node_modules/object-inspect/test/deep.js: -------------------------------------------------------------------------------- 1 | var inspect = require('../'); 2 | var test = require('tape'); 3 | 4 | test('deep', function (t) { 5 | t.plan(4); 6 | var obj = [[[[[[500]]]]]]; 7 | t.equal(inspect(obj), '[ [ [ [ [ [Array] ] ] ] ] ]'); 8 | t.equal(inspect(obj, { depth: 4 }), '[ [ [ [ [Array] ] ] ] ]'); 9 | t.equal(inspect(obj, { depth: 2 }), '[ [ [Array] ] ]'); 10 | 11 | t.equal(inspect([[[{ a: 1 }]]], { depth: 3 }), '[ [ [ [Object] ] ] ]'); 12 | }); 13 | -------------------------------------------------------------------------------- /node_modules/object-inspect/test/global.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var inspect = require('../'); 4 | 5 | var test = require('tape'); 6 | var globalThis = require('globalthis')(); 7 | 8 | test('global object', function (t) { 9 | /* eslint-env browser */ 10 | var expected = typeof window === 'undefined' ? 'globalThis' : 'Window'; 11 | t.equal( 12 | inspect([globalThis]), 13 | '[ { [object ' + expected + '] } ]' 14 | ); 15 | 16 | t.end(); 17 | }); 18 | -------------------------------------------------------------------------------- /node_modules/object-inspect/test/has.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var inspect = require('../'); 4 | var test = require('tape'); 5 | var mockProperty = require('mock-property'); 6 | 7 | test('when Object#hasOwnProperty is deleted', function (t) { 8 | t.plan(1); 9 | var arr = [1, , 3]; // eslint-disable-line no-sparse-arrays 10 | 11 | t.teardown(mockProperty(Array.prototype, 1, { value: 2 })); // this is needed to account for "in" vs "hasOwnProperty" 12 | t.teardown(mockProperty(Object.prototype, 'hasOwnProperty', { 'delete': true })); 13 | 14 | t.equal(inspect(arr), '[ 1, , 3 ]'); 15 | }); 16 | -------------------------------------------------------------------------------- /node_modules/object-inspect/test/holes.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var inspect = require('../'); 3 | 4 | var xs = ['a', 'b']; 5 | xs[5] = 'f'; 6 | xs[7] = 'j'; 7 | xs[8] = 'k'; 8 | 9 | test('holes', function (t) { 10 | t.plan(1); 11 | t.equal( 12 | inspect(xs), 13 | "[ 'a', 'b', , , , 'f', , 'j', 'k' ]" 14 | ); 15 | }); 16 | -------------------------------------------------------------------------------- /node_modules/object-inspect/test/lowbyte.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var inspect = require('../'); 3 | 4 | var obj = { x: 'a\r\nb', y: '\x05! \x1f \x12' }; 5 | 6 | test('interpolate low bytes', function (t) { 7 | t.plan(1); 8 | t.equal( 9 | inspect(obj), 10 | "{ x: 'a\\r\\nb', y: '\\x05! \\x1F \\x12' }" 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /node_modules/object-inspect/test/undef.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var inspect = require('../'); 3 | 4 | var obj = { a: 1, b: [3, 4, undefined, null], c: undefined, d: null }; 5 | 6 | test('undef and null', function (t) { 7 | t.plan(1); 8 | t.equal( 9 | inspect(obj), 10 | '{ a: 1, b: [ 3, 4, undefined, null ], c: undefined, d: null }' 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /node_modules/object-inspect/util.inspect.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inspect; 2 | -------------------------------------------------------------------------------- /node_modules/picomatch/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = require('./lib/picomatch'); 4 | -------------------------------------------------------------------------------- /node_modules/pstree.remy/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | cache: 3 | directories: 4 | - ~/.npm 5 | notifications: 6 | email: false 7 | node_js: 8 | - '8' 9 | -------------------------------------------------------------------------------- /node_modules/pstree.remy/README.md: -------------------------------------------------------------------------------- 1 | # pstree.remy 2 | 3 | > Cross platform ps-tree (including unix flavours without ps) 4 | 5 | ## Installation 6 | 7 | ```shel 8 | npm install pstree.remy 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```js 14 | const psTree = psTree require('pstree.remy'); 15 | 16 | psTree(PID, (err, pids) => { 17 | if (err) { 18 | console.error(err); 19 | } 20 | console.log(pids) 21 | }); 22 | 23 | console.log(psTree.hasPS 24 | ? "This platform has the ps shell command" 25 | : "This platform does not have the ps shell command"); 26 | ``` 27 | -------------------------------------------------------------------------------- /node_modules/pstree.remy/tests/fixtures/index.js: -------------------------------------------------------------------------------- 1 | const spawn = require('child_process').spawn; 2 | function run() { 3 | spawn( 4 | 'sh', 5 | ['-c', 'node -e "setInterval(() => console.log(`running`), 200)"'], 6 | { 7 | stdio: 'pipe', 8 | } 9 | ); 10 | } 11 | 12 | var runCallCount = process.argv[2] || 1; 13 | for (var i = 0; i < runCallCount; i++) run(); 14 | -------------------------------------------------------------------------------- /node_modules/qs/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "lines": 86, 6 | "statements": 85.93, 7 | "functions": 82.43, 8 | "branches": 76.06, 9 | "exclude": [ 10 | "coverage", 11 | "dist" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/qs/lib/formats.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var replace = String.prototype.replace; 4 | var percentTwenties = /%20/g; 5 | 6 | var Format = { 7 | RFC1738: 'RFC1738', 8 | RFC3986: 'RFC3986' 9 | }; 10 | 11 | module.exports = { 12 | 'default': Format.RFC3986, 13 | formatters: { 14 | RFC1738: function (value) { 15 | return replace.call(value, percentTwenties, '+'); 16 | }, 17 | RFC3986: function (value) { 18 | return String(value); 19 | } 20 | }, 21 | RFC1738: Format.RFC1738, 22 | RFC3986: Format.RFC3986 23 | }; 24 | -------------------------------------------------------------------------------- /node_modules/qs/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var stringify = require('./stringify'); 4 | var parse = require('./parse'); 5 | var formats = require('./formats'); 6 | 7 | module.exports = { 8 | formats: formats, 9 | parse: parse, 10 | stringify: stringify 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/semver/classes/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | SemVer: require('./semver.js'), 3 | Range: require('./range.js'), 4 | Comparator: require('./comparator.js'), 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/semver/functions/clean.js: -------------------------------------------------------------------------------- 1 | const parse = require('./parse') 2 | const clean = (version, options) => { 3 | const s = parse(version.trim().replace(/^[=v]+/, ''), options) 4 | return s ? s.version : null 5 | } 6 | module.exports = clean 7 | -------------------------------------------------------------------------------- /node_modules/semver/functions/compare-build.js: -------------------------------------------------------------------------------- 1 | const SemVer = require('../classes/semver') 2 | const compareBuild = (a, b, loose) => { 3 | const versionA = new SemVer(a, loose) 4 | const versionB = new SemVer(b, loose) 5 | return versionA.compare(versionB) || versionA.compareBuild(versionB) 6 | } 7 | module.exports = compareBuild 8 | -------------------------------------------------------------------------------- /node_modules/semver/functions/compare-loose.js: -------------------------------------------------------------------------------- 1 | const compare = require('./compare') 2 | const compareLoose = (a, b) => compare(a, b, true) 3 | module.exports = compareLoose 4 | -------------------------------------------------------------------------------- /node_modules/semver/functions/compare.js: -------------------------------------------------------------------------------- 1 | const SemVer = require('../classes/semver') 2 | const compare = (a, b, loose) => 3 | new SemVer(a, loose).compare(new SemVer(b, loose)) 4 | 5 | module.exports = compare 6 | -------------------------------------------------------------------------------- /node_modules/semver/functions/eq.js: -------------------------------------------------------------------------------- 1 | const compare = require('./compare') 2 | const eq = (a, b, loose) => compare(a, b, loose) === 0 3 | module.exports = eq 4 | -------------------------------------------------------------------------------- /node_modules/semver/functions/gt.js: -------------------------------------------------------------------------------- 1 | const compare = require('./compare') 2 | const gt = (a, b, loose) => compare(a, b, loose) > 0 3 | module.exports = gt 4 | -------------------------------------------------------------------------------- /node_modules/semver/functions/gte.js: -------------------------------------------------------------------------------- 1 | const compare = require('./compare') 2 | const gte = (a, b, loose) => compare(a, b, loose) >= 0 3 | module.exports = gte 4 | -------------------------------------------------------------------------------- /node_modules/semver/functions/inc.js: -------------------------------------------------------------------------------- 1 | const SemVer = require('../classes/semver') 2 | 3 | const inc = (version, release, options, identifier, identifierBase) => { 4 | if (typeof (options) === 'string') { 5 | identifierBase = identifier 6 | identifier = options 7 | options = undefined 8 | } 9 | 10 | try { 11 | return new SemVer( 12 | version instanceof SemVer ? version.version : version, 13 | options 14 | ).inc(release, identifier, identifierBase).version 15 | } catch (er) { 16 | return null 17 | } 18 | } 19 | module.exports = inc 20 | -------------------------------------------------------------------------------- /node_modules/semver/functions/lt.js: -------------------------------------------------------------------------------- 1 | const compare = require('./compare') 2 | const lt = (a, b, loose) => compare(a, b, loose) < 0 3 | module.exports = lt 4 | -------------------------------------------------------------------------------- /node_modules/semver/functions/lte.js: -------------------------------------------------------------------------------- 1 | const compare = require('./compare') 2 | const lte = (a, b, loose) => compare(a, b, loose) <= 0 3 | module.exports = lte 4 | -------------------------------------------------------------------------------- /node_modules/semver/functions/major.js: -------------------------------------------------------------------------------- 1 | const SemVer = require('../classes/semver') 2 | const major = (a, loose) => new SemVer(a, loose).major 3 | module.exports = major 4 | -------------------------------------------------------------------------------- /node_modules/semver/functions/minor.js: -------------------------------------------------------------------------------- 1 | const SemVer = require('../classes/semver') 2 | const minor = (a, loose) => new SemVer(a, loose).minor 3 | module.exports = minor 4 | -------------------------------------------------------------------------------- /node_modules/semver/functions/neq.js: -------------------------------------------------------------------------------- 1 | const compare = require('./compare') 2 | const neq = (a, b, loose) => compare(a, b, loose) !== 0 3 | module.exports = neq 4 | -------------------------------------------------------------------------------- /node_modules/semver/functions/parse.js: -------------------------------------------------------------------------------- 1 | const SemVer = require('../classes/semver') 2 | const parse = (version, options, throwErrors = false) => { 3 | if (version instanceof SemVer) { 4 | return version 5 | } 6 | try { 7 | return new SemVer(version, options) 8 | } catch (er) { 9 | if (!throwErrors) { 10 | return null 11 | } 12 | throw er 13 | } 14 | } 15 | 16 | module.exports = parse 17 | -------------------------------------------------------------------------------- /node_modules/semver/functions/patch.js: -------------------------------------------------------------------------------- 1 | const SemVer = require('../classes/semver') 2 | const patch = (a, loose) => new SemVer(a, loose).patch 3 | module.exports = patch 4 | -------------------------------------------------------------------------------- /node_modules/semver/functions/prerelease.js: -------------------------------------------------------------------------------- 1 | const parse = require('./parse') 2 | const prerelease = (version, options) => { 3 | const parsed = parse(version, options) 4 | return (parsed && parsed.prerelease.length) ? parsed.prerelease : null 5 | } 6 | module.exports = prerelease 7 | -------------------------------------------------------------------------------- /node_modules/semver/functions/rcompare.js: -------------------------------------------------------------------------------- 1 | const compare = require('./compare') 2 | const rcompare = (a, b, loose) => compare(b, a, loose) 3 | module.exports = rcompare 4 | -------------------------------------------------------------------------------- /node_modules/semver/functions/rsort.js: -------------------------------------------------------------------------------- 1 | const compareBuild = require('./compare-build') 2 | const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose)) 3 | module.exports = rsort 4 | -------------------------------------------------------------------------------- /node_modules/semver/functions/satisfies.js: -------------------------------------------------------------------------------- 1 | const Range = require('../classes/range') 2 | const satisfies = (version, range, options) => { 3 | try { 4 | range = new Range(range, options) 5 | } catch (er) { 6 | return false 7 | } 8 | return range.test(version) 9 | } 10 | module.exports = satisfies 11 | -------------------------------------------------------------------------------- /node_modules/semver/functions/sort.js: -------------------------------------------------------------------------------- 1 | const compareBuild = require('./compare-build') 2 | const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose)) 3 | module.exports = sort 4 | -------------------------------------------------------------------------------- /node_modules/semver/functions/valid.js: -------------------------------------------------------------------------------- 1 | const parse = require('./parse') 2 | const valid = (version, options) => { 3 | const v = parse(version, options) 4 | return v ? v.version : null 5 | } 6 | module.exports = valid 7 | -------------------------------------------------------------------------------- /node_modules/semver/internal/debug.js: -------------------------------------------------------------------------------- 1 | const debug = ( 2 | typeof process === 'object' && 3 | process.env && 4 | process.env.NODE_DEBUG && 5 | /\bsemver\b/i.test(process.env.NODE_DEBUG) 6 | ) ? (...args) => console.error('SEMVER', ...args) 7 | : () => {} 8 | 9 | module.exports = debug 10 | -------------------------------------------------------------------------------- /node_modules/semver/internal/identifiers.js: -------------------------------------------------------------------------------- 1 | const numeric = /^[0-9]+$/ 2 | const compareIdentifiers = (a, b) => { 3 | const anum = numeric.test(a) 4 | const bnum = numeric.test(b) 5 | 6 | if (anum && bnum) { 7 | a = +a 8 | b = +b 9 | } 10 | 11 | return a === b ? 0 12 | : (anum && !bnum) ? -1 13 | : (bnum && !anum) ? 1 14 | : a < b ? -1 15 | : 1 16 | } 17 | 18 | const rcompareIdentifiers = (a, b) => compareIdentifiers(b, a) 19 | 20 | module.exports = { 21 | compareIdentifiers, 22 | rcompareIdentifiers, 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/semver/internal/parse-options.js: -------------------------------------------------------------------------------- 1 | // parse out just the options we care about 2 | const looseOption = Object.freeze({ loose: true }) 3 | const emptyOpts = Object.freeze({ }) 4 | const parseOptions = options => { 5 | if (!options) { 6 | return emptyOpts 7 | } 8 | 9 | if (typeof options !== 'object') { 10 | return looseOption 11 | } 12 | 13 | return options 14 | } 15 | module.exports = parseOptions 16 | -------------------------------------------------------------------------------- /node_modules/semver/preload.js: -------------------------------------------------------------------------------- 1 | // XXX remove in v8 or beyond 2 | module.exports = require('./index.js') 3 | -------------------------------------------------------------------------------- /node_modules/semver/ranges/gtr.js: -------------------------------------------------------------------------------- 1 | // Determine if version is greater than all the versions possible in the range. 2 | const outside = require('./outside') 3 | const gtr = (version, range, options) => outside(version, range, '>', options) 4 | module.exports = gtr 5 | -------------------------------------------------------------------------------- /node_modules/semver/ranges/intersects.js: -------------------------------------------------------------------------------- 1 | const Range = require('../classes/range') 2 | const intersects = (r1, r2, options) => { 3 | r1 = new Range(r1, options) 4 | r2 = new Range(r2, options) 5 | return r1.intersects(r2, options) 6 | } 7 | module.exports = intersects 8 | -------------------------------------------------------------------------------- /node_modules/semver/ranges/ltr.js: -------------------------------------------------------------------------------- 1 | const outside = require('./outside') 2 | // Determine if version is less than all the versions possible in the range 3 | const ltr = (version, range, options) => outside(version, range, '<', options) 4 | module.exports = ltr 5 | -------------------------------------------------------------------------------- /node_modules/semver/ranges/to-comparators.js: -------------------------------------------------------------------------------- 1 | const Range = require('../classes/range') 2 | 3 | // Mostly just for testing and legacy API reasons 4 | const toComparators = (range, options) => 5 | new Range(range, options).set 6 | .map(comp => comp.map(c => c.value).join(' ').trim().split(' ')) 7 | 8 | module.exports = toComparators 9 | -------------------------------------------------------------------------------- /node_modules/semver/ranges/valid.js: -------------------------------------------------------------------------------- 1 | const Range = require('../classes/range') 2 | const validRange = (range, options) => { 3 | try { 4 | // Return '*' instead of '' so that truthiness works. 5 | // This will throw if it's invalid anyway 6 | return new Range(range, options).range || '*' 7 | } catch (er) { 8 | return null 9 | } 10 | } 11 | module.exports = validRange 12 | -------------------------------------------------------------------------------- /node_modules/set-function-length/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "id-length": "off", 8 | "new-cap": ["error", { 9 | "capIsNewExceptions": [ 10 | "GetIntrinsic" 11 | ], 12 | }], 13 | "no-extra-parens": "off", 14 | }, 15 | 16 | "overrides": [ 17 | { 18 | "files": ["test/**/*.js"], 19 | "rules": { 20 | "id-length": "off", 21 | "max-lines-per-function": "off", 22 | "multiline-comment-style": "off", 23 | "no-empty-function": "off", 24 | }, 25 | }, 26 | ], 27 | } 28 | -------------------------------------------------------------------------------- /node_modules/set-function-length/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "lines": 86, 6 | "statements": 85.93, 7 | "functions": 82.43, 8 | "branches": 76.06, 9 | "exclude": [ 10 | "coverage", 11 | "test" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/set-function-length/env.d.ts: -------------------------------------------------------------------------------- 1 | declare const env: { 2 | __proto__: null, 3 | boundFnsHaveConfigurableLengths: boolean; 4 | boundFnsHaveWritableLengths: boolean; 5 | functionsHaveConfigurableLengths: boolean; 6 | functionsHaveWritableLengths: boolean; 7 | }; 8 | 9 | export = env; -------------------------------------------------------------------------------- /node_modules/set-function-length/index.d.ts: -------------------------------------------------------------------------------- 1 | declare namespace setFunctionLength { 2 | type Func = (...args: unknown[]) => unknown; 3 | } 4 | 5 | declare function setFunctionLength(fn: T, length: number, loose?: boolean): T; 6 | 7 | export = setFunctionLength; -------------------------------------------------------------------------------- /node_modules/set-function-length/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@ljharb/tsconfig", 3 | "compilerOptions": { 4 | "target": "es2021", 5 | }, 6 | "exclude": [ 7 | "coverage", 8 | ], 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/setprototypeof/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function setPrototypeOf(o: any, proto: object | null): any; 2 | export = setPrototypeOf; 3 | -------------------------------------------------------------------------------- /node_modules/setprototypeof/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | /* eslint no-proto: 0 */ 3 | module.exports = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties) 4 | 5 | function setProtoOf (obj, proto) { 6 | obj.__proto__ = proto 7 | return obj 8 | } 9 | 10 | function mixinProperties (obj, proto) { 11 | for (var prop in proto) { 12 | if (!Object.prototype.hasOwnProperty.call(obj, prop)) { 13 | obj[prop] = proto[prop] 14 | } 15 | } 16 | return obj 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/side-channel/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | insert_final_newline = true 7 | indent_style = tab 8 | indent_size = 2 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /node_modules/side-channel/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "max-lines-per-function": 0, 8 | "multiline-comment-style": 1, 9 | "new-cap": [2, { "capIsNewExceptions": ["GetIntrinsic"] }], 10 | }, 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/side-channel/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "check-coverage": false, 4 | "reporter": ["text-summary", "text", "html", "json"], 5 | "lines": 86, 6 | "statements": 85.93, 7 | "functions": 82.43, 8 | "branches": 76.06, 9 | "exclude": [ 10 | "coverage", 11 | "test" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/side-channel/README.md: -------------------------------------------------------------------------------- 1 | # side-channel 2 | Store information about any JS value in a side channel. Uses WeakMap if available. 3 | -------------------------------------------------------------------------------- /node_modules/sift/index.d.ts: -------------------------------------------------------------------------------- 1 | import sift from "./lib"; 2 | 3 | export default sift; 4 | export * from "./lib"; 5 | -------------------------------------------------------------------------------- /node_modules/sift/index.js: -------------------------------------------------------------------------------- 1 | const lib = require("./lib"); 2 | 3 | module.exports = lib.default; 4 | Object.assign(module.exports, lib); 5 | -------------------------------------------------------------------------------- /node_modules/sift/lib/utils.d.ts: -------------------------------------------------------------------------------- 1 | export declare type Key = string | number; 2 | export declare type Comparator = (a: any, b: any) => boolean; 3 | export declare const typeChecker: (type: any) => (value: any) => value is TType; 4 | export declare const comparable: (value: any) => any; 5 | export declare const isArray: (value: any) => value is any[]; 6 | export declare const isObject: (value: any) => value is Object; 7 | export declare const isFunction: (value: any) => value is Function; 8 | export declare const isVanillaObject: (value: any) => boolean; 9 | export declare const equals: (a: any, b: any) => boolean; 10 | -------------------------------------------------------------------------------- /node_modules/sift/src/utils.d.ts: -------------------------------------------------------------------------------- 1 | export declare type Key = string | number; 2 | export declare type Comparator = (a: any, b: any) => boolean; 3 | export declare const typeChecker: (type: any) => (value: any) => value is TType; 4 | export declare const comparable: (value: any) => any; 5 | export declare const isArray: (value: any) => value is any[]; 6 | export declare const isObject: (value: any) => value is Object; 7 | export declare const isFunction: (value: any) => value is Function; 8 | export declare const isVanillaObject: (value: any) => boolean; 9 | export declare const equals: (a: any, b: any) => boolean; 10 | -------------------------------------------------------------------------------- /node_modules/simple-update-notifier/build/index.d.ts: -------------------------------------------------------------------------------- 1 | interface IUpdate { 2 | pkg: { 3 | name: string; 4 | version: string; 5 | }; 6 | updateCheckInterval?: number; 7 | shouldNotifyInNpmScript?: boolean; 8 | distTag?: string; 9 | alwaysRun?: boolean; 10 | debug?: boolean; 11 | } 12 | declare const simpleUpdateNotifier: (args: IUpdate) => Promise; 13 | export { simpleUpdateNotifier as default }; 14 | -------------------------------------------------------------------------------- /node_modules/simple-update-notifier/src/borderedText.ts: -------------------------------------------------------------------------------- 1 | const borderedText = (text: string) => { 2 | const lines = text.split('\n'); 3 | const width = Math.max(...lines.map((l) => l.length)); 4 | const res = [`┌${'─'.repeat(width + 2)}┐`]; 5 | for (const line of lines) { 6 | res.push(`│ ${line.padEnd(width)} │`); 7 | } 8 | res.push(`└${'─'.repeat(width + 2)}┘`); 9 | return res.join('\n'); 10 | }; 11 | 12 | export default borderedText; 13 | -------------------------------------------------------------------------------- /node_modules/simple-update-notifier/src/isNpmOrYarn.ts: -------------------------------------------------------------------------------- 1 | import process from 'process'; 2 | 3 | const packageJson = process.env.npm_package_json; 4 | const userAgent = process.env.npm_config_user_agent; 5 | const isNpm6 = Boolean(userAgent && userAgent.startsWith('npm')); 6 | const isNpm7 = Boolean(packageJson && packageJson.endsWith('package.json')); 7 | 8 | const isNpm = isNpm6 || isNpm7; 9 | const isYarn = Boolean(userAgent && userAgent.startsWith('yarn')); 10 | const isNpmOrYarn = isNpm || isYarn; 11 | 12 | export default isNpmOrYarn; 13 | -------------------------------------------------------------------------------- /node_modules/simple-update-notifier/src/types.ts: -------------------------------------------------------------------------------- 1 | export interface IUpdate { 2 | pkg: { name: string; version: string }; 3 | updateCheckInterval?: number; 4 | shouldNotifyInNpmScript?: boolean; 5 | distTag?: string; 6 | alwaysRun?: boolean; 7 | debug?: boolean; 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/sparse-bitfield/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/sparse-bitfield/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - '0.10' 4 | - '0.12' 5 | - '4.0' 6 | - '5.0' 7 | -------------------------------------------------------------------------------- /node_modules/supports-color/browser.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = { 3 | stdout: false, 4 | stderr: false 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/swagger-jsdoc/docusaurus/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [require.resolve('@docusaurus/core/lib/babel/preset')], 3 | }; 4 | -------------------------------------------------------------------------------- /node_modules/swagger-jsdoc/docusaurus/sidebars.js: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | 3 | /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ 4 | const sidebars = { 5 | tutorialSidebar: [{ type: 'autogenerated', dirName: '.' }], 6 | }; 7 | 8 | module.exports = sidebars; 9 | -------------------------------------------------------------------------------- /node_modules/swagger-jsdoc/docusaurus/src/pages/index.module.css: -------------------------------------------------------------------------------- 1 | /** 2 | * CSS files with the .module.css suffix will be treated as CSS modules 3 | * and scoped locally. 4 | */ 5 | 6 | .heroBanner { 7 | padding: 4rem 0; 8 | text-align: center; 9 | position: relative; 10 | overflow: hidden; 11 | } 12 | 13 | @media screen and (max-width: 996px) { 14 | .heroBanner { 15 | padding: 2rem; 16 | } 17 | } 18 | 19 | .buttons { 20 | display: flex; 21 | align-items: center; 22 | justify-content: center; 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/swagger-jsdoc/docusaurus/src/pages/markdown-page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Markdown page example 3 | --- 4 | 5 | # Markdown page example 6 | 7 | You don't need React to write simple standalone pages. 8 | -------------------------------------------------------------------------------- /node_modules/swagger-jsdoc/docusaurus/static/.nojekyll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/humuraelvin/JS-full-stackBackend-with-swagger-js-documentation/521675a887d7f72319d32553b5a7336b0b38abde/node_modules/swagger-jsdoc/docusaurus/static/.nojekyll -------------------------------------------------------------------------------- /node_modules/swagger-jsdoc/docusaurus/static/img/docusaurus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/humuraelvin/JS-full-stackBackend-with-swagger-js-documentation/521675a887d7f72319d32553b5a7336b0b38abde/node_modules/swagger-jsdoc/docusaurus/static/img/docusaurus.png -------------------------------------------------------------------------------- /node_modules/swagger-jsdoc/docusaurus/static/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/humuraelvin/JS-full-stackBackend-with-swagger-js-documentation/521675a887d7f72319d32553b5a7336b0b38abde/node_modules/swagger-jsdoc/docusaurus/static/img/favicon.ico -------------------------------------------------------------------------------- /node_modules/swagger-jsdoc/docusaurus/static/img/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/humuraelvin/JS-full-stackBackend-with-swagger-js-documentation/521675a887d7f72319d32553b5a7336b0b38abde/node_modules/swagger-jsdoc/docusaurus/static/img/screenshot.png -------------------------------------------------------------------------------- /node_modules/swagger-jsdoc/docusaurus/versioned_docs/version-5.x/installation.md: -------------------------------------------------------------------------------- 1 | --- 2 | sidebar_position: 2 3 | title: Installation 4 | --- 5 | 6 | # Installation 7 | 8 | ```bash 9 | $ npm install swagger-jsdoc --save 10 | ``` 11 | 12 | Or using [`yarn`](https://yarnpkg.com/en/) 13 | 14 | ```bash 15 | $ yarn add swagger-jsdoc 16 | ``` 17 | -------------------------------------------------------------------------------- /node_modules/swagger-jsdoc/docusaurus/versioned_docs/version-6.x/Contributing/_category_.json: -------------------------------------------------------------------------------- 1 | { 2 | "label": "Contributing", 3 | "position": 3, 4 | "link": { 5 | "type": "generated-index", 6 | "description": "Guides for contributing to the project" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/swagger-jsdoc/docusaurus/versioned_docs/version-6.x/Quick Start/_category_.json: -------------------------------------------------------------------------------- 1 | { 2 | "label": "Quick Start", 3 | "position": 2, 4 | "link": { 5 | "type": "generated-index", 6 | "description": "Getting started with swagger-jsdoc." 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/swagger-jsdoc/docusaurus/versioned_docs/version-7.x/Contributing/_category_.json: -------------------------------------------------------------------------------- 1 | { 2 | "label": "Contributing", 3 | "position": 3, 4 | "link": { 5 | "type": "generated-index", 6 | "description": "Guides for contributing to the project" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/swagger-jsdoc/docusaurus/versioned_docs/version-7.x/quick-start/_category_.json: -------------------------------------------------------------------------------- 1 | { 2 | "label": "Quick Start", 3 | "position": 2, 4 | "link": { 5 | "type": "generated-index", 6 | "description": "Getting started with swagger-jsdoc" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/swagger-jsdoc/docusaurus/versioned_sidebars/version-5.x-sidebars.json: -------------------------------------------------------------------------------- 1 | { 2 | "tutorialSidebar": [ 3 | { 4 | "type": "autogenerated", 5 | "dirName": "." 6 | } 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/swagger-jsdoc/docusaurus/versioned_sidebars/version-6.x-sidebars.json: -------------------------------------------------------------------------------- 1 | { 2 | "tutorialSidebar": [ 3 | { 4 | "type": "autogenerated", 5 | "dirName": "." 6 | } 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/swagger-jsdoc/docusaurus/versioned_sidebars/version-7.x-sidebars.json: -------------------------------------------------------------------------------- 1 | { 2 | "tutorialSidebar": [ 3 | { 4 | "type": "autogenerated", 5 | "dirName": "." 6 | } 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/swagger-jsdoc/docusaurus/versions.json: -------------------------------------------------------------------------------- 1 | [ 2 | "7.x", 3 | "6.x", 4 | "5.x" 5 | ] 6 | -------------------------------------------------------------------------------- /node_modules/swagger-jsdoc/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./src/lib'); 2 | -------------------------------------------------------------------------------- /node_modules/swagger-parser/index.d.ts: -------------------------------------------------------------------------------- 1 | import * as SwaggerParser from "@apidevtools/swagger-parser"; 2 | export = SwaggerParser; 3 | -------------------------------------------------------------------------------- /node_modules/swagger-parser/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | module.exports = require("@apidevtools/swagger-parser"); 3 | -------------------------------------------------------------------------------- /node_modules/swagger-ui-dist/NOTICE: -------------------------------------------------------------------------------- 1 | swagger-ui 2 | Copyright 2020-2021 SmartBear Software Inc. 3 | -------------------------------------------------------------------------------- /node_modules/swagger-ui-dist/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/humuraelvin/JS-full-stackBackend-with-swagger-js-documentation/521675a887d7f72319d32553b5a7336b0b38abde/node_modules/swagger-ui-dist/favicon-16x16.png -------------------------------------------------------------------------------- /node_modules/swagger-ui-dist/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/humuraelvin/JS-full-stackBackend-with-swagger-js-documentation/521675a887d7f72319d32553b5a7336b0b38abde/node_modules/swagger-ui-dist/favicon-32x32.png -------------------------------------------------------------------------------- /node_modules/swagger-ui-dist/index.css: -------------------------------------------------------------------------------- 1 | html { 2 | box-sizing: border-box; 3 | overflow: -moz-scrollbars-vertical; 4 | overflow-y: scroll; 5 | } 6 | 7 | *, 8 | *:before, 9 | *:after { 10 | box-sizing: inherit; 11 | } 12 | 13 | body { 14 | margin: 0; 15 | background: #fafafa; 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/toidentifier/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.0.1 / 2021-11-14 2 | ================== 3 | 4 | * pref: enable strict mode 5 | 6 | 1.0.0 / 2018-07-09 7 | ================== 8 | 9 | * Initial release 10 | -------------------------------------------------------------------------------- /node_modules/tr46/lib/statusMapping.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | module.exports.STATUS_MAPPING = { 4 | mapped: 1, 5 | valid: 2, 6 | disallowed: 3, 7 | disallowed_STD3_valid: 4, 8 | disallowed_STD3_mapped: 5, 9 | deviation: 6, 10 | ignored: 7 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/undefsafe/.jscsrc: -------------------------------------------------------------------------------- 1 | { 2 | "preset": "node-style-guide", 3 | "requireCapitalizedComments": null, 4 | "requireSpacesInAnonymousFunctionExpression": { 5 | "beforeOpeningCurlyBrace": true, 6 | "beforeOpeningRoundBrace": true 7 | }, 8 | "disallowSpacesInNamedFunctionExpression": { 9 | "beforeOpeningRoundBrace": true 10 | }, 11 | "excludeFiles": ["node_modules/**"], 12 | "disallowSpacesInFunction": null 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/undefsafe/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "browser": false, 3 | "camelcase": true, 4 | "curly": true, 5 | "devel": true, 6 | "eqeqeq": true, 7 | "forin": true, 8 | "indent": 2, 9 | "noarg": true, 10 | "node": true, 11 | "quotmark": "single", 12 | "undef": true, 13 | "strict": false, 14 | "unused": true 15 | } 16 | 17 | -------------------------------------------------------------------------------- /node_modules/undefsafe/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: node_js 3 | cache: 4 | directories: 5 | - node_modules 6 | notifications: 7 | email: false 8 | node_js: 9 | - '4' 10 | before_install: 11 | - npm i -g npm@^2.0.0 12 | before_script: 13 | - npm prune 14 | after_success: 15 | - npm run semantic-release 16 | branches: 17 | except: 18 | - "/^v\\d+\\.\\d+\\.\\d+$/" 19 | -------------------------------------------------------------------------------- /node_modules/undefsafe/example.js: -------------------------------------------------------------------------------- 1 | var undefsafe = require('undefsafe'); 2 | 3 | var object = { 4 | a: { 5 | b: { 6 | c: 1, 7 | d: [1, 2, 3], 8 | e: 'remy' 9 | } 10 | } 11 | }; 12 | 13 | console.log(undefsafe(object, 'a.b.e')); // "remy" 14 | console.log(undefsafe(object, 'a.b.not.found')); // undefined 15 | -------------------------------------------------------------------------------- /node_modules/unpipe/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.0.0 / 2015-06-14 2 | ================== 3 | 4 | * Initial release 5 | -------------------------------------------------------------------------------- /node_modules/utils-merge/.npmignore: -------------------------------------------------------------------------------- 1 | CONTRIBUTING.md 2 | Makefile 3 | docs/ 4 | examples/ 5 | reports/ 6 | test/ 7 | 8 | .jshintrc 9 | .travis.yml 10 | -------------------------------------------------------------------------------- /node_modules/utils-merge/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Merge object b with object a. 3 | * 4 | * var a = { foo: 'bar' } 5 | * , b = { bar: 'baz' }; 6 | * 7 | * merge(a, b); 8 | * // => { foo: 'bar', bar: 'baz' } 9 | * 10 | * @param {Object} a 11 | * @param {Object} b 12 | * @return {Object} 13 | * @api public 14 | */ 15 | 16 | exports = module.exports = function(a, b){ 17 | if (a && b) { 18 | for (var key in b) { 19 | a[key] = b[key]; 20 | } 21 | } 22 | return a; 23 | }; 24 | -------------------------------------------------------------------------------- /node_modules/validator/es/lib/blacklist.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function blacklist(str, chars) { 3 | assertString(str); 4 | return str.replace(new RegExp("[".concat(chars, "]+"), 'g'), ''); 5 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/equals.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function equals(str, comparison) { 3 | assertString(str); 4 | return str === comparison; 5 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/escape.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function escape(str) { 3 | assertString(str); 4 | return str.replace(/&/g, '&').replace(/"/g, '"').replace(/'/g, ''').replace(//g, '>').replace(/\//g, '/').replace(/\\/g, '\').replace(/`/g, '`'); 5 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isAfter.js: -------------------------------------------------------------------------------- 1 | import toDate from './toDate'; 2 | export default function isAfter(date, options) { 3 | // For backwards compatibility: 4 | // isAfter(str [, date]), i.e. `options` could be used as argument for the legacy `date` 5 | var comparisonDate = (options === null || options === void 0 ? void 0 : options.comparisonDate) || options || Date().toString(); 6 | var comparison = toDate(comparisonDate); 7 | var original = toDate(date); 8 | return !!(original && comparison && original > comparison); 9 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isAscii.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | /* eslint-disable no-control-regex */ 3 | 4 | var ascii = /^[\x00-\x7F]+$/; 5 | /* eslint-enable no-control-regex */ 6 | 7 | export default function isAscii(str) { 8 | assertString(str); 9 | return ascii.test(str); 10 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isBase58.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; // Accepted chars - 123456789ABCDEFGH JKLMN PQRSTUVWXYZabcdefghijk mnopqrstuvwxyz 2 | 3 | var base58Reg = /^[A-HJ-NP-Za-km-z1-9]*$/; 4 | export default function isBase58(str) { 5 | assertString(str); 6 | 7 | if (base58Reg.test(str)) { 8 | return true; 9 | } 10 | 11 | return false; 12 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isBefore.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | import toDate from './toDate'; 3 | export default function isBefore(str) { 4 | var date = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : String(new Date()); 5 | assertString(str); 6 | var comparison = toDate(date); 7 | var original = toDate(str); 8 | return !!(original && comparison && original < comparison); 9 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isBoolean.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var defaultOptions = { 3 | loose: false 4 | }; 5 | var strictBooleans = ['true', 'false', '1', '0']; 6 | var looseBooleans = [].concat(strictBooleans, ['yes', 'no']); 7 | export default function isBoolean(str) { 8 | var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultOptions; 9 | assertString(str); 10 | 11 | if (options.loose) { 12 | return looseBooleans.includes(str.toLowerCase()); 13 | } 14 | 15 | return strictBooleans.includes(str); 16 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isBtcAddress.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var bech32 = /^(bc1)[a-z0-9]{25,39}$/; 3 | var base58 = /^(1|3)[A-HJ-NP-Za-km-z1-9]{25,39}$/; 4 | export default function isBtcAddress(str) { 5 | assertString(str); 6 | return bech32.test(str) || base58.test(str); 7 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isDivisibleBy.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | import toFloat from './toFloat'; 3 | export default function isDivisibleBy(str, num) { 4 | assertString(str); 5 | return toFloat(str) % parseInt(num, 10) === 0; 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isEmpty.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | import merge from './util/merge'; 3 | var default_is_empty_options = { 4 | ignore_whitespace: false 5 | }; 6 | export default function isEmpty(str, options) { 7 | assertString(str); 8 | options = merge(options, default_is_empty_options); 9 | return (options.ignore_whitespace ? str.trim().length : str.length) === 0; 10 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isEthereumAddress.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var eth = /^(0x)[0-9a-f]{40}$/i; 3 | export default function isEthereumAddress(str) { 4 | assertString(str); 5 | return eth.test(str); 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isFullWidth.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export var fullWidth = /[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/; 3 | export default function isFullWidth(str) { 4 | assertString(str); 5 | return fullWidth.test(str); 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isHalfWidth.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export var halfWidth = /[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/; 3 | export default function isHalfWidth(str) { 4 | assertString(str); 5 | return halfWidth.test(str); 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isHash.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var lengths = { 3 | md5: 32, 4 | md4: 32, 5 | sha1: 40, 6 | sha256: 64, 7 | sha384: 96, 8 | sha512: 128, 9 | ripemd128: 32, 10 | ripemd160: 40, 11 | tiger128: 32, 12 | tiger160: 40, 13 | tiger192: 48, 14 | crc32: 8, 15 | crc32b: 8 16 | }; 17 | export default function isHash(str, algorithm) { 18 | assertString(str); 19 | var hash = new RegExp("^[a-fA-F0-9]{".concat(lengths[algorithm], "}$")); 20 | return hash.test(str); 21 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isHexColor.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var hexcolor = /^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i; 3 | export default function isHexColor(str) { 4 | assertString(str); 5 | return hexcolor.test(str); 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isHexadecimal.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var hexadecimal = /^(0x|0h)?[0-9A-F]+$/i; 3 | export default function isHexadecimal(str) { 4 | assertString(str); 5 | return hexadecimal.test(str); 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isISRC.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; // see http://isrc.ifpi.org/en/isrc-standard/code-syntax 2 | 3 | var isrc = /^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/; 4 | export default function isISRC(str) { 5 | assertString(str); 6 | return isrc.test(str); 7 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isJWT.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | import isBase64 from './isBase64'; 3 | export default function isJWT(str) { 4 | assertString(str); 5 | var dotSplit = str.split('.'); 6 | var len = dotSplit.length; 7 | 8 | if (len !== 3) { 9 | return false; 10 | } 11 | 12 | return dotSplit.reduce(function (acc, currElem) { 13 | return acc && isBase64(currElem, { 14 | urlSafe: true 15 | }); 16 | }, true); 17 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isLowercase.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function isLowercase(str) { 3 | assertString(str); 4 | return str === str.toLowerCase(); 5 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isMD5.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var md5 = /^[a-f0-9]{32}$/; 3 | export default function isMD5(str) { 4 | assertString(str); 5 | return md5.test(str); 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isMagnetURI.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var magnetURIComponent = /(?:^magnet:\?|[^?&]&)xt(?:\.1)?=urn:(?:(?:aich|bitprint|btih|ed2k|ed2khash|kzhash|md5|sha1|tree:tiger):[a-z0-9]{32}(?:[a-z0-9]{8})?|btmh:1220[a-z0-9]{64})(?:$|&)/i; 3 | export default function isMagnetURI(url) { 4 | assertString(url); 5 | 6 | if (url.indexOf('magnet:?') !== 0) { 7 | return false; 8 | } 9 | 10 | return magnetURIComponent.test(url); 11 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isMongoId.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | import isHexadecimal from './isHexadecimal'; 3 | export default function isMongoId(str) { 4 | assertString(str); 5 | return isHexadecimal(str) && str.length === 24; 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isMultibyte.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | /* eslint-disable no-control-regex */ 3 | 4 | var multibyte = /[^\x00-\x7F]/; 5 | /* eslint-enable no-control-regex */ 6 | 7 | export default function isMultibyte(str) { 8 | assertString(str); 9 | return multibyte.test(str); 10 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isNumeric.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | import { decimal } from './alpha'; 3 | var numericNoSymbols = /^[0-9]+$/; 4 | export default function isNumeric(str, options) { 5 | assertString(str); 6 | 7 | if (options && options.no_symbols) { 8 | return numericNoSymbols.test(str); 9 | } 10 | 11 | return new RegExp("^[+-]?([0-9]*[".concat((options || {}).locale ? decimal[options.locale] : '.', "])?[0-9]+$")).test(str); 12 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isOctal.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var octal = /^(0o)?[0-7]+$/i; 3 | export default function isOctal(str) { 4 | assertString(str); 5 | return octal.test(str); 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isPort.js: -------------------------------------------------------------------------------- 1 | import isInt from './isInt'; 2 | export default function isPort(str) { 3 | return isInt(str, { 4 | min: 0, 5 | max: 65535 6 | }); 7 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isSlug.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var charsetRegex = /^[^\s-_](?!.*?[-_]{2,})[a-z0-9-\\][^\s]*[^-_\s]$/; 3 | export default function isSlug(str) { 4 | assertString(str); 5 | return charsetRegex.test(str); 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isSurrogatePair.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var surrogatePair = /[\uD800-\uDBFF][\uDC00-\uDFFF]/; 3 | export default function isSurrogatePair(str) { 4 | assertString(str); 5 | return surrogatePair.test(str); 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isUppercase.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function isUppercase(str) { 3 | assertString(str); 4 | return str === str.toUpperCase(); 5 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isVariableWidth.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | import { fullWidth } from './isFullWidth'; 3 | import { halfWidth } from './isHalfWidth'; 4 | export default function isVariableWidth(str) { 5 | assertString(str); 6 | return fullWidth.test(str) && halfWidth.test(str); 7 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isWhitelisted.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function isWhitelisted(str, chars) { 3 | assertString(str); 4 | 5 | for (var i = str.length - 1; i >= 0; i--) { 6 | if (chars.indexOf(str[i]) === -1) { 7 | return false; 8 | } 9 | } 10 | 11 | return true; 12 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/ltrim.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function ltrim(str, chars) { 3 | assertString(str); // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#Escaping 4 | 5 | var pattern = chars ? new RegExp("^[".concat(chars.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'), "]+"), 'g') : /^\s+/g; 6 | return str.replace(pattern, ''); 7 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/matches.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function matches(str, pattern, modifiers) { 3 | assertString(str); 4 | 5 | if (Object.prototype.toString.call(pattern) !== '[object RegExp]') { 6 | pattern = new RegExp(pattern, modifiers); 7 | } 8 | 9 | return !!str.match(pattern); 10 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/stripLow.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | import blacklist from './blacklist'; 3 | export default function stripLow(str, keep_new_lines) { 4 | assertString(str); 5 | var chars = keep_new_lines ? '\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F' : '\\x00-\\x1F\\x7F'; 6 | return blacklist(str, chars); 7 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/toBoolean.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function toBoolean(str, strict) { 3 | assertString(str); 4 | 5 | if (strict) { 6 | return str === '1' || /^true$/i.test(str); 7 | } 8 | 9 | return str !== '0' && !/^false$/i.test(str) && str !== ''; 10 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/toDate.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function toDate(date) { 3 | assertString(date); 4 | date = Date.parse(date); 5 | return !isNaN(date) ? new Date(date) : null; 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/toFloat.js: -------------------------------------------------------------------------------- 1 | import isFloat from './isFloat'; 2 | export default function toFloat(str) { 3 | if (!isFloat(str)) return NaN; 4 | return parseFloat(str); 5 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/toInt.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function toInt(str, radix) { 3 | assertString(str); 4 | return parseInt(str, radix || 10); 5 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/trim.js: -------------------------------------------------------------------------------- 1 | import rtrim from './rtrim'; 2 | import ltrim from './ltrim'; 3 | export default function trim(str, chars) { 4 | return rtrim(ltrim(str, chars), chars); 5 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/unescape.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function unescape(str) { 3 | assertString(str); 4 | return str.replace(/"/g, '"').replace(/'/g, "'").replace(/</g, '<').replace(/>/g, '>').replace(///g, '/').replace(/\/g, '\\').replace(/`/g, '`').replace(/&/g, '&'); // & replacement has to be the last one to prevent 5 | // bugs with intermediate strings containing escape sequences 6 | // See: https://github.com/validatorjs/validator.js/issues/1827 7 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/util/includes.js: -------------------------------------------------------------------------------- 1 | var includes = function includes(arr, val) { 2 | return arr.some(function (arrVal) { 3 | return val === arrVal; 4 | }); 5 | }; 6 | 7 | export default includes; -------------------------------------------------------------------------------- /node_modules/validator/es/lib/util/merge.js: -------------------------------------------------------------------------------- 1 | export default function merge() { 2 | var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; 3 | var defaults = arguments.length > 1 ? arguments[1] : undefined; 4 | 5 | for (var key in defaults) { 6 | if (typeof obj[key] === 'undefined') { 7 | obj[key] = defaults[key]; 8 | } 9 | } 10 | 11 | return obj; 12 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/util/multilineRegex.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Build RegExp object from an array 3 | * of multiple/multi-line regexp parts 4 | * 5 | * @param {string[]} parts 6 | * @param {string} flags 7 | * @return {object} - RegExp object 8 | */ 9 | export default function multilineRegexp(parts, flags) { 10 | var regexpAsStringLiteral = parts.join(''); 11 | return new RegExp(regexpAsStringLiteral, flags); 12 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/util/typeOf.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Better way to handle type checking 3 | * null, {}, array and date are objects, which confuses 4 | */ 5 | export default function typeOf(input) { 6 | var rawObject = Object.prototype.toString.call(input).toLowerCase(); 7 | var typeOfRegex = /\[object (.*)]/g; 8 | var type = typeOfRegex.exec(rawObject)[1]; 9 | return type; 10 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/whitelist.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function whitelist(str, chars) { 3 | assertString(str); 4 | return str.replace(new RegExp("[^".concat(chars, "]+"), 'g'), ''); 5 | } -------------------------------------------------------------------------------- /node_modules/validator/lib/blacklist.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = blacklist; 7 | 8 | var _assertString = _interopRequireDefault(require("./util/assertString")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | function blacklist(str, chars) { 13 | (0, _assertString.default)(str); 14 | return str.replace(new RegExp("[".concat(chars, "]+"), 'g'), ''); 15 | } 16 | 17 | module.exports = exports.default; 18 | module.exports.default = exports.default; -------------------------------------------------------------------------------- /node_modules/validator/lib/equals.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = equals; 7 | 8 | var _assertString = _interopRequireDefault(require("./util/assertString")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | function equals(str, comparison) { 13 | (0, _assertString.default)(str); 14 | return str === comparison; 15 | } 16 | 17 | module.exports = exports.default; 18 | module.exports.default = exports.default; -------------------------------------------------------------------------------- /node_modules/validator/lib/isEthereumAddress.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = isEthereumAddress; 7 | 8 | var _assertString = _interopRequireDefault(require("./util/assertString")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | var eth = /^(0x)[0-9a-f]{40}$/i; 13 | 14 | function isEthereumAddress(str) { 15 | (0, _assertString.default)(str); 16 | return eth.test(str); 17 | } 18 | 19 | module.exports = exports.default; 20 | module.exports.default = exports.default; -------------------------------------------------------------------------------- /node_modules/validator/lib/isLowercase.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = isLowercase; 7 | 8 | var _assertString = _interopRequireDefault(require("./util/assertString")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | function isLowercase(str) { 13 | (0, _assertString.default)(str); 14 | return str === str.toLowerCase(); 15 | } 16 | 17 | module.exports = exports.default; 18 | module.exports.default = exports.default; -------------------------------------------------------------------------------- /node_modules/validator/lib/isMD5.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = isMD5; 7 | 8 | var _assertString = _interopRequireDefault(require("./util/assertString")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | var md5 = /^[a-f0-9]{32}$/; 13 | 14 | function isMD5(str) { 15 | (0, _assertString.default)(str); 16 | return md5.test(str); 17 | } 18 | 19 | module.exports = exports.default; 20 | module.exports.default = exports.default; -------------------------------------------------------------------------------- /node_modules/validator/lib/isOctal.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = isOctal; 7 | 8 | var _assertString = _interopRequireDefault(require("./util/assertString")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | var octal = /^(0o)?[0-7]+$/i; 13 | 14 | function isOctal(str) { 15 | (0, _assertString.default)(str); 16 | return octal.test(str); 17 | } 18 | 19 | module.exports = exports.default; 20 | module.exports.default = exports.default; -------------------------------------------------------------------------------- /node_modules/validator/lib/isPort.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = isPort; 7 | 8 | var _isInt = _interopRequireDefault(require("./isInt")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | function isPort(str) { 13 | return (0, _isInt.default)(str, { 14 | min: 0, 15 | max: 65535 16 | }); 17 | } 18 | 19 | module.exports = exports.default; 20 | module.exports.default = exports.default; -------------------------------------------------------------------------------- /node_modules/validator/lib/isUppercase.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = isUppercase; 7 | 8 | var _assertString = _interopRequireDefault(require("./util/assertString")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | function isUppercase(str) { 13 | (0, _assertString.default)(str); 14 | return str === str.toUpperCase(); 15 | } 16 | 17 | module.exports = exports.default; 18 | module.exports.default = exports.default; -------------------------------------------------------------------------------- /node_modules/validator/lib/toDate.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = toDate; 7 | 8 | var _assertString = _interopRequireDefault(require("./util/assertString")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | function toDate(date) { 13 | (0, _assertString.default)(date); 14 | date = Date.parse(date); 15 | return !isNaN(date) ? new Date(date) : null; 16 | } 17 | 18 | module.exports = exports.default; 19 | module.exports.default = exports.default; -------------------------------------------------------------------------------- /node_modules/validator/lib/toFloat.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = toFloat; 7 | 8 | var _isFloat = _interopRequireDefault(require("./isFloat")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | function toFloat(str) { 13 | if (!(0, _isFloat.default)(str)) return NaN; 14 | return parseFloat(str); 15 | } 16 | 17 | module.exports = exports.default; 18 | module.exports.default = exports.default; -------------------------------------------------------------------------------- /node_modules/validator/lib/toInt.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = toInt; 7 | 8 | var _assertString = _interopRequireDefault(require("./util/assertString")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | function toInt(str, radix) { 13 | (0, _assertString.default)(str); 14 | return parseInt(str, radix || 10); 15 | } 16 | 17 | module.exports = exports.default; 18 | module.exports.default = exports.default; -------------------------------------------------------------------------------- /node_modules/validator/lib/trim.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = trim; 7 | 8 | var _rtrim = _interopRequireDefault(require("./rtrim")); 9 | 10 | var _ltrim = _interopRequireDefault(require("./ltrim")); 11 | 12 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 13 | 14 | function trim(str, chars) { 15 | return (0, _rtrim.default)((0, _ltrim.default)(str, chars), chars); 16 | } 17 | 18 | module.exports = exports.default; 19 | module.exports.default = exports.default; -------------------------------------------------------------------------------- /node_modules/validator/lib/util/includes.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | 8 | var includes = function includes(arr, val) { 9 | return arr.some(function (arrVal) { 10 | return val === arrVal; 11 | }); 12 | }; 13 | 14 | var _default = includes; 15 | exports.default = _default; 16 | module.exports = exports.default; 17 | module.exports.default = exports.default; -------------------------------------------------------------------------------- /node_modules/validator/lib/util/merge.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = merge; 7 | 8 | function merge() { 9 | var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; 10 | var defaults = arguments.length > 1 ? arguments[1] : undefined; 11 | 12 | for (var key in defaults) { 13 | if (typeof obj[key] === 'undefined') { 14 | obj[key] = defaults[key]; 15 | } 16 | } 17 | 18 | return obj; 19 | } 20 | 21 | module.exports = exports.default; 22 | module.exports.default = exports.default; -------------------------------------------------------------------------------- /node_modules/validator/lib/util/typeOf.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = typeOf; 7 | 8 | /** 9 | * Better way to handle type checking 10 | * null, {}, array and date are objects, which confuses 11 | */ 12 | function typeOf(input) { 13 | var rawObject = Object.prototype.toString.call(input).toLowerCase(); 14 | var typeOfRegex = /\[object (.*)]/g; 15 | var type = typeOfRegex.exec(rawObject)[1]; 16 | return type; 17 | } 18 | 19 | module.exports = exports.default; 20 | module.exports.default = exports.default; -------------------------------------------------------------------------------- /node_modules/validator/lib/whitelist.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = whitelist; 7 | 8 | var _assertString = _interopRequireDefault(require("./util/assertString")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | function whitelist(str, chars) { 13 | (0, _assertString.default)(str); 14 | return str.replace(new RegExp("[^".concat(chars, "]+"), 'g'), ''); 15 | } 16 | 17 | module.exports = exports.default; 18 | module.exports.default = exports.default; -------------------------------------------------------------------------------- /node_modules/whatwg-url/lib/encoding.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | const utf8Encoder = new TextEncoder(); 3 | const utf8Decoder = new TextDecoder("utf-8", { ignoreBOM: true }); 4 | 5 | function utf8Encode(string) { 6 | return utf8Encoder.encode(string); 7 | } 8 | 9 | function utf8DecodeWithoutBOM(bytes) { 10 | return utf8Decoder.decode(bytes); 11 | } 12 | 13 | module.exports = { 14 | utf8Encode, 15 | utf8DecodeWithoutBOM 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/whatwg-url/webidl2js-wrapper.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | const URL = require("./lib/URL"); 4 | const URLSearchParams = require("./lib/URLSearchParams"); 5 | 6 | exports.URL = URL; 7 | exports.URLSearchParams = URLSearchParams; 8 | -------------------------------------------------------------------------------- /node_modules/yallist/iterator.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | module.exports = function (Yallist) { 3 | Yallist.prototype[Symbol.iterator] = function* () { 4 | for (let walker = this.head; walker; walker = walker.next) { 5 | yield walker.value 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/yaml/browser/dist/parse-cst.js: -------------------------------------------------------------------------------- 1 | import './errors-2634d01a.js'; 2 | export { p as parse } from './parse-d1ba890f.js'; 3 | -------------------------------------------------------------------------------- /node_modules/yaml/browser/dist/types.js: -------------------------------------------------------------------------------- 1 | import './errors-2634d01a.js'; 2 | export { A as Alias, C as Collection, N as Node, P as Pair, S as Scalar, d as YAMLMap, Y as YAMLSeq, b as binaryOptions, a as boolOptions, i as intOptions, n as nullOptions, s as strOptions } from './stringifyNumber-d8af95b1.js'; 3 | export { M as Merge, S as Schema } from './Schema-ea978338.js'; 4 | -------------------------------------------------------------------------------- /node_modules/yaml/browser/dist/util.js: -------------------------------------------------------------------------------- 1 | export { T as Type, k as YAMLError, j as YAMLReferenceError, Y as YAMLSemanticError, i as YAMLSyntaxError, g as YAMLWarning } from './errors-2634d01a.js'; 2 | export { l as findPair, k as stringifyNumber, c as stringifyString, t as toJS } from './stringifyNumber-d8af95b1.js'; 3 | -------------------------------------------------------------------------------- /node_modules/yaml/browser/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./dist') 2 | -------------------------------------------------------------------------------- /node_modules/yaml/browser/parse-cst.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./dist/parse-cst').parse 2 | -------------------------------------------------------------------------------- /node_modules/yaml/browser/types.js: -------------------------------------------------------------------------------- 1 | export * from './dist/types.js' 2 | -------------------------------------------------------------------------------- /node_modules/yaml/browser/util.js: -------------------------------------------------------------------------------- 1 | export * from './dist/util.js' 2 | -------------------------------------------------------------------------------- /node_modules/yaml/dist/parse-cst.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | require('./_rollupPluginBabelHelpers-eed30217.js'); 4 | var parseCst = require('./parse-3997f544.js'); 5 | 6 | 7 | 8 | exports.parse = parseCst.parse; 9 | -------------------------------------------------------------------------------- /node_modules/yaml/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./dist') 2 | -------------------------------------------------------------------------------- /node_modules/yaml/parse-cst.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./dist/parse-cst').parse 2 | -------------------------------------------------------------------------------- /node_modules/yaml/types.js: -------------------------------------------------------------------------------- 1 | const types = require('./dist/types') 2 | 3 | exports.binaryOptions = types.binaryOptions 4 | exports.boolOptions = types.boolOptions 5 | exports.intOptions = types.intOptions 6 | exports.nullOptions = types.nullOptions 7 | exports.strOptions = types.strOptions 8 | 9 | exports.Schema = types.Schema 10 | exports.Alias = types.Alias 11 | exports.Collection = types.Collection 12 | exports.Merge = types.Merge 13 | exports.Node = types.Node 14 | exports.Pair = types.Pair 15 | exports.Scalar = types.Scalar 16 | exports.YAMLMap = types.YAMLMap 17 | exports.YAMLSeq = types.YAMLSeq 18 | -------------------------------------------------------------------------------- /node_modules/yaml/util.js: -------------------------------------------------------------------------------- 1 | const util = require('./dist/util') 2 | 3 | exports.findPair = util.findPair 4 | exports.toJSON = util.toJSON 5 | 6 | exports.stringifyNumber = util.stringifyNumber 7 | exports.stringifyString = util.stringifyString 8 | exports.Type = util.Type 9 | 10 | exports.YAMLError = util.YAMLError 11 | exports.YAMLReferenceError = util.YAMLReferenceError 12 | exports.YAMLSemanticError = util.YAMLSemanticError 13 | exports.YAMLSyntaxError = util.YAMLSyntaxError 14 | exports.YAMLWarning = util.YAMLWarning 15 | -------------------------------------------------------------------------------- /node_modules/yaml/util.mjs: -------------------------------------------------------------------------------- 1 | import util from './dist/util.js' 2 | 3 | export const findPair = util.findPair 4 | export const toJSON = util.toJSON 5 | 6 | export const stringifyNumber = util.stringifyNumber 7 | export const stringifyString = util.stringifyString 8 | 9 | export const Type = util.Type 10 | 11 | export const YAMLError = util.YAMLError 12 | export const YAMLReferenceError = util.YAMLReferenceError 13 | export const YAMLSemanticError = util.YAMLSemanticError 14 | export const YAMLSyntaxError = util.YAMLSyntaxError 15 | export const YAMLWarning = util.YAMLWarning 16 | -------------------------------------------------------------------------------- /node_modules/z-schema/node_modules/commander/esm.mjs: -------------------------------------------------------------------------------- 1 | import commander from './index.js'; 2 | 3 | // wrapper to provide named exports for ESM. 4 | export const { 5 | program, 6 | createCommand, 7 | createArgument, 8 | createOption, 9 | CommanderError, 10 | InvalidArgumentError, 11 | InvalidOptionArgumentError, // deprecated old name 12 | Command, 13 | Argument, 14 | Option, 15 | Help 16 | } = commander; 17 | -------------------------------------------------------------------------------- /node_modules/z-schema/node_modules/commander/package-support.json: -------------------------------------------------------------------------------- 1 | { 2 | "versions": [ 3 | { 4 | "version": "*", 5 | "target": { 6 | "node": "supported" 7 | }, 8 | "response": { 9 | "type": "time-permitting" 10 | }, 11 | "backing": { 12 | "npm-funding": true 13 | } 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /utils/dbconn.js: -------------------------------------------------------------------------------- 1 | const mongoose = require('mongoose'); 2 | const debug = require('debug')('app:debug') 3 | require('dotenv').config(); 4 | 5 | const dbconnection = async () => { 6 | try { 7 | 8 | await mongoose.connect(process.env.MONGO_URI); 9 | console.log("Connected to Mongodb successfully"); 10 | 11 | } catch (error) { 12 | console.log("Error happened while trying to connected to mongodb", error); 13 | } 14 | } 15 | 16 | module.exports = dbconnection; --------------------------------------------------------------------------------