├── addingPartials.js
├── app.js
├── app1.js
├── app2.js
├── creting_routing.js
├── hello.js
├── index.ejs.html
├── index.js
├── index1.js
├── middlwave.js
├── node_modules
├── .bin
│ ├── mime
│ ├── mime.cmd
│ └── mime.ps1
├── .package-lock.json
├── accepts
│ ├── HISTORY.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ └── package.json
├── array-flatten
│ ├── LICENSE
│ ├── README.md
│ ├── array-flatten.js
│ └── package.json
├── 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
├── 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
├── 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
├── 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.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
├── ee-first
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ └── package.json
├── encodeurl
│ ├── HISTORY.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ └── package.json
├── es-define-property
│ ├── .eslintrc
│ ├── .github
│ │ └── FUNDING.yml
│ ├── .nycrc
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.d.ts
│ ├── index.js
│ ├── package.json
│ ├── test
│ │ └── index.js
│ └── tsconfig.json
├── es-errors
│ ├── .eslintrc
│ ├── .github
│ │ └── FUNDING.yml
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── eval.d.ts
│ ├── eval.js
│ ├── index.d.ts
│ ├── index.js
│ ├── package.json
│ ├── range.d.ts
│ ├── range.js
│ ├── ref.d.ts
│ ├── ref.js
│ ├── syntax.d.ts
│ ├── syntax.js
│ ├── test
│ │ └── index.js
│ ├── tsconfig.json
│ ├── type.d.ts
│ ├── type.js
│ ├── uri.d.ts
│ └── uri.js
├── escape-html
│ ├── LICENSE
│ ├── Readme.md
│ ├── index.js
│ └── package.json
├── etag
│ ├── HISTORY.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ └── package.json
├── express
│ ├── History.md
│ ├── LICENSE
│ ├── Readme.md
│ ├── index.js
│ ├── lib
│ │ ├── application.js
│ │ ├── express.js
│ │ ├── middleware
│ │ │ ├── init.js
│ │ │ └── query.js
│ │ ├── request.js
│ │ ├── response.js
│ │ ├── router
│ │ │ ├── index.js
│ │ │ ├── layer.js
│ │ │ └── route.js
│ │ ├── utils.js
│ │ └── view.js
│ └── package.json
├── 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-property-descriptors
│ ├── .eslintrc
│ ├── .github
│ │ └── FUNDING.yml
│ ├── .nycrc
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ ├── package.json
│ └── test
│ │ └── index.js
├── has-proto
│ ├── .eslintrc
│ ├── .github
│ │ └── FUNDING.yml
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.d.ts
│ ├── index.js
│ ├── package.json
│ ├── test
│ │ └── index.js
│ └── tsconfig.json
├── has-symbols
│ ├── .eslintrc
│ ├── .github
│ │ └── FUNDING.yml
│ ├── .nycrc
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ ├── package.json
│ ├── shams.js
│ └── test
│ │ ├── index.js
│ │ ├── shams
│ │ ├── core-js.js
│ │ └── get-own-property-symbols.js
│ │ └── tests.js
├── hasown
│ ├── .eslintrc
│ ├── .github
│ │ └── FUNDING.yml
│ ├── .nycrc
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.d.ts
│ ├── index.js
│ ├── package.json
│ └── tsconfig.json
├── http-errors
│ ├── HISTORY.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ └── package.json
├── iconv-lite
│ ├── Changelog.md
│ ├── LICENSE
│ ├── README.md
│ ├── encodings
│ │ ├── dbcs-codec.js
│ │ ├── dbcs-data.js
│ │ ├── index.js
│ │ ├── internal.js
│ │ ├── sbcs-codec.js
│ │ ├── sbcs-data-generated.js
│ │ ├── sbcs-data.js
│ │ ├── tables
│ │ │ ├── big5-added.json
│ │ │ ├── cp936.json
│ │ │ ├── cp949.json
│ │ │ ├── cp950.json
│ │ │ ├── eucjp.json
│ │ │ ├── gb18030-ranges.json
│ │ │ ├── gbk-added.json
│ │ │ └── shiftjis.json
│ │ ├── utf16.js
│ │ └── utf7.js
│ ├── lib
│ │ ├── bom-handling.js
│ │ ├── extend-node.js
│ │ ├── index.d.ts
│ │ ├── index.js
│ │ └── streams.js
│ └── package.json
├── 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
├── media-typer
│ ├── HISTORY.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ └── package.json
├── 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
├── ms
│ ├── index.js
│ ├── license.md
│ ├── package.json
│ └── readme.md
├── negotiator
│ ├── HISTORY.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ ├── lib
│ │ ├── charset.js
│ │ ├── encoding.js
│ │ ├── language.js
│ │ └── mediaType.js
│ └── package.json
├── 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
├── parseurl
│ ├── HISTORY.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ └── package.json
├── path-to-regexp
│ ├── History.md
│ ├── LICENSE
│ ├── Readme.md
│ ├── index.js
│ └── package.json
├── proxy-addr
│ ├── HISTORY.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ └── package.json
├── 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
├── 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
├── send
│ ├── HISTORY.md
│ ├── LICENSE
│ ├── README.md
│ ├── SECURITY.md
│ ├── index.js
│ ├── node_modules
│ │ └── ms
│ │ │ ├── index.js
│ │ │ ├── license.md
│ │ │ ├── package.json
│ │ │ └── readme.md
│ └── package.json
├── serve-static
│ ├── HISTORY.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ └── package.json
├── set-function-length
│ ├── .eslintrc
│ ├── .github
│ │ └── FUNDING.yml
│ ├── .nycrc
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── env.d.ts
│ ├── env.js
│ ├── index.d.ts
│ ├── index.js
│ ├── package.json
│ └── tsconfig.json
├── setprototypeof
│ ├── LICENSE
│ ├── README.md
│ ├── index.d.ts
│ ├── index.js
│ ├── package.json
│ └── test
│ │ └── index.js
├── side-channel
│ ├── .editorconfig
│ ├── .eslintrc
│ ├── .github
│ │ └── FUNDING.yml
│ ├── .nycrc
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.d.ts
│ ├── index.js
│ ├── package.json
│ ├── test
│ │ └── index.js
│ └── tsconfig.json
├── statuses
│ ├── HISTORY.md
│ ├── LICENSE
│ ├── README.md
│ ├── codes.json
│ ├── index.js
│ └── package.json
├── toidentifier
│ ├── HISTORY.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ └── package.json
├── type-is
│ ├── HISTORY.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ └── package.json
├── unpipe
│ ├── HISTORY.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ └── package.json
├── utils-merge
│ ├── .npmignore
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ └── package.json
└── vary
│ ├── HISTORY.md
│ ├── LICENSE
│ ├── README.md
│ ├── index.js
│ └── package.json
├── package-lock.json
├── package.json
├── product.js
├── renderingLayouts.js
├── setup.js
├── tamplate.html
├── users.js
├── usingTemplates.js
└── usingTemplete.js
/addingPartials.js:
--------------------------------------------------------------------------------
1 | const express = require('express');
2 | const app = express();
3 |
4 | app.set('view engine', 'ejs');
--------------------------------------------------------------------------------
/app.js:
--------------------------------------------------------------------------------
1 | const express = require('express');
2 | const app = express();
3 |
4 | app.get('/', (req, res) => {
5 | res.send("Welcome");
6 | });
7 |
8 | app.listen(4000, ()=> {
9 | console.log("listening to part 4000");
10 | });
--------------------------------------------------------------------------------
/app1.js:
--------------------------------------------------------------------------------
1 | const express = require('express');
2 | const app = express();
3 |
4 | // Import routes
5 | const indexRoutes = require('./routes/index');
6 | const userRoutes = require('./routes/users');
7 | const productRoutes = require('./routes/products');
8 |
9 | // Use routes
10 | app.use('/', indexRoutes);
11 | app.use('/users', userRoutes);
12 | app.use('/products', productRoutes);
13 |
14 | // Start the server
15 | const PORT = process.env.PORT || 3000;
16 | app.listen(PORT, () => {
17 | console.log(`Server is running on port ${PORT}`);
18 | });
19 |
--------------------------------------------------------------------------------
/app2.js:
--------------------------------------------------------------------------------
1 | const express = require('express')
2 | const app = express()
3 | const router = express.Router()
4 |
5 | // predicate the router with a check and bail out when needed
6 | router.use((req, res, next) => {
7 | if (!req.headers['x-auth']) return next('router')
8 | next()
9 | })
10 |
11 | router.get('/user/:id', (req, res) => {
12 | res.send('hello, user!')
13 | })
14 |
15 | // use the router and 401 anything falling through
16 | app.use('/admin', router, (req, res) => {
17 | res.sendStatus(4000)
18 | })
--------------------------------------------------------------------------------
/creting_routing.js:
--------------------------------------------------------------------------------
1 | // GET route
2 | app.get('/', (req, res) => {
3 | res.send('Hello, World!');
4 | });
5 |
6 | // POST route
7 | app.post('/submit', (req, res) => {
8 | res.send('Data received via POST');
9 | });
10 |
11 | // PUT route
12 | app.put('/update', (req, res) => {
13 | res.send('Data updated via PUT');
14 | });
15 |
16 | // DELETE route
17 | app.delete('/delete', (req, res) => {
18 | res.send('Data deleted via DELETE');
19 | });
20 |
--------------------------------------------------------------------------------
/hello.js:
--------------------------------------------------------------------------------
1 | const express = require('express');
2 | const app = express();
3 | const port = 3000;
4 |
5 | // Define a route
6 | app.get('/', (req, res) => {
7 | res.send('Hello World!');
8 | });
9 |
10 | // Start the server
11 | app.listen(port, () => {
12 | console.log(`Example app listening at http://localhost:${port}`);
13 | });
--------------------------------------------------------------------------------
/index.ejs.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | <%= title %>
6 |
7 |
8 | <%= heading %>
9 | <%= message %>
10 |
11 |
12 |
--------------------------------------------------------------------------------
/index.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kmrchandan006/Express-Js/a42ed1851c78b892cb5f03d723edd39e81ca8dcd/index.js
--------------------------------------------------------------------------------
/index1.js:
--------------------------------------------------------------------------------
1 | const express = require('express');
2 | const router = express.Router();
3 |
4 | // Define a simple route for the homepage
5 | router.get('/', (req, res) => {
6 | res.send('Welcome to the Home Page!');
7 | });
8 |
9 | module.exports = router;
10 |
--------------------------------------------------------------------------------
/middlwave.js:
--------------------------------------------------------------------------------
1 | const express = require("express");
2 | const app = express();
3 |
4 | app.use((req, res, next) => {
5 | console.log("Time:", Date.now());
6 | next();
7 | });
8 |
9 | app.get("/", (req, res) => {
10 | res.send("Hello World");
11 | });
12 |
13 | app.listen(3000, () => {
14 | console.log("Server is running on port 3000");
15 | });
16 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/node_modules/.bin/mime.ps1:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env pwsh
2 | $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3 |
4 | $exe=""
5 | if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6 | # Fix case when both the Windows and Linux builds of Node
7 | # are installed in the same directory
8 | $exe=".exe"
9 | }
10 | $ret=0
11 | if (Test-Path "$basedir/node$exe") {
12 | # Support pipeline input
13 | if ($MyInvocation.ExpectingInput) {
14 | $input | & "$basedir/node$exe" "$basedir/../mime/cli.js" $args
15 | } else {
16 | & "$basedir/node$exe" "$basedir/../mime/cli.js" $args
17 | }
18 | $ret=$LASTEXITCODE
19 | } else {
20 | # Support pipeline input
21 | if ($MyInvocation.ExpectingInput) {
22 | $input | & "node$exe" "$basedir/../mime/cli.js" $args
23 | } else {
24 | & "node$exe" "$basedir/../mime/cli.js" $args
25 | }
26 | $ret=$LASTEXITCODE
27 | }
28 | exit $ret
29 |
--------------------------------------------------------------------------------
/node_modules/accepts/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014 Jonathan Ong
4 | Copyright (c) 2015 Douglas Christopher Wilson
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining
7 | a copy of this software and associated documentation files (the
8 | 'Software'), to deal in the Software without restriction, including
9 | without limitation the rights to use, copy, modify, merge, publish,
10 | distribute, sublicense, and/or sell copies of the Software, and to
11 | permit persons to whom the Software is furnished to do so, subject to
12 | the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be
15 | included in all copies or substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 |
--------------------------------------------------------------------------------
/node_modules/array-flatten/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in
13 | all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | THE SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/array-flatten/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "array-flatten",
3 | "version": "1.1.1",
4 | "description": "Flatten an array of nested arrays into a single flat array",
5 | "main": "array-flatten.js",
6 | "files": [
7 | "array-flatten.js",
8 | "LICENSE"
9 | ],
10 | "scripts": {
11 | "test": "istanbul cover _mocha -- -R spec"
12 | },
13 | "repository": {
14 | "type": "git",
15 | "url": "git://github.com/blakeembrey/array-flatten.git"
16 | },
17 | "keywords": [
18 | "array",
19 | "flatten",
20 | "arguments",
21 | "depth"
22 | ],
23 | "author": {
24 | "name": "Blake Embrey",
25 | "email": "hello@blakeembrey.com",
26 | "url": "http://blakeembrey.me"
27 | },
28 | "license": "MIT",
29 | "bugs": {
30 | "url": "https://github.com/blakeembrey/array-flatten/issues"
31 | },
32 | "homepage": "https://github.com/blakeembrey/array-flatten",
33 | "devDependencies": {
34 | "istanbul": "^0.3.13",
35 | "mocha": "^2.2.4",
36 | "pre-commit": "^1.0.7",
37 | "standard": "^3.7.3"
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/node_modules/body-parser/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014 Jonathan Ong
4 | Copyright (c) 2014-2015 Douglas Christopher Wilson
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining
7 | a copy of this software and associated documentation files (the
8 | 'Software'), to deal in the Software without restriction, including
9 | without limitation the rights to use, copy, modify, merge, publish,
10 | distribute, sublicense, and/or sell copies of the Software, and to
11 | permit persons to whom the Software is furnished to do so, subject to
12 | the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be
15 | included in all copies or substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 |
--------------------------------------------------------------------------------
/node_modules/body-parser/SECURITY.md:
--------------------------------------------------------------------------------
1 | # Security Policies and Procedures
2 |
3 | ## Reporting a Bug
4 |
5 | The Express team and community take all security bugs seriously. Thank you
6 | for improving the security of Express. We appreciate your efforts and
7 | responsible disclosure and will make every effort to acknowledge your
8 | contributions.
9 |
10 | Report security bugs by emailing the current owner(s) of `body-parser`. This
11 | information can be found in the npm registry using the command
12 | `npm owner ls body-parser`.
13 | If unsure or unable to get the information from the above, open an issue
14 | in the [project issue tracker](https://github.com/expressjs/body-parser/issues)
15 | asking for the current contact information.
16 |
17 | To ensure the timely response to your report, please ensure that the entirety
18 | of the report is contained within the email body and not solely behind a web
19 | link or an attachment.
20 |
21 | At least one owner will acknowledge your email within 48 hours, and will send a
22 | more detailed response within 48 hours indicating the next steps in handling
23 | your report. After the initial reply to your report, the owners will
24 | endeavor to keep you informed of the progress towards a fix and full
25 | announcement, and may ask for additional information or guidance.
26 |
--------------------------------------------------------------------------------
/node_modules/bytes/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2012-2014 TJ Holowaychuk
4 | Copyright (c) 2015 Jed Watson
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining
7 | a copy of this software and associated documentation files (the
8 | 'Software'), to deal in the Software without restriction, including
9 | without limitation the rights to use, copy, modify, merge, publish,
10 | distribute, sublicense, and/or sell copies of the Software, and to
11 | permit persons to whom the Software is furnished to do so, subject to
12 | the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be
15 | included in all copies or substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 |
--------------------------------------------------------------------------------
/node_modules/bytes/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "bytes",
3 | "description": "Utility to parse a string bytes to bytes and vice-versa",
4 | "version": "3.1.2",
5 | "author": "TJ Holowaychuk (http://tjholowaychuk.com)",
6 | "contributors": [
7 | "Jed Watson ",
8 | "Théo FIDRY "
9 | ],
10 | "license": "MIT",
11 | "keywords": [
12 | "byte",
13 | "bytes",
14 | "utility",
15 | "parse",
16 | "parser",
17 | "convert",
18 | "converter"
19 | ],
20 | "repository": "visionmedia/bytes.js",
21 | "devDependencies": {
22 | "eslint": "7.32.0",
23 | "eslint-plugin-markdown": "2.2.1",
24 | "mocha": "9.2.0",
25 | "nyc": "15.1.0"
26 | },
27 | "files": [
28 | "History.md",
29 | "LICENSE",
30 | "Readme.md",
31 | "index.js"
32 | ],
33 | "engines": {
34 | "node": ">= 0.8"
35 | },
36 | "scripts": {
37 | "lint": "eslint .",
38 | "test": "mocha --check-leaks --reporter spec",
39 | "test-ci": "nyc --reporter=lcov --reporter=text npm test",
40 | "test-cov": "nyc --reporter=html --reporter=text npm test"
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/node_modules/call-bind/.eslintignore:
--------------------------------------------------------------------------------
1 | coverage/
2 |
--------------------------------------------------------------------------------
/node_modules/call-bind/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 |
6 | "rules": {
7 | "func-name-matching": 0,
8 | "id-length": 0,
9 | "new-cap": [2, {
10 | "capIsNewExceptions": [
11 | "GetIntrinsic",
12 | ],
13 | }],
14 | "no-magic-numbers": 0,
15 | },
16 | }
17 |
--------------------------------------------------------------------------------
/node_modules/call-bind/.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 |
--------------------------------------------------------------------------------
/node_modules/call-bind/.nycrc:
--------------------------------------------------------------------------------
1 | {
2 | "all": true,
3 | "check-coverage": false,
4 | "reporter": ["text-summary", "text", "html", "json"],
5 | "exclude": [
6 | "coverage",
7 | "test"
8 | ]
9 | }
10 |
--------------------------------------------------------------------------------
/node_modules/call-bind/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2020 Jordan Harband
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/call-bind/callBound.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var GetIntrinsic = require('get-intrinsic');
4 |
5 | var callBind = require('./');
6 |
7 | var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
8 |
9 | module.exports = function callBoundIntrinsic(name, allowMissing) {
10 | var intrinsic = GetIntrinsic(name, !!allowMissing);
11 | if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
12 | return callBind(intrinsic);
13 | }
14 | return intrinsic;
15 | };
16 |
--------------------------------------------------------------------------------
/node_modules/call-bind/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var bind = require('function-bind');
4 | var GetIntrinsic = require('get-intrinsic');
5 | var setFunctionLength = require('set-function-length');
6 |
7 | var $TypeError = require('es-errors/type');
8 | var $apply = GetIntrinsic('%Function.prototype.apply%');
9 | var $call = GetIntrinsic('%Function.prototype.call%');
10 | var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
11 |
12 | var $defineProperty = require('es-define-property');
13 | var $max = GetIntrinsic('%Math.max%');
14 |
15 | module.exports = function callBind(originalFunction) {
16 | if (typeof originalFunction !== 'function') {
17 | throw new $TypeError('a function is required');
18 | }
19 | var func = $reflectApply(bind, $call, arguments);
20 | return setFunctionLength(
21 | func,
22 | 1 + $max(0, originalFunction.length - (arguments.length - 1)),
23 | true
24 | );
25 | };
26 |
27 | var applyBind = function applyBind() {
28 | return $reflectApply(bind, $apply, arguments);
29 | };
30 |
31 | if ($defineProperty) {
32 | $defineProperty(module.exports, 'apply', { value: applyBind });
33 | } else {
34 | module.exports.apply = applyBind;
35 | }
36 |
--------------------------------------------------------------------------------
/node_modules/content-disposition/HISTORY.md:
--------------------------------------------------------------------------------
1 | 0.5.4 / 2021-12-10
2 | ==================
3 |
4 | * deps: safe-buffer@5.2.1
5 |
6 | 0.5.3 / 2018-12-17
7 | ==================
8 |
9 | * Use `safe-buffer` for improved Buffer API
10 |
11 | 0.5.2 / 2016-12-08
12 | ==================
13 |
14 | * Fix `parse` to accept any linear whitespace character
15 |
16 | 0.5.1 / 2016-01-17
17 | ==================
18 |
19 | * perf: enable strict mode
20 |
21 | 0.5.0 / 2014-10-11
22 | ==================
23 |
24 | * Add `parse` function
25 |
26 | 0.4.0 / 2014-09-21
27 | ==================
28 |
29 | * Expand non-Unicode `filename` to the full ISO-8859-1 charset
30 |
31 | 0.3.0 / 2014-09-20
32 | ==================
33 |
34 | * Add `fallback` option
35 | * Add `type` option
36 |
37 | 0.2.0 / 2014-09-19
38 | ==================
39 |
40 | * Reduce ambiguity of file names with hex escape in buggy browsers
41 |
42 | 0.1.2 / 2014-09-19
43 | ==================
44 |
45 | * Fix periodic invalid Unicode filename header
46 |
47 | 0.1.1 / 2014-09-19
48 | ==================
49 |
50 | * Fix invalid characters appearing in `filename*` parameter
51 |
52 | 0.1.0 / 2014-09-18
53 | ==================
54 |
55 | * Make the `filename` argument optional
56 |
57 | 0.0.0 / 2014-09-18
58 | ==================
59 |
60 | * Initial release
61 |
--------------------------------------------------------------------------------
/node_modules/content-disposition/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014-2017 Douglas Christopher Wilson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/node_modules/content-type/HISTORY.md:
--------------------------------------------------------------------------------
1 | 1.0.5 / 2023-01-29
2 | ==================
3 |
4 | * perf: skip value escaping when unnecessary
5 |
6 | 1.0.4 / 2017-09-11
7 | ==================
8 |
9 | * perf: skip parameter parsing when no parameters
10 |
11 | 1.0.3 / 2017-09-10
12 | ==================
13 |
14 | * perf: remove argument reassignment
15 |
16 | 1.0.2 / 2016-05-09
17 | ==================
18 |
19 | * perf: enable strict mode
20 |
21 | 1.0.1 / 2015-02-13
22 | ==================
23 |
24 | * Improve missing `Content-Type` header error message
25 |
26 | 1.0.0 / 2015-02-01
27 | ==================
28 |
29 | * Initial implementation, derived from `media-typer@0.3.0`
30 |
--------------------------------------------------------------------------------
/node_modules/content-type/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2015 Douglas Christopher Wilson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/node_modules/content-type/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "content-type",
3 | "description": "Create and parse HTTP Content-Type header",
4 | "version": "1.0.5",
5 | "author": "Douglas Christopher Wilson ",
6 | "license": "MIT",
7 | "keywords": [
8 | "content-type",
9 | "http",
10 | "req",
11 | "res",
12 | "rfc7231"
13 | ],
14 | "repository": "jshttp/content-type",
15 | "devDependencies": {
16 | "deep-equal": "1.0.1",
17 | "eslint": "8.32.0",
18 | "eslint-config-standard": "15.0.1",
19 | "eslint-plugin-import": "2.27.5",
20 | "eslint-plugin-node": "11.1.0",
21 | "eslint-plugin-promise": "6.1.1",
22 | "eslint-plugin-standard": "4.1.0",
23 | "mocha": "10.2.0",
24 | "nyc": "15.1.0"
25 | },
26 | "files": [
27 | "LICENSE",
28 | "HISTORY.md",
29 | "README.md",
30 | "index.js"
31 | ],
32 | "engines": {
33 | "node": ">= 0.6"
34 | },
35 | "scripts": {
36 | "lint": "eslint .",
37 | "test": "mocha --reporter spec --check-leaks --bail test/",
38 | "test-ci": "nyc --reporter=lcovonly --reporter=text npm test",
39 | "test-cov": "nyc --reporter=html --reporter=text npm test",
40 | "version": "node scripts/version-history.js && git add HISTORY.md"
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/node_modules/cookie-signature/.npmignore:
--------------------------------------------------------------------------------
1 | support
2 | test
3 | examples
4 | *.sock
5 |
--------------------------------------------------------------------------------
/node_modules/cookie-signature/History.md:
--------------------------------------------------------------------------------
1 | 1.0.6 / 2015-02-03
2 | ==================
3 |
4 | * use `npm test` instead of `make test` to run tests
5 | * clearer assertion messages when checking input
6 |
7 |
8 | 1.0.5 / 2014-09-05
9 | ==================
10 |
11 | * add license to package.json
12 |
13 | 1.0.4 / 2014-06-25
14 | ==================
15 |
16 | * corrected avoidance of timing attacks (thanks @tenbits!)
17 |
18 | 1.0.3 / 2014-01-28
19 | ==================
20 |
21 | * [incorrect] fix for timing attacks
22 |
23 | 1.0.2 / 2014-01-28
24 | ==================
25 |
26 | * fix missing repository warning
27 | * fix typo in test
28 |
29 | 1.0.1 / 2013-04-15
30 | ==================
31 |
32 | * Revert "Changed underlying HMAC algo. to sha512."
33 | * Revert "Fix for timing attacks on MAC verification."
34 |
35 | 0.0.1 / 2010-01-03
36 | ==================
37 |
38 | * Initial release
39 |
--------------------------------------------------------------------------------
/node_modules/cookie-signature/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "cookie-signature",
3 | "version": "1.0.6",
4 | "description": "Sign and unsign cookies",
5 | "keywords": ["cookie", "sign", "unsign"],
6 | "author": "TJ Holowaychuk ",
7 | "license": "MIT",
8 | "repository": { "type": "git", "url": "https://github.com/visionmedia/node-cookie-signature.git"},
9 | "dependencies": {},
10 | "devDependencies": {
11 | "mocha": "*",
12 | "should": "*"
13 | },
14 | "scripts": {
15 | "test": "mocha --require should --reporter spec"
16 | },
17 | "main": "index"
18 | }
19 |
--------------------------------------------------------------------------------
/node_modules/cookie/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2012-2014 Roman Shtylman
4 | Copyright (c) 2015 Douglas Christopher Wilson
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining
7 | a copy of this software and associated documentation files (the
8 | 'Software'), to deal in the Software without restriction, including
9 | without limitation the rights to use, copy, modify, merge, publish,
10 | distribute, sublicense, and/or sell copies of the Software, and to
11 | permit persons to whom the Software is furnished to do so, subject to
12 | the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be
15 | included in all copies or substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 |
25 |
--------------------------------------------------------------------------------
/node_modules/cookie/SECURITY.md:
--------------------------------------------------------------------------------
1 | # Security Policies and Procedures
2 |
3 | ## Reporting a Bug
4 |
5 | The `cookie` team and community take all security bugs seriously. Thank
6 | you for improving the security of the project. We appreciate your efforts and
7 | responsible disclosure and will make every effort to acknowledge your
8 | contributions.
9 |
10 | Report security bugs by emailing the current owner(s) of `cookie`. This
11 | information can be found in the npm registry using the command
12 | `npm owner ls cookie`.
13 | If unsure or unable to get the information from the above, open an issue
14 | in the [project issue tracker](https://github.com/jshttp/cookie/issues)
15 | asking for the current contact information.
16 |
17 | To ensure the timely response to your report, please ensure that the entirety
18 | of the report is contained within the email body and not solely behind a web
19 | link or an attachment.
20 |
21 | At least one owner will acknowledge your email within 48 hours, and will send a
22 | more detailed response within 48 hours indicating the next steps in handling
23 | your report. After the initial reply to your report, the owners will
24 | endeavor to keep you informed of the progress towards a fix and full
25 | announcement, and may ask for additional information or guidance.
26 |
--------------------------------------------------------------------------------
/node_modules/cookie/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "cookie",
3 | "description": "HTTP server cookie parsing and serialization",
4 | "version": "0.6.0",
5 | "author": "Roman Shtylman ",
6 | "contributors": [
7 | "Douglas Christopher Wilson "
8 | ],
9 | "license": "MIT",
10 | "keywords": [
11 | "cookie",
12 | "cookies"
13 | ],
14 | "repository": "jshttp/cookie",
15 | "devDependencies": {
16 | "beautify-benchmark": "0.2.4",
17 | "benchmark": "2.1.4",
18 | "eslint": "8.53.0",
19 | "eslint-plugin-markdown": "3.0.1",
20 | "mocha": "10.2.0",
21 | "nyc": "15.1.0",
22 | "safe-buffer": "5.2.1",
23 | "top-sites": "1.1.194"
24 | },
25 | "files": [
26 | "HISTORY.md",
27 | "LICENSE",
28 | "README.md",
29 | "SECURITY.md",
30 | "index.js"
31 | ],
32 | "engines": {
33 | "node": ">= 0.6"
34 | },
35 | "scripts": {
36 | "bench": "node benchmark/index.js",
37 | "lint": "eslint .",
38 | "test": "mocha --reporter spec --bail --check-leaks test/",
39 | "test-ci": "nyc --reporter=lcov --reporter=text npm test",
40 | "test-cov": "nyc --reporter=html --reporter=text npm test",
41 | "update-bench": "node scripts/update-benchmark.js",
42 | "version": "node scripts/version-history.js && git add HISTORY.md"
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/node_modules/debug/.coveralls.yml:
--------------------------------------------------------------------------------
1 | repo_token: SIAeZjKYlHK74rbcFvNHMUzjRiMpflxve
2 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/node_modules/debug/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014 TJ Holowaychuk
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software
6 | and associated documentation files (the 'Software'), to deal in the Software without restriction,
7 | including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 | and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
9 | subject to the following conditions:
10 |
11 | The above copyright notice and this permission notice shall be included in all copies or substantial
12 | portions of the Software.
13 |
14 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
15 | LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
16 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
17 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
18 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19 |
20 |
--------------------------------------------------------------------------------
/node_modules/debug/Makefile:
--------------------------------------------------------------------------------
1 | # get Makefile directory name: http://stackoverflow.com/a/5982798/376773
2 | THIS_MAKEFILE_PATH:=$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
3 | THIS_DIR:=$(shell cd $(dir $(THIS_MAKEFILE_PATH));pwd)
4 |
5 | # BIN directory
6 | BIN := $(THIS_DIR)/node_modules/.bin
7 |
8 | # Path
9 | PATH := node_modules/.bin:$(PATH)
10 | SHELL := /bin/bash
11 |
12 | # applications
13 | NODE ?= $(shell which node)
14 | YARN ?= $(shell which yarn)
15 | PKG ?= $(if $(YARN),$(YARN),$(NODE) $(shell which npm))
16 | BROWSERIFY ?= $(NODE) $(BIN)/browserify
17 |
18 | .FORCE:
19 |
20 | install: node_modules
21 |
22 | node_modules: package.json
23 | @NODE_ENV= $(PKG) install
24 | @touch node_modules
25 |
26 | lint: .FORCE
27 | eslint browser.js debug.js index.js node.js
28 |
29 | test-node: .FORCE
30 | istanbul cover node_modules/mocha/bin/_mocha -- test/**.js
31 |
32 | test-browser: .FORCE
33 | mkdir -p dist
34 |
35 | @$(BROWSERIFY) \
36 | --standalone debug \
37 | . > dist/debug.js
38 |
39 | karma start --single-run
40 | rimraf dist
41 |
42 | test: .FORCE
43 | concurrently \
44 | "make test-node" \
45 | "make test-browser"
46 |
47 | coveralls:
48 | cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
49 |
50 | .PHONY: all install clean distclean
51 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/node_modules/debug/node.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./src/node');
2 |
--------------------------------------------------------------------------------
/node_modules/debug/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "debug",
3 | "version": "2.6.9",
4 | "repository": {
5 | "type": "git",
6 | "url": "git://github.com/visionmedia/debug.git"
7 | },
8 | "description": "small debugging utility",
9 | "keywords": [
10 | "debug",
11 | "log",
12 | "debugger"
13 | ],
14 | "author": "TJ Holowaychuk ",
15 | "contributors": [
16 | "Nathan Rajlich (http://n8.io)",
17 | "Andrew Rhyne "
18 | ],
19 | "license": "MIT",
20 | "dependencies": {
21 | "ms": "2.0.0"
22 | },
23 | "devDependencies": {
24 | "browserify": "9.0.3",
25 | "chai": "^3.5.0",
26 | "concurrently": "^3.1.0",
27 | "coveralls": "^2.11.15",
28 | "eslint": "^3.12.1",
29 | "istanbul": "^0.4.5",
30 | "karma": "^1.3.0",
31 | "karma-chai": "^0.1.0",
32 | "karma-mocha": "^1.3.0",
33 | "karma-phantomjs-launcher": "^1.0.2",
34 | "karma-sinon": "^1.0.5",
35 | "mocha": "^3.2.0",
36 | "mocha-lcov-reporter": "^1.2.0",
37 | "rimraf": "^2.5.4",
38 | "sinon": "^1.17.6",
39 | "sinon-chai": "^2.8.0"
40 | },
41 | "main": "./src/index.js",
42 | "browser": "./src/browser.js",
43 | "component": {
44 | "scripts": {
45 | "debug/index.js": "browser.js",
46 | "debug/debug.js": "debug.js"
47 | }
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/node_modules/define-data-property/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 |
6 | "rules": {
7 | "complexity": 0,
8 | "id-length": 0,
9 | "new-cap": ["error", {
10 | "capIsNewExceptions": [
11 | "GetIntrinsic",
12 | ],
13 | }],
14 | },
15 |
16 | "overrides": [
17 | {
18 | "files": "test/**",
19 | "rules": {
20 | "max-lines-per-function": "off",
21 | },
22 | },
23 | ],
24 | }
25 |
--------------------------------------------------------------------------------
/node_modules/define-data-property/.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/define-data-property
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 |
--------------------------------------------------------------------------------
/node_modules/define-data-property/.nycrc:
--------------------------------------------------------------------------------
1 | {
2 | "all": true,
3 | "check-coverage": false,
4 | "reporter": ["text-summary", "text", "html", "json"],
5 | "lines": 86,
6 | "statements": 85.93,
7 | "functions": 82.43,
8 | "branches": 76.06,
9 | "exclude": [
10 | "coverage",
11 | "test"
12 | ]
13 | }
14 |
--------------------------------------------------------------------------------
/node_modules/define-data-property/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2023 Jordan Harband
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/define-data-property/index.d.ts:
--------------------------------------------------------------------------------
1 |
2 | declare function defineDataProperty(
3 | obj: Record,
4 | property: keyof typeof obj,
5 | value: typeof obj[typeof property],
6 | nonEnumerable?: boolean | null,
7 | nonWritable?: boolean | null,
8 | nonConfigurable?: boolean | null,
9 | loose?: boolean
10 | ): void;
11 |
12 | export = defineDataProperty;
--------------------------------------------------------------------------------
/node_modules/depd/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014-2018 Douglas Christopher Wilson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/node_modules/destroy/LICENSE:
--------------------------------------------------------------------------------
1 |
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2014 Jonathan Ong me@jongleberry.com
5 | Copyright (c) 2015-2022 Douglas Christopher Wilson doug@somethingdoug.com
6 |
7 | Permission is hereby granted, free of charge, to any person obtaining a copy
8 | of this software and associated documentation files (the "Software"), to deal
9 | in the Software without restriction, including without limitation the rights
10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11 | copies of the Software, and to permit persons to whom the Software is
12 | furnished to do so, subject to the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be included in
15 | all copies or substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23 | THE SOFTWARE.
24 |
--------------------------------------------------------------------------------
/node_modules/destroy/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "destroy",
3 | "description": "destroy a stream if possible",
4 | "version": "1.2.0",
5 | "author": {
6 | "name": "Jonathan Ong",
7 | "email": "me@jongleberry.com",
8 | "url": "http://jongleberry.com",
9 | "twitter": "https://twitter.com/jongleberry"
10 | },
11 | "contributors": [
12 | "Douglas Christopher Wilson "
13 | ],
14 | "license": "MIT",
15 | "repository": "stream-utils/destroy",
16 | "devDependencies": {
17 | "eslint": "7.32.0",
18 | "eslint-config-standard": "14.1.1",
19 | "eslint-plugin-import": "2.25.4",
20 | "eslint-plugin-node": "11.1.0",
21 | "eslint-plugin-promise": "5.2.0",
22 | "eslint-plugin-standard": "4.1.0",
23 | "mocha": "9.2.2",
24 | "nyc": "15.1.0"
25 | },
26 | "engines": {
27 | "node": ">= 0.8",
28 | "npm": "1.2.8000 || >= 1.4.16"
29 | },
30 | "scripts": {
31 | "lint": "eslint .",
32 | "test": "mocha --reporter spec",
33 | "test-ci": "nyc --reporter=lcovonly --reporter=text npm test",
34 | "test-cov": "nyc --reporter=html --reporter=text npm test"
35 | },
36 | "files": [
37 | "index.js",
38 | "LICENSE"
39 | ],
40 | "keywords": [
41 | "stream",
42 | "streams",
43 | "destroy",
44 | "cleanup",
45 | "leak",
46 | "fd"
47 | ]
48 | }
49 |
--------------------------------------------------------------------------------
/node_modules/ee-first/LICENSE:
--------------------------------------------------------------------------------
1 |
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2014 Jonathan Ong me@jongleberry.com
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy
7 | of this software and associated documentation files (the "Software"), to deal
8 | in the Software without restriction, including without limitation the rights
9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | copies of the Software, and to permit persons to whom the Software is
11 | furnished to do so, subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in
14 | all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/node_modules/ee-first/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ee-first",
3 | "description": "return the first event in a set of ee/event pairs",
4 | "version": "1.1.1",
5 | "author": {
6 | "name": "Jonathan Ong",
7 | "email": "me@jongleberry.com",
8 | "url": "http://jongleberry.com",
9 | "twitter": "https://twitter.com/jongleberry"
10 | },
11 | "contributors": [
12 | "Douglas Christopher Wilson "
13 | ],
14 | "license": "MIT",
15 | "repository": "jonathanong/ee-first",
16 | "devDependencies": {
17 | "istanbul": "0.3.9",
18 | "mocha": "2.2.5"
19 | },
20 | "files": [
21 | "index.js",
22 | "LICENSE"
23 | ],
24 | "scripts": {
25 | "test": "mocha --reporter spec --bail --check-leaks test/",
26 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
27 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/node_modules/encodeurl/HISTORY.md:
--------------------------------------------------------------------------------
1 | 1.0.2 / 2018-01-21
2 | ==================
3 |
4 | * Fix encoding `%` as last character
5 |
6 | 1.0.1 / 2016-06-09
7 | ==================
8 |
9 | * Fix encoding unpaired surrogates at start/end of string
10 |
11 | 1.0.0 / 2016-06-08
12 | ==================
13 |
14 | * Initial release
15 |
--------------------------------------------------------------------------------
/node_modules/encodeurl/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2016 Douglas Christopher Wilson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/node_modules/encodeurl/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "encodeurl",
3 | "description": "Encode a URL to a percent-encoded form, excluding already-encoded sequences",
4 | "version": "1.0.2",
5 | "contributors": [
6 | "Douglas Christopher Wilson "
7 | ],
8 | "license": "MIT",
9 | "keywords": [
10 | "encode",
11 | "encodeurl",
12 | "url"
13 | ],
14 | "repository": "pillarjs/encodeurl",
15 | "devDependencies": {
16 | "eslint": "3.19.0",
17 | "eslint-config-standard": "10.2.1",
18 | "eslint-plugin-import": "2.8.0",
19 | "eslint-plugin-node": "5.2.1",
20 | "eslint-plugin-promise": "3.6.0",
21 | "eslint-plugin-standard": "3.0.1",
22 | "istanbul": "0.4.5",
23 | "mocha": "2.5.3"
24 | },
25 | "files": [
26 | "LICENSE",
27 | "HISTORY.md",
28 | "README.md",
29 | "index.js"
30 | ],
31 | "engines": {
32 | "node": ">= 0.8"
33 | },
34 | "scripts": {
35 | "lint": "eslint .",
36 | "test": "mocha --reporter spec --bail --check-leaks test/",
37 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
38 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/node_modules/es-define-property/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 |
6 | "rules": {
7 | "new-cap": ["error", {
8 | "capIsNewExceptions": [
9 | "GetIntrinsic",
10 | ],
11 | }],
12 | },
13 | }
14 |
--------------------------------------------------------------------------------
/node_modules/es-define-property/.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/es-define-property
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 |
--------------------------------------------------------------------------------
/node_modules/es-define-property/.nycrc:
--------------------------------------------------------------------------------
1 | {
2 | "all": true,
3 | "check-coverage": false,
4 | "reporter": ["text-summary", "text", "html", "json"],
5 | "exclude": [
6 | "coverage",
7 | "test"
8 | ]
9 | }
10 |
--------------------------------------------------------------------------------
/node_modules/es-define-property/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | All notable changes to this project will be documented in this file.
4 |
5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7 |
8 | ## v1.0.0 - 2024-02-12
9 |
10 | ### Commits
11 |
12 | - Initial implementation, tests, readme, types [`3e154e1`](https://github.com/ljharb/es-define-property/commit/3e154e11a2fee09127220f5e503bf2c0a31dd480)
13 | - Initial commit [`07d98de`](https://github.com/ljharb/es-define-property/commit/07d98de34a4dc31ff5e83a37c0c3f49e0d85cd50)
14 | - npm init [`c4eb634`](https://github.com/ljharb/es-define-property/commit/c4eb6348b0d3886aac36cef34ad2ee0665ea6f3e)
15 | - Only apps should have lockfiles [`7af86ec`](https://github.com/ljharb/es-define-property/commit/7af86ec1d311ec0b17fdfe616a25f64276903856)
16 |
--------------------------------------------------------------------------------
/node_modules/es-define-property/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2024 Jordan Harband
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/es-define-property/index.d.ts:
--------------------------------------------------------------------------------
1 | declare const defineProperty: false | typeof Object.defineProperty;
2 |
3 | export = defineProperty;
--------------------------------------------------------------------------------
/node_modules/es-define-property/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var GetIntrinsic = require('get-intrinsic');
4 |
5 | /** @type {import('.')} */
6 | var $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;
7 | if ($defineProperty) {
8 | try {
9 | $defineProperty({}, 'a', { value: 1 });
10 | } catch (e) {
11 | // IE 8 has a broken defineProperty
12 | $defineProperty = false;
13 | }
14 | }
15 |
16 | module.exports = $defineProperty;
17 |
--------------------------------------------------------------------------------
/node_modules/es-errors/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 | }
6 |
--------------------------------------------------------------------------------
/node_modules/es-errors/.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/es-errors
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 |
--------------------------------------------------------------------------------
/node_modules/es-errors/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2024 Jordan Harband
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/es-errors/eval.d.ts:
--------------------------------------------------------------------------------
1 | declare const EvalError: EvalErrorConstructor;
2 |
3 | export = EvalError;
4 |
--------------------------------------------------------------------------------
/node_modules/es-errors/eval.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | /** @type {import('./eval')} */
4 | module.exports = EvalError;
5 |
--------------------------------------------------------------------------------
/node_modules/es-errors/index.d.ts:
--------------------------------------------------------------------------------
1 | declare const Error: ErrorConstructor;
2 |
3 | export = Error;
4 |
--------------------------------------------------------------------------------
/node_modules/es-errors/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | /** @type {import('.')} */
4 | module.exports = Error;
5 |
--------------------------------------------------------------------------------
/node_modules/es-errors/range.d.ts:
--------------------------------------------------------------------------------
1 | declare const RangeError: RangeErrorConstructor;
2 |
3 | export = RangeError;
4 |
--------------------------------------------------------------------------------
/node_modules/es-errors/range.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | /** @type {import('./range')} */
4 | module.exports = RangeError;
5 |
--------------------------------------------------------------------------------
/node_modules/es-errors/ref.d.ts:
--------------------------------------------------------------------------------
1 | declare const ReferenceError: ReferenceErrorConstructor;
2 |
3 | export = ReferenceError;
4 |
--------------------------------------------------------------------------------
/node_modules/es-errors/ref.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | /** @type {import('./ref')} */
4 | module.exports = ReferenceError;
5 |
--------------------------------------------------------------------------------
/node_modules/es-errors/syntax.d.ts:
--------------------------------------------------------------------------------
1 | declare const SyntaxError: SyntaxErrorConstructor;
2 |
3 | export = SyntaxError;
4 |
--------------------------------------------------------------------------------
/node_modules/es-errors/syntax.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | /** @type {import('./syntax')} */
4 | module.exports = SyntaxError;
5 |
--------------------------------------------------------------------------------
/node_modules/es-errors/test/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var test = require('tape');
4 |
5 | var E = require('../');
6 | var R = require('../range');
7 | var Ref = require('../ref');
8 | var S = require('../syntax');
9 | var T = require('../type');
10 |
11 | test('errors', function (t) {
12 | t.equal(E, Error);
13 | t.equal(R, RangeError);
14 | t.equal(Ref, ReferenceError);
15 | t.equal(S, SyntaxError);
16 | t.equal(T, TypeError);
17 |
18 | t.end();
19 | });
20 |
--------------------------------------------------------------------------------
/node_modules/es-errors/type.d.ts:
--------------------------------------------------------------------------------
1 | declare const TypeError: TypeErrorConstructor
2 |
3 | export = TypeError;
4 |
--------------------------------------------------------------------------------
/node_modules/es-errors/type.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | /** @type {import('./type')} */
4 | module.exports = TypeError;
5 |
--------------------------------------------------------------------------------
/node_modules/es-errors/uri.d.ts:
--------------------------------------------------------------------------------
1 | declare const URIError: URIErrorConstructor;
2 |
3 | export = URIError;
4 |
--------------------------------------------------------------------------------
/node_modules/es-errors/uri.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | /** @type {import('./uri')} */
4 | module.exports = URIError;
5 |
--------------------------------------------------------------------------------
/node_modules/escape-html/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2012-2013 TJ Holowaychuk
4 | Copyright (c) 2015 Andreas Lubbe
5 | Copyright (c) 2015 Tiancheng "Timothy" Gu
6 |
7 | Permission is hereby granted, free of charge, to any person obtaining
8 | a copy of this software and associated documentation files (the
9 | 'Software'), to deal in the Software without restriction, including
10 | without limitation the rights to use, copy, modify, merge, publish,
11 | distribute, sublicense, and/or sell copies of the Software, and to
12 | permit persons to whom the Software is furnished to do so, subject to
13 | the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be
16 | included in all copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
19 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
21 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 |
--------------------------------------------------------------------------------
/node_modules/escape-html/Readme.md:
--------------------------------------------------------------------------------
1 |
2 | # escape-html
3 |
4 | Escape string for use in HTML
5 |
6 | ## Example
7 |
8 | ```js
9 | var escape = require('escape-html');
10 | var html = escape('foo & bar');
11 | // -> foo & bar
12 | ```
13 |
14 | ## Benchmark
15 |
16 | ```
17 | $ npm run-script bench
18 |
19 | > escape-html@1.0.3 bench nodejs-escape-html
20 | > node benchmark/index.js
21 |
22 |
23 | http_parser@1.0
24 | node@0.10.33
25 | v8@3.14.5.9
26 | ares@1.9.0-DEV
27 | uv@0.10.29
28 | zlib@1.2.3
29 | modules@11
30 | openssl@1.0.1j
31 |
32 | 1 test completed.
33 | 2 tests completed.
34 | 3 tests completed.
35 |
36 | no special characters x 19,435,271 ops/sec ±0.85% (187 runs sampled)
37 | single special character x 6,132,421 ops/sec ±0.67% (194 runs sampled)
38 | many special characters x 3,175,826 ops/sec ±0.65% (193 runs sampled)
39 | ```
40 |
41 | ## License
42 |
43 | MIT
--------------------------------------------------------------------------------
/node_modules/escape-html/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "escape-html",
3 | "description": "Escape string for use in HTML",
4 | "version": "1.0.3",
5 | "license": "MIT",
6 | "keywords": [
7 | "escape",
8 | "html",
9 | "utility"
10 | ],
11 | "repository": "component/escape-html",
12 | "devDependencies": {
13 | "benchmark": "1.0.0",
14 | "beautify-benchmark": "0.2.4"
15 | },
16 | "files": [
17 | "LICENSE",
18 | "Readme.md",
19 | "index.js"
20 | ],
21 | "scripts": {
22 | "bench": "node benchmark/index.js"
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/node_modules/etag/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014-2016 Douglas Christopher Wilson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/node_modules/express/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2009-2014 TJ Holowaychuk
4 | Copyright (c) 2013-2014 Roman Shtylman
5 | Copyright (c) 2014-2015 Douglas Christopher Wilson
6 |
7 | Permission is hereby granted, free of charge, to any person obtaining
8 | a copy of this software and associated documentation files (the
9 | 'Software'), to deal in the Software without restriction, including
10 | without limitation the rights to use, copy, modify, merge, publish,
11 | distribute, sublicense, and/or sell copies of the Software, and to
12 | permit persons to whom the Software is furnished to do so, subject to
13 | the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be
16 | included in all copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
19 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
21 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 |
--------------------------------------------------------------------------------
/node_modules/express/index.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * express
3 | * Copyright(c) 2009-2013 TJ Holowaychuk
4 | * Copyright(c) 2013 Roman Shtylman
5 | * Copyright(c) 2014-2015 Douglas Christopher Wilson
6 | * MIT Licensed
7 | */
8 |
9 | 'use strict';
10 |
11 | module.exports = require('./lib/express');
12 |
--------------------------------------------------------------------------------
/node_modules/express/lib/middleware/init.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 | /**
12 | * Module dependencies.
13 | * @private
14 | */
15 |
16 | var setPrototypeOf = require('setprototypeof')
17 |
18 | /**
19 | * Initialization middleware, exposing the
20 | * request and response to each other, as well
21 | * as defaulting the X-Powered-By header field.
22 | *
23 | * @param {Function} app
24 | * @return {Function}
25 | * @api private
26 | */
27 |
28 | exports.init = function(app){
29 | return function expressInit(req, res, next){
30 | if (app.enabled('x-powered-by')) res.setHeader('X-Powered-By', 'Express');
31 | req.res = res;
32 | res.req = req;
33 | req.next = next;
34 |
35 | setPrototypeOf(req, app.request)
36 | setPrototypeOf(res, app.response)
37 |
38 | res.locals = res.locals || Object.create(null);
39 |
40 | next();
41 | };
42 | };
43 |
44 |
--------------------------------------------------------------------------------
/node_modules/express/lib/middleware/query.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 | /**
12 | * Module dependencies.
13 | */
14 |
15 | var merge = require('utils-merge')
16 | var parseUrl = require('parseurl');
17 | var qs = require('qs');
18 |
19 | /**
20 | * @param {Object} options
21 | * @return {Function}
22 | * @api public
23 | */
24 |
25 | module.exports = function query(options) {
26 | var opts = merge({}, options)
27 | var queryparse = qs.parse;
28 |
29 | if (typeof options === 'function') {
30 | queryparse = options;
31 | opts = undefined;
32 | }
33 |
34 | if (opts !== undefined && opts.allowPrototypes === undefined) {
35 | // back-compat for qs module
36 | opts.allowPrototypes = true;
37 | }
38 |
39 | return function query(req, res, next){
40 | if (!req.query) {
41 | var val = parseUrl(req).query;
42 | req.query = queryparse(val, opts);
43 | }
44 |
45 | next();
46 | };
47 | };
48 |
--------------------------------------------------------------------------------
/node_modules/finalhandler/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014-2022 Douglas Christopher Wilson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/node_modules/finalhandler/SECURITY.md:
--------------------------------------------------------------------------------
1 | # Security Policies and Procedures
2 |
3 | ## Reporting a Bug
4 |
5 | The `finalhandler` team and community take all security bugs seriously. Thank
6 | you for improving the security of Express. We appreciate your efforts and
7 | responsible disclosure and will make every effort to acknowledge your
8 | contributions.
9 |
10 | Report security bugs by emailing the current owner(s) of `finalhandler`. This
11 | information can be found in the npm registry using the command
12 | `npm owner ls finalhandler`.
13 | If unsure or unable to get the information from the above, open an issue
14 | in the [project issue tracker](https://github.com/pillarjs/finalhandler/issues)
15 | asking for the current contact information.
16 |
17 | To ensure the timely response to your report, please ensure that the entirety
18 | of the report is contained within the email body and not solely behind a web
19 | link or an attachment.
20 |
21 | At least one owner will acknowledge your email within 48 hours, and will send a
22 | more detailed response within 48 hours indicating the next steps in handling
23 | your report. After the initial reply to your report, the owners will
24 | endeavor to keep you informed of the progress towards a fix and full
25 | announcement, and may ask for additional information or guidance.
26 |
--------------------------------------------------------------------------------
/node_modules/forwarded/HISTORY.md:
--------------------------------------------------------------------------------
1 | 0.2.0 / 2021-05-31
2 | ==================
3 |
4 | * Use `req.socket` over deprecated `req.connection`
5 |
6 | 0.1.2 / 2017-09-14
7 | ==================
8 |
9 | * perf: improve header parsing
10 | * perf: reduce overhead when no `X-Forwarded-For` header
11 |
12 | 0.1.1 / 2017-09-10
13 | ==================
14 |
15 | * Fix trimming leading / trailing OWS
16 | * perf: hoist regular expression
17 |
18 | 0.1.0 / 2014-09-21
19 | ==================
20 |
21 | * Initial release
22 |
--------------------------------------------------------------------------------
/node_modules/forwarded/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014-2017 Douglas Christopher Wilson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/node_modules/forwarded/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "forwarded",
3 | "description": "Parse HTTP X-Forwarded-For header",
4 | "version": "0.2.0",
5 | "contributors": [
6 | "Douglas Christopher Wilson "
7 | ],
8 | "license": "MIT",
9 | "keywords": [
10 | "x-forwarded-for",
11 | "http",
12 | "req"
13 | ],
14 | "repository": "jshttp/forwarded",
15 | "devDependencies": {
16 | "beautify-benchmark": "0.2.4",
17 | "benchmark": "2.1.4",
18 | "deep-equal": "1.0.1",
19 | "eslint": "7.27.0",
20 | "eslint-config-standard": "14.1.1",
21 | "eslint-plugin-import": "2.23.4",
22 | "eslint-plugin-node": "11.1.0",
23 | "eslint-plugin-promise": "4.3.1",
24 | "eslint-plugin-standard": "4.1.0",
25 | "mocha": "8.4.0",
26 | "nyc": "15.1.0"
27 | },
28 | "files": [
29 | "LICENSE",
30 | "HISTORY.md",
31 | "README.md",
32 | "index.js"
33 | ],
34 | "engines": {
35 | "node": ">= 0.6"
36 | },
37 | "scripts": {
38 | "bench": "node benchmark/index.js",
39 | "lint": "eslint .",
40 | "test": "mocha --reporter spec --bail --check-leaks test/",
41 | "test-ci": "nyc --reporter=lcov --reporter=text npm test",
42 | "test-cov": "nyc --reporter=html --reporter=text npm test",
43 | "version": "node scripts/version-history.js && git add HISTORY.md"
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/node_modules/fresh/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2012 TJ Holowaychuk
4 | Copyright (c) 2016-2017 Douglas Christopher Wilson
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining
7 | a copy of this software and associated documentation files (the
8 | 'Software'), to deal in the Software without restriction, including
9 | without limitation the rights to use, copy, modify, merge, publish,
10 | distribute, sublicense, and/or sell copies of the Software, and to
11 | permit persons to whom the Software is furnished to do so, subject to
12 | the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be
15 | included in all copies or substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 |
--------------------------------------------------------------------------------
/node_modules/function-bind/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 |
6 | "rules": {
7 | "func-name-matching": 0,
8 | "indent": [2, 4],
9 | "no-new-func": [1],
10 | },
11 |
12 | "overrides": [
13 | {
14 | "files": "test/**",
15 | "rules": {
16 | "max-lines-per-function": 0,
17 | "strict": [0]
18 | },
19 | },
20 | ],
21 | }
22 |
--------------------------------------------------------------------------------
/node_modules/function-bind/.github/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 |
--------------------------------------------------------------------------------
/node_modules/function-bind/.github/SECURITY.md:
--------------------------------------------------------------------------------
1 | # Security
2 |
3 | Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report.
4 |
--------------------------------------------------------------------------------
/node_modules/function-bind/.nycrc:
--------------------------------------------------------------------------------
1 | {
2 | "all": true,
3 | "check-coverage": false,
4 | "reporter": ["text-summary", "text", "html", "json"],
5 | "lines": 86,
6 | "statements": 85.93,
7 | "functions": 82.43,
8 | "branches": 76.06,
9 | "exclude": [
10 | "coverage",
11 | "test"
12 | ]
13 | }
14 |
--------------------------------------------------------------------------------
/node_modules/function-bind/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2013 Raynos.
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
21 |
--------------------------------------------------------------------------------
/node_modules/function-bind/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var implementation = require('./implementation');
4 |
5 | module.exports = Function.prototype.bind || implementation;
6 |
--------------------------------------------------------------------------------
/node_modules/function-bind/test/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "rules": {
3 | "array-bracket-newline": 0,
4 | "array-element-newline": 0,
5 | "max-statements-per-line": [2, { "max": 2 }],
6 | "no-invalid-this": 0,
7 | "no-magic-numbers": 0,
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/node_modules/get-intrinsic/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 |
6 | "env": {
7 | "es6": true,
8 | "es2017": true,
9 | "es2020": true,
10 | "es2021": true,
11 | "es2022": true,
12 | },
13 |
14 | "rules": {
15 | "array-bracket-newline": 0,
16 | "complexity": 0,
17 | "eqeqeq": [2, "allow-null"],
18 | "func-name-matching": 0,
19 | "id-length": 0,
20 | "max-lines": 0,
21 | "max-lines-per-function": [2, 90],
22 | "max-params": [2, 4],
23 | "max-statements": 0,
24 | "max-statements-per-line": [2, { "max": 2 }],
25 | "multiline-comment-style": 0,
26 | "no-magic-numbers": 0,
27 | "sort-keys": 0,
28 | },
29 |
30 | "overrides": [
31 | {
32 | "files": "test/**",
33 | "rules": {
34 | "new-cap": 0,
35 | },
36 | },
37 | ],
38 | }
39 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/node_modules/get-intrinsic/.nycrc:
--------------------------------------------------------------------------------
1 | {
2 | "all": true,
3 | "check-coverage": false,
4 | "reporter": ["text-summary", "text", "html", "json"],
5 | "exclude": [
6 | "coverage",
7 | "test"
8 | ]
9 | }
10 |
--------------------------------------------------------------------------------
/node_modules/get-intrinsic/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2020 Jordan Harband
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/gopd/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 |
6 | "rules": {
7 | "func-style": [2, "declaration"],
8 | "id-length": 0,
9 | "multiline-comment-style": 0,
10 | "new-cap": [2, {
11 | "capIsNewExceptions": [
12 | "GetIntrinsic",
13 | ],
14 | }],
15 | },
16 | }
17 |
--------------------------------------------------------------------------------
/node_modules/gopd/.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 |
--------------------------------------------------------------------------------
/node_modules/gopd/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2022 Jordan Harband
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/gopd/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var GetIntrinsic = require('get-intrinsic');
4 |
5 | var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
6 |
7 | if ($gOPD) {
8 | try {
9 | $gOPD([], 'length');
10 | } catch (e) {
11 | // IE 8 has a broken gOPD
12 | $gOPD = null;
13 | }
14 | }
15 |
16 | module.exports = $gOPD;
17 |
--------------------------------------------------------------------------------
/node_modules/gopd/test/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var test = require('tape');
4 | var gOPD = require('../');
5 |
6 | test('gOPD', function (t) {
7 | t.test('supported', { skip: !gOPD }, function (st) {
8 | st.equal(typeof gOPD, 'function', 'is a function');
9 |
10 | var obj = { x: 1 };
11 | st.ok('x' in obj, 'property exists');
12 |
13 | var desc = gOPD(obj, 'x');
14 | st.deepEqual(
15 | desc,
16 | {
17 | configurable: true,
18 | enumerable: true,
19 | value: 1,
20 | writable: true
21 | },
22 | 'descriptor is as expected'
23 | );
24 |
25 | st.end();
26 | });
27 |
28 | t.test('not supported', { skip: gOPD }, function (st) {
29 | st.notOk(gOPD, 'is falsy');
30 |
31 | st.end();
32 | });
33 |
34 | t.end();
35 | });
36 |
--------------------------------------------------------------------------------
/node_modules/has-property-descriptors/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 |
6 | "rules": {
7 | "func-name-matching": 0,
8 | "id-length": 0,
9 | "new-cap": [2, {
10 | "capIsNewExceptions": ["GetIntrinsic"],
11 | }],
12 | },
13 | }
14 |
--------------------------------------------------------------------------------
/node_modules/has-property-descriptors/.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-property-descriptors
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 |
--------------------------------------------------------------------------------
/node_modules/has-property-descriptors/.nycrc:
--------------------------------------------------------------------------------
1 | {
2 | "all": true,
3 | "check-coverage": false,
4 | "reporter": ["text-summary", "text", "html", "json"],
5 | "exclude": [
6 | "coverage",
7 | "test"
8 | ]
9 | }
10 |
--------------------------------------------------------------------------------
/node_modules/has-property-descriptors/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2022 Inspect JS
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/has-property-descriptors/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var $defineProperty = require('es-define-property');
4 |
5 | var hasPropertyDescriptors = function hasPropertyDescriptors() {
6 | return !!$defineProperty;
7 | };
8 |
9 | hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
10 | // node v0.6 has a bug where array lengths can be Set but not Defined
11 | if (!$defineProperty) {
12 | return null;
13 | }
14 | try {
15 | return $defineProperty([], 'length', { value: 1 }).length !== 1;
16 | } catch (e) {
17 | // In Firefox 4-22, defining length on an array throws an exception.
18 | return true;
19 | }
20 | };
21 |
22 | module.exports = hasPropertyDescriptors;
23 |
--------------------------------------------------------------------------------
/node_modules/has-proto/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 | }
6 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/node_modules/has-proto/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2022 Inspect JS
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/has-proto/index.d.ts:
--------------------------------------------------------------------------------
1 | declare function hasProto(): boolean;
2 |
3 | export = hasProto;
--------------------------------------------------------------------------------
/node_modules/has-proto/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var test = {
4 | __proto__: null,
5 | foo: {}
6 | };
7 |
8 | var $Object = Object;
9 |
10 | /** @type {import('.')} */
11 | module.exports = function hasProto() {
12 | // @ts-expect-error: TS errors on an inherited property for some reason
13 | return { __proto__: test }.foo === test.foo
14 | && !(test instanceof $Object);
15 | };
16 |
--------------------------------------------------------------------------------
/node_modules/has-proto/test/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var test = require('tape');
4 | var hasProto = require('../');
5 |
6 | test('hasProto', function (t) {
7 | var result = hasProto();
8 | t.equal(typeof result, 'boolean', 'returns a boolean (' + result + ')');
9 |
10 | var obj = { __proto__: null };
11 | if (result) {
12 | t.notOk('toString' in obj, 'null object lacks toString');
13 | } else {
14 | t.ok('toString' in obj, 'without proto, null object has toString');
15 | t.equal(obj.__proto__, null); // eslint-disable-line no-proto
16 | }
17 |
18 | t.end();
19 | });
20 |
--------------------------------------------------------------------------------
/node_modules/has-symbols/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 |
6 | "rules": {
7 | "max-statements-per-line": [2, { "max": 2 }],
8 | "no-magic-numbers": 0,
9 | "multiline-comment-style": 0,
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/node_modules/has-symbols/.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 |
--------------------------------------------------------------------------------
/node_modules/has-symbols/.nycrc:
--------------------------------------------------------------------------------
1 | {
2 | "all": true,
3 | "check-coverage": false,
4 | "reporter": ["text-summary", "text", "html", "json"],
5 | "exclude": [
6 | "coverage",
7 | "test"
8 | ]
9 | }
10 |
--------------------------------------------------------------------------------
/node_modules/has-symbols/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2016 Jordan Harband
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/has-symbols/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var origSymbol = typeof Symbol !== 'undefined' && Symbol;
4 | var hasSymbolSham = require('./shams');
5 |
6 | module.exports = function hasNativeSymbols() {
7 | if (typeof origSymbol !== 'function') { return false; }
8 | if (typeof Symbol !== 'function') { return false; }
9 | if (typeof origSymbol('foo') !== 'symbol') { return false; }
10 | if (typeof Symbol('bar') !== 'symbol') { return false; }
11 |
12 | return hasSymbolSham();
13 | };
14 |
--------------------------------------------------------------------------------
/node_modules/has-symbols/test/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var test = require('tape');
4 | var hasSymbols = require('../');
5 | var runSymbolTests = require('./tests');
6 |
7 | test('interface', function (t) {
8 | t.equal(typeof hasSymbols, 'function', 'is a function');
9 | t.equal(typeof hasSymbols(), 'boolean', 'returns a boolean');
10 | t.end();
11 | });
12 |
13 | test('Symbols are supported', { skip: !hasSymbols() }, function (t) {
14 | runSymbolTests(t);
15 | t.end();
16 | });
17 |
18 | test('Symbols are not supported', { skip: hasSymbols() }, function (t) {
19 | t.equal(typeof Symbol, 'undefined', 'global Symbol is undefined');
20 | t.equal(typeof Object.getOwnPropertySymbols, 'undefined', 'Object.getOwnPropertySymbols does not exist');
21 | t.end();
22 | });
23 |
--------------------------------------------------------------------------------
/node_modules/has-symbols/test/shams/core-js.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var test = require('tape');
4 |
5 | if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') {
6 | test('has native Symbol support', function (t) {
7 | t.equal(typeof Symbol, 'function');
8 | t.equal(typeof Symbol(), 'symbol');
9 | t.end();
10 | });
11 | return;
12 | }
13 |
14 | var hasSymbols = require('../../shams');
15 |
16 | test('polyfilled Symbols', function (t) {
17 | /* eslint-disable global-require */
18 | t.equal(hasSymbols(), false, 'hasSymbols is false before polyfilling');
19 | require('core-js/fn/symbol');
20 | require('core-js/fn/symbol/to-string-tag');
21 |
22 | require('../tests')(t);
23 |
24 | var hasSymbolsAfter = hasSymbols();
25 | t.equal(hasSymbolsAfter, true, 'hasSymbols is true after polyfilling');
26 | /* eslint-enable global-require */
27 | t.end();
28 | });
29 |
--------------------------------------------------------------------------------
/node_modules/has-symbols/test/shams/get-own-property-symbols.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var test = require('tape');
4 |
5 | if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') {
6 | test('has native Symbol support', function (t) {
7 | t.equal(typeof Symbol, 'function');
8 | t.equal(typeof Symbol(), 'symbol');
9 | t.end();
10 | });
11 | return;
12 | }
13 |
14 | var hasSymbols = require('../../shams');
15 |
16 | test('polyfilled Symbols', function (t) {
17 | /* eslint-disable global-require */
18 | t.equal(hasSymbols(), false, 'hasSymbols is false before polyfilling');
19 |
20 | require('get-own-property-symbols');
21 |
22 | require('../tests')(t);
23 |
24 | var hasSymbolsAfter = hasSymbols();
25 | t.equal(hasSymbolsAfter, true, 'hasSymbols is true after polyfilling');
26 | /* eslint-enable global-require */
27 | t.end();
28 | });
29 |
--------------------------------------------------------------------------------
/node_modules/hasown/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 | }
6 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/node_modules/hasown/.nycrc:
--------------------------------------------------------------------------------
1 | {
2 | "all": true,
3 | "check-coverage": false,
4 | "reporter": ["text-summary", "text", "html", "json"],
5 | "lines": 86,
6 | "statements": 85.93,
7 | "functions": 82.43,
8 | "branches": 76.06,
9 | "exclude": [
10 | "coverage",
11 | "test"
12 | ]
13 | }
14 |
--------------------------------------------------------------------------------
/node_modules/hasown/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) Jordan Harband and contributors
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/hasown/index.d.ts:
--------------------------------------------------------------------------------
1 | declare function hasOwn(o: O, p: K): o is O & Record;
2 |
3 | export = hasOwn;
4 |
--------------------------------------------------------------------------------
/node_modules/hasown/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var call = Function.prototype.call;
4 | var $hasOwn = Object.prototype.hasOwnProperty;
5 | var bind = require('function-bind');
6 |
7 | /** @type {import('.')} */
8 | module.exports = bind.call(call, $hasOwn);
9 |
--------------------------------------------------------------------------------
/node_modules/hasown/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "@ljharb/tsconfig",
3 | "exclude": [
4 | "coverage",
5 | ],
6 | }
7 |
--------------------------------------------------------------------------------
/node_modules/http-errors/LICENSE:
--------------------------------------------------------------------------------
1 |
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2014 Jonathan Ong me@jongleberry.com
5 | Copyright (c) 2016 Douglas Christopher Wilson doug@somethingdoug.com
6 |
7 | Permission is hereby granted, free of charge, to any person obtaining a copy
8 | of this software and associated documentation files (the "Software"), to deal
9 | in the Software without restriction, including without limitation the rights
10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11 | copies of the Software, and to permit persons to whom the Software is
12 | furnished to do so, subject to the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be included in
15 | all copies or substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23 | THE SOFTWARE.
24 |
--------------------------------------------------------------------------------
/node_modules/iconv-lite/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2011 Alexander Shtuchkin
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining
4 | a copy of this software and associated documentation files (the
5 | "Software"), to deal in the Software without restriction, including
6 | without limitation the rights to use, copy, modify, merge, publish,
7 | distribute, sublicense, and/or sell copies of the Software, and to
8 | permit persons to whom the Software is furnished to do so, subject to
9 | the following conditions:
10 |
11 | The above copyright notice and this permission notice shall be
12 | included in all copies or substantial portions of the Software.
13 |
14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
22 |
--------------------------------------------------------------------------------
/node_modules/iconv-lite/encodings/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | // Update this array if you add/rename/remove files in this directory.
4 | // We support Browserify by skipping automatic module discovery and requiring modules directly.
5 | var modules = [
6 | require("./internal"),
7 | require("./utf16"),
8 | require("./utf7"),
9 | require("./sbcs-codec"),
10 | require("./sbcs-data"),
11 | require("./sbcs-data-generated"),
12 | require("./dbcs-codec"),
13 | require("./dbcs-data"),
14 | ];
15 |
16 | // Put all encoding/alias/codec definitions to single object and export it.
17 | for (var i = 0; i < modules.length; i++) {
18 | var module = modules[i];
19 | for (var enc in module)
20 | if (Object.prototype.hasOwnProperty.call(module, enc))
21 | exports[enc] = module[enc];
22 | }
23 |
--------------------------------------------------------------------------------
/node_modules/iconv-lite/encodings/tables/gbk-added.json:
--------------------------------------------------------------------------------
1 | [
2 | ["a140","",62],
3 | ["a180","",32],
4 | ["a240","",62],
5 | ["a280","",32],
6 | ["a2ab","",5],
7 | ["a2e3","€"],
8 | ["a2ef",""],
9 | ["a2fd",""],
10 | ["a340","",62],
11 | ["a380","",31," "],
12 | ["a440","",62],
13 | ["a480","",32],
14 | ["a4f4","",10],
15 | ["a540","",62],
16 | ["a580","",32],
17 | ["a5f7","",7],
18 | ["a640","",62],
19 | ["a680","",32],
20 | ["a6b9","",7],
21 | ["a6d9","",6],
22 | ["a6ec",""],
23 | ["a6f3",""],
24 | ["a6f6","",8],
25 | ["a740","",62],
26 | ["a780","",32],
27 | ["a7c2","",14],
28 | ["a7f2","",12],
29 | ["a896","",10],
30 | ["a8bc",""],
31 | ["a8bf","ǹ"],
32 | ["a8c1",""],
33 | ["a8ea","",20],
34 | ["a958",""],
35 | ["a95b",""],
36 | ["a95d",""],
37 | ["a989","〾⿰",11],
38 | ["a997","",12],
39 | ["a9f0","",14],
40 | ["aaa1","",93],
41 | ["aba1","",93],
42 | ["aca1","",93],
43 | ["ada1","",93],
44 | ["aea1","",93],
45 | ["afa1","",93],
46 | ["d7fa","",4],
47 | ["f8a1","",93],
48 | ["f9a1","",93],
49 | ["faa1","",93],
50 | ["fba1","",93],
51 | ["fca1","",93],
52 | ["fda1","",93],
53 | ["fe50","⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌"],
54 | ["fe80","䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓",6,"䶮",93]
55 | ]
56 |
--------------------------------------------------------------------------------
/node_modules/iconv-lite/lib/bom-handling.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var BOMChar = '\uFEFF';
4 |
5 | exports.PrependBOM = PrependBOMWrapper
6 | function PrependBOMWrapper(encoder, options) {
7 | this.encoder = encoder;
8 | this.addBOM = true;
9 | }
10 |
11 | PrependBOMWrapper.prototype.write = function(str) {
12 | if (this.addBOM) {
13 | str = BOMChar + str;
14 | this.addBOM = false;
15 | }
16 |
17 | return this.encoder.write(str);
18 | }
19 |
20 | PrependBOMWrapper.prototype.end = function() {
21 | return this.encoder.end();
22 | }
23 |
24 |
25 | //------------------------------------------------------------------------------
26 |
27 | exports.StripBOM = StripBOMWrapper;
28 | function StripBOMWrapper(decoder, options) {
29 | this.decoder = decoder;
30 | this.pass = false;
31 | this.options = options || {};
32 | }
33 |
34 | StripBOMWrapper.prototype.write = function(buf) {
35 | var res = this.decoder.write(buf);
36 | if (this.pass || !res)
37 | return res;
38 |
39 | if (res[0] === BOMChar) {
40 | res = res.slice(1);
41 | if (typeof this.options.stripBOM === 'function')
42 | this.options.stripBOM();
43 | }
44 |
45 | this.pass = true;
46 | return res;
47 | }
48 |
49 | StripBOMWrapper.prototype.end = function() {
50 | return this.decoder.end();
51 | }
52 |
53 |
--------------------------------------------------------------------------------
/node_modules/iconv-lite/lib/index.d.ts:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License.
4 | * REQUIREMENT: This definition is dependent on the @types/node definition.
5 | * Install with `npm install @types/node --save-dev`
6 | *--------------------------------------------------------------------------------------------*/
7 |
8 | declare module 'iconv-lite' {
9 | export function decode(buffer: Buffer, encoding: string, options?: Options): string;
10 |
11 | export function encode(content: string, encoding: string, options?: Options): Buffer;
12 |
13 | export function encodingExists(encoding: string): boolean;
14 |
15 | export function decodeStream(encoding: string, options?: Options): NodeJS.ReadWriteStream;
16 |
17 | export function encodeStream(encoding: string, options?: Options): NodeJS.ReadWriteStream;
18 | }
19 |
20 | export interface Options {
21 | stripBOM?: boolean;
22 | addBOM?: boolean;
23 | defaultEncoding?: string;
24 | }
25 |
--------------------------------------------------------------------------------
/node_modules/inherits/LICENSE:
--------------------------------------------------------------------------------
1 | The ISC License
2 |
3 | Copyright (c) Isaac Z. Schlueter
4 |
5 | Permission to use, copy, modify, and/or distribute this software for any
6 | purpose with or without fee is hereby granted, provided that the above
7 | copyright notice and this permission notice appear in all copies.
8 |
9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
10 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
11 | FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
12 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
14 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15 | PERFORMANCE OF THIS SOFTWARE.
16 |
17 |
--------------------------------------------------------------------------------
/node_modules/inherits/inherits.js:
--------------------------------------------------------------------------------
1 | try {
2 | var util = require('util');
3 | /* istanbul ignore next */
4 | if (typeof util.inherits !== 'function') throw '';
5 | module.exports = util.inherits;
6 | } catch (e) {
7 | /* istanbul ignore next */
8 | module.exports = require('./inherits_browser.js');
9 | }
10 |
--------------------------------------------------------------------------------
/node_modules/inherits/inherits_browser.js:
--------------------------------------------------------------------------------
1 | if (typeof Object.create === 'function') {
2 | // implementation from standard node.js 'util' module
3 | module.exports = function inherits(ctor, superCtor) {
4 | if (superCtor) {
5 | ctor.super_ = superCtor
6 | ctor.prototype = Object.create(superCtor.prototype, {
7 | constructor: {
8 | value: ctor,
9 | enumerable: false,
10 | writable: true,
11 | configurable: true
12 | }
13 | })
14 | }
15 | };
16 | } else {
17 | // old school shim for old browsers
18 | module.exports = function inherits(ctor, superCtor) {
19 | if (superCtor) {
20 | ctor.super_ = superCtor
21 | var TempCtor = function () {}
22 | TempCtor.prototype = superCtor.prototype
23 | ctor.prototype = new TempCtor()
24 | ctor.prototype.constructor = ctor
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/node_modules/inherits/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "inherits",
3 | "description": "Browser-friendly inheritance fully compatible with standard node.js inherits()",
4 | "version": "2.0.4",
5 | "keywords": [
6 | "inheritance",
7 | "class",
8 | "klass",
9 | "oop",
10 | "object-oriented",
11 | "inherits",
12 | "browser",
13 | "browserify"
14 | ],
15 | "main": "./inherits.js",
16 | "browser": "./inherits_browser.js",
17 | "repository": "git://github.com/isaacs/inherits",
18 | "license": "ISC",
19 | "scripts": {
20 | "test": "tap"
21 | },
22 | "devDependencies": {
23 | "tap": "^14.2.4"
24 | },
25 | "files": [
26 | "inherits.js",
27 | "inherits_browser.js"
28 | ]
29 | }
30 |
--------------------------------------------------------------------------------
/node_modules/ipaddr.js/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (C) 2011-2017 whitequark
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/node_modules/ipaddr.js/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ipaddr.js",
3 | "description": "A library for manipulating IPv4 and IPv6 addresses in JavaScript.",
4 | "version": "1.9.1",
5 | "author": "whitequark ",
6 | "directories": {
7 | "lib": "./lib"
8 | },
9 | "dependencies": {},
10 | "devDependencies": {
11 | "coffee-script": "~1.12.6",
12 | "nodeunit": "^0.11.3",
13 | "uglify-js": "~3.0.19"
14 | },
15 | "scripts": {
16 | "test": "cake build test"
17 | },
18 | "files": [
19 | "lib/",
20 | "LICENSE",
21 | "ipaddr.min.js"
22 | ],
23 | "keywords": [
24 | "ip",
25 | "ipv4",
26 | "ipv6"
27 | ],
28 | "repository": "git://github.com/whitequark/ipaddr.js",
29 | "main": "./lib/ipaddr.js",
30 | "engines": {
31 | "node": ">= 0.10"
32 | },
33 | "license": "MIT",
34 | "types": "./lib/ipaddr.js.d.ts"
35 | }
36 |
--------------------------------------------------------------------------------
/node_modules/media-typer/HISTORY.md:
--------------------------------------------------------------------------------
1 | 0.3.0 / 2014-09-07
2 | ==================
3 |
4 | * Support Node.js 0.6
5 | * Throw error when parameter format invalid on parse
6 |
7 | 0.2.0 / 2014-06-18
8 | ==================
9 |
10 | * Add `typer.format()` to format media types
11 |
12 | 0.1.0 / 2014-06-17
13 | ==================
14 |
15 | * Accept `req` as argument to `parse`
16 | * Accept `res` as argument to `parse`
17 | * Parse media type with extra LWS between type and first parameter
18 |
19 | 0.0.0 / 2014-06-13
20 | ==================
21 |
22 | * Initial implementation
23 |
--------------------------------------------------------------------------------
/node_modules/media-typer/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014 Douglas Christopher Wilson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/node_modules/media-typer/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "media-typer",
3 | "description": "Simple RFC 6838 media type parser and formatter",
4 | "version": "0.3.0",
5 | "author": "Douglas Christopher Wilson ",
6 | "license": "MIT",
7 | "repository": "jshttp/media-typer",
8 | "devDependencies": {
9 | "istanbul": "0.3.2",
10 | "mocha": "~1.21.4",
11 | "should": "~4.0.4"
12 | },
13 | "files": [
14 | "LICENSE",
15 | "HISTORY.md",
16 | "index.js"
17 | ],
18 | "engines": {
19 | "node": ">= 0.6"
20 | },
21 | "scripts": {
22 | "test": "mocha --reporter spec --check-leaks --bail test/",
23 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
24 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/node_modules/merge-descriptors/HISTORY.md:
--------------------------------------------------------------------------------
1 | 1.0.1 / 2016-01-17
2 | ==================
3 |
4 | * perf: enable strict mode
5 |
6 | 1.0.0 / 2015-03-01
7 | ==================
8 |
9 | * Add option to only add new descriptors
10 | * Add simple argument validation
11 | * Add jsdoc to source file
12 |
13 | 0.0.2 / 2013-12-14
14 | ==================
15 |
16 | * Move repository to `component` organization
17 |
18 | 0.0.1 / 2013-10-29
19 | ==================
20 |
21 | * Initial release
22 |
--------------------------------------------------------------------------------
/node_modules/merge-descriptors/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2013 Jonathan Ong
4 | Copyright (c) 2015 Douglas Christopher Wilson
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining
7 | a copy of this software and associated documentation files (the
8 | 'Software'), to deal in the Software without restriction, including
9 | without limitation the rights to use, copy, modify, merge, publish,
10 | distribute, sublicense, and/or sell copies of the Software, and to
11 | permit persons to whom the Software is furnished to do so, subject to
12 | the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be
15 | included in all copies or substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 |
--------------------------------------------------------------------------------
/node_modules/merge-descriptors/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "merge-descriptors",
3 | "description": "Merge objects using descriptors",
4 | "version": "1.0.1",
5 | "author": {
6 | "name": "Jonathan Ong",
7 | "email": "me@jongleberry.com",
8 | "url": "http://jongleberry.com",
9 | "twitter": "https://twitter.com/jongleberry"
10 | },
11 | "contributors": [
12 | "Douglas Christopher Wilson ",
13 | "Mike Grabowski "
14 | ],
15 | "license": "MIT",
16 | "repository": "component/merge-descriptors",
17 | "devDependencies": {
18 | "istanbul": "0.4.1",
19 | "mocha": "1.21.5"
20 | },
21 | "files": [
22 | "HISTORY.md",
23 | "LICENSE",
24 | "README.md",
25 | "index.js"
26 | ],
27 | "scripts": {
28 | "test": "mocha --reporter spec --bail --check-leaks test/",
29 | "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
30 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/node_modules/methods/HISTORY.md:
--------------------------------------------------------------------------------
1 | 1.1.2 / 2016-01-17
2 | ==================
3 |
4 | * perf: enable strict mode
5 |
6 | 1.1.1 / 2014-12-30
7 | ==================
8 |
9 | * Improve `browserify` support
10 |
11 | 1.1.0 / 2014-07-05
12 | ==================
13 |
14 | * Add `CONNECT` method
15 |
16 | 1.0.1 / 2014-06-02
17 | ==================
18 |
19 | * Fix module to work with harmony transform
20 |
21 | 1.0.0 / 2014-05-08
22 | ==================
23 |
24 | * Add `PURGE` method
25 |
26 | 0.1.0 / 2013-10-28
27 | ==================
28 |
29 | * Add `http.METHODS` support
30 |
--------------------------------------------------------------------------------
/node_modules/methods/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2013-2014 TJ Holowaychuk
4 | Copyright (c) 2015-2016 Douglas Christopher Wilson
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining
7 | a copy of this software and associated documentation files (the
8 | 'Software'), to deal in the Software without restriction, including
9 | without limitation the rights to use, copy, modify, merge, publish,
10 | distribute, sublicense, and/or sell copies of the Software, and to
11 | permit persons to whom the Software is furnished to do so, subject to
12 | the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be
15 | included in all copies or substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 |
25 |
--------------------------------------------------------------------------------
/node_modules/methods/index.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * methods
3 | * Copyright(c) 2013-2014 TJ Holowaychuk
4 | * Copyright(c) 2015-2016 Douglas Christopher Wilson
5 | * MIT Licensed
6 | */
7 |
8 | 'use strict';
9 |
10 | /**
11 | * Module dependencies.
12 | * @private
13 | */
14 |
15 | var http = require('http');
16 |
17 | /**
18 | * Module exports.
19 | * @public
20 | */
21 |
22 | module.exports = getCurrentNodeMethods() || getBasicNodeMethods();
23 |
24 | /**
25 | * Get the current Node.js methods.
26 | * @private
27 | */
28 |
29 | function getCurrentNodeMethods() {
30 | return http.METHODS && http.METHODS.map(function lowerCaseMethod(method) {
31 | return method.toLowerCase();
32 | });
33 | }
34 |
35 | /**
36 | * Get the "basic" Node.js methods, a snapshot from Node.js 0.10.
37 | * @private
38 | */
39 |
40 | function getBasicNodeMethods() {
41 | return [
42 | 'get',
43 | 'post',
44 | 'put',
45 | 'head',
46 | 'delete',
47 | 'options',
48 | 'trace',
49 | 'copy',
50 | 'lock',
51 | 'mkcol',
52 | 'move',
53 | 'purge',
54 | 'propfind',
55 | 'proppatch',
56 | 'unlock',
57 | 'report',
58 | 'mkactivity',
59 | 'checkout',
60 | 'merge',
61 | 'm-search',
62 | 'notify',
63 | 'subscribe',
64 | 'unsubscribe',
65 | 'patch',
66 | 'search',
67 | 'connect'
68 | ];
69 | }
70 |
--------------------------------------------------------------------------------
/node_modules/methods/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "methods",
3 | "description": "HTTP methods that node supports",
4 | "version": "1.1.2",
5 | "contributors": [
6 | "Douglas Christopher Wilson ",
7 | "Jonathan Ong (http://jongleberry.com)",
8 | "TJ Holowaychuk (http://tjholowaychuk.com)"
9 | ],
10 | "license": "MIT",
11 | "repository": "jshttp/methods",
12 | "devDependencies": {
13 | "istanbul": "0.4.1",
14 | "mocha": "1.21.5"
15 | },
16 | "files": [
17 | "index.js",
18 | "HISTORY.md",
19 | "LICENSE"
20 | ],
21 | "engines": {
22 | "node": ">= 0.6"
23 | },
24 | "scripts": {
25 | "test": "mocha --reporter spec --bail --check-leaks test/",
26 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
27 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
28 | },
29 | "browser": {
30 | "http": false
31 | },
32 | "keywords": [
33 | "http",
34 | "methods"
35 | ]
36 | }
37 |
--------------------------------------------------------------------------------
/node_modules/mime-db/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014 Jonathan Ong
4 | Copyright (c) 2015-2022 Douglas Christopher Wilson
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining
7 | a copy of this software and associated documentation files (the
8 | 'Software'), to deal in the Software without restriction, including
9 | without limitation the rights to use, copy, modify, merge, publish,
10 | distribute, sublicense, and/or sell copies of the Software, and to
11 | permit persons to whom the Software is furnished to do so, subject to
12 | the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be
15 | included in all copies or substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 |
--------------------------------------------------------------------------------
/node_modules/mime-db/index.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * mime-db
3 | * Copyright(c) 2014 Jonathan Ong
4 | * Copyright(c) 2015-2022 Douglas Christopher Wilson
5 | * MIT Licensed
6 | */
7 |
8 | /**
9 | * Module exports.
10 | */
11 |
12 | module.exports = require('./db.json')
13 |
--------------------------------------------------------------------------------
/node_modules/mime-types/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014 Jonathan Ong
4 | Copyright (c) 2015 Douglas Christopher Wilson
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining
7 | a copy of this software and associated documentation files (the
8 | 'Software'), to deal in the Software without restriction, including
9 | without limitation the rights to use, copy, modify, merge, publish,
10 | distribute, sublicense, and/or sell copies of the Software, and to
11 | permit persons to whom the Software is furnished to do so, subject to
12 | the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be
15 | included in all copies or substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 |
--------------------------------------------------------------------------------
/node_modules/mime-types/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "mime-types",
3 | "description": "The ultimate javascript content-type utility.",
4 | "version": "2.1.35",
5 | "contributors": [
6 | "Douglas Christopher Wilson ",
7 | "Jeremiah Senkpiel (https://searchbeam.jit.su)",
8 | "Jonathan Ong (http://jongleberry.com)"
9 | ],
10 | "license": "MIT",
11 | "keywords": [
12 | "mime",
13 | "types"
14 | ],
15 | "repository": "jshttp/mime-types",
16 | "dependencies": {
17 | "mime-db": "1.52.0"
18 | },
19 | "devDependencies": {
20 | "eslint": "7.32.0",
21 | "eslint-config-standard": "14.1.1",
22 | "eslint-plugin-import": "2.25.4",
23 | "eslint-plugin-markdown": "2.2.1",
24 | "eslint-plugin-node": "11.1.0",
25 | "eslint-plugin-promise": "5.2.0",
26 | "eslint-plugin-standard": "4.1.0",
27 | "mocha": "9.2.2",
28 | "nyc": "15.1.0"
29 | },
30 | "files": [
31 | "HISTORY.md",
32 | "LICENSE",
33 | "index.js"
34 | ],
35 | "engines": {
36 | "node": ">= 0.6"
37 | },
38 | "scripts": {
39 | "lint": "eslint .",
40 | "test": "mocha --reporter spec test/test.js",
41 | "test-ci": "nyc --reporter=lcov --reporter=text npm test",
42 | "test-cov": "nyc --reporter=html --reporter=text npm test"
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/node_modules/mime/.npmignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kmrchandan006/Express-Js/a42ed1851c78b892cb5f03d723edd39e81ca8dcd/node_modules/mime/.npmignore
--------------------------------------------------------------------------------
/node_modules/mime/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2010 Benjamin Thomas, Robert Kieffer
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in
13 | all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | THE SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/mime/cli.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | var mime = require('./mime.js');
4 | var file = process.argv[2];
5 | var type = mime.lookup(file);
6 |
7 | process.stdout.write(type + '\n');
8 |
9 |
--------------------------------------------------------------------------------
/node_modules/mime/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "author": {
3 | "name": "Robert Kieffer",
4 | "url": "http://github.com/broofa",
5 | "email": "robert@broofa.com"
6 | },
7 | "bin": {
8 | "mime": "cli.js"
9 | },
10 | "engines": {
11 | "node": ">=4"
12 | },
13 | "contributors": [
14 | {
15 | "name": "Benjamin Thomas",
16 | "url": "http://github.com/bentomas",
17 | "email": "benjamin@benjaminthomas.org"
18 | }
19 | ],
20 | "description": "A comprehensive library for mime-type mapping",
21 | "license": "MIT",
22 | "dependencies": {},
23 | "devDependencies": {
24 | "github-release-notes": "0.13.1",
25 | "mime-db": "1.31.0",
26 | "mime-score": "1.1.0"
27 | },
28 | "scripts": {
29 | "prepare": "node src/build.js",
30 | "changelog": "gren changelog --tags=all --generate --override",
31 | "test": "node src/test.js"
32 | },
33 | "keywords": [
34 | "util",
35 | "mime"
36 | ],
37 | "main": "mime.js",
38 | "name": "mime",
39 | "repository": {
40 | "url": "https://github.com/broofa/node-mime",
41 | "type": "git"
42 | },
43 | "version": "1.6.0"
44 | }
45 |
--------------------------------------------------------------------------------
/node_modules/ms/license.md:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 Zeit, Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/ms/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ms",
3 | "version": "2.0.0",
4 | "description": "Tiny milisecond conversion utility",
5 | "repository": "zeit/ms",
6 | "main": "./index",
7 | "files": [
8 | "index.js"
9 | ],
10 | "scripts": {
11 | "precommit": "lint-staged",
12 | "lint": "eslint lib/* bin/*",
13 | "test": "mocha tests.js"
14 | },
15 | "eslintConfig": {
16 | "extends": "eslint:recommended",
17 | "env": {
18 | "node": true,
19 | "es6": true
20 | }
21 | },
22 | "lint-staged": {
23 | "*.js": [
24 | "npm run lint",
25 | "prettier --single-quote --write",
26 | "git add"
27 | ]
28 | },
29 | "license": "MIT",
30 | "devDependencies": {
31 | "eslint": "3.19.0",
32 | "expect.js": "0.3.1",
33 | "husky": "0.13.3",
34 | "lint-staged": "3.4.1",
35 | "mocha": "3.4.1"
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/node_modules/negotiator/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2012-2014 Federico Romero
4 | Copyright (c) 2012-2014 Isaac Z. Schlueter
5 | Copyright (c) 2014-2015 Douglas Christopher Wilson
6 |
7 | Permission is hereby granted, free of charge, to any person obtaining
8 | a copy of this software and associated documentation files (the
9 | 'Software'), to deal in the Software without restriction, including
10 | without limitation the rights to use, copy, modify, merge, publish,
11 | distribute, sublicense, and/or sell copies of the Software, and to
12 | permit persons to whom the Software is furnished to do so, subject to
13 | the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be
16 | included in all copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
19 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
21 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 |
--------------------------------------------------------------------------------
/node_modules/negotiator/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "negotiator",
3 | "description": "HTTP content negotiation",
4 | "version": "0.6.3",
5 | "contributors": [
6 | "Douglas Christopher Wilson ",
7 | "Federico Romero ",
8 | "Isaac Z. Schlueter (http://blog.izs.me/)"
9 | ],
10 | "license": "MIT",
11 | "keywords": [
12 | "http",
13 | "content negotiation",
14 | "accept",
15 | "accept-language",
16 | "accept-encoding",
17 | "accept-charset"
18 | ],
19 | "repository": "jshttp/negotiator",
20 | "devDependencies": {
21 | "eslint": "7.32.0",
22 | "eslint-plugin-markdown": "2.2.1",
23 | "mocha": "9.1.3",
24 | "nyc": "15.1.0"
25 | },
26 | "files": [
27 | "lib/",
28 | "HISTORY.md",
29 | "LICENSE",
30 | "index.js",
31 | "README.md"
32 | ],
33 | "engines": {
34 | "node": ">= 0.6"
35 | },
36 | "scripts": {
37 | "lint": "eslint .",
38 | "test": "mocha --reporter spec --check-leaks --bail test/",
39 | "test-ci": "nyc --reporter=lcov --reporter=text npm test",
40 | "test-cov": "nyc --reporter=html --reporter=text npm test"
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/node_modules/object-inspect/.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/object-inspect
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 |
--------------------------------------------------------------------------------
/node_modules/object-inspect/.nycrc:
--------------------------------------------------------------------------------
1 | {
2 | "all": true,
3 | "check-coverage": false,
4 | "instrumentation": false,
5 | "sourceMap": false,
6 | "reporter": ["text-summary", "text", "html", "json"],
7 | "exclude": [
8 | "coverage",
9 | "example",
10 | "test",
11 | "test-core-js.js"
12 | ]
13 | }
14 |
--------------------------------------------------------------------------------
/node_modules/object-inspect/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2013 James Halliday
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/object-inspect/example/all.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var inspect = require('../');
4 | var Buffer = require('safer-buffer').Buffer;
5 |
6 | var holes = ['a', 'b'];
7 | holes[4] = 'e';
8 | holes[6] = 'g';
9 |
10 | var obj = {
11 | a: 1,
12 | b: [3, 4, undefined, null],
13 | c: undefined,
14 | d: null,
15 | e: {
16 | regex: /^x/i,
17 | buf: Buffer.from('abc'),
18 | holes: holes
19 | },
20 | now: new Date()
21 | };
22 | obj.self = obj;
23 | console.log(inspect(obj));
24 |
--------------------------------------------------------------------------------
/node_modules/object-inspect/example/circular.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var inspect = require('../');
4 | var obj = { a: 1, b: [3, 4] };
5 | obj.c = obj;
6 | console.log(inspect(obj));
7 |
--------------------------------------------------------------------------------
/node_modules/object-inspect/example/fn.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var inspect = require('../');
4 | var obj = [1, 2, function f(n) { return n + 5; }, 4];
5 | console.log(inspect(obj));
6 |
--------------------------------------------------------------------------------
/node_modules/object-inspect/example/inspect.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | /* eslint-env browser */
4 | var inspect = require('../');
5 |
6 | var d = document.createElement('div');
7 | d.setAttribute('id', 'beep');
8 | d.innerHTML = 'woooiiiii';
9 |
10 | console.log(inspect([d, { a: 3, b: 4, c: [5, 6, [7, [8, [9]]]] }]));
11 |
--------------------------------------------------------------------------------
/node_modules/object-inspect/package-support.json:
--------------------------------------------------------------------------------
1 | {
2 | "versions": [
3 | {
4 | "version": "*",
5 | "target": {
6 | "node": "all"
7 | },
8 | "response": {
9 | "type": "time-permitting"
10 | },
11 | "backing": {
12 | "npm-funding": true,
13 | "donations": [
14 | "https://github.com/ljharb",
15 | "https://tidelift.com/funding/github/npm/object-inspect"
16 | ]
17 | }
18 | }
19 | ]
20 | }
21 |
--------------------------------------------------------------------------------
/node_modules/object-inspect/test-core-js.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | require('core-js');
4 |
5 | var inspect = require('./');
6 | var test = require('tape');
7 |
8 | test('Maps', function (t) {
9 | t.equal(inspect(new Map([[1, 2]])), 'Map (1) {1 => 2}');
10 | t.end();
11 | });
12 |
13 | test('WeakMaps', function (t) {
14 | t.equal(inspect(new WeakMap([[{}, 2]])), 'WeakMap { ? }');
15 | t.end();
16 | });
17 |
18 | test('Sets', function (t) {
19 | t.equal(inspect(new Set([[1, 2]])), 'Set (1) {[ 1, 2 ]}');
20 | t.end();
21 | });
22 |
23 | test('WeakSets', function (t) {
24 | t.equal(inspect(new WeakSet([[1, 2]])), 'WeakSet { ? }');
25 | t.end();
26 | });
27 |
--------------------------------------------------------------------------------
/node_modules/object-inspect/test/browser/dom.js:
--------------------------------------------------------------------------------
1 | var inspect = require('../../');
2 | var test = require('tape');
3 |
4 | test('dom element', function (t) {
5 | t.plan(1);
6 |
7 | var d = document.createElement('div');
8 | d.setAttribute('id', 'beep');
9 | d.innerHTML = 'woooiiiii';
10 |
11 | t.equal(
12 | inspect([d, { a: 3, b: 4, c: [5, 6, [7, [8, [9]]]] }]),
13 | '[ ...
, { a: 3, b: 4, c: [ 5, 6, [ 7, [ 8, [Object] ] ] ] } ]'
14 | );
15 | });
16 |
--------------------------------------------------------------------------------
/node_modules/object-inspect/test/circular.js:
--------------------------------------------------------------------------------
1 | var inspect = require('../');
2 | var test = require('tape');
3 |
4 | test('circular', function (t) {
5 | t.plan(2);
6 | var obj = { a: 1, b: [3, 4] };
7 | obj.c = obj;
8 | t.equal(inspect(obj), '{ a: 1, b: [ 3, 4 ], c: [Circular] }');
9 |
10 | var double = {};
11 | double.a = [double];
12 | double.b = {};
13 | double.b.inner = double.b;
14 | double.b.obj = double;
15 | t.equal(inspect(double), '{ a: [ [Circular] ], b: { inner: [Circular], obj: [Circular] } }');
16 | });
17 |
--------------------------------------------------------------------------------
/node_modules/object-inspect/test/deep.js:
--------------------------------------------------------------------------------
1 | var inspect = require('../');
2 | var test = require('tape');
3 |
4 | test('deep', function (t) {
5 | t.plan(4);
6 | var obj = [[[[[[500]]]]]];
7 | t.equal(inspect(obj), '[ [ [ [ [ [Array] ] ] ] ] ]');
8 | t.equal(inspect(obj, { depth: 4 }), '[ [ [ [ [Array] ] ] ] ]');
9 | t.equal(inspect(obj, { depth: 2 }), '[ [ [Array] ] ]');
10 |
11 | t.equal(inspect([[[{ a: 1 }]]], { depth: 3 }), '[ [ [ [Object] ] ] ]');
12 | });
13 |
--------------------------------------------------------------------------------
/node_modules/object-inspect/test/fakes.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var inspect = require('../');
4 | var test = require('tape');
5 | var hasToStringTag = require('has-tostringtag/shams')();
6 | var forEach = require('for-each');
7 |
8 | test('fakes', { skip: !hasToStringTag }, function (t) {
9 | forEach([
10 | 'Array',
11 | 'Boolean',
12 | 'Date',
13 | 'Error',
14 | 'Number',
15 | 'RegExp',
16 | 'String'
17 | ], function (expected) {
18 | var faker = {};
19 | faker[Symbol.toStringTag] = expected;
20 |
21 | t.equal(
22 | inspect(faker),
23 | '{ [Symbol(Symbol.toStringTag)]: \'' + expected + '\' }',
24 | 'faker masquerading as ' + expected + ' is not shown as one'
25 | );
26 | });
27 |
28 | t.end();
29 | });
30 |
--------------------------------------------------------------------------------
/node_modules/object-inspect/test/global.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var inspect = require('../');
4 |
5 | var test = require('tape');
6 | var globalThis = require('globalthis')();
7 |
8 | test('global object', function (t) {
9 | /* eslint-env browser */
10 | var expected = typeof window === 'undefined' ? 'globalThis' : 'Window';
11 | t.equal(
12 | inspect([globalThis]),
13 | '[ { [object ' + expected + '] } ]'
14 | );
15 |
16 | t.end();
17 | });
18 |
--------------------------------------------------------------------------------
/node_modules/object-inspect/test/has.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var inspect = require('../');
4 | var test = require('tape');
5 | var mockProperty = require('mock-property');
6 |
7 | test('when Object#hasOwnProperty is deleted', function (t) {
8 | t.plan(1);
9 | var arr = [1, , 3]; // eslint-disable-line no-sparse-arrays
10 |
11 | t.teardown(mockProperty(Array.prototype, 1, { value: 2 })); // this is needed to account for "in" vs "hasOwnProperty"
12 | t.teardown(mockProperty(Object.prototype, 'hasOwnProperty', { 'delete': true }));
13 |
14 | t.equal(inspect(arr), '[ 1, , 3 ]');
15 | });
16 |
--------------------------------------------------------------------------------
/node_modules/object-inspect/test/holes.js:
--------------------------------------------------------------------------------
1 | var test = require('tape');
2 | var inspect = require('../');
3 |
4 | var xs = ['a', 'b'];
5 | xs[5] = 'f';
6 | xs[7] = 'j';
7 | xs[8] = 'k';
8 |
9 | test('holes', function (t) {
10 | t.plan(1);
11 | t.equal(
12 | inspect(xs),
13 | "[ 'a', 'b', , , , 'f', , 'j', 'k' ]"
14 | );
15 | });
16 |
--------------------------------------------------------------------------------
/node_modules/object-inspect/test/lowbyte.js:
--------------------------------------------------------------------------------
1 | var test = require('tape');
2 | var inspect = require('../');
3 |
4 | var obj = { x: 'a\r\nb', y: '\x05! \x1f \x12' };
5 |
6 | test('interpolate low bytes', function (t) {
7 | t.plan(1);
8 | t.equal(
9 | inspect(obj),
10 | "{ x: 'a\\r\\nb', y: '\\x05! \\x1F \\x12' }"
11 | );
12 | });
13 |
--------------------------------------------------------------------------------
/node_modules/object-inspect/test/quoteStyle.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var inspect = require('../');
4 | var test = require('tape');
5 |
6 | test('quoteStyle option', function (t) {
7 | t['throws'](function () { inspect(null, { quoteStyle: false }); }, 'false is not a valid value');
8 | t['throws'](function () { inspect(null, { quoteStyle: true }); }, 'true is not a valid value');
9 | t['throws'](function () { inspect(null, { quoteStyle: '' }); }, '"" is not a valid value');
10 | t['throws'](function () { inspect(null, { quoteStyle: {} }); }, '{} is not a valid value');
11 | t['throws'](function () { inspect(null, { quoteStyle: [] }); }, '[] is not a valid value');
12 | t['throws'](function () { inspect(null, { quoteStyle: 42 }); }, '42 is not a valid value');
13 | t['throws'](function () { inspect(null, { quoteStyle: NaN }); }, 'NaN is not a valid value');
14 | t['throws'](function () { inspect(null, { quoteStyle: function () {} }); }, 'a function is not a valid value');
15 |
16 | t.end();
17 | });
18 |
--------------------------------------------------------------------------------
/node_modules/object-inspect/test/undef.js:
--------------------------------------------------------------------------------
1 | var test = require('tape');
2 | var inspect = require('../');
3 |
4 | var obj = { a: 1, b: [3, 4, undefined, null], c: undefined, d: null };
5 |
6 | test('undef and null', function (t) {
7 | t.plan(1);
8 | t.equal(
9 | inspect(obj),
10 | '{ a: 1, b: [ 3, 4, undefined, null ], c: undefined, d: null }'
11 | );
12 | });
13 |
--------------------------------------------------------------------------------
/node_modules/object-inspect/util.inspect.js:
--------------------------------------------------------------------------------
1 | module.exports = require('util').inspect;
2 |
--------------------------------------------------------------------------------
/node_modules/on-finished/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2013 Jonathan Ong
4 | Copyright (c) 2014 Douglas Christopher Wilson
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining
7 | a copy of this software and associated documentation files (the
8 | 'Software'), to deal in the Software without restriction, including
9 | without limitation the rights to use, copy, modify, merge, publish,
10 | distribute, sublicense, and/or sell copies of the Software, and to
11 | permit persons to whom the Software is furnished to do so, subject to
12 | the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be
15 | included in all copies or substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 |
--------------------------------------------------------------------------------
/node_modules/on-finished/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "on-finished",
3 | "description": "Execute a callback when a request closes, finishes, or errors",
4 | "version": "2.4.1",
5 | "contributors": [
6 | "Douglas Christopher Wilson ",
7 | "Jonathan Ong (http://jongleberry.com)"
8 | ],
9 | "license": "MIT",
10 | "repository": "jshttp/on-finished",
11 | "dependencies": {
12 | "ee-first": "1.1.1"
13 | },
14 | "devDependencies": {
15 | "eslint": "7.32.0",
16 | "eslint-config-standard": "14.1.1",
17 | "eslint-plugin-import": "2.25.4",
18 | "eslint-plugin-markdown": "2.2.1",
19 | "eslint-plugin-node": "11.1.0",
20 | "eslint-plugin-promise": "5.2.0",
21 | "eslint-plugin-standard": "4.1.0",
22 | "mocha": "9.2.1",
23 | "nyc": "15.1.0"
24 | },
25 | "engines": {
26 | "node": ">= 0.8"
27 | },
28 | "files": [
29 | "HISTORY.md",
30 | "LICENSE",
31 | "index.js"
32 | ],
33 | "scripts": {
34 | "lint": "eslint .",
35 | "test": "mocha --reporter spec --bail --check-leaks test/",
36 | "test-ci": "nyc --reporter=lcovonly --reporter=text npm test",
37 | "test-cov": "nyc --reporter=html --reporter=text npm test"
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/node_modules/parseurl/HISTORY.md:
--------------------------------------------------------------------------------
1 | 1.3.3 / 2019-04-15
2 | ==================
3 |
4 | * Fix Node.js 0.8 return value inconsistencies
5 |
6 | 1.3.2 / 2017-09-09
7 | ==================
8 |
9 | * perf: reduce overhead for full URLs
10 | * perf: unroll the "fast-path" `RegExp`
11 |
12 | 1.3.1 / 2016-01-17
13 | ==================
14 |
15 | * perf: enable strict mode
16 |
17 | 1.3.0 / 2014-08-09
18 | ==================
19 |
20 | * Add `parseurl.original` for parsing `req.originalUrl` with fallback
21 | * Return `undefined` if `req.url` is `undefined`
22 |
23 | 1.2.0 / 2014-07-21
24 | ==================
25 |
26 | * Cache URLs based on original value
27 | * Remove no-longer-needed URL mis-parse work-around
28 | * Simplify the "fast-path" `RegExp`
29 |
30 | 1.1.3 / 2014-07-08
31 | ==================
32 |
33 | * Fix typo
34 |
35 | 1.1.2 / 2014-07-08
36 | ==================
37 |
38 | * Seriously fix Node.js 0.8 compatibility
39 |
40 | 1.1.1 / 2014-07-08
41 | ==================
42 |
43 | * Fix Node.js 0.8 compatibility
44 |
45 | 1.1.0 / 2014-07-08
46 | ==================
47 |
48 | * Incorporate URL href-only parse fast-path
49 |
50 | 1.0.1 / 2014-03-08
51 | ==================
52 |
53 | * Add missing `require`
54 |
55 | 1.0.0 / 2014-03-08
56 | ==================
57 |
58 | * Genesis from `connect`
59 |
--------------------------------------------------------------------------------
/node_modules/parseurl/LICENSE:
--------------------------------------------------------------------------------
1 |
2 | (The MIT License)
3 |
4 | Copyright (c) 2014 Jonathan Ong
5 | Copyright (c) 2014-2017 Douglas Christopher Wilson
6 |
7 | Permission is hereby granted, free of charge, to any person obtaining
8 | a copy of this software and associated documentation files (the
9 | 'Software'), to deal in the Software without restriction, including
10 | without limitation the rights to use, copy, modify, merge, publish,
11 | distribute, sublicense, and/or sell copies of the Software, and to
12 | permit persons to whom the Software is furnished to do so, subject to
13 | the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be
16 | included in all copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
19 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
21 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 |
--------------------------------------------------------------------------------
/node_modules/path-to-regexp/History.md:
--------------------------------------------------------------------------------
1 | 0.1.7 / 2015-07-28
2 | ==================
3 |
4 | * Fixed regression with escaped round brackets and matching groups.
5 |
6 | 0.1.6 / 2015-06-19
7 | ==================
8 |
9 | * Replace `index` feature by outputting all parameters, unnamed and named.
10 |
11 | 0.1.5 / 2015-05-08
12 | ==================
13 |
14 | * Add an index property for position in match result.
15 |
16 | 0.1.4 / 2015-03-05
17 | ==================
18 |
19 | * Add license information
20 |
21 | 0.1.3 / 2014-07-06
22 | ==================
23 |
24 | * Better array support
25 | * Improved support for trailing slash in non-ending mode
26 |
27 | 0.1.0 / 2014-03-06
28 | ==================
29 |
30 | * add options.end
31 |
32 | 0.0.2 / 2013-02-10
33 | ==================
34 |
35 | * Update to match current express
36 | * add .license property to component.json
37 |
--------------------------------------------------------------------------------
/node_modules/path-to-regexp/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in
13 | all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | THE SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/path-to-regexp/Readme.md:
--------------------------------------------------------------------------------
1 | # Path-to-RegExp
2 |
3 | Turn an Express-style path string such as `/user/:name` into a regular expression.
4 |
5 | **Note:** This is a legacy branch. You should upgrade to `1.x`.
6 |
7 | ## Usage
8 |
9 | ```javascript
10 | var pathToRegexp = require('path-to-regexp');
11 | ```
12 |
13 | ### pathToRegexp(path, keys, options)
14 |
15 | - **path** A string in the express format, an array of such strings, or a regular expression
16 | - **keys** An array to be populated with the keys present in the url. Once the function completes, this will be an array of strings.
17 | - **options**
18 | - **options.sensitive** Defaults to false, set this to true to make routes case sensitive
19 | - **options.strict** Defaults to false, set this to true to make the trailing slash matter.
20 | - **options.end** Defaults to true, set this to false to only match the prefix of the URL.
21 |
22 | ```javascript
23 | var keys = [];
24 | var exp = pathToRegexp('/foo/:bar', keys);
25 | //keys = ['bar']
26 | //exp = /^\/foo\/(?:([^\/]+?))\/?$/i
27 | ```
28 |
29 | ## Live Demo
30 |
31 | You can see a live demo of this library in use at [express-route-tester](http://forbeslindesay.github.com/express-route-tester/).
32 |
33 | ## License
34 |
35 | MIT
36 |
--------------------------------------------------------------------------------
/node_modules/path-to-regexp/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "path-to-regexp",
3 | "description": "Express style path to RegExp utility",
4 | "version": "0.1.7",
5 | "files": [
6 | "index.js",
7 | "LICENSE"
8 | ],
9 | "scripts": {
10 | "test": "istanbul cover _mocha -- -R spec"
11 | },
12 | "keywords": [
13 | "express",
14 | "regexp"
15 | ],
16 | "component": {
17 | "scripts": {
18 | "path-to-regexp": "index.js"
19 | }
20 | },
21 | "license": "MIT",
22 | "repository": {
23 | "type": "git",
24 | "url": "https://github.com/component/path-to-regexp.git"
25 | },
26 | "devDependencies": {
27 | "mocha": "^1.17.1",
28 | "istanbul": "^0.2.6"
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/node_modules/proxy-addr/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014-2016 Douglas Christopher Wilson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/node_modules/qs/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | indent_style = space
5 | indent_size = 4
6 | end_of_line = lf
7 | charset = utf-8
8 | trim_trailing_whitespace = true
9 | insert_final_newline = true
10 | max_line_length = 160
11 | quote_type = single
12 |
13 | [test/*]
14 | max_line_length = off
15 |
16 | [LICENSE.md]
17 | indent_size = off
18 |
19 | [*.md]
20 | max_line_length = off
21 |
22 | [*.json]
23 | max_line_length = off
24 |
25 | [Makefile]
26 | max_line_length = off
27 |
28 | [CHANGELOG.md]
29 | indent_style = space
30 | indent_size = 2
31 |
32 | [LICENSE]
33 | indent_size = 2
34 | max_line_length = off
35 |
36 | [coverage/**/*]
37 | indent_size = off
38 | indent_style = off
39 | indent = off
40 | max_line_length = off
41 |
42 | [.nycrc]
43 | indent_style = tab
44 |
--------------------------------------------------------------------------------
/node_modules/qs/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 |
6 | "ignorePatterns": [
7 | "dist/",
8 | ],
9 |
10 | "rules": {
11 | "complexity": 0,
12 | "consistent-return": 1,
13 | "func-name-matching": 0,
14 | "id-length": [2, { "min": 1, "max": 25, "properties": "never" }],
15 | "indent": [2, 4],
16 | "max-lines-per-function": [2, { "max": 150 }],
17 | "max-params": [2, 16],
18 | "max-statements": [2, 53],
19 | "multiline-comment-style": 0,
20 | "no-continue": 1,
21 | "no-magic-numbers": 0,
22 | "no-restricted-syntax": [2, "BreakStatement", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"],
23 | },
24 |
25 | "overrides": [
26 | {
27 | "files": "test/**",
28 | "rules": {
29 | "function-paren-newline": 0,
30 | "max-lines-per-function": 0,
31 | "max-statements": 0,
32 | "no-buffer-constructor": 0,
33 | "no-extend-native": 0,
34 | "no-throw-literal": 0,
35 | },
36 | },
37 | ],
38 | }
39 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/node_modules/qs/.nycrc:
--------------------------------------------------------------------------------
1 | {
2 | "all": true,
3 | "check-coverage": false,
4 | "reporter": ["text-summary", "text", "html", "json"],
5 | "lines": 86,
6 | "statements": 85.93,
7 | "functions": 82.43,
8 | "branches": 76.06,
9 | "exclude": [
10 | "coverage",
11 | "dist"
12 | ]
13 | }
14 |
--------------------------------------------------------------------------------
/node_modules/qs/lib/formats.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var replace = String.prototype.replace;
4 | var percentTwenties = /%20/g;
5 |
6 | var Format = {
7 | RFC1738: 'RFC1738',
8 | RFC3986: 'RFC3986'
9 | };
10 |
11 | module.exports = {
12 | 'default': Format.RFC3986,
13 | formatters: {
14 | RFC1738: function (value) {
15 | return replace.call(value, percentTwenties, '+');
16 | },
17 | RFC3986: function (value) {
18 | return String(value);
19 | }
20 | },
21 | RFC1738: Format.RFC1738,
22 | RFC3986: Format.RFC3986
23 | };
24 |
--------------------------------------------------------------------------------
/node_modules/qs/lib/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var stringify = require('./stringify');
4 | var parse = require('./parse');
5 | var formats = require('./formats');
6 |
7 | module.exports = {
8 | formats: formats,
9 | parse: parse,
10 | stringify: stringify
11 | };
12 |
--------------------------------------------------------------------------------
/node_modules/range-parser/HISTORY.md:
--------------------------------------------------------------------------------
1 | 1.2.1 / 2019-05-10
2 | ==================
3 |
4 | * Improve error when `str` is not a string
5 |
6 | 1.2.0 / 2016-06-01
7 | ==================
8 |
9 | * Add `combine` option to combine overlapping ranges
10 |
11 | 1.1.0 / 2016-05-13
12 | ==================
13 |
14 | * Fix incorrectly returning -1 when there is at least one valid range
15 | * perf: remove internal function
16 |
17 | 1.0.3 / 2015-10-29
18 | ==================
19 |
20 | * perf: enable strict mode
21 |
22 | 1.0.2 / 2014-09-08
23 | ==================
24 |
25 | * Support Node.js 0.6
26 |
27 | 1.0.1 / 2014-09-07
28 | ==================
29 |
30 | * Move repository to jshttp
31 |
32 | 1.0.0 / 2013-12-11
33 | ==================
34 |
35 | * Add repository to package.json
36 | * Add MIT license
37 |
38 | 0.0.4 / 2012-06-17
39 | ==================
40 |
41 | * Change ret -1 for unsatisfiable and -2 when invalid
42 |
43 | 0.0.3 / 2012-06-17
44 | ==================
45 |
46 | * Fix last-byte-pos default to len - 1
47 |
48 | 0.0.2 / 2012-06-14
49 | ==================
50 |
51 | * Add `.type`
52 |
53 | 0.0.1 / 2012-06-11
54 | ==================
55 |
56 | * Initial release
57 |
--------------------------------------------------------------------------------
/node_modules/range-parser/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2012-2014 TJ Holowaychuk
4 | Copyright (c) 2015-2016 Douglas Christopher Wilson
4 | Copyright (c) 2014-2022 Douglas Christopher Wilson
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy
7 | of this software and associated documentation files (the "Software"), to deal
8 | in the Software without restriction, including without limitation the rights
9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | copies of the Software, and to permit persons to whom the Software is
11 | furnished to do so, subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in
14 | all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/node_modules/raw-body/SECURITY.md:
--------------------------------------------------------------------------------
1 | # Security Policies and Procedures
2 |
3 | ## Reporting a Bug
4 |
5 | The `raw-body` team and community take all security bugs seriously. Thank you
6 | for improving the security of Express. We appreciate your efforts and
7 | responsible disclosure and will make every effort to acknowledge your
8 | contributions.
9 |
10 | Report security bugs by emailing the current owners of `raw-body`. This information
11 | can be found in the npm registry using the command `npm owner ls raw-body`.
12 | If unsure or unable to get the information from the above, open an issue
13 | in the [project issue tracker](https://github.com/stream-utils/raw-body/issues)
14 | asking for the current contact information.
15 |
16 | To ensure the timely response to your report, please ensure that the entirety
17 | of the report is contained within the email body and not solely behind a web
18 | link or an attachment.
19 |
20 | At least one owner will acknowledge your email within 48 hours, and will send a
21 | more detailed response within 48 hours indicating the next steps in handling
22 | your report. After the initial reply to your report, the owners will
23 | endeavor to keep you informed of the progress towards a fix and full
24 | announcement, and may ask for additional information or guidance.
25 |
--------------------------------------------------------------------------------
/node_modules/safe-buffer/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) Feross Aboukhadijeh
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in
13 | all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | THE SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/safe-buffer/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "safe-buffer",
3 | "description": "Safer Node.js Buffer API",
4 | "version": "5.2.1",
5 | "author": {
6 | "name": "Feross Aboukhadijeh",
7 | "email": "feross@feross.org",
8 | "url": "https://feross.org"
9 | },
10 | "bugs": {
11 | "url": "https://github.com/feross/safe-buffer/issues"
12 | },
13 | "devDependencies": {
14 | "standard": "*",
15 | "tape": "^5.0.0"
16 | },
17 | "homepage": "https://github.com/feross/safe-buffer",
18 | "keywords": [
19 | "buffer",
20 | "buffer allocate",
21 | "node security",
22 | "safe",
23 | "safe-buffer",
24 | "security",
25 | "uninitialized"
26 | ],
27 | "license": "MIT",
28 | "main": "index.js",
29 | "types": "index.d.ts",
30 | "repository": {
31 | "type": "git",
32 | "url": "git://github.com/feross/safe-buffer.git"
33 | },
34 | "scripts": {
35 | "test": "standard && tape test/*.js"
36 | },
37 | "funding": [
38 | {
39 | "type": "github",
40 | "url": "https://github.com/sponsors/feross"
41 | },
42 | {
43 | "type": "patreon",
44 | "url": "https://www.patreon.com/feross"
45 | },
46 | {
47 | "type": "consulting",
48 | "url": "https://feross.org/support"
49 | }
50 | ]
51 | }
52 |
--------------------------------------------------------------------------------
/node_modules/safer-buffer/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2018 Nikita Skovoroda
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/safer-buffer/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "safer-buffer",
3 | "version": "2.1.2",
4 | "description": "Modern Buffer API polyfill without footguns",
5 | "main": "safer.js",
6 | "scripts": {
7 | "browserify-test": "browserify --external tape tests.js > browserify-tests.js && tape browserify-tests.js",
8 | "test": "standard && tape tests.js"
9 | },
10 | "author": {
11 | "name": "Nikita Skovoroda",
12 | "email": "chalkerx@gmail.com",
13 | "url": "https://github.com/ChALkeR"
14 | },
15 | "license": "MIT",
16 | "repository": {
17 | "type": "git",
18 | "url": "git+https://github.com/ChALkeR/safer-buffer.git"
19 | },
20 | "bugs": {
21 | "url": "https://github.com/ChALkeR/safer-buffer/issues"
22 | },
23 | "devDependencies": {
24 | "standard": "^11.0.1",
25 | "tape": "^4.9.0"
26 | },
27 | "files": [
28 | "Porting-Buffer.md",
29 | "Readme.md",
30 | "tests.js",
31 | "dangerous.js",
32 | "safer.js"
33 | ]
34 | }
35 |
--------------------------------------------------------------------------------
/node_modules/send/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2012 TJ Holowaychuk
4 | Copyright (c) 2014-2022 Douglas Christopher Wilson
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining
7 | a copy of this software and associated documentation files (the
8 | 'Software'), to deal in the Software without restriction, including
9 | without limitation the rights to use, copy, modify, merge, publish,
10 | distribute, sublicense, and/or sell copies of the Software, and to
11 | permit persons to whom the Software is furnished to do so, subject to
12 | the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be
15 | included in all copies or substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 |
--------------------------------------------------------------------------------
/node_modules/send/SECURITY.md:
--------------------------------------------------------------------------------
1 | # Security Policies and Procedures
2 |
3 | ## Reporting a Bug
4 |
5 | The `send` team and community take all security bugs seriously. Thank you
6 | for improving the security of Express. We appreciate your efforts and
7 | responsible disclosure and will make every effort to acknowledge your
8 | contributions.
9 |
10 | Report security bugs by emailing the current owner(s) of `send`. This information
11 | can be found in the npm registry using the command `npm owner ls send`.
12 | If unsure or unable to get the information from the above, open an issue
13 | in the [project issue tracker](https://github.com/pillarjs/send/issues)
14 | asking for the current contact information.
15 |
16 | To ensure the timely response to your report, please ensure that the entirety
17 | of the report is contained within the email body and not solely behind a web
18 | link or an attachment.
19 |
20 | At least one owner will acknowledge your email within 48 hours, and will send a
21 | more detailed response within 48 hours indicating the next steps in handling
22 | your report. After the initial reply to your report, the owners will
23 | endeavor to keep you informed of the progress towards a fix and full
24 | announcement, and may ask for additional information or guidance.
25 |
--------------------------------------------------------------------------------
/node_modules/send/node_modules/ms/license.md:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2020 Vercel, Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/send/node_modules/ms/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ms",
3 | "version": "2.1.3",
4 | "description": "Tiny millisecond conversion utility",
5 | "repository": "vercel/ms",
6 | "main": "./index",
7 | "files": [
8 | "index.js"
9 | ],
10 | "scripts": {
11 | "precommit": "lint-staged",
12 | "lint": "eslint lib/* bin/*",
13 | "test": "mocha tests.js"
14 | },
15 | "eslintConfig": {
16 | "extends": "eslint:recommended",
17 | "env": {
18 | "node": true,
19 | "es6": true
20 | }
21 | },
22 | "lint-staged": {
23 | "*.js": [
24 | "npm run lint",
25 | "prettier --single-quote --write",
26 | "git add"
27 | ]
28 | },
29 | "license": "MIT",
30 | "devDependencies": {
31 | "eslint": "4.18.2",
32 | "expect.js": "0.3.1",
33 | "husky": "0.14.3",
34 | "lint-staged": "5.0.0",
35 | "mocha": "4.0.1",
36 | "prettier": "2.0.5"
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/node_modules/serve-static/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2010 Sencha Inc.
4 | Copyright (c) 2011 LearnBoost
5 | Copyright (c) 2011 TJ Holowaychuk
6 | Copyright (c) 2014-2016 Douglas Christopher Wilson
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining
9 | a copy of this software and associated documentation files (the
10 | 'Software'), to deal in the Software without restriction, including
11 | without limitation the rights to use, copy, modify, merge, publish,
12 | distribute, sublicense, and/or sell copies of the Software, and to
13 | permit persons to whom the Software is furnished to do so, subject to
14 | the following conditions:
15 |
16 | The above copyright notice and this permission notice shall be
17 | included in all copies or substantial portions of the Software.
18 |
19 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
20 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
22 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
23 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
24 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
25 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26 |
--------------------------------------------------------------------------------
/node_modules/serve-static/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "serve-static",
3 | "description": "Serve static files",
4 | "version": "1.15.0",
5 | "author": "Douglas Christopher Wilson ",
6 | "license": "MIT",
7 | "repository": "expressjs/serve-static",
8 | "dependencies": {
9 | "encodeurl": "~1.0.2",
10 | "escape-html": "~1.0.3",
11 | "parseurl": "~1.3.3",
12 | "send": "0.18.0"
13 | },
14 | "devDependencies": {
15 | "eslint": "7.32.0",
16 | "eslint-config-standard": "14.1.1",
17 | "eslint-plugin-import": "2.25.4",
18 | "eslint-plugin-markdown": "2.2.1",
19 | "eslint-plugin-node": "11.1.0",
20 | "eslint-plugin-promise": "5.2.0",
21 | "eslint-plugin-standard": "4.1.0",
22 | "mocha": "9.2.2",
23 | "nyc": "15.1.0",
24 | "safe-buffer": "5.2.1",
25 | "supertest": "6.2.2"
26 | },
27 | "files": [
28 | "LICENSE",
29 | "HISTORY.md",
30 | "index.js"
31 | ],
32 | "engines": {
33 | "node": ">= 0.8.0"
34 | },
35 | "scripts": {
36 | "lint": "eslint .",
37 | "test": "mocha --reporter spec --bail --check-leaks test/",
38 | "test-ci": "nyc --reporter=lcov --reporter=text npm test",
39 | "test-cov": "nyc --reporter=html --reporter=text npm test",
40 | "version": "node scripts/version-history.js && git add HISTORY.md"
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/node_modules/set-function-length/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 |
6 | "rules": {
7 | "id-length": "off",
8 | "new-cap": ["error", {
9 | "capIsNewExceptions": [
10 | "GetIntrinsic"
11 | ],
12 | }],
13 | "no-extra-parens": "off",
14 | },
15 |
16 | "overrides": [
17 | {
18 | "files": ["test/**/*.js"],
19 | "rules": {
20 | "id-length": "off",
21 | "max-lines-per-function": "off",
22 | "multiline-comment-style": "off",
23 | "no-empty-function": "off",
24 | },
25 | },
26 | ],
27 | }
28 |
--------------------------------------------------------------------------------
/node_modules/set-function-length/.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 |
--------------------------------------------------------------------------------
/node_modules/set-function-length/.nycrc:
--------------------------------------------------------------------------------
1 | {
2 | "all": true,
3 | "check-coverage": false,
4 | "reporter": ["text-summary", "text", "html", "json"],
5 | "lines": 86,
6 | "statements": 85.93,
7 | "functions": 82.43,
8 | "branches": 76.06,
9 | "exclude": [
10 | "coverage",
11 | "test"
12 | ]
13 | }
14 |
--------------------------------------------------------------------------------
/node_modules/set-function-length/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) Jordan Harband and contributors
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/set-function-length/env.d.ts:
--------------------------------------------------------------------------------
1 | declare const env: {
2 | __proto__: null,
3 | boundFnsHaveConfigurableLengths: boolean;
4 | boundFnsHaveWritableLengths: boolean;
5 | functionsHaveConfigurableLengths: boolean;
6 | functionsHaveWritableLengths: boolean;
7 | };
8 |
9 | export = env;
--------------------------------------------------------------------------------
/node_modules/set-function-length/env.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var gOPD = require('gopd');
4 | var bind = require('function-bind');
5 |
6 | var unbound = gOPD && gOPD(function () {}, 'length');
7 | // @ts-expect-error ts(2555) TS is overly strict with .call
8 | var bound = gOPD && gOPD(bind.call(function () {}), 'length');
9 |
10 | var functionsHaveConfigurableLengths = !!(unbound && unbound.configurable);
11 |
12 | var functionsHaveWritableLengths = !!(unbound && unbound.writable);
13 |
14 | var boundFnsHaveConfigurableLengths = !!(bound && bound.configurable);
15 |
16 | var boundFnsHaveWritableLengths = !!(bound && bound.writable);
17 |
18 | /** @type {import('./env')} */
19 | module.exports = {
20 | __proto__: null,
21 | boundFnsHaveConfigurableLengths: boundFnsHaveConfigurableLengths,
22 | boundFnsHaveWritableLengths: boundFnsHaveWritableLengths,
23 | functionsHaveConfigurableLengths: functionsHaveConfigurableLengths,
24 | functionsHaveWritableLengths: functionsHaveWritableLengths
25 | };
26 |
--------------------------------------------------------------------------------
/node_modules/set-function-length/index.d.ts:
--------------------------------------------------------------------------------
1 | declare namespace setFunctionLength {
2 | type Func = (...args: unknown[]) => unknown;
3 | }
4 |
5 | declare function setFunctionLength(fn: T, length: number, loose?: boolean): T;
6 |
7 | export = setFunctionLength;
--------------------------------------------------------------------------------
/node_modules/set-function-length/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "@ljharb/tsconfig",
3 | "compilerOptions": {
4 | "target": "es2021",
5 | },
6 | "exclude": [
7 | "coverage",
8 | ],
9 | }
10 |
--------------------------------------------------------------------------------
/node_modules/setprototypeof/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2015, Wes Todd
2 |
3 | Permission to use, copy, modify, and/or distribute this software for any
4 | purpose with or without fee is hereby granted, provided that the above
5 | copyright notice and this permission notice appear in all copies.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
10 | SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
12 | OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
13 | CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14 |
--------------------------------------------------------------------------------
/node_modules/setprototypeof/README.md:
--------------------------------------------------------------------------------
1 | # Polyfill for `Object.setPrototypeOf`
2 |
3 | [](https://npmjs.org/package/setprototypeof)
4 | [](https://npmjs.org/package/setprototypeof)
5 | [](https://github.com/standard/standard)
6 |
7 | A simple cross platform implementation to set the prototype of an instianted object. Supports all modern browsers and at least back to IE8.
8 |
9 | ## Usage:
10 |
11 | ```
12 | $ npm install --save setprototypeof
13 | ```
14 |
15 | ```javascript
16 | var setPrototypeOf = require('setprototypeof')
17 |
18 | var obj = {}
19 | setPrototypeOf(obj, {
20 | foo: function () {
21 | return 'bar'
22 | }
23 | })
24 | obj.foo() // bar
25 | ```
26 |
27 | TypeScript is also supported:
28 |
29 | ```typescript
30 | import setPrototypeOf from 'setprototypeof'
31 | ```
32 |
--------------------------------------------------------------------------------
/node_modules/setprototypeof/index.d.ts:
--------------------------------------------------------------------------------
1 | declare function setPrototypeOf(o: any, proto: object | null): any;
2 | export = setPrototypeOf;
3 |
--------------------------------------------------------------------------------
/node_modules/setprototypeof/index.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 | /* eslint no-proto: 0 */
3 | module.exports = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties)
4 |
5 | function setProtoOf (obj, proto) {
6 | obj.__proto__ = proto
7 | return obj
8 | }
9 |
10 | function mixinProperties (obj, proto) {
11 | for (var prop in proto) {
12 | if (!Object.prototype.hasOwnProperty.call(obj, prop)) {
13 | obj[prop] = proto[prop]
14 | }
15 | }
16 | return obj
17 | }
18 |
--------------------------------------------------------------------------------
/node_modules/setprototypeof/test/index.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 | /* eslint-env mocha */
3 | /* eslint no-proto: 0 */
4 | var assert = require('assert')
5 | var setPrototypeOf = require('..')
6 |
7 | describe('setProtoOf(obj, proto)', function () {
8 | it('should merge objects', function () {
9 | var obj = { a: 1, b: 2 }
10 | var proto = { b: 3, c: 4 }
11 | var mergeObj = setPrototypeOf(obj, proto)
12 |
13 | if (Object.getPrototypeOf) {
14 | assert.strictEqual(Object.getPrototypeOf(obj), proto)
15 | } else if ({ __proto__: [] } instanceof Array) {
16 | assert.strictEqual(obj.__proto__, proto)
17 | } else {
18 | assert.strictEqual(obj.a, 1)
19 | assert.strictEqual(obj.b, 2)
20 | assert.strictEqual(obj.c, 4)
21 | }
22 | assert.strictEqual(mergeObj, obj)
23 | })
24 | })
25 |
--------------------------------------------------------------------------------
/node_modules/side-channel/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | end_of_line = lf
6 | insert_final_newline = true
7 | indent_style = tab
8 | indent_size = 2
9 | trim_trailing_whitespace = true
10 |
--------------------------------------------------------------------------------
/node_modules/side-channel/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 |
6 | "rules": {
7 | "max-lines-per-function": 0,
8 | "multiline-comment-style": 1,
9 | "new-cap": [2, { "capIsNewExceptions": ["GetIntrinsic"] }],
10 | },
11 | }
12 |
--------------------------------------------------------------------------------
/node_modules/side-channel/.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 |
--------------------------------------------------------------------------------
/node_modules/side-channel/.nycrc:
--------------------------------------------------------------------------------
1 | {
2 | "all": true,
3 | "check-coverage": false,
4 | "reporter": ["text-summary", "text", "html", "json"],
5 | "lines": 86,
6 | "statements": 85.93,
7 | "functions": 82.43,
8 | "branches": 76.06,
9 | "exclude": [
10 | "coverage",
11 | "test"
12 | ]
13 | }
14 |
--------------------------------------------------------------------------------
/node_modules/side-channel/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 Jordan Harband
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/side-channel/README.md:
--------------------------------------------------------------------------------
1 | # side-channel
2 | Store information about any JS value in a side channel. Uses WeakMap if available.
3 |
--------------------------------------------------------------------------------
/node_modules/side-channel/index.d.ts:
--------------------------------------------------------------------------------
1 | declare namespace getSideChannel {
2 | type Key = unknown;
3 | type ListNode = {
4 | key: Key;
5 | next: ListNode;
6 | value: T;
7 | };
8 | type RootNode = {
9 | key: object;
10 | next: null | ListNode;
11 | };
12 | function listGetNode(list: RootNode, key: ListNode['key']): ListNode | void;
13 | function listGet(objects: RootNode, key: ListNode['key']): T | void;
14 | function listSet(objects: RootNode, key: ListNode['key'], value: T): void;
15 | function listHas(objects: RootNode, key: ListNode['key']): boolean;
16 |
17 | type Channel = {
18 | assert: (key: Key) => void;
19 | has: (key: Key) => boolean;
20 | get: (key: Key) => T;
21 | set: (key: Key, value: T) => void;
22 | }
23 | }
24 |
25 | declare function getSideChannel(): getSideChannel.Channel;
26 |
27 | export = getSideChannel;
28 |
--------------------------------------------------------------------------------
/node_modules/statuses/LICENSE:
--------------------------------------------------------------------------------
1 |
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2014 Jonathan Ong
5 | Copyright (c) 2016 Douglas Christopher Wilson
6 |
7 | Permission is hereby granted, free of charge, to any person obtaining a copy
8 | of this software and associated documentation files (the "Software"), to deal
9 | in the Software without restriction, including without limitation the rights
10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11 | copies of the Software, and to permit persons to whom the Software is
12 | furnished to do so, subject to the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be included in
15 | all copies or substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23 | THE SOFTWARE.
24 |
--------------------------------------------------------------------------------
/node_modules/toidentifier/HISTORY.md:
--------------------------------------------------------------------------------
1 | 1.0.1 / 2021-11-14
2 | ==================
3 |
4 | * pref: enable strict mode
5 |
6 | 1.0.0 / 2018-07-09
7 | ==================
8 |
9 | * Initial release
10 |
--------------------------------------------------------------------------------
/node_modules/toidentifier/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2016 Douglas Christopher Wilson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/toidentifier/index.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * toidentifier
3 | * Copyright(c) 2016 Douglas Christopher Wilson
4 | * MIT Licensed
5 | */
6 |
7 | 'use strict'
8 |
9 | /**
10 | * Module exports.
11 | * @public
12 | */
13 |
14 | module.exports = toIdentifier
15 |
16 | /**
17 | * Trasform the given string into a JavaScript identifier
18 | *
19 | * @param {string} str
20 | * @returns {string}
21 | * @public
22 | */
23 |
24 | function toIdentifier (str) {
25 | return str
26 | .split(' ')
27 | .map(function (token) {
28 | return token.slice(0, 1).toUpperCase() + token.slice(1)
29 | })
30 | .join('')
31 | .replace(/[^ _0-9a-z]/gi, '')
32 | }
33 |
--------------------------------------------------------------------------------
/node_modules/toidentifier/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "toidentifier",
3 | "description": "Convert a string of words to a JavaScript identifier",
4 | "version": "1.0.1",
5 | "author": "Douglas Christopher Wilson ",
6 | "contributors": [
7 | "Douglas Christopher Wilson ",
8 | "Nick Baugh (http://niftylettuce.com/)"
9 | ],
10 | "repository": "component/toidentifier",
11 | "devDependencies": {
12 | "eslint": "7.32.0",
13 | "eslint-config-standard": "14.1.1",
14 | "eslint-plugin-import": "2.25.3",
15 | "eslint-plugin-markdown": "2.2.1",
16 | "eslint-plugin-node": "11.1.0",
17 | "eslint-plugin-promise": "4.3.1",
18 | "eslint-plugin-standard": "4.1.0",
19 | "mocha": "9.1.3",
20 | "nyc": "15.1.0"
21 | },
22 | "engines": {
23 | "node": ">=0.6"
24 | },
25 | "license": "MIT",
26 | "files": [
27 | "HISTORY.md",
28 | "LICENSE",
29 | "index.js"
30 | ],
31 | "scripts": {
32 | "lint": "eslint .",
33 | "test": "mocha --reporter spec --bail --check-leaks test/",
34 | "test-ci": "nyc --reporter=lcov --reporter=text npm test",
35 | "test-cov": "nyc --reporter=html --reporter=text npm test",
36 | "version": "node scripts/version-history.js && git add HISTORY.md"
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/node_modules/type-is/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014 Jonathan Ong
4 | Copyright (c) 2014-2015 Douglas Christopher Wilson
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining
7 | a copy of this software and associated documentation files (the
8 | 'Software'), to deal in the Software without restriction, including
9 | without limitation the rights to use, copy, modify, merge, publish,
10 | distribute, sublicense, and/or sell copies of the Software, and to
11 | permit persons to whom the Software is furnished to do so, subject to
12 | the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be
15 | included in all copies or substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 |
--------------------------------------------------------------------------------
/node_modules/type-is/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "type-is",
3 | "description": "Infer the content-type of a request.",
4 | "version": "1.6.18",
5 | "contributors": [
6 | "Douglas Christopher Wilson ",
7 | "Jonathan Ong (http://jongleberry.com)"
8 | ],
9 | "license": "MIT",
10 | "repository": "jshttp/type-is",
11 | "dependencies": {
12 | "media-typer": "0.3.0",
13 | "mime-types": "~2.1.24"
14 | },
15 | "devDependencies": {
16 | "eslint": "5.16.0",
17 | "eslint-config-standard": "12.0.0",
18 | "eslint-plugin-import": "2.17.2",
19 | "eslint-plugin-markdown": "1.0.0",
20 | "eslint-plugin-node": "8.0.1",
21 | "eslint-plugin-promise": "4.1.1",
22 | "eslint-plugin-standard": "4.0.0",
23 | "mocha": "6.1.4",
24 | "nyc": "14.0.0"
25 | },
26 | "engines": {
27 | "node": ">= 0.6"
28 | },
29 | "files": [
30 | "LICENSE",
31 | "HISTORY.md",
32 | "index.js"
33 | ],
34 | "scripts": {
35 | "lint": "eslint --plugin markdown --ext js,md .",
36 | "test": "mocha --reporter spec --check-leaks --bail test/",
37 | "test-cov": "nyc --reporter=html --reporter=text npm test",
38 | "test-travis": "nyc --reporter=text npm test"
39 | },
40 | "keywords": [
41 | "content",
42 | "type",
43 | "checking"
44 | ]
45 | }
46 |
--------------------------------------------------------------------------------
/node_modules/unpipe/HISTORY.md:
--------------------------------------------------------------------------------
1 | 1.0.0 / 2015-06-14
2 | ==================
3 |
4 | * Initial release
5 |
--------------------------------------------------------------------------------
/node_modules/unpipe/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2015 Douglas Christopher Wilson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/node_modules/unpipe/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "unpipe",
3 | "description": "Unpipe a stream from all destinations",
4 | "version": "1.0.0",
5 | "author": "Douglas Christopher Wilson ",
6 | "license": "MIT",
7 | "repository": "stream-utils/unpipe",
8 | "devDependencies": {
9 | "istanbul": "0.3.15",
10 | "mocha": "2.2.5",
11 | "readable-stream": "1.1.13"
12 | },
13 | "files": [
14 | "HISTORY.md",
15 | "LICENSE",
16 | "README.md",
17 | "index.js"
18 | ],
19 | "engines": {
20 | "node": ">= 0.8"
21 | },
22 | "scripts": {
23 | "test": "mocha --reporter spec --bail --check-leaks test/",
24 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
25 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/node_modules/utils-merge/.npmignore:
--------------------------------------------------------------------------------
1 | CONTRIBUTING.md
2 | Makefile
3 | docs/
4 | examples/
5 | reports/
6 | test/
7 |
8 | .jshintrc
9 | .travis.yml
10 |
--------------------------------------------------------------------------------
/node_modules/utils-merge/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2013-2017 Jared Hanson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of
6 | this software and associated documentation files (the "Software"), to deal in
7 | the Software without restriction, including without limitation the rights to
8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9 | the Software, and to permit persons to whom the Software is furnished to do so,
10 | subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/node_modules/utils-merge/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Merge object b with object a.
3 | *
4 | * var a = { foo: 'bar' }
5 | * , b = { bar: 'baz' };
6 | *
7 | * merge(a, b);
8 | * // => { foo: 'bar', bar: 'baz' }
9 | *
10 | * @param {Object} a
11 | * @param {Object} b
12 | * @return {Object}
13 | * @api public
14 | */
15 |
16 | exports = module.exports = function(a, b){
17 | if (a && b) {
18 | for (var key in b) {
19 | a[key] = b[key];
20 | }
21 | }
22 | return a;
23 | };
24 |
--------------------------------------------------------------------------------
/node_modules/utils-merge/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "utils-merge",
3 | "version": "1.0.1",
4 | "description": "merge() utility function",
5 | "keywords": [
6 | "util"
7 | ],
8 | "author": {
9 | "name": "Jared Hanson",
10 | "email": "jaredhanson@gmail.com",
11 | "url": "http://www.jaredhanson.net/"
12 | },
13 | "repository": {
14 | "type": "git",
15 | "url": "git://github.com/jaredhanson/utils-merge.git"
16 | },
17 | "bugs": {
18 | "url": "http://github.com/jaredhanson/utils-merge/issues"
19 | },
20 | "license": "MIT",
21 | "licenses": [
22 | {
23 | "type": "MIT",
24 | "url": "http://opensource.org/licenses/MIT"
25 | }
26 | ],
27 | "main": "./index",
28 | "dependencies": {},
29 | "devDependencies": {
30 | "make-node": "0.3.x",
31 | "mocha": "1.x.x",
32 | "chai": "1.x.x"
33 | },
34 | "engines": {
35 | "node": ">= 0.4.0"
36 | },
37 | "scripts": {
38 | "test": "node_modules/.bin/mocha --reporter spec --require test/bootstrap/node test/*.test.js"
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/node_modules/vary/HISTORY.md:
--------------------------------------------------------------------------------
1 | 1.1.2 / 2017-09-23
2 | ==================
3 |
4 | * perf: improve header token parsing speed
5 |
6 | 1.1.1 / 2017-03-20
7 | ==================
8 |
9 | * perf: hoist regular expression
10 |
11 | 1.1.0 / 2015-09-29
12 | ==================
13 |
14 | * Only accept valid field names in the `field` argument
15 | - Ensures the resulting string is a valid HTTP header value
16 |
17 | 1.0.1 / 2015-07-08
18 | ==================
19 |
20 | * Fix setting empty header from empty `field`
21 | * perf: enable strict mode
22 | * perf: remove argument reassignments
23 |
24 | 1.0.0 / 2014-08-10
25 | ==================
26 |
27 | * Accept valid `Vary` header string as `field`
28 | * Add `vary.append` for low-level string manipulation
29 | * Move to `jshttp` orgainzation
30 |
31 | 0.1.0 / 2014-06-05
32 | ==================
33 |
34 | * Support array of fields to set
35 |
36 | 0.0.0 / 2014-06-04
37 | ==================
38 |
39 | * Initial release
40 |
--------------------------------------------------------------------------------
/node_modules/vary/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014-2017 Douglas Christopher Wilson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "express-js",
3 | "version": "1.0.0",
4 | "description": "express tut by chandan",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "Chandan",
10 | "license": "ISC",
11 | "dependencies": {
12 | "express": "^4.19.2"
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/product.js:
--------------------------------------------------------------------------------
1 | const express = require('express');
2 | const router = express.Router();
3 |
4 | // Define routes for product operations
5 | router.get('/', (req, res) => {
6 | res.send('Product list');
7 | });
8 |
9 | router.get('/:id', (req, res) => {
10 | res.send(`Product details for product with ID: ${req.params.id}`);
11 | });
12 |
13 | module.exports = router;
14 |
--------------------------------------------------------------------------------
/renderingLayouts.js:
--------------------------------------------------------------------------------
1 | const express = require('express');
2 | const app = express();
3 |
4 | // Set view engine
5 | app.set('view engine', 'ejs');
6 | app.set('views', './views'); // Specify the directory for your view files
7 |
8 | // Use express-ejs-layouts middleware
9 | app.use(expressLayouts);
10 |
11 | // Set default layout
12 | app.set('layout', 'layouts/main'); // Assuming your main layout file is named 'main.ejs'
13 |
14 | // Routes and other configurations...
--------------------------------------------------------------------------------
/setup.js:
--------------------------------------------------------------------------------
1 | const express = require('express');
2 | const app = express();
3 |
4 | const PORT = process.env.PORT || 3000;
5 |
6 | app.listen(PORT, () => {
7 | console.log(`Server is running on port ${PORT}`);
8 | });
9 |
--------------------------------------------------------------------------------
/tamplate.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | <%= title %>
6 |
7 |
8 | <%= heading %>
9 |
10 | <% if (user) { %>
11 | Welcome, <%= user.name %>!
12 | <% } else { %>
13 | Welcome, Guest!
14 | <% } %>
15 |
16 | Messages
17 |
18 | <% if (messages.length > 0) { %>
19 | <% messages.forEach(function(message) { %>
20 | - <%= message %>
21 | <% }); %>
22 | <% } else { %>
23 | - No messages available.
24 | <% } %>
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/users.js:
--------------------------------------------------------------------------------
1 | const express = require('express');
2 | const router = express.Router();
3 |
4 | // Define routes for user operations
5 | router.get('/', (req, res) => {
6 | res.send('User list');
7 | });
8 |
9 | router.get('/:id', (req, res) => {
10 | res.send(`User details for user with ID: ${req.params.id}`);
11 | });
12 |
13 | module.exports = router;
14 |
--------------------------------------------------------------------------------
/usingTemplates.js:
--------------------------------------------------------------------------------
1 | const express = require('express');
2 | const app = express();
3 |
4 | // Set the view engine to ejs
5 | app.set('view engine', 'ejs');
6 |
7 | // Set the views directory
8 | app.set('views', './views');
--------------------------------------------------------------------------------
/usingTemplete.js:
--------------------------------------------------------------------------------
1 | app.get('/', (req, res) => {
2 | res.render('index', {
3 | title: 'Home Page',
4 | heading: 'Welcome to My Website',
5 | message: 'This is the home page.'
6 | });
7 | });
8 |
9 | app.get('/about', (req, res) => {
10 | res.render('about', {
11 | title: 'About Us',
12 | heading: 'About Our Company',
13 | message: 'Information about our company.'
14 | });
15 | });
16 |
--------------------------------------------------------------------------------