├── .gitignore ├── LICENSE ├── README.md ├── index.js ├── index_withauth.js ├── package-lock.json ├── package.json └── routes └── users.js /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | build/ 12 | develop-eggs/ 13 | dist/ 14 | downloads/ 15 | eggs/ 16 | .eggs/ 17 | lib/ 18 | lib64/ 19 | parts/ 20 | sdist/ 21 | var/ 22 | wheels/ 23 | pip-wheel-metadata/ 24 | share/python-wheels/ 25 | *.egg-info/ 26 | .installed.cfg 27 | *.egg 28 | MANIFEST 29 | 30 | # PyInstaller 31 | # Usually these files are written by a python script from a template 32 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 33 | *.manifest 34 | *.spec 35 | 36 | # Installer logs 37 | pip-log.txt 38 | pip-delete-this-directory.txt 39 | 40 | # Unit test / coverage reports 41 | htmlcov/ 42 | .tox/ 43 | .nox/ 44 | .coverage 45 | .coverage.* 46 | .cache 47 | nosetests.xml 48 | coverage.xml 49 | *.cover 50 | *.py,cover 51 | .hypothesis/ 52 | .pytest_cache/ 53 | 54 | # Translations 55 | *.mo 56 | *.pot 57 | 58 | # Django stuff: 59 | *.log 60 | local_settings.py 61 | db.sqlite3 62 | db.sqlite3-journal 63 | 64 | # Flask stuff: 65 | instance/ 66 | .webassets-cache 67 | 68 | # Scrapy stuff: 69 | .scrapy 70 | 71 | # Sphinx documentation 72 | docs/_build/ 73 | 74 | # PyBuilder 75 | target/ 76 | 77 | # Jupyter Notebook 78 | .ipynb_checkpoints 79 | 80 | # IPython 81 | profile_default/ 82 | ipython_config.py 83 | 84 | # pyenv 85 | .python-version 86 | 87 | # pipenv 88 | # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. 89 | # However, in case of collaboration, if having platform-specific dependencies or dependencies 90 | # having no cross-platform support, pipenv may install dependencies that don't work, or not 91 | # install all needed dependencies. 92 | #Pipfile.lock 93 | 94 | # PEP 582; used by e.g. github.com/David-OConnor/pyflow 95 | __pypackages__/ 96 | 97 | # Celery stuff 98 | celerybeat-schedule 99 | celerybeat.pid 100 | 101 | # SageMath parsed files 102 | *.sage.py 103 | 104 | # Environments 105 | .env 106 | .venv 107 | env/ 108 | venv/ 109 | ENV/ 110 | env.bak/ 111 | venv.bak/ 112 | 113 | # Spyder project settings 114 | .spyderproject 115 | .spyproject 116 | 117 | # Rope project settings 118 | .ropeproject 119 | 120 | # mkdocs documentation 121 | /site 122 | 123 | # mypy 124 | .mypy_cache/ 125 | .dmypy.json 126 | dmypy.json 127 | 128 | # Pyre type checker 129 | .pyre/ 130 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright 2020 IBM Developer Skills Network 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Node.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | // Import Express and user routes, create an instance of Express 2 | const express = require('express'); 3 | const routes = require('./routes/users.js'); 4 | const app = express(); 5 | const PORT = 5000; 6 | 7 | // Use JSON parsing middleware and user routes 8 | app.use(express.json()); 9 | app.use("/user", routes); 10 | 11 | // Start the server and log a message when it's running 12 | app.listen(PORT, () => console.log("Server is running at port " + PORT)); 13 | -------------------------------------------------------------------------------- /index_withauth.js: -------------------------------------------------------------------------------- 1 | const express = require('express'); 2 | const routes = require('./routes/users.js'); 3 | const jwt = require('jsonwebtoken'); 4 | const session = require('express-session'); 5 | 6 | const app = express(); 7 | const PORT = 5000; 8 | 9 | // Initialize session middleware with options 10 | app.use(session({ secret: "fingerpint", resave: true, saveUninitialized: true })); 11 | 12 | // Middleware for user authentication 13 | app.use("/user", (req, res, next) => { 14 | // Check if user is authenticated 15 | if (req.session.authorization) { 16 | let token = req.session.authorization['accessToken']; // Access Token 17 | 18 | // Verify JWT token for user authentication 19 | jwt.verify(token, "access", (err, user) => { 20 | if (!err) { 21 | req.user = user; // Set authenticated user data on the request object 22 | next(); // Proceed to the next middleware 23 | } else { 24 | return res.status(403).json({ message: "User not authenticated" }); // Return error if token verification fails 25 | } 26 | }); 27 | 28 | // Return error if no access token is found in the session 29 | } else { 30 | return res.status(403).json({ message: "User not logged in" }); 31 | } 32 | }); 33 | 34 | // Parse JSON request bodies 35 | app.use(express.json()); 36 | 37 | // User routes 38 | app.use("/user", routes); 39 | 40 | // Login endpoint 41 | app.post("/login", (req, res) => { 42 | const user = req.body.user; 43 | if (!user) { 44 | return res.status(404).json({ message: "Body Empty" }); 45 | } 46 | // Generate JWT access token 47 | let accessToken = jwt.sign({ 48 | data: user 49 | }, 'access', { expiresIn: 60 * 60 }); 50 | 51 | // Store access token in session 52 | req.session.authorization = { 53 | accessToken 54 | } 55 | return res.status(200).send("User successfully logged in"); 56 | }); 57 | 58 | // Start server 59 | app.listen(PORT, () => console.log("Server is running at port " + PORT)); 60 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "crud", 3 | "version": "1.0.0", 4 | "lockfileVersion": 2, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "crud", 9 | "version": "1.0.0", 10 | "license": "MIT", 11 | "dependencies": { 12 | "express": "^4.18.1", 13 | "express-session": "^1.17.3", 14 | "jsonwebtoken": "^8.5.1", 15 | "nodemon": "^2.0.19" 16 | } 17 | }, 18 | "node_modules/abbrev": { 19 | "version": "1.1.1", 20 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", 21 | "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" 22 | }, 23 | "node_modules/accepts": { 24 | "version": "1.3.8", 25 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", 26 | "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", 27 | "dependencies": { 28 | "mime-types": "~2.1.34", 29 | "negotiator": "0.6.3" 30 | }, 31 | "engines": { 32 | "node": ">= 0.6" 33 | } 34 | }, 35 | "node_modules/anymatch": { 36 | "version": "3.1.2", 37 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", 38 | "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", 39 | "dependencies": { 40 | "normalize-path": "^3.0.0", 41 | "picomatch": "^2.0.4" 42 | }, 43 | "engines": { 44 | "node": ">= 8" 45 | } 46 | }, 47 | "node_modules/array-flatten": { 48 | "version": "1.1.1", 49 | "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", 50 | "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" 51 | }, 52 | "node_modules/balanced-match": { 53 | "version": "1.0.2", 54 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 55 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" 56 | }, 57 | "node_modules/binary-extensions": { 58 | "version": "2.2.0", 59 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", 60 | "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", 61 | "engines": { 62 | "node": ">=8" 63 | } 64 | }, 65 | "node_modules/body-parser": { 66 | "version": "1.20.0", 67 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.0.tgz", 68 | "integrity": "sha512-DfJ+q6EPcGKZD1QWUjSpqp+Q7bDQTsQIF4zfUAtZ6qk+H/3/QRhg9CEp39ss+/T2vw0+HaidC0ecJj/DRLIaKg==", 69 | "dependencies": { 70 | "bytes": "3.1.2", 71 | "content-type": "~1.0.4", 72 | "debug": "2.6.9", 73 | "depd": "2.0.0", 74 | "destroy": "1.2.0", 75 | "http-errors": "2.0.0", 76 | "iconv-lite": "0.4.24", 77 | "on-finished": "2.4.1", 78 | "qs": "6.10.3", 79 | "raw-body": "2.5.1", 80 | "type-is": "~1.6.18", 81 | "unpipe": "1.0.0" 82 | }, 83 | "engines": { 84 | "node": ">= 0.8", 85 | "npm": "1.2.8000 || >= 1.4.16" 86 | } 87 | }, 88 | "node_modules/brace-expansion": { 89 | "version": "1.1.11", 90 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 91 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 92 | "dependencies": { 93 | "balanced-match": "^1.0.0", 94 | "concat-map": "0.0.1" 95 | } 96 | }, 97 | "node_modules/braces": { 98 | "version": "3.0.2", 99 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 100 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 101 | "dependencies": { 102 | "fill-range": "^7.0.1" 103 | }, 104 | "engines": { 105 | "node": ">=8" 106 | } 107 | }, 108 | "node_modules/buffer-equal-constant-time": { 109 | "version": "1.0.1", 110 | "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", 111 | "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==" 112 | }, 113 | "node_modules/bytes": { 114 | "version": "3.1.2", 115 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", 116 | "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", 117 | "engines": { 118 | "node": ">= 0.8" 119 | } 120 | }, 121 | "node_modules/call-bind": { 122 | "version": "1.0.2", 123 | "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", 124 | "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", 125 | "dependencies": { 126 | "function-bind": "^1.1.1", 127 | "get-intrinsic": "^1.0.2" 128 | }, 129 | "funding": { 130 | "url": "https://github.com/sponsors/ljharb" 131 | } 132 | }, 133 | "node_modules/chokidar": { 134 | "version": "3.5.3", 135 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", 136 | "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", 137 | "funding": [ 138 | { 139 | "type": "individual", 140 | "url": "https://paulmillr.com/funding/" 141 | } 142 | ], 143 | "dependencies": { 144 | "anymatch": "~3.1.2", 145 | "braces": "~3.0.2", 146 | "glob-parent": "~5.1.2", 147 | "is-binary-path": "~2.1.0", 148 | "is-glob": "~4.0.1", 149 | "normalize-path": "~3.0.0", 150 | "readdirp": "~3.6.0" 151 | }, 152 | "engines": { 153 | "node": ">= 8.10.0" 154 | }, 155 | "optionalDependencies": { 156 | "fsevents": "~2.3.2" 157 | } 158 | }, 159 | "node_modules/concat-map": { 160 | "version": "0.0.1", 161 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 162 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" 163 | }, 164 | "node_modules/content-disposition": { 165 | "version": "0.5.4", 166 | "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", 167 | "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", 168 | "dependencies": { 169 | "safe-buffer": "5.2.1" 170 | }, 171 | "engines": { 172 | "node": ">= 0.6" 173 | } 174 | }, 175 | "node_modules/content-type": { 176 | "version": "1.0.4", 177 | "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", 178 | "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", 179 | "engines": { 180 | "node": ">= 0.6" 181 | } 182 | }, 183 | "node_modules/cookie": { 184 | "version": "0.5.0", 185 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", 186 | "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", 187 | "engines": { 188 | "node": ">= 0.6" 189 | } 190 | }, 191 | "node_modules/cookie-signature": { 192 | "version": "1.0.6", 193 | "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", 194 | "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" 195 | }, 196 | "node_modules/debug": { 197 | "version": "2.6.9", 198 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 199 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 200 | "dependencies": { 201 | "ms": "2.0.0" 202 | } 203 | }, 204 | "node_modules/depd": { 205 | "version": "2.0.0", 206 | "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", 207 | "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", 208 | "engines": { 209 | "node": ">= 0.8" 210 | } 211 | }, 212 | "node_modules/destroy": { 213 | "version": "1.2.0", 214 | "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", 215 | "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", 216 | "engines": { 217 | "node": ">= 0.8", 218 | "npm": "1.2.8000 || >= 1.4.16" 219 | } 220 | }, 221 | "node_modules/ecdsa-sig-formatter": { 222 | "version": "1.0.11", 223 | "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", 224 | "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", 225 | "dependencies": { 226 | "safe-buffer": "^5.0.1" 227 | } 228 | }, 229 | "node_modules/ee-first": { 230 | "version": "1.1.1", 231 | "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", 232 | "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" 233 | }, 234 | "node_modules/encodeurl": { 235 | "version": "1.0.2", 236 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", 237 | "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", 238 | "engines": { 239 | "node": ">= 0.8" 240 | } 241 | }, 242 | "node_modules/escape-html": { 243 | "version": "1.0.3", 244 | "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", 245 | "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" 246 | }, 247 | "node_modules/etag": { 248 | "version": "1.8.1", 249 | "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", 250 | "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", 251 | "engines": { 252 | "node": ">= 0.6" 253 | } 254 | }, 255 | "node_modules/express": { 256 | "version": "4.18.1", 257 | "resolved": "https://registry.npmjs.org/express/-/express-4.18.1.tgz", 258 | "integrity": "sha512-zZBcOX9TfehHQhtupq57OF8lFZ3UZi08Y97dwFCkD8p9d/d2Y3M+ykKcwaMDEL+4qyUolgBDX6AblpR3fL212Q==", 259 | "dependencies": { 260 | "accepts": "~1.3.8", 261 | "array-flatten": "1.1.1", 262 | "body-parser": "1.20.0", 263 | "content-disposition": "0.5.4", 264 | "content-type": "~1.0.4", 265 | "cookie": "0.5.0", 266 | "cookie-signature": "1.0.6", 267 | "debug": "2.6.9", 268 | "depd": "2.0.0", 269 | "encodeurl": "~1.0.2", 270 | "escape-html": "~1.0.3", 271 | "etag": "~1.8.1", 272 | "finalhandler": "1.2.0", 273 | "fresh": "0.5.2", 274 | "http-errors": "2.0.0", 275 | "merge-descriptors": "1.0.1", 276 | "methods": "~1.1.2", 277 | "on-finished": "2.4.1", 278 | "parseurl": "~1.3.3", 279 | "path-to-regexp": "0.1.7", 280 | "proxy-addr": "~2.0.7", 281 | "qs": "6.10.3", 282 | "range-parser": "~1.2.1", 283 | "safe-buffer": "5.2.1", 284 | "send": "0.18.0", 285 | "serve-static": "1.15.0", 286 | "setprototypeof": "1.2.0", 287 | "statuses": "2.0.1", 288 | "type-is": "~1.6.18", 289 | "utils-merge": "1.0.1", 290 | "vary": "~1.1.2" 291 | }, 292 | "engines": { 293 | "node": ">= 0.10.0" 294 | } 295 | }, 296 | "node_modules/express-session": { 297 | "version": "1.17.3", 298 | "resolved": "https://registry.npmjs.org/express-session/-/express-session-1.17.3.tgz", 299 | "integrity": "sha512-4+otWXlShYlG1Ma+2Jnn+xgKUZTMJ5QD3YvfilX3AcocOAbIkVylSWEklzALe/+Pu4qV6TYBj5GwOBFfdKqLBw==", 300 | "dependencies": { 301 | "cookie": "0.4.2", 302 | "cookie-signature": "1.0.6", 303 | "debug": "2.6.9", 304 | "depd": "~2.0.0", 305 | "on-headers": "~1.0.2", 306 | "parseurl": "~1.3.3", 307 | "safe-buffer": "5.2.1", 308 | "uid-safe": "~2.1.5" 309 | }, 310 | "engines": { 311 | "node": ">= 0.8.0" 312 | } 313 | }, 314 | "node_modules/express-session/node_modules/cookie": { 315 | "version": "0.4.2", 316 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz", 317 | "integrity": "sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==", 318 | "engines": { 319 | "node": ">= 0.6" 320 | } 321 | }, 322 | "node_modules/fill-range": { 323 | "version": "7.0.1", 324 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 325 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 326 | "dependencies": { 327 | "to-regex-range": "^5.0.1" 328 | }, 329 | "engines": { 330 | "node": ">=8" 331 | } 332 | }, 333 | "node_modules/finalhandler": { 334 | "version": "1.2.0", 335 | "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", 336 | "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", 337 | "dependencies": { 338 | "debug": "2.6.9", 339 | "encodeurl": "~1.0.2", 340 | "escape-html": "~1.0.3", 341 | "on-finished": "2.4.1", 342 | "parseurl": "~1.3.3", 343 | "statuses": "2.0.1", 344 | "unpipe": "~1.0.0" 345 | }, 346 | "engines": { 347 | "node": ">= 0.8" 348 | } 349 | }, 350 | "node_modules/forwarded": { 351 | "version": "0.2.0", 352 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", 353 | "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", 354 | "engines": { 355 | "node": ">= 0.6" 356 | } 357 | }, 358 | "node_modules/fresh": { 359 | "version": "0.5.2", 360 | "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", 361 | "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", 362 | "engines": { 363 | "node": ">= 0.6" 364 | } 365 | }, 366 | "node_modules/fsevents": { 367 | "version": "2.3.2", 368 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", 369 | "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", 370 | "hasInstallScript": true, 371 | "optional": true, 372 | "os": [ 373 | "darwin" 374 | ], 375 | "engines": { 376 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0" 377 | } 378 | }, 379 | "node_modules/function-bind": { 380 | "version": "1.1.1", 381 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 382 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" 383 | }, 384 | "node_modules/get-intrinsic": { 385 | "version": "1.1.2", 386 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.2.tgz", 387 | "integrity": "sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA==", 388 | "dependencies": { 389 | "function-bind": "^1.1.1", 390 | "has": "^1.0.3", 391 | "has-symbols": "^1.0.3" 392 | }, 393 | "funding": { 394 | "url": "https://github.com/sponsors/ljharb" 395 | } 396 | }, 397 | "node_modules/glob-parent": { 398 | "version": "5.1.2", 399 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 400 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 401 | "dependencies": { 402 | "is-glob": "^4.0.1" 403 | }, 404 | "engines": { 405 | "node": ">= 6" 406 | } 407 | }, 408 | "node_modules/has": { 409 | "version": "1.0.3", 410 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 411 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 412 | "dependencies": { 413 | "function-bind": "^1.1.1" 414 | }, 415 | "engines": { 416 | "node": ">= 0.4.0" 417 | } 418 | }, 419 | "node_modules/has-flag": { 420 | "version": "3.0.0", 421 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 422 | "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", 423 | "engines": { 424 | "node": ">=4" 425 | } 426 | }, 427 | "node_modules/has-symbols": { 428 | "version": "1.0.3", 429 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", 430 | "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", 431 | "engines": { 432 | "node": ">= 0.4" 433 | }, 434 | "funding": { 435 | "url": "https://github.com/sponsors/ljharb" 436 | } 437 | }, 438 | "node_modules/http-errors": { 439 | "version": "2.0.0", 440 | "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", 441 | "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", 442 | "dependencies": { 443 | "depd": "2.0.0", 444 | "inherits": "2.0.4", 445 | "setprototypeof": "1.2.0", 446 | "statuses": "2.0.1", 447 | "toidentifier": "1.0.1" 448 | }, 449 | "engines": { 450 | "node": ">= 0.8" 451 | } 452 | }, 453 | "node_modules/iconv-lite": { 454 | "version": "0.4.24", 455 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 456 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 457 | "dependencies": { 458 | "safer-buffer": ">= 2.1.2 < 3" 459 | }, 460 | "engines": { 461 | "node": ">=0.10.0" 462 | } 463 | }, 464 | "node_modules/ignore-by-default": { 465 | "version": "1.0.1", 466 | "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", 467 | "integrity": "sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==" 468 | }, 469 | "node_modules/inherits": { 470 | "version": "2.0.4", 471 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 472 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" 473 | }, 474 | "node_modules/ipaddr.js": { 475 | "version": "1.9.1", 476 | "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", 477 | "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", 478 | "engines": { 479 | "node": ">= 0.10" 480 | } 481 | }, 482 | "node_modules/is-binary-path": { 483 | "version": "2.1.0", 484 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 485 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 486 | "dependencies": { 487 | "binary-extensions": "^2.0.0" 488 | }, 489 | "engines": { 490 | "node": ">=8" 491 | } 492 | }, 493 | "node_modules/is-extglob": { 494 | "version": "2.1.1", 495 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 496 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 497 | "engines": { 498 | "node": ">=0.10.0" 499 | } 500 | }, 501 | "node_modules/is-glob": { 502 | "version": "4.0.3", 503 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 504 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 505 | "dependencies": { 506 | "is-extglob": "^2.1.1" 507 | }, 508 | "engines": { 509 | "node": ">=0.10.0" 510 | } 511 | }, 512 | "node_modules/is-number": { 513 | "version": "7.0.0", 514 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 515 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 516 | "engines": { 517 | "node": ">=0.12.0" 518 | } 519 | }, 520 | "node_modules/jsonwebtoken": { 521 | "version": "8.5.1", 522 | "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", 523 | "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", 524 | "dependencies": { 525 | "jws": "^3.2.2", 526 | "lodash.includes": "^4.3.0", 527 | "lodash.isboolean": "^3.0.3", 528 | "lodash.isinteger": "^4.0.4", 529 | "lodash.isnumber": "^3.0.3", 530 | "lodash.isplainobject": "^4.0.6", 531 | "lodash.isstring": "^4.0.1", 532 | "lodash.once": "^4.0.0", 533 | "ms": "^2.1.1", 534 | "semver": "^5.6.0" 535 | }, 536 | "engines": { 537 | "node": ">=4", 538 | "npm": ">=1.4.28" 539 | } 540 | }, 541 | "node_modules/jsonwebtoken/node_modules/ms": { 542 | "version": "2.1.3", 543 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 544 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" 545 | }, 546 | "node_modules/jwa": { 547 | "version": "1.4.1", 548 | "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", 549 | "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", 550 | "dependencies": { 551 | "buffer-equal-constant-time": "1.0.1", 552 | "ecdsa-sig-formatter": "1.0.11", 553 | "safe-buffer": "^5.0.1" 554 | } 555 | }, 556 | "node_modules/jws": { 557 | "version": "3.2.2", 558 | "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", 559 | "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", 560 | "dependencies": { 561 | "jwa": "^1.4.1", 562 | "safe-buffer": "^5.0.1" 563 | } 564 | }, 565 | "node_modules/lodash.includes": { 566 | "version": "4.3.0", 567 | "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", 568 | "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==" 569 | }, 570 | "node_modules/lodash.isboolean": { 571 | "version": "3.0.3", 572 | "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", 573 | "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==" 574 | }, 575 | "node_modules/lodash.isinteger": { 576 | "version": "4.0.4", 577 | "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", 578 | "integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==" 579 | }, 580 | "node_modules/lodash.isnumber": { 581 | "version": "3.0.3", 582 | "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", 583 | "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==" 584 | }, 585 | "node_modules/lodash.isplainobject": { 586 | "version": "4.0.6", 587 | "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", 588 | "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==" 589 | }, 590 | "node_modules/lodash.isstring": { 591 | "version": "4.0.1", 592 | "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", 593 | "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==" 594 | }, 595 | "node_modules/lodash.once": { 596 | "version": "4.1.1", 597 | "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", 598 | "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==" 599 | }, 600 | "node_modules/media-typer": { 601 | "version": "0.3.0", 602 | "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", 603 | "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", 604 | "engines": { 605 | "node": ">= 0.6" 606 | } 607 | }, 608 | "node_modules/merge-descriptors": { 609 | "version": "1.0.1", 610 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", 611 | "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" 612 | }, 613 | "node_modules/methods": { 614 | "version": "1.1.2", 615 | "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", 616 | "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", 617 | "engines": { 618 | "node": ">= 0.6" 619 | } 620 | }, 621 | "node_modules/mime": { 622 | "version": "1.6.0", 623 | "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", 624 | "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", 625 | "bin": { 626 | "mime": "cli.js" 627 | }, 628 | "engines": { 629 | "node": ">=4" 630 | } 631 | }, 632 | "node_modules/mime-db": { 633 | "version": "1.52.0", 634 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", 635 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", 636 | "engines": { 637 | "node": ">= 0.6" 638 | } 639 | }, 640 | "node_modules/mime-types": { 641 | "version": "2.1.35", 642 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", 643 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", 644 | "dependencies": { 645 | "mime-db": "1.52.0" 646 | }, 647 | "engines": { 648 | "node": ">= 0.6" 649 | } 650 | }, 651 | "node_modules/minimatch": { 652 | "version": "3.1.2", 653 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 654 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 655 | "dependencies": { 656 | "brace-expansion": "^1.1.7" 657 | }, 658 | "engines": { 659 | "node": "*" 660 | } 661 | }, 662 | "node_modules/ms": { 663 | "version": "2.0.0", 664 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 665 | "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" 666 | }, 667 | "node_modules/negotiator": { 668 | "version": "0.6.3", 669 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", 670 | "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", 671 | "engines": { 672 | "node": ">= 0.6" 673 | } 674 | }, 675 | "node_modules/nodemon": { 676 | "version": "2.0.19", 677 | "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.19.tgz", 678 | "integrity": "sha512-4pv1f2bMDj0Eeg/MhGqxrtveeQ5/G/UVe9iO6uTZzjnRluSA4PVWf8CW99LUPwGB3eNIA7zUFoP77YuI7hOc0A==", 679 | "hasInstallScript": true, 680 | "dependencies": { 681 | "chokidar": "^3.5.2", 682 | "debug": "^3.2.7", 683 | "ignore-by-default": "^1.0.1", 684 | "minimatch": "^3.0.4", 685 | "pstree.remy": "^1.1.8", 686 | "semver": "^5.7.1", 687 | "simple-update-notifier": "^1.0.7", 688 | "supports-color": "^5.5.0", 689 | "touch": "^3.1.0", 690 | "undefsafe": "^2.0.5" 691 | }, 692 | "bin": { 693 | "nodemon": "bin/nodemon.js" 694 | }, 695 | "engines": { 696 | "node": ">=8.10.0" 697 | }, 698 | "funding": { 699 | "type": "opencollective", 700 | "url": "https://opencollective.com/nodemon" 701 | } 702 | }, 703 | "node_modules/nodemon/node_modules/debug": { 704 | "version": "3.2.7", 705 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", 706 | "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", 707 | "dependencies": { 708 | "ms": "^2.1.1" 709 | } 710 | }, 711 | "node_modules/nodemon/node_modules/ms": { 712 | "version": "2.1.3", 713 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 714 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" 715 | }, 716 | "node_modules/nopt": { 717 | "version": "1.0.10", 718 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", 719 | "integrity": "sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==", 720 | "dependencies": { 721 | "abbrev": "1" 722 | }, 723 | "bin": { 724 | "nopt": "bin/nopt.js" 725 | }, 726 | "engines": { 727 | "node": "*" 728 | } 729 | }, 730 | "node_modules/normalize-path": { 731 | "version": "3.0.0", 732 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 733 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 734 | "engines": { 735 | "node": ">=0.10.0" 736 | } 737 | }, 738 | "node_modules/object-inspect": { 739 | "version": "1.12.2", 740 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz", 741 | "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==", 742 | "funding": { 743 | "url": "https://github.com/sponsors/ljharb" 744 | } 745 | }, 746 | "node_modules/on-finished": { 747 | "version": "2.4.1", 748 | "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", 749 | "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", 750 | "dependencies": { 751 | "ee-first": "1.1.1" 752 | }, 753 | "engines": { 754 | "node": ">= 0.8" 755 | } 756 | }, 757 | "node_modules/on-headers": { 758 | "version": "1.0.2", 759 | "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", 760 | "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", 761 | "engines": { 762 | "node": ">= 0.8" 763 | } 764 | }, 765 | "node_modules/parseurl": { 766 | "version": "1.3.3", 767 | "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", 768 | "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", 769 | "engines": { 770 | "node": ">= 0.8" 771 | } 772 | }, 773 | "node_modules/path-to-regexp": { 774 | "version": "0.1.7", 775 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", 776 | "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==" 777 | }, 778 | "node_modules/picomatch": { 779 | "version": "2.3.1", 780 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 781 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 782 | "engines": { 783 | "node": ">=8.6" 784 | }, 785 | "funding": { 786 | "url": "https://github.com/sponsors/jonschlinkert" 787 | } 788 | }, 789 | "node_modules/proxy-addr": { 790 | "version": "2.0.7", 791 | "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", 792 | "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", 793 | "dependencies": { 794 | "forwarded": "0.2.0", 795 | "ipaddr.js": "1.9.1" 796 | }, 797 | "engines": { 798 | "node": ">= 0.10" 799 | } 800 | }, 801 | "node_modules/pstree.remy": { 802 | "version": "1.1.8", 803 | "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", 804 | "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==" 805 | }, 806 | "node_modules/qs": { 807 | "version": "6.10.3", 808 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.3.tgz", 809 | "integrity": "sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ==", 810 | "dependencies": { 811 | "side-channel": "^1.0.4" 812 | }, 813 | "engines": { 814 | "node": ">=0.6" 815 | }, 816 | "funding": { 817 | "url": "https://github.com/sponsors/ljharb" 818 | } 819 | }, 820 | "node_modules/random-bytes": { 821 | "version": "1.0.0", 822 | "resolved": "https://registry.npmjs.org/random-bytes/-/random-bytes-1.0.0.tgz", 823 | "integrity": "sha512-iv7LhNVO047HzYR3InF6pUcUsPQiHTM1Qal51DcGSuZFBil1aBBWG5eHPNek7bvILMaYJ/8RU1e8w1AMdHmLQQ==", 824 | "engines": { 825 | "node": ">= 0.8" 826 | } 827 | }, 828 | "node_modules/range-parser": { 829 | "version": "1.2.1", 830 | "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", 831 | "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", 832 | "engines": { 833 | "node": ">= 0.6" 834 | } 835 | }, 836 | "node_modules/raw-body": { 837 | "version": "2.5.1", 838 | "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", 839 | "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", 840 | "dependencies": { 841 | "bytes": "3.1.2", 842 | "http-errors": "2.0.0", 843 | "iconv-lite": "0.4.24", 844 | "unpipe": "1.0.0" 845 | }, 846 | "engines": { 847 | "node": ">= 0.8" 848 | } 849 | }, 850 | "node_modules/readdirp": { 851 | "version": "3.6.0", 852 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", 853 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", 854 | "dependencies": { 855 | "picomatch": "^2.2.1" 856 | }, 857 | "engines": { 858 | "node": ">=8.10.0" 859 | } 860 | }, 861 | "node_modules/safe-buffer": { 862 | "version": "5.2.1", 863 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 864 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", 865 | "funding": [ 866 | { 867 | "type": "github", 868 | "url": "https://github.com/sponsors/feross" 869 | }, 870 | { 871 | "type": "patreon", 872 | "url": "https://www.patreon.com/feross" 873 | }, 874 | { 875 | "type": "consulting", 876 | "url": "https://feross.org/support" 877 | } 878 | ] 879 | }, 880 | "node_modules/safer-buffer": { 881 | "version": "2.1.2", 882 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 883 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 884 | }, 885 | "node_modules/semver": { 886 | "version": "5.7.1", 887 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", 888 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", 889 | "bin": { 890 | "semver": "bin/semver" 891 | } 892 | }, 893 | "node_modules/send": { 894 | "version": "0.18.0", 895 | "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", 896 | "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", 897 | "dependencies": { 898 | "debug": "2.6.9", 899 | "depd": "2.0.0", 900 | "destroy": "1.2.0", 901 | "encodeurl": "~1.0.2", 902 | "escape-html": "~1.0.3", 903 | "etag": "~1.8.1", 904 | "fresh": "0.5.2", 905 | "http-errors": "2.0.0", 906 | "mime": "1.6.0", 907 | "ms": "2.1.3", 908 | "on-finished": "2.4.1", 909 | "range-parser": "~1.2.1", 910 | "statuses": "2.0.1" 911 | }, 912 | "engines": { 913 | "node": ">= 0.8.0" 914 | } 915 | }, 916 | "node_modules/send/node_modules/ms": { 917 | "version": "2.1.3", 918 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 919 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" 920 | }, 921 | "node_modules/serve-static": { 922 | "version": "1.15.0", 923 | "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", 924 | "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", 925 | "dependencies": { 926 | "encodeurl": "~1.0.2", 927 | "escape-html": "~1.0.3", 928 | "parseurl": "~1.3.3", 929 | "send": "0.18.0" 930 | }, 931 | "engines": { 932 | "node": ">= 0.8.0" 933 | } 934 | }, 935 | "node_modules/setprototypeof": { 936 | "version": "1.2.0", 937 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", 938 | "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" 939 | }, 940 | "node_modules/side-channel": { 941 | "version": "1.0.4", 942 | "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", 943 | "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", 944 | "dependencies": { 945 | "call-bind": "^1.0.0", 946 | "get-intrinsic": "^1.0.2", 947 | "object-inspect": "^1.9.0" 948 | }, 949 | "funding": { 950 | "url": "https://github.com/sponsors/ljharb" 951 | } 952 | }, 953 | "node_modules/simple-update-notifier": { 954 | "version": "1.0.7", 955 | "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-1.0.7.tgz", 956 | "integrity": "sha512-BBKgR84BJQJm6WjWFMHgLVuo61FBDSj1z/xSFUIozqO6wO7ii0JxCqlIud7Enr/+LhlbNI0whErq96P2qHNWew==", 957 | "dependencies": { 958 | "semver": "~7.0.0" 959 | }, 960 | "engines": { 961 | "node": ">=8.10.0" 962 | } 963 | }, 964 | "node_modules/simple-update-notifier/node_modules/semver": { 965 | "version": "7.0.0", 966 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", 967 | "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", 968 | "bin": { 969 | "semver": "bin/semver.js" 970 | } 971 | }, 972 | "node_modules/statuses": { 973 | "version": "2.0.1", 974 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", 975 | "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", 976 | "engines": { 977 | "node": ">= 0.8" 978 | } 979 | }, 980 | "node_modules/supports-color": { 981 | "version": "5.5.0", 982 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 983 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 984 | "dependencies": { 985 | "has-flag": "^3.0.0" 986 | }, 987 | "engines": { 988 | "node": ">=4" 989 | } 990 | }, 991 | "node_modules/to-regex-range": { 992 | "version": "5.0.1", 993 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 994 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 995 | "dependencies": { 996 | "is-number": "^7.0.0" 997 | }, 998 | "engines": { 999 | "node": ">=8.0" 1000 | } 1001 | }, 1002 | "node_modules/toidentifier": { 1003 | "version": "1.0.1", 1004 | "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", 1005 | "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", 1006 | "engines": { 1007 | "node": ">=0.6" 1008 | } 1009 | }, 1010 | "node_modules/touch": { 1011 | "version": "3.1.0", 1012 | "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", 1013 | "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", 1014 | "dependencies": { 1015 | "nopt": "~1.0.10" 1016 | }, 1017 | "bin": { 1018 | "nodetouch": "bin/nodetouch.js" 1019 | } 1020 | }, 1021 | "node_modules/type-is": { 1022 | "version": "1.6.18", 1023 | "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", 1024 | "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", 1025 | "dependencies": { 1026 | "media-typer": "0.3.0", 1027 | "mime-types": "~2.1.24" 1028 | }, 1029 | "engines": { 1030 | "node": ">= 0.6" 1031 | } 1032 | }, 1033 | "node_modules/uid-safe": { 1034 | "version": "2.1.5", 1035 | "resolved": "https://registry.npmjs.org/uid-safe/-/uid-safe-2.1.5.tgz", 1036 | "integrity": "sha512-KPHm4VL5dDXKz01UuEd88Df+KzynaohSL9fBh096KWAxSKZQDI2uBrVqtvRM4rwrIrRRKsdLNML/lnaaVSRioA==", 1037 | "dependencies": { 1038 | "random-bytes": "~1.0.0" 1039 | }, 1040 | "engines": { 1041 | "node": ">= 0.8" 1042 | } 1043 | }, 1044 | "node_modules/undefsafe": { 1045 | "version": "2.0.5", 1046 | "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", 1047 | "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==" 1048 | }, 1049 | "node_modules/unpipe": { 1050 | "version": "1.0.0", 1051 | "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", 1052 | "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", 1053 | "engines": { 1054 | "node": ">= 0.8" 1055 | } 1056 | }, 1057 | "node_modules/utils-merge": { 1058 | "version": "1.0.1", 1059 | "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", 1060 | "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", 1061 | "engines": { 1062 | "node": ">= 0.4.0" 1063 | } 1064 | }, 1065 | "node_modules/vary": { 1066 | "version": "1.1.2", 1067 | "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", 1068 | "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", 1069 | "engines": { 1070 | "node": ">= 0.8" 1071 | } 1072 | } 1073 | }, 1074 | "dependencies": { 1075 | "abbrev": { 1076 | "version": "1.1.1", 1077 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", 1078 | "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" 1079 | }, 1080 | "accepts": { 1081 | "version": "1.3.8", 1082 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", 1083 | "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", 1084 | "requires": { 1085 | "mime-types": "~2.1.34", 1086 | "negotiator": "0.6.3" 1087 | } 1088 | }, 1089 | "anymatch": { 1090 | "version": "3.1.2", 1091 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", 1092 | "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", 1093 | "requires": { 1094 | "normalize-path": "^3.0.0", 1095 | "picomatch": "^2.0.4" 1096 | } 1097 | }, 1098 | "array-flatten": { 1099 | "version": "1.1.1", 1100 | "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", 1101 | "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" 1102 | }, 1103 | "balanced-match": { 1104 | "version": "1.0.2", 1105 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 1106 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" 1107 | }, 1108 | "binary-extensions": { 1109 | "version": "2.2.0", 1110 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", 1111 | "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==" 1112 | }, 1113 | "body-parser": { 1114 | "version": "1.20.0", 1115 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.0.tgz", 1116 | "integrity": "sha512-DfJ+q6EPcGKZD1QWUjSpqp+Q7bDQTsQIF4zfUAtZ6qk+H/3/QRhg9CEp39ss+/T2vw0+HaidC0ecJj/DRLIaKg==", 1117 | "requires": { 1118 | "bytes": "3.1.2", 1119 | "content-type": "~1.0.4", 1120 | "debug": "2.6.9", 1121 | "depd": "2.0.0", 1122 | "destroy": "1.2.0", 1123 | "http-errors": "2.0.0", 1124 | "iconv-lite": "0.4.24", 1125 | "on-finished": "2.4.1", 1126 | "qs": "6.10.3", 1127 | "raw-body": "2.5.1", 1128 | "type-is": "~1.6.18", 1129 | "unpipe": "1.0.0" 1130 | } 1131 | }, 1132 | "brace-expansion": { 1133 | "version": "1.1.11", 1134 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 1135 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 1136 | "requires": { 1137 | "balanced-match": "^1.0.0", 1138 | "concat-map": "0.0.1" 1139 | } 1140 | }, 1141 | "braces": { 1142 | "version": "3.0.2", 1143 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 1144 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 1145 | "requires": { 1146 | "fill-range": "^7.0.1" 1147 | } 1148 | }, 1149 | "buffer-equal-constant-time": { 1150 | "version": "1.0.1", 1151 | "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", 1152 | "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==" 1153 | }, 1154 | "bytes": { 1155 | "version": "3.1.2", 1156 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", 1157 | "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==" 1158 | }, 1159 | "call-bind": { 1160 | "version": "1.0.2", 1161 | "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", 1162 | "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", 1163 | "requires": { 1164 | "function-bind": "^1.1.1", 1165 | "get-intrinsic": "^1.0.2" 1166 | } 1167 | }, 1168 | "chokidar": { 1169 | "version": "3.5.3", 1170 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", 1171 | "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", 1172 | "requires": { 1173 | "anymatch": "~3.1.2", 1174 | "braces": "~3.0.2", 1175 | "fsevents": "~2.3.2", 1176 | "glob-parent": "~5.1.2", 1177 | "is-binary-path": "~2.1.0", 1178 | "is-glob": "~4.0.1", 1179 | "normalize-path": "~3.0.0", 1180 | "readdirp": "~3.6.0" 1181 | } 1182 | }, 1183 | "concat-map": { 1184 | "version": "0.0.1", 1185 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 1186 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" 1187 | }, 1188 | "content-disposition": { 1189 | "version": "0.5.4", 1190 | "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", 1191 | "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", 1192 | "requires": { 1193 | "safe-buffer": "5.2.1" 1194 | } 1195 | }, 1196 | "content-type": { 1197 | "version": "1.0.4", 1198 | "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", 1199 | "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" 1200 | }, 1201 | "cookie": { 1202 | "version": "0.5.0", 1203 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", 1204 | "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==" 1205 | }, 1206 | "cookie-signature": { 1207 | "version": "1.0.6", 1208 | "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", 1209 | "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" 1210 | }, 1211 | "debug": { 1212 | "version": "2.6.9", 1213 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 1214 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 1215 | "requires": { 1216 | "ms": "2.0.0" 1217 | } 1218 | }, 1219 | "depd": { 1220 | "version": "2.0.0", 1221 | "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", 1222 | "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==" 1223 | }, 1224 | "destroy": { 1225 | "version": "1.2.0", 1226 | "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", 1227 | "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==" 1228 | }, 1229 | "ecdsa-sig-formatter": { 1230 | "version": "1.0.11", 1231 | "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", 1232 | "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", 1233 | "requires": { 1234 | "safe-buffer": "^5.0.1" 1235 | } 1236 | }, 1237 | "ee-first": { 1238 | "version": "1.1.1", 1239 | "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", 1240 | "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" 1241 | }, 1242 | "encodeurl": { 1243 | "version": "1.0.2", 1244 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", 1245 | "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==" 1246 | }, 1247 | "escape-html": { 1248 | "version": "1.0.3", 1249 | "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", 1250 | "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" 1251 | }, 1252 | "etag": { 1253 | "version": "1.8.1", 1254 | "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", 1255 | "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" 1256 | }, 1257 | "express": { 1258 | "version": "4.18.1", 1259 | "resolved": "https://registry.npmjs.org/express/-/express-4.18.1.tgz", 1260 | "integrity": "sha512-zZBcOX9TfehHQhtupq57OF8lFZ3UZi08Y97dwFCkD8p9d/d2Y3M+ykKcwaMDEL+4qyUolgBDX6AblpR3fL212Q==", 1261 | "requires": { 1262 | "accepts": "~1.3.8", 1263 | "array-flatten": "1.1.1", 1264 | "body-parser": "1.20.0", 1265 | "content-disposition": "0.5.4", 1266 | "content-type": "~1.0.4", 1267 | "cookie": "0.5.0", 1268 | "cookie-signature": "1.0.6", 1269 | "debug": "2.6.9", 1270 | "depd": "2.0.0", 1271 | "encodeurl": "~1.0.2", 1272 | "escape-html": "~1.0.3", 1273 | "etag": "~1.8.1", 1274 | "finalhandler": "1.2.0", 1275 | "fresh": "0.5.2", 1276 | "http-errors": "2.0.0", 1277 | "merge-descriptors": "1.0.1", 1278 | "methods": "~1.1.2", 1279 | "on-finished": "2.4.1", 1280 | "parseurl": "~1.3.3", 1281 | "path-to-regexp": "0.1.7", 1282 | "proxy-addr": "~2.0.7", 1283 | "qs": "6.10.3", 1284 | "range-parser": "~1.2.1", 1285 | "safe-buffer": "5.2.1", 1286 | "send": "0.18.0", 1287 | "serve-static": "1.15.0", 1288 | "setprototypeof": "1.2.0", 1289 | "statuses": "2.0.1", 1290 | "type-is": "~1.6.18", 1291 | "utils-merge": "1.0.1", 1292 | "vary": "~1.1.2" 1293 | } 1294 | }, 1295 | "express-session": { 1296 | "version": "1.17.3", 1297 | "resolved": "https://registry.npmjs.org/express-session/-/express-session-1.17.3.tgz", 1298 | "integrity": "sha512-4+otWXlShYlG1Ma+2Jnn+xgKUZTMJ5QD3YvfilX3AcocOAbIkVylSWEklzALe/+Pu4qV6TYBj5GwOBFfdKqLBw==", 1299 | "requires": { 1300 | "cookie": "0.4.2", 1301 | "cookie-signature": "1.0.6", 1302 | "debug": "2.6.9", 1303 | "depd": "~2.0.0", 1304 | "on-headers": "~1.0.2", 1305 | "parseurl": "~1.3.3", 1306 | "safe-buffer": "5.2.1", 1307 | "uid-safe": "~2.1.5" 1308 | }, 1309 | "dependencies": { 1310 | "cookie": { 1311 | "version": "0.4.2", 1312 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz", 1313 | "integrity": "sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==" 1314 | } 1315 | } 1316 | }, 1317 | "fill-range": { 1318 | "version": "7.0.1", 1319 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 1320 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 1321 | "requires": { 1322 | "to-regex-range": "^5.0.1" 1323 | } 1324 | }, 1325 | "finalhandler": { 1326 | "version": "1.2.0", 1327 | "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", 1328 | "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", 1329 | "requires": { 1330 | "debug": "2.6.9", 1331 | "encodeurl": "~1.0.2", 1332 | "escape-html": "~1.0.3", 1333 | "on-finished": "2.4.1", 1334 | "parseurl": "~1.3.3", 1335 | "statuses": "2.0.1", 1336 | "unpipe": "~1.0.0" 1337 | } 1338 | }, 1339 | "forwarded": { 1340 | "version": "0.2.0", 1341 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", 1342 | "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==" 1343 | }, 1344 | "fresh": { 1345 | "version": "0.5.2", 1346 | "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", 1347 | "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==" 1348 | }, 1349 | "fsevents": { 1350 | "version": "2.3.2", 1351 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", 1352 | "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", 1353 | "optional": true 1354 | }, 1355 | "function-bind": { 1356 | "version": "1.1.1", 1357 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 1358 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" 1359 | }, 1360 | "get-intrinsic": { 1361 | "version": "1.1.2", 1362 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.2.tgz", 1363 | "integrity": "sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA==", 1364 | "requires": { 1365 | "function-bind": "^1.1.1", 1366 | "has": "^1.0.3", 1367 | "has-symbols": "^1.0.3" 1368 | } 1369 | }, 1370 | "glob-parent": { 1371 | "version": "5.1.2", 1372 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 1373 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 1374 | "requires": { 1375 | "is-glob": "^4.0.1" 1376 | } 1377 | }, 1378 | "has": { 1379 | "version": "1.0.3", 1380 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 1381 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 1382 | "requires": { 1383 | "function-bind": "^1.1.1" 1384 | } 1385 | }, 1386 | "has-flag": { 1387 | "version": "3.0.0", 1388 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 1389 | "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==" 1390 | }, 1391 | "has-symbols": { 1392 | "version": "1.0.3", 1393 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", 1394 | "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" 1395 | }, 1396 | "http-errors": { 1397 | "version": "2.0.0", 1398 | "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", 1399 | "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", 1400 | "requires": { 1401 | "depd": "2.0.0", 1402 | "inherits": "2.0.4", 1403 | "setprototypeof": "1.2.0", 1404 | "statuses": "2.0.1", 1405 | "toidentifier": "1.0.1" 1406 | } 1407 | }, 1408 | "iconv-lite": { 1409 | "version": "0.4.24", 1410 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 1411 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 1412 | "requires": { 1413 | "safer-buffer": ">= 2.1.2 < 3" 1414 | } 1415 | }, 1416 | "ignore-by-default": { 1417 | "version": "1.0.1", 1418 | "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", 1419 | "integrity": "sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==" 1420 | }, 1421 | "inherits": { 1422 | "version": "2.0.4", 1423 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1424 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" 1425 | }, 1426 | "ipaddr.js": { 1427 | "version": "1.9.1", 1428 | "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", 1429 | "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" 1430 | }, 1431 | "is-binary-path": { 1432 | "version": "2.1.0", 1433 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 1434 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 1435 | "requires": { 1436 | "binary-extensions": "^2.0.0" 1437 | } 1438 | }, 1439 | "is-extglob": { 1440 | "version": "2.1.1", 1441 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 1442 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==" 1443 | }, 1444 | "is-glob": { 1445 | "version": "4.0.3", 1446 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 1447 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 1448 | "requires": { 1449 | "is-extglob": "^2.1.1" 1450 | } 1451 | }, 1452 | "is-number": { 1453 | "version": "7.0.0", 1454 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 1455 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" 1456 | }, 1457 | "jsonwebtoken": { 1458 | "version": "8.5.1", 1459 | "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", 1460 | "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", 1461 | "requires": { 1462 | "jws": "^3.2.2", 1463 | "lodash.includes": "^4.3.0", 1464 | "lodash.isboolean": "^3.0.3", 1465 | "lodash.isinteger": "^4.0.4", 1466 | "lodash.isnumber": "^3.0.3", 1467 | "lodash.isplainobject": "^4.0.6", 1468 | "lodash.isstring": "^4.0.1", 1469 | "lodash.once": "^4.0.0", 1470 | "ms": "^2.1.1", 1471 | "semver": "^5.6.0" 1472 | }, 1473 | "dependencies": { 1474 | "ms": { 1475 | "version": "2.1.3", 1476 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 1477 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" 1478 | } 1479 | } 1480 | }, 1481 | "jwa": { 1482 | "version": "1.4.1", 1483 | "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", 1484 | "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", 1485 | "requires": { 1486 | "buffer-equal-constant-time": "1.0.1", 1487 | "ecdsa-sig-formatter": "1.0.11", 1488 | "safe-buffer": "^5.0.1" 1489 | } 1490 | }, 1491 | "jws": { 1492 | "version": "3.2.2", 1493 | "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", 1494 | "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", 1495 | "requires": { 1496 | "jwa": "^1.4.1", 1497 | "safe-buffer": "^5.0.1" 1498 | } 1499 | }, 1500 | "lodash.includes": { 1501 | "version": "4.3.0", 1502 | "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", 1503 | "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==" 1504 | }, 1505 | "lodash.isboolean": { 1506 | "version": "3.0.3", 1507 | "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", 1508 | "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==" 1509 | }, 1510 | "lodash.isinteger": { 1511 | "version": "4.0.4", 1512 | "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", 1513 | "integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==" 1514 | }, 1515 | "lodash.isnumber": { 1516 | "version": "3.0.3", 1517 | "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", 1518 | "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==" 1519 | }, 1520 | "lodash.isplainobject": { 1521 | "version": "4.0.6", 1522 | "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", 1523 | "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==" 1524 | }, 1525 | "lodash.isstring": { 1526 | "version": "4.0.1", 1527 | "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", 1528 | "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==" 1529 | }, 1530 | "lodash.once": { 1531 | "version": "4.1.1", 1532 | "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", 1533 | "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==" 1534 | }, 1535 | "media-typer": { 1536 | "version": "0.3.0", 1537 | "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", 1538 | "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==" 1539 | }, 1540 | "merge-descriptors": { 1541 | "version": "1.0.1", 1542 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", 1543 | "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" 1544 | }, 1545 | "methods": { 1546 | "version": "1.1.2", 1547 | "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", 1548 | "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==" 1549 | }, 1550 | "mime": { 1551 | "version": "1.6.0", 1552 | "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", 1553 | "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" 1554 | }, 1555 | "mime-db": { 1556 | "version": "1.52.0", 1557 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", 1558 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" 1559 | }, 1560 | "mime-types": { 1561 | "version": "2.1.35", 1562 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", 1563 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", 1564 | "requires": { 1565 | "mime-db": "1.52.0" 1566 | } 1567 | }, 1568 | "minimatch": { 1569 | "version": "3.1.2", 1570 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1571 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1572 | "requires": { 1573 | "brace-expansion": "^1.1.7" 1574 | } 1575 | }, 1576 | "ms": { 1577 | "version": "2.0.0", 1578 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 1579 | "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" 1580 | }, 1581 | "negotiator": { 1582 | "version": "0.6.3", 1583 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", 1584 | "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==" 1585 | }, 1586 | "nodemon": { 1587 | "version": "2.0.19", 1588 | "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.19.tgz", 1589 | "integrity": "sha512-4pv1f2bMDj0Eeg/MhGqxrtveeQ5/G/UVe9iO6uTZzjnRluSA4PVWf8CW99LUPwGB3eNIA7zUFoP77YuI7hOc0A==", 1590 | "requires": { 1591 | "chokidar": "^3.5.2", 1592 | "debug": "^3.2.7", 1593 | "ignore-by-default": "^1.0.1", 1594 | "minimatch": "^3.0.4", 1595 | "pstree.remy": "^1.1.8", 1596 | "semver": "^5.7.1", 1597 | "simple-update-notifier": "^1.0.7", 1598 | "supports-color": "^5.5.0", 1599 | "touch": "^3.1.0", 1600 | "undefsafe": "^2.0.5" 1601 | }, 1602 | "dependencies": { 1603 | "debug": { 1604 | "version": "3.2.7", 1605 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", 1606 | "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", 1607 | "requires": { 1608 | "ms": "^2.1.1" 1609 | } 1610 | }, 1611 | "ms": { 1612 | "version": "2.1.3", 1613 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 1614 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" 1615 | } 1616 | } 1617 | }, 1618 | "nopt": { 1619 | "version": "1.0.10", 1620 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", 1621 | "integrity": "sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==", 1622 | "requires": { 1623 | "abbrev": "1" 1624 | } 1625 | }, 1626 | "normalize-path": { 1627 | "version": "3.0.0", 1628 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 1629 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==" 1630 | }, 1631 | "object-inspect": { 1632 | "version": "1.12.2", 1633 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz", 1634 | "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==" 1635 | }, 1636 | "on-finished": { 1637 | "version": "2.4.1", 1638 | "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", 1639 | "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", 1640 | "requires": { 1641 | "ee-first": "1.1.1" 1642 | } 1643 | }, 1644 | "on-headers": { 1645 | "version": "1.0.2", 1646 | "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", 1647 | "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==" 1648 | }, 1649 | "parseurl": { 1650 | "version": "1.3.3", 1651 | "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", 1652 | "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" 1653 | }, 1654 | "path-to-regexp": { 1655 | "version": "0.1.7", 1656 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", 1657 | "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==" 1658 | }, 1659 | "picomatch": { 1660 | "version": "2.3.1", 1661 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 1662 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" 1663 | }, 1664 | "proxy-addr": { 1665 | "version": "2.0.7", 1666 | "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", 1667 | "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", 1668 | "requires": { 1669 | "forwarded": "0.2.0", 1670 | "ipaddr.js": "1.9.1" 1671 | } 1672 | }, 1673 | "pstree.remy": { 1674 | "version": "1.1.8", 1675 | "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", 1676 | "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==" 1677 | }, 1678 | "qs": { 1679 | "version": "6.10.3", 1680 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.3.tgz", 1681 | "integrity": "sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ==", 1682 | "requires": { 1683 | "side-channel": "^1.0.4" 1684 | } 1685 | }, 1686 | "random-bytes": { 1687 | "version": "1.0.0", 1688 | "resolved": "https://registry.npmjs.org/random-bytes/-/random-bytes-1.0.0.tgz", 1689 | "integrity": "sha512-iv7LhNVO047HzYR3InF6pUcUsPQiHTM1Qal51DcGSuZFBil1aBBWG5eHPNek7bvILMaYJ/8RU1e8w1AMdHmLQQ==" 1690 | }, 1691 | "range-parser": { 1692 | "version": "1.2.1", 1693 | "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", 1694 | "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" 1695 | }, 1696 | "raw-body": { 1697 | "version": "2.5.1", 1698 | "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", 1699 | "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", 1700 | "requires": { 1701 | "bytes": "3.1.2", 1702 | "http-errors": "2.0.0", 1703 | "iconv-lite": "0.4.24", 1704 | "unpipe": "1.0.0" 1705 | } 1706 | }, 1707 | "readdirp": { 1708 | "version": "3.6.0", 1709 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", 1710 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", 1711 | "requires": { 1712 | "picomatch": "^2.2.1" 1713 | } 1714 | }, 1715 | "safe-buffer": { 1716 | "version": "5.2.1", 1717 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 1718 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" 1719 | }, 1720 | "safer-buffer": { 1721 | "version": "2.1.2", 1722 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 1723 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 1724 | }, 1725 | "semver": { 1726 | "version": "5.7.1", 1727 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", 1728 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" 1729 | }, 1730 | "send": { 1731 | "version": "0.18.0", 1732 | "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", 1733 | "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", 1734 | "requires": { 1735 | "debug": "2.6.9", 1736 | "depd": "2.0.0", 1737 | "destroy": "1.2.0", 1738 | "encodeurl": "~1.0.2", 1739 | "escape-html": "~1.0.3", 1740 | "etag": "~1.8.1", 1741 | "fresh": "0.5.2", 1742 | "http-errors": "2.0.0", 1743 | "mime": "1.6.0", 1744 | "ms": "2.1.3", 1745 | "on-finished": "2.4.1", 1746 | "range-parser": "~1.2.1", 1747 | "statuses": "2.0.1" 1748 | }, 1749 | "dependencies": { 1750 | "ms": { 1751 | "version": "2.1.3", 1752 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 1753 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" 1754 | } 1755 | } 1756 | }, 1757 | "serve-static": { 1758 | "version": "1.15.0", 1759 | "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", 1760 | "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", 1761 | "requires": { 1762 | "encodeurl": "~1.0.2", 1763 | "escape-html": "~1.0.3", 1764 | "parseurl": "~1.3.3", 1765 | "send": "0.18.0" 1766 | } 1767 | }, 1768 | "setprototypeof": { 1769 | "version": "1.2.0", 1770 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", 1771 | "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" 1772 | }, 1773 | "side-channel": { 1774 | "version": "1.0.4", 1775 | "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", 1776 | "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", 1777 | "requires": { 1778 | "call-bind": "^1.0.0", 1779 | "get-intrinsic": "^1.0.2", 1780 | "object-inspect": "^1.9.0" 1781 | } 1782 | }, 1783 | "simple-update-notifier": { 1784 | "version": "1.0.7", 1785 | "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-1.0.7.tgz", 1786 | "integrity": "sha512-BBKgR84BJQJm6WjWFMHgLVuo61FBDSj1z/xSFUIozqO6wO7ii0JxCqlIud7Enr/+LhlbNI0whErq96P2qHNWew==", 1787 | "requires": { 1788 | "semver": "~7.0.0" 1789 | }, 1790 | "dependencies": { 1791 | "semver": { 1792 | "version": "7.0.0", 1793 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", 1794 | "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==" 1795 | } 1796 | } 1797 | }, 1798 | "statuses": { 1799 | "version": "2.0.1", 1800 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", 1801 | "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==" 1802 | }, 1803 | "supports-color": { 1804 | "version": "5.5.0", 1805 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 1806 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 1807 | "requires": { 1808 | "has-flag": "^3.0.0" 1809 | } 1810 | }, 1811 | "to-regex-range": { 1812 | "version": "5.0.1", 1813 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 1814 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 1815 | "requires": { 1816 | "is-number": "^7.0.0" 1817 | } 1818 | }, 1819 | "toidentifier": { 1820 | "version": "1.0.1", 1821 | "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", 1822 | "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==" 1823 | }, 1824 | "touch": { 1825 | "version": "3.1.0", 1826 | "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", 1827 | "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", 1828 | "requires": { 1829 | "nopt": "~1.0.10" 1830 | } 1831 | }, 1832 | "type-is": { 1833 | "version": "1.6.18", 1834 | "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", 1835 | "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", 1836 | "requires": { 1837 | "media-typer": "0.3.0", 1838 | "mime-types": "~2.1.24" 1839 | } 1840 | }, 1841 | "uid-safe": { 1842 | "version": "2.1.5", 1843 | "resolved": "https://registry.npmjs.org/uid-safe/-/uid-safe-2.1.5.tgz", 1844 | "integrity": "sha512-KPHm4VL5dDXKz01UuEd88Df+KzynaohSL9fBh096KWAxSKZQDI2uBrVqtvRM4rwrIrRRKsdLNML/lnaaVSRioA==", 1845 | "requires": { 1846 | "random-bytes": "~1.0.0" 1847 | } 1848 | }, 1849 | "undefsafe": { 1850 | "version": "2.0.5", 1851 | "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", 1852 | "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==" 1853 | }, 1854 | "unpipe": { 1855 | "version": "1.0.0", 1856 | "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", 1857 | "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==" 1858 | }, 1859 | "utils-merge": { 1860 | "version": "1.0.1", 1861 | "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", 1862 | "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==" 1863 | }, 1864 | "vary": { 1865 | "version": "1.1.2", 1866 | "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", 1867 | "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==" 1868 | } 1869 | } 1870 | } 1871 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "crud", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1", 8 | "start": "nodemon index.js", 9 | "start_auth": "nodemon index_withauth.js" 10 | }, 11 | "keywords": [], 12 | "author": "", 13 | "license": "MIT", 14 | "dependencies": { 15 | "express": "^4.18.1", 16 | "express-session": "^1.17.3", 17 | "jsonwebtoken": "^8.5.1", 18 | "nodemon": "^2.0.19" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /routes/users.js: -------------------------------------------------------------------------------- 1 | const express = require('express'); 2 | const router = express.Router(); 3 | 4 | 5 | let users = [ 6 | { 7 | firstName: "John", 8 | lastName: "wick", 9 | email:"johnwick@gamil.com", 10 | DOB:"22-01-1990", 11 | }, 12 | { 13 | firstName: "John", 14 | lastName: "smith", 15 | email:"johnsmith@gamil.com", 16 | DOB:"21-07-1983", 17 | }, 18 | { 19 | firstName: "Joyal", 20 | lastName: "white", 21 | email:"joyalwhite@gamil.com", 22 | DOB:"21-03-1989", 23 | }, 24 | ]; 25 | 26 | // GET request: Retrieve all users 27 | router.get("/",(req,res)=>{ 28 | // Copy the code here 29 | res.send("Yet to be implemented")//This line is to be replaced with actual return value 30 | }); 31 | 32 | // GET by specific ID request: Retrieve a single user with email ID 33 | router.get("/:email",(req,res)=>{ 34 | // Copy the code here 35 | res.send("Yet to be implemented")//This line is to be replaced with actual return value 36 | }); 37 | 38 | 39 | // POST request: Create a new user 40 | router.post("/",(req,res)=>{ 41 | // Copy the code here 42 | res.send("Yet to be implemented")//This line is to be replaced with actual return value 43 | }); 44 | 45 | 46 | // PUT request: Update the details of a user by email ID 47 | router.put("/:email", (req, res) => { 48 | // Copy the code here 49 | res.send("Yet to be implemented")//This line is to be replaced with actual return value 50 | }); 51 | 52 | 53 | // DELETE request: Delete a user by email ID 54 | router.delete("/:email", (req, res) => { 55 | // Copy the code here 56 | res.send("Yet to be implemented")//This line is to be replaced with actual return value 57 | }); 58 | 59 | module.exports=router; 60 | --------------------------------------------------------------------------------