├── client
├── .git - Shortcut.lnk
├── .gitignore
├── README.md
├── package-lock.json
├── package.json
├── public
│ ├── assets
│ │ ├── John Smiths.jpg
│ │ ├── Listing1
│ │ │ ├── 1.jpg
│ │ │ ├── 2.jpg
│ │ │ ├── 3.jpeg
│ │ │ ├── 4.jpg
│ │ │ ├── 5.jpg
│ │ │ ├── 6.jpg
│ │ │ ├── 7.jpg
│ │ │ └── 8.jpg
│ │ ├── Listing2
│ │ │ ├── windmills_1.jpg
│ │ │ ├── windmills_2.jpg
│ │ │ ├── windmills_3.jpg
│ │ │ ├── windmills_4.jpg
│ │ │ ├── windmills_5.jpg
│ │ │ ├── windmills_6.jpg
│ │ │ └── windmills_7.jpg
│ │ ├── addImage.png
│ │ ├── arctic_cat.webp
│ │ ├── barn_cat.jpg
│ │ ├── beach_cat.jpg
│ │ ├── camping_cat.jpg
│ │ ├── castle_cat.webp
│ │ ├── cave_cat.jpg
│ │ ├── countryside_cat.webp
│ │ ├── denny.jpeg
│ │ ├── desert_cat.webp
│ │ ├── island_cat.webp
│ │ ├── lake_cat.webp
│ │ ├── login.jpg
│ │ ├── logo.png
│ │ ├── lux_cat.jpg
│ │ ├── modern_cat.webp
│ │ ├── payment.png
│ │ ├── phucmai.png
│ │ ├── pool_cat.jpg
│ │ ├── register.jpg
│ │ ├── skiing_cat.jpg
│ │ ├── slide.jpg
│ │ ├── uploadPhoto.png
│ │ └── windmill_cat.webp
│ ├── favicon.ico
│ └── index.html
└── src
│ ├── App.css
│ ├── App.js
│ ├── components
│ ├── Categories.jsx
│ ├── Footer.jsx
│ ├── ListingCard.jsx
│ ├── Listings.jsx
│ ├── Loader.jsx
│ ├── Navbar.jsx
│ └── Slide.jsx
│ ├── data.js
│ ├── index.js
│ ├── pages
│ ├── CategoryPage.jsx
│ ├── CreateListing.jsx
│ ├── HomePage.jsx
│ ├── ListingDetails.jsx
│ ├── LoginPage.jsx
│ ├── PropertyList.jsx
│ ├── RegisterPage.jsx
│ ├── ReservationList.jsx
│ ├── SearchPage.jsx
│ ├── TripList.jsx
│ └── WishList.jsx
│ ├── redux
│ ├── state.js
│ └── store.js
│ └── styles
│ ├── Categories.scss
│ ├── CreateListing.scss
│ ├── Footer.scss
│ ├── List.scss
│ ├── ListingCard.scss
│ ├── ListingDetails.scss
│ ├── Listings.scss
│ ├── Loader.scss
│ ├── Login.scss
│ ├── Navbar.scss
│ ├── Register.scss
│ ├── Slide.scss
│ ├── breakpoints.scss
│ └── variables.scss
└── server
├── index.js
├── models
├── Booking.js
├── Listing.js
└── User.js
├── node_modules
├── .bin
│ ├── mime
│ ├── mime.cmd
│ ├── mime.ps1
│ ├── mkdirp
│ ├── mkdirp.cmd
│ ├── mkdirp.ps1
│ ├── semver
│ ├── semver.cmd
│ └── semver.ps1
├── .package-lock.json
├── @mongodb-js
│ └── saslprep
│ │ ├── LICENSE
│ │ ├── dist
│ │ ├── .esm-wrapper.mjs
│ │ ├── 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
│ │ ├── util.d.ts
│ │ ├── util.d.ts.map
│ │ ├── util.js
│ │ └── util.js.map
│ │ ├── package.json
│ │ └── readme.md
├── @types
│ ├── body-parser
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.d.ts
│ │ └── package.json
│ ├── bson
│ │ ├── LICENSE
│ │ ├── README.md
│ │ └── package.json
│ ├── connect
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.d.ts
│ │ └── package.json
│ ├── express-serve-static-core
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.d.ts
│ │ └── package.json
│ ├── express
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.d.ts
│ │ └── package.json
│ ├── http-errors
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.d.ts
│ │ └── package.json
│ ├── mime
│ │ ├── LICENSE
│ │ ├── Mime.d.ts
│ │ ├── README.md
│ │ ├── index.d.ts
│ │ ├── lite.d.ts
│ │ └── package.json
│ ├── mongodb
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.d.ts
│ │ └── package.json
│ ├── multer
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.d.ts
│ │ └── package.json
│ ├── node
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── assert.d.ts
│ │ ├── assert
│ │ │ └── strict.d.ts
│ │ ├── async_hooks.d.ts
│ │ ├── buffer.d.ts
│ │ ├── child_process.d.ts
│ │ ├── cluster.d.ts
│ │ ├── console.d.ts
│ │ ├── constants.d.ts
│ │ ├── crypto.d.ts
│ │ ├── dgram.d.ts
│ │ ├── diagnostics_channel.d.ts
│ │ ├── dns.d.ts
│ │ ├── dns
│ │ │ └── promises.d.ts
│ │ ├── dom-events.d.ts
│ │ ├── domain.d.ts
│ │ ├── events.d.ts
│ │ ├── fs.d.ts
│ │ ├── fs
│ │ │ └── promises.d.ts
│ │ ├── globals.d.ts
│ │ ├── globals.global.d.ts
│ │ ├── http.d.ts
│ │ ├── http2.d.ts
│ │ ├── https.d.ts
│ │ ├── index.d.ts
│ │ ├── inspector.d.ts
│ │ ├── module.d.ts
│ │ ├── net.d.ts
│ │ ├── os.d.ts
│ │ ├── package.json
│ │ ├── path.d.ts
│ │ ├── perf_hooks.d.ts
│ │ ├── process.d.ts
│ │ ├── punycode.d.ts
│ │ ├── querystring.d.ts
│ │ ├── readline.d.ts
│ │ ├── readline
│ │ │ └── promises.d.ts
│ │ ├── repl.d.ts
│ │ ├── stream.d.ts
│ │ ├── stream
│ │ │ ├── consumers.d.ts
│ │ │ ├── promises.d.ts
│ │ │ └── web.d.ts
│ │ ├── string_decoder.d.ts
│ │ ├── test.d.ts
│ │ ├── timers.d.ts
│ │ ├── timers
│ │ │ └── promises.d.ts
│ │ ├── tls.d.ts
│ │ ├── trace_events.d.ts
│ │ ├── ts4.8
│ │ │ ├── assert.d.ts
│ │ │ ├── assert
│ │ │ │ └── strict.d.ts
│ │ │ ├── async_hooks.d.ts
│ │ │ ├── buffer.d.ts
│ │ │ ├── child_process.d.ts
│ │ │ ├── cluster.d.ts
│ │ │ ├── console.d.ts
│ │ │ ├── constants.d.ts
│ │ │ ├── crypto.d.ts
│ │ │ ├── dgram.d.ts
│ │ │ ├── diagnostics_channel.d.ts
│ │ │ ├── dns.d.ts
│ │ │ ├── dns
│ │ │ │ └── promises.d.ts
│ │ │ ├── dom-events.d.ts
│ │ │ ├── domain.d.ts
│ │ │ ├── events.d.ts
│ │ │ ├── fs.d.ts
│ │ │ ├── fs
│ │ │ │ └── promises.d.ts
│ │ │ ├── globals.d.ts
│ │ │ ├── globals.global.d.ts
│ │ │ ├── http.d.ts
│ │ │ ├── http2.d.ts
│ │ │ ├── https.d.ts
│ │ │ ├── index.d.ts
│ │ │ ├── inspector.d.ts
│ │ │ ├── module.d.ts
│ │ │ ├── net.d.ts
│ │ │ ├── os.d.ts
│ │ │ ├── path.d.ts
│ │ │ ├── perf_hooks.d.ts
│ │ │ ├── process.d.ts
│ │ │ ├── punycode.d.ts
│ │ │ ├── querystring.d.ts
│ │ │ ├── readline.d.ts
│ │ │ ├── readline
│ │ │ │ └── promises.d.ts
│ │ │ ├── repl.d.ts
│ │ │ ├── stream.d.ts
│ │ │ ├── stream
│ │ │ │ ├── consumers.d.ts
│ │ │ │ ├── promises.d.ts
│ │ │ │ └── web.d.ts
│ │ │ ├── string_decoder.d.ts
│ │ │ ├── test.d.ts
│ │ │ ├── timers.d.ts
│ │ │ ├── timers
│ │ │ │ └── promises.d.ts
│ │ │ ├── tls.d.ts
│ │ │ ├── trace_events.d.ts
│ │ │ ├── tty.d.ts
│ │ │ ├── url.d.ts
│ │ │ ├── util.d.ts
│ │ │ ├── v8.d.ts
│ │ │ ├── vm.d.ts
│ │ │ ├── wasi.d.ts
│ │ │ ├── worker_threads.d.ts
│ │ │ └── zlib.d.ts
│ │ ├── tty.d.ts
│ │ ├── url.d.ts
│ │ ├── util.d.ts
│ │ ├── v8.d.ts
│ │ ├── vm.d.ts
│ │ ├── wasi.d.ts
│ │ ├── worker_threads.d.ts
│ │ └── zlib.d.ts
│ ├── pump
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.d.ts
│ │ └── package.json
│ ├── qs
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.d.ts
│ │ └── package.json
│ ├── range-parser
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.d.ts
│ │ └── package.json
│ ├── send
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.d.ts
│ │ └── package.json
│ ├── serve-static
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.d.ts
│ │ └── package.json
│ ├── webidl-conversions
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.d.ts
│ │ └── package.json
│ └── whatwg-url
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── dist
│ │ ├── URL-impl.d.ts
│ │ ├── URL.d.ts
│ │ ├── URLSearchParams-impl.d.ts
│ │ └── URLSearchParams.d.ts
│ │ ├── index.d.ts
│ │ ├── package.json
│ │ └── webidl2js-wrapper.d.ts
├── accepts
│ ├── HISTORY.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ └── package.json
├── append-field
│ ├── .npmignore
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ ├── lib
│ │ ├── parse-path.js
│ │ └── set-value.js
│ ├── package.json
│ └── test
│ │ └── forms.js
├── array-flatten
│ ├── LICENSE
│ ├── README.md
│ ├── array-flatten.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
├── 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
├── 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
│ │ │ ├── serializer.ts
│ │ │ └── utils.ts
│ │ ├── regexp.ts
│ │ ├── symbol.ts
│ │ ├── timestamp.ts
│ │ ├── utils
│ │ │ ├── byte_utils.ts
│ │ │ ├── node_byte_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
├── buffer-from
│ ├── LICENSE
│ ├── index.js
│ ├── package.json
│ └── readme.md
├── busboy
│ ├── .travis.yml
│ ├── LICENSE
│ ├── README.md
│ ├── deps
│ │ └── encoding
│ │ │ ├── encoding-indexes.js
│ │ │ └── encoding.js
│ ├── lib
│ │ ├── main.js
│ │ ├── types
│ │ │ ├── multipart.js
│ │ │ └── urlencoded.js
│ │ └── utils.js
│ ├── package.json
│ └── test
│ │ ├── test-types-multipart.js
│ │ ├── test-types-urlencoded.js
│ │ ├── test-utils-decoder.js
│ │ ├── test-utils-parse-params.js
│ │ └── 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
├── concat-stream
│ ├── LICENSE
│ ├── index.js
│ ├── node_modules
│ │ ├── isarray
│ │ │ ├── .npmignore
│ │ │ ├── .travis.yml
│ │ │ ├── Makefile
│ │ │ ├── README.md
│ │ │ ├── component.json
│ │ │ ├── index.js
│ │ │ ├── package.json
│ │ │ └── test.js
│ │ ├── readable-stream
│ │ │ ├── .travis.yml
│ │ │ ├── CONTRIBUTING.md
│ │ │ ├── GOVERNANCE.md
│ │ │ ├── LICENSE
│ │ │ ├── README.md
│ │ │ ├── doc
│ │ │ │ └── wg-meetings
│ │ │ │ │ └── 2015-01-30.md
│ │ │ ├── duplex-browser.js
│ │ │ ├── duplex.js
│ │ │ ├── lib
│ │ │ │ ├── _stream_duplex.js
│ │ │ │ ├── _stream_passthrough.js
│ │ │ │ ├── _stream_readable.js
│ │ │ │ ├── _stream_transform.js
│ │ │ │ ├── _stream_writable.js
│ │ │ │ └── internal
│ │ │ │ │ └── streams
│ │ │ │ │ ├── BufferList.js
│ │ │ │ │ ├── destroy.js
│ │ │ │ │ ├── stream-browser.js
│ │ │ │ │ └── stream.js
│ │ │ ├── package.json
│ │ │ ├── passthrough.js
│ │ │ ├── readable-browser.js
│ │ │ ├── readable.js
│ │ │ ├── transform.js
│ │ │ ├── writable-browser.js
│ │ │ └── writable.js
│ │ ├── safe-buffer
│ │ │ ├── LICENSE
│ │ │ ├── README.md
│ │ │ ├── index.d.ts
│ │ │ ├── index.js
│ │ │ └── package.json
│ │ └── string_decoder
│ │ │ ├── .travis.yml
│ │ │ ├── LICENSE
│ │ │ ├── README.md
│ │ │ ├── lib
│ │ │ └── string_decoder.js
│ │ │ └── package.json
│ ├── package.json
│ └── readme.md
├── 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
├── core-util-is
│ ├── LICENSE
│ ├── README.md
│ ├── lib
│ │ └── util.js
│ └── package.json
├── cors
│ ├── CONTRIBUTING.md
│ ├── HISTORY.md
│ ├── LICENSE
│ ├── README.md
│ ├── lib
│ │ └── index.js
│ └── package.json
├── debug
│ ├── .coveralls.yml
│ ├── .eslintrc
│ ├── .npmignore
│ ├── .travis.yml
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── Makefile
│ ├── README.md
│ ├── component.json
│ ├── karma.conf.js
│ ├── node.js
│ ├── package.json
│ └── src
│ │ ├── browser.js
│ │ ├── debug.js
│ │ ├── index.js
│ │ ├── inspector-log.js
│ │ └── node.js
├── define-data-property
│ ├── .eslintrc
│ ├── .github
│ │ └── FUNDING.yml
│ ├── .nycrc
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.d.ts
│ ├── index.d.ts.map
│ ├── 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
├── dicer
│ ├── .travis.yml
│ ├── LICENSE
│ ├── README.md
│ ├── bench
│ │ ├── dicer-bench-multipart-parser.js
│ │ ├── formidable-bench-multipart-parser.js
│ │ ├── multipartser-bench-multipart-parser.js
│ │ ├── multiparty-bench-multipart-parser.js
│ │ ├── parted-bench-multipart-parser.js
│ │ └── parted-multipart.js
│ ├── lib
│ │ ├── Dicer.js
│ │ ├── HeaderParser.js
│ │ └── PartStream.js
│ ├── package.json
│ └── test
│ │ ├── fixtures
│ │ ├── many-noend
│ │ │ ├── original
│ │ │ ├── part1
│ │ │ ├── part1.header
│ │ │ ├── part2
│ │ │ ├── part2.header
│ │ │ ├── part3
│ │ │ ├── part3.header
│ │ │ ├── part4
│ │ │ ├── part4.header
│ │ │ ├── part5
│ │ │ ├── part5.header
│ │ │ ├── part6
│ │ │ ├── part6.header
│ │ │ └── part7.header
│ │ ├── many-wrongboundary
│ │ │ ├── original
│ │ │ ├── preamble
│ │ │ └── preamble.error
│ │ ├── many
│ │ │ ├── original
│ │ │ ├── part1
│ │ │ ├── part1.header
│ │ │ ├── part2
│ │ │ ├── part2.header
│ │ │ ├── part3
│ │ │ ├── part3.header
│ │ │ ├── part4
│ │ │ ├── part4.header
│ │ │ ├── part5
│ │ │ ├── part5.header
│ │ │ ├── part6
│ │ │ ├── part6.header
│ │ │ ├── part7
│ │ │ └── part7.header
│ │ ├── nested-full
│ │ │ ├── original
│ │ │ ├── part1
│ │ │ ├── part1.header
│ │ │ ├── part2
│ │ │ ├── part2.header
│ │ │ └── preamble.header
│ │ └── nested
│ │ │ ├── original
│ │ │ ├── part1
│ │ │ ├── part1.header
│ │ │ ├── part2
│ │ │ └── part2.header
│ │ ├── test-endfinish.js
│ │ ├── test-headerparser.js
│ │ ├── test-multipart-extra-trailer.js
│ │ ├── test-multipart-nolisteners.js
│ │ ├── test-multipart.js
│ │ └── test.js
├── 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
├── end-of-stream
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ └── package.json
├── escape-html
│ ├── LICENSE
│ ├── Readme.md
│ ├── index.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
│ ├── node_modules
│ │ ├── 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
│ │ └── raw-body
│ │ │ ├── HISTORY.md
│ │ │ ├── LICENSE
│ │ │ ├── README.md
│ │ │ ├── SECURITY.md
│ │ │ ├── index.d.ts
│ │ │ ├── index.js
│ │ │ └── package.json
│ └── 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
├── 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
├── gopd
│ ├── .eslintrc
│ ├── .github
│ │ └── FUNDING.yml
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ ├── package.json
│ └── test
│ │ └── index.js
├── has-own-prop
│ ├── index.d.ts
│ ├── 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.js
│ ├── package.json
│ └── test
│ │ └── index.js
├── 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.d.ts.map
│ ├── 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
├── 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-generator
│ ├── .npmignore
│ ├── .travis.yml
│ ├── LICENSE
│ ├── README.md
│ ├── is-generator.js
│ ├── package.json
│ └── test.js
├── is-promise
│ ├── LICENSE
│ ├── index.d.ts
│ ├── index.js
│ ├── index.mjs
│ ├── package.json
│ └── readme.md
├── isarray
│ ├── README.md
│ ├── build
│ │ └── build.js
│ ├── component.json
│ ├── index.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
│ ├── 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.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.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
├── minimist
│ ├── .eslintrc
│ ├── .github
│ │ └── FUNDING.yml
│ ├── .nycrc
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── example
│ │ └── parse.js
│ ├── index.js
│ ├── package.json
│ └── test
│ │ ├── all_bool.js
│ │ ├── bool.js
│ │ ├── dash.js
│ │ ├── default_bool.js
│ │ ├── dotted.js
│ │ ├── kv_short.js
│ │ ├── long.js
│ │ ├── num.js
│ │ ├── parse.js
│ │ ├── parse_modified.js
│ │ ├── proto.js
│ │ ├── short.js
│ │ ├── stop_early.js
│ │ ├── unknown.js
│ │ └── whitespace.js
├── mkdirp
│ ├── LICENSE
│ ├── bin
│ │ ├── cmd.js
│ │ └── usage.txt
│ ├── index.js
│ ├── package.json
│ └── readme.markdown
├── 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-uri
│ ├── .npmignore
│ ├── LICENSE
│ ├── README.md
│ ├── mongodb-uri.js
│ └── 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
│ │ │ ├── message_stream.js
│ │ │ ├── message_stream.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
│ │ │ │ ├── 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_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
│ │ │ ├── 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
│ │ │ ├── message_stream.ts
│ │ │ ├── metrics.ts
│ │ │ ├── stream_description.ts
│ │ │ └── wire_protocol
│ │ │ │ ├── compression.ts
│ │ │ │ ├── constants.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_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
│ │ │ ├── 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
│ │ ├── 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
│ │ │ │ ├── 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
│ │ │ │ ├── skipPopulateValue.js
│ │ │ │ └── validateRef.js
│ │ │ ├── printJestWarning.js
│ │ │ ├── processConnectionOptions.js
│ │ │ ├── projection
│ │ │ │ ├── applyProjection.js
│ │ │ │ ├── hasIncludedChildren.js
│ │ │ │ ├── isDefiningProjection.js
│ │ │ │ ├── isExclusive.js
│ │ │ │ ├── isInclusive.js
│ │ │ │ ├── isPathExcluded.js
│ │ │ │ ├── isPathSelectedInclusive.js
│ │ │ │ ├── isSubpath.js
│ │ │ │ └── parseProjection.js
│ │ │ ├── promiseOrCallback.js
│ │ │ ├── query
│ │ │ │ ├── applyGlobalOption.js
│ │ │ │ ├── applyQueryMiddleware.js
│ │ │ │ ├── cast$expr.js
│ │ │ │ ├── castFilterPath.js
│ │ │ │ ├── castUpdate.js
│ │ │ │ ├── completeMany.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
│ ├── node_modules
│ │ ├── debug
│ │ │ ├── LICENSE
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ └── src
│ │ │ │ ├── browser.js
│ │ │ │ ├── common.js
│ │ │ │ ├── index.js
│ │ │ │ └── node.js
│ │ └── ms
│ │ │ ├── index.js
│ │ │ ├── license.md
│ │ │ ├── package.json
│ │ │ └── readme.md
│ └── package.json
├── ms
│ ├── index.js
│ ├── license.md
│ ├── package.json
│ └── readme.md
├── multer-gridfs-storage
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── lib
│ │ ├── cache.d.ts
│ │ ├── cache.js
│ │ ├── cache.js.map
│ │ ├── gridfs.d.ts
│ │ ├── gridfs.js
│ │ ├── gridfs.js.map
│ │ ├── index.d.ts
│ │ ├── index.js
│ │ ├── index.js.map
│ │ ├── types
│ │ │ ├── cache-index.d.ts
│ │ │ ├── cache-index.js
│ │ │ ├── cache-index.js.map
│ │ │ ├── cache-value.d.ts
│ │ │ ├── cache-value.js
│ │ │ ├── cache-value.js.map
│ │ │ ├── comparator-result.d.ts
│ │ │ ├── comparator-result.js
│ │ │ ├── comparator-result.js.map
│ │ │ ├── connection-result.d.ts
│ │ │ ├── connection-result.js
│ │ │ ├── connection-result.js.map
│ │ │ ├── db-storage-options.d.ts
│ │ │ ├── db-storage-options.js
│ │ │ ├── db-storage-options.js.map
│ │ │ ├── db-types.d.ts
│ │ │ ├── db-types.js
│ │ │ ├── db-types.js.map
│ │ │ ├── grid-file.d.ts
│ │ │ ├── grid-file.js
│ │ │ ├── grid-file.js.map
│ │ │ ├── index.d.ts
│ │ │ ├── index.js
│ │ │ ├── index.js.map
│ │ │ ├── multer-gfs-options.d.ts
│ │ │ ├── multer-gfs-options.js
│ │ │ ├── multer-gfs-options.js.map
│ │ │ ├── node-callback.d.ts
│ │ │ ├── node-callback.js
│ │ │ ├── node-callback.js.map
│ │ │ ├── url-storage-options.d.ts
│ │ │ ├── url-storage-options.js
│ │ │ └── url-storage-options.js.map
│ │ ├── utils.d.ts
│ │ ├── utils.js
│ │ └── utils.js.map
│ └── package.json
├── multer
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ ├── lib
│ │ ├── counter.js
│ │ ├── file-appender.js
│ │ ├── make-middleware.js
│ │ ├── multer-error.js
│ │ └── remove-uploaded-files.js
│ ├── package.json
│ └── storage
│ │ ├── disk.js
│ │ └── memory.js
├── negotiator
│ ├── HISTORY.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ ├── lib
│ │ ├── charset.js
│ │ ├── encoding.js
│ │ ├── language.js
│ │ └── mediaType.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
├── parseurl
│ ├── HISTORY.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ └── package.json
├── path-to-regexp
│ ├── History.md
│ ├── LICENSE
│ ├── Readme.md
│ ├── index.js
│ └── package.json
├── process-nextick-args
│ ├── index.js
│ ├── license.md
│ ├── package.json
│ └── readme.md
├── proxy-addr
│ ├── HISTORY.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ └── package.json
├── pump
│ ├── .travis.yml
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ ├── package.json
│ ├── test-browser.js
│ └── test-node.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
├── readable-stream
│ ├── .npmignore
│ ├── LICENSE
│ ├── README.md
│ ├── duplex.js
│ ├── float.patch
│ ├── lib
│ │ ├── _stream_duplex.js
│ │ ├── _stream_passthrough.js
│ │ ├── _stream_readable.js
│ │ ├── _stream_transform.js
│ │ └── _stream_writable.js
│ ├── package.json
│ ├── passthrough.js
│ ├── readable.js
│ ├── transform.js
│ └── writable.js
├── 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.js
│ ├── index.js
│ └── package.json
├── setprototypeof
│ ├── LICENSE
│ ├── README.md
│ ├── index.d.ts
│ ├── index.js
│ ├── package.json
│ └── test
│ │ └── index.js
├── side-channel
│ ├── .eslintignore
│ ├── .eslintrc
│ ├── .github
│ │ └── FUNDING.yml
│ ├── .nycrc
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ ├── package.json
│ └── test
│ │ └── index.js
├── 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
├── 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
├── streamsearch
│ ├── LICENSE
│ ├── README.md
│ ├── lib
│ │ └── sbmh.js
│ └── package.json
├── string_decoder
│ ├── .npmignore
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ └── package.json
├── toidentifier
│ ├── HISTORY.md
│ ├── LICENSE
│ ├── README.md
│ ├── 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
├── typedarray
│ ├── .travis.yml
│ ├── LICENSE
│ ├── example
│ │ └── tarray.js
│ ├── index.js
│ ├── package.json
│ ├── readme.markdown
│ └── test
│ │ ├── server
│ │ └── undef_globals.js
│ │ └── tarray.js
├── undici-types
│ ├── README.md
│ ├── agent.d.ts
│ ├── api.d.ts
│ ├── balanced-pool.d.ts
│ ├── cache.d.ts
│ ├── client.d.ts
│ ├── connector.d.ts
│ ├── content-type.d.ts
│ ├── cookies.d.ts
│ ├── diagnostics-channel.d.ts
│ ├── dispatcher.d.ts
│ ├── errors.d.ts
│ ├── fetch.d.ts
│ ├── file.d.ts
│ ├── filereader.d.ts
│ ├── formdata.d.ts
│ ├── global-dispatcher.d.ts
│ ├── global-origin.d.ts
│ ├── handlers.d.ts
│ ├── header.d.ts
│ ├── index.d.ts
│ ├── interceptors.d.ts
│ ├── mock-agent.d.ts
│ ├── mock-client.d.ts
│ ├── mock-errors.d.ts
│ ├── mock-interceptor.d.ts
│ ├── mock-pool.d.ts
│ ├── package.json
│ ├── patch.d.ts
│ ├── pool-stats.d.ts
│ ├── pool.d.ts
│ ├── proxy-agent.d.ts
│ ├── readable.d.ts
│ ├── webidl.d.ts
│ └── websocket.d.ts
├── unpipe
│ ├── HISTORY.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ └── package.json
├── util-deprecate
│ ├── History.md
│ ├── LICENSE
│ ├── README.md
│ ├── browser.js
│ ├── node.js
│ └── package.json
├── utils-merge
│ ├── .npmignore
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ └── package.json
├── 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
├── xtend
│ ├── .jshintrc
│ ├── LICENSE
│ ├── README.md
│ ├── immutable.js
│ ├── mutable.js
│ ├── package.json
│ └── test.js
└── yallist
│ ├── LICENSE
│ ├── README.md
│ ├── iterator.js
│ ├── package.json
│ └── yallist.js
├── package-lock.json
├── package.json
├── public
└── uploads
│ ├── 1.jpg
│ ├── 2.jpg
│ ├── 3.jpeg
│ ├── 4.jpg
│ ├── 5.jpg
│ ├── 6.jpg
│ ├── 7.jpg
│ ├── 8.jpg
│ ├── John Smiths.jpg
│ ├── denny.jpeg
│ ├── windmills_1.jpg
│ ├── windmills_2.jpg
│ ├── windmills_3.jpg
│ ├── windmills_4.jpg
│ ├── windmills_5.jpg
│ ├── windmills_6.jpg
│ └── windmills_7.jpg
└── routes
├── auth.js
├── booking.js
├── listing.js
└── user.js
/client/.git - Shortcut.lnk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/.git - Shortcut.lnk
--------------------------------------------------------------------------------
/client/.gitignore:
--------------------------------------------------------------------------------
1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2 |
3 | # dependencies
4 | /node_modules
5 | /.pnp
6 | .pnp.js
7 |
8 | # testing
9 | /coverage
10 |
11 | # production
12 | /build
13 |
14 | # misc
15 | .DS_Store
16 | .env.local
17 | .env.development.local
18 | .env.test.local
19 | .env.production.local
20 |
21 | npm-debug.log*
22 | yarn-debug.log*
23 | yarn-error.log*
24 |
--------------------------------------------------------------------------------
/client/public/assets/John Smiths.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/John Smiths.jpg
--------------------------------------------------------------------------------
/client/public/assets/Listing1/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/Listing1/1.jpg
--------------------------------------------------------------------------------
/client/public/assets/Listing1/2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/Listing1/2.jpg
--------------------------------------------------------------------------------
/client/public/assets/Listing1/3.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/Listing1/3.jpeg
--------------------------------------------------------------------------------
/client/public/assets/Listing1/4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/Listing1/4.jpg
--------------------------------------------------------------------------------
/client/public/assets/Listing1/5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/Listing1/5.jpg
--------------------------------------------------------------------------------
/client/public/assets/Listing1/6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/Listing1/6.jpg
--------------------------------------------------------------------------------
/client/public/assets/Listing1/7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/Listing1/7.jpg
--------------------------------------------------------------------------------
/client/public/assets/Listing1/8.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/Listing1/8.jpg
--------------------------------------------------------------------------------
/client/public/assets/Listing2/windmills_1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/Listing2/windmills_1.jpg
--------------------------------------------------------------------------------
/client/public/assets/Listing2/windmills_2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/Listing2/windmills_2.jpg
--------------------------------------------------------------------------------
/client/public/assets/Listing2/windmills_3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/Listing2/windmills_3.jpg
--------------------------------------------------------------------------------
/client/public/assets/Listing2/windmills_4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/Listing2/windmills_4.jpg
--------------------------------------------------------------------------------
/client/public/assets/Listing2/windmills_5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/Listing2/windmills_5.jpg
--------------------------------------------------------------------------------
/client/public/assets/Listing2/windmills_6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/Listing2/windmills_6.jpg
--------------------------------------------------------------------------------
/client/public/assets/Listing2/windmills_7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/Listing2/windmills_7.jpg
--------------------------------------------------------------------------------
/client/public/assets/addImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/addImage.png
--------------------------------------------------------------------------------
/client/public/assets/arctic_cat.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/arctic_cat.webp
--------------------------------------------------------------------------------
/client/public/assets/barn_cat.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/barn_cat.jpg
--------------------------------------------------------------------------------
/client/public/assets/beach_cat.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/beach_cat.jpg
--------------------------------------------------------------------------------
/client/public/assets/camping_cat.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/camping_cat.jpg
--------------------------------------------------------------------------------
/client/public/assets/castle_cat.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/castle_cat.webp
--------------------------------------------------------------------------------
/client/public/assets/cave_cat.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/cave_cat.jpg
--------------------------------------------------------------------------------
/client/public/assets/countryside_cat.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/countryside_cat.webp
--------------------------------------------------------------------------------
/client/public/assets/denny.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/denny.jpeg
--------------------------------------------------------------------------------
/client/public/assets/desert_cat.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/desert_cat.webp
--------------------------------------------------------------------------------
/client/public/assets/island_cat.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/island_cat.webp
--------------------------------------------------------------------------------
/client/public/assets/lake_cat.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/lake_cat.webp
--------------------------------------------------------------------------------
/client/public/assets/login.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/login.jpg
--------------------------------------------------------------------------------
/client/public/assets/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/logo.png
--------------------------------------------------------------------------------
/client/public/assets/lux_cat.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/lux_cat.jpg
--------------------------------------------------------------------------------
/client/public/assets/modern_cat.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/modern_cat.webp
--------------------------------------------------------------------------------
/client/public/assets/payment.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/payment.png
--------------------------------------------------------------------------------
/client/public/assets/phucmai.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/phucmai.png
--------------------------------------------------------------------------------
/client/public/assets/pool_cat.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/pool_cat.jpg
--------------------------------------------------------------------------------
/client/public/assets/register.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/register.jpg
--------------------------------------------------------------------------------
/client/public/assets/skiing_cat.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/skiing_cat.jpg
--------------------------------------------------------------------------------
/client/public/assets/slide.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/slide.jpg
--------------------------------------------------------------------------------
/client/public/assets/uploadPhoto.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/uploadPhoto.png
--------------------------------------------------------------------------------
/client/public/assets/windmill_cat.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/assets/windmill_cat.webp
--------------------------------------------------------------------------------
/client/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/client/public/favicon.ico
--------------------------------------------------------------------------------
/client/src/App.css:
--------------------------------------------------------------------------------
1 | * {
2 | margin: 0;
3 | padding: 0;
4 | box-sizing: border-box;
5 | font-family: 'Nunito', sans-serif;
6 | }
--------------------------------------------------------------------------------
/client/src/components/Loader.jsx:
--------------------------------------------------------------------------------
1 | import "../styles/Loader.scss"
2 |
3 | const Loader = () => {
4 | return (
5 |
8 | )
9 | }
10 |
11 | export default Loader
--------------------------------------------------------------------------------
/client/src/components/Slide.jsx:
--------------------------------------------------------------------------------
1 | import "../styles/Slide.scss"
2 |
3 | const Slide = () => {
4 | return (
5 |
6 |
7 | Welcome Home! Anywhere you roam
Stay in the moment. Make your
8 | memories
9 |
10 |
11 | );
12 | };
13 |
14 | export default Slide;
15 |
--------------------------------------------------------------------------------
/client/src/index.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import ReactDOM from "react-dom/client";
3 | import App from "./App";
4 | import { Provider } from "react-redux";
5 | import { store, persistor } from "./redux/store";
6 | import { PersistGate } from "redux-persist/integration/react";
7 |
8 | const root = ReactDOM.createRoot(document.getElementById("root"));
9 | root.render(
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | );
18 |
--------------------------------------------------------------------------------
/client/src/pages/HomePage.jsx:
--------------------------------------------------------------------------------
1 | import Navbar from "../components/Navbar"
2 | import Slide from "../components/Slide"
3 | import Categories from "../components/Categories"
4 | import Listings from "../components/Listings"
5 | import Footer from "../components/Footer"
6 |
7 | const HomePage = () => {
8 | return (
9 | <>
10 |
11 |
12 |
13 |
14 |
15 | >
16 | )
17 | }
18 |
19 | export default HomePage
--------------------------------------------------------------------------------
/client/src/styles/List.scss:
--------------------------------------------------------------------------------
1 | @import "./breakpoints.scss";
2 | @import "./variables.scss";
3 |
4 |
5 | .title-list {
6 | margin: 40px 100px;
7 | color: $blue;
8 |
9 | @include sm {
10 | margin: 40px 50px;
11 | }
12 | }
13 |
14 | .list {
15 | padding: 0 100px 120px;
16 | display: flex;
17 | justify-content: center;
18 | flex-wrap: wrap;
19 | gap: 25px;
20 |
21 | @include xl {
22 | padding: 0 20px 120px;
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/client/src/styles/Loader.scss:
--------------------------------------------------------------------------------
1 | .loader {
2 | display: flex;
3 | justify-content: center;
4 | align-items: center;
5 | height: 100vh;
6 | }
7 |
8 | .loader-inner {
9 | border: 6px solid #f3f3f3;
10 | border-top: 6px solid #3498db;
11 | border-radius: 50%;
12 | width: 40px;
13 | height: 40px;
14 | animation: spin 2s linear infinite;
15 | }
16 |
17 | @keyframes spin {
18 | 0% { transform: rotate(0deg); }
19 | 100% { transform: rotate(360deg); }
20 | }
21 |
--------------------------------------------------------------------------------
/client/src/styles/Slide.scss:
--------------------------------------------------------------------------------
1 | .slide {
2 | width: 100vw;
3 | height: 80vh;
4 | background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
5 | url("../../public/assets/slide.jpg");
6 | background-position: center top;
7 | background-size: cover;
8 |
9 | h1 {
10 | padding: 40px 20px;
11 | font-size: 40px;
12 | text-align: center;
13 | color: white;
14 | }
15 | }
16 |
17 |
--------------------------------------------------------------------------------
/client/src/styles/variables.scss:
--------------------------------------------------------------------------------
1 | $pinkred: #F8395A;
2 | $blue: #24355A;
3 | $lightgrey: #F7F8F8;
4 | $grey: #bdb9b9;
5 | $darkgrey: #969393;
6 |
7 |
8 | @mixin shadow {
9 | box-shadow: 0 3px 10px 2px rgba(0, 0, 0, 0.2);
10 | }
11 |
12 | @mixin buttonStyle {
13 | padding: 10px 15px;
14 | background-color: $pinkred;
15 | border: none;
16 | font-size: 20px;
17 | font-weight: 600;
18 | cursor: pointer;
19 | transition: 0.3s ease;
20 | color: white;
21 | border-radius: 10px;
22 | }
23 |
24 | :export {
25 | pinkred: $pinkred;
26 | blue: $blue;
27 | lightgrey: $lightgrey;
28 | grey: $grey;
29 | darkgrey: $darkgrey;
30 | }
31 |
--------------------------------------------------------------------------------
/server/node_modules/.bin/mime:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | exec "$basedir/node" "$basedir/../mime/cli.js" "$@"
10 | else
11 | exec node "$basedir/../mime/cli.js" "$@"
12 | fi
13 |
--------------------------------------------------------------------------------
/server/node_modules/.bin/mime.cmd:
--------------------------------------------------------------------------------
1 | @ECHO off
2 | GOTO start
3 | :find_dp0
4 | SET dp0=%~dp0
5 | EXIT /b
6 | :start
7 | SETLOCAL
8 | CALL :find_dp0
9 |
10 | IF EXIST "%dp0%\node.exe" (
11 | SET "_prog=%dp0%\node.exe"
12 | ) ELSE (
13 | SET "_prog=node"
14 | SET PATHEXT=%PATHEXT:;.JS;=;%
15 | )
16 |
17 | endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\mime\cli.js" %*
18 |
--------------------------------------------------------------------------------
/server/node_modules/.bin/mkdirp:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | exec "$basedir/node" "$basedir/../mkdirp/bin/cmd.js" "$@"
10 | else
11 | exec node "$basedir/../mkdirp/bin/cmd.js" "$@"
12 | fi
13 |
--------------------------------------------------------------------------------
/server/node_modules/.bin/mkdirp.cmd:
--------------------------------------------------------------------------------
1 | @ECHO off
2 | GOTO start
3 | :find_dp0
4 | SET dp0=%~dp0
5 | EXIT /b
6 | :start
7 | SETLOCAL
8 | CALL :find_dp0
9 |
10 | IF EXIST "%dp0%\node.exe" (
11 | SET "_prog=%dp0%\node.exe"
12 | ) ELSE (
13 | SET "_prog=node"
14 | SET PATHEXT=%PATHEXT:;.JS;=;%
15 | )
16 |
17 | endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\mkdirp\bin\cmd.js" %*
18 |
--------------------------------------------------------------------------------
/server/node_modules/.bin/semver:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | exec "$basedir/node" "$basedir/../semver/bin/semver.js" "$@"
10 | else
11 | exec node "$basedir/../semver/bin/semver.js" "$@"
12 | fi
13 |
--------------------------------------------------------------------------------
/server/node_modules/.bin/semver.cmd:
--------------------------------------------------------------------------------
1 | @ECHO off
2 | GOTO start
3 | :find_dp0
4 | SET dp0=%~dp0
5 | EXIT /b
6 | :start
7 | SETLOCAL
8 | CALL :find_dp0
9 |
10 | IF EXIST "%dp0%\node.exe" (
11 | SET "_prog=%dp0%\node.exe"
12 | ) ELSE (
13 | SET "_prog=node"
14 | SET PATHEXT=%PATHEXT:;.JS;=;%
15 | )
16 |
17 | endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\semver\bin\semver.js" %*
18 |
--------------------------------------------------------------------------------
/server/node_modules/@mongodb-js/saslprep/dist/.esm-wrapper.mjs:
--------------------------------------------------------------------------------
1 | import mod from "./index.js";
2 |
3 | export default mod;
4 | export const saslprep = mod.saslprep;
5 |
--------------------------------------------------------------------------------
/server/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
--------------------------------------------------------------------------------
/server/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"}
--------------------------------------------------------------------------------
/server/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"}
--------------------------------------------------------------------------------
/server/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
--------------------------------------------------------------------------------
/server/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"}
--------------------------------------------------------------------------------
/server/node_modules/@mongodb-js/saslprep/dist/generate-code-points.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 | //# sourceMappingURL=generate-code-points.d.ts.map
--------------------------------------------------------------------------------
/server/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":""}
--------------------------------------------------------------------------------
/server/node_modules/@mongodb-js/saslprep/dist/index.d.ts:
--------------------------------------------------------------------------------
1 | declare function saslprep(input: string, opts?: {
2 | allowUnassigned?: boolean;
3 | }): string;
4 | declare namespace saslprep {
5 | export var saslprep: typeof import(".");
6 | var _a: typeof import(".");
7 | export { _a as default };
8 | }
9 | export = saslprep;
10 | //# sourceMappingURL=index.d.ts.map
--------------------------------------------------------------------------------
/server/node_modules/@mongodb-js/saslprep/dist/index.d.ts.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA2DA,iBAAS,QAAQ,CACf,KAAK,EAAE,MAAM,EACb,IAAI,GAAE;IAAE,eAAe,CAAC,EAAE,OAAO,CAAA;CAAO,GACvC,MAAM,CAuFR;kBA1FQ,QAAQ;;;;;AA8FjB,SAAS,QAAQ,CAAC"}
--------------------------------------------------------------------------------
/server/node_modules/@mongodb-js/saslprep/dist/memory-code-points.d.ts:
--------------------------------------------------------------------------------
1 | import bitfield from 'sparse-bitfield';
2 | export declare const unassigned_code_points: bitfield.BitFieldInstance;
3 | export declare const commonly_mapped_to_nothing: bitfield.BitFieldInstance;
4 | export declare const non_ASCII_space_characters: bitfield.BitFieldInstance;
5 | export declare const prohibited_characters: bitfield.BitFieldInstance;
6 | export declare const bidirectional_r_al: bitfield.BitFieldInstance;
7 | export declare const bidirectional_l: bitfield.BitFieldInstance;
8 | //# sourceMappingURL=memory-code-points.d.ts.map
--------------------------------------------------------------------------------
/server/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;AAkBvC,eAAO,MAAM,sBAAsB,2BAAS,CAAC;AAC7C,eAAO,MAAM,0BAA0B,2BAAS,CAAC;AACjD,eAAO,MAAM,0BAA0B,2BAAS,CAAC;AACjD,eAAO,MAAM,qBAAqB,2BAAS,CAAC;AAC5C,eAAO,MAAM,kBAAkB,2BAAS,CAAC;AACzC,eAAO,MAAM,eAAe,2BAAS,CAAC"}
--------------------------------------------------------------------------------
/server/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
--------------------------------------------------------------------------------
/server/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"}
--------------------------------------------------------------------------------
/server/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
--------------------------------------------------------------------------------
/server/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"}
--------------------------------------------------------------------------------
/server/node_modules/@types/bson/README.md:
--------------------------------------------------------------------------------
1 | This is a stub types definition for @types/bson (https://github.com/mongodb/js-bson#readme).
2 |
3 | bson provides its own type definitions, so you don't need @types/bson installed!
--------------------------------------------------------------------------------
/server/node_modules/@types/bson/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@types/bson",
3 | "version": "4.2.0",
4 | "typings": null,
5 | "description": "Stub TypeScript definitions entry for bson, which provides its own types definitions",
6 | "main": "",
7 | "scripts": {},
8 | "author": "",
9 | "license": "MIT",
10 | "dependencies": {
11 | "bson": "*"
12 | }
13 | }
--------------------------------------------------------------------------------
/server/node_modules/@types/connect/README.md:
--------------------------------------------------------------------------------
1 | # Installation
2 | > `npm install --save @types/connect`
3 |
4 | # Summary
5 | This package contains type definitions for connect (https://github.com/senchalabs/connect).
6 |
7 | # Details
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect.
9 |
10 | ### Additional Details
11 | * Last updated: Mon, 06 Nov 2023 22:41:05 GMT
12 | * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
13 |
14 | # Credits
15 | These definitions were written by [Maxime LUCE](https://github.com/SomaticIT), and [Evan Hahn](https://github.com/EvanHahn).
16 |
--------------------------------------------------------------------------------
/server/node_modules/@types/http-errors/README.md:
--------------------------------------------------------------------------------
1 | # Installation
2 | > `npm install --save @types/http-errors`
3 |
4 | # Summary
5 | This package contains type definitions for http-errors (https://github.com/jshttp/http-errors).
6 |
7 | # Details
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/http-errors.
9 |
10 | ### Additional Details
11 | * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
12 | * Dependencies: none
13 |
14 | # Credits
15 | These definitions were written by [Tanguy Krotoff](https://github.com/tkrotoff), and [BendingBender](https://github.com/BendingBender).
16 |
--------------------------------------------------------------------------------
/server/node_modules/@types/mime/Mime.d.ts:
--------------------------------------------------------------------------------
1 | import { TypeMap } from "./index";
2 |
3 | export default class Mime {
4 | constructor(mimes: TypeMap);
5 |
6 | lookup(path: string, fallback?: string): string;
7 | extension(mime: string): string | undefined;
8 | load(filepath: string): void;
9 | define(mimes: TypeMap): void;
10 | }
11 |
--------------------------------------------------------------------------------
/server/node_modules/@types/mime/README.md:
--------------------------------------------------------------------------------
1 | # Installation
2 | > `npm install --save @types/mime`
3 |
4 | # Summary
5 | This package contains type definitions for mime (https://github.com/broofa/node-mime).
6 |
7 | # Details
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mime/v1.
9 |
10 | ### Additional Details
11 | * Last updated: Tue, 07 Nov 2023 20:08:00 GMT
12 | * Dependencies: none
13 |
14 | # Credits
15 | These definitions were written by [Jeff Goddard](https://github.com/jedigo), and [Daniel Hritzkiv](https://github.com/dhritzkiv).
16 |
--------------------------------------------------------------------------------
/server/node_modules/@types/mime/lite.d.ts:
--------------------------------------------------------------------------------
1 | import { default as Mime } from "./Mime";
2 |
3 | declare const mimelite: Mime;
4 |
5 | export as namespace mimelite;
6 |
7 | export = mimelite;
8 |
--------------------------------------------------------------------------------
/server/node_modules/@types/node/assert/strict.d.ts:
--------------------------------------------------------------------------------
1 | declare module "assert/strict" {
2 | import { strict } from "node:assert";
3 | export = strict;
4 | }
5 | declare module "node:assert/strict" {
6 | import { strict } from "node:assert";
7 | export = strict;
8 | }
9 |
--------------------------------------------------------------------------------
/server/node_modules/@types/node/globals.global.d.ts:
--------------------------------------------------------------------------------
1 | declare var global: typeof globalThis;
2 |
--------------------------------------------------------------------------------
/server/node_modules/@types/node/ts4.8/assert/strict.d.ts:
--------------------------------------------------------------------------------
1 | declare module "assert/strict" {
2 | import { strict } from "node:assert";
3 | export = strict;
4 | }
5 | declare module "node:assert/strict" {
6 | import { strict } from "node:assert";
7 | export = strict;
8 | }
9 |
--------------------------------------------------------------------------------
/server/node_modules/@types/node/ts4.8/globals.global.d.ts:
--------------------------------------------------------------------------------
1 | declare var global: typeof globalThis;
2 |
--------------------------------------------------------------------------------
/server/node_modules/@types/pump/index.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare function pump(streams: pump.Stream[], callback?: pump.Callback): pump.Stream;
4 |
5 | // callback have to be passed as last argument
6 | declare function pump(...streams: Array): pump.Stream;
7 |
8 | declare namespace pump {
9 | type Callback = (err?: Error) => any;
10 | type Stream = NodeJS.ReadableStream | NodeJS.WritableStream;
11 | }
12 |
13 | export = pump;
14 |
--------------------------------------------------------------------------------
/server/node_modules/@types/webidl-conversions/README.md:
--------------------------------------------------------------------------------
1 | # Installation
2 | > `npm install --save @types/webidl-conversions`
3 |
4 | # Summary
5 | This package contains type definitions for webidl-conversions (https://github.com/jsdom/webidl-conversions#readme).
6 |
7 | # Details
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webidl-conversions.
9 |
10 | ### Additional Details
11 | * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
12 | * Dependencies: none
13 |
14 | # Credits
15 | These definitions were written by [ExE Boss](https://github.com/ExE-Boss), and [BendingBender](https://github.com/BendingBender).
16 |
--------------------------------------------------------------------------------
/server/node_modules/@types/whatwg-url/dist/URL-impl.d.ts:
--------------------------------------------------------------------------------
1 | declare class URLImpl {
2 | constructor(
3 | globalObject: object,
4 | constructorArgs: readonly [url: string, base?: string],
5 | privateData?: {},
6 | );
7 |
8 | href: string;
9 | readonly origin: string;
10 | protocol: string;
11 | username: string;
12 | password: string;
13 | host: string;
14 | hostname: string;
15 | port: string;
16 | pathname: string;
17 | search: string;
18 | readonly searchParams: URLSearchParams;
19 | hash: string;
20 |
21 | toJSON(): string;
22 | }
23 | export { URLImpl as implementation };
24 |
--------------------------------------------------------------------------------
/server/node_modules/@types/whatwg-url/webidl2js-wrapper.d.ts:
--------------------------------------------------------------------------------
1 | import * as URL from "./dist/URL";
2 | import * as URLSearchParams from "./dist/URLSearchParams";
3 |
4 | export { URL, URLSearchParams };
5 |
--------------------------------------------------------------------------------
/server/node_modules/append-field/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules/
2 |
--------------------------------------------------------------------------------
/server/node_modules/append-field/index.js:
--------------------------------------------------------------------------------
1 | var parsePath = require('./lib/parse-path')
2 | var setValue = require('./lib/set-value')
3 |
4 | function appendField (store, key, value) {
5 | var steps = parsePath(key)
6 |
7 | steps.reduce(function (context, step) {
8 | return setValue(context, step, context[step.key], value)
9 | }, store)
10 | }
11 |
12 | module.exports = appendField
13 |
--------------------------------------------------------------------------------
/server/node_modules/append-field/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "append-field",
3 | "version": "1.0.0",
4 | "license": "MIT",
5 | "author": "Linus Unnebäck ",
6 | "main": "index.js",
7 | "devDependencies": {
8 | "mocha": "^2.2.4",
9 | "standard": "^6.0.5",
10 | "testdata-w3c-json-form": "^0.2.0"
11 | },
12 | "scripts": {
13 | "test": "standard && mocha"
14 | },
15 | "repository": {
16 | "type": "git",
17 | "url": "http://github.com/LinusU/node-append-field.git"
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/server/node_modules/append-field/test/forms.js:
--------------------------------------------------------------------------------
1 | /* eslint-env mocha */
2 |
3 | var assert = require('assert')
4 | var appendField = require('../')
5 | var testData = require('testdata-w3c-json-form')
6 |
7 | describe('Append Field', function () {
8 | for (var test of testData) {
9 | it('handles ' + test.name, function () {
10 | var store = Object.create(null)
11 |
12 | for (var field of test.fields) {
13 | appendField(store, field.key, field.value)
14 | }
15 |
16 | assert.deepEqual(store, test.expected)
17 | })
18 | }
19 | })
20 |
--------------------------------------------------------------------------------
/server/node_modules/bcryptjs/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules/
2 | npm-debug.log
3 | debug.log
4 | doco/
5 | tests/bench.js
6 | *.png
7 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/bcryptjs/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "vsicons.presets.angular": false
3 | }
--------------------------------------------------------------------------------
/server/node_modules/bcryptjs/dist/bcrypt.min.js.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/node_modules/bcryptjs/dist/bcrypt.min.js.gz
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/buffer-equal-constant-time/.npmignore:
--------------------------------------------------------------------------------
1 | .*.sw[mnop]
2 | node_modules/
3 |
--------------------------------------------------------------------------------
/server/node_modules/buffer-equal-constant-time/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.11"
4 | - "0.10"
5 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/buffer-from/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "buffer-from",
3 | "version": "1.1.2",
4 | "license": "MIT",
5 | "repository": "LinusU/buffer-from",
6 | "files": [
7 | "index.js"
8 | ],
9 | "scripts": {
10 | "test": "standard && node test"
11 | },
12 | "devDependencies": {
13 | "standard": "^12.0.1"
14 | },
15 | "keywords": [
16 | "buffer",
17 | "buffer from"
18 | ]
19 | }
20 |
--------------------------------------------------------------------------------
/server/node_modules/busboy/.travis.yml:
--------------------------------------------------------------------------------
1 | sudo: false
2 | language: cpp
3 | notifications:
4 | email: false
5 | env:
6 | matrix:
7 | - TRAVIS_NODE_VERSION="0.10"
8 | - TRAVIS_NODE_VERSION="0.12"
9 | - TRAVIS_NODE_VERSION="4"
10 | - TRAVIS_NODE_VERSION="6"
11 | - TRAVIS_NODE_VERSION="7"
12 | install:
13 | - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
14 | - node --version
15 | - npm --version
16 | - npm install
17 | script: npm test
18 |
--------------------------------------------------------------------------------
/server/node_modules/busboy/test/test.js:
--------------------------------------------------------------------------------
1 | require('fs').readdirSync(__dirname).forEach(function(f) {
2 | if (f.substr(0, 5) === 'test-')
3 | require('./' + f);
4 | });
--------------------------------------------------------------------------------
/server/node_modules/call-bind/.eslintignore:
--------------------------------------------------------------------------------
1 | coverage/
2 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/call-bind/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: [ljharb]
4 | patreon: # Replace with a single Patreon username
5 | open_collective: # Replace with a single Open Collective username
6 | ko_fi: # Replace with a single Ko-fi username
7 | tidelift: npm/call-bind
8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9 | liberapay: # Replace with a single Liberapay username
10 | issuehunt: # Replace with a single IssueHunt username
11 | otechie: # Replace with a single Otechie username
12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
13 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/concat-stream/node_modules/isarray/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/server/node_modules/concat-stream/node_modules/isarray/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.8"
4 | - "0.10"
5 |
--------------------------------------------------------------------------------
/server/node_modules/concat-stream/node_modules/isarray/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @node_modules/.bin/tape test.js
4 |
5 | .PHONY: test
6 |
7 |
--------------------------------------------------------------------------------
/server/node_modules/concat-stream/node_modules/isarray/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name" : "isarray",
3 | "description" : "Array#isArray for older browsers",
4 | "version" : "0.0.1",
5 | "repository" : "juliangruber/isarray",
6 | "homepage": "https://github.com/juliangruber/isarray",
7 | "main" : "index.js",
8 | "scripts" : [
9 | "index.js"
10 | ],
11 | "dependencies" : {},
12 | "keywords": ["browser","isarray","array"],
13 | "author": {
14 | "name": "Julian Gruber",
15 | "email": "mail@juliangruber.com",
16 | "url": "http://juliangruber.com"
17 | },
18 | "license": "MIT"
19 | }
20 |
--------------------------------------------------------------------------------
/server/node_modules/concat-stream/node_modules/isarray/index.js:
--------------------------------------------------------------------------------
1 | var toString = {}.toString;
2 |
3 | module.exports = Array.isArray || function (arr) {
4 | return toString.call(arr) == '[object Array]';
5 | };
6 |
--------------------------------------------------------------------------------
/server/node_modules/concat-stream/node_modules/isarray/test.js:
--------------------------------------------------------------------------------
1 | var isArray = require('./');
2 | var test = require('tape');
3 |
4 | test('is array', function(t){
5 | t.ok(isArray([]));
6 | t.notOk(isArray({}));
7 | t.notOk(isArray(null));
8 | t.notOk(isArray(false));
9 |
10 | var obj = {};
11 | obj[0] = true;
12 | t.notOk(isArray(obj));
13 |
14 | var arr = [];
15 | arr.foo = 'bar';
16 | t.ok(isArray(arr));
17 |
18 | t.end();
19 | });
20 |
21 |
--------------------------------------------------------------------------------
/server/node_modules/concat-stream/node_modules/readable-stream/duplex-browser.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./lib/_stream_duplex.js');
2 |
--------------------------------------------------------------------------------
/server/node_modules/concat-stream/node_modules/readable-stream/duplex.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./readable').Duplex
2 |
--------------------------------------------------------------------------------
/server/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/stream-browser.js:
--------------------------------------------------------------------------------
1 | module.exports = require('events').EventEmitter;
2 |
--------------------------------------------------------------------------------
/server/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/stream.js:
--------------------------------------------------------------------------------
1 | module.exports = require('stream');
2 |
--------------------------------------------------------------------------------
/server/node_modules/concat-stream/node_modules/readable-stream/passthrough.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./readable').PassThrough
2 |
--------------------------------------------------------------------------------
/server/node_modules/concat-stream/node_modules/readable-stream/readable-browser.js:
--------------------------------------------------------------------------------
1 | exports = module.exports = require('./lib/_stream_readable.js');
2 | exports.Stream = exports;
3 | exports.Readable = exports;
4 | exports.Writable = require('./lib/_stream_writable.js');
5 | exports.Duplex = require('./lib/_stream_duplex.js');
6 | exports.Transform = require('./lib/_stream_transform.js');
7 | exports.PassThrough = require('./lib/_stream_passthrough.js');
8 |
--------------------------------------------------------------------------------
/server/node_modules/concat-stream/node_modules/readable-stream/transform.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./readable').Transform
2 |
--------------------------------------------------------------------------------
/server/node_modules/concat-stream/node_modules/readable-stream/writable-browser.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./lib/_stream_writable.js');
2 |
--------------------------------------------------------------------------------
/server/node_modules/concat-stream/node_modules/readable-stream/writable.js:
--------------------------------------------------------------------------------
1 | var Stream = require("stream")
2 | var Writable = require("./lib/_stream_writable.js")
3 |
4 | if (process.env.READABLE_STREAM === 'disable') {
5 | module.exports = Stream && Stream.Writable || Writable
6 | } else {
7 | module.exports = Writable
8 | }
9 |
--------------------------------------------------------------------------------
/server/node_modules/cookie-signature/.npmignore:
--------------------------------------------------------------------------------
1 | support
2 | test
3 | examples
4 | *.sock
5 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/core-util-is/README.md:
--------------------------------------------------------------------------------
1 | # core-util-is
2 |
3 | The `util.is*` functions introduced in Node v0.12.
4 |
--------------------------------------------------------------------------------
/server/node_modules/debug/.coveralls.yml:
--------------------------------------------------------------------------------
1 | repo_token: SIAeZjKYlHK74rbcFvNHMUzjRiMpflxve
2 |
--------------------------------------------------------------------------------
/server/node_modules/debug/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "env": {
3 | "browser": true,
4 | "node": true
5 | },
6 | "rules": {
7 | "no-console": 0,
8 | "no-empty": [1, { "allowEmptyCatch": true }]
9 | },
10 | "extends": "eslint:recommended"
11 | }
12 |
--------------------------------------------------------------------------------
/server/node_modules/debug/.npmignore:
--------------------------------------------------------------------------------
1 | support
2 | test
3 | examples
4 | example
5 | *.sock
6 | dist
7 | yarn.lock
8 | coverage
9 | bower.json
10 |
--------------------------------------------------------------------------------
/server/node_modules/debug/.travis.yml:
--------------------------------------------------------------------------------
1 |
2 | language: node_js
3 | node_js:
4 | - "6"
5 | - "5"
6 | - "4"
7 |
8 | install:
9 | - make node_modules
10 |
11 | script:
12 | - make lint
13 | - make test
14 | - make coveralls
15 |
--------------------------------------------------------------------------------
/server/node_modules/debug/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "debug",
3 | "repo": "visionmedia/debug",
4 | "description": "small debugging utility",
5 | "version": "2.6.9",
6 | "keywords": [
7 | "debug",
8 | "log",
9 | "debugger"
10 | ],
11 | "main": "src/browser.js",
12 | "scripts": [
13 | "src/browser.js",
14 | "src/debug.js"
15 | ],
16 | "dependencies": {
17 | "rauchg/ms.js": "0.7.1"
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/server/node_modules/debug/node.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./src/node');
2 |
--------------------------------------------------------------------------------
/server/node_modules/debug/src/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Detect Electron renderer process, which is node, but we should
3 | * treat as a browser.
4 | */
5 |
6 | if (typeof process !== 'undefined' && process.type === 'renderer') {
7 | module.exports = require('./browser.js');
8 | } else {
9 | module.exports = require('./node.js');
10 | }
11 |
--------------------------------------------------------------------------------
/server/node_modules/debug/src/inspector-log.js:
--------------------------------------------------------------------------------
1 | module.exports = inspectorLog;
2 |
3 | // black hole
4 | const nullStream = new (require('stream').Writable)();
5 | nullStream._write = () => {};
6 |
7 | /**
8 | * Outputs a `console.log()` to the Node.js Inspector console *only*.
9 | */
10 | function inspectorLog() {
11 | const stdout = console._stdout;
12 | console._stdout = nullStream;
13 | console.log.apply(console, arguments);
14 | console._stdout = stdout;
15 | }
16 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/define-data-property/index.d.ts:
--------------------------------------------------------------------------------
1 | declare const _exports: (obj: Record, property: PropertyKey, value: unknown, nonEnumerable?: boolean | null, nonWritable?: boolean | null, nonConfigurable?: boolean | null, loose?: boolean) => void;
2 | export = _exports;
3 | //# sourceMappingURL=index.d.ts.map
--------------------------------------------------------------------------------
/server/node_modules/define-data-property/index.d.ts.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":"8BAqBiB,OAAO,WAAW,EAAE,OAAO,CAAC,YAAY,WAAW,SAAS,OAAO,kBAAkB,OAAO,GAAG,IAAI,gBAAgB,OAAO,GAAG,IAAI,oBAAoB,OAAO,GAAG,IAAI,UAAU,OAAO,KAAK,IAAI"}
--------------------------------------------------------------------------------
/server/node_modules/dicer/.travis.yml:
--------------------------------------------------------------------------------
1 | sudo: false
2 | language: cpp
3 | notifications:
4 | email: false
5 | env:
6 | matrix:
7 | - TRAVIS_NODE_VERSION="0.10"
8 | - TRAVIS_NODE_VERSION="0.12"
9 | - TRAVIS_NODE_VERSION="4"
10 | - TRAVIS_NODE_VERSION="5"
11 | install:
12 | - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
13 | - node --version
14 | - npm --version
15 | - npm install
16 | script: npm test
17 |
--------------------------------------------------------------------------------
/server/node_modules/dicer/lib/PartStream.js:
--------------------------------------------------------------------------------
1 | var inherits = require('util').inherits,
2 | ReadableStream = require('stream').Readable || require('readable-stream');
3 |
4 | function PartStream(opts) {
5 | ReadableStream.call(this, opts);
6 | }
7 | inherits(PartStream, ReadableStream);
8 |
9 | PartStream.prototype._read = function(n) {};
10 |
11 | module.exports = PartStream;
12 |
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many-noend/part1:
--------------------------------------------------------------------------------
1 | put
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many-noend/part1.header:
--------------------------------------------------------------------------------
1 | {"content-disposition": ["form-data; name=\"_method\""]}
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many-noend/part2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/node_modules/dicer/test/fixtures/many-noend/part2
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many-noend/part2.header:
--------------------------------------------------------------------------------
1 | {"content-disposition": ["form-data; name=\"profile[blog]\""]}
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many-noend/part3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/node_modules/dicer/test/fixtures/many-noend/part3
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many-noend/part3.header:
--------------------------------------------------------------------------------
1 | {"content-disposition": ["form-data; name=\"profile[public_email]\""]}
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many-noend/part4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/node_modules/dicer/test/fixtures/many-noend/part4
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many-noend/part4.header:
--------------------------------------------------------------------------------
1 | {"content-disposition": ["form-data; name=\"profile[interests]\""]}
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many-noend/part5:
--------------------------------------------------------------------------------
1 | hello
2 |
3 | "quote"
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many-noend/part5.header:
--------------------------------------------------------------------------------
1 | {"content-disposition": ["form-data; name=\"profile[bio]\""]}
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many-noend/part6:
--------------------------------------------------------------------------------
1 | Save
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many-noend/part6.header:
--------------------------------------------------------------------------------
1 | {"content-disposition": ["form-data; name=\"commit\""]}
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many-noend/part7.header:
--------------------------------------------------------------------------------
1 | {"content-disposition": ["form-data; name=\"media\"; filename=\"\""],
2 | "content-type": ["application/octet-stream"]}
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many-wrongboundary/preamble.error:
--------------------------------------------------------------------------------
1 | Preamble terminated early due to unexpected end of multipart data
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many/part1:
--------------------------------------------------------------------------------
1 | put
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many/part1.header:
--------------------------------------------------------------------------------
1 | {"content-disposition": ["form-data; name=\"_method\""]}
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many/part2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/node_modules/dicer/test/fixtures/many/part2
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many/part2.header:
--------------------------------------------------------------------------------
1 | {"content-disposition": ["form-data; name=\"profile[blog]\""]}
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many/part3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/node_modules/dicer/test/fixtures/many/part3
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many/part3.header:
--------------------------------------------------------------------------------
1 | {"content-disposition": ["form-data; name=\"profile[public_email]\""]}
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many/part4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/node_modules/dicer/test/fixtures/many/part4
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many/part4.header:
--------------------------------------------------------------------------------
1 | {"content-disposition": ["form-data; name=\"profile[interests]\""]}
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many/part5:
--------------------------------------------------------------------------------
1 | hello
2 |
3 | "quote"
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many/part5.header:
--------------------------------------------------------------------------------
1 | {"content-disposition": ["form-data; name=\"profile[bio]\""]}
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many/part6:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/node_modules/dicer/test/fixtures/many/part6
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many/part6.header:
--------------------------------------------------------------------------------
1 | {"content-disposition": ["form-data; name=\"media\"; filename=\"\""],
2 | "content-type": ["application/octet-stream"]}
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many/part7:
--------------------------------------------------------------------------------
1 | Save
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/many/part7.header:
--------------------------------------------------------------------------------
1 | {"content-disposition": ["form-data; name=\"commit\""]}
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/nested-full/original:
--------------------------------------------------------------------------------
1 | User-Agent: foo bar baz
2 | Content-Type: multipart/form-data; boundary=AaB03x
3 |
4 | --AaB03x
5 | Content-Disposition: form-data; name="foo"
6 |
7 | bar
8 | --AaB03x
9 | Content-Disposition: form-data; name="files"
10 | Content-Type: multipart/mixed, boundary=BbC04y
11 |
12 | --BbC04y
13 | Content-Disposition: attachment; filename="file.txt"
14 | Content-Type: text/plain
15 |
16 | contents
17 | --BbC04y
18 | Content-Disposition: attachment; filename="flowers.jpg"
19 | Content-Type: image/jpeg
20 | Content-Transfer-Encoding: binary
21 |
22 | contents
23 | --BbC04y--
24 | --AaB03x--
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/nested-full/part1:
--------------------------------------------------------------------------------
1 | bar
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/nested-full/part1.header:
--------------------------------------------------------------------------------
1 | {"content-disposition": ["form-data; name=\"foo\""]}
2 |
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/nested-full/part2:
--------------------------------------------------------------------------------
1 | --BbC04y
2 | Content-Disposition: attachment; filename="file.txt"
3 | Content-Type: text/plain
4 |
5 | contents
6 | --BbC04y
7 | Content-Disposition: attachment; filename="flowers.jpg"
8 | Content-Type: image/jpeg
9 | Content-Transfer-Encoding: binary
10 |
11 | contents
12 | --BbC04y--
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/nested-full/part2.header:
--------------------------------------------------------------------------------
1 | {"content-disposition": ["form-data; name=\"files\""],
2 | "content-type": ["multipart/mixed, boundary=BbC04y"]}
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/nested-full/preamble.header:
--------------------------------------------------------------------------------
1 | {"user-agent": ["foo bar baz"],
2 | "content-type": ["multipart/form-data; boundary=AaB03x"]}
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/nested/original:
--------------------------------------------------------------------------------
1 | --AaB03x
2 | Content-Disposition: form-data; name="foo"
3 |
4 | bar
5 | --AaB03x
6 | Content-Disposition: form-data; name="files"
7 | Content-Type: multipart/mixed, boundary=BbC04y
8 |
9 | --BbC04y
10 | Content-Disposition: attachment; filename="file.txt"
11 | Content-Type: text/plain
12 |
13 | contents
14 | --BbC04y
15 | Content-Disposition: attachment; filename="flowers.jpg"
16 | Content-Type: image/jpeg
17 | Content-Transfer-Encoding: binary
18 |
19 | contents
20 | --BbC04y--
21 | --AaB03x--
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/nested/part1:
--------------------------------------------------------------------------------
1 | bar
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/nested/part1.header:
--------------------------------------------------------------------------------
1 | {"content-disposition": ["form-data; name=\"foo\""]}
2 |
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/nested/part2:
--------------------------------------------------------------------------------
1 | --BbC04y
2 | Content-Disposition: attachment; filename="file.txt"
3 | Content-Type: text/plain
4 |
5 | contents
6 | --BbC04y
7 | Content-Disposition: attachment; filename="flowers.jpg"
8 | Content-Type: image/jpeg
9 | Content-Transfer-Encoding: binary
10 |
11 | contents
12 | --BbC04y--
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/fixtures/nested/part2.header:
--------------------------------------------------------------------------------
1 | {"content-disposition": ["form-data; name=\"files\""],
2 | "content-type": ["multipart/mixed, boundary=BbC04y"]}
--------------------------------------------------------------------------------
/server/node_modules/dicer/test/test.js:
--------------------------------------------------------------------------------
1 | require('fs').readdirSync(__dirname).forEach(function(f) {
2 | if (f.substr(0, 5) === 'test-')
3 | require('./' + f);
4 | });
--------------------------------------------------------------------------------
/server/node_modules/dotenv/config.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/ecdsa-sig-formatter/CODEOWNERS:
--------------------------------------------------------------------------------
1 | * @omsmith
2 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/function-bind/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: [ljharb]
4 | patreon: # Replace with a single Patreon username
5 | open_collective: # Replace with a single Open Collective username
6 | ko_fi: # Replace with a single Ko-fi username
7 | tidelift: npm/function-bind
8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9 | liberapay: # Replace with a single Liberapay username
10 | issuehunt: # Replace with a single IssueHunt username
11 | otechie: # Replace with a single Otechie username
12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
13 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/function-bind/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var implementation = require('./implementation');
4 |
5 | module.exports = Function.prototype.bind || implementation;
6 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/get-intrinsic/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: [ljharb]
4 | patreon: # Replace with a single Patreon username
5 | open_collective: # Replace with a single Open Collective username
6 | ko_fi: # Replace with a single Ko-fi username
7 | tidelift: npm/get-intrinsic
8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9 | liberapay: # Replace with a single Liberapay username
10 | issuehunt: # Replace with a single IssueHunt username
11 | otechie: # Replace with a single Otechie username
12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
13 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/gopd/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: [ljharb]
4 | patreon: # Replace with a single Patreon username
5 | open_collective: # Replace with a single Open Collective username
6 | ko_fi: # Replace with a single Ko-fi username
7 | tidelift: npm/gopd
8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9 | liberapay: # Replace with a single Liberapay username
10 | issuehunt: # Replace with a single IssueHunt username
11 | otechie: # Replace with a single Otechie username
12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
13 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/has-own-prop/index.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | Shortcut for `Object.prototype.hasOwnProperty.call(object, property)`.
3 |
4 | @example
5 | ```
6 | import hasOwnProp = require('has-own-prop');
7 |
8 | hasOwnProp({}, 'hello');
9 | //=> false
10 |
11 | hasOwnProp([1, 2, 3], 0);
12 | //=> true
13 | ```
14 | */
15 | declare function hasOwnProp(object: unknown, key: string | number | symbol): boolean;
16 |
17 | export = hasOwnProp;
18 |
--------------------------------------------------------------------------------
/server/node_modules/has-own-prop/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | const hasOwnProp = Object.prototype.hasOwnProperty;
3 |
4 | module.exports = (object, property) => hasOwnProp.call(object, property);
5 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/has-proto/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 | }
6 |
--------------------------------------------------------------------------------
/server/node_modules/has-proto/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: [ljharb]
4 | patreon: # Replace with a single Patreon username
5 | open_collective: # Replace with a single Open Collective username
6 | ko_fi: # Replace with a single Ko-fi username
7 | tidelift: npm/has-proto
8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9 | liberapay: # Replace with a single Liberapay username
10 | issuehunt: # Replace with a single IssueHunt username
11 | otechie: # Replace with a single Otechie username
12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
13 |
--------------------------------------------------------------------------------
/server/node_modules/has-proto/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var test = {
4 | foo: {}
5 | };
6 |
7 | var $Object = Object;
8 |
9 | module.exports = function hasProto() {
10 | return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
11 | };
12 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/has-symbols/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: [ljharb]
4 | patreon: # Replace with a single Patreon username
5 | open_collective: # Replace with a single Open Collective username
6 | ko_fi: # Replace with a single Ko-fi username
7 | tidelift: npm/has-symbols
8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9 | liberapay: # Replace with a single Liberapay username
10 | issuehunt: # Replace with a single IssueHunt username
11 | otechie: # Replace with a single Otechie username
12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
13 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/hasown/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 | }
6 |
--------------------------------------------------------------------------------
/server/node_modules/hasown/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: [ljharb]
4 | patreon: # Replace with a single Patreon username
5 | open_collective: # Replace with a single Open Collective username
6 | ko_fi: # Replace with a single Ko-fi username
7 | tidelift: npm/hasown
8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9 | liberapay: # Replace with a single Liberapay username
10 | issuehunt: # Replace with a single IssueHunt username
11 | otechie: # Replace with a single Otechie username
12 | custom: # Replace with a single custom sponsorship URL
13 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/hasown/index.d.ts:
--------------------------------------------------------------------------------
1 | declare const _exports: (o: {}, p: PropertyKey) => p is never;
2 | export = _exports;
3 | //# sourceMappingURL=index.d.ts.map
--------------------------------------------------------------------------------
/server/node_modules/hasown/index.d.ts.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":"4BAMe,EAAE,KAAK,WAAW"}
--------------------------------------------------------------------------------
/server/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 {(o: {}, p: PropertyKey) => p is keyof o} */
8 | module.exports = bind.call(call, $hasOwn);
9 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/is-generator/.npmignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules
3 | coverage
4 |
--------------------------------------------------------------------------------
/server/node_modules/is-generator/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 |
3 | notifications:
4 | email:
5 | on_success: never
6 | on_failure: change
7 |
8 | node_js:
9 | - "0.11"
10 | - "0.12"
11 | - "iojs"
12 |
13 | after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
14 |
--------------------------------------------------------------------------------
/server/node_modules/is-promise/index.d.ts:
--------------------------------------------------------------------------------
1 | declare function isPromise(obj: PromiseLike | S): obj is PromiseLike;
2 | export default isPromise;
3 |
--------------------------------------------------------------------------------
/server/node_modules/is-promise/index.js:
--------------------------------------------------------------------------------
1 | module.exports = isPromise;
2 | module.exports.default = isPromise;
3 |
4 | function isPromise(obj) {
5 | return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
6 | }
7 |
--------------------------------------------------------------------------------
/server/node_modules/is-promise/index.mjs:
--------------------------------------------------------------------------------
1 | export default function isPromise(obj) {
2 | return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
3 | }
4 |
--------------------------------------------------------------------------------
/server/node_modules/isarray/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name" : "isarray",
3 | "description" : "Array#isArray for older browsers",
4 | "version" : "0.0.1",
5 | "repository" : "juliangruber/isarray",
6 | "homepage": "https://github.com/juliangruber/isarray",
7 | "main" : "index.js",
8 | "scripts" : [
9 | "index.js"
10 | ],
11 | "dependencies" : {},
12 | "keywords": ["browser","isarray","array"],
13 | "author": {
14 | "name": "Julian Gruber",
15 | "email": "mail@juliangruber.com",
16 | "url": "http://juliangruber.com"
17 | },
18 | "license": "MIT"
19 | }
20 |
--------------------------------------------------------------------------------
/server/node_modules/isarray/index.js:
--------------------------------------------------------------------------------
1 | module.exports = Array.isArray || function (arr) {
2 | return Object.prototype.toString.call(arr) == '[object Array]';
3 | };
4 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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;
--------------------------------------------------------------------------------
/server/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;
--------------------------------------------------------------------------------
/server/node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js:
--------------------------------------------------------------------------------
1 | const semver = require('semver');
2 |
3 | module.exports = semver.satisfies(process.version, '>=15.7.0');
4 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js:
--------------------------------------------------------------------------------
1 | const semver = require('semver');
2 |
3 | module.exports = semver.satisfies(process.version, '>=16.9.0');
4 |
--------------------------------------------------------------------------------
/server/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 | };
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/memory-pager/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - '4'
4 | - '6'
5 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/mime/.npmignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/node_modules/mime/.npmignore
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/minimist/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb/eslint-config/node/0.4",
5 |
6 | "rules": {
7 | "array-element-newline": 0,
8 | "complexity": 0,
9 | "func-style": [2, "declaration"],
10 | "max-lines-per-function": 0,
11 | "max-nested-callbacks": 1,
12 | "max-statements-per-line": 1,
13 | "max-statements": 0,
14 | "multiline-comment-style": 0,
15 | "no-continue": 1,
16 | "no-param-reassign": 1,
17 | "no-restricted-syntax": 1,
18 | "object-curly-newline": 0,
19 | },
20 |
21 | "overrides": [
22 | {
23 | "files": "test/**",
24 | "rules": {
25 | "camelcase": 0,
26 | },
27 | },
28 | ]
29 | }
30 |
--------------------------------------------------------------------------------
/server/node_modules/minimist/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: [ljharb]
4 | patreon: # Replace with a single Patreon username
5 | open_collective: # Replace with a single Open Collective username
6 | ko_fi: # Replace with a single Ko-fi username
7 | tidelift: npm/minimist
8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9 | liberapay: # Replace with a single Liberapay username
10 | issuehunt: # Replace with a single IssueHunt username
11 | otechie: # Replace with a single Otechie username
12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
13 |
--------------------------------------------------------------------------------
/server/node_modules/minimist/.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 | "example",
12 | "test"
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/server/node_modules/minimist/example/parse.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var argv = require('../')(process.argv.slice(2));
4 | console.log(argv);
5 |
--------------------------------------------------------------------------------
/server/node_modules/minimist/test/parse_modified.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var parse = require('../');
4 | var test = require('tape');
5 |
6 | test('parse with modifier functions', function (t) {
7 | t.plan(1);
8 |
9 | var argv = parse(['-b', '123'], { boolean: 'b' });
10 | t.deepEqual(argv, { b: true, _: [123] });
11 | });
12 |
--------------------------------------------------------------------------------
/server/node_modules/minimist/test/stop_early.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var parse = require('../');
4 | var test = require('tape');
5 |
6 | test('stops parsing on the first non-option when stopEarly is set', function (t) {
7 | var argv = parse(['--aaa', 'bbb', 'ccc', '--ddd'], {
8 | stopEarly: true,
9 | });
10 |
11 | t.deepEqual(argv, {
12 | aaa: 'bbb',
13 | _: ['ccc', '--ddd'],
14 | });
15 |
16 | t.end();
17 | });
18 |
--------------------------------------------------------------------------------
/server/node_modules/minimist/test/whitespace.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var parse = require('../');
4 | var test = require('tape');
5 |
6 | test('whitespace should be whitespace', function (t) {
7 | t.plan(1);
8 | var x = parse(['-x', '\t']).x;
9 | t.equal(x, '\t');
10 | });
11 |
--------------------------------------------------------------------------------
/server/node_modules/mkdirp/bin/usage.txt:
--------------------------------------------------------------------------------
1 | usage: mkdirp [DIR1,DIR2..] {OPTIONS}
2 |
3 | Create each supplied directory including any necessary parent directories that
4 | don't yet exist.
5 |
6 | If the directory already exists, do nothing.
7 |
8 | OPTIONS are:
9 |
10 | -m, --mode If a directory needs to be created, set the mode as an octal
11 | permission string.
12 |
13 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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"}
--------------------------------------------------------------------------------
/server/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"}
--------------------------------------------------------------------------------
/server/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/aws_service_workflow.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"aws_service_workflow.js","sourceRoot":"","sources":["../../../../src/cmap/auth/mongodb_oidc/aws_service_workflow.ts"],"names":[],"mappings":";;;AAAA,yBAAyB;AAEzB,0CAA+C;AAC/C,yDAAqD;AAErD,8DAA8D;AAC9D,MAAM,mBAAmB,GAAG,6DAA6D,CAAC;AAE1F;;;;GAIG;AACH,MAAa,kBAAmB,SAAQ,kCAAe;IACrD;QACE,KAAK,EAAE,CAAC;IACV,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,QAAQ;QACZ,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;QAC1D,IAAI,CAAC,SAAS,EAAE;YACd,MAAM,IAAI,qBAAa,CAAC,mBAAmB,CAAC,CAAC;SAC9C;QACD,OAAO,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;IACjD,CAAC;CACF;AAfD,gDAeC"}
--------------------------------------------------------------------------------
/server/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"}
--------------------------------------------------------------------------------
/server/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"}
--------------------------------------------------------------------------------
/server/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"}
--------------------------------------------------------------------------------
/server/node_modules/mongodb/lib/mongo_types.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"mongo_types.js","sourceRoot":"","sources":["../src/mongo_types.ts"],"names":[],"mappings":";;;AACA,mCAAsC;AA2YtC;;;GAGG;AAEH,MAAa,iBAAoD,SAAQ,qBAAY;IAKnF,gBAAgB;IACN,UAAU,CAClB,KAAwB,EACxB,GAAG,IAAkC;QAErC,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,CAAC;QAC1B,IAAI,IAAI,CAAC,SAAS;YAAE,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IACvE,CAAC;CACF;AAbD,8CAaC;AAED,cAAc;AACd,MAAa,iBAAkB,SAAQ,iBAAqC;CAAG;AAA/E,8CAA+E"}
--------------------------------------------------------------------------------
/server/node_modules/mongodb/lib/operations/remove_user.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"remove_user.js","sourceRoot":"","sources":["../../src/operations/remove_user.ts"],"names":[],"mappings":";;;AAGA,uCAA2E;AAC3E,2CAAoD;AAKpD,gBAAgB;AAChB,MAAa,mBAAoB,SAAQ,0BAAyB;IAIhE,YAAY,EAAM,EAAE,QAAgB,EAAE,OAA0B;QAC9D,KAAK,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;QACnB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;IAEQ,KAAK,CAAC,OAAO,CAAC,MAAc,EAAE,OAAkC;QACvE,MAAM,KAAK,CAAC,cAAc,CAAC,MAAM,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;QACzE,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAdD,kDAcC;AAED,IAAA,yBAAa,EAAC,mBAAmB,EAAE,CAAC,kBAAM,CAAC,eAAe,CAAC,CAAC,CAAC"}
--------------------------------------------------------------------------------
/server/node_modules/mongodb/src/client-side-encryption/providers/gcp.ts:
--------------------------------------------------------------------------------
1 | import { getGcpMetadata } from '../../deps';
2 | import { type KMSProviders } from '.';
3 |
4 | /** @internal */
5 | export async function loadGCPCredentials(kmsProviders: KMSProviders): Promise {
6 | const gcpMetadata = getGcpMetadata();
7 |
8 | if ('kModuleError' in gcpMetadata) {
9 | return kmsProviders;
10 | }
11 |
12 | const { access_token: accessToken } = await gcpMetadata.instance<{ access_token: string }>({
13 | property: 'service-accounts/default/token'
14 | });
15 | return { ...kmsProviders, gcp: { accessToken } };
16 | }
17 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/mongoose/browser.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Export lib/mongoose
3 | *
4 | */
5 |
6 | 'use strict';
7 |
8 | module.exports = require('./lib/browser');
9 |
--------------------------------------------------------------------------------
/server/node_modules/mongoose/lib/documentProvider.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | /* eslint-env browser */
4 |
5 | /*!
6 | * Module dependencies.
7 | */
8 | const Document = require('./document.js');
9 | const BrowserDocument = require('./browserDocument.js');
10 |
11 | let isBrowser = false;
12 |
13 | /**
14 | * Returns the Document constructor for the current context
15 | *
16 | * @api private
17 | */
18 | module.exports = function documentProvider() {
19 | if (isBrowser) {
20 | return BrowserDocument;
21 | }
22 | return Document;
23 | };
24 |
25 | /*!
26 | * ignore
27 | */
28 | module.exports.setBrowser = function(flag) {
29 | isBrowser = flag;
30 | };
31 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/mongoose/lib/drivers/SPEC.md:
--------------------------------------------------------------------------------
1 |
2 | # Driver Spec
3 |
4 | TODO
5 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/mongoose/lib/drivers/browser/decimal128.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * ignore
3 | */
4 |
5 | 'use strict';
6 |
7 | module.exports = require('bson').Decimal128;
8 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/mongoose/lib/drivers/browser/objectid.js:
--------------------------------------------------------------------------------
1 |
2 | /*!
3 | * [node-mongodb-native](https://github.com/mongodb/node-mongodb-native) ObjectId
4 | * @constructor NodeMongoDbObjectId
5 | * @see ObjectId
6 | */
7 |
8 | 'use strict';
9 |
10 | const ObjectId = require('bson').ObjectID;
11 |
12 | /**
13 | * Getter for convenience with populate, see gh-6115
14 | * @api private
15 | */
16 |
17 | Object.defineProperty(ObjectId.prototype, '_id', {
18 | enumerable: false,
19 | configurable: true,
20 | get: function() {
21 | return this;
22 | }
23 | });
24 |
25 | /*!
26 | * ignore
27 | */
28 |
29 | module.exports = exports = ObjectId;
30 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/mongoose/lib/error/browserMissingSchema.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Module dependencies.
3 | */
4 |
5 | 'use strict';
6 |
7 | const MongooseError = require('./');
8 |
9 |
10 | class MissingSchemaError extends MongooseError {
11 | /**
12 | * MissingSchema Error constructor.
13 | */
14 | constructor() {
15 | super('Schema hasn\'t been registered for document.\n'
16 | + 'Use mongoose.Document(name, schema)');
17 | }
18 | }
19 |
20 | Object.defineProperty(MissingSchemaError.prototype, 'name', {
21 | value: 'MongooseError'
22 | });
23 |
24 | /*!
25 | * exports
26 | */
27 |
28 | module.exports = MissingSchemaError;
29 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/mongoose/lib/error/overwriteModel.js:
--------------------------------------------------------------------------------
1 |
2 | /*!
3 | * Module dependencies.
4 | */
5 |
6 | 'use strict';
7 |
8 | const MongooseError = require('./');
9 |
10 |
11 | class OverwriteModelError extends MongooseError {
12 | /**
13 | * OverwriteModel Error constructor.
14 | * @param {String} name
15 | * @api private
16 | */
17 | constructor(name) {
18 | super('Cannot overwrite `' + name + '` model once compiled.');
19 | }
20 | }
21 |
22 | Object.defineProperty(OverwriteModelError.prototype, 'name', {
23 | value: 'OverwriteModelError'
24 | });
25 |
26 | /*!
27 | * exports
28 | */
29 |
30 | module.exports = OverwriteModelError;
31 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/mongoose/lib/helpers/discriminator/checkEmbeddedDiscriminatorKeyProjection.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | module.exports = function checkEmbeddedDiscriminatorKeyProjection(userProjection, path, schema, selected, addedPaths) {
4 | const userProjectedInPath = Object.keys(userProjection).
5 | reduce((cur, key) => cur || key.startsWith(path + '.'), false);
6 | const _discriminatorKey = path + '.' + schema.options.discriminatorKey;
7 | if (!userProjectedInPath &&
8 | addedPaths.length === 1 &&
9 | addedPaths[0] === _discriminatorKey) {
10 | selected.splice(selected.indexOf(_discriminatorKey), 1);
11 | }
12 | };
13 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/mongoose/lib/helpers/populate/leanPopulateMap.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | /*!
4 | * ignore
5 | */
6 |
7 | module.exports = new WeakMap();
8 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/mongoose/lib/helpers/query/validOps.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | module.exports = Object.freeze([
4 | // Read
5 | 'countDocuments',
6 | 'distinct',
7 | 'estimatedDocumentCount',
8 | 'find',
9 | 'findOne',
10 | // Update
11 | 'findOneAndReplace',
12 | 'findOneAndUpdate',
13 | 'replaceOne',
14 | 'updateMany',
15 | 'updateOne',
16 | // Delete
17 | 'deleteMany',
18 | 'deleteOne',
19 | 'findOneAndDelete'
20 | ]);
21 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/mongoose/lib/helpers/specialProperties.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | module.exports = new Set(['__proto__', 'constructor', 'prototype']);
4 |
--------------------------------------------------------------------------------
/server/node_modules/mongoose/lib/helpers/timers.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | exports.setTimeout = setTimeout;
4 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 | };
16 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/mpath/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | module.exports = exports = require('./lib');
4 |
--------------------------------------------------------------------------------
/server/node_modules/mpath/test/.eslintrc.yml:
--------------------------------------------------------------------------------
1 | env:
2 | mocha: true
3 | rules:
4 | no-unused-vars: off
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/mquery/.github/PULL_REQUEST_TEMPLATE.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | **Summary**
4 |
5 |
6 |
7 | **Examples**
8 |
9 |
10 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/mquery/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 |
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/index.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Module entry point
3 | * @module multer-gridfs-storage
4 | */
5 | export * from './cache';
6 | export * from './types';
7 | export declare const GridFsStorage: typeof import("./gridfs").GridFsStorage;
8 |
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/index.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;AAEH,qCAA0C;AAE1C,0CAAwB;AACxB,0CAAwB;AACX,QAAA,aAAa,GAAG,yBAAgB,CAAC"}
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/cache-index.d.ts:
--------------------------------------------------------------------------------
1 | export interface CacheIndex {
2 | name: string;
3 | url: string;
4 | index: number;
5 | }
6 |
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/cache-index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | //# sourceMappingURL=cache-index.js.map
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/cache-index.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"cache-index.js","sourceRoot":"","sources":["../../src/types/cache-index.ts"],"names":[],"mappings":""}
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/cache-value.d.ts:
--------------------------------------------------------------------------------
1 | export interface CacheValue {
2 | db: any;
3 | client: any;
4 | pending: boolean;
5 | opening: boolean;
6 | init: any;
7 | }
8 |
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/cache-value.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | //# sourceMappingURL=cache-value.js.map
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/cache-value.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"cache-value.js","sourceRoot":"","sources":["../../src/types/cache-value.ts"],"names":[],"mappings":""}
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/comparator-result.d.ts:
--------------------------------------------------------------------------------
1 | export declare type ComparatorResult = 'object' | 'array' | 'buffer' | 'identity';
2 |
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/comparator-result.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | //# sourceMappingURL=comparator-result.js.map
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/comparator-result.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"comparator-result.js","sourceRoot":"","sources":["../../src/types/comparator-result.ts"],"names":[],"mappings":""}
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/connection-result.d.ts:
--------------------------------------------------------------------------------
1 | import { Db, MongoClient } from 'mongodb';
2 | export interface ConnectionResult {
3 | db: Db;
4 | client?: MongoClient;
5 | }
6 |
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/connection-result.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | //# sourceMappingURL=connection-result.js.map
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/connection-result.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"connection-result.js","sourceRoot":"","sources":["../../src/types/connection-result.ts"],"names":[],"mappings":""}
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/db-storage-options.d.ts:
--------------------------------------------------------------------------------
1 | import { MongoClient } from 'mongodb';
2 | import { MulterGfsOptions } from './multer-gfs-options';
3 | import { DbTypes } from './db-types';
4 | export interface DbStorageOptions extends MulterGfsOptions {
5 | db: T | Promise;
6 | client?: MongoClient;
7 | }
8 |
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/db-storage-options.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | //# sourceMappingURL=db-storage-options.js.map
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/db-storage-options.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"db-storage-options.js","sourceRoot":"","sources":["../../src/types/db-storage-options.ts"],"names":[],"mappings":""}
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/db-types.d.ts:
--------------------------------------------------------------------------------
1 | import { Db } from 'mongodb';
2 | export interface MongooseConnectionInstance {
3 | db: Db;
4 | }
5 | export interface MongooseInstance {
6 | connection: MongooseConnectionInstance;
7 | }
8 | export declare type DbTypes = MongooseInstance | MongooseConnectionInstance | Db;
9 |
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/db-types.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | //# sourceMappingURL=db-types.js.map
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/db-types.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"db-types.js","sourceRoot":"","sources":["../../src/types/db-types.ts"],"names":[],"mappings":""}
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/grid-file.d.ts:
--------------------------------------------------------------------------------
1 | export interface GridFile {
2 | id: any;
3 | filename: string;
4 | metadata: any;
5 | contentType: string;
6 | chunkSize: number;
7 | bucketName: string;
8 | uploadDate: Date;
9 | md5: string;
10 | size: number;
11 | }
12 |
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/grid-file.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | //# sourceMappingURL=grid-file.js.map
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/grid-file.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"grid-file.js","sourceRoot":"","sources":["../../src/types/grid-file.ts"],"names":[],"mappings":""}
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/index.d.ts:
--------------------------------------------------------------------------------
1 | export * from './cache-index';
2 | export * from './cache-value';
3 | export * from './comparator-result';
4 | export * from './connection-result';
5 | export * from './db-storage-options';
6 | export * from './db-types';
7 | export * from './grid-file';
8 | export * from './multer-gfs-options';
9 | export * from './node-callback';
10 | export * from './url-storage-options';
11 |
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/index.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gDAA8B;AAC9B,gDAA8B;AAC9B,sDAAoC;AACpC,sDAAoC;AACpC,uDAAqC;AACrC,6CAA2B;AAC3B,8CAA4B;AAC5B,uDAAqC;AACrC,kDAAgC;AAChC,wDAAsC"}
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/multer-gfs-options.d.ts:
--------------------------------------------------------------------------------
1 | import { Request } from 'express';
2 | export interface MulterGfsOptions {
3 | file?: (request: Request, file: any) => any;
4 | }
5 |
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/multer-gfs-options.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | //# sourceMappingURL=multer-gfs-options.js.map
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/multer-gfs-options.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"multer-gfs-options.js","sourceRoot":"","sources":["../../src/types/multer-gfs-options.ts"],"names":[],"mappings":""}
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/node-callback.d.ts:
--------------------------------------------------------------------------------
1 | export interface NodeCallback {
2 | (error: E, result?: undefined | null): void;
3 | (error: undefined | null, result: T): void;
4 | }
5 |
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/node-callback.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | //# sourceMappingURL=node-callback.js.map
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/node-callback.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"node-callback.js","sourceRoot":"","sources":["../../src/types/node-callback.ts"],"names":[],"mappings":""}
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/url-storage-options.d.ts:
--------------------------------------------------------------------------------
1 | import { MulterGfsOptions } from './multer-gfs-options';
2 | export interface UrlStorageOptions extends MulterGfsOptions {
3 | url: string;
4 | options?: any;
5 | cache?: boolean | string;
6 | }
7 |
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/url-storage-options.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | //# sourceMappingURL=url-storage-options.js.map
--------------------------------------------------------------------------------
/server/node_modules/multer-gridfs-storage/lib/types/url-storage-options.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"url-storage-options.js","sourceRoot":"","sources":["../../src/types/url-storage-options.ts"],"names":[],"mappings":""}
--------------------------------------------------------------------------------
/server/node_modules/multer/storage/memory.js:
--------------------------------------------------------------------------------
1 | var concat = require('concat-stream')
2 |
3 | function MemoryStorage (opts) {}
4 |
5 | MemoryStorage.prototype._handleFile = function _handleFile (req, file, cb) {
6 | file.stream.pipe(concat({ encoding: 'buffer' }, function (data) {
7 | cb(null, {
8 | buffer: data,
9 | size: data.length
10 | })
11 | }))
12 | }
13 |
14 | MemoryStorage.prototype._removeFile = function _removeFile (req, file, cb) {
15 | delete file.buffer
16 | cb(null)
17 | }
18 |
19 | module.exports = function (opts) {
20 | return new MemoryStorage(opts)
21 | }
22 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/object-inspect/util.inspect.js:
--------------------------------------------------------------------------------
1 | module.exports = require('util').inspect;
2 |
--------------------------------------------------------------------------------
/server/node_modules/process-nextick-args/readme.md:
--------------------------------------------------------------------------------
1 | process-nextick-args
2 | =====
3 |
4 | [](https://travis-ci.org/calvinmetcalf/process-nextick-args)
5 |
6 | ```bash
7 | npm install --save process-nextick-args
8 | ```
9 |
10 | Always be able to pass arguments to process.nextTick, no matter the platform
11 |
12 | ```js
13 | var pna = require('process-nextick-args');
14 |
15 | pna.nextTick(function (a, b, c) {
16 | console.log(a, b, c);
17 | }, 'step', 3, 'profit');
18 | ```
19 |
--------------------------------------------------------------------------------
/server/node_modules/pump/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.10"
4 |
5 | script: "npm test"
6 |
--------------------------------------------------------------------------------
/server/node_modules/pump/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "pump",
3 | "version": "3.0.0",
4 | "repository": "git://github.com/mafintosh/pump.git",
5 | "license": "MIT",
6 | "description": "pipe streams together and close all of them if one of them closes",
7 | "browser": {
8 | "fs": false
9 | },
10 | "keywords": [
11 | "streams",
12 | "pipe",
13 | "destroy",
14 | "callback"
15 | ],
16 | "author": "Mathias Buus Madsen ",
17 | "dependencies": {
18 | "end-of-stream": "^1.1.0",
19 | "once": "^1.3.1"
20 | },
21 | "scripts": {
22 | "test": "node test-browser.js && node test-node.js"
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/server/node_modules/qs/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: [ljharb]
4 | patreon: # Replace with a single Patreon username
5 | open_collective: # Replace with a single Open Collective username
6 | ko_fi: # Replace with a single Ko-fi username
7 | tidelift: npm/qs
8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9 | liberapay: # Replace with a single Liberapay username
10 | issuehunt: # Replace with a single IssueHunt username
11 | otechie: # Replace with a single Otechie username
12 | custom: # Replace with a single custom sponsorship URL
13 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/readable-stream/.npmignore:
--------------------------------------------------------------------------------
1 | build/
2 | test/
3 | examples/
4 | fs.js
5 | zlib.js
--------------------------------------------------------------------------------
/server/node_modules/readable-stream/duplex.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_duplex.js")
2 |
--------------------------------------------------------------------------------
/server/node_modules/readable-stream/passthrough.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_passthrough.js")
2 |
--------------------------------------------------------------------------------
/server/node_modules/readable-stream/readable.js:
--------------------------------------------------------------------------------
1 | exports = module.exports = require('./lib/_stream_readable.js');
2 | exports.Stream = require('stream');
3 | exports.Readable = exports;
4 | exports.Writable = require('./lib/_stream_writable.js');
5 | exports.Duplex = require('./lib/_stream_duplex.js');
6 | exports.Transform = require('./lib/_stream_transform.js');
7 | exports.PassThrough = require('./lib/_stream_passthrough.js');
8 | if (!process.browser && process.env.READABLE_STREAM === 'disable') {
9 | module.exports = require('stream');
10 | }
11 |
--------------------------------------------------------------------------------
/server/node_modules/readable-stream/transform.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_transform.js")
2 |
--------------------------------------------------------------------------------
/server/node_modules/readable-stream/writable.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_writable.js")
2 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/semver/preload.js:
--------------------------------------------------------------------------------
1 | // XXX remove in v8 or beyond
2 | module.exports = require('./index.js')
3 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/set-function-length/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: [ljharb]
4 | patreon: # Replace with a single Patreon username
5 | open_collective: # Replace with a single Open Collective username
6 | ko_fi: # Replace with a single Ko-fi username
7 | tidelift: npm/set-function-name
8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9 | liberapay: # Replace with a single Liberapay username
10 | issuehunt: # Replace with a single IssueHunt username
11 | otechie: # Replace with a single Otechie username
12 | custom: # Replace with a single custom sponsorship URL
13 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/setprototypeof/index.d.ts:
--------------------------------------------------------------------------------
1 | declare function setPrototypeOf(o: any, proto: object | null): any;
2 | export = setPrototypeOf;
3 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/side-channel/.eslintignore:
--------------------------------------------------------------------------------
1 | coverage/
2 |
--------------------------------------------------------------------------------
/server/node_modules/side-channel/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 |
6 | "rules": {
7 | "max-lines-per-function": 0,
8 | "max-params": 0,
9 | "new-cap": [2, { "capIsNewExceptions": ["GetIntrinsic"] }],
10 | },
11 | }
12 |
--------------------------------------------------------------------------------
/server/node_modules/side-channel/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: [ljharb]
4 | patreon: # Replace with a single Patreon username
5 | open_collective: # Replace with a single Open Collective username
6 | ko_fi: # Replace with a single Ko-fi username
7 | tidelift: npm/side-channel
8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9 | liberapay: # Replace with a single Liberapay username
10 | issuehunt: # Replace with a single IssueHunt username
11 | otechie: # Replace with a single Otechie username
12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
13 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/sift/index.d.ts:
--------------------------------------------------------------------------------
1 | import sift from "./lib";
2 |
3 | export default sift;
4 | export * from "./lib";
5 |
--------------------------------------------------------------------------------
/server/node_modules/sift/index.js:
--------------------------------------------------------------------------------
1 | const lib = require("./lib");
2 |
3 | module.exports = lib.default;
4 | Object.assign(module.exports, lib);
5 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/sparse-bitfield/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/streamsearch/package.json:
--------------------------------------------------------------------------------
1 | { "name": "streamsearch",
2 | "version": "0.1.2",
3 | "author": "Brian White ",
4 | "description": "Streaming Boyer-Moore-Horspool searching for node.js",
5 | "main": "./lib/sbmh",
6 | "engines": { "node" : ">=0.8.0" },
7 | "keywords": [ "stream", "horspool", "boyer-moore-horspool", "boyer-moore", "search" ],
8 | "licenses": [ { "type": "MIT", "url": "http://github.com/mscdex/streamsearch/raw/master/LICENSE" } ],
9 | "repository": { "type": "git", "url": "http://github.com/mscdex/streamsearch.git" }
10 | }
--------------------------------------------------------------------------------
/server/node_modules/string_decoder/.npmignore:
--------------------------------------------------------------------------------
1 | build
2 | test
3 |
--------------------------------------------------------------------------------
/server/node_modules/string_decoder/README.md:
--------------------------------------------------------------------------------
1 | **string_decoder.js** (`require('string_decoder')`) from Node.js core
2 |
3 | Copyright Joyent, Inc. and other Node contributors. See LICENCE file for details.
4 |
5 | Version numbers match the versions found in Node core, e.g. 0.10.24 matches Node 0.10.24, likewise 0.11.10 matches Node 0.11.10. **Prefer the stable version over the unstable.**
6 |
7 | The *build/* directory contains a build script that will scrape the source from the [joyent/node](https://github.com/joyent/node) repo given a specific Node version.
--------------------------------------------------------------------------------
/server/node_modules/string_decoder/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "string_decoder",
3 | "version": "0.10.31",
4 | "description": "The string_decoder module from Node core",
5 | "main": "index.js",
6 | "dependencies": {},
7 | "devDependencies": {
8 | "tap": "~0.4.8"
9 | },
10 | "scripts": {
11 | "test": "tap test/simple/*.js"
12 | },
13 | "repository": {
14 | "type": "git",
15 | "url": "git://github.com/rvagg/string_decoder.git"
16 | },
17 | "homepage": "https://github.com/rvagg/string_decoder",
18 | "keywords": [
19 | "string",
20 | "decoder",
21 | "browser",
22 | "browserify"
23 | ],
24 | "license": "MIT"
25 | }
26 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/typedarray/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.8"
4 | - "0.10"
5 |
--------------------------------------------------------------------------------
/server/node_modules/typedarray/example/tarray.js:
--------------------------------------------------------------------------------
1 | var Uint8Array = require('../').Uint8Array;
2 | var ua = new Uint8Array(5);
3 | ua[1] = 256 + 55;
4 | console.log(ua[1]);
5 |
--------------------------------------------------------------------------------
/server/node_modules/typedarray/test/server/undef_globals.js:
--------------------------------------------------------------------------------
1 | var test = require('tape');
2 | var vm = require('vm');
3 | var fs = require('fs');
4 | var src = fs.readFileSync(__dirname + '/../../index.js', 'utf8');
5 |
6 | test('u8a without globals', function (t) {
7 | var c = {
8 | module: { exports: {} },
9 | };
10 | c.exports = c.module.exports;
11 | vm.runInNewContext(src, c);
12 | var TA = c.module.exports;
13 | var ua = new(TA.Uint8Array)(5);
14 |
15 | t.equal(ua.length, 5);
16 | ua[1] = 256 + 55;
17 | t.equal(ua[1], 55);
18 | t.end();
19 | });
20 |
--------------------------------------------------------------------------------
/server/node_modules/typedarray/test/tarray.js:
--------------------------------------------------------------------------------
1 | var TA = require('../');
2 | var test = require('tape');
3 |
4 | test('tiny u8a test', function (t) {
5 | var ua = new(TA.Uint8Array)(5);
6 | t.equal(ua.length, 5);
7 | ua[1] = 256 + 55;
8 | t.equal(ua[1], 55);
9 | t.end();
10 | });
11 |
--------------------------------------------------------------------------------
/server/node_modules/undici-types/README.md:
--------------------------------------------------------------------------------
1 | # undici-types
2 |
3 | This package is a dual-publish of the [undici](https://www.npmjs.com/package/undici) library types. The `undici` package **still contains types**. This package is for users who _only_ need undici types (such as for `@types/node`). It is published alongside every release of `undici`, so you can always use the same version.
4 |
5 | - [GitHub nodejs/undici](https://github.com/nodejs/undici)
6 | - [Undici Documentation](https://undici.nodejs.org/#/)
7 |
--------------------------------------------------------------------------------
/server/node_modules/undici-types/global-dispatcher.d.ts:
--------------------------------------------------------------------------------
1 | import Dispatcher from "./dispatcher";
2 |
3 | export {
4 | getGlobalDispatcher,
5 | setGlobalDispatcher
6 | }
7 |
8 | declare function setGlobalDispatcher(dispatcher: DispatcherImplementation): void;
9 | declare function getGlobalDispatcher(): Dispatcher;
10 |
--------------------------------------------------------------------------------
/server/node_modules/undici-types/global-origin.d.ts:
--------------------------------------------------------------------------------
1 | export {
2 | setGlobalOrigin,
3 | getGlobalOrigin
4 | }
5 |
6 | declare function setGlobalOrigin(origin: string | URL | undefined): void;
7 | declare function getGlobalOrigin(): URL | undefined;
--------------------------------------------------------------------------------
/server/node_modules/undici-types/handlers.d.ts:
--------------------------------------------------------------------------------
1 | import Dispatcher from "./dispatcher";
2 |
3 | export declare class RedirectHandler implements Dispatcher.DispatchHandlers{
4 | constructor (dispatch: Dispatcher, maxRedirections: number, opts: Dispatcher.DispatchOptions, handler: Dispatcher.DispatchHandlers)
5 | }
6 |
7 | export declare class DecoratorHandler implements Dispatcher.DispatchHandlers{
8 | constructor (handler: Dispatcher.DispatchHandlers)
9 | }
10 |
--------------------------------------------------------------------------------
/server/node_modules/undici-types/header.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * The header type declaration of `undici`.
3 | */
4 | export type IncomingHttpHeaders = Record;
5 |
--------------------------------------------------------------------------------
/server/node_modules/undici-types/interceptors.d.ts:
--------------------------------------------------------------------------------
1 | import Dispatcher from "./dispatcher";
2 |
3 | type RedirectInterceptorOpts = { maxRedirections?: number }
4 |
5 | export declare function createRedirectInterceptor (opts: RedirectInterceptorOpts): Dispatcher.DispatchInterceptor
6 |
--------------------------------------------------------------------------------
/server/node_modules/undici-types/mock-errors.d.ts:
--------------------------------------------------------------------------------
1 | import Errors from './errors'
2 |
3 | export default MockErrors
4 |
5 | declare namespace MockErrors {
6 | /** The request does not match any registered mock dispatches. */
7 | export class MockNotMatchedError extends Errors.UndiciError {
8 | constructor(message?: string);
9 | name: 'MockNotMatchedError';
10 | code: 'UND_MOCK_ERR_MOCK_NOT_MATCHED';
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/server/node_modules/unpipe/HISTORY.md:
--------------------------------------------------------------------------------
1 | 1.0.0 / 2015-06-14
2 | ==================
3 |
4 | * Initial release
5 |
--------------------------------------------------------------------------------
/server/node_modules/util-deprecate/History.md:
--------------------------------------------------------------------------------
1 |
2 | 1.0.2 / 2015-10-07
3 | ==================
4 |
5 | * use try/catch when checking `localStorage` (#3, @kumavis)
6 |
7 | 1.0.1 / 2014-11-25
8 | ==================
9 |
10 | * browser: use `console.warn()` for deprecation calls
11 | * browser: more jsdocs
12 |
13 | 1.0.0 / 2014-04-30
14 | ==================
15 |
16 | * initial commit
17 |
--------------------------------------------------------------------------------
/server/node_modules/util-deprecate/node.js:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * For Node.js, simply re-export the core `util.deprecate` function.
4 | */
5 |
6 | module.exports = require('util').deprecate;
7 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/whatwg-url/lib/infra.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | // Note that we take code points as JS numbers, not JS strings.
4 |
5 | function isASCIIDigit(c) {
6 | return c >= 0x30 && c <= 0x39;
7 | }
8 |
9 | function isASCIIAlpha(c) {
10 | return (c >= 0x41 && c <= 0x5A) || (c >= 0x61 && c <= 0x7A);
11 | }
12 |
13 | function isASCIIAlphanumeric(c) {
14 | return isASCIIAlpha(c) || isASCIIDigit(c);
15 | }
16 |
17 | function isASCIIHex(c) {
18 | return isASCIIDigit(c) || (c >= 0x41 && c <= 0x46) || (c >= 0x61 && c <= 0x66);
19 | }
20 |
21 | module.exports = {
22 | isASCIIDigit,
23 | isASCIIAlpha,
24 | isASCIIAlphanumeric,
25 | isASCIIHex
26 | };
27 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/node_modules/xtend/immutable.js:
--------------------------------------------------------------------------------
1 | module.exports = extend
2 |
3 | var hasOwnProperty = Object.prototype.hasOwnProperty;
4 |
5 | function extend() {
6 | var target = {}
7 |
8 | for (var i = 0; i < arguments.length; i++) {
9 | var source = arguments[i]
10 |
11 | for (var key in source) {
12 | if (hasOwnProperty.call(source, key)) {
13 | target[key] = source[key]
14 | }
15 | }
16 | }
17 |
18 | return target
19 | }
20 |
--------------------------------------------------------------------------------
/server/node_modules/xtend/mutable.js:
--------------------------------------------------------------------------------
1 | module.exports = extend
2 |
3 | var hasOwnProperty = Object.prototype.hasOwnProperty;
4 |
5 | function extend(target) {
6 | for (var i = 1; i < arguments.length; i++) {
7 | var source = arguments[i]
8 |
9 | for (var key in source) {
10 | if (hasOwnProperty.call(source, key)) {
11 | target[key] = source[key]
12 | }
13 | }
14 | }
15 |
16 | return target
17 | }
18 |
--------------------------------------------------------------------------------
/server/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 |
--------------------------------------------------------------------------------
/server/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "dependencies": {
3 | "bcryptjs": "^2.4.3",
4 | "body-parser": "^1.20.2",
5 | "cors": "^2.8.5",
6 | "dotenv": "^16.3.1",
7 | "express": "^4.18.2",
8 | "jsonwebtoken": "^9.0.2",
9 | "mongoose": "^8.0.1",
10 | "multer": "^1.4.4",
11 | "multer-gridfs-storage": "^5.0.2"
12 | },
13 | "name": "server",
14 | "version": "1.0.0",
15 | "main": "index.js",
16 | "devDependencies": {},
17 | "scripts": {
18 | "start": "nodemon index.js"
19 | },
20 | "keywords": [],
21 | "author": "",
22 | "license": "ISC",
23 | "description": ""
24 | }
25 |
--------------------------------------------------------------------------------
/server/public/uploads/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/public/uploads/1.jpg
--------------------------------------------------------------------------------
/server/public/uploads/2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/public/uploads/2.jpg
--------------------------------------------------------------------------------
/server/public/uploads/3.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/public/uploads/3.jpeg
--------------------------------------------------------------------------------
/server/public/uploads/4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/public/uploads/4.jpg
--------------------------------------------------------------------------------
/server/public/uploads/5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/public/uploads/5.jpg
--------------------------------------------------------------------------------
/server/public/uploads/6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/public/uploads/6.jpg
--------------------------------------------------------------------------------
/server/public/uploads/7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/public/uploads/7.jpg
--------------------------------------------------------------------------------
/server/public/uploads/8.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/public/uploads/8.jpg
--------------------------------------------------------------------------------
/server/public/uploads/John Smiths.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/public/uploads/John Smiths.jpg
--------------------------------------------------------------------------------
/server/public/uploads/denny.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/public/uploads/denny.jpeg
--------------------------------------------------------------------------------
/server/public/uploads/windmills_1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/public/uploads/windmills_1.jpg
--------------------------------------------------------------------------------
/server/public/uploads/windmills_2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/public/uploads/windmills_2.jpg
--------------------------------------------------------------------------------
/server/public/uploads/windmills_3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/public/uploads/windmills_3.jpg
--------------------------------------------------------------------------------
/server/public/uploads/windmills_4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/public/uploads/windmills_4.jpg
--------------------------------------------------------------------------------
/server/public/uploads/windmills_5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/public/uploads/windmills_5.jpg
--------------------------------------------------------------------------------
/server/public/uploads/windmills_6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/public/uploads/windmills_6.jpg
--------------------------------------------------------------------------------
/server/public/uploads/windmills_7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phuc-mai/dream_nest/e28680d4c5f18b927fc6ec306c067fd65305775b/server/public/uploads/windmills_7.jpg
--------------------------------------------------------------------------------
/server/routes/booking.js:
--------------------------------------------------------------------------------
1 | const router = require("express").Router()
2 |
3 | const Booking = require("../models/Booking")
4 |
5 | /* CREATE BOOKING */
6 | router.post("/create", async (req, res) => {
7 | try {
8 | const { customerId, hostId, listingId, startDate, endDate, totalPrice } = req.body
9 | const newBooking = new Booking({ customerId, hostId, listingId, startDate, endDate, totalPrice })
10 | await newBooking.save()
11 | res.status(200).json(newBooking)
12 | } catch (err) {
13 | console.log(err)
14 | res.status(400).json({ message: "Fail to create a new Booking!", error: err.message })
15 | }
16 | })
17 |
18 | module.exports = router
--------------------------------------------------------------------------------