├── frontend ├── src │ ├── App.css │ ├── Login.css │ ├── Home.js │ ├── setupTests.js │ ├── App.test.js │ ├── admin.css │ ├── apply.css │ ├── index.css │ ├── reportWebVitals.js │ ├── sidebar.js │ ├── navbar.css │ ├── navbar.js │ ├── sidebar.css │ ├── two.css │ ├── student.css │ ├── index.js │ ├── App.js │ ├── logo.svg │ ├── login.js │ ├── Admin.js │ └── student.js ├── public │ ├── robots.txt │ ├── favicon.ico │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── index.html ├── package.json └── README.md ├── backend ├── db.js ├── package.json ├── server.js └── package-lock.json └── .gitignore /frontend/src/App.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /frontend/src/Login.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /frontend/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /frontend/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Poovizhi-Muthusamy/Leave-Onduty-applying-platform/HEAD/frontend/public/favicon.ico -------------------------------------------------------------------------------- /frontend/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Poovizhi-Muthusamy/Leave-Onduty-applying-platform/HEAD/frontend/public/logo192.png -------------------------------------------------------------------------------- /frontend/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Poovizhi-Muthusamy/Leave-Onduty-applying-platform/HEAD/frontend/public/logo512.png -------------------------------------------------------------------------------- /frontend/src/Home.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | function Home() { 4 | return
Home Dashboard
; 5 | } 6 | 7 | export default Home; -------------------------------------------------------------------------------- /backend/db.js: -------------------------------------------------------------------------------- 1 | const mongoose = require('mongoose'); 2 | 3 | const db = async () => { 4 | const mongoURI = 'mongodb://127.0.0.1:27017/leavedb'; 5 | mongoose.connect(mongoURI); 6 | }; 7 | 8 | module.exports = db; 9 | -------------------------------------------------------------------------------- /backend/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "body-parser": "^1.20.2", 4 | "cors": "^2.8.5", 5 | "express": "^4.18.2", 6 | "mongoose": "^8.1.1", 7 | "nodemon": "^3.0.3" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /frontend/src/setupTests.js: -------------------------------------------------------------------------------- 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. 2 | // allows you to do things like: 3 | // expect(element).toHaveTextContent(/react/i) 4 | // learn more: https://github.com/testing-library/jest-dom 5 | import '@testing-library/jest-dom'; 6 | -------------------------------------------------------------------------------- /frontend/src/App.test.js: -------------------------------------------------------------------------------- 1 | import { render, screen } from '@testing-library/react'; 2 | import App from './App'; 3 | 4 | test('renders learn react link', () => { 5 | render(); 6 | const linkElement = screen.getByText(/learn react/i); 7 | expect(linkElement).toBeInTheDocument(); 8 | }); 9 | -------------------------------------------------------------------------------- /frontend/src/admin.css: -------------------------------------------------------------------------------- 1 | .dashboard{ 2 | text-align: center; 3 | padding-top: 50px; 4 | padding-left: 90px; 5 | padding-bottom: 20px; 6 | 7 | } 8 | .table{ 9 | text-align: center; 10 | border: 2px solid black; 11 | width: 1000px; 12 | margin: 100px; 13 | margin-top: 30px; 14 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # production 12 | build 13 | 14 | # misc 15 | .DS_Store 16 | .env.local 17 | .env.development.local 18 | .env.test.local 19 | .env.production.local 20 | 21 | npm-debug.log* 22 | yarn-debug.log* 23 | yarn-error.log* 24 | -------------------------------------------------------------------------------- /frontend/src/apply.css: -------------------------------------------------------------------------------- 1 | .newbg{ 2 | background-color: #A1CCD1; 3 | } 4 | .headbg{ 5 | background-color: #eae7b8; 6 | } 7 | .formbg{ 8 | background-color: #F4F2DE; 9 | } 10 | .txt{ 11 | font-family: Georgia, 'Times New Roman', Times, serif; 12 | font-size: x-large; 13 | } 14 | .clsbtn{ 15 | 16 | background-color: rgb(185, 72, 72); 17 | color: white; 18 | border-radius: 6px; 19 | border: 1px solid rgb(185, 72, 72); 20 | } -------------------------------------------------------------------------------- /frontend/src/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 4 | 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 5 | sans-serif; 6 | -webkit-font-smoothing: antialiased; 7 | -moz-osx-font-smoothing: grayscale; 8 | } 9 | 10 | code { 11 | font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', 12 | monospace; 13 | } 14 | -------------------------------------------------------------------------------- /frontend/src/reportWebVitals.js: -------------------------------------------------------------------------------- 1 | const reportWebVitals = onPerfEntry => { 2 | if (onPerfEntry && onPerfEntry instanceof Function) { 3 | import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { 4 | getCLS(onPerfEntry); 5 | getFID(onPerfEntry); 6 | getFCP(onPerfEntry); 7 | getLCP(onPerfEntry); 8 | getTTFB(onPerfEntry); 9 | }); 10 | } 11 | }; 12 | 13 | export default reportWebVitals; 14 | -------------------------------------------------------------------------------- /frontend/src/sidebar.js: -------------------------------------------------------------------------------- 1 | // components/Sidebar.js 2 | import React from 'react'; 3 | import { Link } from 'react-router-dom'; 4 | import './sidebar.css'; 5 | import './apply.css'; 6 | 7 | function Sidebar() { 8 | return ( 9 | 16 | 17 | ); 18 | } 19 | 20 | export default Sidebar; 21 | -------------------------------------------------------------------------------- /frontend/src/navbar.css: -------------------------------------------------------------------------------- 1 | /* Navbar.css */ 2 | 3 | .navbar { 4 | background-color: #A1CCD1; /* Bootstrap primary color */ 5 | color: white; 6 | padding: 10px 0; 7 | 8 | } 9 | 10 | .container { 11 | display:block; 12 | justify-content: space-between; 13 | align-items: center; 14 | width: 100%; 15 | padding: 8px; 16 | 17 | } 18 | 19 | .navbar-brand { 20 | padding-left: 300px; 21 | font-family: Georgia, 'Times New Roman', Times, serif; 22 | font-size: 35px; 23 | } 24 | -------------------------------------------------------------------------------- /frontend/src/navbar.js: -------------------------------------------------------------------------------- 1 | // Navbar.js 2 | import React from 'react'; 3 | import './navbar.css'; 4 | import 'bootstrap/dist/css/bootstrap.min.css'; 5 | import './apply.css'; 6 | 7 | function Navbar() { 8 | return ( 9 |
10 | 15 |
16 | ); 17 | } 18 | 19 | export default Navbar; 20 | -------------------------------------------------------------------------------- /frontend/src/sidebar.css: -------------------------------------------------------------------------------- 1 | /* components/Sidebar.css */ 2 | 3 | .sidebar { 4 | width: 200px; 5 | height: 100vh; 6 | background-color: #eae7b8; 7 | 8 | padding: 20px; 9 | } 10 | 11 | .sidebar ul { 12 | list-style-type: none; 13 | padding: 0; 14 | color: black; 15 | 16 | } 17 | 18 | .sidebar li { 19 | margin-bottom: 10px; 20 | 21 | } 22 | 23 | .sidebar a { 24 | 25 | text-decoration: none; 26 | color: black; 27 | } 28 | 29 | .sidebar a:hover { 30 | text-decoration: underline; 31 | } 32 | -------------------------------------------------------------------------------- /frontend/src/two.css: -------------------------------------------------------------------------------- 1 | .loginB { 2 | display: flex; 3 | align-items: center; 4 | justify-content: center; 5 | height: 100vh; 6 | margin: 0; 7 | } 8 | 9 | .container1 { 10 | border: 1px solid #ccc; 11 | background-color: #eae7b8; 12 | margin-top: -70px; /* Adjust this value to move the container up */ 13 | padding: 20px; 14 | border-radius: 8px; 15 | width: 500px; 16 | box-sizing: content-box; /* Include padding and border in the width calculation */ 17 | } 18 | 19 | form { 20 | display: flex; 21 | flex-direction: column; 22 | align-items: center; 23 | } 24 | -------------------------------------------------------------------------------- /frontend/public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "React App", 3 | "name": "Create React App Sample", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | }, 10 | { 11 | "src": "logo192.png", 12 | "type": "image/png", 13 | "sizes": "192x192" 14 | }, 15 | { 16 | "src": "logo512.png", 17 | "type": "image/png", 18 | "sizes": "512x512" 19 | } 20 | ], 21 | "start_url": ".", 22 | "display": "standalone", 23 | "theme_color": "#000000", 24 | "background_color": "#ffffff" 25 | } 26 | -------------------------------------------------------------------------------- /frontend/src/student.css: -------------------------------------------------------------------------------- 1 | @import url('https://fonts.googleapis.com/css2?family=Merriweather&display=swap'); 2 | .head{ 3 | text-align: center; 4 | font-size: 30px; 5 | font-family: Merriweather; 6 | padding-top: 30px; 7 | color: white; 8 | } 9 | .bghead{ 10 | 11 | height: 100px; 12 | background-color: #A1CCD1; 13 | } 14 | .Btn{ 15 | text-align: right; 16 | display: flex; 17 | justify-content: end; 18 | margin: 20px; 19 | display: inline; 20 | float: right; 21 | } 22 | .BBtn{ 23 | margin: 20px; 24 | } 25 | .table{ 26 | text-align: center; 27 | border: 2px solid black; 28 | width: 1000px; 29 | margin: 100px; 30 | margin-top: 30px; 31 | } 32 | .dashboard1{ 33 | text-align: center; 34 | } 35 | .filter{ 36 | text-align: right; 37 | display: flex; 38 | justify-content: end; 39 | margin: 20px; 40 | display: inline; 41 | float: left; 42 | } 43 | -------------------------------------------------------------------------------- /frontend/src/index.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'; 4 | import App from './App'; 5 | import Login from './login'; 6 | import Sidebar from './sidebar'; 7 | import Home from './Home'; 8 | import Navbar from './navbar'; 9 | import Apply from './student'; 10 | import Admin from './Admin'; 11 | 12 | 13 | const App2 = () => { 14 | return ( 15 | 16 | 17 | } /> 18 | } /> 19 | } /> 20 | } /> 21 | } /> 22 | }/> 23 | }/> 24 | 25 | 26 | 27 | ); 28 | }; 29 | 30 | ReactDOM.render(, document.getElementById('root')); 31 | -------------------------------------------------------------------------------- /frontend/src/App.js: -------------------------------------------------------------------------------- 1 | // App.js 2 | 3 | import React from 'react'; 4 | import { BrowserRouter as Router, Route, Routes } from 'react-router-dom'; 5 | import 'bootstrap/dist/css/bootstrap.min.css'; 6 | import Sidebar from './sidebar'; 7 | import Home from './Home'; 8 | import Navbar from './navbar'; 9 | import Login from './login'; 10 | import Apply from './student'; 11 | import Admin from './Admin'; 12 | import './apply.css' 13 | 14 | function App() { 15 | return ( 16 | <> 17 |
18 |
19 | 20 |
21 | 22 |
23 |
24 | 25 | } /> 26 | } /> 27 | } /> 28 | 29 |
30 | 31 |
32 |
33 |
34 | 35 | 36 | ); 37 | } 38 | 39 | export default App; 40 | -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "frontend", 3 | "version": "0.1.0", 4 | "private": true, 5 | "dependencies": { 6 | "@testing-library/jest-dom": "^5.17.0", 7 | "@testing-library/react": "^13.4.0", 8 | "@testing-library/user-event": "^13.5.0", 9 | "axios": "^1.6.7", 10 | "bootstrap": "^5.3.2", 11 | "date-fns": "^3.3.1", 12 | "gatsby": "^5.13.3", 13 | "next": "^14.1.0", 14 | "react": "^18.2.0", 15 | "react-datepicker": "^6.1.0", 16 | "react-dom": "^18.2.0", 17 | "react-router-dom": "^6.21.3", 18 | "react-scripts": "5.0.1", 19 | "web-vitals": "^2.1.4" 20 | }, 21 | "scripts": { 22 | "start": "react-scripts start", 23 | "build": "react-scripts build", 24 | "test": "react-scripts test", 25 | "eject": "react-scripts eject" 26 | }, 27 | "eslintConfig": { 28 | "extends": [ 29 | "react-app", 30 | "react-app/jest" 31 | ] 32 | }, 33 | "browserslist": { 34 | "production": [ 35 | ">0.2%", 36 | "not dead", 37 | "not op_mini all" 38 | ], 39 | "development": [ 40 | "last 1 chrome version", 41 | "last 1 firefox version", 42 | "last 1 safari version" 43 | ] 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /frontend/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 12 | 13 | 17 | 18 | 27 | React App 28 | 29 | 30 | 31 |
32 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /frontend/src/logo.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /frontend/src/login.js: -------------------------------------------------------------------------------- 1 | import React, { useState } from 'react'; 2 | import axios from 'axios'; 3 | import { useNavigate } from 'react-router-dom'; 4 | import 'bootstrap/dist/css/bootstrap.min.css'; 5 | import './two.css'; 6 | import './apply.css' 7 | function Login() { 8 | const [username, setUsername] = useState(''); 9 | const [password, setPassword] = useState(''); 10 | const navigate = useNavigate(); 11 | 12 | const resetFields = () => { 13 | setUsername(''); 14 | setPassword(''); 15 | }; 16 | const handleSuccessfulLogin = (username) => { 17 | // Store the username in the session (localStorage or sessionStorage) 18 | localStorage.setItem('username', username); 19 | }; 20 | const handleSubmit = async (event) => { 21 | event.preventDefault(); 22 | const response = await axios.post('http://127.0.0.1:8000/login', { 23 | username: username, 24 | password: password, 25 | }); 26 | 27 | const {status,message} = response.data; 28 | if(status==="success") 29 | { 30 | if (username === 'admin' && password === '123') { 31 | alert('Login successful as admin!'); 32 | navigate('/admin'); 33 | } else { 34 | alert('Login successful as student!'); 35 | handleSuccessfulLogin(username); 36 | navigate('/student'); 37 | } 38 | } 39 | else 40 | { 41 | alert('username/password wrong'); 42 | resetFields(); 43 | navigate('/login'); 44 | } 45 | 46 | }; 47 | 48 | return ( 49 |
50 |
51 |

Leave and On-duty Applying Portal


52 |
53 |
54 |
55 |
56 |

Login

57 |

58 |
59 | 62 | setUsername(e.target.value)} 69 | /> 70 |
71 |
72 | 75 | setPassword(e.target.value)} 81 | /> 82 |
83 | 86 |
87 |
88 |
89 |
90 | ); 91 | } 92 | 93 | export default Login; 94 | -------------------------------------------------------------------------------- /frontend/README.md: -------------------------------------------------------------------------------- 1 | # Getting Started with Create React App 2 | 3 | This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). 4 | 5 | ## Available Scripts 6 | 7 | In the project directory, you can run: 8 | 9 | ### `npm start` 10 | 11 | Runs the app in the development mode.\ 12 | Open [http://localhost:3000](http://localhost:3000) to view it in your browser. 13 | 14 | The page will reload when you make changes.\ 15 | You may also see any lint errors in the console. 16 | 17 | ### `npm test` 18 | 19 | Launches the test runner in the interactive watch mode.\ 20 | See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. 21 | 22 | ### `npm run build` 23 | 24 | Builds the app for production to the `build` folder.\ 25 | It correctly bundles React in production mode and optimizes the build for the best performance. 26 | 27 | The build is minified and the filenames include the hashes.\ 28 | Your app is ready to be deployed! 29 | 30 | See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. 31 | 32 | ### `npm run eject` 33 | 34 | **Note: this is a one-way operation. Once you `eject`, you can't go back!** 35 | 36 | If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. 37 | 38 | Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own. 39 | 40 | You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it. 41 | 42 | ## Learn More 43 | 44 | You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). 45 | 46 | To learn React, check out the [React documentation](https://reactjs.org/). 47 | 48 | ### Code Splitting 49 | 50 | This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting) 51 | 52 | ### Analyzing the Bundle Size 53 | 54 | This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size) 55 | 56 | ### Making a Progressive Web App 57 | 58 | This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app) 59 | 60 | ### Advanced Configuration 61 | 62 | This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration) 63 | 64 | ### Deployment 65 | 66 | This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment) 67 | 68 | ### `npm run build` fails to minify 69 | 70 | This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify) 71 | -------------------------------------------------------------------------------- /backend/server.js: -------------------------------------------------------------------------------- 1 | const express = require('express'); 2 | const app = express(); 3 | const bodyparser = require('body-parser'); 4 | const cors = require('cors'); 5 | app.use(cors()); 6 | app.use(bodyparser.json()); 7 | const mongoose = require('mongoose'); 8 | 9 | const db = require('./db'); 10 | db(); 11 | 12 | const User = mongoose.model('users', { 13 | username: String, 14 | password: String, 15 | }); 16 | 17 | const Application = mongoose.model('applications', { 18 | rollno: String, 19 | applicationType: String, 20 | fromDate: String, 21 | toDate:String, 22 | reason: String, 23 | applicationStatus:Number, 24 | }); 25 | 26 | //node code// 27 | app.post('/login', async (req, res) => { 28 | const { username, password } = req.body; 29 | const user = await User.findOne({ username,password }); 30 | if (user) { 31 | res.json({ status: 'success', message: 'Login successfully' }); 32 | } else { 33 | res.json({ status: 'failure', message: 'Login failed' }); 34 | } 35 | }); 36 | 37 | app.post('/apply', async (req, res) => { 38 | const {rollno, applicationType,fromDate,toDate,reason ,applicationStatus} = req.body; 39 | const application = await Application.insertMany({rollno,applicationType,fromDate,toDate,reason,applicationStatus }); 40 | if (application) { 41 | res.json({ status: 'success', message: 'Request submitted successfully' }); 42 | } else { 43 | res.json({ status: 'failure', message: 'Request submissin Failed' }); 44 | } 45 | }); 46 | 47 | app.get('/tableData', async (req, res) => { 48 | try { 49 | let query = {}; 50 | 51 | // If a filter date is provided in the query parameters, use it to filter data 52 | if (req.query.filter) { 53 | const filterDate = req.query.filter; 54 | query = { 55 | fromDate: { $lte: filterDate }, // Assuming fromDate is less than or equal to filterDate 56 | toDate: { $gte: filterDate }, // Assuming toDate is greater than or equal to filterDate 57 | }; 58 | } 59 | 60 | const applications = await Application.find(query); 61 | res.json(applications); 62 | } catch (error) { 63 | console.error(error); 64 | res.status(500).json({ status: 'failure', message: 'Internal server error' }); 65 | } 66 | }); 67 | 68 | app.get('/UsertableData', async (req, res) => { 69 | try { 70 | let query = {}; 71 | 72 | // If a filter username is provided in the query parameters, use it to filter data 73 | if (req.query.username) { 74 | const filterUser = req.query.username; 75 | query = { 76 | rollno: { $eq: filterUser }, 77 | }; 78 | } 79 | 80 | const userApplications = await Application.find(query); 81 | res.json(userApplications); 82 | } catch (error) { 83 | console.error(error); 84 | res.status(500).json({ status: 'failure', message: 'Internal server error' }); 85 | } 86 | }); 87 | 88 | 89 | 90 | /*app.post('/usertableData', async (req, res) => { 91 | const { username } = req.body; 92 | const applications = await Application.find({username}); 93 | res.json(applications); 94 | });*/ 95 | // ... 96 | 97 | app.post('/approveApplication', async (req, res) => { 98 | const { applicationId } = req.body; 99 | 100 | try { 101 | const updatedApplication = await Application.findOneAndUpdate( 102 | { _id: applicationId}, 103 | { $set: { applicationStatus: 1 } }, 104 | { new: true } 105 | ); 106 | 107 | if (updatedApplication) { 108 | res.json({ status: 'success', message: 'Application approved successfully' }); 109 | } else { 110 | res.json({ status: 'failure', message: 'Application approval failed' }); 111 | } 112 | } catch (error) { 113 | console.error(error); 114 | res.status(500).json({ status: 'failure', message: 'Internal server error' }); 115 | } 116 | }); 117 | 118 | app.post('/declineApplication', async (req, res) => { 119 | const { applicationId } = req.body; 120 | 121 | try { 122 | const updatedApplication = await Application.findOneAndUpdate( 123 | { _id: applicationId }, 124 | { $set: { applicationStatus: 2 } }, 125 | { new: true } 126 | ); 127 | 128 | if (updatedApplication) { 129 | res.json({ status: 'success', message: 'Application declined successfully' }); 130 | } else { 131 | res.json({ status: 'failure', message: 'Application decline failed' }); 132 | } 133 | } catch (error) { 134 | console.error(error); 135 | res.status(500).json({ status: 'failure', message: 'Internal server error' }); 136 | } 137 | }); 138 | 139 | // ... 140 | 141 | app.listen(8000,()=>{console.log("Node running at 8000");}) -------------------------------------------------------------------------------- /frontend/src/Admin.js: -------------------------------------------------------------------------------- 1 | import React, { useState,useEffect} from 'react'; 2 | import axios from 'axios'; 3 | import 'bootstrap/dist/css/bootstrap.min.css'; 4 | import './admin.css'; 5 | import { useNavigate } from 'react-router-dom'; 6 | 7 | 8 | 9 | 10 | function Admin(){ 11 | const navigate = useNavigate(); 12 | const [tableData, setTableData] = useState([]); 13 | const [filter, setFilter] = useState([]); 14 | useEffect(() => { 15 | fetchTableData(); 16 | }, [filter]); 17 | 18 | const fetchTableData = async () => { 19 | try { 20 | let url = 'http://127.0.0.1:8000/tableData'; 21 | 22 | // If a filter date is selected, append it to the URL 23 | if (filter) { 24 | url += `?filter=${filter}`; 25 | } 26 | 27 | const response = await axios.get(url); 28 | const data = response.data; 29 | setTableData(data); 30 | } catch (error) { 31 | console.error(error); 32 | } 33 | }; 34 | 35 | const formatDate = (dateString) => { 36 | const options = { year: 'numeric', month: '2-digit', day: '2-digit' }; 37 | const formattedDate = new Date(dateString).toLocaleDateString(undefined, options); 38 | return formattedDate; 39 | }; 40 | 41 | 42 | 43 | 44 | 45 | const handleApprove = async (applicationId) => { 46 | try { 47 | const response = await axios.post('http://127.0.0.1:8000/approveApplication', { 48 | applicationId, 49 | }); 50 | 51 | const { status, message } = response.data; 52 | 53 | if (status === 'success') { 54 | alert(message); 55 | // Refresh the table data or update the state as needed 56 | fetchTableData(); 57 | } else { 58 | alert(message); 59 | } 60 | } catch (error) { 61 | console.error(error); 62 | } 63 | }; 64 | 65 | 66 | const handleLogout= async () => { 67 | navigate('/login', { replace: true }); 68 | } 69 | 70 | const handleDecline = async (applicationId) => { 71 | try { 72 | const response = await axios.post('http://127.0.0.1:8000/declineApplication', { 73 | applicationId, 74 | }); 75 | 76 | const { status, message } = response.data; 77 | 78 | if (status === 'success') { 79 | alert(message); 80 | // Refresh the table data or update the state as needed 81 | fetchTableData(); 82 | } else { 83 | alert(message); 84 | } 85 | } catch (error) { 86 | console.error(error); 87 | } 88 | }; 89 | return( 90 |
91 |
92 |

Leave and On-duty Applying Portal


93 |
94 | 95 | 96 |
97 |

Welcome Admin!

98 |
99 | 100 |
101 |
Choose date to filter
102 | 103 | setFilter(e.target.value)} /> 104 |
105 | 106 |
107 | 108 |
109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | {tableData.slice().reverse().map((row, index) => ( 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 145 | 146 | ))} 147 | 148 |
SnoRegistration numberTypeFrom DateTo DateReasonStatus
{index + 1}{row.rollno}{row.applicationType}{formatDate(row.fromDate)}{formatDate(row.toDate)}{row.reason} 132 | {row.applicationStatus === 0 && ( 133 | <> 134 | 137 | 140 | 141 | )} 142 | {row.applicationStatus === 1 && Approved} 143 | {row.applicationStatus === 2 && Declined} 144 |
149 |
150 | 151 | )} 152 | 153 | export default Admin; -------------------------------------------------------------------------------- /frontend/src/student.js: -------------------------------------------------------------------------------- 1 | import React, { useState , useEffect} from 'react'; 2 | import 'bootstrap/dist/css/bootstrap.min.css'; 3 | import './student.css'; 4 | import './apply.css'; 5 | import axios from 'axios'; 6 | import { useNavigate, useParams } from 'react-router-dom'; 7 | 8 | 9 | function Apply() { 10 | const { username } = useParams(); 11 | 12 | 13 | const [rollno, setRollno] = useState(''); 14 | 15 | const [applicationType, setApplicationType] = useState(''); 16 | const [fromDate, setFromDate] = useState(''); 17 | const [toDate, setToDate] = useState(''); 18 | const [reason, setReason] = useState(''); 19 | const [showModal, setShowModal] = useState(false); 20 | const navigate = useNavigate(); 21 | const [UsertableData, setUserTableData] = useState([]); 22 | 23 | const handleLogout= async () => { 24 | navigate('/login', { replace: true }); 25 | } 26 | 27 | 28 | useEffect(() => { 29 | setRollno(localStorage.getItem('username') || ''); 30 | fetchUserTableData(); 31 | }, [localStorage.getItem('username')]); 32 | 33 | const fetchUserTableData = async () => { 34 | try { 35 | let url = 'http://127.0.0.1:8000/UsertableData'; 36 | 37 | // Use the username from local storage to fetch only the specific user's data 38 | const storedUsername = localStorage.getItem('username'); 39 | if (storedUsername) { 40 | url += `?username=${storedUsername}`; 41 | } 42 | 43 | const response = await axios.get(url); 44 | const data = response.data; 45 | setUserTableData(data); 46 | } catch (error) { 47 | console.error(error); 48 | } 49 | }; 50 | 51 | const formatDate = (dateString) => { 52 | const options = { year: 'numeric', month: '2-digit', day: '2-digit' }; 53 | const formattedDate = new Date(dateString).toLocaleDateString(undefined, options); 54 | return formattedDate; 55 | }; 56 | 57 | 58 | 59 | const handleApplication = async (event) => { 60 | event.preventDefault(); 61 | const response = await axios.post('http://127.0.0.1:8000/apply', { 62 | rollno: rollno, 63 | applicationType: applicationType, 64 | fromDate: fromDate, 65 | toDate:toDate, 66 | reason: reason, 67 | applicationStatus:0, 68 | 69 | }); 70 | const {status} = response.data; 71 | if(status==="success") 72 | { 73 | alert('Request applied successfully'); 74 | setShowModal(false); 75 | fetchUserTableData(); 76 | 77 | } 78 | else 79 | { 80 | alert('Application failed'); 81 | } 82 | } 83 | return ( 84 |
85 | {showModal && ( 86 |
87 |
88 |
89 |
90 | 91 |
Apply for leave / Onduty
92 | 95 |
96 |
97 |
98 |
99 | 100 | 101 | setRollno(e.target.value)} 108 | /> 109 |
110 |
111 | 112 | 117 |
118 |
119 |
120 | 121 | setFromDate(e.target.value)} required /> 122 |
123 | 124 |
125 | 126 | setToDate(e.target.value)} required/> 127 |
128 |
129 |
130 | 131 | setReason(e.target.value)} 132 | style={{ width: '342px' }} required/> 133 |
134 | 137 |
138 |
139 |
140 |
141 | 142 |
143 | )} 144 | 145 |
146 |
147 |

Leave and On-duty Applying Portal


148 |
149 | 150 | 151 |
152 |

Welcome, {localStorage.getItem('username') || ''}!

153 | 154 | 155 |
156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | {UsertableData.slice().reverse().map((row, index) => ( 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 182 | 183 | ))} 184 | 185 |
SnoApplication TypeFrom DateTo DateReasonApplication Status
{index + 1}{row.applicationType}{formatDate(row.fromDate)}{formatDate(row.toDate)}{row.reason} 178 | {row.applicationStatus === 0 && Pending} 179 | {row.applicationStatus === 1 && Approved} 180 | {row.applicationStatus === 2 && Declined} 181 |
186 |
187 |
188 | ); 189 | } 190 | 191 | export default Apply; 192 | -------------------------------------------------------------------------------- /backend/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "backend", 3 | "lockfileVersion": 3, 4 | "requires": true, 5 | "packages": { 6 | "": { 7 | "dependencies": { 8 | "body-parser": "^1.20.2", 9 | "cors": "^2.8.5", 10 | "express": "^4.18.2", 11 | "mongoose": "^8.1.1", 12 | "nodemon": "^3.0.3" 13 | } 14 | }, 15 | "node_modules/@mongodb-js/saslprep": { 16 | "version": "1.1.4", 17 | "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.4.tgz", 18 | "integrity": "sha512-8zJ8N1x51xo9hwPh6AWnKdLGEC5N3lDa6kms1YHmFBoRhTpJR6HG8wWk0td1MVCu9cD4YBrvjZEtd5Obw0Fbnw==", 19 | "dependencies": { 20 | "sparse-bitfield": "^3.0.3" 21 | } 22 | }, 23 | "node_modules/@types/webidl-conversions": { 24 | "version": "7.0.3", 25 | "resolved": "https://registry.npmjs.org/@types/webidl-conversions/-/webidl-conversions-7.0.3.tgz", 26 | "integrity": "sha512-CiJJvcRtIgzadHCYXw7dqEnMNRjhGZlYK05Mj9OyktqV8uVT8fD2BFOB7S1uwBE3Kj2Z+4UyPmFw/Ixgw/LAlA==" 27 | }, 28 | "node_modules/@types/whatwg-url": { 29 | "version": "11.0.4", 30 | "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-11.0.4.tgz", 31 | "integrity": "sha512-lXCmTWSHJvf0TRSO58nm978b8HJ/EdsSsEKLd3ODHFjo+3VGAyyTp4v50nWvwtzBxSMQrVOK7tcuN0zGPLICMw==", 32 | "dependencies": { 33 | "@types/webidl-conversions": "*" 34 | } 35 | }, 36 | "node_modules/abbrev": { 37 | "version": "1.1.1", 38 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", 39 | "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" 40 | }, 41 | "node_modules/accepts": { 42 | "version": "1.3.8", 43 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", 44 | "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", 45 | "dependencies": { 46 | "mime-types": "~2.1.34", 47 | "negotiator": "0.6.3" 48 | }, 49 | "engines": { 50 | "node": ">= 0.6" 51 | } 52 | }, 53 | "node_modules/anymatch": { 54 | "version": "3.1.3", 55 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", 56 | "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", 57 | "dependencies": { 58 | "normalize-path": "^3.0.0", 59 | "picomatch": "^2.0.4" 60 | }, 61 | "engines": { 62 | "node": ">= 8" 63 | } 64 | }, 65 | "node_modules/array-flatten": { 66 | "version": "1.1.1", 67 | "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", 68 | "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" 69 | }, 70 | "node_modules/balanced-match": { 71 | "version": "1.0.2", 72 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 73 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" 74 | }, 75 | "node_modules/binary-extensions": { 76 | "version": "2.2.0", 77 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", 78 | "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", 79 | "engines": { 80 | "node": ">=8" 81 | } 82 | }, 83 | "node_modules/body-parser": { 84 | "version": "1.20.2", 85 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", 86 | "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", 87 | "dependencies": { 88 | "bytes": "3.1.2", 89 | "content-type": "~1.0.5", 90 | "debug": "2.6.9", 91 | "depd": "2.0.0", 92 | "destroy": "1.2.0", 93 | "http-errors": "2.0.0", 94 | "iconv-lite": "0.4.24", 95 | "on-finished": "2.4.1", 96 | "qs": "6.11.0", 97 | "raw-body": "2.5.2", 98 | "type-is": "~1.6.18", 99 | "unpipe": "1.0.0" 100 | }, 101 | "engines": { 102 | "node": ">= 0.8", 103 | "npm": "1.2.8000 || >= 1.4.16" 104 | } 105 | }, 106 | "node_modules/brace-expansion": { 107 | "version": "1.1.11", 108 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 109 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 110 | "dependencies": { 111 | "balanced-match": "^1.0.0", 112 | "concat-map": "0.0.1" 113 | } 114 | }, 115 | "node_modules/braces": { 116 | "version": "3.0.2", 117 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 118 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 119 | "dependencies": { 120 | "fill-range": "^7.0.1" 121 | }, 122 | "engines": { 123 | "node": ">=8" 124 | } 125 | }, 126 | "node_modules/bson": { 127 | "version": "6.2.0", 128 | "resolved": "https://registry.npmjs.org/bson/-/bson-6.2.0.tgz", 129 | "integrity": "sha512-ID1cI+7bazPDyL9wYy9GaQ8gEEohWvcUl/Yf0dIdutJxnmInEEyCsb4awy/OiBfall7zBA179Pahi3vCdFze3Q==", 130 | "engines": { 131 | "node": ">=16.20.1" 132 | } 133 | }, 134 | "node_modules/bytes": { 135 | "version": "3.1.2", 136 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", 137 | "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", 138 | "engines": { 139 | "node": ">= 0.8" 140 | } 141 | }, 142 | "node_modules/call-bind": { 143 | "version": "1.0.5", 144 | "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz", 145 | "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==", 146 | "dependencies": { 147 | "function-bind": "^1.1.2", 148 | "get-intrinsic": "^1.2.1", 149 | "set-function-length": "^1.1.1" 150 | }, 151 | "funding": { 152 | "url": "https://github.com/sponsors/ljharb" 153 | } 154 | }, 155 | "node_modules/chokidar": { 156 | "version": "3.5.3", 157 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", 158 | "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", 159 | "funding": [ 160 | { 161 | "type": "individual", 162 | "url": "https://paulmillr.com/funding/" 163 | } 164 | ], 165 | "dependencies": { 166 | "anymatch": "~3.1.2", 167 | "braces": "~3.0.2", 168 | "glob-parent": "~5.1.2", 169 | "is-binary-path": "~2.1.0", 170 | "is-glob": "~4.0.1", 171 | "normalize-path": "~3.0.0", 172 | "readdirp": "~3.6.0" 173 | }, 174 | "engines": { 175 | "node": ">= 8.10.0" 176 | }, 177 | "optionalDependencies": { 178 | "fsevents": "~2.3.2" 179 | } 180 | }, 181 | "node_modules/concat-map": { 182 | "version": "0.0.1", 183 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 184 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" 185 | }, 186 | "node_modules/content-disposition": { 187 | "version": "0.5.4", 188 | "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", 189 | "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", 190 | "dependencies": { 191 | "safe-buffer": "5.2.1" 192 | }, 193 | "engines": { 194 | "node": ">= 0.6" 195 | } 196 | }, 197 | "node_modules/content-type": { 198 | "version": "1.0.5", 199 | "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", 200 | "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", 201 | "engines": { 202 | "node": ">= 0.6" 203 | } 204 | }, 205 | "node_modules/cookie": { 206 | "version": "0.5.0", 207 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", 208 | "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", 209 | "engines": { 210 | "node": ">= 0.6" 211 | } 212 | }, 213 | "node_modules/cookie-signature": { 214 | "version": "1.0.6", 215 | "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", 216 | "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" 217 | }, 218 | "node_modules/cors": { 219 | "version": "2.8.5", 220 | "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", 221 | "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", 222 | "dependencies": { 223 | "object-assign": "^4", 224 | "vary": "^1" 225 | }, 226 | "engines": { 227 | "node": ">= 0.10" 228 | } 229 | }, 230 | "node_modules/debug": { 231 | "version": "2.6.9", 232 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 233 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 234 | "dependencies": { 235 | "ms": "2.0.0" 236 | } 237 | }, 238 | "node_modules/define-data-property": { 239 | "version": "1.1.1", 240 | "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz", 241 | "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", 242 | "dependencies": { 243 | "get-intrinsic": "^1.2.1", 244 | "gopd": "^1.0.1", 245 | "has-property-descriptors": "^1.0.0" 246 | }, 247 | "engines": { 248 | "node": ">= 0.4" 249 | } 250 | }, 251 | "node_modules/depd": { 252 | "version": "2.0.0", 253 | "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", 254 | "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", 255 | "engines": { 256 | "node": ">= 0.8" 257 | } 258 | }, 259 | "node_modules/destroy": { 260 | "version": "1.2.0", 261 | "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", 262 | "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", 263 | "engines": { 264 | "node": ">= 0.8", 265 | "npm": "1.2.8000 || >= 1.4.16" 266 | } 267 | }, 268 | "node_modules/ee-first": { 269 | "version": "1.1.1", 270 | "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", 271 | "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" 272 | }, 273 | "node_modules/encodeurl": { 274 | "version": "1.0.2", 275 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", 276 | "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", 277 | "engines": { 278 | "node": ">= 0.8" 279 | } 280 | }, 281 | "node_modules/escape-html": { 282 | "version": "1.0.3", 283 | "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", 284 | "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" 285 | }, 286 | "node_modules/etag": { 287 | "version": "1.8.1", 288 | "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", 289 | "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", 290 | "engines": { 291 | "node": ">= 0.6" 292 | } 293 | }, 294 | "node_modules/express": { 295 | "version": "4.18.2", 296 | "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz", 297 | "integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==", 298 | "dependencies": { 299 | "accepts": "~1.3.8", 300 | "array-flatten": "1.1.1", 301 | "body-parser": "1.20.1", 302 | "content-disposition": "0.5.4", 303 | "content-type": "~1.0.4", 304 | "cookie": "0.5.0", 305 | "cookie-signature": "1.0.6", 306 | "debug": "2.6.9", 307 | "depd": "2.0.0", 308 | "encodeurl": "~1.0.2", 309 | "escape-html": "~1.0.3", 310 | "etag": "~1.8.1", 311 | "finalhandler": "1.2.0", 312 | "fresh": "0.5.2", 313 | "http-errors": "2.0.0", 314 | "merge-descriptors": "1.0.1", 315 | "methods": "~1.1.2", 316 | "on-finished": "2.4.1", 317 | "parseurl": "~1.3.3", 318 | "path-to-regexp": "0.1.7", 319 | "proxy-addr": "~2.0.7", 320 | "qs": "6.11.0", 321 | "range-parser": "~1.2.1", 322 | "safe-buffer": "5.2.1", 323 | "send": "0.18.0", 324 | "serve-static": "1.15.0", 325 | "setprototypeof": "1.2.0", 326 | "statuses": "2.0.1", 327 | "type-is": "~1.6.18", 328 | "utils-merge": "1.0.1", 329 | "vary": "~1.1.2" 330 | }, 331 | "engines": { 332 | "node": ">= 0.10.0" 333 | } 334 | }, 335 | "node_modules/express/node_modules/body-parser": { 336 | "version": "1.20.1", 337 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", 338 | "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==", 339 | "dependencies": { 340 | "bytes": "3.1.2", 341 | "content-type": "~1.0.4", 342 | "debug": "2.6.9", 343 | "depd": "2.0.0", 344 | "destroy": "1.2.0", 345 | "http-errors": "2.0.0", 346 | "iconv-lite": "0.4.24", 347 | "on-finished": "2.4.1", 348 | "qs": "6.11.0", 349 | "raw-body": "2.5.1", 350 | "type-is": "~1.6.18", 351 | "unpipe": "1.0.0" 352 | }, 353 | "engines": { 354 | "node": ">= 0.8", 355 | "npm": "1.2.8000 || >= 1.4.16" 356 | } 357 | }, 358 | "node_modules/express/node_modules/raw-body": { 359 | "version": "2.5.1", 360 | "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", 361 | "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", 362 | "dependencies": { 363 | "bytes": "3.1.2", 364 | "http-errors": "2.0.0", 365 | "iconv-lite": "0.4.24", 366 | "unpipe": "1.0.0" 367 | }, 368 | "engines": { 369 | "node": ">= 0.8" 370 | } 371 | }, 372 | "node_modules/fill-range": { 373 | "version": "7.0.1", 374 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 375 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 376 | "dependencies": { 377 | "to-regex-range": "^5.0.1" 378 | }, 379 | "engines": { 380 | "node": ">=8" 381 | } 382 | }, 383 | "node_modules/finalhandler": { 384 | "version": "1.2.0", 385 | "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", 386 | "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", 387 | "dependencies": { 388 | "debug": "2.6.9", 389 | "encodeurl": "~1.0.2", 390 | "escape-html": "~1.0.3", 391 | "on-finished": "2.4.1", 392 | "parseurl": "~1.3.3", 393 | "statuses": "2.0.1", 394 | "unpipe": "~1.0.0" 395 | }, 396 | "engines": { 397 | "node": ">= 0.8" 398 | } 399 | }, 400 | "node_modules/forwarded": { 401 | "version": "0.2.0", 402 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", 403 | "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", 404 | "engines": { 405 | "node": ">= 0.6" 406 | } 407 | }, 408 | "node_modules/fresh": { 409 | "version": "0.5.2", 410 | "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", 411 | "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", 412 | "engines": { 413 | "node": ">= 0.6" 414 | } 415 | }, 416 | "node_modules/fsevents": { 417 | "version": "2.3.3", 418 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", 419 | "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", 420 | "hasInstallScript": true, 421 | "optional": true, 422 | "os": [ 423 | "darwin" 424 | ], 425 | "engines": { 426 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0" 427 | } 428 | }, 429 | "node_modules/function-bind": { 430 | "version": "1.1.2", 431 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", 432 | "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", 433 | "funding": { 434 | "url": "https://github.com/sponsors/ljharb" 435 | } 436 | }, 437 | "node_modules/get-intrinsic": { 438 | "version": "1.2.2", 439 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz", 440 | "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==", 441 | "dependencies": { 442 | "function-bind": "^1.1.2", 443 | "has-proto": "^1.0.1", 444 | "has-symbols": "^1.0.3", 445 | "hasown": "^2.0.0" 446 | }, 447 | "funding": { 448 | "url": "https://github.com/sponsors/ljharb" 449 | } 450 | }, 451 | "node_modules/glob-parent": { 452 | "version": "5.1.2", 453 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 454 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 455 | "dependencies": { 456 | "is-glob": "^4.0.1" 457 | }, 458 | "engines": { 459 | "node": ">= 6" 460 | } 461 | }, 462 | "node_modules/gopd": { 463 | "version": "1.0.1", 464 | "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", 465 | "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", 466 | "dependencies": { 467 | "get-intrinsic": "^1.1.3" 468 | }, 469 | "funding": { 470 | "url": "https://github.com/sponsors/ljharb" 471 | } 472 | }, 473 | "node_modules/has-flag": { 474 | "version": "3.0.0", 475 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 476 | "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", 477 | "engines": { 478 | "node": ">=4" 479 | } 480 | }, 481 | "node_modules/has-property-descriptors": { 482 | "version": "1.0.1", 483 | "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz", 484 | "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==", 485 | "dependencies": { 486 | "get-intrinsic": "^1.2.2" 487 | }, 488 | "funding": { 489 | "url": "https://github.com/sponsors/ljharb" 490 | } 491 | }, 492 | "node_modules/has-proto": { 493 | "version": "1.0.1", 494 | "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", 495 | "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", 496 | "engines": { 497 | "node": ">= 0.4" 498 | }, 499 | "funding": { 500 | "url": "https://github.com/sponsors/ljharb" 501 | } 502 | }, 503 | "node_modules/has-symbols": { 504 | "version": "1.0.3", 505 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", 506 | "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", 507 | "engines": { 508 | "node": ">= 0.4" 509 | }, 510 | "funding": { 511 | "url": "https://github.com/sponsors/ljharb" 512 | } 513 | }, 514 | "node_modules/hasown": { 515 | "version": "2.0.0", 516 | "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", 517 | "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", 518 | "dependencies": { 519 | "function-bind": "^1.1.2" 520 | }, 521 | "engines": { 522 | "node": ">= 0.4" 523 | } 524 | }, 525 | "node_modules/http-errors": { 526 | "version": "2.0.0", 527 | "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", 528 | "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", 529 | "dependencies": { 530 | "depd": "2.0.0", 531 | "inherits": "2.0.4", 532 | "setprototypeof": "1.2.0", 533 | "statuses": "2.0.1", 534 | "toidentifier": "1.0.1" 535 | }, 536 | "engines": { 537 | "node": ">= 0.8" 538 | } 539 | }, 540 | "node_modules/iconv-lite": { 541 | "version": "0.4.24", 542 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 543 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 544 | "dependencies": { 545 | "safer-buffer": ">= 2.1.2 < 3" 546 | }, 547 | "engines": { 548 | "node": ">=0.10.0" 549 | } 550 | }, 551 | "node_modules/ignore-by-default": { 552 | "version": "1.0.1", 553 | "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", 554 | "integrity": "sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==" 555 | }, 556 | "node_modules/inherits": { 557 | "version": "2.0.4", 558 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 559 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" 560 | }, 561 | "node_modules/ipaddr.js": { 562 | "version": "1.9.1", 563 | "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", 564 | "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", 565 | "engines": { 566 | "node": ">= 0.10" 567 | } 568 | }, 569 | "node_modules/is-binary-path": { 570 | "version": "2.1.0", 571 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 572 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 573 | "dependencies": { 574 | "binary-extensions": "^2.0.0" 575 | }, 576 | "engines": { 577 | "node": ">=8" 578 | } 579 | }, 580 | "node_modules/is-extglob": { 581 | "version": "2.1.1", 582 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 583 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 584 | "engines": { 585 | "node": ">=0.10.0" 586 | } 587 | }, 588 | "node_modules/is-glob": { 589 | "version": "4.0.3", 590 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 591 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 592 | "dependencies": { 593 | "is-extglob": "^2.1.1" 594 | }, 595 | "engines": { 596 | "node": ">=0.10.0" 597 | } 598 | }, 599 | "node_modules/is-number": { 600 | "version": "7.0.0", 601 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 602 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 603 | "engines": { 604 | "node": ">=0.12.0" 605 | } 606 | }, 607 | "node_modules/kareem": { 608 | "version": "2.5.1", 609 | "resolved": "https://registry.npmjs.org/kareem/-/kareem-2.5.1.tgz", 610 | "integrity": "sha512-7jFxRVm+jD+rkq3kY0iZDJfsO2/t4BBPeEb2qKn2lR/9KhuksYk5hxzfRYWMPV8P/x2d0kHD306YyWLzjjH+uA==", 611 | "engines": { 612 | "node": ">=12.0.0" 613 | } 614 | }, 615 | "node_modules/lru-cache": { 616 | "version": "6.0.0", 617 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", 618 | "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", 619 | "dependencies": { 620 | "yallist": "^4.0.0" 621 | }, 622 | "engines": { 623 | "node": ">=10" 624 | } 625 | }, 626 | "node_modules/media-typer": { 627 | "version": "0.3.0", 628 | "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", 629 | "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", 630 | "engines": { 631 | "node": ">= 0.6" 632 | } 633 | }, 634 | "node_modules/memory-pager": { 635 | "version": "1.5.0", 636 | "resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz", 637 | "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==" 638 | }, 639 | "node_modules/merge-descriptors": { 640 | "version": "1.0.1", 641 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", 642 | "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" 643 | }, 644 | "node_modules/methods": { 645 | "version": "1.1.2", 646 | "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", 647 | "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", 648 | "engines": { 649 | "node": ">= 0.6" 650 | } 651 | }, 652 | "node_modules/mime": { 653 | "version": "1.6.0", 654 | "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", 655 | "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", 656 | "bin": { 657 | "mime": "cli.js" 658 | }, 659 | "engines": { 660 | "node": ">=4" 661 | } 662 | }, 663 | "node_modules/mime-db": { 664 | "version": "1.52.0", 665 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", 666 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", 667 | "engines": { 668 | "node": ">= 0.6" 669 | } 670 | }, 671 | "node_modules/mime-types": { 672 | "version": "2.1.35", 673 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", 674 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", 675 | "dependencies": { 676 | "mime-db": "1.52.0" 677 | }, 678 | "engines": { 679 | "node": ">= 0.6" 680 | } 681 | }, 682 | "node_modules/minimatch": { 683 | "version": "3.1.2", 684 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 685 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 686 | "dependencies": { 687 | "brace-expansion": "^1.1.7" 688 | }, 689 | "engines": { 690 | "node": "*" 691 | } 692 | }, 693 | "node_modules/mongodb": { 694 | "version": "6.3.0", 695 | "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.3.0.tgz", 696 | "integrity": "sha512-tt0KuGjGtLUhLoU263+xvQmPHEGTw5LbcNC73EoFRYgSHwZt5tsoJC110hDyO1kjQzpgNrpdcSza9PknWN4LrA==", 697 | "dependencies": { 698 | "@mongodb-js/saslprep": "^1.1.0", 699 | "bson": "^6.2.0", 700 | "mongodb-connection-string-url": "^3.0.0" 701 | }, 702 | "engines": { 703 | "node": ">=16.20.1" 704 | }, 705 | "peerDependencies": { 706 | "@aws-sdk/credential-providers": "^3.188.0", 707 | "@mongodb-js/zstd": "^1.1.0", 708 | "gcp-metadata": "^5.2.0", 709 | "kerberos": "^2.0.1", 710 | "mongodb-client-encryption": ">=6.0.0 <7", 711 | "snappy": "^7.2.2", 712 | "socks": "^2.7.1" 713 | }, 714 | "peerDependenciesMeta": { 715 | "@aws-sdk/credential-providers": { 716 | "optional": true 717 | }, 718 | "@mongodb-js/zstd": { 719 | "optional": true 720 | }, 721 | "gcp-metadata": { 722 | "optional": true 723 | }, 724 | "kerberos": { 725 | "optional": true 726 | }, 727 | "mongodb-client-encryption": { 728 | "optional": true 729 | }, 730 | "snappy": { 731 | "optional": true 732 | }, 733 | "socks": { 734 | "optional": true 735 | } 736 | } 737 | }, 738 | "node_modules/mongodb-connection-string-url": { 739 | "version": "3.0.0", 740 | "resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-3.0.0.tgz", 741 | "integrity": "sha512-t1Vf+m1I5hC2M5RJx/7AtxgABy1cZmIPQRMXw+gEIPn/cZNF3Oiy+l0UIypUwVB5trcWHq3crg2g3uAR9aAwsQ==", 742 | "dependencies": { 743 | "@types/whatwg-url": "^11.0.2", 744 | "whatwg-url": "^13.0.0" 745 | } 746 | }, 747 | "node_modules/mongoose": { 748 | "version": "8.1.1", 749 | "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-8.1.1.tgz", 750 | "integrity": "sha512-DbLb0NsiEXmaqLOpEz+AtAsgwhRw6f25gwa1dF5R7jj6lS1D8X6uTdhBSC8GDVtOwe5Tfw2EL7nTn6hiJT3Bgg==", 751 | "dependencies": { 752 | "bson": "^6.2.0", 753 | "kareem": "2.5.1", 754 | "mongodb": "6.3.0", 755 | "mpath": "0.9.0", 756 | "mquery": "5.0.0", 757 | "ms": "2.1.3", 758 | "sift": "16.0.1" 759 | }, 760 | "engines": { 761 | "node": ">=16.20.1" 762 | }, 763 | "funding": { 764 | "type": "opencollective", 765 | "url": "https://opencollective.com/mongoose" 766 | } 767 | }, 768 | "node_modules/mongoose/node_modules/ms": { 769 | "version": "2.1.3", 770 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 771 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" 772 | }, 773 | "node_modules/mpath": { 774 | "version": "0.9.0", 775 | "resolved": "https://registry.npmjs.org/mpath/-/mpath-0.9.0.tgz", 776 | "integrity": "sha512-ikJRQTk8hw5DEoFVxHG1Gn9T/xcjtdnOKIU1JTmGjZZlg9LST2mBLmcX3/ICIbgJydT2GOc15RnNy5mHmzfSew==", 777 | "engines": { 778 | "node": ">=4.0.0" 779 | } 780 | }, 781 | "node_modules/mquery": { 782 | "version": "5.0.0", 783 | "resolved": "https://registry.npmjs.org/mquery/-/mquery-5.0.0.tgz", 784 | "integrity": "sha512-iQMncpmEK8R8ncT8HJGsGc9Dsp8xcgYMVSbs5jgnm1lFHTZqMJTUWTDx1LBO8+mK3tPNZWFLBghQEIOULSTHZg==", 785 | "dependencies": { 786 | "debug": "4.x" 787 | }, 788 | "engines": { 789 | "node": ">=14.0.0" 790 | } 791 | }, 792 | "node_modules/mquery/node_modules/debug": { 793 | "version": "4.3.4", 794 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 795 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 796 | "dependencies": { 797 | "ms": "2.1.2" 798 | }, 799 | "engines": { 800 | "node": ">=6.0" 801 | }, 802 | "peerDependenciesMeta": { 803 | "supports-color": { 804 | "optional": true 805 | } 806 | } 807 | }, 808 | "node_modules/mquery/node_modules/ms": { 809 | "version": "2.1.2", 810 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 811 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 812 | }, 813 | "node_modules/ms": { 814 | "version": "2.0.0", 815 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 816 | "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" 817 | }, 818 | "node_modules/negotiator": { 819 | "version": "0.6.3", 820 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", 821 | "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", 822 | "engines": { 823 | "node": ">= 0.6" 824 | } 825 | }, 826 | "node_modules/nodemon": { 827 | "version": "3.0.3", 828 | "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.0.3.tgz", 829 | "integrity": "sha512-7jH/NXbFPxVaMwmBCC2B9F/V6X1VkEdNgx3iu9jji8WxWcvhMWkmhNWhI5077zknOnZnBzba9hZP6bCPJLSReQ==", 830 | "dependencies": { 831 | "chokidar": "^3.5.2", 832 | "debug": "^4", 833 | "ignore-by-default": "^1.0.1", 834 | "minimatch": "^3.1.2", 835 | "pstree.remy": "^1.1.8", 836 | "semver": "^7.5.3", 837 | "simple-update-notifier": "^2.0.0", 838 | "supports-color": "^5.5.0", 839 | "touch": "^3.1.0", 840 | "undefsafe": "^2.0.5" 841 | }, 842 | "bin": { 843 | "nodemon": "bin/nodemon.js" 844 | }, 845 | "engines": { 846 | "node": ">=10" 847 | }, 848 | "funding": { 849 | "type": "opencollective", 850 | "url": "https://opencollective.com/nodemon" 851 | } 852 | }, 853 | "node_modules/nodemon/node_modules/debug": { 854 | "version": "4.3.4", 855 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 856 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 857 | "dependencies": { 858 | "ms": "2.1.2" 859 | }, 860 | "engines": { 861 | "node": ">=6.0" 862 | }, 863 | "peerDependenciesMeta": { 864 | "supports-color": { 865 | "optional": true 866 | } 867 | } 868 | }, 869 | "node_modules/nodemon/node_modules/ms": { 870 | "version": "2.1.2", 871 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 872 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 873 | }, 874 | "node_modules/nopt": { 875 | "version": "1.0.10", 876 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", 877 | "integrity": "sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==", 878 | "dependencies": { 879 | "abbrev": "1" 880 | }, 881 | "bin": { 882 | "nopt": "bin/nopt.js" 883 | }, 884 | "engines": { 885 | "node": "*" 886 | } 887 | }, 888 | "node_modules/normalize-path": { 889 | "version": "3.0.0", 890 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 891 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 892 | "engines": { 893 | "node": ">=0.10.0" 894 | } 895 | }, 896 | "node_modules/object-assign": { 897 | "version": "4.1.1", 898 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", 899 | "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", 900 | "engines": { 901 | "node": ">=0.10.0" 902 | } 903 | }, 904 | "node_modules/object-inspect": { 905 | "version": "1.13.1", 906 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", 907 | "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", 908 | "funding": { 909 | "url": "https://github.com/sponsors/ljharb" 910 | } 911 | }, 912 | "node_modules/on-finished": { 913 | "version": "2.4.1", 914 | "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", 915 | "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", 916 | "dependencies": { 917 | "ee-first": "1.1.1" 918 | }, 919 | "engines": { 920 | "node": ">= 0.8" 921 | } 922 | }, 923 | "node_modules/parseurl": { 924 | "version": "1.3.3", 925 | "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", 926 | "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", 927 | "engines": { 928 | "node": ">= 0.8" 929 | } 930 | }, 931 | "node_modules/path-to-regexp": { 932 | "version": "0.1.7", 933 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", 934 | "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==" 935 | }, 936 | "node_modules/picomatch": { 937 | "version": "2.3.1", 938 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 939 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 940 | "engines": { 941 | "node": ">=8.6" 942 | }, 943 | "funding": { 944 | "url": "https://github.com/sponsors/jonschlinkert" 945 | } 946 | }, 947 | "node_modules/proxy-addr": { 948 | "version": "2.0.7", 949 | "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", 950 | "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", 951 | "dependencies": { 952 | "forwarded": "0.2.0", 953 | "ipaddr.js": "1.9.1" 954 | }, 955 | "engines": { 956 | "node": ">= 0.10" 957 | } 958 | }, 959 | "node_modules/pstree.remy": { 960 | "version": "1.1.8", 961 | "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", 962 | "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==" 963 | }, 964 | "node_modules/punycode": { 965 | "version": "2.3.1", 966 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", 967 | "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", 968 | "engines": { 969 | "node": ">=6" 970 | } 971 | }, 972 | "node_modules/qs": { 973 | "version": "6.11.0", 974 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", 975 | "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", 976 | "dependencies": { 977 | "side-channel": "^1.0.4" 978 | }, 979 | "engines": { 980 | "node": ">=0.6" 981 | }, 982 | "funding": { 983 | "url": "https://github.com/sponsors/ljharb" 984 | } 985 | }, 986 | "node_modules/range-parser": { 987 | "version": "1.2.1", 988 | "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", 989 | "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", 990 | "engines": { 991 | "node": ">= 0.6" 992 | } 993 | }, 994 | "node_modules/raw-body": { 995 | "version": "2.5.2", 996 | "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", 997 | "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", 998 | "dependencies": { 999 | "bytes": "3.1.2", 1000 | "http-errors": "2.0.0", 1001 | "iconv-lite": "0.4.24", 1002 | "unpipe": "1.0.0" 1003 | }, 1004 | "engines": { 1005 | "node": ">= 0.8" 1006 | } 1007 | }, 1008 | "node_modules/readdirp": { 1009 | "version": "3.6.0", 1010 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", 1011 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", 1012 | "dependencies": { 1013 | "picomatch": "^2.2.1" 1014 | }, 1015 | "engines": { 1016 | "node": ">=8.10.0" 1017 | } 1018 | }, 1019 | "node_modules/safe-buffer": { 1020 | "version": "5.2.1", 1021 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 1022 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", 1023 | "funding": [ 1024 | { 1025 | "type": "github", 1026 | "url": "https://github.com/sponsors/feross" 1027 | }, 1028 | { 1029 | "type": "patreon", 1030 | "url": "https://www.patreon.com/feross" 1031 | }, 1032 | { 1033 | "type": "consulting", 1034 | "url": "https://feross.org/support" 1035 | } 1036 | ] 1037 | }, 1038 | "node_modules/safer-buffer": { 1039 | "version": "2.1.2", 1040 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 1041 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 1042 | }, 1043 | "node_modules/semver": { 1044 | "version": "7.5.4", 1045 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", 1046 | "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", 1047 | "dependencies": { 1048 | "lru-cache": "^6.0.0" 1049 | }, 1050 | "bin": { 1051 | "semver": "bin/semver.js" 1052 | }, 1053 | "engines": { 1054 | "node": ">=10" 1055 | } 1056 | }, 1057 | "node_modules/send": { 1058 | "version": "0.18.0", 1059 | "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", 1060 | "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", 1061 | "dependencies": { 1062 | "debug": "2.6.9", 1063 | "depd": "2.0.0", 1064 | "destroy": "1.2.0", 1065 | "encodeurl": "~1.0.2", 1066 | "escape-html": "~1.0.3", 1067 | "etag": "~1.8.1", 1068 | "fresh": "0.5.2", 1069 | "http-errors": "2.0.0", 1070 | "mime": "1.6.0", 1071 | "ms": "2.1.3", 1072 | "on-finished": "2.4.1", 1073 | "range-parser": "~1.2.1", 1074 | "statuses": "2.0.1" 1075 | }, 1076 | "engines": { 1077 | "node": ">= 0.8.0" 1078 | } 1079 | }, 1080 | "node_modules/send/node_modules/ms": { 1081 | "version": "2.1.3", 1082 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 1083 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" 1084 | }, 1085 | "node_modules/serve-static": { 1086 | "version": "1.15.0", 1087 | "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", 1088 | "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", 1089 | "dependencies": { 1090 | "encodeurl": "~1.0.2", 1091 | "escape-html": "~1.0.3", 1092 | "parseurl": "~1.3.3", 1093 | "send": "0.18.0" 1094 | }, 1095 | "engines": { 1096 | "node": ">= 0.8.0" 1097 | } 1098 | }, 1099 | "node_modules/set-function-length": { 1100 | "version": "1.2.0", 1101 | "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.0.tgz", 1102 | "integrity": "sha512-4DBHDoyHlM1IRPGYcoxexgh67y4ueR53FKV1yyxwFMY7aCqcN/38M1+SwZ/qJQ8iLv7+ck385ot4CcisOAPT9w==", 1103 | "dependencies": { 1104 | "define-data-property": "^1.1.1", 1105 | "function-bind": "^1.1.2", 1106 | "get-intrinsic": "^1.2.2", 1107 | "gopd": "^1.0.1", 1108 | "has-property-descriptors": "^1.0.1" 1109 | }, 1110 | "engines": { 1111 | "node": ">= 0.4" 1112 | } 1113 | }, 1114 | "node_modules/setprototypeof": { 1115 | "version": "1.2.0", 1116 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", 1117 | "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" 1118 | }, 1119 | "node_modules/side-channel": { 1120 | "version": "1.0.4", 1121 | "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", 1122 | "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", 1123 | "dependencies": { 1124 | "call-bind": "^1.0.0", 1125 | "get-intrinsic": "^1.0.2", 1126 | "object-inspect": "^1.9.0" 1127 | }, 1128 | "funding": { 1129 | "url": "https://github.com/sponsors/ljharb" 1130 | } 1131 | }, 1132 | "node_modules/sift": { 1133 | "version": "16.0.1", 1134 | "resolved": "https://registry.npmjs.org/sift/-/sift-16.0.1.tgz", 1135 | "integrity": "sha512-Wv6BjQ5zbhW7VFefWusVP33T/EM0vYikCaQ2qR8yULbsilAT8/wQaXvuQ3ptGLpoKx+lihJE3y2UTgKDyyNHZQ==" 1136 | }, 1137 | "node_modules/simple-update-notifier": { 1138 | "version": "2.0.0", 1139 | "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-2.0.0.tgz", 1140 | "integrity": "sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==", 1141 | "dependencies": { 1142 | "semver": "^7.5.3" 1143 | }, 1144 | "engines": { 1145 | "node": ">=10" 1146 | } 1147 | }, 1148 | "node_modules/sparse-bitfield": { 1149 | "version": "3.0.3", 1150 | "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", 1151 | "integrity": "sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ==", 1152 | "dependencies": { 1153 | "memory-pager": "^1.0.2" 1154 | } 1155 | }, 1156 | "node_modules/statuses": { 1157 | "version": "2.0.1", 1158 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", 1159 | "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", 1160 | "engines": { 1161 | "node": ">= 0.8" 1162 | } 1163 | }, 1164 | "node_modules/supports-color": { 1165 | "version": "5.5.0", 1166 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 1167 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 1168 | "dependencies": { 1169 | "has-flag": "^3.0.0" 1170 | }, 1171 | "engines": { 1172 | "node": ">=4" 1173 | } 1174 | }, 1175 | "node_modules/to-regex-range": { 1176 | "version": "5.0.1", 1177 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 1178 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 1179 | "dependencies": { 1180 | "is-number": "^7.0.0" 1181 | }, 1182 | "engines": { 1183 | "node": ">=8.0" 1184 | } 1185 | }, 1186 | "node_modules/toidentifier": { 1187 | "version": "1.0.1", 1188 | "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", 1189 | "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", 1190 | "engines": { 1191 | "node": ">=0.6" 1192 | } 1193 | }, 1194 | "node_modules/touch": { 1195 | "version": "3.1.0", 1196 | "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", 1197 | "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", 1198 | "dependencies": { 1199 | "nopt": "~1.0.10" 1200 | }, 1201 | "bin": { 1202 | "nodetouch": "bin/nodetouch.js" 1203 | } 1204 | }, 1205 | "node_modules/tr46": { 1206 | "version": "4.1.1", 1207 | "resolved": "https://registry.npmjs.org/tr46/-/tr46-4.1.1.tgz", 1208 | "integrity": "sha512-2lv/66T7e5yNyhAAC4NaKe5nVavzuGJQVVtRYLyQ2OI8tsJ61PMLlelehb0wi2Hx6+hT/OJUWZcw8MjlSRnxvw==", 1209 | "dependencies": { 1210 | "punycode": "^2.3.0" 1211 | }, 1212 | "engines": { 1213 | "node": ">=14" 1214 | } 1215 | }, 1216 | "node_modules/type-is": { 1217 | "version": "1.6.18", 1218 | "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", 1219 | "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", 1220 | "dependencies": { 1221 | "media-typer": "0.3.0", 1222 | "mime-types": "~2.1.24" 1223 | }, 1224 | "engines": { 1225 | "node": ">= 0.6" 1226 | } 1227 | }, 1228 | "node_modules/undefsafe": { 1229 | "version": "2.0.5", 1230 | "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", 1231 | "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==" 1232 | }, 1233 | "node_modules/unpipe": { 1234 | "version": "1.0.0", 1235 | "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", 1236 | "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", 1237 | "engines": { 1238 | "node": ">= 0.8" 1239 | } 1240 | }, 1241 | "node_modules/utils-merge": { 1242 | "version": "1.0.1", 1243 | "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", 1244 | "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", 1245 | "engines": { 1246 | "node": ">= 0.4.0" 1247 | } 1248 | }, 1249 | "node_modules/vary": { 1250 | "version": "1.1.2", 1251 | "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", 1252 | "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", 1253 | "engines": { 1254 | "node": ">= 0.8" 1255 | } 1256 | }, 1257 | "node_modules/webidl-conversions": { 1258 | "version": "7.0.0", 1259 | "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", 1260 | "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==", 1261 | "engines": { 1262 | "node": ">=12" 1263 | } 1264 | }, 1265 | "node_modules/whatwg-url": { 1266 | "version": "13.0.0", 1267 | "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-13.0.0.tgz", 1268 | "integrity": "sha512-9WWbymnqj57+XEuqADHrCJ2eSXzn8WXIW/YSGaZtb2WKAInQ6CHfaUUcTyyver0p8BDg5StLQq8h1vtZuwmOig==", 1269 | "dependencies": { 1270 | "tr46": "^4.1.1", 1271 | "webidl-conversions": "^7.0.0" 1272 | }, 1273 | "engines": { 1274 | "node": ">=16" 1275 | } 1276 | }, 1277 | "node_modules/yallist": { 1278 | "version": "4.0.0", 1279 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", 1280 | "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" 1281 | } 1282 | } 1283 | } 1284 | --------------------------------------------------------------------------------